error: option -r not recognized

trying
python setup.py install --user -r requirements.txt
anything to do with (seeming lack of) pip configuration?
evidently i'm not python fluent.

Sorry for the late reaction ..
what's the error message?
do you have setuptools installed?

Hi Fabian,
thanks for getting back to me.
I’m taking the Heroku approach this time. However, I’m stuck with the most basic problem: locating the WIF for a new dedicated account I’ve created just now in my Bitshares-light client. Somewhat embarrassing, but I’ve become accustomed to that :-)
Harry

On 24 Jun 2016, at 07:56, Fabian Schuh<EMAIL_ADDRESS>wrote:
Sorry for the late reaction ..
what's the error message?
do you have setuptools installed?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/xeroc/stakemachine/issues/5#issuecomment-228271807, or mute the thread https://github.com/notifications/unsubscribe/AFydwak9VO3yv2bz9zpHW5ZvJJitfhIqks5qO3-ggaJpZM4Izq42.

Open de account page for the account you want the WIF key from in the bitshares-light client.
Click on "Permissions"
Click on the (public) key under "Account / Key / Address"
Click on "show" under "Private key (WIF - Wallet Import Format)

Thanks. I could probably make some useful contributions to stakemachine, once I’ve mastered the very basics.
Now Heroku (which is totally unfamiliar to me) is printing this:
2016-06-29T22:58:08.530619+00:00 app[bot.1]:   File "stakemachine/main.py", line 91, in
2016-06-29T22:58:08.530985+00:00 app[bot.1]:     prefix=config.prefix)
2016-06-29T22:58:09.211804+00:00 heroku[bot.1]: State changed from up to crashed
2016-06-29T23:00:49.389089+00:00 heroku[bot.1]: State changed from crashed to starting
2016-06-29T23:00:55.880605+00:00 heroku[bot.1]: Starting process with command stakemachine/__main__.py --config config.heroku.yml run
2016-06-29T23:00:56.497208+00:00 heroku[bot.1]: State changed from starting to up
2016-06-29T23:00:58.223825+00:00 app[bot.1]: {'account': 'stakemachine-methodise',
2016-06-29T23:00:58.224047+00:00 app[bot.1]:  'bots': {'MakerWall': {'bot': 'MakerSellBuyWalls',
2016-06-29T23:00:58.224102+00:00 app[bot.1]:                         'markets': ['USD:BTS', 'BTC:BTS', 'EUR:BTS'],
2016-06-29T23:00:58.224280+00:00 app[bot.1]:                         'target_price': 'feed',
2016-06-29T23:00:58.224311+00:00 app[bot.1]:                         'target_price_offset_percentage': 2.2,
2016-06-29T23:00:58.224522+00:00 app[bot.1]:  'witness_url': 'wss://bitshares.openledger.info/ws'}
2016-06-29T23:00:59.407890+00:00 app[bot.1]: Traceback (most recent call last):
2016-06-29T23:00:59.407940+00:00 app[bot.1]:   File "stakemachine/main.py", line 91, in
2016-06-29T23:00:59.408410+00:00 app[bot.1]:   File "/app/stakemachine/bot.py", line 76, in init
2016-06-29T23:00:59.408607+00:00 app[bot.1]:     prefix=config.prefix)
2016-06-29T23:01:00.152293+00:00 heroku[bot.1]: Process exited with status 1
2016-06-29T23:01:00.167698+00:00 heroku[bot.1]: State changed from up to crashed
2016-06-29T23:00:59.408193+00:00 app[bot.1]:     main()
2016-06-29T23:00:59.408200+00:00 app[bot.1]:   File "stakemachine/main.py", line 80, in main
2016-06-29T23:00:59.408870+00:00 app[bot.1]: grapheneexchange.exchange.WifNotActive
2016-06-29T23:00:59.408860+00:00 app[bot.1]:     raise WifNotActive
2016-06-29T23:01:00.152293+00:00 heroku[bot.1]: Process exited with status 1
2016-06-29T23:01:00.167698+00:00 heroku[bot.1]: State changed from up to crashed
2016-06-29T23:00:59.408193+00:00 app[bot.1]:     main()
2016-06-29T23:00:59.407890+00:00 app[bot.1]: Traceback (most recent call last):
2016-06-29T23:00:59.408410+00:00 app[bot.1]:   File "/app/stakemachine/bot.py", line 76, in init
2016-06-29T23:00:59.408607+00:00 app[bot.1]:     prefix=config.prefix)
2016-06-29T23:00:59.408625+00:00 app[bot.1]:   File "/app/.heroku/src/graphenelib/grapheneexchange/exchange.py", line 207, in init
2016-06-29T23:01:00.152293+00:00 heroku[bot.1]: Process exited with status 1
2016-06-29T23:00:59.408193+00:00 app[bot.1]:     main()
2016-06-29T23:00:59.407890+00:00 app[bot.1]: Traceback (most recent call last):
2016-06-29T23:00:59.408625+00:00 app[bot.1]:   File "/app/.heroku/src/graphenelib/grapheneexchange/exchange.py", line 207, in init
2016-06-29T23:01:00.152293+00:00 heroku[bot.1]: Process exited with status 1

On 29 Jun 2016, at 10:55, Maurits van der Vijgh<EMAIL_ADDRESS>wrote:
Open de account page for the account you want the WIF key from in the bitshares-light client.
Click on "Permissions"
Click on the (public) key under "Account / Key / Address"
Click on "show" under "Private key (WIF - Wallet Import Format)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/xeroc/stakemachine/issues/5#issuecomment-229311605, or mute the thread https://github.com/notifications/unsubscribe/AFydwcfBaTdog6uILniWGe3Z_faFVPQPks5qQkEUgaJpZM4Izq42.

Hello again,
Returning again to try to run this on my local machine (mac), this is what i’m getting:
HarrysNrMacBook:~ harry$ git clone https://github.com/xeroc/stakemachine
Cloning into 'stakemachine'...
remote: Counting objects: 350, done.
remote: Total 350 (delta 0), reused 0 (delta 0), pack-reused 350
Receiving objects: 100% (350/350), 80.19 KiB | 0 bytes/s, done.
Resolving deltas: 100% (234/234), done.
Checking connectivity... done.
HarrysNrMacBook:~ harry$ cd /Users/harry/stakemachine
HarrysNrMacBook:stakemachine harry$ python3 setup.py install --user -r requirements.txt
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: option -r not recognized
HarrysNrMacBook:stakemachine harry$
HarrysNrMacBook:stakemachine harry$ python3 -m easy_install --version
setuptools 23.1.0 from /Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages (Python 3.4)
HarrysNrMacBook:stakemachine harry$
HarrysNrMacBook:stakemachine harry$ which pip
/Library/Frameworks/Python.framework/Versions/3.4/bin/pip
HarrysNrMacBook:stakemachine harry$
HarrysNrMacBook:stakemachine harry$ stakemachine -c config.yml run
-bash: stakemachine: command not found
HarrysNrMacBook:stakemachine harry$ python3 stakemachine -c config.yml run
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/runpy.py", line 170, in _run_module_as_main
"main", mod_spec)
File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "stakemachine/main.py", line 9, in
from stakemachine import bot
ImportError: No module named 'stakemachine'
HarrysNrMacBook:stakemachine harry$
Thanks!!

On 24 Jun 2016, at 07:56, Fabian Schuh<EMAIL_ADDRESS>wrote:
Sorry for the late reaction ..
what's the error message?
do you have setuptools installed?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/xeroc/stakemachine/issues/5#issuecomment-228271807, or mute the thread https://github.com/notifications/unsubscribe/AFydwak9VO3yv2bz9zpHW5ZvJJitfhIqks5qO3-ggaJpZM4Izq42.

pip install -r requirements.txt

