SSL: CERTIFICATE_VERIFY_FAILED  - Mac, python 2 and 3

Getting the error below with youtube-dl -v https://www.youtube.com/watch?v=Cgm3r-G0cMQ
This on on Mac Yosemite Python 3.4.3. Also, I ran in my systemwide Python 2.7.9 and the -v for that is pasted further down.
ERROR: Unable to download webpage: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600)> (caused by URLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600)'),))

Full -v output Python 3:
(testenv3)testenv3 > youtube-dl -v https://www.youtube.com/watch?v=Cgm3r-G0cMQ
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', 'https://www.youtube.com/watch?v=Cgm3r-G0cMQ']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.04.26
[debug] Python version 3.4.3 - Darwin-14.3.0-x86_64-i386-64bit
[debug] exe versions: none
[debug] Proxy map: {}
[youtube] Cgm3r-G0cMQ: Downloading webpage
ERROR: Unable to download webpage: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600)> (caused by URLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600)'),))
  File "/Users/mmarotta/.virtualenvs/testenv3/lib/python3.4/site-packages/youtube_dl/extractor/common.py", line 315, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/Users/mmarotta/.virtualenvs/testenv3/lib/python3.4/site-packages/youtube_dl/YoutubeDL.py", line 1701, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/local/Cellar/python3/3.4.3/Frameworks/Python.framework/Versions/3.4/lib/python3.4/urllib/request.py", line 463, in open
    response = self._open(req, data)
  File "/usr/local/Cellar/python3/3.4.3/Frameworks/Python.framework/Versions/3.4/lib/python3.4/urllib/request.py", line 481, in _open
    '_open', req)
  File "/usr/local/Cellar/python3/3.4.3/Frameworks/Python.framework/Versions/3.4/lib/python3.4/urllib/request.py", line 441, in _call_chain
    result = func(*args)
  File "/Users/mmarotta/.virtualenvs/testenv3/lib/python3.4/site-packages/youtube_dl/utils.py", line 719, in https_open
    req, **kwargs)
  File "/usr/local/Cellar/python3/3.4.3/Frameworks/Python.framework/Versions/3.4/lib/python3.4/urllib/request.py", line 1184, in do_open
    raise URLError(err)

Full -v output Python 2.7.9
~ > youtube-dl -v https://www.youtube.com/watch?v=Cgm3r-G0cMQ
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'https://www.youtube.com/watch?v=Cgm3r-G0cMQ']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.05.04
[debug] Git HEAD: 436a759
[debug] Python version 2.7.9 - Darwin-14.3.0-x86_64-i386-64bit
[debug] exe versions: none
[debug] Proxy map: {}
[youtube] Cgm3r-G0cMQ: Downloading webpage
ERROR: Unable to download webpage: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:581)> (caused by URLError(SSLError(1, u'[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:581)'),))
  File "/usr/local/lib/python2.7/site-packages/youtube_dl/extractor/common.py", line 312, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/usr/local/lib/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 1708, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 431, in open
    response = self._open(req, data)
  File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 449, in _open
    '_open', req)
  File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 409, in _call_chain
    result = func(*args)
  File "/usr/local/lib/python2.7/site-packages/youtube_dl/utils.py", line 720, in https_open
    req, **kwargs)
  File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1197, in do_open
    raise URLError(err)

Could you try with the soultions listed in these comments: https://github.com/rg3/youtube-dl/issues/5317#issuecomment-94205465 and https://github.com/rg3/youtube-dl/issues/5317#issuecomment-94214004?

Unfortunately brew uninstall/install openssl did not fix it. Here is my -v output post re-install and the outputs from the re-install logs below that.
~ > youtube-dl -v https://www.youtube.com/watch?v=Cgm3r-G0cMQ
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'https://www.youtube.com/watch?v=Cgm3r-G0cMQ']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.05.04
[debug] Git HEAD: 436a759
[debug] Python version 2.7.9 - Darwin-14.3.0-x86_64-i386-64bit
[debug] exe versions: none
[debug] Proxy map: {}
[youtube] Cgm3r-G0cMQ: Downloading webpage
ERROR: Unable to download webpage: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:581)> (caused by URLError(SSLError(1, u'[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:581)'),))
  File "/usr/local/lib/python2.7/site-packages/youtube_dl/extractor/common.py", line 312, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/usr/local/lib/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 1708, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 431, in open
    response = self._open(req, data)
  File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 449, in _open
    '_open', req)
  File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 409, in _call_chain
    result = func(*args)
  File "/usr/local/lib/python2.7/site-packages/youtube_dl/utils.py", line 720, in https_open
    req, **kwargs)
  File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1197, in do_open
    raise URLError(err)

brew reinstall openssl
~ > brew uninstall openssl
Uninstalling /usr/local/Cellar/openssl/1.0.2a-1...
~ > brew install openssl
==> Downloading https://homebrew.bintray.com/bottles/openssl-1.0.2a-1.yosemite.bottle.tar.gz
Already downloaded: /Library/Caches/Homebrew/openssl-1.0.2a-1.yosemite.bottle.tar.gz
==> Pouring openssl-1.0.2a-1.yosemite.bottle.tar.gz
==> Caveats
A CA file has been bootstrapped using certificates from the system
keychain. To add additional certificates, place .pem files in
  /usr/local/etc/openssl/certs

and run
  /usr/local/opt/openssl/bin/c_rehash

This formula is keg-only, which means it was not symlinked into /usr/local.

Mac OS X already provides this software and installing another version in
parallel can cause all kinds of trouble.

Apple has deprecated use of OpenSSL in favor of its own TLS and crypto libraries

Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:

    LDFLAGS:  -L/usr/local/opt/openssl/lib
    CPPFLAGS: -I/usr/local/opt/openssl/include

==> Summary
🍺  /usr/local/Cellar/openssl/1.0.2a-1: 463 files,  18M

Maybe you also need to remove the existing certs after uninstalling: rm -rf /usr/local/etc/openssl. Anyway this is not a problem in youtube-dl, since other software using openssl will also fail (you can try with wget 'https://www.youtube.com/watch?v=Cgm3r-G0cMQ')

Thanks. I uninstalled openssl, removed that folder, and reinstalled. Still doesn't work for either youtube-dl or wget. Ugh. Any other ideas?

I tried running (testenv3)testenv3 > echo | openssl s_client -connect youtube.com:443 which someone asked about in another thread and here is the output. I honestly don't even know what ssl does so I have no idea what to make of this:
(testenv3)testenv3 > echo | openssl s_client -connect youtube.com:443
CONNECTED(00000003)
depth=2 /C=US/O=GeoTrust Inc./CN=GeoTrust Global CA
verify error:num=20:unable to get local issuer certificate
verify return:0
---
Certificate chain
 0 s:/C=US/ST=California/L=Mountain View/O=Google Inc/CN=*.google.com
   i:/C=US/O=Google Inc/CN=Google Internet Authority G2
 1 s:/C=US/O=Google Inc/CN=Google Internet Authority G2
   i:/C=US/O=GeoTrust Inc./CN=GeoTrust Global CA
 2 s:/C=US/O=GeoTrust Inc./CN=GeoTrust Global CA
   i:/C=US/O=Equifax/OU=Equifax Secure Certificate Authority
---
Server certificate
-----BEGIN CERTIFICATE-----
MIIHgzCCBmugAwIBAgIILW9oBp50RiIwDQYJKoZIhvcNAQEFBQAwSTELMAkGA1UE
BhMCVVMxEzARBgNVBAoTCkdvb2dsZSBJbmMxJTAjBgNVBAMTHEdvb2dsZSBJbnRl
cm5ldCBBdXRob3JpdHkgRzIwHhcNMTUwNDIyMTMyMTQwWhcNMTUwNzIxMDAwMDAw
WjBmMQswCQYDVQQGEwJVUzETMBEGA1UECAwKQ2FsaWZvcm5pYTEWMBQGA1UEBwwN
TW91bnRhaW4gVmlldzETMBEGA1UECgwKR29vZ2xlIEluYzEVMBMGA1UEAwwMKi5n
b29nbGUuY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAgDJKgSnX
rfthwCCB0gc5KDN02J+Uj2xgKeFusyLnCtCv/QYKJjXDXYceViX9aF+GSFZZe1GK
uNP0qYh8/v31zTz0SE5UaQyn9uqz33wwU43Af94J5nnjA6PCZrNnHzhOaDputEgO
y3UwEPSgatVhcVEgdqXeisQOnG7SpRuzfMs/HEsiSmc784+rSBAZKktspXDdh9BK
B84vT7MqdJQKYdqENyqzdnJiqqNieXlcVYDcCVqf/VqoS2zmq1UaZuhBBhi+Q8ef
C5XmniLVKnmAtRktwux1khRV4W1axoEShipaolhww8X2FyiYou0/IUUGRRMOfzwD
5myRr2feJkOFAwIDAQABo4IEUDCCBEwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsG
AQUFBwMCMIIDJgYDVR0RBIIDHTCCAxmCDCouZ29vZ2xlLmNvbYINKi5hbmRyb2lk
LmNvbYIWKi5hcHBlbmdpbmUuZ29vZ2xlLmNvbYISKi5jbG91ZC5nb29nbGUuY29t
ghYqLmdvb2dsZS1hbmFseXRpY3MuY29tggsqLmdvb2dsZS5jYYILKi5nb29nbGUu
Y2yCDiouZ29vZ2xlLmNvLmlugg4qLmdvb2dsZS5jby5qcIIOKi5nb29nbGUuY28u
dWuCDyouZ29vZ2xlLmNvbS5hcoIPKi5nb29nbGUuY29tLmF1gg8qLmdvb2dsZS5j
b20uYnKCDyouZ29vZ2xlLmNvbS5jb4IPKi5nb29nbGUuY29tLm14gg8qLmdvb2ds
ZS5jb20udHKCDyouZ29vZ2xlLmNvbS52boILKi5nb29nbGUuZGWCCyouZ29vZ2xl
LmVzggsqLmdvb2dsZS5mcoILKi5nb29nbGUuaHWCCyouZ29vZ2xlLml0ggsqLmdv
b2dsZS5ubIILKi5nb29nbGUucGyCCyouZ29vZ2xlLnB0ghIqLmdvb2dsZWFkYXBp
cy5jb22CDyouZ29vZ2xlYXBpcy5jboIUKi5nb29nbGVjb21tZXJjZS5jb22CESou
Z29vZ2xldmlkZW8uY29tggwqLmdzdGF0aWMuY26CDSouZ3N0YXRpYy5jb22CCiou
Z3Z0MS5jb22CCiouZ3Z0Mi5jb22CFCoubWV0cmljLmdzdGF0aWMuY29tggwqLnVy
Y2hpbi5jb22CECoudXJsLmdvb2dsZS5jb22CFioueW91dHViZS1ub2Nvb2tpZS5j
b22CDSoueW91dHViZS5jb22CFioueW91dHViZWVkdWNhdGlvbi5jb22CCyoueXRp
bWcuY29tggthbmRyb2lkLmNvbYIEZy5jb4IGZ29vLmdsghRnb29nbGUtYW5hbHl0
aWNzLmNvbYIKZ29vZ2xlLmNvbYISZ29vZ2xlY29tbWVyY2UuY29tggp1cmNoaW4u
Y29tggh5b3V0dS5iZYILeW91dHViZS5jb22CFHlvdXR1YmVlZHVjYXRpb24uY29t
MGgGCCsGAQUFBwEBBFwwWjArBggrBgEFBQcwAoYfaHR0cDovL3BraS5nb29nbGUu
Y29tL0dJQUcyLmNydDArBggrBgEFBQcwAYYfaHR0cDovL2NsaWVudHMxLmdvb2ds
ZS5jb20vb2NzcDAdBgNVHQ4EFgQUiM602EJkc9+TR6CsmcXD7cBI35YwDAYDVR0T
AQH/BAIwADAfBgNVHSMEGDAWgBRK3QYWG7z2aLV29YG2u2IaulqBLzAXBgNVHSAE
EDAOMAwGCisGAQQB1nkCBQEwMAYDVR0fBCkwJzAloCOgIYYfaHR0cDovL3BraS5n
b29nbGUuY29tL0dJQUcyLmNybDANBgkqhkiG9w0BAQUFAAOCAQEAUi0NYc8EEax2
6DpqB9ZWYQTbgmIADA2ksPZtJ1MUJXbENoUlILIcv4qFgoPXqZPDLhuBZ+aJmfXL
3H4Z4piBAZC11nGioZaubKxqYa/ujKgmnjYeGaFGPWocYZOw2RmZwp/RLaMP64JH
Y6QgyEZlbX//lV6e4PjFSnr0y90Ksrl1PsvwUFV8dTfhI079OXtqD6sqEEf+uRao
7HHH50ZKGkb1Aa5e8xXx9DOo6siyAEVRGb1+uxnGsPZW2v3UmNPXmp5YdKmPifxT
5lGe54TepRde2y+UvsyeFAjroSnm10fnkj777peFg/sK3Gs1tAbNgw6SDOPVnvBz
q59oNKUisw==
-----END CERTIFICATE-----
subject=/C=US/ST=California/L=Mountain View/O=Google Inc/CN=*.google.com
issuer=/C=US/O=Google Inc/CN=Google Internet Authority G2
---
No client certificate CA names sent
---
SSL handshake has read 3999 bytes and written 444 bytes
---
New, TLSv1/SSLv3, Cipher is RC4-SHA
Server public key is 2048 bit
Secure Renegotiation IS supported
Compression: NONE
Expansion: NONE
SSL-Session:
    Protocol  : TLSv1
    Cipher    : RC4-SHA
    Session-ID: 10775C02A73AB2D86F618C26491521BAC0EF8FAB670C7BEFC7F1FAA223064A57
    Session-ID-ctx:
    Master-Key: B7D9845159D987F16A7E1A847C049E1E2A703590C4846731ACCB12B34A5056900BAFEF75A461E999A786B258C12E87AC
    Key-Arg   : None
    Start Time:<PHONE_NUMBER>
    Timeout   : 300 (sec)
    Verify return code: 0 (ok)
