Python 2.7 ending 2020

Hey mate I tried to run the bot but when I tried to install Project interpreter and it says that the software will end in Jan 2020 and wont be maintained. It says to upgrade package.
Please help.
Luke

this means, you are using python2.x which is deprecated.
use python3.x instead.

Thanks mate.

You wouldn't know where I could get my hands on python 3?

In general here https://www.python.org/downloads/
On linux i would use the package manager of the used distribution. (apt, yum, ...)
Depending of your needs it could be smart to use anaconda: https://www.anaconda.com/distribution/

All his scripts are written in Pythin 2.7, How do I update his scripts to the new python 3.7.3?

@Lukeday3179 Did you get Python 3 working?  If so, can we close this issue?  If not, are you on Windows, Mac, Linux?

Hi I have not, I am using Mac. If you could give me directions on what to
do I will do the rest.
Thanks
Luke
On Wed, 17 Jul 2019 at 16:40, cclauss<EMAIL_ADDRESS>wrote:

@Lukeday3179 https://github.com/Lukeday3179 Did you get Python 3
working? If so, can we close this issue? If not, are you on Windows, Mac,
Linux?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Roibal/Cryptocurrency-Trading-Bots-Python-Beginner-Advance/issues/33?email_source=notifications&email_token=AL6N5NXAHSAOOVOFPRLQ5LDP725G3A5CNFSM4HJJALM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2DGODY#issuecomment-512124687,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AL6N5NU5AEFKWPMBNRJWAJ3P725G3ANCNFSM4HJJALMQ
.

Open a terminal and type:
$ sw_vers
$ brew info python
What do you see?

Last login: Fri Jun 28 20:42:25 on console
[Restored 17 Jul 2019 at 4:48:50 pm]
Last login: Mon Jul 15 14:58:31 on console
(base) Lukes-MBP:~ lukeday$
(base) Lukes-MBP:~ lukeday$ $sw_vers
(base) Lukes-MBP:~ lukeday$ $brew info python
File: manpages,  Node: python,  Up: (dir)
PYTHON(1)
PYTHON(1)
NAME
   python  - an interpreted, interactive, object-oriented programming

lan-
   guage

SYNOPSIS
   python [ -B ] [ -d ] [ -E ] [ -h ] [ -i ] [ -m module-name ]

          [ -O ] [ -OO ] [ -R ] [ -Q argument ] [ -s ] [ -S ] [ -t ] [

-u
   ]

          [ -v ] [ -V ] [ -W argument ] [ -x ] [ -3 ] [ -?  ]

          [ -c command | script | - ] [ arguments ]

DESCRIPTION
   Python is an interpreted, interactive, object-oriented programming

lan-
   guage that combines remarkable power with very clear  syntax.   For

an
   introduction  to  programming  in Python, see the Python Tutorial.

The
   Python Library Reference documents built-in and  standard  types,

con-
   stants,  functions  and  modules.  Finally, the Python Reference

Manual
   describes the syntax and semantics of the  core  language  in