Thanks again, Doctor.
From my Mac:
HarrysNrMacBook:~ harry$ cd /Users/harry/Applications/stakemachine
HarrysNrMacBook:stakemachine harry$ pip install -r requirements.txt
Obtaining graphenelib from git+git://github.com/xeroc/python-graphenelib@develop#egg=graphenelib (from -r requirements.txt (line 1))
Cloning git://github.com/xeroc/python-graphenelib (to develop) to ./src/graphenelib
Requirement already satisfied (use --upgrade to upgrade): pyyaml in /Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages (from -r requirements.txt (line 2))
Collecting autobahn>=0.14 (from graphenelib->-r requirements.txt (line 1))
Downloading autobahn-0.14.1-py2.py3-none-any.whl (229kB)
100% |████████████████████████████████| 235kB 284kB/s
Collecting ecdsa==0.13 (from graphenelib->-r requirements.txt (line 1))
Downloading ecdsa-0.13-py2.py3-none-any.whl (86kB)
100% |████████████████████████████████| 92kB 323kB/s
Collecting pycrypto==2.6.1 (from graphenelib->-r requirements.txt (line 1))
Downloading pycrypto-2.6.1.tar.gz (446kB)
100% |████████████████████████████████| 450kB 257kB/s
Collecting requests==2.10.0 (from graphenelib->-r requirements.txt (line 1))
Downloading requests-2.10.0-py2.py3-none-any.whl (506kB)
100% |████████████████████████████████| 512kB 262kB/s
Collecting scrypt==0.7.1 (from graphenelib->-r requirements.txt (line 1))
Downloading scrypt-0.7.1-cp34-cp34m-macosx_10_10_x86_64.whl
Collecting six==1.10.0 (from graphenelib->-r requirements.txt (line 1))
Downloading six-1.10.0-py2.py3-none-any.whl
Collecting txaio==2.5.1 (from graphenelib->-r requirements.txt (line 1))
Downloading txaio-2.5.1-py2.py3-none-any.whl
Collecting Unidecode==0.4.19 (from graphenelib->-r requirements.txt (line 1))
Downloading Unidecode-0.04.19.tar.gz (204kB)
100% |████████████████████████████████| 204kB 268kB/s
Collecting websocket-client==0.37.0 (from graphenelib->-r requirements.txt (line 1))
Downloading websocket_client-0.37.0.tar.gz (194kB)
100% |████████████████████████████████| 194kB 257kB/s
Installing collected packages: six, txaio, autobahn, ecdsa, pycrypto, requests, scrypt, Unidecode, websocket-client, graphenelib
Running setup.py install for pycrypto ... done
Found existing installation: requests 2.4.3
Uninstalling requests-2.4.3:
Successfully uninstalled requests-2.4.3
Running setup.py install for Unidecode ... done
Running setup.py install for websocket-client ... done
Running setup.py develop for graphenelib
Successfully installed Unidecode-0.4.19 autobahn-0.14.1 ecdsa-0.13 graphenelib pycrypto-2.6.1 requests-2.10.0 scrypt-0.7.1 six-1.10.0 txaio-2.5.1 websocket-client-0.37.0
HarrysNrMacBook:stakemachine harry$ python3 setup.py install --user -r requirements.txt
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: option -r not recognized
HarrysNrMacBook:stakemachine harry$
HarrysNrMacBook:stakemachine harry$ python3 stakemachine -c config.yml run
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/runpy.py", line 170, in _run_module_as_main
"main", mod_spec)
File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "stakemachine/main.py", line 9, in
from stakemachine import bot
ImportError: No module named 'stakemachine'
HarrysNrMacBook:stakemachine harry$ stakemachine -c config.yml run
-bash: stakemachine: command not found
HarrysNrMacBook:stakemachine harry$
A fresh attempt on Ubuntu:
harry@ubuntu:~/stakemachine$ python3 setup.py install --user -r requirements.txtusage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: option -r not recognized
harry@ubuntu:~/stakemachine$ pip install -r requirements.txt
Obtaining graphenelib from git+git://github.com/xeroc/python-graphenelib@develop#egg=graphenelib (from -r requirements.txt (line 1))
Updating ./src/graphenelib clone (to develop)
Requirement already satisfied (use --upgrade to upgrade): pyyaml in /usr/lib/python2.7/dist-packages (from -r requirements.txt (line 2))
Requirement already satisfied (use --upgrade to upgrade): autobahn>=0.14 in /home/harry/.local/lib/python2.7/site-packages (from graphenelib->-r requirements.txt (line 1))
Requirement already satisfied (use --upgrade to upgrade): ecdsa==0.13 in /home/harry/.local/lib/python2.7/site-packages (from graphenelib->-r requirements.txt (line 1))
Requirement already satisfied (use --upgrade to upgrade): pycrypto==2.6.1 in /home/harry/.local/lib/python2.7/site-packages (from graphenelib->-r requirements.txt (line 1))
Requirement already satisfied (use --upgrade to upgrade): requests==2.10.0 in /home/harry/.local/lib/python2.7/site-packages (from graphenelib->-r requirements.txt (line 1))
Collecting scrypt==0.7.1 (from graphenelib->-r requirements.txt (line 1))
Using cached scrypt-0.7.1.tar.gz
Requirement already satisfied (use --upgrade to upgrade): six==1.10.0 in /home/harry/.local/lib/python2.7/site-packages (from graphenelib->-r requirements.txt (line 1))
Requirement already satisfied (use --upgrade to upgrade): txaio==2.5.1 in /home/harry/.local/lib/python2.7/site-packages (from graphenelib->-r requirements.txt (line 1))
Collecting Unidecode==0.4.19 (from graphenelib->-r requirements.txt (line 1))
Collecting websocket-client==0.37.0 (from graphenelib->-r requirements.txt (line 1))
Building wheels for collected packages: scrypt
Running setup.py bdist_wheel for scrypt ... error
Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-LfwyYZ/scrypt/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" bdist_wheel -d /tmp/tmpsScTccpip-wheel- --python-tag cp27:
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
copying scrypt.py -> build/lib.linux-x86_64-2.7
running build_ext
building '_scrypt' extension
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/src
creating build/temp.linux-x86_64-2.7/scrypt-1.1.6
creating build/temp.linux-x86_64-2.7/scrypt-1.1.6/lib
creating build/temp.linux-x86_64-2.7/scrypt-1.1.6/lib/crypto
creating build/temp.linux-x86_64-2.7/scrypt-1.1.6/lib/scryptenc
creating build/temp.linux-x86_64-2.7/scrypt-1.1.6/lib/util
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_CONFIG_H -DHAVE_CLOCK_GETTIME=1 -DHAVE_LIBRT=1 -DHAVE_POSIX_MEMALIGN=1 -DHAVE_STRUCT_SYSINFO=1 -DHAVE_STRUCT_SYSINFO_MEM_UNIT=1 -DHAVE_STRUCT_SYSINFO_TOTALRAM=1 -DHAVE_SYSINFO=1 -DHAVE_SYS_SYSINFO_H=1 -D_FILE_OFFSET_BITS=64 -Iscrypt-1.1.6 -Iscrypt-1.1.6/lib -Iscrypt-1.1.6/lib/scryptenc -Iscrypt-1.1.6/lib/crypto -Iscrypt-1.1.6/lib/util -I/usr/include/python2.7 -c src/scrypt.c -o build/temp.linux-x86_64-2.7/src/scrypt.o -O2
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_CONFIG_H -DHAVE_CLOCK_GETTIME=1 -DHAVE_LIBRT=1 -DHAVE_POSIX_MEMALIGN=1 -DHAVE_STRUCT_SYSINFO=1 -DHAVE_STRUCT_SYSINFO_MEM_UNIT=1 -DHAVE_STRUCT_SYSINFO_TOTALRAM=1 -DHAVE_SYSINFO=1 -DHAVE_SYS_SYSINFO_H=1 -D_FILE_OFFSET_BITS=64 -Iscrypt-1.1.6 -Iscrypt-1.1.6/lib -Iscrypt-1.1.6/lib/scryptenc -Iscrypt-1.1.6/lib/crypto -Iscrypt-1.1.6/lib/util -I/usr/include/python2.7 -c scrypt-1.1.6/lib/crypto/crypto_aesctr.c -o build/temp.linux-x86_64-2.7/scrypt-1.1.6/lib/crypto/crypto_aesctr.o -O2
scrypt-1.1.6/lib/crypto/crypto_aesctr.c:38:25: fatal error: openssl/aes.h: No such file or directory
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

Failed building wheel for scrypt
Running setup.py clean for scrypt
Failed to build scrypt
Installing collected packages: scrypt, Unidecode, websocket-client, graphenelib
Running setup.py install for scrypt ... error
Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-LfwyYZ/scrypt/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-9fCt70-record/install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
copying scrypt.py -> build/lib.linux-x86_64-2.7
running build_ext
building '_scrypt' extension
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/src
creating build/temp.linux-x86_64-2.7/scrypt-1.1.6
creating build/temp.linux-x86_64-2.7/scrypt-1.1.6/lib
creating build/temp.linux-x86_64-2.7/scrypt-1.1.6/lib/crypto
creating build/temp.linux-x86_64-2.7/scrypt-1.1.6/lib/scryptenc
creating build/temp.linux-x86_64-2.7/scrypt-1.1.6/lib/util
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_CONFIG_H -DHAVE_CLOCK_GETTIME=1 -DHAVE_LIBRT=1 -DHAVE_POSIX_MEMALIGN=1 -DHAVE_STRUCT_SYSINFO=1 -DHAVE_STRUCT_SYSINFO_MEM_UNIT=1 -DHAVE_STRUCT_SYSINFO_TOTALRAM=1 -DHAVE_SYSINFO=1 -DHAVE_SYS_SYSINFO_H=1 -D_FILE_OFFSET_BITS=64 -Iscrypt-1.1.6 -Iscrypt-1.1.6/lib -Iscrypt-1.1.6/lib/scryptenc -Iscrypt-1.1.6/lib/crypto -Iscrypt-1.1.6/lib/util -I/usr/include/python2.7 -c src/scrypt.c -o build/temp.linux-x86_64-2.7/src/scrypt.o -O2
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_CONFIG_H -DHAVE_CLOCK_GETTIME=1 -DHAVE_LIBRT=1 -DHAVE_POSIX_MEMALIGN=1 -DHAVE_STRUCT_SYSINFO=1 -DHAVE_STRUCT_SYSINFO_MEM_UNIT=1 -DHAVE_STRUCT_SYSINFO_TOTALRAM=1 -DHAVE_SYSINFO=1 -DHAVE_SYS_SYSINFO_H=1 -D_FILE_OFFSET_BITS=64 -Iscrypt-1.1.6 -Iscrypt-1.1.6/lib -Iscrypt-1.1.6/lib/scryptenc -Iscrypt-1.1.6/lib/crypto -Iscrypt-1.1.6/lib/util -I/usr/include/python2.7 -c scrypt-1.1.6/lib/crypto/crypto_aesctr.c -o build/temp.linux-x86_64-2.7/scrypt-1.1.6/lib/crypto/crypto_aesctr.o -O2
scrypt-1.1.6/lib/crypto/crypto_aesctr.c:38:25: fatal error: openssl/aes.h: No such file or directory
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
----------------------------------------

Command "/usr/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-LfwyYZ/scrypt/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-9fCt70-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-LfwyYZ/scrypt/
harry@ubuntu:~/stakemachine$
Sorry to be so hopeless - I’m familiar with market making and PHP, but not Python, or stakemachine.
Happy to persevere, and to help others, if you can help me to understand where I’m going wrong!!
Harry

On 2 Jul 2016, at 09:57, Maurits van der Vijgh<EMAIL_ADDRESS>wrote:
pip install -r requirements.txt
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/xeroc/stakemachine/issues/5#issuecomment-230091695, or mute the thread https://github.com/notifications/unsubscribe/AFydwZROzCIW4gPXo2DaBJGn469_mIsVks5qRifhgaJpZM4Izq42.

pip is the python package manager, with pip install -r requirements.txt you "install" "requirements.txt", not stake machine itself. After installing the requirements/dependencies you can then run
python3 setup.py install --user and try running stake machine
On ubuntu you are missing dependencies for the python packages in requirements.txt, you need to install those first (sudo apt-get install libssl-dev) in this case.