---
DONE

You have to specify the certificates file: /usr/local/bin/openssl s_client -connect youtube.com:443 -CAfile /usr/local/etc/openssl/cert.pem.

Btw, does this mean my whole computer/internet is insecure?

No (I didn't want to scare you ;)), OS X and Firefox don't use openssl. It just means that the homebrew provided openssl (and everything that use it: wget, python, youtube-dl) can't verify if the youtube certificates are correct.
You'll probably get a better support from Homebrew, since they probably know better how to fix it.

Ah, ok thanks.

You have to specify the certificates file: /usr/local/bin/openssl s_client -connect youtube.com:443 -CAfile /usr/local/etc/openssl/cert.pem.

When you say /usr/local/bin/openssl did you actually mean /usr/local/etc/openssl like you used in the rm command? the local/bin/openssl folder doesn't exist. Just wanted to check before running this command.

Sorry, when you have openssl installed with homebrew you have to run /usr/local/opt/openssl/bin/openssl s_client -connect youtube.com:443 -CAfile /usr/local/etc/openssl/cert.pem (instead of just openssl s_client -connect youtube.com:443), because by default it doesn't make it directly available as openssl.

Hmm, this is what I get when I enter that command (thanks so much for continuing to help me with this, btw). Also, I have to keyboard escape out of it to get back to my bash prompt for some reason.
testenv3 > /usr/local/opt/openssl/bin/openssl s_client -connect youtube.com:443 -CAfile /usr/local/etc/openssl/cert.pem
CONNECTED(00000003)
depth=2 C = US, O = GeoTrust Inc., CN = GeoTrust Global CA
verify error:num=20:unable to get local issuer certificate
---
Certificate chain
 0 s:/C=US/ST=California/L=Mountain View/O=Google Inc/CN=*.google.com
   i:/C=US/O=Google Inc/CN=Google Internet Authority G2
 1 s:/C=US/O=Google Inc/CN=Google Internet Authority G2
   i:/C=US/O=GeoTrust Inc./CN=GeoTrust Global CA
 2 s:/C=US/O=GeoTrust Inc./CN=GeoTrust Global CA
   i:/C=US/O=Equifax/OU=Equifax Secure Certificate Authority
---
Server certificate
-----BEGIN CERTIFICATE-----
MIIHgzCCBmugAwIBAgIILW9oBp50RiIwDQYJKoZIhvcNAQEFBQAwSTELMAkGA1UE
BhMCVVMxEzARBgNVBAoTCkdvb2dsZSBJbmMxJTAjBgNVBAMTHEdvb2dsZSBJbnRl
cm5ldCBBdXRob3JpdHkgRzIwHhcNMTUwNDIyMTMyMTQwWhcNMTUwNzIxMDAwMDAw
WjBmMQswCQYDVQQGEwJVUzETMBEGA1UECAwKQ2FsaWZvcm5pYTEWMBQGA1UEBwwN
TW91bnRhaW4gVmlldzETMBEGA1UECgwKR29vZ2xlIEluYzEVMBMGA1UEAwwMKi5n
b29nbGUuY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAgDJKgSnX
rfthwCCB0gc5KDN02J+Uj2xgKeFusyLnCtCv/QYKJjXDXYceViX9aF+GSFZZe1GK
uNP0qYh8/v31zTz0SE5UaQyn9uqz33wwU43Af94J5nnjA6PCZrNnHzhOaDputEgO
y3UwEPSgatVhcVEgdqXeisQOnG7SpRuzfMs/HEsiSmc784+rSBAZKktspXDdh9BK
B84vT7MqdJQKYdqENyqzdnJiqqNieXlcVYDcCVqf/VqoS2zmq1UaZuhBBhi+Q8ef
C5XmniLVKnmAtRktwux1khRV4W1axoEShipaolhww8X2FyiYou0/IUUGRRMOfzwD
5myRr2feJkOFAwIDAQABo4IEUDCCBEwwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsG
AQUFBwMCMIIDJgYDVR0RBIIDHTCCAxmCDCouZ29vZ2xlLmNvbYINKi5hbmRyb2lk
LmNvbYIWKi5hcHBlbmdpbmUuZ29vZ2xlLmNvbYISKi5jbG91ZC5nb29nbGUuY29t
ghYqLmdvb2dsZS1hbmFseXRpY3MuY29tggsqLmdvb2dsZS5jYYILKi5nb29nbGUu
Y2yCDiouZ29vZ2xlLmNvLmlugg4qLmdvb2dsZS5jby5qcIIOKi5nb29nbGUuY28u
dWuCDyouZ29vZ2xlLmNvbS5hcoIPKi5nb29nbGUuY29tLmF1gg8qLmdvb2dsZS5j
b20uYnKCDyouZ29vZ2xlLmNvbS5jb4IPKi5nb29nbGUuY29tLm14gg8qLmdvb2ds
ZS5jb20udHKCDyouZ29vZ2xlLmNvbS52boILKi5nb29nbGUuZGWCCyouZ29vZ2xl
LmVzggsqLmdvb2dsZS5mcoILKi5nb29nbGUuaHWCCyouZ29vZ2xlLml0ggsqLmdv
b2dsZS5ubIILKi5nb29nbGUucGyCCyouZ29vZ2xlLnB0ghIqLmdvb2dsZWFkYXBp
cy5jb22CDyouZ29vZ2xlYXBpcy5jboIUKi5nb29nbGVjb21tZXJjZS5jb22CESou
Z29vZ2xldmlkZW8uY29tggwqLmdzdGF0aWMuY26CDSouZ3N0YXRpYy5jb22CCiou
Z3Z0MS5jb22CCiouZ3Z0Mi5jb22CFCoubWV0cmljLmdzdGF0aWMuY29tggwqLnVy
Y2hpbi5jb22CECoudXJsLmdvb2dsZS5jb22CFioueW91dHViZS1ub2Nvb2tpZS5j
b22CDSoueW91dHViZS5jb22CFioueW91dHViZWVkdWNhdGlvbi5jb22CCyoueXRp
bWcuY29tggthbmRyb2lkLmNvbYIEZy5jb4IGZ29vLmdsghRnb29nbGUtYW5hbHl0
aWNzLmNvbYIKZ29vZ2xlLmNvbYISZ29vZ2xlY29tbWVyY2UuY29tggp1cmNoaW4u
Y29tggh5b3V0dS5iZYILeW91dHViZS5jb22CFHlvdXR1YmVlZHVjYXRpb24uY29t
MGgGCCsGAQUFBwEBBFwwWjArBggrBgEFBQcwAoYfaHR0cDovL3BraS5nb29nbGUu
Y29tL0dJQUcyLmNydDArBggrBgEFBQcwAYYfaHR0cDovL2NsaWVudHMxLmdvb2ds
ZS5jb20vb2NzcDAdBgNVHQ4EFgQUiM602EJkc9+TR6CsmcXD7cBI35YwDAYDVR0T
AQH/BAIwADAfBgNVHSMEGDAWgBRK3QYWG7z2aLV29YG2u2IaulqBLzAXBgNVHSAE
EDAOMAwGCisGAQQB1nkCBQEwMAYDVR0fBCkwJzAloCOgIYYfaHR0cDovL3BraS5n
b29nbGUuY29tL0dJQUcyLmNybDANBgkqhkiG9w0BAQUFAAOCAQEAUi0NYc8EEax2
6DpqB9ZWYQTbgmIADA2ksPZtJ1MUJXbENoUlILIcv4qFgoPXqZPDLhuBZ+aJmfXL
3H4Z4piBAZC11nGioZaubKxqYa/ujKgmnjYeGaFGPWocYZOw2RmZwp/RLaMP64JH
Y6QgyEZlbX//lV6e4PjFSnr0y90Ksrl1PsvwUFV8dTfhI079OXtqD6sqEEf+uRao
7HHH50ZKGkb1Aa5e8xXx9DOo6siyAEVRGb1+uxnGsPZW2v3UmNPXmp5YdKmPifxT
5lGe54TepRde2y+UvsyeFAjroSnm10fnkj777peFg/sK3Gs1tAbNgw6SDOPVnvBz
q59oNKUisw==
-----END CERTIFICATE-----
subject=/C=US/ST=California/L=Mountain View/O=Google Inc/CN=*.google.com
issuer=/C=US/O=Google Inc/CN=Google Internet Authority G2
---
No client certificate CA names sent
Peer signing digest: SHA512
Server Temp Key: ECDH, P-256, 256 bits
---
SSL handshake has read 4500 bytes and written 474 bytes
---
New, TLSv1/SSLv3, Cipher is ECDHE-RSA-AES128-GCM-SHA256
Server public key is 2048 bit
Secure Renegotiation IS supported
Compression: NONE
Expansion: NONE
No ALPN negotiated
SSL-Session:
    Protocol  : TLSv1.2
    Cipher    : ECDHE-RSA-AES128-GCM-SHA256
    Session-ID: BE12D954ABDF74775FCCDBD467C6494D2F5F93FC5C582F6086B42CB7F5A3C5CD
    Session-ID-ctx:
    Master-Key: 57AB75014EBE5C3CF5B617033D2EAFCA29780953F00FAE65C7BA9945202474717AA713F7E79B51C88007DE2A88559F62
    Key-Arg   : None
    PSK identity: None
    PSK identity hint: None
    SRP username: None
    TLS session ticket lifetime hint: 100800 (seconds)
    TLS session ticket:
    0000 - 6e 35 b6 f5 87 7f fc 8c-bd 57 35 a3 b9 89 15 4d   n5.......W5....M
    0010 - fe 9b d1 cf 05 7e b1 46-66 06 83 cd 83 ec ea f7   .....~.Ff.......
    0020 - 3f 2a a5 56 97 b3 76 c1-0d eb a4 d4 57 fd bb 23   ?*.V..v.....W..#
    0030 - a6 5a ea 63 17 cd 8d 47-f1 80 a5 d9 c8 74 d7 0f   .Z.c...G.....t..
    0040 - b2 f7 63 5a 9a fd 0f 2f-3d 95 96 07 54 89 51 cf   ..cZ.../=...T.Q.
    0050 - 7b d2 79 3f 9b ff 14 ed-af d8 cf dd 29 bd de 3d   {.y?........)..=
    0060 - 70 c1 ff 6b 5d d3 78 a7-62 f4 df 25 05 be 2c 94   p..k].x.b..%..,.
    0070 - 96 20 54 a2 70 8d 25 5c-75 93 ab f1 0b 1a 2a 29   . T.p.%\u.....*)
    0080 - 5b 1c 2c fb 64 80 73 84-c7 0a 27 f9 57 39 d0 81   [.,.d.s...'.W9..
    0090 - df dd 17 ff 3e 0a 37 5e-32 d3 8b 65 49 6f a4 e9   ....>.7^2..eIo..
    00a0 - cf 01 76 3b                                       ..v;

    Start Time:<PHONE_NUMBER>
    Timeout   : 300 (sec)
    Verify return code: 20 (unable to get local issuer certificate)
---

The important info is in the last line Verify return code: 20 (unable to get local issuer certificate), when the certificate can be verified it prints Verify return code: 0 (ok). As I said: you should try to get help in the Homebrew issue tracker, I only have OX 10.9 so I can't offer too much help. Alternatively you could try the official python builds at https://www.python.org/downloads/, but you loose the ability to use Homebrew for managing it.

Also, I have to keyboard escape out of it to get back to my bash prompt for some reason

It reads from stdin and sends that message, that's why echo | ... was used in your first example to send an empty message.

So the python 2.7.9 build I'm using is installed through homebrew. However, the python 3.4.3 version I also tried was installed into a virtualenv through pip. This should act like an officialy python build, right?
I think to fully rule this out I should try testing this with my mac's built in 2.7.6 python but I'm not sure how to specify this through Terminal (since the 2.7.9 brew version overrides the system 2.7.6).
I tried ~ > /usr/bin/python wget 'https://www.youtube.com/watch?v=Cgm3r-G0cMQ' for example where /usr/bin/python is my 2.7.6 location but I got a folder not found error. I went into the /usr/bin/python shell and entered wget 'https://www.youtube.com/watch?v=Cgm3r-G0cMQ' and it didn't recognize it.
How exactly would I tell Terminal to Run wget/ or youtube-dl but use mac's system 2.7.6 python instead of homebrew's 2.7.9?

How exactly would I tell Terminal to Run wget/ or youtube-dl but use mac's system 2.7.6 python instead of homebrew's 2.7.9?

/usr/bin/python $(which youtube-dl). But keep in mind that python 2.7.6 can't check for certificates, so it's like running youtube-dl with --no-check-certificate.

Ah, ok. So much for that plan, lol.


Can't have a Bogus FinishWith configured

Since Bogus allows only a single FinishWith method, the way AutoBogus works its magic makes it impossible for someone to configure a FinishWith for a Type like this:
public class PersonBuilder : AutoFaker<Person>
{
//    ... props
}

// ...
var personBuilder = new PersonBuilder().FinishWith((f, p) =>
{
    // something
})
.Generate();

This is common in a scenario where a property doesn't have a setter and has to be configured through methods. So something like this:
public class PersonBuilder : AutoFaker<Person>
{
    public PersonBuilder WithAddresses(int count = 1)
    {
        // store how many addresses must be generated
    }

    public PersonBuilder WithEmails(int count = 1)
    {
        // store how many emails must be generated
    }

    // other methods for Collections without setter

   public override Generate(string ruleSets = null)
   {
        FinishWith((f, p) =>
        {
            // Calls methods that populate Addresses, Emails, etc.
        });
   }
}

From what I looked at the code, the culprit is this line.
I see a few ways this could be fixed: Bogus could allow multiple finalizers (I don't see why this isn't allowed anyway), or AutoBogus could execute that code in a different way.
What do you think? Is this something that should be improved?

Hey @akamud
Yes, the FinishWith() handler is hijacked to populate the empty properties once the Faker Generate() method has done it's thing. I think there are a couple of options to explore:

AutoBogus doesn't hijack the FinishWith() and instead invokes the finishing logic separately after the internal Generate() is called. I would also remove the use of CreateActions() and invoke that separately.
Bogus extends the FinishWith() to allow for multiple handlers. There are also create handlers that could possibly be changed to allow multiples.
Bogus changes access to FinalizeActions field so it is not internal. As with 2, this could probably be inclusive of the creation handlers. We can then extract the configured finish handler and call it from within the AutoBogus finish handler.

I think some insight from @bchavez would be helpful is deciding a path (as i'm not sure of the impact for 2 and 3). However, I am inclined to think that 1 is the best approach, as there is no strict need to use the CreateActions() and FinishWith() methods.
Nick.

@akamud
I have decided to go with option 1 as some code review has shown room for improvement in that area. I will get on this ASAP and let you know when a new version is available.
Nick.

Hey @nickdodd79 @akamud,
I really apologize for the delay. I've been busy preparing for job interviews at a few places. Also been thinking a lot about moving Bogus to the .NET Foundation as part of their new Project Maturity Model announced early this week at .NET Conf; mostly as a move to gain more users and as a way of establishing confidence for bigger businesses. @nickdodd79 , if you'd like to be a part of it and you think it's right for you, please send me an email and we can talk more about it. Essentially, PML Level 3 and 4 require more than 1 maintainer on the project.
As for Bogus having multiple .FinishWith methods, I'm not sure. The conceptional API usage for Faker<T> is that the last-call wins. IE:

Faker<T>.RuleFor(x.Prop, f => 1) and then if the same rule for the member is specified again,
Faker<T>.RuleFor(x.Prop, f => 2) that f => 2 wins and f =>1 rule is over-written.

The same conceptual API consistency applies to .FinishWith( f, t =>); last-call wins.
At least from Bogus' point of view; I'm not sure how helpful keeping track of past rules is important to Faker<T> other than in this specific case here.

Do we modify Faker<T> to allow this implementation detail scenario? I'm not sure yet but inclined to think maybe not, but I'm open to discussing more. My mind can always be changed.

One method to a possible workaround for this issue is for AutoBogus to store a reference to any finalizers being kept track in Faker<T> and call them after AutoBogus is done hooking FinishWith. For sure, I can help with this by opening up some kind of accessor to a member if anything is private. But it seems like we already have that protected accessor set: https://github.com/bchavez/Bogus/blob/master/Source/Bogus/Faker[T].cs#L54
Lastly, another possibility if we want to get crazy hard-core about it; any Action is really a delegate under the hood; specifically, a multi-cast delegate? So, as a crazy C# hack, you technically can combine two Action methods in C#; like this check it out:
void Main()
{
   Action a = () => "Hello A".Dump();
   Action b = () => "Hello B".Dump();
   Action c = a + b;
   c();
}

Hello A
Hello B

IIRC, under the hood, the C# compiler will use Delegate.Combine(a,b) to produce c. Thereby hacking your way around this neat little problem. :smiling_imp: Specifcally, get the FinalizeAction.Action and attach your custom hook ... might work?
Let me know your thoughts.
Thanks,
Brian
:mount_fuji: :man_playing_water_polo: Creedence Clearwater Revival - Green River

Hey @bchavez
Thanks for your input. Having reviewed the AutoBogus code, I have decided the best path is to not use the Bogus handlers and invoke any finalize actions separately. There are some use cases, where this approach would be better and also simplifies the changes needed.
Thanks for the invite to join the project - I will fire over an email.
Nick.

Hey @akamud
Apologies for the delay in getting a fix out for this. There have been several events, commitments and deadlines I have had that have stolen my time. I was hoping to have a new v3 out that made changes around the FinishWith, but finding enough time to make traction on it has been hard. I have some spare time over the next few weeks, so I am hoping to update v2 to as a quick fix.
Thanks for your patience.
Nick.


Add default messages to common contract rules

WHEN
Contract .Required() .HasMinLen(x => x.Name, 3)
AND
x.Name = "A";
THEN
// output: "Name must have at least 3 characters" ... or so.

Moved to version 2.0! Check milestones!

Version 2.0.0 released, thanks!


ttyd reconnection reset issue

Describe the bug
I use ttyd to compile package in remote pc. sometimes ttyd reconnects, causing the whole compilation to be killed.
To Reproduce
Steps to reproduce the behavior:

Create a github actions yml with following content and run it.

on: workflow_dispatch

jobs:
  hello_world_job:
    runs-on: ubuntu-24.04
    steps:
      - uses: fawazahmed0/action-debug@main

url to access terminal will be printed in github actions log. username and password is admin
execute consuming compilation process
After sometime(can take 1-2 hours) the ttyd reconnects, causing the whole compilation to get killed.

Expected behavior
On reconnection, it should continue and not kill the compilation
Additional context
fawazahmed0/action-debug@main package uses ttyd & cloudflare tunnel

It may be caused by network connection issues or your actions container is killed by github.
ttyd uses Websocket ping to keep alive, it should be supported by most browsers.


fix!: forbid to change information_schema

I hereby agree to the terms of the GreptimeDB CLA.
Refer to a related PR or issue link (optional)
close #3653
What's changed and what's your intention?
As title. Following ops in information_schema are forbidden in this patch:

create, drop and truncate tables
drop database
insert into/delete from tables

Updated some sqlness tests for it.
Checklist

[ ] I have written the necessary rustdoc comments.
[ ] I have added the necessary unit tests and integration tests.
[ ] This PR requires documentation updates.

Summary by CodeRabbit

New Features

Introduced error handling for read-only schemas and tables.
Added checks to prevent operations on information_schema.

Bug Fixes

Modified SQL scripts to correctly handle schema switching and table operations.

Tests

Updated test cases to reflect changes in schema operations and error handling.

Updated with a read-only check function, error code and some sqlness tests. PTAL @killme2008
I forgot to sync the clock before commit, so it may be a little strange that f336170bcdada6c332fddd3be2108728a9d473a6 is ahead of the comments QaQ.


Release fast lane

Added preperation for maven central release
Refactored bits of code
Added example server implementation
Added (some kind of) HATEOAS links
Added links from root resource '/'
Fixed issues & Added tests

LGTM

:+1:

:+1:

Resolved Paging links issue

LGTM

:+1:


Migrate from TravisCI to Github actions

Includes:

https://github.com/wvanbergen/scoped_search/pull/207
https://github.com/wvanbergen/scoped_search/pull/210

Hello! I am :+1: on moving to GH Actions because Travis appears to be dead.
I am on a sabbatical though, so if somebody else could make this happen that would be great. :tada: If I need to do anything to get GH actions working, let me know.
As for the test matrix, I'd suggest to stick with the supported Ruby and Rails version.

For Ruby, only 2.7 and 3.0 are currently supported.
The oldest Rails version that is still supported is 5.2.

I am OK dropping support for all the older versions of Ruby and Rails.

I am on a sabbatical

Thank you for chiming in even on your time off, but please don't let us take any more of it away from you :)

if somebody else could make this happen that would be great.

No worries, leave that to us.

If I need to do anything to get GH actions working, let me know.

If I recall correctly there's nothing that needs to be done, apart from certain files existing inside the repo. We'll handle this

As for the test matrix, I'd suggest to stick with the supported Ruby and Rails version.
I am OK dropping support for all the older versions of Ruby and Rails.

Ack

The tests are now green https://github.com/adamruzicka/scoped_search/runs/4105108992


[Flaky Test] tests/python/contrib/test_ethosu/test_codegen.py::test_mean[ifm_shape0-axis0-True-False-ethos-u65-256]

These tests were found to be flaky (intermittently failing on main or failed in a PR with unrelated changes). See the docs for details.
Tests(s)

tests/python/contrib/test_ethosu/test_codegen.py::test_mean[ifm_shape0-axis0-True-False-ethos-u65-256]

Jenkins Links

https://ci.tlcpack.ai/job/tvm/job/main/3414/display/redirect

issue to still present (see #12956), but closing to consolidate on #12634


Rasa X custom action found in domain but not in training data

Rasa version: 1.1.4
Rasa X version: 0.20.0
Issue:
I'm migrating existing bots to Rasa X and I'm receiving warnings under the Domain section of the UI for response templates/utterances associated with custom actions. The warning is:
The action utter_xyzzy was found in the domain but is missing in the training data
training data in this case is referring to the bot stories and the message is correct that I don't have any example stories that use utter_xyzzy.
The problem is, I've never seen any Rasa docs or example bots where utterances associated with custom actions are used in stories. The Rasa documentation for custom actions shows stories associated with the custom actions and these stories don't include the custom action utterances.
I also reviewed the recent medicare_locator example bot which has some custom actions and associated utterances and there are no stories that show the utterances.
I think either these warnings should be removed or the Rasa docs and migration/upgrade documentation needs to address the value or requirement for stories that use these custom action utterances. Is there any value in putting the utterances in these stories? My thinking is that it's not a good idea because the utterances are coded into the bots actions.py file and that putting it into stories is an unnecessary duplication.

Thanks for the issue, @tmbo will get back to you about it soon!
You may find help in the docs and the forum, too 🤗

I think the warning is correct, it is referring to the actions section, not the templates:

you need to list all your utterance in the templates section
only if you are using the template directly as an action, you need to list it in actions

So in your case, you only need to list the templates in the templates section and remove them from the actions list (it has always been like that, in earlier versions there was no warning though).

Thanks, I think my confusion is in the use of the term training data in the message.
It would be more helpful to the user if the message said:
The action utter_xyzzy was found in the **actions** but is missing in the **templates**
I also have instances where my data is in the template but missing in actions so it would be more clear if that message said:
The action utter_xyzzy was found in the **templates** but is missing in the **actions**

I just updated to 0.20.2 and am having more problems with importing response templates. I have about 300 response templates in a domain.yml. Of those 10 are used as a template in an action.
If I remove the 290 that are not used as templates in actions, I get 290 errors stating that the template is missing from the domain. If I click on the Copy to the domain option next to the warning, it adds the template to the actions section but @tmbo stated above that it should not be in the actions section, only the templates section.


CSS variables and animation keyframes

Hello! While testing out the CSS variables I ran into an odd problem: the CSS variables seem to not be parsed inside animation keyframes.
Here's a jsbin describing what I was trying to do.
Is this a bug inside Polymer's parser or is this not even covered in the CSS variables spec? How would one go about making an animation inside shadowDOM customisable with the current CSS variables/mixins system?
Cheers.

Duplicate of #2399. I think this is a limitation/bug in Polymer's custom properties shim.
Maybe @sorvell or @notwaldorf can comment, but I think the current answer is that you can't currently customize anything inside the keyframe.

I'm also noticing keyframes for CSS Variables not being parsed in this codepen
http://codepen.io/jpdevries/pen/MKbrrX?editors=110
best viewed in Firefox 42.0


Handle media correctly

Currently the media attribute on links is ignored. https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleSheet/CSSStyleSheet Also it should handle it being changed. I'm thinking of the old Scott Jehl async loading trick https://www.filamentgroup.com/lab/load-css-simpler/ Hopefully observedAttributes will work with media.

Fixed


Closed formula for grade-up XP breakpoints

The XP needed to "level up" is currently manually defined for each discipline (in xp_grade_breakpoints.csv). This is somewhat susceptible to human error each time we tweak things, and adds another thing we need to consider when new content is added.
It'd be great if, instead, we had a way to define these breakpoints with a formula that takes simple inputs.
It would definitely need to take as input some "difficulty" measure of the discipline (i.e. a linear function). There's a chance this is the same (or at least closely related to) the "prestige" multiplier, currently stored in xp_prestige.csv. Or maybe, we want / need a second degree component (i.e. x + y*y).

Eh, I feel like this is probably not a good use of time, actually. #50 seems like a better thing to focus on, wrt. progression.


Convert defaultCommand to defaultTask, allow usage for non-command tasks

This would allow us to e.g. move the default for test modules to .testCached rather than .test, and is generally a straightforward generalization

Huh, this must be new. I accidentally tried it multiple time with older Mill versions. Great news. We should document it, though.


Best way to italicize?

Hi, sorry not really an issue, but I'm looking for an easy way to italicize keywords within my code. I tried embedding  tags, but they just get ignored (don't even show in document tree once loaded).
Anyone know hot to italicize within the code? thanks

See #558.

If you mean existing keywords. you can just do .token.keyword { font-style: italic; } in your CSS.
If you mean keywords that are not highlighted in the language, you can use the API, but I will need more details to provide a code example (e.g. what language are you using?)


can it support  android4.0?

I really like this effect It supports the android version 4.0,?

You can use  lib CircularReveal to support device that 2.3+

SDK requirements already reduced to 15. For support old devices via CircularReveal library you can clone repo and fix code by yourself, it's very simple.
By supporting very old versions, you slow down the process of moving users to the new software.


add validation client id

@secumod, mind looking at input sanitization with extreme precision you're capable of? ;)


Rework creation of when clauses to avoid the need for manual re-ordering and pattern filling

In progress in #1040

Closed by #1040


Lbry writes cache in the ~/.config file instead of ~/.cache

Bug
Under Linux, the cache of applications is usually written to ~/.cache while the ~/.config directory shouldn't keep large amounts of temporary data.
Lbry writes unexpectedly its cache into the ~/.config directory:
$ cd ~
$ du -chd1 .config/lbry/Cache/
64K	.config/lbry/Cache/index-dir
189M	.config/lbry/Cache/
189M	total

To Reproduce
Steps to reproduce the behavior:

Run lbry
check ~/.config/lbry directory for cache entries

Expected behavior
Lbry should only write cached data to ~/.cache.
System Configuration

LBRY Daemon version: 0.88.0
LBRY App version: 0.49.5
Operating system: Linux (Linux-5.11.2-arch1-1-x86_64-with-arch)

This is a bug in the electron framework we use and it hasn't been addressed yet. https://github.com/electron/electron/issues/8124
If it's different, please reopen.


Update Remove-SPWeb.md

Fill in placeholder

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sharepoint/sharepoint-ps/sharepoint-server/Remove-SPWeb.md
:white_check_mark:Succeeded
View (sharepoint-ps)

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


Remove team member from Teams Page

[ ] Remove David Yap from Design Team
[ ] Remove Mar Nina from Marketing Team
[ ] Remove Ijeoma from Marketing Team
[ ] Remove Chibuzor from Marketing Team
[ ] Remove Martyn from New User Operation team

Could not find: Mar Nina from Marketing Team

Could not find: Mar Nina from Marketing Team

Mar Nina sounds similar to Mr9tynine from the teams page, but not sure. @kristykjlee can you verify?

Waiting for @kristykjlee to verify.


docs: add warning for transient state nodes

I shot myself in the foot with transient state nodes, thinking that the event that originates a transition is available in all conditions and actions defined in the null event.
This is probably obvious for some, but I think it's a good warning to have in the docs.

Hmm, I feel like the null event should probably include the event data. Do you have a use-case where you would expect this? Might be a bug/missing feature.

I created a gist for you. See UPDATE_AMOUNT on line 107, which triggers the editing transient state, which performs a few checks for the input value to be valid.

Could you fork this codesandbox - https://codesandbox.io/s/heuristic-dawn-w6fnp (created based on your gist) - and create a situation there which you observe?
An important note is also that currently you indeed might get NULL event in guards, actions, etc but in the future this won't be the case - NULL event doesn't exist (kinda) and should never be surfaced to user's code. In the future (to be compliant with SCXML) you will be given an event that leads to transient state evaluation (so in this case you would get UPDATE_AMOUNT event)..

Here's the CodeSandbox. See line 25 in machine.js.
The logs for the value of the input string in both the context and event objects:

This was (is) buggy behavior in v4 and will be fixed in v5: https://github.com/statelyai/xstate/pull/2824


Windows 10 Home, Hyper-V role supported

This is contradicting. I have a Windows 10 Home version on my notebook, and by looking at the System Information, all 4 items for Hyper-V says 'Yes'.

If all listed Hyper-V requirements have a value of Yes, your system can run the Hyper-V role.

https://docs.microsoft.com/en-us/virtualization/hyper-v-on-windows/reference/hyper-v-requirements
Is this outdated?

We hugely appreciate your contribution, feedback, and support to our technical documentation.
We’ve phased out GitHub Issues on this repository as the feedback mechanism for content and have replaced it with a new feedback system. For more information see, Content User Feedback. As part of this rollout, we are migrating your issue where our team will use your comments to improve the documentation experience. Unfortunately, this does mean you won't be able to access this issue after the migration is complete.
All issues will be migrated by Thursday 29th August 2024.
Once again, thank you for your valuable feedback, we hope you’ll continue to contribute using our new feedback system.


focus_follows_mouse best practices?

I love focus_follows_mouse. It saves me loads of superfluous mouse clicks per day. But I have noticed that some applications render context menus as separate windows, which means as soon as you attempt move the mouse into the menu it immediately closes as the focus shifts to the main application when when your mouse moves, thus deactivating the menu window which automatically closes.
Zoom and IntelliJ do this. In zoom, if you click the audio menu and attempt to move the mouse into the menu, it closes the menu. In IntelliJ the same happens for many of the smaller "click-to" windows, like those reference windows. For IntelliJ I created this rule to help:
https://github.com/hypergig/workstation/blob/master/config/yabairc#L33
But it isn't perfect. In practice, the mouse moving takes me by surprise and I lose my mental mapping of where it should be on the screen, and nearly always accidently move the mouse out of the subwindow causing it to vanish.
So my question is, what are other people doing that also use focus_follows_mouse? Are there any rules or signals that would help the user experience? Is there a way to tell yabia some particular windows should be considered a menu window and thus, don't behave like a normal window and close when the focus changes?

Holding down mouse mod key disable focus follow temporary
yabai -m config mouse_modifier               ctrl

Holding down mouse mod key disable focus follow temporary
yabai -m config mouse_modifier               ctrl

yeah yeah, and i have tried this with a few modifiers.. the issue is in some IDEs (like intellij) those modifier clicks mean something too and they interfere

In v4.0.0, focus follows mouse should be automatically disabled when a context-menu is opened.


Initial documentation build

Continuation of #243
Website should deploy at https://open-aims.github.io/ADRIA.jl

@Rosejoycrocker https://open-aims.github.io/ADRIA.jl/previews/PR244/
Fingers crossed I have it correctly set up now so docs for main build when you approve and merge.

Oh cool, looks great! So the documentation for functions and stuff can be automatically integrated with this also?

That's its purpose, yes.

Do you have any more changes or can I merge?

Go ahead and merge, I'll set up a docs branch to continue working there.


Playback speed

There should be a property to set playback speed. A float for example with default value of 1 ...

Vlc support that?
If Vlc support it, we will support it.

Yes it does. When playing a video file in VLC Media Player, there is "Speed" under "Playback" in the right click menu.

Ummm...I can‘t find a API in LibVlc about "Playback speed".

Try libvlc_media_player_set_rate:
http://www.videolan.org/developers/vlc/doc/doxygen/html/group__libvlc__media__player.html#gaa81be3afb20eddedf7ae56e98d4b1e06

Ohhh...I see.
We have "VlcMediaPlayer.Rate" Property.
I will add it to "VlcPlayer" later.


Recover type reference information for table and object constructor

Purpose
Fixes #37650
Fixes #37723
Approach
Use reference type for constructor if it is available.
Samples
type BTable table<map<int>>|Bar3;

type Bar3 table<Bar>key(a);

type Bar record {
    readonly string a;
};

public function main() {
  BTable tab = table key(a) [{a : "a"}];
}

Type for the constructor is reference type Bar3.
Check List

[x] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Shall we add a one small test to cover bir path?

Shall we add a small test to cover bir path?

Updated babbd8c2f1291967884ae370027e5e0e2004a5d1


Question about glob implementation

Currently the default implementation of glob is handwritten for this package, and relies on find and some custom regexes (which have given problems in the past/currently). An alternative implementation may be similar to what we used to have in dask. This is based on the implementation in CPython, passes all their tests, and relies on the following standard filesystem methods:

ls
isdir
exists

Is there a reason to prefer the implementation in this repo over the one generalized from CPython we used to have in dask? Would it be worth investigating using the other version?

If memory serves, that version does not implement ** and does not escape regex characters correctly. May we worth another look.

Are there any examples of how glob currently works?
Clearly this doesn't.:
import fsspec
fs = fsspec.filesystem('s3', anon=True)
fs.ls('prd-tnm/StagedProducts/Elevation/1/TIFF')
fs.ls('prd-tnm/StagedProducts/Elevation/1/TIFF/n06*')

You need to actually call fs.glob, ls does not evaluate wildcards.

Oh, duh:
fs.glob('prd-tnm/StagedProducts/Elevation/1/TIFF/n06*')

In [8]: s3.glob('prd-tnm/StagedProducts/Elevation/1/TIFF/n06*')
Out[8]:
['prd-tnm/StagedProducts/Elevation/1/TIFF/n06e162',
 'prd-tnm/StagedProducts/Elevation/1/TIFF/n06e163']

OK?

for some reason this hangs:
s3.glob('janelia-cosem/*')
while the equivalent s3.ls() command finishes essentially instantly. Any idea what's going on?

Would you mind trying with fsspec master and s3fs master? I believe this is fixed and may have to do with the exact version combination you have.

master is working as expected for me, thanks for the tip!

I'll put a set of releases on my to-do


Does LEDC share the channels between different timers? (IDFGH-10414)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report
I have an issue with my camera and flash application on an ESP32 platform. If I use the following configuration for the LEDC for the flashlight and the camera my code runs without an issue:
static ledc_timer_config_t _Camera_Flash_LEDC_Timer = {
    .speed_mode       = LEDC_LOW_SPEED_MODE,
    .duty_resolution  = LEDC_TIMER_8_BIT,
    .timer_num        = LEDC_TIMER_2,
    .freq_hz          = 10000,
    .clk_cfg          = LEDC_AUTO_CLK
};

static ledc_channel_config_t _Camera_Flash_LEDC_Channel_White = {
    .gpio_num       = PIN_LED_WHITE_FLASH,
    .speed_mode     = _Camera_Flash_LEDC_Timer.speed_mode,
    .channel        = LEDC_CHANNEL_1,
    .intr_type      = LEDC_INTR_DISABLE,
    .timer_sel      = _Camera_Flash_LEDC_Timer.timer_num,
    .duty           = 0,
    .hpoint         = 0,
    .flags          = 0,
};

...

    camera_config_t CameraConfig;

    CameraConfig.ledc_channel = LEDC_CHANNEL_0;
    CameraConfig.ledc_timer = LEDC_TIMER_1;
    CameraConfig.pin_d0 = PIN_Y2_GPIO_NUM;
    ...

But if I change the configuration for the LEDC of the white flash to LEDC_CHANNEL_0 and LEDC_TIMER_2 the camera isn´t able to capture an image.
Why does this happen? My understanding is that each channel of each timer is independent, but it looks like channel 0 is connected between the timers.
Can someone explain it to me, please?

According to esp32s3 TRM pg. 1271, the timers are mutiplexed to the ledc channels. So I believe you should not use the same channel for different timers.

Hi @wuyuanyi135,
thank you! That explains my issue and confirmed my thoughts.


Can't get the valu to make ajax request on my databse.

Hi,
Can you please suggest me how can I get the input value to make a request on my database using Ajax.
Like this code:
$('textarea.mentions').mentionsInput({
     onDataRequest:function (mode, query, callback) {
       searchVal = query;
       $.ajax({
   type: "GET",
   dataType: "json",
   url: rootPath()+"user/tagFriends/"+searchVal,
   success: function(data){
    data = _.filter(data, function(item) { return item.name.toLowerCase().indexOf(query.toLowerCase()) > - 1 });
         callback.call(this, data);
   }

   });
     }
   });

Waiting for your reply.
Thanks,

Hello ivirabyan,
Yes it is question lol. Please help me to figure out the problem.
thanks

You can use source option:
    $('textarea.mentions').mentionsInput({
        source: function( request, response ) {
            $.ajax({
                url: rootPath() + "user/tagFriends/" + request.term,
                ... // other options
            });
        }
    });

Thanks for reply. I am testing now and I will let you know.

Hi,
thanks again. this code is working.
$('textarea.mentions').mentionsInput({
source: function( request, response ) {
        $.ajax({
            url: rootPath() + "user/tagFriends/" + request.term,
            type: "GET",
            dataType: "json",

            success: function(data){

            }
        });
    },
    showAtCaret: true

});

and success repose following:
[{"value":"Alan Farago","uid":"115"},
{"value":"Gala Scibelli","uid":"220"},
{"value":"Joe Valandra","uid":"301"},
{"value":"Linda Purdy","uid":"563"}]
But not showing in Autocomplete. Please tell me how to show in autocomplete list.
how can I set my response data as like your listing?
source: [
{value: 'alex', uid: 'user:1'},
{value: 'andrew', uid: 'user:2'},
{value: 'angry birds', uid: 'game:5'},
{value: 'assault', uid: 'game:3'}
],
showAtCaret: true
Please help me.

You should call response callback with the given data:
            success: function(data){
                  response(data)
            }

Or even easier:
success: response
Here is a complete example of query like yours: https://jqueryui.com/autocomplete/#remote-jsonp

Thank you so much. It is working.


fix multicore setting for acdc of acdc

fixes #8392

There is alternative implementation #8394
This doesn't change the current meaning of OriginalRequestType which actually means parent request type.

test this please

Alan stop working and enjoy your vacation.

replaced by #8394


Change license to MIT License

We had a discussion about that last week and we will use the MIT License from now an as it is more permissive and our main goal is to have maximum compatibility to user systems.
I have further added insert-license to pre-commit such that each file has now the MIT license added.
This is useful, as sometimes files are copied and the copyright would be missing then.
This also fixes issue #55

Codecov Report
Base: 53.22% // Head: 54.51% // Increases project coverage by +1.28% :tada:

Coverage data is based on head (d8aad86) compared to base (008fc2d).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #132      +/-   ##
==========================================
+ Coverage   53.22%   54.51%   +1.28%
==========================================
  Files          18       18
  Lines         635      653      +18
  Branches      150      150
==========================================
+ Hits          338      356      +18
  Misses        284      284
  Partials       13       13

Impacted Files
Coverage Δ

src/pymovements/base.py
93.93% <ø> (+0.18%)
:arrow_up:

src/pymovements/datasets/__init__.py
100.00% <ø> (ø)

src/pymovements/datasets/base.py
33.87% <ø> (+0.53%)
:arrow_up:

src/pymovements/datasets/gazebase.py
92.30% <ø> (+0.64%)
:arrow_up:

src/pymovements/datasets/judo1000.py
92.30% <ø> (+0.64%)
:arrow_up:

src/pymovements/events/__init__.py
100.00% <ø> (ø)

src/pymovements/events/base.py
100.00% <ø> (ø)

src/pymovements/events/engbert.py
67.50% <ø> (+0.83%)
:arrow_up:

src/pymovements/events/idt.py
56.25% <ø> (+1.41%)
:arrow_up:

src/pymovements/events/ivt.py
53.84% <ø> (+1.21%)
:arrow_up:

... and 26 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Humble master

Use humble version of ROS2 libraries to generate ROS2 messages and build SITL

Maybe not needed anymore to upgrade humble fastddsgen to old master branch as we are anyway already using the rebased main branch.


Localcart2

Created a guest cart option so a guest user can:

add items to cart
remove items to cart
update qt in cart

Updated cart store to use localstorage if the user is not logged in

Guest user still needs to log in to checkout

good.
fixed #75
fixed #47


about cuda_build_kdtree

Hi:
I follow the branch cuda_build_kdtree .I find there is a bug at pcd_scene.cu line 171 num_nodes_now_host = num_nodes_now_dev;
I change it to 'thrust::copy(num_nodes_now_dev.begin(), num_nodes_now_dev.end(), num_nodes_now_host.begin());' . But it have a bug, too.
Did you test this code?

I think you can not copy host to device like this:
//root
nodes_dev.resize(1);
Node_kdtree root_host;
root_host.left = 0;
root_host.right = pcd_buffer.size();
nodes_dev[0] = root_host;
nodes_dev in device but root_host in host

I can't remember if the codes are fully tested. I will have a look recently. For nodes_dev = root_host, it is a special thrust syntax, refering to thrust wiki

Interesting, after some debug, I find the error is simply because we should re-assign pointer after resizing the thrust vector. Adding this line should be OK.

Interesting, after some debug, I find the error is simply because we should re-assign pointer after resizing the thrust vector. Adding this line should be OK.

Thanks for that. I will continue to learn


Change priority range

Today @Starcounter-Jack suggested changing the priority range to 1-100 (and direction to ascending).
The goal is to avoid 0.00000000000001 hacks in case of tiles provided by different vendors.
With priorities still used as (real) Numbers, but advertised as in natural range, with somehow described steps, we would not block it technically, but we hope that naturally people will use numbers like 1,2,3. So instead of thin tailed exponential distribution, we will get something more log-normal.

I would suggest inverting the direction, and support technically priority from [0, +\infty], not to impose our use case on others, and advertise 1-100 in our application.

Reversing of the order will have immediate consequence on the existing layouts, which will appear in the inverted order. Such change needs to be well prepared in all apps that use default layouts.
Other than that I agree this is a nice idea.

By current direction, do you mean [0, +\infty] range with current direction, so:

0 means last
Number.POSITIVE_INFINITY means first?
I do not think it makes sense, as then there is no way to set the second item

Why would anyone use POSITIVE_INFINITY? I think the same principle is used in CSS (order, z-index) and there is no problem with it. The higher value comes first. Equal values come at the order of definition.
0 actually means baseline, so I can use positive values to move things above the baseline or negative values to move things below it.


Benable lines should fill

[X] I agree to follow the Code of Conduct that this project adheres to.
[X] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

I don't like the Add Shape... Freehand... options.  Shape requires code and freehand doesn't allow the poly to be edited.  Lines are amazing though.  I can bend them into any shape I want and connect the beginning with the end to make it look like a custom shape but.... I can't fill 👎   I can edit the svg code (developer tools in chrome) to make it fill so I know it's possible.  If it was possible to allow lines to fill we wouldn't need Shape... or Freehand... in most instances.

Hi,
Filling bendable lines is not possible at the moment i.e it is not possible to "make" shapes out of edges. In your case polygon and polyline shapes from a library can be used.

The freehand tool has a new brush option, https://twitter.com/drawio/status/1501886513327616003, they are filled polylines.


dals define data model

I created a new branch feature/#4-define-data-model
The file BeerGeekMenu.cs contains the data model.
The location inside the repo is beer-geek-menu/tree/main/backend/src/dals
closed #4

This task will be done in another repository


Injecting/Mocking User

For UI tests it would help a lot if we could inject a logged in user to oidc-client-ts. basically allow to inject an access token to skip the authentication flow.

The library is storing the user with its access token in sessionStorage or localStorage. The key of that storage item is defined like
oidc.user:${OIDC_AUTHORITY}:${OIDC_CLIENT_ID}
You should be able to inject the access token there and make sure somewhere in the beginning of your production code you call
await userManager.getUser(), which initiates the library with that data.

ah now I got it working. the getUser was the trick. I always tried to get it to work with setting the sessionStorage and then calling the signinsilent.
thanks!

Hmmm, I'm having the issue where my auth service is accessible via a VPN and the VPN is sometimes down so I want to bypass that during development. Is there a way to skip the signing redirect when I'm mocking my APIs?


Support more recent Java keywords

Java has added some more language keywords, including record. Let's update the stock parser to highlight these terms.

My mistake, after resolving some syntax errors in the rest of my .java file, VSCode now highlights record.


(bug) Handle at-sign in code block of doc comments.

Ref. #118977 Please see this issue. It's not fixed. It is marked as duplicate of https://github.com/microsoft/TypeScript/issues/38922. And should have been fixed by https://github.com/microsoft/TypeScript/pull/42364. But it is not fixed. Or am I missing something?
/**
 * The best decorator ever made.
 *
 * @todo Fix the "@" bug in code block.
 *
 * @example
 *
 * ```ts
 * class MyComponent {
 *   @SomeDecorator() myValue = 42; // <- This is the problem line.
 * }
 * ```
 */

 export function SomeDecorator() {}

The parser detects the at-sign as doc comment tag. But it's a part of the code. So we should ignore the code block.
Version: 1.58.0 (user setup)
Commit: 2d23c42a936db1c7b3b06f918cde29561cc47cd6
Date: 2021-07-08T06:54:55.083Z
Electron: 12.0.13
Chrome: 89.0.4389.128
Node.js: 14.16.0
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.19042

Workaround. Avoid @ sign.  But you see what format is expected.

Workaround. Avoid @ sign.

Sorry, I missed that it is the TypeScript repo. Should I move to this repo? I just wonder why this is not yet working. Is something to do in the vscode repo?

Yes please open an issue against TS if this is still not working as expected


Fix OpenCV linking in cmake

Related to issue in #26 of MaaDeps.
This PR:

make OpenCV as REQUIRED in find_package
link OpenCV with include_directories and target_include_directories

link OpenCV with include_directories

This seems unnecessary, it should be populated from the imported library.


RFC: Workflow Status Check

Signed-off-by: SiyuChen<EMAIL_ADDRESS>rendered markdown

As StatusCheck has been merged into master, I am going to merge this PR.


Healthcheck GET endpoint when running as web server

We run mock server in kubernetes and it's useful to have a readiness/liveness probe configured (i.e. provide a GET endpoint on mock server that returns a 2xx code when mock server is "ready" to serve requests).
I looked through the documentation but wasn't able to find if mock server provides such an endpoint. Right now we are using a static expectation to return 204, however when we do a reset, that also get's cleared which is inconvenient (as we need to keep setting that expectation over and over).
Does mock server have an endpoint to call that provides this functionality?
If not would it be possible to add one? Say a GET /health-check that returns 204 when mock server has been properly initialized (possibly in a different port so that there is no conflict possible with expectations being set?)

Yes I agree this makes sense, this is not currently supported but I can look into adding a second port for the entire control plane.  That way a health check could be easily achieved.

Voting for this issue too, got same issue and same solution with expectation GET /health.
We could transform the PUT /status into GET /status as there is no body to provide for this request

+1
Same issue for me and totally agree with @scierniak
By the way Thank you @jamesdbloom for your work! Really useful.

+1 we have the same issues with k8s. and solved it the same way with an 'special' expectation. And when ussing this work arround with a 'special' expectation you also get this log entries from the heath checks which are quite often in an k8s environment.

FYI as another workaround, we solved this issue by using a "command" instead of a "httpGet" into readiness/liveness probe:
"exec": {
"command": [
"/bin/bash",
"-c",
"curl -v -X PUT http://localhost:1080/mockserver/status"
]
}
Note: this solution does not increase logs

new feature requests now prioritised on Trello, so closing issue in GitHub, only bugs or unaccepted feature requests will stay in GitHub, so that new feature backlog can be more effectively managed, see: https://trello.com/c/11gZo41b/34-healthcheck-get-endpoint


[SPARK-17650] malformed url's throw exceptions before bricking Executors

What changes were proposed in this pull request?
When a malformed URL was sent to Executors through sc.addJar and sc.addFile, the executors become unusable, because they constantly throw MalformedURLExceptions and can never acknowledge that the file or jar is just bad input.
This PR tries to fix that problem by making sure MalformedURLs can never be submitted through sc.addJar and sc.addFile. Another solution would be to blacklist bad files and jars on Executors. Maybe fail the first time, and then ignore the second time (but print a warning message).
How was this patch tested?
Unit tests in SparkContextSuite

cc @rxin

Test build #65846 has started for PR 15224 at commit c65f94f.

Should we check more in addition to just mailformed urls?

Other places check malformedURIs already (since we always pass around URIs). We can check if the endpoint exists and everything, but that seems a bit heavyweight.

Maybe we also need the blacklisting in case of failures? Maybe they provide a valid URL that doesn't exist, or is unreachable?

cc @zsxwing for review ...

@zsxwing Thanks for the review. Addressed the nit.

Test build #65854 has started for PR 15224 at commit 49afc56.

Test build #65846 has finished for PR 15224 at commit c65f94f.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/65846/
Test PASSed.

Test build #65854 has finished for PR 15224 at commit 49afc56.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/65854/
Test PASSed.

Thanks. Merging to master and 2.0.


Update CTA

Set CTA for Engine Playground to "Deploy an Instance"
Problem solved
Update for DASH-535
Set CTA for Engine Playground to "Deploy an Instance"

PR-Codex overview
This PR focuses on adding deployLink properties to various pages and updating the EngineAPIHeader component to include a dynamic link for deploying instances.
Detailed summary

Added deployLink to webhooks, minting, and airdrop pages.
Updated EngineAPIHeader component to include a button linking to deployLink.
Removed hardcoded deploy link from the EngineAPIHeader.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

Merge activity

Dec 8, 3:33 PM EST: The merge label 'merge-queue' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.


AccessibilityManager: Cannot read property 'removeEventListener' of undefined

OS X, zshell, turn on VoiceOver, have terminal opened
Notice stack trace in the dev tools console:
Sorry for not very clear steps, if the stack trace is not enough let me know and I can try to find exact steps. Thanks
TypeError: Cannot read property 'removeEventListener' of undefined
    at t._onResize (AccessibilityManager.ts:175)
    at t._refreshRowsDimensions (AccessibilityManager.ts:286)
    at AccessibilityManager.ts:105```

[93697:0409/102344.257301:INFO:CONSOLE(212)] "TypeError: Cannot read property 'removeEventListener' of undefined
    at t._onResize (/Users/isidor/Development/vscode/node_modules/xterm/lib/xterm.js:1:204596)
    at t._refreshRowsDimensions (/Users/isidor/Development/vscode/node_modules/xterm/lib/xterm.js:1:206714)
    at /Users/isidor/Development/vscode/node_modules/xterm/lib/xterm.js:1:203244", source: /Users/isidor/Development/vscode/out/bootstrap-window.js (212)

/duplicate https://github.com/microsoft/vscode/issues/94003


Extract AlertManager

@dhavalshah02 suggested that we extract alertmanager into its own module so it can be composed together like we do with Grafana.
WDYT?

Makes perfect sense. I just wanted to have something working initially. Embedding the Teams helper thing also felt like creating technical debt. Ideally, Alertmanager should also run a couple of instances for HA, that should definitely be logic living it its own module

@dhavalshah02 something you want to work on in philips-labs?


Bug in Verilog frontend

I believe that Yosys (git SHA a93fcec) fails to handle the following example correctly:
module Main_fir_sfir(result);
  output signed [9:0] result;

  wire signed [9:0] intermediate [0:2];

  function integer depth2Index;
    input integer depth;

    depth2Index = depth;
  endfunction

  assign intermediate[depth2Index(2)] = 0;
  assign result = intermediate[2];
endmodule

Specifically, when I show the schematic using the show command, intermediate[2] is not driven, but it should be driven by the second to last line of the module. As a result, when I optimise it with opt_clean -purge, the whole circuit disappears.
This is a simplification of the Verilog generated by the Clash compiler for the FIR filter example on that page.
It works correctly if I replace the depthToIndex(2) call with the literal 2. i.e. I remove the depthToIndex function call on the second to last line.

Thanks for the bug report and test case. That problem is fixed now in commit 82a4a02.
The mechanism in Yosys that handles Verilog arrays that are not describing memories (mem2reg) is complicated and there are many strange corner cases. At the same time it's not very well tested because most (hand written) Verilog code avoids constructs like that. I would not be surprised if you'd find more bugs there..

Thanks for the quick fix!
Looking at the schematic, it appears to be synthesizing the full FIR example correctly now.


Removes wiki sidebar HTML, LESS, and JS

Pre-Submission Checklist

[X ] Your pull request targets the staging branch of FreeCodeCamp.
[X ] Branch starts with either fix/, feature/, or translate/ (e.g. fix/signin-issue)
[ X] You have only one commit (if not, squash them into one commit).
[X ] All new and existing tests pass the command npm run test-challenges. Use git commit --amend to amend any fixes.

Type of Change

[ ] Small bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds new functionality)
[X ] Breaking change (fix or feature that would change existing functionality)
[ ] Add new translation (feature adding new translations)

Checklist:

[X ] Tested changes locally.
[ X] Closes currently open issue (replace XXXX with an issue no): Closes #9807

Description

I removed the wiki less file, the @import to the less file, all references wiki-aside, and references to the wiki navbar link.

Camperbot is saying I need to squash, but when I do the rebase HEAD command the commits shown are from other users. I'm on the fix branch too. Maybe my fork is borked, but I followed these instructions before beginning this fix: http://forum.freecodecamp.com/t/how-to-fork-and-maintain-a-local-instance-of-free-code-camp/19116


[TEP-0047] add display name to pipeline spec and task spec

Changes
Before this commit, a task in a Pipeline is currently represented in the UI using a field (name) that is meant to be machine readable, not human readable. So new fields are added to Pipeline, Task, and PipelineTask for display names, as well as a new field on PipelineTask for description.
closes: https://github.com/tektoncd/pipeline/issues/3466
/kind tep

Submitter Checklist
As the author of this PR, please check off the items in this checklist:

[x] Has Docs included if any changes are user facing
[x] Has Tests included if any functionality added or changed
[x] Follows the commit message standard
[x] Meets the Tekton contributor standards (including
functionality, content, code)
[x] Has a kind label. You can add one by adding a comment on this PR that contains /kind <type>. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tep
[x] Release notes block below has been updated with any user facing changes (API changes, bug fixes, changes requiring upgrade notices or deprecation warnings)
[x] Release notes contains the string "action required" if the change requires additional action from users switching to the new release

Release Notes
add displayName field to Pipeline, Task and PipelineTask, and description field for PipelineTask.

/ok-to-test

Looks like we need to run ./hack/updated-codegen :)

Thanks for the thorough change on both apiversions including the conversions 😎 🙏
For the release note, suggest that shall we use "add displayName to pipeline.spec, pipeline.spec.tasks.description and pipeline.spec.tasks.displayName" and same for the Tasks.

@jerop first, THANK YOU! this is awesome you are taking this on.
i presume the rendering of tasks / pipelines in UI is done by a different system which would need to actaully take advantage of these new fields? or am i missing something in the commit where it actaully changes the rendering to use these fields if set and/or do you have a picture of how this renders now?

@itewk - to clarify, it is @nanjingfm who's implementing the feature, I was just looping you in
yes, the rendering is handled by tektoncd/dashboard so they will need to support this feature in the feature once it's available in a release - cc @AlanGreene @tektoncd/dashboard-maintainers

@nanjingfm all my thanks to you!!
@jerop thanksnfor clarification. From a CRD perspective then this looks great to me.

Thanks for the heads up @jerop, @tektoncd/cli-maintainers may also be interested.
I've created https://github.com/tektoncd/dashboard/issues/2792 to track the Dashboard implementation.
Any input on how / where users might expect to see these new values would be welcome and can be shared on the Dashboard issue.

looks good

/assign

@QuanZhang-William Unit tests and sample code have been added，I would appreciate it if you could review it again.

Thanks for the contribution @nanjingfm, and welcome to the Tekton community!
/meow

@nanjingfm WAHOOO!! thank you!


Added extra vehicle data

Added the following to vehicle data:

transmission
transmission_abbr
engine_cylinders
engine_displacement
fuel_type
interior_upholstery

Sorry to late. I think, Its good enough to merge.


initial copy of Accelerynt-Security AS-Enable-Microsoft-Entra-ID-User…

…-From-Entity and AS-Disable-Microsoft-Entra-ID-User-From-Entity repos
Required items, please complete
Change(s):

New playbooks

Reason for Change(s):

New playbooks

Testing Completed:

Yes
Disable:

Enable:

Hello @AcceleryntSecurityDev, thank you for submitting this Pull Request. We will investigate it and provide you with an update before 08 December, 2023.

README.md
Hello @AcceleryntSecurityDev, Please use this Readme for Playbooks/AS-Enable-Microsoft-Entra-ID-User-From-Entity/README.md
I have renamed azure active directory with Microsoft Entra ID

@v-prasadboke I have fixed the "azure ad" occurrences in the README.md file for the playbooks/AS-Enable-Microsoft-Entra-ID-User-From-Entity directory


feat: close course menu & info drawers with x button

Pre-Flight checklist

[ ] Screenshots and design review for any changes that affect layout or styling

[ ] Desktop screenshots
[ ] Mobile width screenshots

[ ] Testing

[ ] Code is tested
[ ] Changes have been manually tested

What are the relevant tickets?
part of https://github.com/mitodl/ocw-hugo-themes/issues/895
What's this PR do?

Adds close (x) button to course menu drawer which closes the drawer when clicked.
Adds close (x) button to course info drawer which closes the drawer when clicked.
Note: This change is only done on course-v2 theme.

How should this be manually tested?

Checkout this branch
Build any course on course-v2 theme or view netlify deployed version
Make the size of screen small so that course menu and info buttons show up.
Verify that both, the course menu and info drawers, when opened, have a close button, which closes the drawer when clicked.

Screenshots (if appropriate)
https://user-images.githubusercontent.com/93309234/196175954-be19e0fa-005f-411c-98e9-9add14f11457.mov

will implement Closing drawers via thumb swiping in another follow-up PR due to some other issues having high priority.
So this PR is up for review.


v0.4.5

Codecov Report

Merging #369 (bf3862a) into main (c107fd3) will decrease coverage by 0.08%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #369      +/-   ##
==========================================
- Coverage   63.22%   63.13%   -0.09%
==========================================
  Files          19       19
  Lines        3402     3402
==========================================
- Hits         2151     2148       -3
- Misses       1149     1152       +3
  Partials      102      102

Impacted Files
Coverage Δ

cmd/commands/repo.go
60.87% <0.00%> (-0.46%)
:arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

/release


Add command to edit the tagscript from pastebin link

couldn't name the command append cuz it was already used in the cog.¯\(ツ)/¯

Just a comment while I seen this. Requests is blocking, you should use aiohttp for all requests as it's async. This applies to more than just this PR and isn't a review of any sort.

Just a comment while I seen this. Requests is blocking, you should use aiohttp for all requests as it's async. This applies to more than just this PR and isn't a review of any sort.

i'm new in python and these stuff 😅

Thanks for opening this PR. I have a few requests for changes that should be made, but I'll post them here rather than in a review and make the changes myself.

The actual Pastebin fetch logic should be handled in a subclass of TagScriptConverter for two reasons: The logic needs to be reused in a tag global command, and after fetching the Pastebin contents, it needs to be validated as safe tagscript.
The fetch method should be done with aiohttp using Tags.session rather than requests which is blocking.
The Pastebin regex should accept raw or regular Pastebin links, and then use the matched id to fetch from a raw Pastebin link.

I messed up git so I'll PR it myself. In the future, make sure to create a new branch to make pull requests from.


Unable to import

In order for ts-loader to find the module I had to specify the full path. Not sure why that is.
import MultikeyMap from 'multikey-map/bld/library/index'

This was an issue on my end


Attach files to email from Dropbox

This should be added to the Mail helper method, where the file that is attached can be sitting in Dropbox.
In most circumstances, for Spam detection reasons, it would be better to link to the file- however, there are legitimate use cases for attaching a file. Example: Receipt PDFs

I want to work on it. Can you please give me some points/links to start?

Since there has been no activity on this issue since March 1, 2020, we are closing this issue. Please feel free to reopen or create a new issue if you still require assistance. Thank you!


WIP: Fix regressions

Fixing regressions introduced via #629

Codecov Report

Merging #630 into metadata-editor will decrease coverage by 0.02%.
The diff coverage is 0%.

@@                 Coverage Diff                 @@
##           metadata-editor     #630      +/-   ##
===================================================
- Coverage             52.8%   52.78%   -0.03%
===================================================
  Files                  267      267
  Lines                 7103     7106       +3
===================================================
  Hits                  3751     3751
- Misses                3352     3355       +3

Impacted Files
Coverage Δ

src/article/metadata/MetadataEditor.js
1.85% <0%> (-0.08%)
:arrow_down:

src/shared/EditorSessionMixin.js
52.41% <0%> (ø)
:arrow_up:

src/article/editor/ManuscriptEditor.js
69.66% <0%> (-0.8%)
:arrow_down:

Continue to review full report at Codecov.

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


Import failing due to breaking change in numpy lib

ImportError: cannot import name 'NaN' from 'numpy' (/usr/local/lib/python3.12/site-packages/numpy/__init__.py). Did you mean: 'nan'?
from numpy import NaN as npNaN
File "/usr/local/lib/python3.12/site-packages/pandas_ta/momentum/squeeze_pro.py", line 2, in <module>
from .squeeze_pro import squeeze_pro
File "/usr/local/lib/python3.12/site-packages/pandas_ta/momentum/__init__.py", line 34, in <module>
from pandas_ta.momentum import *
File "/usr/local/lib/python3.12/site-packages/pandas_ta/core.py", line 18, in <module>
from pandas_ta.core import *
File "/usr/local/lib/python3.12/site-packages/pandas_ta/__init__.py", line 116, in <module>
from pandas_ta.candles import ha

The line - "from pandas_ta.core import *" triggers an init that is breaking at "from numpy import NaN as npNaN".

Looks like numpy has changed NaN to nan.

Which version are you running? The lastest version is on Github. Pip is for major releases.
import pandas_ta as ta
print(ta.version)

Do you have TA Lib also installed in your environment?
$ pip list

Have you tried the development version? Did it resolve the issue?
$ pip install -U git+https://github.com/twopirllc/pandas-ta.git@development

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Provide sample code.
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Thanks for using Pandas TA!

Is this issue fixed making a simple change of:
from numpy import nan as npNaN ? ...instead of NaN?

@Rydo111 @MysticMith
It is one way to resolve. But Pandas TA version 0.3.14b will not be supporting numpy 2.0. Use the last numpy version of 1.6.x.
Some of this discussed already in Issue #799 with PRs #800 & #801.
If you absolutely need numpy 2.x, you should be using the development branch after those have been applied.
Kind Regards,
KJ

Hi,
I am using major release from pip. running it inside container.
I understand the temporary fix but i will wait for the fix in the major
release.
This is the first time i am reporting a bug on Github, so let me know what
to do next.
Thanks!
Mithilesh
On Fri, Jun 28, 2024 at 11:49 PM Kevin Johnson @.***>
wrote:

Which version are you running? The lastest version is on Github. Pip is
for major releases.
import pandas_ta as taprint(ta.version)
Do you have TA Lib also installed in your environment?
$ pip list
Have you tried the development version? Did it resolve the issue?
$ pip install -U @.***
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Provide sample code.
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Thanks for using Pandas TA!
—
Reply to this email directly, view it on GitHub
https://github.com/twopirllc/pandas-ta/issues/804#issuecomment-2197425034,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUXQ4IFF3QPY3OUVCXBV3FLZJWSLJAVCNFSM6AAAAABKBCNRI2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJXGQZDKMBTGQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Regards,
Mithilesh


Stop using use std in impl_element!

The impl_element! macro does a implementation of fmt::Debug, the issue is it needs visibility of the std::fmt or std module to be able to do this.
At the moment the issue is overcome with something I guess is a bad solution.
    use std; // <<<<<<< wow
    impl std::fmt::Debug for $ty_path {

A better way to do this is welcome!

Fixed as of 8487b547


Documentation and Examples?

I'm a beginner in Haskell coming from a statistics background. It seems this package is what I need in order to generate pseuo random numbers but I'm finding it difficult to get up to speed with. Is there any documentation or examples to be found? Simply generating a lazy list of normal random numbers would be extremely illustrative. Thanks!

There're few simple example in the haddocks. But in the tradeoff between ease of use and efficiency this library chooses efficiency. All PRNG is mutable and all operations are done in the IO/ST monad. Thus good understanding of them are required

Fixed as of efd149fda3d1d42590c3dfb57b62f90c82cd42d9


debian packaging?

If any xrdp maintainers know the debian/Ubuntu packaging maintainers, can you try to get a bump to 0.9.2 for Ubuntu?
Maybe it would be worth pulling the packaging into the project, so that it versions along with the project, and debian/Ubuntu can pull in whatever release they feel comfortable with?
I tried to build packages locally, using modified versions of the 0.9.1-9 packaging, but I ran into a few problems:

pidfile path inconsistent between /etc/init.d/xrdp and the systemd service files
something wrong with systemd process launching order?  There's a PR on this... Tried patching it in.
Even with everything running, I just get black screen (like window manager didn't launch) and socket closed over and over in the var/log/xrdp.log

I'm currently just installing from source on a few machines, but it is a bit clunky bash scripting the install.
Thanks!

AFAIK Ubuntu doesn't package xrdp by themselves. Ubuntu uses Debian's (a little bit old) xrdp package.
I have keep in touch with Dbian packagers but don't with Ubuntu.
Anyway, I should agree with you. I'll make an effort to make Ubuntu package more comfortable.

xrdp is up to 0.9.3 - I know Ubuntu folks will really appreciate your efforts to get the latest version packaged up well - thanks in advance!

If Ubuntu packagers want, I'm always willing to cooperate packaging with them. Do you have connections with them?

Now Debian have the latest v0.9.4 in unstable. We're keeping in touch with the Debian maintainers and keeping Debian package up to date.

@metalefty can we leave this open at least until Ubuntu has reasonable packages?


Add ldap backend to st2auth

Backend which reads authentication information from a ldap server

Nice!
Thanks for the code. Please make sure that all tests are passing. We'll take a look and provide you some comments so we can merge this in.
Stay tuned!

Yep, what james said - thanks for your contribution :)
I will review it and add inline comments shortly.

I've added some in-line comments.
The pull request looks like a good start - thanks.
After the comments are addressed, it would also be good to add some tests and documentation on how to use this backend (see docs/source/authentication.rst for example).

I didn't find anything how to make the bind safer. And about the tests: I can write a unit test for the backend, but it will work only with my ldap server. How do I write a test which will work everywhere?

@ruslantum I will research bind situation later on.
As far as the tests go - unit tests where we mock some of the LDAP client methods should be sufficient for now (integration / end to end tests would also be nice, but that's not a big priority right now).

Btw, if we do plan on using python-ldap then the system on which the build (pip install python-ldap) will need to satisfy http://www.python-ldap.org/doc/html/installing.html#prerequisites.
This might need some work to update all our dev environments etc.

@ruslantum Sorry for the delay.
There is more work which needs to be done on my side before this can get merged - I need to add support for per-backend requirements file. This requires quite a bit of work and right now I'm busy with other things so I can't promise an ETA.
In any case, in the mean time I will also try to come up with a quick work-around so we can get this merged without breaking the build and installation without requiring me to do per-backed requirements stuff.

Sorry for the delay, but I finally have some good news :)
I starting working on the "package per backend" model which means this pull request is now superseded by https://github.com/StackStorm/st2-auth-backend-ldap.
You will be able to install this backend when this PR is merged - https://github.com/StackStorm/st2/pull/1881 (either when a new release with this change is available or as soon as the PR is merged if you are OK with using "dev" packages).
Thanks again.

@ruslantum When you have some time it would also be great if you can add some unit tests and open a PR against this repo - https://github.com/StackStorm/st2-auth-backend-ldap
Thanks!


Redirect back to login screen after importing account

@marcinbodnar I think you were doing some similar changes before, don't remember what's the latest on them

@vgrichina yeah, I assume it's not about importing but creating account @mesquka ?

This change is specifically for importing accounts. The usecase is to allow users that are signing in on a new device to import accounts without abandoning the sign-in flow.
Adding the same flow to createing wallets probably makes sense as well, but the funding wallet step takes the user out of the sign-in flow so wasn't as high priority to me.

@mesquka ok, but EnableTwoFactor.js is used only for creating account flow. Why changes to this component?

@mesquka
So it's already implemented for both creating and importing account and it should work well.
It's happening starting from here:
https://github.com/near/near-wallet/blob/master/src/components/Routing.js#L113
with handleRefreshUrl, handleRedirectUrl  and handleClearUrl actions.
The only thing that I can see is not working is skipping 2fa while creating an account.

@mesquka ok, but EnableTwoFactor.js is used only for creating account flow. Why changes to this component?

Sorry, yep that's correct, was replying with outdated information (haven't had my morning coffee yet).

@mesquka
So it's already implemented for both creating and importing account and it should work well.
It's happening starting from here:
https://github.com/near/near-wallet/blob/master/src/components/Routing.js#L113
with handleRefreshUrl, handleRedirectUrl  and handleClearUrl actions.
The only thing that I can see is not working is skipping 2fa while creating an account.

Redirecting after creating an account wasn't working, hence the changes.

@mesquka

Redirecting after creating an account wasn't working, hence the changes.

Just tested with recovery seed phrase - seems to work well on testnet.

Closing PR, will reopen later if needed.


how can i use more than 7 tabs

it is solved by  add another tabs in the dashboard and  drag and drop tab next the other tab

@MakremHammali hi! Can this issue be closed?

Problema ainda persiste, qual o sentido de limitar o número de tabs ?


Simplify variable selection frontend

At the moment, variable selection is complicated in two senses:

A distinction is made between simple, detailed and all variables.
Search is either on the variable abbreviations or on the variable names.

I believe we agreed on removing the distinction between simple and detailed variables. Would it be helpful to make search simpler too by allowing a simultaneous search on abbreviations and written out variable names?

Agree on removing the simple detailed all distinction and just showing all variables.
On variable vs code, probably the simplest option is we could merge the names and descriptions together to avoid needing to switch between code and name?

Merging the names and codes would be good, yeah.


Fix -Wimplicit-function-declaration warning

[15 of 15] Compiling System.Socket.Type.Stream ( dist/build/System/Socket/Type/Stream.hs, dist/build/System/Socket/Type/Stream.o )
platform/linux/cbits/hs_socket.c: In function ‘hs_accept’:
platform/linux/cbits/hs_socket.c:47:3:
     warning: implicit declaration of function ‘accept4’ [-Wimplicit-function-declaration]
platform/linux/cbits/hs_socket.c: In function ‘hs_accept’:
platform/linux/cbits/hs_socket.c:47:3:
     warning: implicit declaration of function ‘accept4’ [-Wimplicit-function-declaration]

Implemented a pre-processor feature test:

Always define GNU_SOURCE.
Assuming presence of accept4 when  __USE_GNU is defined.


Fix unread .env file

Deploying chaincode failed due to missing .env file.
The previous commit moves .env file to docker directory from
test-network directory. Therefore, .env file doesn't exist
current working directory.
This PR adds --env-file option to docker-compose command to
read .env file.
Signed-off-by: Nao Nishijima<EMAIL_ADDRESS>

While this change is valid and what should be done, instead I superseded it with #417 and removed the .env file altogether and expliclty just named the network.

I got it. Thanks.


TextInput does not add a new line when sending via TCP

Pietro says that the TCP server should not replicate the GUI text. So all GUI -> TCP should be removed.
There should be no direct connection between the GUI and the TCP.
GUI  ->  BLE
TCP  ->  BLE
BLE  ->   GUI & TCP


Make doctrine/annotations optional + drop PHP < 8.1

Follow-up of https://github.com/willdurand/Hateoas/pull/334

Jobs with symfony ^3.0 and ^4.0 fail if doctrine/annotations package is not installed.
Looks like this is because jms/serializer-bundle:4.2 does not really work without this package.
Tests with serializer-bundle v3 and v5 look fine.
@goetas Do you think it's worth the effort to look into the issue with v4.2 or is it sufficient to have the tests without annotations only for symfony ^5.0 and higher?

Running tests on most recent symfony versions is more than acceptable.
I would not mind dropping old php and symfony versions as well (if it helps you here)

Hi, thanks a lot, I will check it later in the evening

Tests are green.
All supported symfony versions are still tested.
The tests without doctrine/annotations package are only executed with symfony 5 and higher

I could not spot anything wrong, great work! thank you!


Firing 'eqResize' event fails in IE11

Execution of line:
eqResizeEvent = new CustomEvent('eqResize', {'detail': eqState});
throws an error in IE11:
SCRIPT445: Object doesn't support this action
I use eq.polyfilled.min.js.
This is due the IE implementation of the CustomEvent - see https://github.com/sindresorhus/devtools-detect/issues/9#issuecomment-29647713

This caused by incorrect detection of CustomEvent feature support so the polyfill is not used in IE11.
The generated eq.polyfilled code has check:
if (!'CustomEvent' in window &&

        // In Safari, typeof CustomEvent == 'object' but it otherwise works fine
        (typeof window.CustomEvent === 'function' ||
            (window.CustomEvent.toString().indexOf('CustomEventConstructor') > -1))
    ) {//polyfill}

but it should be:
if (!('CustomEvent' in window &&

        // In Safari, typeof CustomEvent == 'object' but it otherwise works fine
        (typeof window.CustomEvent === 'function' ||
            (window.CustomEvent.toString().indexOf('CustomEventConstructor') > -1))
    )) {//polyfill}

Merged. Releasing an update soon.

Im using the latest build 1.7.1 and im still getting this error when IE tries do create the eqResize custom event, is this expected behaviour?

Btw, the errors im getting happen in IE11, the message is as follows:
SCRIPT445: Object doesn't support this action
File: eq.min.js, Line: 2, Column: 1508

And that refers to:
u = new CustomEvent("eqResize", { detail: a, bubbles: !0 })

Are you using the polyfilled version or not?

On Aug 27, 2015, at 1:56 PM, Luis Martins<EMAIL_ADDRESS>wrote:
Btw, the errors im getting happen in IE11, the message is as follows:
SCRIPT445: Object doesn't support this action
File: eq.min.js, Line: 2, Column: 1508
And that refers to:
u = new CustomEvent("eqResize", { detail: a, bubbles: !0 })
—
Reply to this email directly or view it on GitHub.

So sorry Sam. Im using JSPM and for some reason my usual approach to override the entry point is failing in this case. So yeah, I was loading the non-polyfilled despite asking for it.
Thanks and sorry about that.

Hey @Snugug, do you think you could include a note about CustomEvent in the polyfills section in the readme?


LFS-237: Setup the LFS container to support clustering

Make [configurations] sections conditional upon the runMode so that we can launch one instance with INITIAL_SLING_NODE set to true and the others without this environment variable so that we may have multiple instances of LFS (Sling) with the same MongoDB backend (and thus the same clinical data) so as to improve scalability

@IntegralProgrammer Can you make a separate PR with the README changes needed to start multiple instances? Everything else about INITIAL_SLING_NODE can be discarded now.


Importing into Unity project

What is the preferred method of importing this in to an existing Unity project?
I tried importing from Git url, but it didn't work.
I don't see any package download links.
Do I just download it and drag the assets folder over, or is there more that I need?

Currently, it's the only option for now.
I'll provide packages as core and example in near future tho.


How to prevent client from connecting to any other client?

Let's say you used this library to create a web service where people could connect to other users and talk in chat rooms or use video chat or whatever. It seems that all the connection methods are on the client side. So how do you prevent a user from using JavaScript to connect to ANY other client he wants to (as long as he knows their ID or guesses their ID)? So for example if two users are connected and talking over steamed video chat or something, it seems like anyone would be able to perhaps get lucky and guess the ID of one of the users, connect via JavaScript and then eavesdrop on the conversation?
Where on the server side would you build some security for something like this?

By default the server passes all requests and lets clients decide, but if you listen to the ‘request’ event on the server, you will hace to call request.forward() to allow to connectipn to continue.
Thos event listener id where you allow/block connections on the server.

What is the difference between request.forward() and request.accept() that I see documented?

Exactly.

forward also accepts an ID as a first argument, which can be used for routing requests.

One more question. Is it possible to initiate a connection between two users from the server? Or does it have to be initiated from a client?

Since it’s P2P, there’s no way to “force” clients to connect at all. You could send a message to a client requesting it starts a connection to another client. simple-signal doesn’t implement this, but it should be simple with socket.io.


Build and Uninstall

Reverts the earlier revert

github workflow for running tests
minor cleanup of sql
rename instead of drop configuration table to help prevent accidental data loss

Still some issues with drop order I am working through.


Wallet not successfully connected to Dshop account regression

On another round of testing I have run into an issue where the crypto wallet did not connect properly after the transaction was mined.
It's not a state issue as I have refreshed the page multiple times.

A second transaction fixed this, so I'm not sure what caused the first failure.

I think this is due to you having to remain on the page until the transaction is mined in order for the DB to be updated. Instead, we should send the TX hash to the backend so that the listener can wait for it to be mined and then update the database. This would allow users to leave the page or speed up the transaction without interrupting the database update.

Yea that explains it. I did leave the page after awhile. Didn't realize that that would prevent the database update.

Closing this as it's tracked in #345