(perhaps
-----Info: (manpages)python, 353 lines
--Top----------------------------------
On Wed, 17 Jul 2019 at 16:45, cclauss<EMAIL_ADDRESS>wrote:

Open a terminal and type:
$ sw_vers
$ brew info python
What do you see?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Roibal/Cryptocurrency-Trading-Bots-Python-Beginner-Advance/issues/33?email_source=notifications&email_token=AL6N5NXVJI4TXRRBR232W3LP725ZPA5CNFSM4HJJALM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2DGYFQ#issuecomment-512125974,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AL6N5NT52CW2HICBQOHOZ53P725ZPANCNFSM4HJJALMQ
.

Hey mate, if you sent me an update zip of the bot I would e able to get my
api keys and do the rest.
Any chance we can do this?
Thanks
Luke
On Wed, 17 Jul 2019 at 16:50, Luke Day<EMAIL_ADDRESS>wrote:

Last login: Fri Jun 28 20:42:25 on console
[Restored 17 Jul 2019 at 4:48:50 pm]
Last login: Mon Jul 15 14:58:31 on console
(base) Lukes-MBP:~ lukeday$
(base) Lukes-MBP:~ lukeday$ $sw_vers
(base) Lukes-MBP:~ lukeday$ $brew info python
File: manpages,  Node: python,  Up: (dir)
PYTHON(1)
PYTHON(1)
NAME
   python  - an interpreted, interactive, object-oriented programming

lan-
   guage

SYNOPSIS
   python [ -B ] [ -d ] [ -E ] [ -h ] [ -i ] [ -m module-name ]

          [ -O ] [ -OO ] [ -R ] [ -Q argument ] [ -s ] [ -S ] [ -t ] [

-u
   ]

          [ -v ] [ -V ] [ -W argument ] [ -x ] [ -3 ] [ -?  ]

          [ -c command | script | - ] [ arguments ]

DESCRIPTION
   Python is an interpreted, interactive, object-oriented programming

lan-
   guage that combines remarkable power with very clear  syntax.   For

an
   introduction  to  programming  in Python, see the Python Tutorial.

The
   Python Library Reference documents built-in and  standard  types,

con-
   stants,  functions  and  modules.  Finally, the Python Reference

Manual
   describes the syntax and semantics of the  core  language  in

(perhaps
-----Info: (manpages)python, 353 lines
--Top----------------------------------
On Wed, 17 Jul 2019 at 16:45, cclauss<EMAIL_ADDRESS>wrote:

Open a terminal and type:
$ sw_vers
$ brew info python
What do you see?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Roibal/Cryptocurrency-Trading-Bots-Python-Beginner-Advance/issues/33?email_source=notifications&email_token=AL6N5NXVJI4TXRRBR232W3LP725ZPA5CNFSM4HJJALM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2DGYFQ#issuecomment-512125974,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AL6N5NT52CW2HICBQOHOZ53P725ZPANCNFSM4HJJALMQ
.

Don't type the $ and try again.

Last login: Wed Jul 17 17:00:10 on ttys000
(base) Lukes-MBP:~ lukeday$ sw_vers
ProductName: Mac OS X
ProductVersion: 10.14.4
BuildVersion: 18E226
(base) Lukes-MBP:~ lukeday$ brew info python
-bash: brew: command not found
(base) Lukes-MBP:~ lukeday$
On Wed, 17 Jul 2019 at 16:58, cclauss<EMAIL_ADDRESS>wrote:

Don't type the $ and try again.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

$ xcode-select --install  # don't type the $
$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
$ brew install python

==> Summary
🍺  /usr/local/Cellar/sqlite/3.28.0: 11 files, 3.7MB
==> *Installing python dependency: *xz
==> Downloading
https://homebrew.bintray.com/bottles/xz-5.2.4.mojave.bottle.tar
https://homebrew.bintray.com/bottles/xz-5.2.4.mojave.bottle.tar.
==> Downloading from
https://akamai.bintray.com/01/010667293df282c8bceede3bcd369
https://akamai.bintray.com/01/010667293df282c8bceede3bcd369
########################################################################
100.0%
==> Pouring xz-5.2.4.mojave.bottle.tar.gz
🍺  /usr/local/Cellar/xz/5.2.4: 92 files, 1MB
==> *Installing *python
==> Downloading
https://homebrew.bintray.com/bottles/python-3.7.4.mojave.bottle
https://homebrew.bintray.com/bottles/python-3.7.4.mojave.bottle.
==> Downloading from
https://akamai.bintray.com/81/81fc6e5914a16387bd09387ce08e9
https://akamai.bintray.com/81/81fc6e5914a16387bd09387ce08e9
########################################################################
100.0%
==> Pouring python-3.7.4.mojave.bottle.tar.gz
On Wed, 17 Jul 2019 at 17:10, cclauss<EMAIL_ADDRESS>wrote:

$ xcode-select --install # don't type the $
$ ruby -e "$(curl -fsSL
https://raw.githubusercontent.com/Homebrew/install/master/install)"
$ brew install python
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Roibal/Cryptocurrency-Trading-Bots-Python-Beginner-Advance/issues/33?email_source=notifications&email_token=AL6N5NXC2YAXH4CFFDODJ4TP73AXXA5CNFSM4HJJALM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2DIL2Q#issuecomment-512132586,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AL6N5NVCYODCAVVJNHGS6WLP73AXXANCNFSM4HJJALMQ
.

Still working
On Wed, 17 Jul 2019 at 17:18, Luke Day<EMAIL_ADDRESS>wrote:

==> Summary
🍺  /usr/local/Cellar/sqlite/3.28.0: 11 files, 3.7MB
==> *Installing python dependency: *xz
==> Downloading
https://homebrew.bintray.com/bottles/xz-5.2.4.mojave.bottle.tar
https://homebrew.bintray.com/bottles/xz-5.2.4.mojave.bottle.tar.
==> Downloading from
https://akamai.bintray.com/01/010667293df282c8bceede3bcd369
https://akamai.bintray.com/01/010667293df282c8bceede3bcd369
########################################################################
100.0%
==> Pouring xz-5.2.4.mojave.bottle.tar.gz
🍺  /usr/local/Cellar/xz/5.2.4: 92 files, 1MB
==> *Installing *python
==> Downloading
https://homebrew.bintray.com/bottles/python-3.7.4.mojave.bottle
https://homebrew.bintray.com/bottles/python-3.7.4.mojave.bottle.
==> Downloading from
https://akamai.bintray.com/81/81fc6e5914a16387bd09387ce08e9
https://akamai.bintray.com/81/81fc6e5914a16387bd09387ce08e9
########################################################################
100.0%
==> Pouring python-3.7.4.mojave.bottle.tar.gz
On Wed, 17 Jul 2019 at 17:10, cclauss<EMAIL_ADDRESS>wrote:

$ xcode-select --install # don't type the $
$ ruby -e "$(curl -fsSL
https://raw.githubusercontent.com/Homebrew/install/master/install)"
$ brew install python
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Roibal/Cryptocurrency-Trading-Bots-Python-Beginner-Advance/issues/33?email_source=notifications&email_token=AL6N5NXC2YAXH4CFFDODJ4TP73AXXA5CNFSM4HJJALM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2DIL2Q#issuecomment-512132586,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AL6N5NVCYODCAVVJNHGS6WLP73AXXANCNFSM4HJJALMQ
.

==> python
Python has been installed as
/usr/local/bin/python3
Unversioned symlinks python, python-config, pip etc. pointing to
python3, python3-config, pip3 etc., respectively, have been installed
into
/usr/local/opt/python/libexec/bin
If you need Homebrew's Python 2.7 run
brew install python@2
You can install Python packages with
pip3 install
They will install into the site-package directory
/usr/local/lib/python3.7/site-packages
See: https://docs.brew.sh/Homebrew-and-Python
(base) Lukes-MBP:~ lukeday$
On Wed, 17 Jul 2019 at 17:18, Luke Day<EMAIL_ADDRESS>wrote:

Still working
On Wed, 17 Jul 2019 at 17:18, Luke Day<EMAIL_ADDRESS>wrote:

==> Summary
🍺  /usr/local/Cellar/sqlite/3.28.0: 11 files, 3.7MB
==> *Installing python dependency: *xz
==> Downloading
https://homebrew.bintray.com/bottles/xz-5.2.4.mojave.bottle.tar
https://homebrew.bintray.com/bottles/xz-5.2.4.mojave.bottle.tar.
==> Downloading from
https://akamai.bintray.com/01/010667293df282c8bceede3bcd369
https://akamai.bintray.com/01/010667293df282c8bceede3bcd369
########################################################################
100.0%
==> Pouring xz-5.2.4.mojave.bottle.tar.gz
🍺  /usr/local/Cellar/xz/5.2.4: 92 files, 1MB
==> *Installing *python
==> Downloading
https://homebrew.bintray.com/bottles/python-3.7.4.mojave.bottle
https://homebrew.bintray.com/bottles/python-3.7.4.mojave.bottle.
==> Downloading from
https://akamai.bintray.com/81/81fc6e5914a16387bd09387ce08e9
https://akamai.bintray.com/81/81fc6e5914a16387bd09387ce08e9
########################################################################
100.0%
==> Pouring python-3.7.4.mojave.bottle.tar.gz
On Wed, 17 Jul 2019 at 17:10, cclauss<EMAIL_ADDRESS>wrote:

$ xcode-select --install # don't type the $
$ ruby -e "$(curl -fsSL
https://raw.githubusercontent.com/Homebrew/install/master/install)"
$ brew install python
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Roibal/Cryptocurrency-Trading-Bots-Python-Beginner-Advance/issues/33?email_source=notifications&email_token=AL6N5NXC2YAXH4CFFDODJ4TP73AXXA5CNFSM4HJJALM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2DIL2Q#issuecomment-512132586,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AL6N5NVCYODCAVVJNHGS6WLP73AXXANCNFSM4HJJALMQ
.

$ python -V # Capital “V”
$ python2 -V
$ python3 -V

(base) Lukes-MBP:~ lukeday$ python -V
Python 3.7.3
(base) Lukes-MBP:~ lukeday$ python2 -V
-bash: python2: command not found
(base) Lukes-MBP:~ lukeday$ python3 -V
Python 3.7.3
(base) Lukes-MBP:~ lukeday$
On Wed, 17 Jul 2019 at 17:36, cclauss<EMAIL_ADDRESS>wrote:

$ python -V # Capital “V”
$ python2 -V
$ python3 -V
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Roibal/Cryptocurrency-Trading-Bots-Python-Beginner-Advance/issues/33?email_source=notifications&email_token=AL6N5NUYTLMTLIVDBLE7TKDP73DYBA5CNFSM4HJJALM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2DKFHY#issuecomment-512139935,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AL6N5NWXY3YMTVX2XU7JVILP73DYBANCNFSM4HJJALMQ
.

Fascinating...  brew poured Python 3.7.4 but you already had Python 3.7.3.
You should add the following line at the bottom of your ~/.profile file
export PATH="/usr/local/opt/python/libexec/bin:$PATH"

Quit the terminal and reopen it.  python3 -V should now by Python 3.7.4

Please forgive me Im not sure how to do this.
You should add the following line at the bottom of your ~/.profile file
export PATH="/usr/local/opt/python/libexec/bin:$PATH"
Can you tell where to go to update?
Thanks
Luke
On Wed, 17 Jul 2019 at 17:57, cclauss<EMAIL_ADDRESS>wrote:

Fascinating... brew poured Python 3.7.4 but you already had Python 3.7.3.
You should add the following line at the bottom of your ~/.profile file
export PATH="/usr/local/opt/python/libexec/bin:$PATH"
Quit the terminal and reopen it. python3 -V should now by Python 3.7.4
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Roibal/Cryptocurrency-Trading-Bots-Python-Beginner-Advance/issues/33?email_source=notifications&email_token=AL6N5NTSTM6FS4JVX25VLILP73GE5A5CNFSM4HJJALM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2DLWYY#issuecomment-512146275,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AL6N5NVQB7TTW2ORKIK7J23P73GE5ANCNFSM4HJJALMQ
.

What text editor do you normally use?

I just use the one that is installed on my Laptop. Just a normal back
terminal screen.
On Wed, 17 Jul 2019 at 18:03, cclauss<EMAIL_ADDRESS>wrote:

What text editor do you normally use?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Im in preferences trying to add the text.
On Wed, 17 Jul 2019 at 18:08, Luke Day<EMAIL_ADDRESS>wrote:

I just use the one that is installed on my Laptop. Just a normal back
terminal screen.
On Wed, 17 Jul 2019 at 18:03, cclauss<EMAIL_ADDRESS>wrote:

What text editor do you normally use?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

I re-ran the python 3 V and its working.
On Wed, 17 Jul 2019 at 18:10, Luke Day<EMAIL_ADDRESS>wrote:

Im in preferences trying to add the text.
On Wed, 17 Jul 2019 at 18:08, Luke Day<EMAIL_ADDRESS>wrote:

I just use the one that is installed on my Laptop. Just a normal back
terminal screen.
On Wed, 17 Jul 2019 at 18:03, cclauss<EMAIL_ADDRESS>wrote:

What text editor do you normally use?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

$ python3 Roibal_BinanceBot.py
If that works then please close this issue.

Last login: Wed Jul 17 18:12:05 on ttys000
(base) Lukes-MBP:~ lukeday$ python3 -V
Python 3.7.3
(base) Lukes-MBP:~ lukeday$
(base) Lukes-MBP:~ lukeday$ python3 Roibal_BinanceBot.py
python3: can't open file 'Roibal_BinanceBot.py': [Errno 2] No such file or
directory
(base) Lukes-MBP:~ lukeday$ $ python3 Roibal_BinanceBot.py
-bash: $: command not found
(base) Lukes-MBP:~ lukeday$
On Wed, 17 Jul 2019 at 18:18, cclauss<EMAIL_ADDRESS>wrote:

$ python3 Roibal_BinanceBot.py
If that works then please close this issue.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Roibal/Cryptocurrency-Trading-Bots-Python-Beginner-Advance/issues/33?email_source=notifications&email_token=AL6N5NU3X3VBSZB3RJHOM73P73ITPA5CNFSM4HJJALM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2DNKGY#issuecomment-512152859,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AL6N5NSKXZUH7BH2XNFFDU3P73ITPANCNFSM4HJJALMQ
.

Use cd to change to the directory that has the Roibal_BinanceBot.py file.

Clauss, I am some what an armature with this type of coding.
When use say "Use cd to change to the directory that has the
Roibal_BinanceBot.py file"
How do i do this?
Thanks
Luke
On Wed, 17 Jul 2019 at 18:25, cclauss<EMAIL_ADDRESS>wrote:

Use cd to change to the directory that has the Roibal_BinanceBot.py
file.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Roibal/Cryptocurrency-Trading-Bots-Python-Beginner-Advance/issues/33?email_source=notifications&email_token=AL6N5NR6U6UN5FKZV6OJDBDP73JQFA5CNFSM4HJJALM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2DN6KA#issuecomment-512155432,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AL6N5NXATCGBQIYWRDWKGBDP73JQFANCNFSM4HJJALMQ
.

$ find ~ -name Roibal_BinanceBot.py

find: /Users/lukeday/Library/Containers/com.apple.Home: Operation not permitted
find: /Users/lukeday/Library/Containers/com.apple.Safari: Operation
not permitted
find: /Users/lukeday/Library/Containers/com.apple.iChat: Operation not permitted
find: /Users/lukeday/Library/Containers/com.apple.mail: Operation not permitted
find: /Users/lukeday/Library/Containers/com.apple.news: Operation not permitted
find: /Users/lukeday/Library/Containers/com.apple.stocks: Operation
not permitted
find: /Users/lukeday/Library/PersonalizationPortrait: Operation not permitted
find: /Users/lukeday/Library/Metadata/CoreSpotlight: Operation not permitted
find: /Users/lukeday/Library/Metadata/com.apple.IntelligentSuggestions:
Operation not permitted
find: /Users/lukeday/Library/Cookies: Operation not permitted
find: /Users/lukeday/Library/Caches/CloudKit/com.apple.Safari:
Operation not permitted
find: /Users/lukeday/Library/Caches/com.apple.Safari: Operation not permitted
find: /Users/lukeday/Library/Caches/com.apple.Safari.SafeBrowsing:
Operation not permitted
/Users/lukeday/Downloads/Github/python-binance-master/examples/Cryptocurrency-Trading-Bots-Python-Beginner-Advance-master/python-binance-master/examples/Crypto-Trading-Bots/Roibal_BinanceBot.py
(base) Lukes-MBP:~ lukeday$
(base) Lukes-MBP:~ lukeday$
On Wed, 17 Jul 2019 at 18:35, cclauss<EMAIL_ADDRESS>wrote:

$ find ~ -name Roibal_BinanceBot.py
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

$ cd /Users/lukeday/Downloads/Github/python-binance-master/examples/Cryptocurrency-Trading-Bots-Python-Beginner-Advance-master/python-binance-master/examples/Crypto-Trading-Bots
$ python3 Roibal_BinanceBot.py

/Users/lukeday/Downloads/Github/python-binance-master/examples/Cryptocurrency-Trading-Bots-Python-Beginner-Advance-master/python-binance-master/examples/Crypto-Trading-Bots/Roibal_BinanceBot.py
(base) Lukes-MBP:~ lukeday$
(base) Lukes-MBP:~ lukeday$ cd
/Users/lukeday/Downloads/Github/python-binance-master/examples/Cryptocurrency-Trading-Bots-Python-Beginner-Advance-master/python-binance-master/examples/Crypto-Trading-Bots
(base) Lukes-MBP:Crypto-Trading-Bots lukeday$ python3 Roibal_BinanceBot.py
Traceback (most recent call last):
File "Roibal_BinanceBot.py", line 23, in
from binance.client import Client

ModuleNotFoundError: No module named 'binance'
(base) Lukes-MBP:Crypto-Trading-Bots lukeday$
On Wed, 17 Jul 2019 at 18:39, cclauss<EMAIL_ADDRESS>wrote:

$ cd
/Users/lukeday/Downloads/Github/python-binance-master/examples/Cryptocurrency-Trading-Bots-Python-Beginner-Advance-master/python-binance-master/examples/Crypto-Trading-Bots
$ python3 Roibal_BinanceBot.py
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Roibal/Cryptocurrency-Trading-Bots-Python-Beginner-Advance/issues/33?email_source=notifications&email_token=AL6N5NWRRHBFUQXCYRXYZU3P73LDVA5CNFSM4HJJALM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2DPEGA#issuecomment-512160280,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AL6N5NSKWMGBQ5C6WXUJC3LP73LDVANCNFSM4HJJALMQ
.

So the issue was the cell library wouldn't work because I was using python
2.7, but we have gone through and installed python 3. If I am to run the
bot again will it run the updated python 3 and the cell library will work
when I run the bot?
Luke
On Wed, 17 Jul 2019 at 18:41, Luke Day<EMAIL_ADDRESS>wrote:

/Users/lukeday/Downloads/Github/python-binance-master/examples/Cryptocurrency-Trading-Bots-Python-Beginner-Advance-master/python-binance-master/examples/Crypto-Trading-Bots/Roibal_BinanceBot.py
(base) Lukes-MBP:~ lukeday$
(base) Lukes-MBP:~ lukeday$ cd
/Users/lukeday/Downloads/Github/python-binance-master/examples/Cryptocurrency-Trading-Bots-Python-Beginner-Advance-master/python-binance-master/examples/Crypto-Trading-Bots
(base) Lukes-MBP:Crypto-Trading-Bots lukeday$ python3 Roibal_BinanceBot.py
Traceback (most recent call last):
File "Roibal_BinanceBot.py", line 23, in
from binance.client import Client

ModuleNotFoundError: No module named 'binance'
(base) Lukes-MBP:Crypto-Trading-Bots lukeday$
On Wed, 17 Jul 2019 at 18:39, cclauss<EMAIL_ADDRESS>wrote:

$ cd
/Users/lukeday/Downloads/Github/python-binance-master/examples/Cryptocurrency-Trading-Bots-Python-Beginner-Advance-master/python-binance-master/examples/Crypto-Trading-Bots
$ python3 Roibal_BinanceBot.py
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Roibal/Cryptocurrency-Trading-Bots-Python-Beginner-Advance/issues/33?email_source=notifications&email_token=AL6N5NWRRHBFUQXCYRXYZU3P73LDVA5CNFSM4HJJALM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2DPEGA#issuecomment-512160280,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AL6N5NSKWMGBQ5C6WXUJC3LP73LDVANCNFSM4HJJALMQ
.

I think you should close this issue because you now have a working Python 3.7 on your Mac.  If you have other problems then open a new issue.

Ok then I will close the issue.
Thankyou for all your help its much appreciated.
Luke
On Wed, 17 Jul 2019 at 18:57, cclauss<EMAIL_ADDRESS>wrote:

I think you should close this issue because you now have a working Python
3.7 on your Mac. If you have other problems then open a new issue.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Roibal/Cryptocurrency-Trading-Bots-Python-Beginner-Advance/issues/33?email_source=notifications&email_token=AL6N5NROHDFS5Y27JIXTUJTP73NITA5CNFSM4HJJALM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2DQW4A#issuecomment-512166768,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AL6N5NRY3ZVMEVMWEQ5B4KDP73NITANCNFSM4HJJALMQ
.

Excellent support Thankyou


usePropState (TypeScript)

How do you feel about adding typescript to useHooks?
For instance I am working on this setState wrapper which allows a typesafe way to set a property of the state:
import { Dispatch, SetStateAction, useState } from 'react';

/**
 * This hook is a supplement to setState - https://reactjs.org/docs/hooks-state.html
 * It let's you update a property of the state in a typesafe way.
 *
 * @param initialState - the initial state for this hook, it is forwared to useState
 *
 * @returns
 * [state, setPropState, setState]
 * state is the state returned from the useState hook.
 * setPropState is the typesafe function for updating a part of the state.
 * setState is the normal setState function for setting the entire state at once.
 */
export const usePropState = <T>(
  initialState: T
): [T, <K extends keyof T>(part: K) => (value: T[K]) => void, Dispatch<SetStateAction<T>>] => {
  const [state, setState] = useState(initialState);

  const setPropState = <K extends keyof T>(part: K) => (value: T[K]) => {
    setState({ ...state, [part]: value });
  };

  return [state, setPropState, setState];
};

Thanks for sharing! I think I want to avoid TypeScript for now to keep things as simple as possible. A lot of people are still learning hooks and I want to avoid introducing extra concepts. At some point if I do an example that composes useState in a simple way (like maybe useMergedState) I could add this example to the links section.


Example in '3.1 Opening the output file' is not Chinese, but Japanese

Hi,
your scraper is very amazing but I notice a tiny mistake of your example in '3.1 Opening the output file'.
Although the output does contain traditional Chinese characters, it is Japanese overall.
Best

I've updated the README file.


Not able to launch MC 1.18.2

Hello I am using the latest beta and trying to get this mod onto my rather large modpack. It loaded and then crashed to desktop without a crash report. Here is my latest.log if that helps. It looks like a conflict with XP Bottles but I am not sure. Any help is appreciated thank you :)

hmm you could try updating to the latest fabric version
2.2.1 though i have discontinued working on this mod for fabric as ive moved over to quilt

oh right i dont touch CF for beta versions
https://modrinth.com/mod/portal-cubed/versions

Oh dang. I am making my modpack through curse :( thanks anyway. They don't allow non curse mods to go through.

i could recommend using something like MultiMC or ATLauncher they are much nicer to use then CF and AtLauncher accepts adding mods from CF and Modrinth


Fix the check, if certificate is already imported

X509Certificate2Collection.Find() will always return a new X509Certificate2Collection, even if no certificate matching the specified criteria was found. To check if the certificate is not already in the store, you have to check the count of certificates inside the collection.
This should fix #2373.

This should also fix the behavior described in #260 a few years ago.

This should also fix the misbehavior described in #280 a few years ago.

Thanks for the contribution!


Link for inception Library

Apparently, it is necessary to download the Inception Library. Unfortunately, the link in your Readme does not work anymore. Do you know where to download  Inception v3?

https://www.kaggle.com/datasets/google-brain/inception-v3 ?


Copy test result attributes when unexpected failures

Closes #3064
Fixes #3064 .
Did you remember to?

[x] Add test case(s)
[x] Update CHANGES.txt
[x] Auto applied styling via ./gradlew autostyleApply

We encourage pull requests that:

Add new features to TestNG (or)
Fix bugs in TestNG

If your pull request involves fixing SonarQube issues then we would suggest that you please discuss this with the
TestNG-dev before you spend time working on it.
Note: For more information on contribution guidelines  please make sure you refer our Contributing section for detailed set of steps.

Summary by CodeRabbit

Bug Fixes

Fixed TestResult loss and ConcurrentModificationException issues.
Addressed race conditions in creating Guice Modules.
Enhanced support for injecting custom listener factories.

New Features

Added functionality to copy attributes from the current test result to a newly created one before marking as FAILURE.
Introduced EvidenceListener and EvidenceRetryAnalyzer to improve test result attributes handling and retry logic.

Tests

Added new tests to verify that test result attributes are correctly carried forward.
Implemented a sample test case to demonstrate the setup of retry analyzers and listener configurations.

Fix is ok. I've just no idea about the memory consumption.

There shouldn't be any memory implications because we are only copying the attributes that were set by a user's listener else where to be available in the test result being passed on to onTestFailure()


Train Val Split

Hello, I'm using your S3DIS point cloud segmentation code to train a custom dataset. I have several questions for you:
First, the training set is all the all_splits?
Second, if I want the verification set validation_split to be multiple subsequences, how should I modify the code?
Simply change the self.validation_split to  [1,5,10,15,20] may not work.

The validation split can only be an index. However, you can define multiple clouds to be in the same split
For example, lets say your dataset is like this:
scene1.ply
scene2.ply
scene3.ply
scene4.ply
scene5.ply
scene6.ply

and you want to do k-fold validation with k=3 splits each split being:
split1 = scene1.ply + scene2.ply
split2 = scene3.ply
split3 = scene4.ply + scene5.ply + scene6.ply

Then you can define self.all_splits = [0, 0, 1, 2, 2, 2]. Now if you want to use the split1 as validation just define self.validation_split = 0, and same for the other splits.

If I want :
self.all_splits = [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24]
self.validation_split = [1,5,10,15,20]
, waht should I do ?
Thank you!

As I said, you can define multiple clouds in the same split
self.all_splits = [0,1,0,0,0,1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1,0,0,0,0]
self.validation_split = 1


Add the feature to show "mentions time line"

Hi guys;
I added the feature to show "mentions time line".
You can get the mention time line like the following code:
(I used the definition of objects in "Twitter.fsx")
let mentions = twitter.Timelines.MentionTimeline()
for m in mentions do
    web.Output.AddItem "<strong>%s</strong>: %s" m.User.Name m.Text

The changes look good to me!
Could you perhaps add a brief example of using this function to the documentation? It could be just a brief example somewhere in the timelines section here.

@tpetricek
I Added a short example  in

https://github.com/teramonagi/FSharp.Data.Toolbox/commit/fe4f8cb153b7bfe335e7b1982448bf1d6f5c47bf

And I already checked that It works :)

Thank you again!
This is now released in version 0.6 and the documentation is updated too!


How to delete unsed sst in Rockdb

My Environment

ArangoDB Version:        3.4 RC3
Storage Engine:             RocksDB -
Deployment Mode:       Single Server
Deployment Strategy:
Configuration:
Infrastructure:
Operating System:        | Windows server 2012
Used Package:

Steps to reproduce

I have sst file in total of 40GB but when exporting the arango db (using arangodump ) the size is much less. How can I delete unused sst in order not to use disk space?

Any news on the above?

do you have many indexes on your data ?

Apart from the default key yes one field.
Stelios
Sent from my Samsung Galaxy smartphone.
-------- Original message --------
From: Simon<EMAIL_ADDRESS>Date: 01/12/2018 20:46 (GMT+02:00)
To: arangodb/arangodb<EMAIL_ADDRESS>Cc: Stelios<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [arangodb/arangodb] How to delete unsed sst in Rockdb (#7442)
do you have many indexes on your data ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/arangodb/arangodb/issues/7442#issuecomment-443448630, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AqlZwu1Ozv0F7zSglEaYr4114uKWgOPWks5u0s5tgaJpZM4YxCwB.

quick question, can your manually start the compaction your server ? You can do so using the db.yourcollection.compact() command in the emergency console (start arangod with --console)

Can you provide more info pls. I have started the arangod using the --console command but the command you have provided does not work. I can not find any documentation on the Internet on how to execute this command.

Please try require("internal").db.yourcollection.compact(). This is only available in the arangod emergency console, not in arangosh,

Still the same problem. I get the error Javascript exception :TypeError: Cannot read property 'compact' of undefined.

You have to replace “yourcollection“ with the name your collections actually has

Am 17.12.2018 um 18:00 schrieb Stelios<EMAIL_ADDRESS>Still the same problem. I get the error Javascript exception :TypeError: Cannot read property 'compact' of undefined.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Yes i did and I get the above error. Do I have to change to the specific db since the default is the root one? Is there another way to run the compact command?

Oh yes, you need to run db.useDatabase(‘name’)

Sorry I missed the underscore db._useDatabase(‘name’)

Ok now the command useDatabase works
Once i execute the second command it does not seem to be working.
require("internal").db.mycollectionname.compact(). I have tried with underscore as well without any luck.
Sent from my Samsung Galaxy smartphone.
-------- Original message --------
From: Simon<EMAIL_ADDRESS>Date: 18/12/2018 01:23 (GMT+02:00)
To: arangodb/arangodb<EMAIL_ADDRESS>Cc: Stelios<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [arangodb/arangodb] How to delete unsed sst in Rockdb (#7442)
Sorry I missed the underscore db._useDatabase(‘name’)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/arangodb/arangodb/issues/7442#issuecomment-448037086, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AqlZwkUUCEZLdhnRsupR5TpjU8QJJi6gks5u6Cd0gaJpZM4YxCwB.

Do I understand correctly, that you don't see any error, but the sst files are still there after the execution of the compact() command?

I do see an error. It seems the function compact() does not exist since it is not understood by the console. Can I execute the command without running arangod in console mode since I have to stop the service every time and run in console mode?

const db = require('internal').db;
db._useDatabase('dbname')
db.yourcollection.compact()

Ok now the commands are executed successfully. The command is still being executed of course since the collection has more than 100GB. Just a question. Instead the folder of the rockdb to get smaller in MBs it is getting bigger. Is that the expected behavour?
Sent from my Samsung Galaxy smartphone.
-------- Original message --------
From: Simon<EMAIL_ADDRESS>Date: 19/12/2018 00:02 (GMT+02:00)
To: arangodb/arangodb<EMAIL_ADDRESS>Cc: Stelios<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [arangodb/arangodb] How to delete unsed sst in Rockdb (#7442)
const db = require('internal').db; db._useDatabase('dbname') db.yourcollection.compact()
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/arangodb/arangodb/issues/7442#issuecomment-448387368, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AqlZwl20oeI60c9eKjRreGH4OzR8SkAiks5u6WXxgaJpZM4YxCwB.

While compaction runs I would expect it to grow indeed, because it may need to write new files and can't delete the old ones yet (at least that's what I assume).

@stelios6 There is a pending change to expose .compact() in arangosh if you are interested:
https://github.com/arangodb/arangodb/pull/8468/files

@stelios6 Starting with v3.4.5, there will be a compact() method in arangosh too:
https://github.com/arangodb/arangodb/pull/8471


Updated acq-models submodule to include recent changes to ledger and …

…fiscal_year

INFO: lint-raml-cop: Investigating mod-finance-storage/ramls
INFO: lint-raml-cop: Using submodule ramls/raml-util at 90103dffc5d3f55f4ee200f67ff6cf55e4c47d43
INFO: lint-raml-cop: Looking for JSON schema files: ./ramls/acq-models/mod-finance/schemas
INFO: lint-raml-cop: Assessing schema files (FOLIO-1447):
ERROR: lint-raml-cop: encumbrance_collection.json: Missing top-level "description".
INFO: lint-raml-cop: encumbrance_collection.json: Each property "description" is present.
INFO: lint-raml-cop: transaction.json: Each property "description" is present.
ERROR: lint-raml-cop: ledger_collection.json: Missing top-level "description".
INFO: lint-raml-cop: ledger_collection.json: Each property "description" is present.
ERROR: lint-raml-cop: budget_collection.json: Missing top-level "description".
INFO: lint-raml-cop: budget_collection.json: Each property "description" is present.
ERROR: lint-raml-cop: fund_distribution_collection.json: Missing top-level "description".
INFO: lint-raml-cop: fund_distribution_collection.json: Each property "description" is present.
ERROR: lint-raml-cop: fund_collection.json: Missing top-level "description".
INFO: lint-raml-cop: fund_collection.json: Each property "description" is present.
ERROR: lint-raml-cop: transaction_collection.json: Missing top-level "description".
INFO: lint-raml-cop: transaction_collection.json: Each property "description" is present.
INFO: lint-raml-cop: budget.json: Each property "description" is present.
ERROR: lint-raml-cop: fund.json: Missing "description" for: allocation_from, allocation_to
INFO: lint-raml-cop: ledger.json: Each property "description" is present.
INFO: lint-raml-cop: fund_distribution.json: Each property "description" is present.
ERROR: lint-raml-cop: fiscal_year_collection.json: Missing top-level "description".
INFO: lint-raml-cop: fiscal_year_collection.json: Each property "description" is present.
INFO: lint-raml-cop: fiscal_year.json: Each property "description" is present.
INFO: lint-raml-cop: encumbrance.json: Each property "description" is present.
INFO: lint-raml-cop: Assessing RAML files:
INFO: lint-raml-cop: Processing RAML v0.8 file: budget.raml
INFO: lint-raml-cop:   raml-cop did not detect any errors with budget.raml
INFO: lint-raml-cop: Processing RAML v0.8 file: encumbrance.raml
INFO: lint-raml-cop:   raml-cop did not detect any errors with encumbrance.raml
INFO: lint-raml-cop: Processing RAML v0.8 file: fiscal_year.raml
ERROR: lint-raml-cop:   raml-cop detected errors with fiscal_year.raml:
[ramls/raml-util/rtypes/collection.raml:22:31] WARNING Content is not valid according to schema: Expected type string but found type integer
[ramls/raml-util/rtypes/item-collection.raml:15:25] WARNING Content is not valid according to schema: Expected type string but found type integer
[ramls/raml-util/rtypes/item-collection.raml:58:21] WARNING Content is not valid according to schema: Expected type string but found type integer
[ramls/raml-util/rtypes/collection.raml:42:23] WARNING Content is not valid according to schema: Expected type string but found type integer
INFO: lint-raml-cop: Processing RAML v0.8 file: fund.raml
INFO: lint-raml-cop:   raml-cop did not detect any errors with fund.raml
INFO: lint-raml-cop: Processing RAML v0.8 file: fund_distribution.raml
INFO: lint-raml-cop:   raml-cop did not detect any errors with fund_distribution.raml
INFO: lint-raml-cop: Processing RAML v0.8 file: ledger.raml
INFO: lint-raml-cop:   raml-cop did not detect any errors with ledger.raml
INFO: lint-raml-cop: Processing RAML v0.8 file: transaction.raml
INFO: lint-raml-cop:   raml-cop did not detect any errors with transaction.raml
ERROR: lint-raml-cop: There were processing errors. See list above.

INFO: lint-raml-cop: Investigating mod-finance-storage/ramls
INFO: lint-raml-cop: Using submodule ramls/raml-util at 90103dffc5d3f55f4ee200f67ff6cf55e4c47d43
INFO: lint-raml-cop: Looking for JSON schema files: ./ramls/acq-models/mod-finance/schemas
INFO: lint-raml-cop: Assessing schema files (FOLIO-1447):
ERROR: lint-raml-cop: encumbrance_collection.json: Missing top-level "description".
INFO: lint-raml-cop: encumbrance_collection.json: Each property "description" is present.
INFO: lint-raml-cop: transaction.json: Each property "description" is present.
ERROR: lint-raml-cop: ledger_collection.json: Missing top-level "description".
INFO: lint-raml-cop: ledger_collection.json: Each property "description" is present.
ERROR: lint-raml-cop: budget_collection.json: Missing top-level "description".
INFO: lint-raml-cop: budget_collection.json: Each property "description" is present.
ERROR: lint-raml-cop: fund_distribution_collection.json: Missing top-level "description".
INFO: lint-raml-cop: fund_distribution_collection.json: Each property "description" is present.
ERROR: lint-raml-cop: fund_collection.json: Missing top-level "description".
INFO: lint-raml-cop: fund_collection.json: Each property "description" is present.
ERROR: lint-raml-cop: transaction_collection.json: Missing top-level "description".
INFO: lint-raml-cop: transaction_collection.json: Each property "description" is present.
INFO: lint-raml-cop: budget.json: Each property "description" is present.
ERROR: lint-raml-cop: fund.json: Missing "description" for: allocation_from, allocation_to
INFO: lint-raml-cop: ledger.json: Each property "description" is present.
INFO: lint-raml-cop: fund_distribution.json: Each property "description" is present.
ERROR: lint-raml-cop: fiscal_year_collection.json: Missing top-level "description".
INFO: lint-raml-cop: fiscal_year_collection.json: Each property "description" is present.
INFO: lint-raml-cop: fiscal_year.json: Each property "description" is present.
INFO: lint-raml-cop: encumbrance.json: Each property "description" is present.
INFO: lint-raml-cop: Assessing RAML files:
INFO: lint-raml-cop: Processing RAML v0.8 file: budget.raml
INFO: lint-raml-cop:   raml-cop did not detect any errors with budget.raml
INFO: lint-raml-cop: Processing RAML v0.8 file: encumbrance.raml
INFO: lint-raml-cop:   raml-cop did not detect any errors with encumbrance.raml
INFO: lint-raml-cop: Processing RAML v0.8 file: fiscal_year.raml
INFO: lint-raml-cop:   raml-cop did not detect any errors with fiscal_year.raml
INFO: lint-raml-cop: Processing RAML v0.8 file: fund.raml
INFO: lint-raml-cop:   raml-cop did not detect any errors with fund.raml
INFO: lint-raml-cop: Processing RAML v0.8 file: fund_distribution.raml
INFO: lint-raml-cop:   raml-cop did not detect any errors with fund_distribution.raml
INFO: lint-raml-cop: Processing RAML v0.8 file: ledger.raml
INFO: lint-raml-cop:   raml-cop did not detect any errors with ledger.raml
INFO: lint-raml-cop: Processing RAML v0.8 file: transaction.raml
INFO: lint-raml-cop:   raml-cop did not detect any errors with transaction.raml
ERROR: lint-raml-cop: There were processing errors. See list above.

INFO: lint-raml-cop: Investigating mod-finance-storage/ramls
INFO: lint-raml-cop: Using submodule ramls/raml-util at 90103dffc5d3f55f4ee200f67ff6cf55e4c47d43
INFO: lint-raml-cop: Looking for JSON schema files: ./ramls/acq-models/mod-finance/schemas
INFO: lint-raml-cop: Assessing schema files (FOLIO-1447):
INFO: lint-raml-cop: encumbrance_collection.json: Each property "description" is present.
INFO: lint-raml-cop: transaction.json: Each property "description" is present.
INFO: lint-raml-cop: ledger_collection.json: Each property "description" is present.
INFO: lint-raml-cop: budget_collection.json: Each property "description" is present.
INFO: lint-raml-cop: fund_distribution_collection.json: Each property "description" is present.
INFO: lint-raml-cop: fund_collection.json: Each property "description" is present.
INFO: lint-raml-cop: transaction_collection.json: Each property "description" is present.
INFO: lint-raml-cop: budget.json: Each property "description" is present.
ERROR: lint-raml-cop: fund.json: Missing "description" for: allocation_from, allocation_to
INFO: lint-raml-cop: ledger.json: Each property "description" is present.
INFO: lint-raml-cop: fund_distribution.json: Each property "description" is present.
INFO: lint-raml-cop: fiscal_year_collection.json: Each property "description" is present.
INFO: lint-raml-cop: fiscal_year.json: Each property "description" is present.
INFO: lint-raml-cop: encumbrance.json: Each property "description" is present.
INFO: lint-raml-cop: Assessing RAML files:
INFO: lint-raml-cop: Processing RAML v0.8 file: budget.raml
INFO: lint-raml-cop:   raml-cop did not detect any errors with budget.raml
INFO: lint-raml-cop: Processing RAML v0.8 file: encumbrance.raml
INFO: lint-raml-cop:   raml-cop did not detect any errors with encumbrance.raml
INFO: lint-raml-cop: Processing RAML v0.8 file: fiscal_year.raml
INFO: lint-raml-cop:   raml-cop did not detect any errors with fiscal_year.raml
INFO: lint-raml-cop: Processing RAML v0.8 file: fund.raml
INFO: lint-raml-cop:   raml-cop did not detect any errors with fund.raml
INFO: lint-raml-cop: Processing RAML v0.8 file: fund_distribution.raml
INFO: lint-raml-cop:   raml-cop did not detect any errors with fund_distribution.raml
INFO: lint-raml-cop: Processing RAML v0.8 file: ledger.raml
INFO: lint-raml-cop:   raml-cop did not detect any errors with ledger.raml
INFO: lint-raml-cop: Processing RAML v0.8 file: transaction.raml
INFO: lint-raml-cop:   raml-cop did not detect any errors with transaction.raml
ERROR: lint-raml-cop: There were processing errors. See list above.

Jenkins has stopped reporting raml-cop errors.

Run in local and working and changes are working fine.


[WIP] Add GCP_CLOUD_RUN_JOB execution mode

Description
Added new GCP_CLOUD_RUN_JOB execution mode that triggers Google Cloud Platform's Cloud Run Job instance with dbt model in it.
It extends Airflow's CloudRunExecuteJobOperator and overrides Cloud Run Job's container with dbt command generated by cosmos.
Note: CloudRunExecuteJobOperator has container_overrides parameter implemented in apache-airflow-providers-google==10.13.0 which is supported by airflow >=2.6.0.
Related Issue(s)
Implements #1149
Breaking Change?
None, the new execution mode is optional.
Checklist

[x] I have made corresponding changes to the documentation (if required)
[ ] I have added tests that prove my fix is effective or that my feature works

Hi @ags-de, Thank you so much for your contribution. Please let us know if you need any support.

hi @ags-de could you please rebase the PR. We just merged https://github.com/astronomer/astronomer-cosmos/pull/1182 that should fix the breaking CI jobs.

Hello @tatiana,
Thank you for your insights! I am working on code updates as your suggestions.
Regarding feature validation, I am in fact working on "getting started" guide for Cloud Run Job, based on Azure Container Instance Execution Mode page. It will include all the information needed to use and validate the feature.
PR description updated.

Thank you very much, @ags-de . Fantastic work, we're very grateful for your contribution!
I created a PR to try to make some things consistent that were missing in Cosmos: #1215
And follow-ups for us to introduce breaking changes in Cosmos 2.0 when the time comes: #1214 (you already adopted -, so let's stick to this in this PR, #1212 #1213

@ags-de thank you very much for working so quickly on the changes requested. When you get a chance, please, rebase on the main branch.

Hello @tatiana,
The branch is rebased and I also fixed a few typos in docs. It should be ready to go.


What exactly does Mutation.createPost do under the hood?

type Post @model {
  id: ID!
  name: String
  description: String
}

When I declare a Post schema as shown above, two resolver template for the Create operation would be automatically created: Mutation.createPost.req.vtl for request and Mutation.createPost.res.vtl for response.
I am trying to understand what is happening under the hood when I send the following GraphQL query on AppSync.
mutation MyMutation {
  createPost(input: {id: "id1"}) {
    id
    name
    description
  }
}

From my understanding, the request template would be first triggered, which called a DynamoDB PutItem operation. What really baffles me is the response template, which returns $ctx.result on a successful call. $ctx.result contains all fields of the Post (id, name, description, createdAt, updatedAt, __typename). Where does $ctx.result come from? The PutItem operation is not able to return new fields when called according to the API. Does AppSync issue another GetItem operation to retrieve those fields? Would appreciate any insights on this.
Which Category is your question related to?
API (GraphQL), App Sync

Nevermind, I found the answer at this link, thanks

The item written to DynamoDB is automatically converted into GraphQL and JSON primitive types and is available in the mapping context ($context.result).

Nevermind, I found the answer at this link, thanks

The item written to DynamoDB is automatically converted into GraphQL and JSON primitive types and is available in the mapping context ($context.result).


Redesign Questions V2: Allow multiple question types

Question now has QuestionDetails that can be MultipleChoiceQeustion
QuestionAnswer now  has AnswerDetails that can be MultipleChoiceQuestionAnswer

Code updated both backend and frontend.

Codecov Report

Merging #167 into master will increase coverage by 1.32%.
The diff coverage is 73.41%.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5ab65ac...a064784. Read the comment docs.

Only two comments in the frontend: (1) QuestionAnswer hardcodes MultipleChoiceAnswerType() in the initialization, which may not be necessary; (2) there is a duplicate() method whose semantics does seems to be set option null

I did the duplicate() because it was being used for duplication but agree. Changed the name to setAsNew() what to you think?

Codecov Report

Merging #167 into master will increase coverage by 0.43%.
The diff coverage is 72.07%.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 23c6cb2...bd6f724. Read the comment docs.


[pipeline] unpin node version

fixes https://github.com/Azure/azure-sdk-tools/issues/8047

test for swagger https://github.com/test-repo-billy/azure-rest-api-specs/pull/3332
test for typespec https://github.com/test-repo-billy/azure-rest-api-specs/pull/3333

/check-enforcer override


⚠ Bofrost.de has degraded performance

In 702c380, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1570 ms

Resolved: Bofrost.de performance has improved in 585f852.


Color and accessibility

Summary
Some important distinctions are being made solely by changes in background color.
Relevant information

The primary, secondary, and danger buttons differ from one another only in background color. The distinctions among them are significant, and the distinction between the danger button and the other two buttons is particularly important.
The claim for WCAG conformity appears to be based on per-button testing, but not on whole-document testing that could evaluate whether the document uses only color differences to make distinctions. WCAG 2.1 Success Criterion 2.4.1 states that “Color is not used as the only visual means of conveying information, indicating an action, prompting a response, or distinguishing a visual element.” The Accessibility Guidelines Working Group cites the example of making text red to indicate that the text describes an error. It seems reasonable to infer that making a button red to indicate that the button poses a danger is in the same category.
Given the apparent conflict between the color-only button distinctions and WCAG 2.1, it would be helpful for the documentation on this component, and any other similarly affected components, to include a discussion of the arguments for considering this design accessible.

Hi @jrpool, we believe color isn't the only visual difference, the label itself also acts as an identifier. If a user cannot tell the difference between buttons only from its color then the label should give them the required information needed to understand the severity. Additionally most danger actions are followed up with a confirmation modal asking for certainty on the destructive action which gives the user an additional chance to understand the severity of the action.
With Buttons there is also an optional additional visual indicator add an icon with the button. The icon can help identify the type of action being taken.
I will bring this to the attention of our own accessibility experts but I don't believe further distinction is needed. @mbgower

Thanks, @aagonzales, for your explanation. The rationale there is, as I understand it, that the implementer has the responsibility of communicating the danger in words, not relying on the button’s style to do that. The temptation to rely could be great, so reminding implementers not to do so might be helpful.

I missed the prompt two years ago to comment on this, but noticed it being closed now, so thought I'd take the opportunity to support @aagonzales' basic response.
There are several distinctions to point out with the use of colour in Carbon buttons:

Colour is not differentiating operation. Operationally, all the buttons are the same. That is, they are all navigated and activated in the same way, regardless of colour.
Colour is not solely differentiating function. The button's function is dependent on the button's label, not its color. That is, the text on the button (or the ALT of an icon-only button) describes the action it performs.
Although it is true that Carbon guides users to use red buttons for destructive actions, the use of colour remains complementary to the label. For instance, if a user coloured a Delete button blue, Carbon may think it's wrong from their usage guidance, but there is no intrinsic accessibility failure. (Obviously if a user calls a button "Save" and the button deletes instead, that is a very real problem, but it is unrelated to color of the button.)
Carbon also reinforces the destructive nature of most delete functions with a confirmation dialog that appears after their activation. Note that this confirmation is only required for WCAG where the transaction involves more consequential deletions.


API key for together models

Hi,
Thank you for the great work.
I ran helm-run --conf-paths run_specs.conf --suite v1 --max-eval-instances 10 and got an error like below.
My run specs: entries: [{description: "mmlu:subject=abstract_algebra,model=together/h3-2.7b", priority: 1}]
I might have to add an API key into credentials.conf to use the models from together. But, where can I get the API key?
Traceback (most recent call last):
  File "/prj/neo_lv/user/esuh/workspace/helm-dev/venv/lib/python3.8/site-packages/retrying.py", line 200, in call
    attempt = Attempt(fn(*args, **kwargs), attempt_number, False)
  File "/prj/neo_lv/user/esuh/workspace/helm-dev/helm/src/helm/proxy/clients/auto_client.py", line 150, in make_request_with_retry
    return client.make_request(request)
  File "/prj/neo_lv/user/esuh/workspace/helm-dev/helm/src/helm/proxy/clients/together_client.py", line 96, in make_request
    response, cached = self.cache.get(cache_key, wrap_request_time(do_it if self.api_key else fail))
  File "/prj/neo_lv/user/esuh/workspace/helm-dev/helm/src/helm/common/cache.py", line 377, in get
    response = compute()
  File "/prj/neo_lv/user/esuh/workspace/helm-dev/helm/src/helm/proxy/clients/client.py", line 48, in wrapped_compute
    response = compute()
  File "/prj/neo_lv/user/esuh/workspace/helm-dev/helm/src/helm/proxy/clients/together_client.py", line 94, in fail
    raise RuntimeError(f"The result has not been uploaded to the cache for the following request: {cache_key}")
RuntimeError: The result has not been uploaded to the cache for the following request: {'request_type': 'language-model-inference', 'model': 'h3-2.7b-h3', 'prompt': 'The following are multiple choice questions (with answers) about abstract algebra.\n\nQuestion: Statement 1 | If aH is an element of a factor group, then |aH| divides |a|. Statement 2 | If H and K are subgroups of G then HK is a subgroup of G.\nA. True, True\nB. False, False\nC. True, False\nD. False, True\nAnswer: B\n\nQuestion: Find all c in Z_3 such that Z_3[x]/(x^2 + c) is a field.\nA. 0\nB. 1\nC. 2\nD. 3\nAnswer: B\n\nQuestion: Find the characteristic of the ring 2Z.\nA. 0\nB. 3\nC. 12\nD. 30\nAnswer: A\n\nQuestion: Statement 1| Every function from a finite set onto itself must be one to one. Statement 2 | Every subgroup of an abelian group is abelian.\nA. True, True\nB. False, False\nC. True, False\nD. False, True\nAnswer: A\n\nQuestion: Statement 1 | Every element of a group generates a cyclic subgroup of the group. Statement 2 | The symmetric group S_10 has 10 elements.\nA. True, True\nB. False, False\nC. True, False\nD. False, True\nAnswer: C\n\nQuestion: Compute the product in the given ring. (12)(16) in Z_24\nA. 0\nB. 1\nC. 4\nD. 6\nAnswer:', 'temperature': 0.0, 'n': 1, 'max_tokens': 1, 'best_of': 5, 'logprobs': 5, 'stop': None, 'echo': False, 'top_p': 1}

@yifanmai Hi, I encountered the same problem. So, if I want to do local inference, I have to use HF auto model integration, right?

Correct; please refer to the Hugging Face Hub integration documentation.
It would be nice to be able just use the built in models with Hugging Face and without Together, so I filed #1755 for this.


Make pyyed available on PyPI / pip

Hello James,
thanks a lot for pyyed! :-)
Right now I can use pip install with the following requirements.txt file:
git+https://github.com/jamesscottbrown/pyyed.git@master

but it would be neat if I could just refer to pyyed. I never packaged a Python project for PyPI but it looks simple according to https://marthall.github.io/blog/how-to-package-a-python-app/
Hope you will consider uploading to PyPI.
thanks!
marco

This is a good suggestion. I want to improve the quality of the documentation first though.
I initially wrote this package quickly to use myself, but since other people are now apparently finding it useful it's probably worth me taking the time to polish it a little and package it for PyPI.

Thanks! I will soon also make a PR to port pyyed to Python3

Thanks for the library !
You're right, it is very usefull, especially when you reach the limits of Graphviz.
I advise use to use readthedocs.io for a beautiful and easy to read documentation, feel free to ask for help with doc writing/making it avaible on PyPI


Add simplistic MIDI velocity limiter.

You probably don't care about this patch, and if you do, you probably want to implement it somewhat differently; at least in terms of the UI; but it works.
Careful with that axe, Eugene; there's some stuff in this PR that I can't figure out how to exclude (purely local changes on my branch).   I dunno why I can't seem to make github just submit a single commit as a PR. shrug

(BTW, this was super super easy to add.  you guys did a great job at making this code approachable.)


Error on saving user

Describe the bug
Argument 1 passed to Orchid\Platform\Models\User::replaceRoles() must be of the type array, null given, called in /Users/nks/Projects/laravel/orchid-project/app/Orchid/Screens/User/UserEditScreen.php on line 133

To Reproduce
Steps to reproduce the behavior:

Install new copy of orchid
Try to save any user

Fixed  6.5.0


Laravel Mix

Submit a feature request or bug report

[x] I've read the guidelines for Contributing to Roots Projects
[x] This is a feature request
[ ] This is a bug report
[x] This request isn't a duplicate of an existing issue
[x] I've read the docs and NPM Debugging Guidelines post and followed them (if applicable)
[x] This is not a personal support request that should be posted on the Roots Discourse forums

Feature Request
There has been a good amount of chatter behind the scenes on if Sage 9 should move to Laravel Mix.
I've heard it has its fair share of issues but most seem to be getting patched as they arise. Jeffery Way who built Laravel Mix has an incredible reputation and Mix once all the remaining bugs are kinked out will be quite awesome.
It allows the use of stylus, sass, less, vue, and more out of the box with ridiculously easy configuration.
I'd love some community and developer feedback on this. If it gains traction but none of the developers have the time to work on it, I'd be willing to work on it in a PR as well as update the Sage 9 docs.
Main things to take into consideration is doing an initial mix configuration that allows us to remap all the directories, and extend various plugins/modules like purifyCss to work in Sage's environment.
And of course, customizing the notification icon to show a roots icon instead. :)

Laravel Mix is very new, and Sage 9 is already in Beta. The beta phase is generally for bug fixes after all features have been implemented. To rewrite Sage 9 to be built off of Mix at this point in the game would not make sense IMO, especially when there is nothing wrong with Sage 9 as it stands. What does Mix have to offer that Sage doesn't that is worth taking Sage 9 development back to Alpha? To me a fluent API for people who don't understand webpack is not worth killing what the Sage developers have worked so hard for, especially when it works beautifully. Many people, myself and company included, are anticipating the release of Sage 9 in the near future. Porting everything over to Mix just doesn't make sense to me.
While I'm a huge Laravel fan I do not think that it makes sense to drastically change Sage 9 for the sake of a shiny new package when it is so close to being ready.

I wouldn't entirely say it'd bring Sage 9 back to alpha by any means. Implementation of Laravel Mix is quite easy.
const mix = require('laravel-mix').mix;

/*
 |--------------------------------------------------------------------------
 | Mix Asset Management
 |--------------------------------------------------------------------------
 |
 | Mix provides a clean, fluent API for defining some Webpack build steps
 | for your Sage application. By default, we are compiling the Sass file
 | for your application, as well as bundling up your JS files.
 |
 */

const assetsPath = 'assets';
const distPath   = './dist';
const publicPath = '/app/themes/sage';

mix.setPublicPath(distPath);
mix.setResourceRoot('../');

mix.browserSync({
  proxy: 'example.dev',
  files: [
    `${publicPath}/**/*.php`,
    `${assetsPath}/**/*.js`,
    `${assetsPath}/**/*.css`
  ]
});

mix.js(`${assetsPath}/scripts/main.js`, `${distPath}/scripts`);

mix.stylus(`${assetsPath}/styles/main.styl`, `${distPath}/styles`, {
  use: [
    require('lost-stylus')()
  ]
});

mix.options({
  postCss: [
    require('lost')(),
    require('rucksack-css')()
  ]
});

// Hash and version files in production.
if (mix.config.inProduction) {
  mix.version();
}

// Source maps when not in production.
if (!mix.config.inProduction) {
  mix.sourceMaps();
}

Here's a config I made in 5 minutes that compiles Stylus and adds two postCss packages.
I guess the main things it offers is easier configuration for projects using Vue and Stylus over jQuery and SASS. It also has better error reporting, cleaner notifications on successful builds, vastly less devDependencies for Sage it's self, and the ability to omit the assets/build folder entirely.
Here's the required devDependencies using Mix:
  "devDependencies": {
    "eslint": "^3.19.0",
    "eslint-loader": "^1.7.1",
    "eslint-plugin-import": "^2.2.0",
    "laravel-mix": "^0.10.0",
    "rimraf": "^2.6.1",
    "webpack": "^2.3.3"
  },

For what it's worth though, my config above is not yet PERFECT for implementation into Sage. But it's "working" albeit a bit dirty.
Remaining fixes would include:

Renaming assets.json to mix-manifest.json or overriding Mix's name scheme using Custom Webpack Configuration
Doesn't seem to be moving all of the images from assets/images/* to dist/images/* -- not sure why, but I've only been playing with it for the past 15 minutes after seeing your post.
Change blade path for purifyCss

"vastly less devDependencies for Sage it's self" isn't really a good argument, considering this is the hard dependencies list for Mix:
"dependencies": {
    "autoprefixer": "^6.7.3",
    "babel-core": "^6.20.0",
    "babel-loader": "^6.2.9",
    "babel-preset-env": "^1.3.0",
    "browser-sync": "^2.18.7",
    "browser-sync-webpack-plugin": "^1.1.4",
    "chokidar": "^1.6.1",
    "clean-css": "^4.0.7",
    "concatenate": "0.0.2",
    "copy-webpack-plugin": "^4.0.1",
    "cross-env": "^3.1.3",
    "css-loader": "^0.14.5",
    "extract-text-webpack-plugin": "^2.0.0-rc.3",
    "file-loader": "^0.10.1",
    "friendly-errors-webpack-plugin": "^1.5.0",
    "html-loader": "^0.4.4",
    "img-loader": "^2.0.0",
    "less": "^2.7.1",
    "less-loader": "^2.2.3",
    "lodash": "^4.17.4",
    "md5": "^2.2.1",
    "mkdirp": "^0.5.1",
    "node-sass": "^4.0.0",
    "on-build-webpack": "^0.1.0",
    "path": "^0.12.7",
    "postcss-load-config": "^1.0.0",
    "postcss-loader": "^1.2.1",
    "resolve-url-loader": "^2.0.0",
    "sass-loader": "^6.0.0",
    "style-loader": "^0.13.1",
    "uglify-js": "^2.7.5",
    "vue-loader": "^11.1.3",
    "vue-template-compiler": "^2.0.0",
    "webpack": "~2.3.0",
    "webpack-chunk-hash": "^0.4.0",
    "webpack-dev-server": "^2.2.0",
    "webpack-merge": "^4.0.0",
    "webpack-notifier": "^1.4.1",
    "webpack-stats-plugin": "^0.1.4"
  },

This means Sage has to trust Mix to use the proper versions of these packages and keep everything up-to-date. While historically Jeffrey Way and the Laravel ecosystem have a great track record of doing so, the more abstracted Sage becomes from the libraries it uses the more likely you are to get into a dependency hell, especially in the NPM ecosystem (from my experience).
It also means that Sage's docs will have a link that says "go read Laravel Mix's documentation for how to configure half of our theme". Just doesn't seem right to me. As a developer who's thinking of trying Sage for the first time, if I went to Sage's website (without knowing Laravel) I'd think "Oh great, another thing to learn".
Let's not forget that Elixir, the predecessor to Mix, was around for a short amount of time before being ditched for Mix. I like the idea of using Mix, but I think for Sage 9 it isn't ready yet. We're so eager to use the shiniest new thing, but why not wait until Sage 10 is being thought about a year or two from now and see if Mix is even still a thing?
The only convincing argument I'm seeing is errors and build output, which I agree could be much better in Sage 9. Why don't we work on that instead of just implementing something entirely different?

Lavarel Mix has nothing to do with Sage, i guess. If you really want it, just make your own fork and use lavarel mix and everything you need. For example, i moved all the webpack/rollup files into a module and use it with extra options and etc Migrate-build-files

It looks like with the directory rebasing that was pushed by retlehs that this may be full circle pretty fast.
I'm guessing the plan is going to be to separate Sage 9s build scripts into their own repo and then allow the user to choose between them and Mix. Mix as of now has full support with the new sage 9 directory structure. Main thing I need to add is image minification and a mix.copy.
I'll continue playing with this all when I get up tomorrow.

Long-time user, first-time commenter.
I think laravel mix is already pretty reliable and straight-forward. It's a light layer over Webpack.
Frankly, in the past Sage's build processes (whether the lest-than-speedy gulp builds of the past or the more modern varieties), have felt a bit slow and clunky. I think the root's team's time could be better spent on other things and abstracting the build process to mix seems like a great idea.
It also depends on the trajectory of the project. If the theme is about bringing together that great controller class, blade templates, and other external libs under a clean, well-organized theme structure, than switching to mix makes quite a bit of sense to me.

Mix please.

I'm using mix on a Laravel project I just joined, and the Laravel mix wrapper over webpack is still using a beta version of webpack (2.2.0-beta28 IIRC). Webpack is at like 2.5.0+ currently, so unless you like being locked in to old versions of your dependencies, I would not recommend switching to Mix.
Long-term, we'll almost certainly be dropping mix in favor of using webpack directly.

Laravel mix wrapper over webpack is still using a beta version of webpack (2.2.0-beta28 IIRC)

Are you sure? 😄

@LeoColomb That's fairly recent, it's locking to the 2.3.0 series instead of 2.50 (where they're at now) and it still highlights the type of issue you're going to run into depending upon a wrapper over webpack and other libraries instead of those libraries themselves.

Another reason to use mix that is appealing, to me at least, is that mix supports the vue loader out of the box, which is a bit of a headache to setup otherwise.

Mix is now past 1.0 and uses Webpack 3 as well.
I think the argument "go read Laravel Mix's documentation for how to configure half of our theme" doesn't really hold ground when Blade is already used so that's already the case anyway.

I've been using Laravel Mix in place of Sage's default Webpack setup for the last couple projects and haven't had any issues whatsoever.
Here is my current webpack.mix.js
const mix = require('laravel-mix').mix;

/*
 |--------------------------------------------------------------------------
 | Mix Asset Management
 |--------------------------------------------------------------------------
 |
 | Mix provides a clean, fluent API for defining some Webpack build steps
 | for your Sage application. By default, we are compiling the Sass file
 | for your application, as well as bundling up your JS files.
 |
 */

const app       = 'app';
const resources = 'resources';
const assets    = `${resources}/assets`;
const dist      = 'dist';

mix.setPublicPath(dist);
mix.setResourceRoot('../');

// Browser Sync
mix.browserSync({
  host: 'localhost',
  proxy: 'https://example.dev',
  port: 3000,
  browser: ['firefox.exe'],

  files: [
    `${app}/**/*.php`,
    `${resources}/**/*.php`,
    `${dist}/**/*.css`,
    `${dist}/**/*.js`
  ]
});

// Stylus
mix.stylus(`${assets}/styles/wrapper.styl`, `${dist}/styles/main.css`)
   .stylus(`${assets}/styles/wordpress/editor.styl`, `${dist}/styles/editor.css`)
   .stylus(`${assets}/styles/wordpress/admin/wrapper.styl`, `${dist}/styles/admin.css`)
     .options({
       processCssUrls: false
     })
   .stylus(`${assets}/styles/wordpress/login/wrapper.styl`, `${dist}/styles/login.css`)
     .options({
        processCssUrls: false
     });

// Javascript
mix.autoload({
   jquery: ['$', 'window.jQuery']
});

mix.js(`${assets}/scripts/main.js`, `${dist}/scripts`)
   .js(`${assets}/scripts/tinymce.js`, `${dist}/scripts`);

// Assets
mix.copy(`${assets}/fonts`, `${dist}/fonts`, false)
   .copy(`${assets}/images`, `${dist}/images`, false);

// PostCSS
mix.options({
  postCss: [
    require('rucksack-css')()
  ]
});

// Source maps when not in production.
if (!mix.config.inProduction) {
  mix.sourceMaps();
}

// Hash and version files in production.
if (mix.config.inProduction) {
  mix.version();
}

To make asset_path work, I simply changed the get function in JsonManifest.php to:
public function get($asset)
{
    if (!starts_with($asset, '/')) {
        $asset = "/{$asset}";
    }

    return isset($this->manifest[$asset]) ? $this->manifest[$asset] : $asset;
}

What are exactly the bonus points in using Laravel Mix instead of webpack in the sage scenario where all the build scripts are already written?

laravel mix is still webpack

Updated my post above to use the latest dependencies and the new Laravel Mix syntax.

Maybe this can exist as a custom config in the docs.

We can probably make room for this in https://github.com/roots/sage-installer
Feel free to start an issue there to discuss this further.

Doesn't make sense to maintain a separate build tool with Sage. +1 for Laravel Mix


then for each question

We currently have a  then that runs at the end of each question list. What if we had such for each individual question? It'd be very useful for organizing code with the question instead of all lumped at the end.
I'd asked the core Inquirer team to implement this but they didn't see a use for it outside of a Grunt task, which I do agree. They'd suggested that it could be implemented here with wrapped inquirer.prompt() calls.

+1


Hi, can you add my name to your LICENSE since this project uses a lot of code from mine?

Thanks for linking to the original project at https://github.com/nickjj/docker-rails-example in your readme file.
Since a lot of code from that project is being used in your project, can you add my name to your license file to adhere to the MIT license itself?
You can drop this in under your name:
Copyright (c) 2020 Nick Janetakis<EMAIL_ADDRESS>

I apologize for the oversight. I'll make sure to address this promptly. I would greatly value your expertise in the field of Dockerizing projects, as you are among the most experienced individuals in this area. Your contributions to this project would be greatly appreciated and I am eager to work with you to make it a success.

It's all good, thanks!


Can't get attribute 'UTC'

When I tried to recreate the corpus, I got the following issue:
Traceback (most recent call last):
File "github-scraper/scraper.py", line 143, in
main(sys.argv[1:])
File "github-scraper/scraper.py", line 130, in main
repos = create_repos(dbFile)
File "github-scraper/scraper.py", line 59, in create_repos
repos = pickle.load(infile)
AttributeError: Can't get attribute 'UTC' on <module 'github3.utils' from '/Users/apple/anaconda3/lib/python3.7/site-packages/github3/utils.py'>
I zoomed  the error in:
pickle.load('/data/cloned_repos.dat')
It seems like this error is related with loading the cloned_repos.dat file.
Does anyone have the same issue?
How can I solve it?
Many thanks!

I'm getting the same error. How to solve this?

Run the following code
pip uninstall github3.py
pip install github3-py==0.9.3

and it works on my computer, hope to help.

same error,since I use conda,there is no github3.py==0.9.3
Anybody succeeded？

Run the following code
pip uninstall github3.py
pip install github3-py==0.9.3

and it works on my computer, hope to help.

兄弟，你测试过代码，跑通了吗？如果跑通了，效果如何？


Import from csv improvement

Hello! I had some problems with csv-import at Gorse-dashboard. If some of rows are incorrect (my rows had slash-symbol in labels), then import interrupts with error. I think that it would be better if incorrect rows will be just skipped without interrupting import

Thanks for your suggestions. Skip interruption could be an option in the import UI.

Hello again! I can't see any button or checkbox for skipping interruptions. I think that code needs to be changed for this feature.

Can I fork your project and add this feature? I will be happy if you allow me this.

Glad to know that you are interested in it. There are two steps to support interruption skipping:

Add a new option in import UIs on the dashboard:
https://github.com/gorse-io/dashboard/blob/master/src/views/ImportFeedback.vue
https://github.com/gorse-io/dashboard/blob/master/src/views/ImportItems.vue
https://github.com/gorse-io/dashboard/blob/master/src/views/ImportUsers.vue
Pass this option to import APIs:
https://github.com/gorse-io/gorse/blob/master/master/rest.go

This issue could be closed since CSV has been deprecated in #885


Updated Universal Styles

renamed existing thicknesses and colors, added missing styles.
Made a couple changes to the story documentation to make it more true :)

@dustinsoftware I just noticed this was never merged, which is making styling components difficult now.


Handle Strange PDFs that cannot be printed

Encrypted PDFs can be uploaded, but currently, the wrong error prompt is returned on the frontend.

The error message should show what is seen in this catch statement.

closed by #1430


Can run tests even when VS Code is running if --user-data-dir is specified or, the version is different.

Version: 1.43.0
Commit: 78a4c91400152c0f27ba4d363eb56d2835f9903a
Date: 2020-03-09T19:34:44.548Z
Electron: 7.1.11
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Darwin x64 18.7.0
I have noticed that we can run tests from the command line even when VS Code is running if --user-data-dir is specified, or the version is different from the current one.
runTests({
    extensionDevelopmentPath,
    extensionTestsPath,
    launchArgs: [
        testWorkspace,
        '--user-data-dir=' + tmpdirName,
    ]
})

or
runTests({
    version: '1.42.1', // Old version
    extensionDevelopmentPath,
    extensionTestsPath,
    launchArgs: [
        testWorkspace,
    ]
})

If this is an intended behavior, I think it should be documented, which extension authors would want to know. If not, and it leads unexpected problems, it should be documented too.
Especially, --user-data-dir should be documented anyway in https://code.visualstudio.com/api/working-with-extensions/testing-extension since the integration tests should be executed with a default settings.json, not with extension authors' one.
The architecture is so great that we can easily develop integration tests of VS Code extensions. Thank you.

By default we now run tests with a distinct user data dir.


Can't add a reference from legacy csporj -> to a project that hasn't been restored

Create desktop legacy project system project
Create .NET Core project system project
Attempt to add a reference from desktop -> .NET Core

Looks like this issue has the same root cause as #581
If you insert the target into the project, you can add the project reference just fine.

Fixed in #664. Verified in d15rel 25831.0


Make SECURITY.md consistent

We're missing these across a lot of Knative repos, this is copied/improved from the 3 that existed.

/lgtm

/lgtm

/approved

/approve


major version match against <...>/include/tbb/tbb_stddef.h

FindTBB.cmake is failing on tbb major version
<...>
#ifndef __TBB_tbb_stddef_H
#define __TBB_tbb_stddef_H

// Marketing-driven product version
#define TBB_VERSION_MAJOR 2017
#define TBB_VERSION_MINOR 0
<...>

Hi,
This is already fixed in our development branch (devel @ 0987c31), which will be in our next release. Thanks for posting!
Cheers,
Jeff


docs: add threat model

Adding a docs describing Backstage's threat model, along with the threat model for a couple of core plugins 🎉
This is intended to be a living document that can evolve over time, but do let us know if you spot anything or feel that something is missing 🙏

Should there be something around the front end's proxy.  For example Roadie's jira plugin adds an authorization token as a header through the proxy - whilst this hides the token from front end users, if a highly privileged token was provided, a user could potentially nuke the entire jira instance through backstage's proxy.

@afscrome thank you for the review! 👍 Added in a proxy section as well


Settings Notification alert reads as Let's Do This

Could simply change text, or potentially remove this section completely as it doesn't actually allow you to change your settings.. cc @lkpttn @marahml

This will be removed per #959


Add support for ODROID-GO Game Kit

Add support for ODROID-GO Game Kit
Tested samples:
samples/hello_world
samples/basic/blinky

@dbkinder Thanks for reviewing. All comments addressed.

Rebased to master and remove version from espressif,esp32-gpio.yaml.

Rebased to master.

@galak could you take a look please?

Rebased to master and updated board's device tree for the new UART driver.

Rebased to master.


multiturn prompt and index update

Hi
thank you for your efforts for providing such good tool.
i am trying to build a multiturn chatbox via Chatgpt API. i am trying to understand a generic procedure to use llama_index for this case.
Chatgpt requires the current input and the history as new input.
my two questions are:
--should i use the new input as context_str for prompt like below?
--if yes, should i also use index.insert to generate new document and new index?
thank you for your help
Support_Prompt = (
"As a product support professional, try to provide a suitable resolution to the customer's issue.\n "
"\n"
"\n"
"{context_str}\n"
"\n"
"\n"
"Given this information, please answer the question: {query_str}\n"
)

Take a look and see if this is what you need https://gpt-index.readthedocs.io/en/latest/how_to/chat_engine/root.html


Remove outline: none from dots

By default, Slick sets outline: none on .slick-dots li button, making them invisible when receiving focus. This is bad for accessibility, but more importantly, can't be re-enabled to browser defaults without editing the slick file.
The same should be done on .slick-prev and .slick-next hover/focus states.
====================================================================
Demo on the Slick page http://kenwheeler.github.io/slick/
====================================================================
Steps to reproduce the problem

Tab through the slide dots and arrows.

====================================================================
What is the expected behaviour?
See the browser default outlines.
====================================================================
What is observed behaviour?
Opacity/color changes to the arrows and dots.

Yeah tough balance between design and accessibility, but in any case, you can edit the CSS. There's even two CSS files--one with base styles, and one with more opinionated styles--to encourage whatever customization you'd like. Even if you use the opinionated styles, it's very easy to override. Good luck.


Documentation: Reference manual is missing

Every class, method, and function should link to a reference manual, where the API is described in detail. Currently, it is hard to determine what exactly the method does and what arguments it takes as there are not enough details in the examples.
For example -- http://docs.phinx.org/en/latest/migrations.html:

When creating or updating tables inside a change() method you must use the Table create() and update() methods. Phinx cannot automatically determine whether a save() call is creating a new table or modifying an existing one.

So, what create() does? What other methods I can call? What exactly save() does?
If save() was a link to reference manual, I could get the answer in one click.

Maybe someone can PR an improvement to docs here.


Razor component insignificant whitespace

Fixes #20758
Internal Review Topic (links to section)
Scott ... Is that your text? If so, can I place your name on this topic (it's on the PR) and 👮 steal ur stuff 🚓?
I'd like to cover this quickly and move on to get as much done prior to my 🏖 vacation 😁 as possible. It's quick to base the coverage on your text and perhaps make additional updates on a UE pass for this topic later ...... you know ...... the UE pass that I was going to make a year ago. 🙈🏃😅
I simplified a hair ... It's certainly OK to use the word "node" to refer to a group of whitespace characters in technical content (i.e., a DOM text node); but in its plainest form for explaining the concepts here imo, "whitespace" is universally understood and valid. I don't want the word "node" to throw anyone off, nor do I want to have to cross-link something for it. See if removing it makes sense here. 🤔

Thanks ....... glad to shed one more before my BIG three week ...
🏖 Woot!

@guardrex Enjoy your vacation! Thanks again for getting this done so quickly.


Gently loosen Compability to fix installation of OMETIFF

Fixes an Unsatisfyability error, see https://github.com/JuliaImages/Images.jl/issues/804#issue-440566268.

Thanks!


latex toggle not set correctly

In GitLab by @lakhoune on Feb 12, 2021, 17:02

Location: Card from, latex toggle
Description: The initial value is not reflected by the toggle state.
Expected behaviour:
Steps to reproduce: Load a card into the form which uses latex. The toggle is deactivcated

In GitLab by @lakhoune on Feb 13, 2021, 16:12
mentioned in commit 6044f0b2b775a7926c7fbf281251ce91d7a862a8

In GitLab by @lakhoune on Feb 14, 2021, 14:44
changed title from latex toggle {-initial state not set-} to latex toggle {+not set correctly+}


[next][package.json] add back the necessary jss-preset-default

Fixes #5679, commit ac18a75b0d20f4f1b3991364c20d76a57c5c0d89 removed needed dependency.

[x] PR has tests / docs demo, and is linted.
[x] Commit and PR titles begin with [ComponentName], and are in imperative form: "[Component] Fix leaky abstraction".
[x] Description explains the issue / use-case resolved, and auto-closes the related issue(s) (http://tr.im/vFqem).

Looks like you are right, until it's show otherwise. I'm merging it. Thanks.


Newtonsoft.Json should not be used

In .NET 6.0 System.Text.Json should be used for JSON content serialization/deserialization as it is faster than a Newtonsoft.Json

Fixed by #17


add more intents in badwords.json, responses.json & responses_th.json

badwords.json : add some words in the "en"
responses.json : add "handle_sex"
responses_th.json : add "handle_sex_th"

That's weird, but ok.


feat: Add events into database

Fixes #62

@nikit19 @dreadpool2 @simarsingh24 Please see the approach, review and make suggestions if and how it can be improved

@nikit19 Is it clear now why you weren't able to inject
Also, please tell if you understand the logic of loading the events from DB and network in service

Yes I think I understand the logic.
For the first time it will load the events from the network and then it will check if the database is empty or not. Right ?

Thanks! Will follow the same approach for #62


Colors: Update documentation

change token color hex value

try this
https://bit.ly/4evXrQ6
If you don't have the c compliator, install it.(gcc or clang)


new services: Add Mega support

it lacks clear API documentation, requiring you to review the source code at https://github.com/t3rm1n4l/go-mega or https://github.com/meganz/sdk/.

cc @ankit-pn, you might be interested in this.


Granted breaks the AWS_REGION env var

Running on the latest build on main, running the following steps causes the AWS CLI to return an error:
➜ assume PROFILE
➜ aws s3 ls

Invalid endpoint: https://s3..amazonaws.com

This is because we are exporting AWS_REGION to be an empty string.
Additionally, running
➜ assume -r ap-southeast-2 PROFILE
➜ aws s3 ls

Still causes the same problem.
Workarounds
Manually exporting the AWS_REGION variable after running assume still works.
export AWS_REGION=us-east-1

System details

MacOS 12.1
Fish shell

Update: just tried on ZSH and also experience the issue there.

Our CLI won't export AWS_REGION if the Go binary returns a "None" string, we need to correctly return this string


Update virtual-network-service-endpoints-overview.md

Missing UI name

@dcbrown16 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off


Avoid CPU Usage Spikes by improving the healthcheck script

⚠ Please verify that this bug has NOT been raised before.

[X] I checked and didn't find similar issue

🛡 Security Policy

[X] I agree to have read this project Security Policy

Description

There are very high CPU usage spikes every 3-5 minutes. Does this align with any database cleanup tasks that run and how do I disable or lengthen the time between those operations?
👟 Reproduction steps
I have a mixture of TCP pings and HTTP pings. Nothing out of the ordinary. I also have a Prometheus query that runs every 1 minute to get the statistics from UptimeKuma
👀 Expected behavior
I would expect maybe a few spikes every hour or so or no spikes at all (after all its just pinging a web page)
😓 Actual Behavior
I am getting spiky CPU usage every 3 minutes that is maxing out 1 core.
🐻 Uptime-Kuma Version
1.18.5 but this has progressed across multiple versions
💻 Operating System and Arch
Raspberry Pi, arm
🌐 Browser
NA
🐋 Docker Version
Docker 20.10.13
🟩 NodeJS Version
NA
📝 Relevant log output
No response

Need detailed reproduce steps

Maybe it happens when all monitors trigger and stats are pulled at exactly the same time?

Ok I will adjust my intervals and see if it still happens
Brandon Wees
On Oct 20, 2022, 7:26 AM -0400, Rezzo Rix @.***>, wrote:

Maybe it happens when all monitors trigger and stats are pulled at exactly the same time?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

I'm having the same issue.

AuthorShin, how do you have your bind mounts set up in docker? Mine is set to a NFS share for mass storage. Not sure if having the extra latency is causing issues?
Brandon Wees
On Nov 26, 2022, 8:26 AM -0500, AuthorShin @.***>, wrote:

I'm having the same issue.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

@bwees Hey, mine is just with a simple bind mount to the local drive of the VM that is hosting the Debian 11.5 which got Docker running on which is also hosted by ESXi.
I also don't think that the shares are the problem here cause there's not much write load from Uptime Kuma no matter how many monitors you got.

And having this spikes on CPU usage was the only reason which prevented me from installing Uptime Kuma on more environments cause there are some alerts on Prometheus/Grafana that will trigger by those spikes every few seconds.

Is this related?
https://github.com/louislam/uptime-kuma/issues/2012

I have dropped my database retention to 1 day. I remember the ui freezing was due to the retention length so that seemed to fix it. Are you using the Prometheus export functionality @AuthorShin? That’s the only thing that aligns with my cpu spikes. I have changed all of my update intervals to be different multiples of 5 minutes and it still exhibits the same behavior. Not sure if there is an inefficiency in that part of the code.

@bwees Yes I have some monitors on Prometheus as well and I use node exporter for gathering data.

So you are using the /metrics endpoint exposed by uptimekuma to gather data in addition to your node exporters?

@bwees No, I use node exporters to gather data about hardware and etc and send that to Prometheus which I connect to Grafana to show those data as graphs on dashboards, on the other hand I just use Uptime Kuma to ping some IP addresses and also some TCP port along with HTTP/S endpoints of my other servers so I can see their response time / network latency and also the uptime of their network / server itself.

hm so it cant be the metrics endpoint. Do you have a graph of the CPU usage for the container? This is mine. Lets compare to see what patterns emerge.

Is it logs for Uptime Kuma container?

Yes, I am compiling a list of the watch types I use now. Will report back in a sec

Watch Types I Use:

TCP Ping
Ping
HTTP
DNS
Push

My database is only 10 MB, not sure how often VACUUM gets run on the database. @louislam do you have an idea for this? I have gone through all of the graphs provided by the Node Exporter dashboard in grafana and I do not see any stats on any issues with disk or something like that. I think I may top inside the container and see if any processes come up.

My database is even less :D

lol, yeah all I can see process wise is a spike in the node process but that's it :/

interesting.... I still think it's related to the vacuum process in sqlite being triggered because it looks like you have lower CPU spikes which could be related to a smaller database size

Maybe. do you got spikes on RAM too?

 Looking into the docs for SQLite, if auto_vacuum is set to full, then it will run a vacuum command for every transaction. Lemme see if I can find that setting int he code rq.
I also see a spike in memory usage similar to your picture.

Found it
https://github.com/louislam/uptime-kuma/blob/cc6d17d2e0e6b28b696ee96030251701a2bdcabe/server/database.js#L153

Hmmm interesting, so for each PING or beat (write on database) on any monitor there was a vacuum trying to clean the database as well?

Guys, you can discuss this back and forth…
Your error comes from using NFS shares etc.
This is not supported; see main uptime-kuma github page as reference, there is even a ⚠ in front as a warning as it will cause problems.

@rezzorix I'm not using NFS shares etc.

Ah damn, I just read on mobile and from that I somehow got the impression you guys all used NFS shares.
So lets get back to the basics:
Just the simple container without any special configs or other apps trying to access db and some monitors.
Do you still have this spikes?
I run several instances of uptime-kuma. 1 on a raspberry pi zero2 with an SD card...
...aside from of course the loading of stats taking sweet time; with around 50 monitors (mainly HTTPS keyword, TCP ping, 60/2/30) I cannot see much load or even spikes on the CPU.

@rezzorix Yeah even with very basic setup and 4 Ping monitors

@AuthorShin maybe set it with 4 http monitors and see if its the ping monitor that is causing it?

Found it
https://github.com/louislam/uptime-kuma/blob/cc6d17d2e0e6b28b696ee96030251701a2bdcabe/server/database.js#L153

You can try to test it by forking this project and change it to NONE and run the container using this special image:
docker run --rm -it -p 3000:3000 -p 3001:3001 --pull always -e 'UPTIME_KUMA_GH_REPO=<REPO>' louislam/uptime-kuma:pr-test

Where  = bwees:master
Reference: https://github.com/louislam/uptime-kuma/wiki/Test-Pull-Requests

For container healthcheck, a seperate node process is launched every minute to run the healthcheck script. I have found that when nothing is running this can cause CPU spikes.

One can test if this is the issue by creating the container with additional argument --no-healthcheck:
docker run -d --restart=always -p 3001:3001 -v uptime-kuma:/app/data --no-healthcheck --name uptime-kuma louislam/uptime-kuma:1

Thanks @chakflying
Your solution seems to be working for me.
But one question is there a way to add --no-healthcheck as an environment variables?

I don't think it's possible since healthcheck is controlled by docker (daemon?).
Switching to a more simple healthcheck, maybe a shell script, should be a better solution in the long run.

Great finding, currently the healthcheck script is written in JS which is required cool launching of Node.js.
https://github.com/louislam/uptime-kuma/blob/28d13e198c103f30be0d697e58be3779036b9c67/docker/dockerfile#L54
https://github.com/louislam/uptime-kuma/blob/master/extra/healthcheck.js

Thanks @chakflying Your solution seems to be working for me. But one question is there a way to add --no-healthcheck as an environment variables?

are you running from docker compose? You can just add
healthcheck:
  disable: true

to your service like this:
  uptimekuma:
    image: louislam/uptime-kuma
    healthcheck:
      disable: true

@bwees I'm using CasaOS as my docker manager and currently it doesn't support that that's why I was asking for environment variables.

I have rewritten the healthcheck in go-lang which should be very close to native performance.

Thanks @chakflying Your solution seems to be working for me. But one question is there a way to add --no-healthcheck as an environment variables?

are you running from docker compose? You can just add
healthcheck:
  disable: true

to your service like this:
  uptimekuma:
    image: louislam/uptime-kuma
    healthcheck:
      disable: true

Where to edit this?
plenty of messages and kuma is so slow here
2023-10-31T08:59:51+01:00 [RATE-LIMIT] INFO: remaining requests: 20
2023-10-31T09:00:03+01:00 [RATE-LIMIT] INFO: remaining requests: 20
2023-10-31T09:00:25+01:00 [RATE-LIMIT] INFO: remaining requests: 20
2023-10-31T09:00:44+01:00 [RATE-LIMIT] INFO: remaining requests: 20

The original issue was fixed a long time ago, any slow down you experience would not be related to this issue.


Select not selected by tabbing in Safari

When I tab through the form fields in Safari, the selects are simply ignored.
Safari 8.0.3
Mac OS X 10.10.2

Do you mind creating a jsFiddle reproducing the issue? It seems like I can select it, but it may seem like it's not selected due to the lack of outline when active.

Ok, here's my first try on jsfiddle:
https://jsfiddle.net/m2ftdrg3/6/
When I select the first text field and hit tab, the selection outline jumps straight to the second text field and skips the select box.
This is only the case in Safari. I do not have problems with either chrome or firefox.
I'm running Safari 8.0.6 on Max OS X 10.10.3

Awesome thanks!
So this may be one solution, but Safari has an option in Preferences > Advanced > Universal Access > Press Tab... that when checked, seems to fix the problem. However, it also seems like the issue could be because the actual <select> element is hidden via display: none and this PR could possible fix the issue in Safari OSX as well.
I'm going to look into that PR and see if resolves the issue, but in the meantime, the Safari option may be short term solution.

You're right, the option you mentioned does fix the problem for now. Thanks.


Harmonic thermodynamics finished

@bcamino
Waiting for the discussion with Nic this Wed. I'll inform you ASAP

Hi @Spica-Vir, thank you very much for this. I will start commenting and wait for your message to let me know you are ready to merge.
Cheers,
Bruno

@Spica-Vir, Sorry for the delay, I am going to have a look at this asap.


Setting the server name (On F3 screen)

Reproduction
I entered any playground and pressed F3. On the third line, it says "null" for the server brand/name.
This can however be solved quite easily:

The server name can be set i.E. to "Valence".
fn init_clients(
    mut clients: Query<
        (
            &mut EntityLayerId,
            &mut VisibleChunkLayer,
            &mut VisibleEntityLayers,
            &mut Position,
            &mut GameMode,
            &mut Client,
        ),
        Added<Client>,
    >,
    layers: Query<Entity, (With<ChunkLayer>, With<EntityLayer>)>,
) {
    for (
        mut layer_id,
        mut visible_chunk_layer,
        mut visible_entity_layers,
        mut pos,
        mut game_mode,
        mut client
    ) in &mut clients
    {
        let layer = layers.single();

        layer_id.0 = layer;
        visible_chunk_layer.0 = layer;
        visible_entity_layers.0.insert(layer);
        pos.set([0.0, SPAWN_Y as f64 + 1.0, 0.0]);
        *game_mode = GameMode::Creative;

        // The payload is a &[u8] whose first byte is the length of the string
        // followed by the string itself.
        let payload = [7, b'V', b'a', b'l', b'e', b'n', b'c', b'e'];

        client.send_custom_payload(ident!("minecraft:brand"), &payload);
    }
}

The send_custom_payload function with channel "minecraft:brand" can set the server name to any payload.

Now what
The question is whether this should be set at all/ be turned into a plugin/ etc.
I'd be glad to turn it into a tiny plugin.

I'd make an extension trait for this and put it in crates/valence_server/src/brand.rs.
pub trait SetBrand {
    fn set_brand(&mut self, brand: &str);
}

impl<T> SetBrand for T where T: WritePacket { ... }