On my mac…
HarrysNrMacBook:stakemachine harry$ python3 setup.py install --user
running install
running bdist_egg
running egg_info
writing top-level names to stakemachine.egg-info/top_level.txt
writing requirements to stakemachine.egg-info/requires.txt
writing dependency_links to stakemachine.egg-info/dependency_links.txt
writing stakemachine.egg-info/PKG-INFO
writing entry points to stakemachine.egg-info/entry_points.txt
reading manifest file 'stakemachine.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'stakemachine.egg-info/SOURCES.txt'
installing library code to build/bdist.macosx-10.6-intel/egg
running install_lib
running build_py
creating build/bdist.macosx-10.6-intel/egg
creating build/bdist.macosx-10.6-intel/egg/stakemachine
copying build/lib/stakemachine/init.py -> build/bdist.macosx-10.6-intel/egg/stakemachine
copying build/lib/stakemachine/main.py -> build/bdist.macosx-10.6-intel/egg/stakemachine
copying build/lib/stakemachine/bot.py -> build/bdist.macosx-10.6-intel/egg/stakemachine
creating build/bdist.macosx-10.6-intel/egg/stakemachine/strategies
copying build/lib/stakemachine/strategies/init.py -> build/bdist.macosx-10.6-intel/egg/stakemachine/strategies
copying build/lib/stakemachine/strategies/basestrategy.py -> build/bdist.macosx-10.6-intel/egg/stakemachine/strategies
copying build/lib/stakemachine/strategies/cer_tracker.py -> build/bdist.macosx-10.6-intel/egg/stakemachine/strategies
copying build/lib/stakemachine/strategies/liquidity_wall.py -> build/bdist.macosx-10.6-intel/egg/stakemachine/strategies
copying build/lib/stakemachine/strategies/maintain_collateral_ratio.py -> build/bdist.macosx-10.6-intel/egg/stakemachine/strategies
copying build/lib/stakemachine/strategies/maker.py -> build/bdist.macosx-10.6-intel/egg/stakemachine/strategies
copying build/lib/stakemachine/strategies/refund_fee_pool.py -> build/bdist.macosx-10.6-intel/egg/stakemachine/strategies
byte-compiling build/bdist.macosx-10.6-intel/egg/stakemachine/init.py to init.cpython-34.pyc
byte-compiling build/bdist.macosx-10.6-intel/egg/stakemachine/main.py to main.cpython-34.pyc
byte-compiling build/bdist.macosx-10.6-intel/egg/stakemachine/bot.py to bot.cpython-34.pyc
byte-compiling build/bdist.macosx-10.6-intel/egg/stakemachine/strategies/init.py to init.cpython-34.pyc
byte-compiling build/bdist.macosx-10.6-intel/egg/stakemachine/strategies/basestrategy.py to basestrategy.cpython-34.pyc
byte-compiling build/bdist.macosx-10.6-intel/egg/stakemachine/strategies/cer_tracker.py to cer_tracker.cpython-34.pyc
byte-compiling build/bdist.macosx-10.6-intel/egg/stakemachine/strategies/liquidity_wall.py to liquidity_wall.cpython-34.pyc
byte-compiling build/bdist.macosx-10.6-intel/egg/stakemachine/strategies/maintain_collateral_ratio.py to maintain_collateral_ratio.cpython-34.pyc
byte-compiling build/bdist.macosx-10.6-intel/egg/stakemachine/strategies/maker.py to maker.cpython-34.pyc
byte-compiling build/bdist.macosx-10.6-intel/egg/stakemachine/strategies/refund_fee_pool.py to refund_fee_pool.cpython-34.pyc
creating build/bdist.macosx-10.6-intel/egg/EGG-INFO
copying stakemachine.egg-info/PKG-INFO -> build/bdist.macosx-10.6-intel/egg/EGG-INFO
copying stakemachine.egg-info/SOURCES.txt -> build/bdist.macosx-10.6-intel/egg/EGG-INFO
copying stakemachine.egg-info/dependency_links.txt -> build/bdist.macosx-10.6-intel/egg/EGG-INFO
copying stakemachine.egg-info/entry_points.txt -> build/bdist.macosx-10.6-intel/egg/EGG-INFO
copying stakemachine.egg-info/requires.txt -> build/bdist.macosx-10.6-intel/egg/EGG-INFO
copying stakemachine.egg-info/top_level.txt -> build/bdist.macosx-10.6-intel/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
creating 'dist/stakemachine-0.0.1-py3.4.egg' and adding 'build/bdist.macosx-10.6-intel/egg' to it
removing 'build/bdist.macosx-10.6-intel/egg' (and everything under it)
Processing stakemachine-0.0.1-py3.4.egg
Removing /Users/harry/Library/Python/3.4/lib/python/site-packages/stakemachine-0.0.1-py3.4.egg
Copying stakemachine-0.0.1-py3.4.egg to /Users/harry/Library/Python/3.4/lib/python/site-packages
stakemachine 0.0.1 is already the active version in easy-install.pth
Installing stakemachine script to /Users/harry/Library/Python/3.4/bin
Installed /Users/harry/Library/Python/3.4/lib/python/site-packages/stakemachine-0.0.1-py3.4.egg
Processing dependencies for stakemachine==0.0.1
Searching for graphenelib==0.4.2
Best match: graphenelib 0.4.2
graphenelib 0.4.2 is already the active version in easy-install.pth
Using /Users/harry/Applications/stakemachine/src/graphenelib
Searching for websocket-client==0.37.0
Best match: websocket-client 0.37.0
Adding websocket-client 0.37.0 to easy-install.pth file
Using /Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages
Searching for Unidecode==0.4.19
Best match: Unidecode 0.4.19
Adding Unidecode 0.4.19 to easy-install.pth file
Installing unidecode script to /Users/harry/Library/Python/3.4/bin
Using /Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages
Searching for txaio==2.5.1
Best match: txaio 2.5.1
Adding txaio 2.5.1 to easy-install.pth file
Using /Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages
Searching for six==1.10.0
Best match: six 1.10.0
Adding six 1.10.0 to easy-install.pth file
Using /Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages
Searching for scrypt==0.7.1
Best match: scrypt 0.7.1
Adding scrypt 0.7.1 to easy-install.pth file
Using /Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages
Searching for requests==2.10.0
Best match: requests 2.10.0
Adding requests 2.10.0 to easy-install.pth file
Using /Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages
Searching for pycrypto==2.6.1
Best match: pycrypto 2.6.1
Adding pycrypto 2.6.1 to easy-install.pth file
Using /Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages
Searching for ecdsa==0.13
Best match: ecdsa 0.13
Adding ecdsa 0.13 to easy-install.pth file
Using /Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages
Searching for autobahn==0.14.1
Best match: autobahn 0.14.1
Adding autobahn 0.14.1 to easy-install.pth file
Using /Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages
Finished processing dependencies for stakemachine==0.0.1
HarrysNrMacBook:stakemachine harry$ stakemachine -c config.yml run
-bash: stakemachine: command not found
HarrysNrMacBook:stakemachine harry$ python3 stakemachine -c config.yml run
{'account': 'stakemachine-methodise',
'bots': {'MakerWall': {'bot': 'MakerSellBuyWalls',
'markets': ['EUR:BTS',
'CAD:BTS',
'GBP:BTS',
'USD:BTS'],
'module': 'stakemachine.strategies.maker',
'only_buy': False,
'only_sell': False,
'spread_percentage': 7,
'symmetric_sides': True,
'target_price': 'last',
'target_price_offset_percentage': 0,
'volume_percentage': 20},
'MakerWall2': {'bot': 'MakerSellBuyWalls',
'markets': ['USD:BTS'],
'module': 'stakemachine.strategies.maker',
'only_buy': False,
'only_sell': False,
'spread_percentage': 17,
'symmetric_sides': True,
'target_price': 'feed',
'target_price_offset_percentage': 0,
'volume_percentage': 30}},
'market_separator': ':',
'prefix': 'BTS',
'safe_mode': True,
'wif': ‘555555……………5555555555555555555555harry55harry55',
'witness_url': 'wss://bitshares.openledger.info/ws'}
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/runpy.py", line 170, in _run_module_as_main
"main", mod_spec)
File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "stakemachine/main.py", line 91, in
main()
File "stakemachine/main.py", line 80, in main
bot.init(config)
File "/Users/harry/Library/Python/3.4/lib/python/site-packages/stakemachine-0.0.1-py3.4.egg/stakemachine/bot.py", line 76, in init
prefix=config.prefix)
File "/Users/harry/Applications/stakemachine/src/graphenelib/grapheneexchange/exchange.py", line 207, in init
raise WifNotActive
grapheneexchange.exchange.WifNotActive
HarrysNrMacBook:stakemachine harry$

On 3 Jul 2016, at 00:38, Maurits van der Vijgh<EMAIL_ADDRESS>wrote:
pip is the python package manager, with pip install -r requirements.txt you "install" "requirements.txt", not stake machine itself. After installing the requirements/dependencies you can then run
python3 setup.py install --user and try running stake machine
On ubuntu you are missing dependencies for the python packages in requirements.txt, you need to install those first (sudo apt-get install libssl-dev) in this case.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/xeroc/stakemachine/issues/5#issuecomment-230127334, or mute the thread https://github.com/notifications/unsubscribe/AFydwR6XkLj9wyJWMnKlQh4QQzLYfOo6ks5qRvaTgaJpZM4Izq42.

Hello again,
I wasn’t aware you were a ‘Dr’ when I previously made that remark.
I’m at a loss: posted @ https://steemit.com/bitshares/@xeroc/stakemachine-trading-infrastructure-and-simple-market-making-bot-for-bitshares--opensource-bot-for-bitshares
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/runpy.py", line 170, in _run_module_as_main
"main", mod_spec)
File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "stakemachine/main.py", line 91, in
main()
File "stakemachine/main.py", line 80, in main
bot.init(config)
File "/Users/harry/Library/Python/3.4/lib/python/site-packages/stakemachine-0.0.1-py3.4.egg/stakemachine/bot.py", line 76, in init
prefix=config.prefix)
File "/Users/harry/Applications/stakemachine/src/graphenelib/grapheneexchange/exchange.py", line 207, in init
raise WifNotActive
grapheneexchange.exchange.WifNotActive

On 3 Jul 2016, at 00:38, Maurits van der Vijgh<EMAIL_ADDRESS>wrote:
pip is the python package manager, with pip install -r requirements.txt you "install" "requirements.txt", not stake machine itself. After installing the requirements/dependencies you can then run
python3 setup.py install --user and try running stake machine
On ubuntu you are missing dependencies for the python packages in requirements.txt, you need to install those first (sudo apt-get install libssl-dev) in this case.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/xeroc/stakemachine/issues/5#issuecomment-230127334, or mute the thread https://github.com/notifications/unsubscribe/AFydwR6XkLj9wyJWMnKlQh4QQzLYfOo6ks5qRvaTgaJpZM4Izq42.

@xeroc is.
raise WifNotActive grapheneexchange.exchange.WifNotActive
Means you did not configure an active/registered WIF key.
You need to provide a bit more information about your config/how you run the bot etc., the more info you provide, the easier it is to help you (replace sensitive data with something else).

Hm. But I followed your advice to retrieve the private WIF via the Bitshares GUI, for a brand new account (stakemachine-methodise) that I created myself (free of OpenLedger etc.). I’ve double-checked that the wif was correctly copy-pasted.
I’ve sent and received BTS, which is sitting in the stakemachine-methodise account.
I’ve simplified my markets selection - although I still have GBP there, but I’m sure that isn’t the problem.
I’ve tried both safe_mode True and False.
HarrysNrMacBook:stakemachine harry$ python3 stakemachine -c config.yml run
{'account': 'stakemachine-methodise',
'bots': {'MakerWall': {'bot': 'MakerSellBuyWalls',
'markets': ['EUR:BTS', 'GBP:BTS', 'USD:BTS'],
'module': 'stakemachine.strategies.maker',
'only_buy': False,
'only_sell': False,
'spread_percentage': 7,
'symmetric_sides': True,
'target_price': 'last',
'target_price_offset_percentage': 0,
'volume_percentage': 20},
'MakerWall2': {'bot': 'MakerSellBuyWalls',
'markets': ['USD:BTS'],
'module': 'stakemachine.strategies.maker',
'only_buy': False,
'only_sell': False,
'spread_percentage': 17,
'symmetric_sides': True,
'target_price': 'feed',
'target_price_offset_percentage': 0,
'volume_percentage': 30}},
'market_separator': ':',
'prefix': 'BTS',
'safe_mode': False,
'wif': ‘5K8pDsx…………………….gKP9kUk',
'witness_url': 'wss://bitshares.openledger.info/ws'}
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/runpy.py", line 170, in _run_module_as_main
"main", mod_spec)
File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "stakemachine/main.py", line 91, in
main()
File "stakemachine/main.py", line 80, in main
bot.init(config)
File "/Users/harry/Library/Python/3.4/lib/python/site-packages/stakemachine-0.0.1-py3.4.egg/stakemachine/bot.py", line 76, in init
prefix=config.prefix)
File "/Users/harry/Applications/stakemachine/src/graphenelib/grapheneexchange/exchange.py", line 207, in init
raise WifNotActive
grapheneexchange.exchange.WifNotActive

On 4 Jul 2016, at 17:30, Maurits van der Vijgh<EMAIL_ADDRESS>wrote:
@xeroc https://github.com/xeroc is.
raise WifNotActive
grapheneexchange.exchange.WifNotActive
Means you did not configure an active/registered WIF key.
You need to provide a bit more information about your config/how you run the bot etc., the more info you provide, the easier it is to help you (replace sensitive data with something else).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/xeroc/stakemachine/issues/5#issuecomment-230323966, or mute the thread https://github.com/notifications/unsubscribe/AFydwZIJZPSkGo1kyF4GDrJTp-xouTjbks5qSTUJgaJpZM4Izq42.

I haven’t provided a wallet password anywhere - LiqBot used those instead of WIF, as I understand it.
I haven’t previously installed graphene on this machine, except in the capacity of a stakemachine requirement.
Do I need to sync a blockchain to make this work?!
(sorry!)

On 4 Jul 2016, at 17:30, Maurits van der Vijgh<EMAIL_ADDRESS>wrote:
@xeroc https://github.com/xeroc is.
raise WifNotActive
grapheneexchange.exchange.WifNotActive
Means you did not configure an active/registered WIF key.
You need to provide a bit more information about your config/how you run the bot etc., the more info you provide, the easier it is to help you (replace sensitive data with something else).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/xeroc/stakemachine/issues/5#issuecomment-230323966, or mute the thread https://github.com/notifications/unsubscribe/AFydwZIJZPSkGo1kyF4GDrJTp-xouTjbks5qSTUJgaJpZM4Izq42.

you need WIF in config.yml

No need to sync any blockchain, it's using the witness configured (witness_url) for communicating with the bitshares DEX.
The WIF alone is enough to have control over the account, as it is not encrypted, there is no need for a password.
WifNotActive should not be raised if you configured an active key for 'account' as the WIF key. Make sure you have the latest version of graphene-lib (pip3 install --user -r requirements.txt / python3 setup.py install --user) and that your config is formatted like: https://github.com/xeroc/stakemachine/blob/develop/config-example.yml.
Might be a bug, might be that we're missing something that @xeroc can clear up.

I have my WIF in config.yml
pip3 install --user -r requirements.txt / python3 setup.py install —user are now completely fine
(Successfully installed graphenelib-0.4.2 / Finished processing dependencies for stakemachine==0.0.1
I was missing any ‘reserves' in my config. Now my config.yml looks like this.
witness_url: "wss://bitshares.openledger.info/ws"
prefix: "BTS"
safe_mode: False
account: "stakemachine-methodise"
wif: “5K878787873873873873873873873873873873873873Uk"
market_separator: ":"
reserves:
BTS: 20000
USD: 0
bots:
MakerWall:
module: "stakemachine.strategies.maker"
bot: "MakerSellBuyWalls"
markets:
- "EUR:BTS"
- "GBP:BTS"
- "USD:BTS"
target_price: "last"
target_price_offset_percentage: 0
spread_percentage: 7
volume_percentage: 20
symmetric_sides: True
only_buy: False
only_sell: False
MakerWall2:
    module: "stakemachine.strategies.maker"
    bot: "MakerSellBuyWalls"
    markets:
        - "USD:BTS"
    target_price: "feed"
    target_price_offset_percentage: 0
    spread_percentage: 17
    volume_percentage: 30
    symmetric_sides: True
    only_buy: False
    only_sell: False

On 4 Jul 2016, at 18:05, Maurits van der Vijgh<EMAIL_ADDRESS>wrote:
No need to sync any blockchain, it's using the witness configured (witness_url) for communicating with the bitshares DEX.
The WIF alone is enough to have control over the account, as it is not encrypted, there is no need for a password.
WifNotActive should not be raised if you configured an active key for 'account' as the WIF key. Make sure you have the latest version of graphene-lib (pip3 install --user -r requirements.txt / python3 setup.py install --user) and that your config is formatted like: https://github.com/xeroc/stakemachine/blob/develop/config-example.yml https://github.com/xeroc/stakemachine/blob/develop/config-example.yml.
Might be a bug, might be that we're missing something that @xeroc https://github.com/xeroc can clear up.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/xeroc/stakemachine/issues/5#issuecomment-230328718, or mute the thread https://github.com/notifications/unsubscribe/AFydwfRh8IPKJ140Mh1AHsWR_ibqnvlBks5qST13gaJpZM4Izq42.

Okay,
everything is now working since I tried an older account created way back in Bitshares 1.0  (bts-softwarebrain)
Not sure what’s wrong with my newly created account.. I’m the registrar and referrer for it. Should that be a problem?
Thanks very much!!

On 4 Jul 2016, at 18:05, Maurits van der Vijgh<EMAIL_ADDRESS>wrote:
No need to sync any blockchain, it's using the witness configured (witness_url) for communicating with the bitshares DEX.
The WIF alone is enough to have control over the account, as it is not encrypted, there is no need for a password.
WifNotActive should not be raised if you configured an active key for 'account' as the WIF key. Make sure you have the latest version of graphene-lib (pip3 install --user -r requirements.txt / python3 setup.py install --user) and that your config is formatted like: https://github.com/xeroc/stakemachine/blob/develop/config-example.yml https://github.com/xeroc/stakemachine/blob/develop/config-example.yml.
Might be a bug, might be that we're missing something that @xeroc https://github.com/xeroc can clear up.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/xeroc/stakemachine/issues/5#issuecomment-230328718, or mute the thread https://github.com/notifications/unsubscribe/AFydwfRh8IPKJ140Mh1AHsWR_ibqnvlBks5qST13gaJpZM4Izq42.


Oracle Sequence with value over 1000000 is not getting mapped to int when using .nextval from dual

After making some tests, i've realized that the new version 2.7.15 is not mapping the sequence to integer when nextval is greater than 1000000 and by consequence, I can't get the value of the .nextval. To work around I have been using the cast() sql function to integer.
Here are the test:
var nextId int
db.QueryRow("select test_seq.nextval from dual").Scan(&nextId)
fmt.Printf("%d", nextId)

and the details of my enviromnent:
version OK: 2.7.12
version that the problem started: 2.7.15
Go version: 1.20.7

connection setting:

    urlOptions := map[string]string{

        "language":  "BRAZILIAN PORTUGUESE",

        "territory": "BRAZIL",

        "LOB FETCH": "POST",

    }

I am using go 1.21.0 with version 2.7.15 and I see something similar when mapping the tables primary key column to an int:
sql: Scan error on column index 0, name "ID": converting driver.Value type float64 ("2.299362e+06") to a int: invalid syntax

The id for the record I'm testing it out with is 2299362

The previous version I was using was 2.7.10 and it works fine there.

as you see the error come from sql not the driver
column define without precision or scale so this column can accept int or float value. In this case the driver will use type that can accept int or float value which is float64.
so in case scale is not defined the driver will use float64 then you should cast float to in

as you see the error come from sql not the driver column define without precision or scale so this column can accept int or float value. In this case the driver will use type that can accept int or float value which is float64. so in case scale is not defined the driver will use float64 then you should cast float to in

This was Oracle's default length, precision and scale for an Oracle identity column (auto-generated ids), so from now on anyone using the defaults for their identity columns will have to cast from float to int?

Just out of curiosity, why in version 2.7.12, the default was mapped as int and why now is being mapped as float?

issue #425
v2.7.12 and before number return as string

the solution is to read the string then search for the point "." if present = float64 otherwise int64

The error message that I see is
sql: Scan error on column index 0, name "ID": converting driver.Value type float64 ("2.299362e+06") to a int: invalid syntax

and I think that error message is formatted here in database/sql: https://cs.opensource.google/go/go/+/refs/tags/go1.21.0:src/database/sql/convert.go;l=438
The "invalid syntax" at the end of that message looks like the ErrSynax message from the strconv lib: https://pkg.go.dev/strconv#ErrSyntax
The string value of the float64 ends up as "2.299362e+06" which is not valid syntax for the call to strconv.ParseInt
Here's a small example: https://go.dev/play/p/zCCMPBgUCrA

fixed in v2.7.16


bug(cdkTextareaAutosize): Resizing only works properly if material styles are included

Is this a regression?

[ ] Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was
No response
Description
Reproduction steps
Note: all Reproduction steps can be found in this repository

Initialize project, install angular cdk 13.2.6, angular 13.2.6
create a textarea, bind the cdkTextareaAutosize to it (optionally bind max and min rows)
Fill Textarea with some characters

Delete some lines to force a resize of the textarea ( by selecting multiple lines with the cursor or keyboard arrows )
Textarea is not resized

Having a look at the problem
After some work i managed to narrow this down a bit. Apparently the resizing is working when a material-theme like indigo-pink.css is present and included in angular.json.
                        "styles": [<EMAIL_ADDRESS>                            "src/styles.scss"                         ]
At first that didnt make a lot of sense to me so i started debugging a bit aswell. Apparently with this stylesheet present the method measureScrollHeight in autosize.ts is yielding a different result as when this stylesheet is not present. After checking the method i saw that there are some classes beeing added. So my suspection is that maybe one of those is missing without the stylesheet beeing present. After that i didnt proceed to check more and hope that this gives a direction how one can proceed solving this.
A minimal working repo with styles in angular.json can also be found here ( https://github.com/maro1993/resize-example )
Reproduction
reproduction repo of the bug ->  https://github.com/maro1993/resize-example
a working example with an material theme beeing included and material package beeing added in package.json (https://github.com/maro1993/resize-example-cdk)
Expected Behavior
expect textarea to resize ( more details in the description)
Actual Behavior
textarea did not resize ( more details in the description)
Environment

Browser(s): Chrome Version 99.0.4844.51 (Offizieller Build) (64-Bit), Firefox 91.5.1esr (64-Bit
Operating System Windows 10

"dependencies": {
"@angular/animations": "~13.2.0",
"@angular/cdk": "^13.2.6",
"@angular/common": "~13.2.0",
"@angular/compiler": "~13.2.0",
"@angular/core": "~13.2.0",
"@angular/forms": "~13.2.0",
"@angular/material": "^13.2.6",
"@angular/platform-browser": "~13.2.0",
"@angular/platform-browser-dynamic": "~13.2.0",
"@angular/router": "~13.2.0",
"rxjs": "~7.5.0",
"tslib": "^2.3.0",
"zone.js": "~0.11.4"
},
"devDependencies": {
"@angular-devkit/build-angular": "~13.2.6",
"@angular/cli": "~13.2.6",
"@angular/compiler-cli": "~13.2.0",
"@types/jasmine": "~3.10.0",
"@types/node": "^12.11.1",
"jasmine-core": "~4.0.0",
"karma": "~6.3.0",
"karma-chrome-launcher": "~3.1.0",
"karma-coverage": "~2.1.0",
"karma-jasmine": "~4.0.0",
"karma-jasmine-html-reporter": "~1.7.0",
"typescript": "~4.5.2"
}

Material includes the CDK structural styles automatically, but if you don't use Material, you can import them yourself. You can use either @import<EMAIL_ADDRESS>or @use '@angular/cdk' and then include the cdk.text-field-autosize mixin.

@crisbeto thanks, adding<EMAIL_ADDRESS>solved this or like you mentioned @use '@angular/cdk' and then include the cdk.text-field-autosize. I will close this


Negative allocation

Closes #36
We take into account the fact that an Approval object with a -ve amount may have an allocate == True member. When that is the case, we need modified logic to determine whether the -ve approval and allocation should go ahead.

Still to do:

[ ] Manual tests with CLI.
[ ] Merge.
[ ] Release.


big playlist error http 431

Checklist

[x] I've verified that I'm running youtube-dl version 2020.12.09
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x] I've searched the bugtracker for similar bug reports including closed ones
[x] I've read bugs section in FAQ

Verbose log
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['https://music.yandex.ru/users/smorkaloff.al/playlists/3', '-v']
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2020.12.09
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.19041
[debug] exe versions: none
[debug] Proxy map: {}
[yandexmusic:playlist] 3: Downloading playlist JSON
[yandexmusic:playlist] 3: Downloading missing tracks JSON
WARNING: Unable to download JSON metadata: HTTP Error 431: Request Header Fields Too Large
Traceback (most recent call last):
  File "__main__.py", line 19, in <module>
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpmwcir7fk\build\youtube_dl\__init__.py", line 474, in main
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpmwcir7fk\build\youtube_dl\__init__.py", line 464, in _real_main
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpmwcir7fk\build\youtube_dl\YoutubeDL.py", line 2029, in download
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpmwcir7fk\build\youtube_dl\YoutubeDL.py", line 796, in extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpmwcir7fk\build\youtube_dl\YoutubeDL.py", line 803, in wrapper
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpmwcir7fk\build\youtube_dl\YoutubeDL.py", line 824, in __extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpmwcir7fk\build\youtube_dl\extractor\common.py", line 532, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpmwcir7fk\build\youtube_dl\extractor\yandexmusic.py", line 329, in _real_extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpmwcir7fk\build\youtube_dl\extractor\yandexmusic.py", line 214, in _extract_tracks
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpmwcir7fk\build\youtube_dl\extractor\yandexmusic.py", line 59, in _call_api
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpmwcir7fk\build\youtube_dl\extractor\yandexmusic.py", line 45, in _download_json
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpmwcir7fk\build\youtube_dl\extractor\common.py", line 897, in _download_json
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpmwcir7fk\build\youtube_dl\extractor\common.py", line 875, in _download_json_handle
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpmwcir7fk\build\youtube_dl\extractor\yandexmusic.py", line 40, in _download_webpage_handle
TypeError: argument of type 'bool' is not iterable

Description
I wanted to download my own playlist with more than 700 tracks, but I got an error, but another playlist is being downloaded.

Same problem on 2<IP_ADDRESS> with about 500 items in playlist.
Wait here for solution.

Same problem on 2<IP_ADDRESS> with about 500 items in playlist.
Wait here for solution.

I still haven't figured out how to get a solution to the problem?
for a program from under windows

wait release.

The problem is still relevant. For a large playlist of 800+ tracks, the limit has to be lowered to 200.


Solid 100 create add forge wearables script to add forge wearables onchain

You need to add wearables first.
And then add side view wearables. (Uploading side view wearables failed often, so may need to run multiple times.)
npx hardhat run scripts/taskScripts/addForgeWearables.ts --network xx
npx hardhat run scripts/taskScripts/addForgeWearablesSideViews.ts --network xx

Merged to forge branch already.


feat: sendRawTransaction cheatcode

Motivation
Add a cheatcode to apply a raw signed transaction to the current state.
Closes #4816
I'm going to add some unit tests. In the meantime, @wighawag let me know if your tests run correctly.
Thanks @mattsse for the help 😊

Hey, I just tried it and got the following error:
    │   ├─ [0] VM::sendRawTransaction(0xf8a58085174876e800830186a08080b853604580600e600039806000f350fe7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe03601600081602082378035828234f58015156039578182fd5b8082525050506014600cf31ba02222222222222222222222222222222222222222222222222222222222222222a02222222222222222222222222222222222222222222222222222222222222222)
    │   │   └─ ← "transact_from_tx: No `to` field found"
    │   └─ ← "transact_from_tx: No `to` field found"
    └─ ← "transact_from_tx: No `to` field found"

the tx I am sending is a create tx so the to is the zero address, I guess the current PR do not support that ?

By the way I am also wondering how it behave in a script with --broadcast
I am assuming it will be broadcasted and show up in the broadcast files as this is my use case.
But maybe there are other use-case that want the broadcast to happen only if vm.broadcast was called. If so it will have to ignore the broadcast sender address obviously
Interested to know what is the plan here

Thanks for the review @Evalir ! I'll add some comments on the functions to describe what they do.
I think I mostly managed to make everything work, but I still have an issue.
You can see it here: https://github.com/foundry-rs/foundry/pull/4931/files#diff-adc09d8ab1c41936c5b0de46796293527cd70c1a67dc170b44030830658b2053R107
In the "test_execute_signed_tx_with_revert" test. If I use sendRawTransaction, and then there is a revert, Foundry then panics when trying to revert the state. It seems to be due to the JournaledState journal, because the revert happens here:
revm/src/journaled_state.rs:283
Maybe I'm not applying the state correctly here: https://github.com/foundry-rs/foundry/pull/4931/files#diff-eeb83a97daa4af74bebc0c8b78fc406a8697412e50f5e203a116f67fb3239f23R1195
Otherwise, most tests seem to work.

the branch was getting a bit old, so i just rebased on master

I just tried the PR and when the sendRawTransaction is executed I get
The application panicked (crashed).
Message:  called `Option::unwrap()` on a `None` value
Location: /home/wighawag/.cargo/git/checkouts/revm-bf744d8ffabcbad9/8833792/crates/revm/src/journaled_state.rs:307

This is a bug. Consider reporting it at https://github.com/foundry-rs/foundry

  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   1: __libc_start_call_main<unknown>
      at ./csu/../sysdeps/nptl/libc_start_call_main.h:58
   2: __libc_start_main_impl<unknown>
      at ./csu/../csu/libc-start.c:392

This is executed with
vm.sendRawTransaction(
                        hex"f8a58085174876e800830186a08080b853604580600e600039806000f350fe7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe03601600081602082378035828234f58015156039578182fd5b8082525050506014600cf31ba02222222222222222222222222222222222222222222222222222222222222222a02222222222222222222222222222222222222222222222222222222222222222"
                    );

And before that call I make sure 0x3fAB184622Dc19b6109349B94811493BF2a45362 have enough balance to execute the tx (10000000 gwei)

That's weird @wighawag it doesnt crash for me, and I cant reproduce a crash.
The test does fail though if you don't run a node because Foundry automatically deploys create2factory in tests. I get a NonceTooLow { tx: 0, state: 1 } error.
So I'm just running an anvil node (no other options), and my script as
$ ./myforge script ./script/RawTx.s.sol -f http://<IP_ADDRESS>:8545 -vvvvv --broadcast
`
``
can you give me more details?
lmk if you want me to send the entire script

I was using a complex setup so I recreated my use case in this repo :https://github.com/bug-reproduction/hello_foundry_4931
The README explains the issue that my complex setup was probably hitting
Basicaly it seems sendRawTransaction is indeed working but it does not affect the current execution environment and everything act like it was never executed, until you execute a new script

@wighawag this should be fixed. sorry for taking so long.
it was a stupid mistake, the transaction was always considered as a Call whatever the to field was. Now it's a Create if to==0 otherwise it's a Call
@Evalir @mattsse this should be good for review

I would definitely find this cheatcode useful

I would definitely find this cheatcode useful

Same!

Hey @teddav I'd like to contribute to this PR, bc it would be super useful for me. Would you be kind and provide a status update of the current code? What's in need of a fix, or any challenge that you are facing?
Thanks in advance

Hey @LeoPapais ! I'm glad you're interested in it. I am too ahah 😁
No challenge, the cheatcode is ready and working.
Unfortunately, it was never reviewed a few months back when I worked on it 🥲
And I asked again @Evalir a week ago who told me they're not merging new PRs at the moment because there is a big refactor coming (if i understood correctly).
I see some other people showed interest, and I'd love to see it merged too.
Everything was working properly, and I also added some tests. So it's just a matter of code quality review in my opinion before it's ready to be merged.
But I have to admit i'll probably be too lazy to rebase everything after the refactoring.
In the meantime, if you need it you can just pull the PR and build Foundry from there if you need this cheatcode. That's what I did. It's not that convenient though... 😉

Hey hey! So adding a bit more context on this:

Right now we need to merge a big cheatcodes refactor before we can merge new cheatcodes. This will be done soon.
As soon as this happens, we'll process the cheatcode backlog, including this one—it'll need a rebase/reimpl but we'll probably take care of that, as the process for creating new cheatcodes will have changed

appreciate the patience 🙏

As mentioned above by @evalir, we recently refactored how cheatcodes are implemented in https://github.com/foundry-rs/foundry/pull/6131. You can read more about it in the dev docs.

Hi @DaniPopes, for my clarification, this cheatcode would need to be refactored based on #6131 in order to be merged?

Just wondering if there is any update on this feature ?

i forgot about that! you come at the right time @wighawag , i might have time next week to finish that. It will be a good way for me to look at the new Foundry file structure (i havent looked into it in months).
but i admit that if it takes me too long to refactor i might be lazy... i'll try to take care of it on monday.
@tynes i saw you mentioned it could be useful for you. did you end up using it?

If you end up picking this up again, I'd recommend just starting over in a new PR rather than trying to rebase this one. Quite literally every file touched here has been completely re-written.

i finally took the time to work on it. it's almost done @DaniPopes @klkvr i just need to add some tests but if you have time to review, please do :)
i made a small change to alloy too, i need to push it and be merged for this pr to work

just pushed some unit tests. hopefully this can be review (and merged).
after a year being opened 🙌

Hi @teddav thanks for your PR! Would be great to get this in a merge-able state for review. Do you see any blockers? Would you be able to resolve the merge conflicts? Once so, I'll make sure we don't lose track again and get this in.

PTAL @klkvr this should be similar to recent work on vm.deployCode https://github.com/foundry-rs/foundry/pull/8181

yep, this just needs to use executor.get_inspector() instead of ccx.state as it was done for vm.transact()

thanks for the comments @klkvr im gonna change that.
but right now i did the rebase and i get an error: https://github.com/foundry-rs/foundry/actions/runs/9766096069/job/26958273091
i dont understand it. do you know how to fix?

you should remove Self: Sized bound from DatabaseExt::transact_from_tx and used &mut dyn InspectorExt<Backend> instead of generic there, as it's done in DatabaseExt::transact

thanks @klkvr if you have time for a first review. i really dont want to have to rebase again :)
i'll make the other changes tomorrow

@klkvr what's missing here besides conflicts?

@klkvr what's missing here besides conflicts?

it needs better error propagation and I'm investigating a strange bug with OOG errors locally, should be ready after that

This should be ready for review, I'd like to do a follow-up later to improve transact* logic a bit, don't want to bloat this PR's scope more


PDF Miner returns different results every time

I have noticed the issue with PDF miner.
It returns different results each time for my PDF doc. This is my code:
import requests
from io import BytesIO
from pdfminer import high_level

def pdf_sublink_extraction(pdf_links, sleep):

    associatedTextList = []
    for pdf_link in pdf_links:
        print("pdf link", pdf_link, '\n')
        try:
            response = requests.get(pdf_link)
            print('response', response, '\n')
            with BytesIO(response.content) as data:

                num_of_pages = len(list(high_level.extract_pages(data)))

                full_pdf_text = high_level.extract_text(data, password='', page_numbers = None, maxpages = 5, codec='utf-8', caching=True, laparams=None)
                full_pdf_text = full_pdf_text.replace('\n\n\n\n', '\n').strip()

        except:
            full_pdf_text = "PDF File: " + pdf_link + "\n\nUnable to parse PDF file!"

    return full_pdf_text

print(pdf_sublink_extraction(['https://www.buelach.ch/fileadmin/files/documents/Finanzen/2016_2020_finanzplan.pdf'], 0))
print()
print()
print(pdf_sublink_extraction(['https://www.buelach.ch/fileadmin/files/documents/Finanzen/2016_2020_finanzplan.pdf'], 0))

I checked the results with this tool:
https://www.diffchecker.com/diff
And it returns different results. The difference is in numbers in some lines.
Is that a bug, or Im doing something wrong?

If you run python version less than 3.7 you might get non deterministic behavior. https://stackoverflow.com/questions/14956313/why-is-dictionary-ordering-non-deterministic
Try upgrading to 3.7 and see if it runs more consistent


Contributed system version bump

Hello and thanks for interesting project in the area that sorely lacks nice working solutions (namely, CL dependencies isolation).
I have a theoretical question: suppose I post a system to include in ocicl repo. I can see that issue template contains a required field "Git commit hash". I was wondering how I'd be able to bump the version of that system in ocicl repo in case there were updates to it?

Just send a PR or file a issue.  I have a script that notifies me of
updates, and have been handling them in an ad-hoc manner.  I will clean it
up and commit it to an ocicl-admin repo or similar.
Ultimately, I don't want to be the only one maintaining these repos.  I'm
hoping that once (if?) this gets traction, then people will be willing to
volunteer to help maintain it.
Thanks for your interest and feedback!
On Mon, Jul 31, 2023 at 9:49 AM Andrew Kravchuk @.***>
wrote:

Hello and thanks for interesting project in the area that sorely lacks
nice working solutions (namely, CL dependencies isolation).
I have a theoretical question: suppose I post a system to include in ocicl
repo. I can see that issue template
https://github.com/ocicl/request-system-additions-here/issues/new?assignees=&labels=&projects=&template=request.yml&title=[System+Request]%3A+
contains a required field "Git commit hash". I was wondering how I'd be
able to bump the version of that system in ocicl repo in case there were
updates to it?
—
Reply to this email directly, view it on GitHub
https://github.com/ocicl/ocicl/issues/12, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAV7CLSQ3MACBTDDLZDZP3XS6ZV3ANCNFSM6AAAAAA26JJVNU
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Got it, thank you!


Specify that Conn IdleTimeout is in nanoseconds

With the default value for Conn.IdleTimeout being set as 1 * time.Minute, that results in<PHONE_NUMBER>0 or 1 * 60 * 1000 * 1000 * 1000 * time.Nanosecond, as opposed to 60000. Caused me a tiny headache when I tried setting it to actual millisecond values as I could not establish a connection.

[x] The purpose of this PR is explained in this or a referenced issue.
[-] Tests are included and/or updated for code changes.
[x] Updates to CHANGELOG.md are included.
[-] MIT license headers are included in each file.

@microsoft-github-policy-service agree [company="{NetApp Inc.}"]


Pull request #2410 issue

Hello!
So uh, I just made a bug report, #2408, which was fixed in #2410, and you just fixed it, and I see you, um... Just threw my entire sample code in as a test case.
One problem, that sample code was actually an assignment I just turned in for university. You probably want to come up with a novel test case, um, for two reasons.
A: this is an assignment that will likely be used in future quarters, and it'd probably not be good to have solution code for that floating around
B: there are some licensing questions as to whether anything made using UCSD resources is property of UCSD or not, and incorporating code I wrote for an assignment into your testing code sounds like a bad idea

Hi @TheYadda,
probably you can come up with some other (short) example we can use as a test case?

I don't even know if this would execute as I expect it to because it's just something I came up with on the spot, but it demonstrates the issue.
highlight.js version
VSCode version
# logical operator demo (highlight.js arm comment test)
mov r0, #0x00F0     // r0 = 0x00F0
mov r1, #0x000F     // r1 = 0x000F
mov r2, #0xFF00     // r2 = 0xFF00
orr r3, r0, r1      // r3 = r0 | r1     // r3 = 0x00FF
and r4, r3, r2      // r4 = r3 & r2     // r4 = 0x0000
orr r5, r3, r2      // r4 = r3 | r2     // r5 = 0xFFFF
eor r6, r5, r2      // r6 = r5 ^ r2     // r6 = 0x00FF

and I see you, um... Just threw my entire sample code in as a test case.

Actually I didn't, I included only a portion (snipping out the middle)... and to me the amount of code was so small as to not be an issue.  To me it looked like a small portion of something much larger, and hence a valid test case.

and it'd probably not be good to have solution code for that floating around

Since it's not really labeled I'm not sure how someone would find it...

But since you raised this issue I guess it's really bothering you so we'll see if we can't swap it out with something else.


new way to crash server 1.16.5

Hello, our server on 1.16.5 is not clear how, panilla, exploitfixer do not help. There are enough resources on the server, it's a crash lobby.
latest (2).log

Please reopen if this is still an issue. I am doing issue cleanup.


Crash

It crashes after 3 minutes of opening it, help.

Have you seen https://github.com/pizzaboxer/bloxstrap/wiki/Roblox-crashes-or-does-not-launch?

Issue has been awaiting clarification for over a month, closing as stale. If you have anything further to add, just respond and I'll reopen.


ks 0.10.1 ks init fails

/kind bug
How to reproduce it (as minimally and precisely as possible):
With following ~/.kube/config:
apiVersion: v1
kind: Config
clusters:
- name: local
  cluster:
    server: https://A.B.C.D:1443/
    certificate-authority-data:  YYYY
users:
- name: me
  user:
    client-certificate-data: ZZZZ
    client-key-data:  XXXX
contexts:
- context:
    cluster: local
    user: me
  name: "internal"
current-context: internal

run ks init myapp produces:
INFO Using context "internal" from kubeconfig file "/home/mivanov/.kube/config"
INFO Configuring TLS (from data) for retrieving cluster swagger.json
INFO Creating environment "default" with namespace "default", pointing to cluster at address "https://A.B.C.D:1443/"
ERROR Invalid API specification 'version:'
To undo this simply delete directory 'myapp' and re-run `ks init`.
If the error persists, try using flag '--context' to set a different context or run `ks init --help` for more options

Anything else we need to know?:
HTTP_PROXY and HTTPS_PROXY vars are set, A.B.C.D is added to NO_PROXY env var
Environment:

ksonnet version (use ks version):

ksonnet version: 0.10.1
jsonnet version: v0.10.0
client-go version: 1.8

Kubernetes version (use kubectl version):

Server Version: version.Info{Major:"1", Minor:"8", GitVersion:"v1.8.12", GitCommit:"5d26aba6949f188fde1af4875661e038f538f2c6", GitTreeState:"clean", BuildDate:"2018-04-23T23:09:30Z", GoVersion:"go1.8.3", Compiler:"gc", Platform:"linux/amd64"}

i’ve hit this when ks cannot get the version string from your K8s API server. In my case, it was minikube. you can work around this by adding --api-spec=version:v1.8.12

Duplicate of https://github.com/ksonnet/ksonnet/issues/503


xunit 2.4.0

Are you planning to implement xunit 2.4.0?
We noticed that the two classes within
DjvuNet\DjvuNet.Shared.Tests\xunit

DjvuDataRowTestCase.cs
DjvuNamedDataRowTestCase.cs

do not implement the property Timeout.

Closing as xunit 2.4.0 support was merged with PR #126 to master


Problem of running the example in this code

When I run the working example given in bci_architectures.py, I got a problem that the 'load_competition_subject' function needs data named'1TClass1_stft.mat' which I could not find.
I only have the BCI 2A source data named such as 'A01T.gdf' and label files.
So how can I get the  '1TClass1_stft.mat'  data?

When I run the working example given in bci_architectures.py, I got a problem that the 'load_competition_subject' function needs data named'1TClass1_stft.mat' which I could not find.
I only have the BCI 2A source data named such as 'A01T.gdf' and label files. So how can I get the '1TClass1_stft.mat' data?

Hello, I'm really sorry to disturb you. Have you solved the problem you raised in the comment section before? I'd like to ask you for some experience and hope to get your reply. My email is<EMAIL_ADDRESS>

Hi!
The repository is (very) a preliminary work and somethings, like the data loading modules, are very precary. I hoped I could find time to keep improving the code, but recent events has made moved from this project further that I originally intended. (But I hope to find time again to work in this in a medium-range future)
The data files present in the code are the file formats that I peersonally used for my experiments. You can find a little bit of info about the expected data for each function in the documentation. I know that gdf is a very popular format, but I used .mat (MATLAB/Octave files) for this repository because it was easier for me. I think that you can export from the .gdf to .mat format. That would be the way to go.
Thank you.

Hi, I have been studying to reproduce your code recently, and I really want to get the data files like "A01tclass1_stft.mat" that you used at that time. Or can you tell me how to convert A01T.mat to A01TClass1_stft.mat?

This stft stantds for fast fourier transform. So what I called with the prefix *_stft there were the wavebands were a such transformation was applied.

I want to know what the dimension of the data after the fast Fourier transform looks like, can you tell me?For example (trials, number of channels, sample points)

Hello, I have received your letter.
First of all,
I'm not the author of the project myself, I'm just a reader who used to debug the code. And because of the long time, some things are not very accurate memory, I do not know whether there is a problem with some of the things said, and I hope you can understand.
The shape of 2A data is AxBxC. The actual value is 1000x22x288.
A -- >1000, which is the data length of each event (4s *250Hz)
B -- >22, which represents the number of electrodes used, i.e. the number of channels
C -- >288, which represents the number of events, that is, the number of labels
------------------ 原始邮件 ------------------
发件人:                                                                                "Fuminides/athena"                                                                                @.>;
发送时间: 2022年11月7日(星期一) 晚上9:00
@.>;
<EMAIL_ADDRESS>主题: Re: [Fuminides/athena] Problem of running the example in this code (Issue #2)
I want to know what the dimension of the data after the fast Fourier transform looks like, can you tell me?For example (trials, number of channels, sample points)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>

Hello, I am a student studying brain-computer interfaces, and I noticed the following error when I was running the code:  candidato = np.mean(np.argmax(ag1(ag2(final_logits,axis=0,keepdims=False), axis=0, keepdims=False), axis=1) == y) TypeError: 'str' object is not callable,Among them, ag1 and ag2 are both characters, why can they be used here, and it seems that the “_emf_predict_proba” function returns not a numeric value but a character?

Hi,
Thank you for your interest. The library is not maintained anymore and its
methods are quite old. You can check MOABB library in github and if you are
interested in aggregation functions you can use the fancy aggregation
library that I also did some years ago.
Thank you
Javier
El lun, 16 dic 2024, 10:59, crazyyyxx @.***> escribió:

Hello, I am a student studying brain-computer interfaces, and I noticed
the following error when I was running the code: candidato =
np.mean(np.argmax(ag1(ag2(final_logits,axis=0,keepdims=False), axis=0,
keepdims=False), axis=1) == y) TypeError: 'str' object is not
callable,Among them, ag1 and ag2 are both characters, why can they be used
here, and it seems that the “_emf_predict_proba” function returns not a
numeric value but a character?
—
Reply to this email directly, view it on GitHub
https://github.com/Fuminides/athena/issues/2#issuecomment-2545126198,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AC76AJNWP65NAZEJ7TGQ64T2F2P6PAVCNFSM6AAAAABTVTXLOKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNBVGEZDMMJZHA
.
You are receiving this because you commented.Message ID:
@.***>


Not all outputs seem to be making it into the index

Describe the bug

Not all output diagnostics seem to be making it into the index. I suspect this may be an index file locking issue, as they are written simultaneously, and maybe switching to an SQLite database will help.
How to reproduce
Steps to reproduce the behaviour:
Have a look in $DATADIR/2024/CSET-mega-run/plots. Observe that ls | grep domain_mean gives a much longer list than cat index.json | jq | grep domain_mean. We are missing about 30 plots!
Expected behaviour

All of the outputted diagnostics show up in the output.

I think the issue is that the index file is written concurrently for all of the diagnostics, and one is reading and then overwriting it at the same time as another, clobbering its changes.
In theory we avoid this by locking the file when writing to it, but it may be that as we are on a network filesystem the locking is a bit dodgy. Therefore I'm not sure SQLite would help here.
Probably the longer term fix for this is to have a single task write the index.json file at the end, though this will mean you can see plots as they are being made. Maybe we output the a mini index file to a unique name for each plot that we then combine, or maybe we just reconstruct from the directory names and the meta.json in each plot.


Add the --[no]sort_networks CLI option

Add the --[no]sort_networks CLI option, that together with --[no]optimize will keep original generated order of networks in networks definition files. This can be useful when migrating from one method of generation to another one, and comparing that the end result is the same.

Looks fine to me, can be merged.


Prepare 0.0.3 Release

With #1 merged, shall we do a version bump.

 Version Bump tc-eslint-config

:+1:


Need to setup profile page

Profile page

User

Watchlist
Sign out
Reset password and edit profile

@shivshankar9 Any update? If you face issue in the code let me know with your problem I am here to help you out.

Ok sure ,

@shivshankar9 Any update? If you face issue in the code let me know with your problem I am here to help you out.

I need to work on this issue, I can build a ui profile page like netflix @QAZIMAAZARSHAD

This issue is already assigned.
And first, resolve other issues that are assigned to you.

@shivshankar9 any new updates?

Is this still active? I would like to work on it under hacktoberfest

Thanks @QAZIMAAZARSHAD for assigning me this issue. Can you give some hints on how the profile page should be like?

Thanks @QAZIMAAZARSHAD for assigning me this issue. Can you give some hints on how the profile page should be like?

A profile page should contain user details like name, id, subscription validity, my downloads, an option to log out, It should also display how many devices are connected with this account.
You can implement your own ideas as well, all the above-mentioned features are not mandatory, you can add as many features you want.
Make sure the profile page follows the theme of the website.
Also, add the My profile button in the navbar of all pages.
Do check the responsiveness of your page in mobile view.
Visit some other websites or apps to get an idea how it should look like.

If you include the log-out button inside the profile page.
Then replace the logout button on the navbar with the My Profile button.

Do you want a static profile page or a dynamic one?
For Dynamic Profile Page, profiling needs to be done for every user involving making APIs and integrating database.

@QAZIMAAZARSHAD Do you want a static profile page or a dynamic one? For Dynamic Profile Page, profiling needs to be done for every user involving making APIs and integrating database.

Static page will be fine.


[$500] Chat - WS custom avatar is not updated in chat conversation after request money

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: <IP_ADDRESS>
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:

Launch the app
Log in with any account
Set your avatar to custom avatar
Set your WS to custom avatar
Go to Expense report
Request Money

Expected Result:
WS custom avatar is updated in chat conversation after request money
Actual Result:
WS custom avatar is not updated in chat conversation after request money
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

https://github.com/Expensify/App/assets/78819774/2adcbdcf-a6d7-4184-a615-9097b3f9f99e

View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01863c1504c75474be
Upwork Job ID:<PHONE_NUMBER>747791872
Last Price Increase: 2023-12-05

Proposal
Please re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?
What changes do you think we should make in order to solve the problem?
In here, we should change the key policy${report?.policyID} to policy_${report?.policyID}
https://github.com/Expensify/App/blob/83451a86e0c8d23468a146a8698ea77c09384d07/src/libs/ReportUtils.ts#L1168-L1171

What alternative solutions did you explore? (Optional)

Proposal
Please re-state the problem that we are trying to solve in this issue.
Chat - WS custom avatar is not updated in chat conversation after request money
What is the root cause of that problem?
We have all the logic placed with the code, but there is some issue on how we're accessing the policy data and that's causing an issue.
https://github.com/Expensify/App/blob/a12d140ccb4b1e25c98f40323cfbb6cb2513a9de/src/libs/ReportUtils.ts#L1171 Here in this function we get the avatar for the respective policy.
If we carefully observe that we're accessing the policy from allPolicies with key policy${report.policyID} but we save the policies in the following format.
policy_${report.policyID}

What changes do you think we should make in order to solve the problem?
Updating access key with _ should solve the issue.
    return allPolicies?.[`policy_${report?.policyID}`]?.avatar ?? getDefaultWorkspaceAvatar(workspaceName);

What alternative solutions did you explore? (Optional)
NA

There was a regression from this PR, which was already a fix for a regression so I think we can close without payments here.


how to switch tf back to theano?

For some needs, I change {"backend": "theano"} to {"backend": "tensorflow"} in file '~/.keras/keras.json'. Now I want to use theano again.So I  change  {"backend": "tensorflow"} back to {"backend": "theano"}.  But when I run my scripts, it shows error:
I tensorflow/stream_executor/dso_loader.cc:108] successfully opened CUDA library libcublas.so locally I tensorflow/stream_executor/dso_loader.cc:108] successfully opened CUDA library libcudnn.so locally I tensorflow/stream_executor/dso_loader.cc:108] successfully opened CUDA library libcufft.so locally I tensorflow/stream_executor/dso_loader.cc:108] successfully opened CUDA library libcuda.so.1 locally I tensorflow/stream_executor/dso_loader.cc:108] successfully opened CUDA library libcurand.so locally Couldn't import dot_parser, loading of dot files will not be possible. Traceback (most recent call last):   File "main.py", line 31, in <module>     theano.config.device = 'gpu'   File "/usr/local/lib/python2.7/dist-packages/theano/configparser.py", line 331, in __set__     "Can't change the value of this config parameter " Exception: Can't change the value of this config parameter after initialization!
What should I do to solve this problems?

The file main.py try to change the Theano flag theano.config.device after
having loaded Theano. You can't do it like that. You can do it by doing
Import Theano.sandbox.cuda as cuda
cuda.usa("gpu")
Le 15 sept. 2016 03:01, "JulyUp"<EMAIL_ADDRESS>a écrit :

For some needs, I change {"backend": "theano"} to {"backend":
"tensorflow"} in file '~/.keras/keras.json'. Now I want to use theano
again.So I change {"backend": "tensorflow"} back to {"backend": "theano"}.
But when I run my scripts, it shows error:
I tensorflow/stream_executor/dso_loader.cc:108] successfully opened CUDA
library libcublas.so locally
I tensorflow/stream_executor/dso_loader.cc:108] successfully opened CUDA
library libcudnn.so locally
I tensorflow/stream_executor/dso_loader.cc:108] successfully opened CUDA
library libcufft.so locally
I tensorflow/stream_executor/dso_loader.cc:108] successfully opened CUDA
library libcuda.so.1 locally
I tensorflow/stream_executor/dso_loader.cc:108] successfully opened CUDA
library libcurand.so locally
Couldn't import dot_parser, loading of dot files will not be possible.
Traceback (most recent call last):
File "main.py", line 31, in
theano.config.device = 'gpu'
File "/usr/local/lib/python2.7/dist-packages/theano/configparser.py",
line 331, in set
"Can't change the value of this config parameter "
Exception: Can't change the value of this config parameter after
initialization!
What should I do to solve this problems?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/fchollet/keras/issues/3772, or mute the thread
https://github.com/notifications/unsubscribe-auth/AALC-62q2i-q91eduO0OxG_Pt7omiN9dks5qqO1XgaJpZM4J9jlH
.

@nouiz  Thankyou very much. And it works. Though I do not understand why.


Code 302: Found after redirect results in isSuccessful == false

https://github.com/square/okhttp/blob/858939f025068c6d3581338317bba03e63ebd909/okhttp/src/main/kotlin/okhttp3/Response.kt#L147

Not sure we would change this, as it may break others.
Why not just define your own custom response.isSuccessful logic instead of the ResonseCodeInterceptor?

The problem happens in a foreign implementing project, as you can see in the mentioned bug report.
So, you're right: The problem can be solved at another place (too).
However, I'm wondering, why a 302 should be a non successful response? It's just the endpoint of a redirect(ion chain).

I'm also confused why it's not following the redirect, if it's just using the defaults from Retrofit.  If you can create a reproduction test case we can take a look. Let me know and we will reopen.
But if it's ultimately some external configuration and you the implementation of isSuccessful doesn't work for your case then it's something to discuss with the library maintainer. OkHttp is providing the headers and body for this request, just dropped in the library.


complete readme template

this is a draft for now since of course i will need feedback, but i think this is a good step towards getting this into the org
so far i've added instructions, changed most links to point to catppuccin/nix, and added a bit to the q&a

I’m going to undraftify this since it is complete and just needs review.


remove KSM VPA minAllowed, set high limits/requests ratio

Towards https://github.com/giantswarm/giantswarm/issues/27934
Replaced Kube-State-Metrics Vertical-Pod-Autoscaler minAllowed resources with high limits/requests ratio to prevent throttling and yet spare resources on clusters any size.

@hervenicol do we want that in the next prometheus-operator-app release?

I think so yes !


07/05/2018 00:51 : Create Pull Request for branch prTesting_2018070500 -> master

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/updateTestCon.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Awesome Draggable Navbar

Hey, I have an awesome Draggable Navbar.

Yeah It's can be dragged on Screen.

I am exploring this repository and found some Navbar related projects.
So I want to add this Draggable Navbar as a projects.
This contribution is under  Hacktoberfest 2022
@pranjay-poddar Do consider this Issue under hacktoberfest

sir please assign this project, bcoz I am a front end developer so i will make it very attractive pages.


Document Helm as an install option on the website

I'll do this one after the Helm chart is upstreamed, rather than document it before install is trivial.


BIG SUB-PROJECT: writing the training results to a CHF file

We only allow PGN files as original input. Otherwise we want to deal with CHF that will extend the PGN format in several ways. In particular:

new header keys like: Title or TrainingSide
special ChessForge commands (probably as comments in the format [%CHF  [attributes]]). These commands may include engine evaluations done during training sessions and also special evaluation entered by the Workbook's author e.g. "best move" or "mistake". The idea being that during the training ChessForge does not reward the student for simply making a move found in the Workbook but checking if it is indeed a recommended move.
allowing to begin from a non-starting position (defined in the FEN format). Although, we don't anticipate the need for this in V1.

Once the Training Session is over, we want to save the evaluations made and user choices in the CHF file using the ChessForge special commands.
If the user played a game vs the engine after making a non-Workbook move, if requested, we may want to add the line to the Workbook.

Some ideas already implemented, some covered by other open issues


Work for constants?

Can this be extended to also convert named constants?
Ie, define constant (Python):
FOOBARBAZ = 0xEA0000
Hover over, with this extension installed, tooltip will show:
(constant) FOOBARBAZ: Literal[15335424]

The hex-hover-converter converts only numbers.
It is programming language agnostic.
And I want to keep it simple.
So I don't think I will ever support constants.
But you can, of course, fork the repository and implement yourself.


Added test and anchor properties fix

Fixes #874 anchor properties not updating correctly if they have listeners attached.
The problem seems to come down to the internalStartedByAnchor Boolean property not firing on each invocation of setValue, but only when the actual value held changes.
The most non intrusive and safest fix, I feel, is to just toggle the Boolean property when needed in order to fire any relevant change listeners.

This PR was reverted in favor of a better solution in PR #877


remove comma-delimited denotation from authorized_keys in docs

This has nothing to do with the manager, it is an API decision.


Website update - Vuepress

Moved website from docusaurus to vuepress

it is faster
we can include more links into navigation
more flexible in styling content
has dropdowns fro helpers!

 Here is an overview of what got changed by this pull request:

Issues
======
- Added 2

See the complete overview on Codacy

I updated PR and moved out all website related things to https://github.com/codecept-js/website
So this PR actually simplifies development, as all styling and all static pages no longer require updates to main repo.
However, all docs/* still need to be formatted for vuepress and runio script was used to do that.

 Here is an overview of what got changed by this pull request:

Issues
======
- Added 2

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Issues
======
- Added 2

See the complete overview on Codacy


Patch Add entire array with virtual values does not work

References

Fixes https://github.com/DSpace/DSpace/issues/3214

Description
The Patch ADD Operation of an array of values now support the presence of pre-existent virtual metadata.
Virtual metadata related to existent relations can be now moved or deleted through this API.
Instructions for Reviewers
List of changes in this PR:

The replaceValue method of ItemMetadataValueAddPatchOperation takes into account the presence of virtual metadata that are preserved (and repositioned when needed, updating the relationship's leftPlace/rightPlace as happen for example during a simple move operation). In this way we can preserve also the previous relationship's ids.
Plain metadata instead are cleared and recreated as before, with a slightly different requirement, the possibility to force the place field. To do this an extra addMetadata method has been added which takes a place argument too. The standard implementation wasn't correct because the place was computed counting all the existent relationships, but they could have been moved just after the processed value, so the place were not correct.

Integration tests:

patchAddAllAuthorsOnTraditionalPageTest
In this case we test that virtual metadata can be deleted/moved to different positions, mixed with plain metadata values.

patchAddAllAuthorsOnTraditionalPageNotExistentRelationTest
With this test we try to provide an authority of type "virtual::id" that does not exist. So we get a 422 error.

Checklist
This checklist provides a reminder of what we are going to look for when reviewing your PR. You need not complete this checklist prior to creating your PR (draft PRs are always welcome). If you are unsure about an item in the checklist, don't hesitate to ask. We're here to help!

[x] My PR is small in size (e.g. less than 1,000 lines of code, not including comments & integration tests). Exceptions may be made if previously agreed upon.
[ ] My PR passes Checkstyle validation based on the Code Style Guide.
[x] My PR includes Javadoc for all new (or modified) public methods and classes. It also includes Javadoc for large or complex private methods.
[ ] My PR passes all tests and includes new/updated Unit or Integration Tests based on the Code Testing Guide.
[ ] If my PR includes new, third-party dependencies (in any pom.xml), I've made sure their licenses align with the DSpace BSD License based on the Licensing of Contributions documentation.
[ ] If my PR modifies the REST API, I've linked to the REST Contract page (or open PR) related to this change.

@benbosman thanks for your review!

I did an initial test with the latest main, and discovered the following issues:

Deleting a related entity no longer works correctly. It displays the entity as still related until you refresh the page: https://www.dropbox.com/s/3659knfp6l8pqt7/Schermopname 2021-04-08 om 13.18.11.mov?dl=0

This is an old behaviour, as I remember it was present even before merging https://github.com/DSpace/dspace-angular/pull/960
Unfortunately those selected items are completely detached from the form state and they are not kept in sync (until as you noticed a full page refresh occurs).

If you don't save prior to adding a relationship, the relationships are broken https://www.dropbox.com/s/zpv4svo9o58dknv/Schermopname 2021-04-08 om 13.24.58.mov?dl=0

This should not happen since every time the lookup modal is opened there is an automatic submission save. I'll give it a quick look.
Apart from possible problems Angular side which has a very complicated state management, I'd appreciate to know if at least Rest side the responses and modification are consistent and act as expected.

@benbosman I've given a look at the second point and I've found a couple of bugs angular side.
I've opened https://github.com/DSpace/dspace-angular/issues/1091 for it.

I've been testing this branch in combination with https://github.com/DSpace/dspace-angular/pull/1092, but can't tell for sure whether it's an Angular or REST issue.
But I did notice all non-Publication submissions are broken when I try to use them
I've tested the Person and Journal Issue submission. I did want to test them because they use a submission field which is a relationship not linked to plain text metadata
The Person has a lookup for a Publication. The Journal Issue has a lookup for a Journal Volume
When adding the relationship, the UI doesn't display it
When refreshing the page, only part of the page loads: https://www.dropbox.com/s/avzrgbdi0ah8cws/Schermafbeelding 2021-04-09 om 15.39.34.png?dl=0

@benbosman thanks for your feedback.

Thanks @alemarte
I've reviewed your code in detail now, and I only noticed one thing:
You've added the new solution to perform patch add on an entire array, but only created one IT to verify that works, where the IT only uses plain metadata
Can you add ITs similar to patchAddAllAuthorsOnTraditionalPageTest:

Proving this also works when a few objects are a virtual metadata field
Proving this also works when all object are a virtual metadata field

I will check the Angular PR out as well

patchAddAllAuthorsOnTraditionalPageTest already covers the case with several mixed values (plain and virtual). It should ensure that all work properly.

I've been testing this branch in combination with DSpace/dspace-angular#1092, but can't tell for sure whether it's an Angular or REST issue.
But I did notice all non-Publication submissions are broken when I try to use them
I've tested the Person and Journal Issue submission. I did want to test them because they use a submission field which is a relationship not linked to plain text metadata
The Person has a lookup for a Publication. The Journal Issue has a lookup for a Journal Volume
When adding the relationship, the UI doesn't display it
When refreshing the page, only part of the page loads: https://www.dropbox.com/s/avzrgbdi0ah8cws/Schermafbeelding 2021-04-09 om 15.39.34.png?dl=0

This seems to be an Angular issue. We tried to reproduce it but we haven't found a suitable configuration on the demo. From what we have seen it seems that the configurations you mentioned don't have a virtual metadata related to the submission.
Is this configuration correct? If true how it should be handled in the context of the submission without a related virtual metadata?
@tdonohue
In our opinion this PR covers and solves the problems described in the https://github.com/DSpace/DSpace/issues/3214.
If there are other problems related to relations managing they should be tackled by dedicated tickets.
We should remember that a refactoring work is already planned for version 7.1 anyway. Here the references https://github.com/DSpace/DSpace/issues/2953 https://github.com/DSpace/dspace-angular/issues/858

@alemarte and @benbosman :  I've done some testing of this alongside the frontend PR (https://github.com/DSpace/dspace-angular/pull/1092) and with this updated configuration in place (https://github.com/DSpace/DSpace/pull/3232).
Overall, the basics seem to work.  I agree with @alemarte that the scope of this PR should not include issues with adding Relationships (I'm also seeing issues there, but I don't believe they are related to this PR -- I admit, I haven't been able to debug them fully yet, but they seem to already exist on main).  I have been able to add other Entity types, as long as I use the updated configuration in #3232 -- so, I think this is a configuration problem on the demo site.
I'll do some more testing on Monday, but I wanted to note that the overall direction here seems fine.  However, I do think we still have some bugs in the Entity submission process around creating new relationships (especially by importing from ORCID or similar, where you create a new Person object based on an ORCID and attempt to link to a Publication).  But, at least as of now, I think those are unrelated to this PR.


Examples??

Need detailed examples please like other commands.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: fb5dff48-59a0-2e9c-695a-f412f753e22e
Version Independent ID: 50eba678-7255-369a-23ca-51df4a26af89
Content: Set-PnPWeb (sharepoint-pnp)
Content Source: sharepoint/sharepoint-ps/sharepoint-pnp/Set-PnPWeb.md
GitHub Login: @techwriter40
Microsoft Alias: kirks

@officedocsbot assign @yogkumgit

Hello @OpenHabitat   thanks for your feedback
I need to kindly redirect you to this specific repo where you can open an issue there, as you might know, PnP cmdlets are community-driven, so the community maintainers will pick your request there.
Thank You

@get-itips Thank you very much for sharing this explanation. @OpenHabitat  Hope this comment is helpful for you. These repos are all open source and the community would welcome to contribute. Thanks for taking out some time to open the issue. Appreciate and encourage you to follow the suggested links.


[MM-20058] Team and Channel roles in group configuration screen

Summary

Displays roles for teams and channels in the group configuration screen
Ticket Link

https://mattermost.atlassian.net/browse/MM-20058
Related Pull Requests

Awaiting on https://github.com/mattermost/mattermost-server/pull/13361
Awaiting on https://github.com/mattermost/mattermost-redux/pull/1009
Screenshots

Note to self

Edit package.json to use https://github.com/mattermost/mattermost-redux/pull/1009 after it's been merged

@asaadmahmood This is the PR with the CSS fixes. You will need to go to System Console > Groups (Beta) > Pick a Group > Team and Channel Memberships. Add a couple teams and channels. I'm trying to align everything under the right header. Here is my current progress but when assigned roles changes or the type has extra text like Team (Private) or Channel (Private), it messes the alignment and I'm stuck on what to do. Hoping you can help out with this. Thank you!!

Pushed a fix, have a look.

TODO: Add Cypress Tests

@srkgupta
Hey! I addressed all the problems you mentioned and I added functions to remove all the teams and channels associated to that group prior to adding my own.

Will try to auto merge this PR once all tests and checks are passing. This might take up to an hour.


add "name" field to the fragment component

add "name" field to the fragment component, so that it doesnt show up as an Anonymous Component in error logs and Vue Devtools.

Thanks!


Cleaning views on append mode

Hey Tim,
Is there any particular reason why appended items aren't being cleaned?
I'm just afraid of that leading to orphan bindings, etc.
Thanks
EDIT:
Mmm, I reckon it's my bad on how I'm using the append functionality. I'll elaborate in a minute

Because unlike normal views, list views don't get overwritten only appended to.  Therefore I don't clean the events of previous items, because new items are being added and not replaced.  If you call remove to get rid of any of those items they will be cleaned.


AMBARI-25277. Security Concern as ambari-server.log and ambari-agent.log shows cleartext passwords.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/5211/
Test PASSed.


Fix typescript imports

https://github.com/floralvikings/jira-connector/issues/225

please update description to fixes #225 see https://help.github.com/en/github/managing-your-work-on-github/closing-issues-using-keywords

@ItamarM good job! Thanks!


[FR] Choose clipboard manager provider

Please confirm

[ x] I am running the latest version of this plugin

Is your feature request related to a problem? Please describe.
On my system (Manjaro i3), xsel does not seem to work properly, I primarily use xclip. In the telekasten logic the order with which clipboard providers are chosen is arbitrary and hard-coded. Would it be possible to add a flag to override the behaviour? When I force xclip to be used the image pasting works like a charm. Being able to paste images is kind of a deal-breaker for me.
Thank you for the great plugin!
Andrea

Yeah. I am not really a fan of the current logic either, but while testing it did not seem to have any issue on my end, so I assumed that it was good enough.
We could indeed add an option to select explicitly between xsel or xclip. This would be a very simple change and good first issue to tackle. Do you want to have a shot at it? I will gladly review and merge the PR for that.