how can i use this theme in other browsers?

now I use qutebrowsers, can I use catppuccin in this browser?

An example of "other browsers" would be helpful.

An example of "other browsers" would be helpful.

qutebrowser

Using stylus to compile your settings to plain CSS, then usingcontent.user_stylesheets in the qutebrowser config.
Point 21 on https://qutebrowser.org/doc/faq.html.
It's a bit out of scope for all of our userstyles, since they're explicitly made for Stylus/Stylish.

Using stylus to compile your settings to plain CSS, then usingcontent.user_stylesheets in the qutebrowser config.
Point 21 on https://qutebrowser.org/doc/faq.html.
It's a bit out of scope for all of our userstyles, since they're explicitly made for Stylus/Stylish.

oh, I will have a try. Ty:)

Glad I could help somewhat, custom userstyles are sadly a bit of a pain in Qutebrowser.
We can't really officially support them at the moment, so I'll close the issue.


nginx mail server configuration issue

I've been using your nginx-proxy-automation for all my web docker containers and I'm finally moving also multiple mail services but it looks like the normal configuration is not sufficient.
I've also noticed that SSL is not responding properly:
openssl s_client -showcerts -connect mail2.mydomain.com:465
CONNECTED(00000005)
4425047724:error:140040E5:SSL routines:CONNECT_CR_SRVR_HELLO:ssl handshake failure:/AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/libressl/libressl-56.60.2/libressl-2.8/ssl/ssl_pkt.c:585:
---
no peer certificate available
---
No client certificate CA names sent
---
SSL handshake has read 0 bytes and written 0 bytes
---
New, (NONE), Cipher is (NONE)
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
No ALPN negotiated
SSL-Session:
    Protocol  : TLSv1.2
    Cipher    : 0000
    Session-ID:
    Session-ID-ctx:
    Master-Key:
    Start Time:<PHONE_NUMBER>
    Timeout   : 7200 (sec)
    Verify return code: 0 (ok)
---

From the mail container I can ping outside and the nginx container can ping the mail container.
Netcat gives mixed results:
users-Mac-Pro:~ user$ nc -zv mail2.mydomain.com 465
Connection to mail2.mydomain.com port 465 [tcp/urd] succeeded!
users-Mac-Pro:~ user$ nc -zv mail2.mydomain.com 993
Connection to mail2.mydomain.com port 993 [tcp/imaps] succeeded!
users-Mac-Pro:~ user$ nc -zv mail2.mydomain.com 25
nc: connectx to mail2.mydomain.com port 25 (tcp) failed: Operation timed out

above perhaps because port 25 has STARTTLS and not straight TLS.
Here's the nginx docker-compose configuration:
The nginx docker-compose file:
version: '3'
services:
  nginx-web:
    image: nginx:stable-alpine
    labels:
        com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy: "true"
    container_name: ${NGINX_WEB:-nginx-web}
    restart: always
    ports:
      - "${IP:-<IP_ADDRESS>}:${DOCKER_HTTP:-80}:80"
      - "${IP:-<IP_ADDRESS>}:${DOCKER_HTTPS:-443}:443"
      - "${IP:-<IP_ADDRESS>}:25:25"
      - "${IP:-<IP_ADDRESS>}:143:143"
      - "${IP:-<IP_ADDRESS>}:993:993"
      - "${IP:-<IP_ADDRESS>}:465:465"
      - "${IP:-<IP_ADDRESS>}:587:587"
    volumes:
      - ${NGINX_FILES_PATH:-./data}/conf.d:/etc/nginx/conf.d
      - ${NGINX_FILES_PATH:-./data}/vhost.d:/etc/nginx/vhost.d
      - ${NGINX_FILES_PATH:-./data}/html:/usr/share/nginx/html
      - ${NGINX_FILES_PATH:-./data}/certs:/etc/nginx/certs:ro
      - ${NGINX_FILES_PATH:-./data}/htpasswd:/etc/nginx/htpasswd:ro
    logging:
      driver: ${NGINX_WEB_LOG_DRIVER:-json-file}
      options:
        max-size: ${NGINX_WEB_LOG_MAX_SIZE:-4m}
        max-file: ${NGINX_WEB_LOG_MAX_FILE:-10}

  nginx-gen:
    image: jwilder/docker-gen
    command: -notify-sighup ${NGINX_WEB:-nginx-web} -watch -wait 5s:30s /etc/docker-gen/templates/nginx.tmpl /etc/nginx/conf.d/default.conf
    container_name: ${DOCKER_GEN:-nginx-gen}
    restart: always
    environment:
      SSL_POLICY: ${SSL_POLICY:-Mozilla-Intermediate}
    volumes:
      - ${NGINX_FILES_PATH:-./data}/conf.d:/etc/nginx/conf.d
      - ${NGINX_FILES_PATH:-./data}/vhost.d:/etc/nginx/vhost.d
      - ${NGINX_FILES_PATH:-./data}/html:/usr/share/nginx/html
      - ${NGINX_FILES_PATH:-./data}/certs:/etc/nginx/certs:ro
      - ${NGINX_FILES_PATH:-./data}/htpasswd:/etc/nginx/htpasswd:ro
      - /var/run/docker.sock:/tmp/docker.sock:ro
      - ./nginx.tmpl:/etc/docker-gen/templates/nginx.tmpl:ro
    logging:
      driver: ${NGINX_GEN_LOG_DRIVER:-json-file}
      options:
        max-size: ${NGINX_GEN_LOG_MAX_SIZE:-2m}
        max-file: ${NGINX_GEN_LOG_MAX_FILE:-10}

  nginx-letsencrypt:
    image: jrcs/letsencrypt-nginx-proxy-companion:stable
    container_name: ${LETS_ENCRYPT:-nginx-letsencrypt}
    restart: always
    volumes:
      - ${NGINX_FILES_PATH:-./data}/conf.d:/etc/nginx/conf.d
      - ${NGINX_FILES_PATH:-./data}/vhost.d:/etc/nginx/vhost.d
      - ${NGINX_FILES_PATH:-./data}/html:/usr/share/nginx/html
      - ${NGINX_FILES_PATH:-./data}/certs:/etc/nginx/certs:rw
      - /var/run/docker.sock:/var/run/docker.sock:ro
    environment:
      NGINX_DOCKER_GEN_CONTAINER: ${DOCKER_GEN:-nginx-gen}
      NGINX_PROXY_CONTAINER: ${NGINX_WEB:-nginx-web}
    logging:
      driver: ${NGINX_LETSENCRYPT_LOG_DRIVER:-json-file}
      options:
        max-size: ${NGINX_LETSENCRYPT_LOG_MAX_SIZE:-2m}
        max-file: ${NGINX_LETSENCRYPT_LOG_MAX_FILE:-10}

networks:
  default:
    external:
      name: ${NETWORK:-webproxy}

And finally my mail server configuration:
 version: '3.8'

services:
  mailserver:
    image: docker.io/mailserver/docker-mailserver:9.1.0
    hostname: ${HOSTNAME}
    domainname: ${DOMAINNAME}
    container_name: ${CONTAINER_NAME}
    env_file: mailserver.env
    # To avoid conflicts with yaml base-60 float, DO NOT remove the quotation marks.
    networks:
      - webproxy
    expose:
      - 25
      - 143
      - 465
      - 587
      - 993
    volumes:
      - ./maildata:/var/mail
      - ./mailstate:/var/mail-state
      - ./maillogs:/var/log/mail
      - /etc/localtime:/etc/localtime:ro
      - ./config/:/tmp/docker-mailserver/${SELINUX_LABEL}
      - /home/ec2-user/docker/nginx/data/certs:/etc/letsencrypt/live:ro
    restart: always
    cap_add: [ "NET_ADMIN", "SYS_PTRACE" ]
    environment:
      ENABLE_SPAMASSASSIN: 1
      SPAMASSASSIN_SPAM_TO_INBOX: 1
      ENABLE_CLAMAV: 1
      ENABLE_FAIL2BAN: 1
      ENABLE_POSTGREY: 1
      ENABLE_SASLAUTHD: 0
      ONE_DIR: 1
      DMS_DEBUG: 1
      VIRTUAL_HOST: $DOMAINS
      LETSENCRYPT_HOST: $DOMAINS
      LETSENCRYPT_EMAIL: $LETSENCRYPT_EMAIL

networks:
  webproxy:
    external: true

My questions would be:

is nginx configure for mail support as indicated in the configuration https://docs.nginx.com/nginx/admin-guide/mail-proxy/mail-proxy/?
if not I could let the mail server handle the TLS with its certificates. But how can I say that those ports (25,143,465,587,993) are just pass through for the nginx reverse proxy? in this case I would use nginx only as a reverse proxy and nginx-letsencrypt to generate the certificates but not to strip out TLS layer.

Thank you!

Hello @allanext, thanks for you message.
I don't think this is configured as you wish in the nginx... we need to check at nginx-proxy to see if this is present in it's configurations, if not you might send them a PR to add it or even open an issue to discuss it.
I think is a very nice idea to have it and would be glad to automate a couple more things if needed.


Could the nodes be converted to structs?

It seems to me that the nodes are just data files. As such, it might be possible to use structs, which could use less memory and possibly be faster. My first blush look at it says it could work, but you have a better testing setup than I do.
Side node, thanks for this awesome library, it's the best PriorityQueue I've found for C#!

Duplicate of #3. tl;dr you can't keep Contains(1) to be O(1) with structs.


getCallEndReason generates uncaught exception when stopping a call that has not yet been connected

I use following packages in my browser based client (which I believe are the latest)
@azure/communication-calling: "1.23.2",
@azure/communication-common: "^2.3.1",
I perform the following steps once I have my teams call agent running
I create a new call using the function callAgent.startCall to another Teams or external user
I stop the call before it it got connected using acsCall.hangUp();
Azure communications sdk generates uncaught error as displayed in image when trying to get the call end reason

Hi @wimvanhouts, i am unable to repro this issue. I have tried the same version you are using. Can you please provide us with a code snippet for your usage? Thanks

I'm experiencing the same issue and wanted to share some more details which might help with the analysis:

To reproduce, I used 3 Microsoft Teams participants. I first started a call (and listened for changes using call.on('stateChanged', ...)). I then waited until the call was showing for the recipient (without accepting it). Lastly, I hang up the call again. -> Then, the following error was shown: Uncaught (in promise). The same behavior is shown when calling a phone number.
Another similar behavior, though requiring more steps to reproduce: When I transfer a call from a Microsoft Teams participant to a phone number and run call.hangUp() once the transfer is finished (as described at the end of this section), I get the error Uncaught (in promise) 61. This is only reproducible when transferring a Microsoft Teams participant to a phone number and not when using the transfer functionality with two Microsoft Teams participants. Maybe that's related to the this issue.

Used versions:

@azure/communication-calling: 1.25.1
@azure/communication-common: 2.3.1

I tested it with latest 1.26.1 and issue is still there. I currently have no time to build a seperate test application and cannot provide the whole application here, but steps are really simple:

Create teams agent
create teams call to your mobile phone
Do not answer call
hangup teams call before voicemail kicks in

We just ignore the error since it is not critical for operations, but it's still there.

Hi @wimvanhouts @samueleiben, can you please give it a try with latest sdk version?

Hey @chriswhilar, seems to be working fine now, thanks for the fix.
As for the other error described above (after transferring a call): I have created https://github.com/Azure/azure-sdk-for-js/issues/30485 for it to keep the two issues separate.


No token position for type errors in asserts in --preview-dart-2

test.dart:
typedef T DoSpecialThing<T>(T thing);

String specialStringThing(String thing) => thing;
double specialDoubleThing(double thing) => thing;

class Property<T> {
  Property(this._operation);
  T doThing(T thing) => thing;
  DoSpecialThing<T> get doSpecialThing => _operation;
  DoSpecialThing<T> _operation;
}

Property<String> stringProperty = new Property<String>(specialStringThing);
Property<double> doubleProperty = new Property<double>(specialDoubleThing);

void main() {
  List<Property> properties = [ stringProperty, doubleProperty ];
  List values = [ "String value", 0.0 ];

  for (int i = 0; i < properties.length; ++i) {
    assert(properties[i].doSpecialThing(values[i]) == values[i]);
  }
}

Gives:
Unhandled exception:
type '(String) => String' is not a subtype of type '(dynamic) => dynamic'
#0      main (file:///usr/local/google/home/zra/dart/dart2tests/test.dart)
#1      _startIsolate.<anonymous closure> (dart:isolate/runtime/libisolate_patch.dart:279:19)
#2      _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:165:12)

Note the lack of line and column numbers in the first line of the stack trace.
/cc @bkonyi

I think CFE might not be assigning the position because the cast is synthetic? /cc @stereotype441

@mraleph I think you are likely correct.  I'm happy to take a look if time allows, but most of my time is now committed to analyzer work (and I'm going on vacation Apr 2-20), so someone on the FE team (@stefantsov perhaps) will probably have time to look at this before I can.

I can take a look.  What's the priority?

I've verified that the CFE is assigning a position to the AsExpression.  Perhaps the VM is ignoring it?  @mraleph

Got this same error for an unrelated use case. I am trying to use methods from the camera.dart library that were previously working. I ran flutter update yesterday and the camera methods are no longer running.
Relevant code:
`import 'package:camera/camera.dart';
Future main() async{
cameras = await availableCameras();
runApp(new MyApp());
}
//camera code starts here
List cameras;`
The error message that returns:
`Launching lib/main.dart on iPhone 7 in debug mode...
Skipping compilation. Fingerprint match.
Running Xcode clean...
Starting Xcode build...
Xcode build done.
[VERBOSE-2:dart_error.cc(16)] Unhandled exception:
type 'List' is not a subtype of type 'List<Map<String, String>>' where
List is from dart:core
List is from dart:core
Map is from dart:core
String is from dart:core
String is from dart:core
#0      availableCameras (package:camera/camera.dart)

#1      main (package:sightworks_flutter/main.dart:15:19)

#2      _startIsolate. (dart:isolate/runtime/libisolate_patch.dart:279:19)
#3      _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:165:12)
Syncing files to device iPhone 7...
Error -32601 received from application: Method not found`


CoreDump in zmq

hello,
since weare behind a company firewall we are using the tails-server with the Socks-proxy pull request https://github.com/bcgov/indy-tails-server/pull/38;
the tails-file server runs in OpenShift and tries to connect to the IDUnion indy-network (https://idunion.org/?lang=en);
Problem is that zmq creates a CoreDumped (currently we are not able to retrieve the coredump-file cause of company and OpenShift); log is given below:
remark: a similar problem we have on the agent side, where we switched from Indy to Asker...
=> has someone an idea how to investigate this problem further?
[2022-08-09T08:34:44Z DEBUG indy_vdr::ffi] Initialized default logger
[2022-08-09T08:34:44Z DEBUG indy_vdr::ffi] Setting pool socks proxy: pxvip02.intranet.commerzbank.com:1080
[2022-08-09T08:34:44Z INFO  indy_vdr::pool::genesis] Skipped: Node 'xxx' is not a validator
[2022-08-09T08:34:44Z DEBUG indy_vdr::pool::pool] New RequestHandle(1): reqId()
[2022-08-09T08:34:44Z DEBUG indy_vdr::pool::networker::zmq] New ZMQConnectionHandle(1)
[2022-08-09T08:34:44Z DEBUG indy_vdr::pool::networker::zmq] Open new socket for node ING
[2022-08-09T08:34:44Z DEBUG indy_vdr::pool::networker::zmq] Use socks proxy: pxvip02.intranet.commerzbank.com:1080
[2022-08-09T08:34:44Z DEBUG indy_vdr::pool::networker::zmq] Open new socket for node xxx
[2022-08-09T08:34:44Z DEBUG indy_vdr::pool::networker::zmq] Use socks proxy: pxvip02.intranet.commerzbank.com:1080
[2022-08-09T08:34:44Z DEBUG indy_vdr::pool::networker::zmq] Open new socket for node xxx
[2022-08-09T08:34:44Z DEBUG indy_vdr::pool::networker::zmq] Use socks proxy: pxvip02.intranet.commerzbank.com:1080
[2022-08-09T08:34:44Z DEBUG indy_vdr::pool::networker::zmq] Open new socket for node xxx
[2022-08-09T08:34:44Z DEBUG indy_vdr::pool::networker::zmq] Use socks proxy: pxvip02.intranet.commerzbank.com:1080
[2022-08-09T08:34:44Z DEBUG indy_vdr::pool::networker::zmq] Open new socket for node xxx
[2022-08-09T08:34:44Z DEBUG indy_vdr::pool::networker::zmq] Use socks proxy: pxvip02.intranet.commerzbank.com:1080
[2022-08-09T08:34:44Z DEBUG indy_vdr::pool::networker::zmq] Open new socket for node xxx
[2022-08-09T08:34:44Z DEBUG indy_vdr::pool::networker::zmq] Use socks proxy: pxvip02.intranet.commerzbank.com:1080
[2022-08-09T08:34:44Z DEBUG indy_vdr::pool::networker::zmq] Open new socket for node xxx
[2022-08-09T08:34:44Z DEBUG indy_vdr::pool::networker::zmq] Use socks proxy: pxvip02.intranet.commerzbank.com:1080
[2022-08-09T08:34:44Z DEBUG indy_vdr::pool::networker::zmq] Open new socket for node regio_iT
[2022-08-09T08:34:44Z DEBUG indy_vdr::pool::networker::zmq] Use socks proxy: pxvip02.intranet.commerzbank.com:1080
[2022-08-09T08:34:44Z DEBUG indy_vdr::pool::networker::zmq] Open new socket for node xxx
[2022-08-09T08:34:44Z DEBUG indy_vdr::pool::networker::zmq] Use socks proxy: pxvip02.intranet.commerzbank.com:1080
[2022-08-09T08:34:44Z DEBUG indy_vdr::pool::networker::zmq] Open new socket for node xxx
[2022-08-09T08:34:44Z DEBUG indy_vdr::pool::networker::zmq] Use socks proxy: pxvip02.intranet.commerzbank.com:1080
[2022-08-09T08:34:44Z DEBUG indy_vdr::pool::networker::zmq] Open new socket for node xxx
[2022-08-09T08:34:44Z DEBUG indy_vdr::pool::networker::zmq] Use socks proxy: pxvip02.intranet.commerzbank.com:1080
[2022-08-09T08:34:44Z DEBUG indy_vdr::pool::networker::zmq] Open new socket for node xxx
[2022-08-09T08:34:44Z DEBUG indy_vdr::pool::networker::zmq] Use socks proxy: pxvip02.intranet.commerzbank.com:1080
[2022-08-09T08:34:44Z DEBUG indy_vdr::pool::helpers] Catchup target found 7YnD1B5iRy79QcBx1DFqiyu6j3fsyHiE13f4H4KEspLm 26 Some({"xxx": -1.0, "xxx": 0.290305, "xxx": -1.0, "xxx": -1.0, "xxx": -1.0, "xxx": 0.31385347, "xxx": 0.29052326, "xxx": -1.0, "xxx": 0.30031052, "xxx": -1.0, "xxx": -1.0, "xxx": -1.0})
[2022-08-09T08:34:44Z DEBUG indy_vdr::pool::pool] New RequestHandle(2): reqId()
[2022-08-09T08:34:44Z DEBUG indy_vdr::pool::networker::zmq] New ZMQConnectionHandle(2)
[2022-08-09T08:34:44Z DEBUG indy_vdr::pool::networker::zmq] Open new socket for node siemens
[2022-08-09T08:34:44Z DEBUG indy_vdr::pool::networker::zmq] Use socks proxy: pxvip02.intranet.commerzbank.com:1080
[2022-08-09T08:34:44Z DEBUG indy_vdr::pool::networker::zmq] Open new socket for node tubzecm
[2022-08-09T08:34:44Z DEBUG indy_vdr::pool::networker::zmq] Use socks proxy: pxvip02.intranet.commerzbank.com:1080
[2022-08-09T08:34:44Z INFO  indy_vdr::pool::helpers] Catchup completed Some({"siemens": 0.20512652, "tubzecm": -1.0})
[2022-08-09T08:34:44Z DEBUG indy_vdr::ffi::pool] Adding 11 new pool transactions
[2022-08-09T08:34:44Z DEBUG indy_vdr::pool::runner] Drop pool runner thread
[2022-08-09T08:34:44Z DEBUG indy_vdr::pool::runner] Pool thread ended
[2022-08-09T08:34:44Z DEBUG indy_vdr::pool::networker::zmq] Drop networker thread
[2022-08-09T08:34:44Z DEBUG zmq] socket dropped
[2022-08-09T08:34:44Z DEBUG zmq] socket dropped
[2022-08-09T08:34:44Z DEBUG zmq] socket dropped
[2022-08-09T08:34:44Z DEBUG zmq] socket dropped
[2022-08-09T08:34:44Z DEBUG zmq] socket dropped
[2022-08-09T08:34:44Z DEBUG zmq] socket dropped
[2022-08-09T08:34:44Z DEBUG zmq] socket dropped
[2022-08-09T08:34:44Z DEBUG zmq] socket dropped
[2022-08-09T08:34:44Z DEBUG zmq] socket dropped
[2022-08-09T08:34:44Z DEBUG zmq] socket dropped
[2022-08-09T08:34:44Z DEBUG zmq] socket dropped
[2022-08-09T08:34:44Z DEBUG zmq] socket dropped
[2022-08-09T08:34:44Z DEBUG zmq] socket dropped
[2022-08-09T08:34:44Z DEBUG zmq] socket dropped
[2022-08-09T08:34:44Z DEBUG zmq] socket dropped
[2022-08-09T08:34:44Z DEBUG zmq] socket dropped
[2022-08-09T08:34:44Z DEBUG zmq] context dropped
Bad file descriptor (/github/home/.cargo/registry/src/github.com-1ecc6299db9ec823/zeromq-src-0.1.10+4.3.2/vendor/src/epoll.cpp:113)
./wrapper.sh: line 21:    12 Aborted                 (core dumped) tails-server $1 $2 $3 $4 $5

@andrewwhitehead -- any thoughts on this?

Interesting, haven't seen that before. Seems likely that it could be related to the SOCKS proxy support in either the Rust wrapper or the underlying zeromq library. My first guess would be that it's trying to close a file descriptor more than once, but it's hard to say.

Hello,
i solved the problem (at least for my environment)....
i adapted the underlying indy-vdr build, in Detail i removed the zmq_vendored stuff from

indy-vdr-proxy/Cargo.toml

[features]
 fetch = ["hyper-tls"]
-zmq_vendored = ["indy-vdr/zmq_vendored"]
-default = ["fetch", "zmq_vendored"]

libindy_vdr/Cargon.toml

[features]
 ffi = ["ffi-support", "logger"]
 logger = ["env_logger", "log"]
-zmq_vendored = ["zmq/vendored"]

after that i could not reproduce "my" core-dump anymore and my tails-file-server was running;
this solved also the same acapy-agent core-dump-problem; the agent is now also running without problems;
=> i'm currently not sure how to deal with that situation, since i do not really / seriously can explain the core-dump-cause;
=> ?PR respective to indy-vdr?


pip: multiple versions

if install via pip,
there is also an autosub1
but autosub is out of date, last updated 2017-05may
also both can't be installed [together] (incompatible),
requires separate virtualenv or venv
 autosub 0.3.12

 autosub1 0.4.7

autosub1 broken link
where is information regarding this, can't find - is this undocumented?

whether this is intentional, or if it can be mitigated/addressed

I glance at the codes of autosub1 installed from the pip. They are almost the same as the original autosub. Currently I don't know where it has been modified.
Maintainers are different, so it is perhaps unrelated to the autosub main repo.
If you want to install the newest windows-available version autosub, you can install it from my repo.
choco install git -y
pip install git+https://github.com/BingLingGroup/autosub.git@alpha

Changes are listed on the CHANGELOG.md. Of course, for the version 0.4.0-alpha. That is the original 0.4.0 version autosub with slightly little changes to make it running smoothly on windows.
PS: Recently I will release a new version of autosub based on my repo's dev branch. It will have a significant improvement on almost every parts.

notice that autosub1 seems to act differently

it uses longer audio segments thus

has more surrounding word context for more accurate transcription
it is too? long for typical audio (preference)

notice that autosub1 seems to act differently

it uses longer audio segments thus

has more surrounding word context for more accurate transcription
it is too? long for typical audio (vs preference)

also there is a problem with how that google has seemed to change
its text-to-speech algorithm
in that it is [now] much [more] sensitive to context of the surrounding words -
it seems to incorrectly hallucinate [words] that are similar in topic to adjacent words even when incorrect -
unlike during the past when it used a more plain-pure-basic/vanilla/naive approach

@daT4v1s
No codes no clues.

Left one is autosub1. Right one is autosub-0.4.0-alpha.
It seems autosub1 just reduce the threshold. No more magical things. Anyway the percentile square root method is not that accurate. I recommend using Audito instead. It has more arguments to control the speech regions detection. Remember that this google speech api only accept 10-15 seconds long audio clip. So using long-term audio to improve context detection results is impossible unless supporting cloud speech api in the future.
I'm still working on my release for autosub. The new Auditok features will be added in the future release in my repo. Stay tuned.

what about

a hybrid method using both

short segment[s] upload (better time resolution)
and long-overlapping segments

and searching for obvious errors/differences and choosing the most likely option

prefer/try  as automatic as possible
but simple yes/no prompts might help as well

what about

a hybrid method using both

short segment[s] upload (better time resolution)
and long-overlapping segments  for accuracy

and searching for obvious errors/differences and choosing the most likely option

prefer/try  as automatic as possible
but simple yes/no prompts  might help as well

emmm... Now the program has the retry mechanism during the speech-to-text process. Retry count is 3. But honestly most of retries happen when your network isn't stable enough to receive the full data from the server rather than the server didn't give you the full result.
And if you want longer segments for accurate detection but still remain in the acceptable short-term range, you can reduce the detection threshold or increase the max region size to 10(max is 10, default is 6) or do other specific tweaking. You can go to the Auditok docs website to know how to use these args to control the regions detection.
Most of the speech sentences are below 10 seconds, at least for the clauses. I think it's enough for speech detection. If you want longer detection, just use the chargeable Cloud Speech API. Or if you want more accurate performance on translation result, you can adjust the times and merge them into one long sentence since the translation API doesn't refuse any long-term segments. Sure I will think about using some method automatically merge the sentences and give them to translation API and then split them based on the regions.


[arrays]: The keywords readonly and mutable should be removed from OpenQASM3

What is the expected enhancement?
The OpenQASM3 Spec for Arrays defines two keywords that are only used for Arrays when passed as arguments to a function:
  All array parameters are passed as references and must include a type modifier
  specifying if the parameter is `readonly` or `mutable`.

This PR requests the removal of these two keywords - readonly and mutable - as redundant and unnecessary.
The semantics of readonly are covered and conveyed by the already existing type qualifier const:
OPENQASM 3.0;

array[int, 10] ai = { 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 };

def function(int k, array[int, 10] a) -> int {
  int r = 0;

  for i in [0 : 9] {
    a[i] *= i;
    ++r;
  }

  return r;
}

def const_function(int k, const array[int, 10] a) -> int {
  int r = 0;

  for i in [0 : 9] {
    a[i] *= i;     // <------ Compile-time Error. Specifically, front-end.
    ++r;
  }

  return r;
}

A const array passed as an argument to a function implies that each and every single element of the array is const within that function's scope. There are no loopholes in this respect in OpenQASM3, just as there are no loopholes for this case in C and its derivatives.
The attempt to modify elements of the const array in the second example (const_function) is detected by the compiler frontend.  Specifically: either by the first phase of Semantic Analysis being performed by the AST Generator, or by subsequent Semantic Analysis passes. In qss-qasm, it's detected during AST Generation.
The assignment expression on line 5 of const_function attempts to modify the explicitly const LHS of the assignment expression. The AST Generator will raise a Diagnostic (Error), and the transformation chain of this function will stop at that point. Any chain processing beyond this point, if any, is merely error cascading.
Const-correctness analysis and enforcement are exclusively functions of the compiler front-end, as there are no such things as const RAM, or const registers. This property is language-independent.
Depending on language complexity, some languages may defer parts of const-correctness analysis to subsequent passes of Semantic Analysis. Even in that case, the final outcome is identical: const-incorrectness is a compiler frontend failure.
There is no point in traversing the entire compiler transformation chain down to its lowest level, only to discover that a const-correctness error was detected during AST Generation or Semantic Analysis, and that step had already failed.
Let's consider the following example: the compiler decides to unroll the for loop inside the function (Conditional Branch Elimination). The loop ranges are known at compile time.
The unrolled rewrite of the loop looks like this:
int i = 0;

a[i] = a[i] * i;
i = i + 1;
a[i] = a[i] * i;
i = i + 1;
a[i] = a[i] * i;
i = i + 1;
a[i] = a[i] * i;
i = i + 1;
a[i] = a[i] * i;
i = i + 1;
a[i] = a[i] * i;
i = i + 1;
a[i] = a[i] * i;
i = i + 1;
a[i] = a[i] * i;
i = i + 1;
a[i] = a[i] * i;
i = i + 1;
a[i] = a[i] * i;

We can all agree that Loop Runrolling is an optimization pass that happens well below AST Generation or Semantic Analysis.
That being the case, should this Unrolling pass above even be allowed to happen for the case of the const array function argument?  The compiler already knows that every single one of these assignments is impossible:
the LHS of the assignment expression is always const.
The keyword readonly does not convey any additional semantics beyond what const already does. That makes readonly redundant.
The keyword mutable is redundant because its semantics are implicitly conveyed by the absence of const. If something is not qualified as const, it is implicitly modifiable, unless the Language Specification says otherwise.
Introducing redundant language keywords that do not convey any new, or additional, semantics beyond what existing keywords already do leads to namespace pollution, and, ultimately, programmer confusion.

In my view, the concepts being labeled with readonly and const are actually different. A value that is const can be replaced with its initialized value anywhere that identifier is found. Meanwhile, readonly means that I cannot modify a value in a particular scope (in this case, within a def). While I understand that C uses the same keyword (const) to refer to these concepts, I think Rust and others have sensibly chosen to give these distinct labels. Consequently, my preference is to use distinct labels in OpenQASM.
We could choose to drop one of readonly or mutable as the absence of one property implies the other, but I like the explicit nature of having to identify an array as one or the other. Consequently, I suggest keeping both keywords.

In my view, the concepts being labeled with readonly and const are actually different. A value that is const can be replaced with its initialized value anywhere that identifier is found. Meanwhile, readonly means that I cannot modify a value in a particular scope (in this case, within a def). While I understand that C uses the same keyword (const) to refer to these concepts, I think Rust and others have sensibly chosen to give these distinct labels. Consequently, my preference is to use distinct labels in OpenQASM.
We could choose to drop one of readonly or mutable as the absence of one property implies the other, but I like the explicit nature of having to identify an array as one or the other. Consequently, I suggest keeping both keywords.

This is how the AST Generator will treat readonly and mutable:

The Lexer will evaluate readonly to const, and will return TOK_CONST, as if it had read the const keyword. Semantically, and insofar as the compiler is concerned, the semantics of the  two keywords are identical: cannot be modified.

Whether the value was assigned at compile-time, via constant-folding, or not, is irrelevant to the compiler. const is const.
A variable may be declared const absent constant-folding, and absent its value being known at compile-time:
OPENQASM 3.0;

def product(int i, int k) -> int {
  return i * k;
}

def measure_qubits(qubit a, qubit b) -> int {
  bit r0 = measure a;
  bit r1 = measure b;

  return r0 + r1;
}

qubit a;
qubit b;
qubit c;
qubit d;

const int j = product(measure_qubits(a, b), measure_qubits(c, d));

// Now we can use `j` as a constant in our program.

In the above example, j is const, although its value was unknown until runtime.
Please note that, if the programmer didn't want j to be const, they did not have to write this:
mutable int j = product(measure_qubits(a, b), measure_qubits(c, d));

They just write this:
int j = product(measure_qubits(a, b), measure_qubits(c, d));

mutable will be parsed and ignored. It will have the same exact semantics as whitespace, because it does not convey any information to the compiler that isn't already known.

The Lexer will evaluate readonly to const, and will return TOK_CONST, as if it had read the const keyword.

If that is how you plan to implement it in your parser, that is fine.

Won't do


add --since

Like maybe
diary --since 2024-01-01

and so forth.  I don't see much merit in permitting a wide range of formats for dates etc.  But I think the following could be good for teaching
diary --since monday

I prefer to at least start with standardized times.  Let's say dates, since I can't see a pressing need to know about items from only the last hour, say.  (If diary is to be used for logging data, maybe...)
Below shows a way.  I guess I can add a test that it is of the form 4 numbers, followed by dash etc.
>>> from datetime import datetime
>>> datetime.strptime("2014-05-01", "%Y-%m-%d")
datetime.datetime(2014, 5, 1, 0, 0)

commit 4e273e5727e596c7e8e1d04a6933d9fc93c6eb11
Author: dankelley<EMAIL_ADDRESS>Date:   Mon Jul 1 10:41:53 2024 -0300
handle --since (only for yyyy-mm-dd, so far)

Can now give HH:MM:SS also
commit c7738e0428d72470ea7d3e45624bc5be95a84eff
Author: dankelley<EMAIL_ADDRESS>Date:   Mon Jul 1 11:20:07 2024 -0300
permit --list --since to have HH:MM:SS part


⚠ Bofrost.de has degraded performance

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

HTTP code: 200
Response time: 1341 ms

Resolved: Bofrost.de performance has improved in c8bc56c after 6 minutes.


Set page content with multiple PDF pages

Is it possible to have multiple PDF pages on a single file?
I am thinking of doing:
const page1 = await browser.newPage();
await page1.setContent(html1);

const page2 = await browser.newPage();
await page2.setContent(html2);

const page3 = await browser.newPage();
await page3.setContent(html3);

and then print them all in just one single PDF file but with multiple pages?

It's a wrong approach to use Page for this case. You can consider Page object as a tab in the browser.
Please use css page-break to split the content into several pages, see https://css-tricks.com/almanac/properties/p/page-break/

@itereshchenkov but what if you want the content from multiple 3rd party pages in one pdf document? I have one for example that is over 800 pages.  As one file with css inline and images base64, it weighs in at 255mb

Yeah, in this case, puppeteer won't help much with combining the pages. You will need to generate pdf for each separate 3rd party page and afterwards put them all into a single document (as a separate process).

how to merge them in single pdf ?


the order of app list result is different in Electron and Headless

It seems like in Electron mode, app list gets sorted by alphabetic order, but in Headless mode, app list is in correct time order. The weird thing is that the code of app list command handler didn't differentiate Headless and Electron. I set debug('apps', apps) after let apps = actions.filter(astUtil.isAnApp), and the order of resulted apps is different in Electron and Headless.
Code Reference:
https://github.com/IBM/kui/blob/master/app/plugins/modules/apache-composer/src/lib/controller/commands.ts#L180-#L194
app list in Electron:

app list in Headless:

Same Error in ibm-functions/Shell

you need to add a noSort: true property to the entities if you want natural ordering


Adds additional rake task to clear jobs from a specific queue

Currently, the 'jobs:clear' task clears all the records from the delayed_job table however, there will be scenarios where jobs only from a specific queue need to be cleared.
ex: restarting (post-maintenance) you would only want to clear WebSocket jobs (news feed) but not subscription charges job (monthly billing).
this pull request adds an additional rake task that accepts a parameter(queue_name) and clears the jobs from the queue.

Coverage remained the same at 90.934% when pulling d4f404dd28b49c80ee3edb28993154a117eac877 on azeezahmed:master into bd07783f27acc6fa84ae95db28033eceac82284a on collectiveidea:master.

I want this feature too but this implementation isn't suitable.
Because it works only with Active Record backend.
We need to add a new backend API such as Delayed::Job.delete_all(queues: nil) and Delayed::Job.delete_queues(queues) to make this feature portable.
And I think that we don't need to add a new task. We can reuse jobs:clear task like the following:
diff --git a/lib/delayed/tasks.rb b/lib/delayed/tasks.rb
index 409ba48..edacb18 100644
--- a/lib/delayed/tasks.rb
+++ b/lib/delayed/tasks.rb
@@ -1,7 +1,12 @@
 namespace :jobs do
   desc 'Clear the delayed_job queue.'
   task :clear => :environment do
-    Delayed::Job.delete_all
+    queues = (ENV['QUEUES'] || ENV['QUEUE'] || '').split(',')
+    if queues.present?
+      Delayed::Job.delete_queue(queues)
+    else
+      Delayed::Job.delete_all
+    end
   end

   desc 'Start a delayed_job worker.'


add thread name and set daemon flag

suro-pull-requests #238 SUCCESS
This pull request looks good

NetflixOSS » suro » suro-pull-requests #70 ABORTED

Looks good to me.


Rotary volume logic for both high res and low res devices

WHAT
Add support for high / low resolution rotary devices to make volume changes.
WHY
So that sensitivity for different types of devices can tune volume with their rotary with good user experiences.
HOW

Modify the rotary accumulator to count low res devices positive change as 1 and negative change as -1
Add modifier for RotaryVolumeControls, and take the changes as is for low res devices and do a 1 pixel = 0.1% volume change for high res devices.

Checklist :clipboard:

[X] Add explicit visibility modifier and explicit return types for public declarations
[X] Run spotless check
[X] Run tests
[X] Update metalava's signature text files

@Kpeved want to review?

I'll do a fuller review on Monday, but I feel out of my depth.


Add Alphine JS?

is there a way you can also add alphine JS ?

Sorry, nope. No additional dependency or JS framework within this starter theme. Try good old plain JS instead.
If you need AlpineJS, just add the  include in the header after your fork.


Updated wording in DeployLZ doc

Overview/Summary
The current wording of the "Create Landing Zones" document makes it a little tricky to read and understand. I have updated the wording to hopefully make it a bit of an easier read.
This PR changes

Wording within the doc
Formatting of the 3rd paragraph

Testing Evidence
I have reviewed and tested the links in the document to ensure they are working as expected.
As part of this Pull Request I have

[X] Checked for duplicate Pull Requests
[ ] Associated it with relevant issues, for tracking and closure.
[X] Ensured my code/branch is up-to-date with the latest changes in the main branch
[X] Performed testing and provided evidence.
[X] Updated relevant and associated documentation.
[ ] Updated the "What's New?" wiki page (located: /docs/wiki/whats-new.md)

@PaulJohnston88 have you checked links from potential other docs in this same repo?


ZDO simple description response receive but ZIGBEE stack reports request timeout (TZ-1300)

Question
I tried to pair Tuya Smart Plug but when requesting a simple descriptor request, I can see the response from a data indication callback but the response handler callback isn't triggered, and stack printed request timeout.

Analyzing the packet sniffer, there are 2 more bytes in this response. It seems the wrong response format caused this issue.
Additional context.
No response

Analyzing the packet sniffer, there are 2 more bytes in this response. It seems the wrong response format caused this issue.

Yes, I have confirmed this issue. The stack compares the received frame length with the simple descriptor length. If they are not equal, the stack considers it an invalid frame.


Update LogCodes.java-Spelling mistakes

Spelling mistakes
Motivation:
Explain the context, and why you're making that change.
To make others understand what is the problem you're trying to solve.
Modification:
Describe the idea and modifications you've done.
Result:
Fixes #.
If there is no issue then describe the changes introduced by this PR.

Spelling mistakes

Spelling mistakes

It is easy to have compatibility problems when upgrade version or use @Deprecated to mark the old field. Make sure that everything used is modified.


[multistage]: Removing the format support in explain physical plan sql queries.

As per the issue, a minor change for removing the support of FORMAT in EXPLAIN IMPLEMENTATION PLAN  queries.
cc: @walterddr

Codecov Report

Merging #11179 (af506a4) into master (9e079b1) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master   #11179   +/-   ##
=======================================
  Coverage    0.11%    0.11%
=======================================
  Files        2214     2214
  Lines      118822   118822
  Branches    17978    17978
=======================================
  Hits          137      137
  Misses     118665   118665
  Partials       20       20

Flag
Coverage Δ

integration1temurin11
0.00% <ø> (ø)

integration1temurin17
0.00% <ø> (ø)

integration1temurin20
0.00% <ø> (ø)

integration2temurin11
?

integration2temurin17
?

integration2temurin20
?

unittests1temurin11
0.00% <ø> (ø)

unittests1temurin17
0.00% <ø> (ø)

unittests1temurin20
0.00% <ø> (ø)

unittests2temurin11
0.11% <ø> (ø)

unittests2temurin17
0.11% <ø> (ø)

unittests2temurin20
0.11% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


what is the timeline of this challenge?

Dear competitors, the time table is as follow:
20 March, 2021 -- Challenge open
October 25, 2021 -- Deadline for team registration to join the challenge
October 25, 2021 -- Deadline for submitting the open-souce challenge entries
November 1, 2021 -- Confirm for submitting the best entry for final scoring
November 15-18, 2021 – Announcement of the winners of CPSC 2021 in ICBEB 2021
Any questions or problems about the Challenge, please feel free to contact<EMAIL_ADDRESS>


[Feature request] Define architectural methods and steps to configure access credentials and secrets

Description:
In addition to function definition and base image for a data science pipeline component, many applications require access to data stored in priviledged accounts. Need to define a set of architectural methods and steps to configure the execution environment with credentials and secrets, such as image pull and s3fs mount.
Additional information:
[Miscellaneous information that will assist in solving the issue.]

Migrated to Jira: https://issues.redhat.com/browse/RHOAIENG-1603


fix: print packages and project dbt correctly

Description
Follow up https://github.com/openedx/tutor-contrib-aspects/pull/326

Thanks for the pull request, @Ian2012!  Please note that it may take us up to several weeks or months to complete a review and merge your PR.
Feel free to add as much of the following information to the ticket as you can:

supporting documentation
Open edX discussion forum threads
timeline information ("this must be merged by XX date", and why that is)
partner information ("this is a course on edx.org")
any other information that can help Product understand the context for the PR

All technical communication about the code itself will be done via the GitHub pull request interface. As a reminder, our process documentation is here.
Please let us know once your PR is ready for our review and all tests are green.


An item with the same key has already been added.

I can't get Swagger to work.  I keep getting the An item with the same key has already been added error message.  I have tried to ensure that everything is working, but I just can't get Swagger to work.  The default /help page seems to work, just not swagger.
To replicate this, I have created a repository at https://github.com/shaunparsloe/SwashBuckleIssues.git
Clone that repository and then open it (I used Visual Studio 2013 express)
Run it (it should restore the Nuget packages on first build)
https://localhost:44305/help - works correctly
https://localhost:44305/swagger - shows errors on loading
https://localhost:44305/swagger/api-docs/Customers returns the following error:
An error has occurred.
An item with the same key has already been added.
System.ArgumentException

Hi I am using IDocumentFilter to create my Odata definitions
public void Apply(SwaggerDocument swaggerDoc, SchemaRegistry schemaRegistry, IApiExplorer apiExplorer)
{
var thisAssemblyTypes = Assembly.GetExecutingAssembly().GetTypes().ToList();
            var odatacontrollers = thisAssemblyTypes.Where(t => t.IsSubclassOf(typeof(ODataController))).ToList();
            var odataRoutes = GlobalConfiguration.Configuration.Routes.Where(a => a.GetType() == typeof(ODataRoute)).ToList();

            if (!odatacontrollers.Any()) return;
            var odatamethods = new[] { "Get", "Put", "Post", "Delete" };
            var opProducers= new List<string> { "application/atom+xml", "application/json" };
            var route = "odata";

            foreach (var odataContoller in odatacontrollers)  // this is all of the OData controllers in your API
            {
                var methods = odataContoller.GetMethods().Where(a => odatamethods.Contains(a.Name)).ToList();
                if (!methods.Any())
                    continue; // next controller -- this one doesn't have any applicable methods

                foreach (var method in methods)  // this is all of the methods for a SINGLE controller (e.g. GET, POST, PUT, etc)
                {
                    var path = $"/{route}/{odataContoller.Name.Replace("Controller", string.Empty)}";
                    var odataPathItem = new PathItem();
                    var op = new Operation();

                    // This is assuming that all of the odata methods will be listed under a heading called OData in the swagger doc
                    op.tags = new List<string> { odataContoller.Name };
                    op.operationId = $"OData_{odataContoller.Name.Replace("Controller",string.Empty)}";

                    // This should probably be retrieved from XML code comments....
                    op.summary = "Summary for your method / data";
                    //op.description = "Here is where we go deep into the description and options for the call.";

                    op.consumes = new List<string>();
                    op.produces = opProducers;
                    op.deprecated = false;

                    var response = new Response() { description = "OK" };
                    response.schema = new Schema { type = "array", items = schemaRegistry.GetOrRegister(method.ReturnType) };
                    op.responses = new Dictionary<string, Response> { { "200", response } };

                    //var security = GetSecurityForOperation(odataContoller);
                    //if (security != null)
                    //    op.security = new List<IDictionary<string, IEnumerable<string>>> { security };
                if(method.Name=="Get")
                    odataPathItem.get = op;   // this needs to be a switch based on the method name
                if (method.Name == "Post")
                    odataPathItem.post = op;
                if (method.Name == "Put")
                    odataPathItem.put = op;
                swaggerDoc.paths.Add(path, odataPathItem);
                }
            }
        }

however swaggerDoc.paths.Add(path, odataPathItem) being a dictionary fails as the path for get,put and patch are same please suggest any solution


Sidebar opens whenever host changes view

Product and Version [VS/VSCode]: VSCode  1.21.1
OS Version [macOS/Windows]: Mac
Live Share Extension Version: latest
Target Platform or Language [e.g. Node.js]: n/a
Steps to Reproduce / Scenario:

Join live share session as a non-host.
Close your sidebar.
Have the host change files.
Your sidebar opens.

This needs further testing, I noticed it in a session but didn't have a chance to test the causes.
It's annoying. =D

@StanLindsey Thanks for reporting this!  Just so I'm super clear, by "close the side bar" you mean that you've clicked on the file explorer icon to the left so the explorers collapse, correct?
This is an interesting one we hadn't heard yet, so thank you for letting us know about it!

Sorry for the late reply.
By sidebar, I am referencing the section on the left that the CMD-B shortcut opens and closes. (Explorer, Search, Source Control, Debug, Extensions)

I've also found that when you open a new window, once vs live share async loads, it will open the sidebar. Is there a way to disable opening the sidebar when live share loads? It's only annoying because when the sidebar opens, it closes any menu currently open (usually have the 'reopen recent project' menu when it does it). Alternatively, where would be a good place to look if I want to fix this myself?

@jh0l The issue you're mentioning has been fixed and will be included in the extension release we'll publish tomorrow. Apologies for the inconvenience!

This issue has been resolved in the latest Live Share release, so if you update your extension, you should be good to go. Thanks again for the feedback!


Metrics page

Created the metrics page for Lens documentations.

Check this page. I think we may be able to set this up so we can automatically reference the constants

The metrics rst page is now added to the index.
A next-step option for automation is to embed this metrics.rst in the metrics_constants.py and setup up a process to pull the info from there for documentation.


Log click position

This gives us more information about what is happening on the device when elements are clicked.

:+1:

:+1:


Overlay doesn't disappear after closing software [Bug]:

What happened?
you have to close it via task manager which is a pain
Platform
Steam

You can exit from right click menu of tray icon

or turn off [Use the system tray icon] option

does that fix the issue?


3D Car Racing Game

Describe the project you want to add with tech stack

The project is a 3D car racing game , it is for single player . It is made using html , CSS and JavaScript .
Expected behavior

The player can play the game using up , down , left , right arrow keys and c is used to start the game .
Screenshots (optional)

Additional context (optional )

please assign this issue to me

please assign me this issue


feat: limit module (draft for tests)

Description

Closes #0
Types of changes

[ ] Bug fix (changes which fixes an issue)
[ ] New feature (changes which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] ETC (build, ci, docs, perf, refactor, style, test)

Checklist

[ ] I followed the contributing guidelines.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] The PR title and commits are followed conventional commit form.

This PR is not needed because libwasmvm is updated with a new PR for https://github.com/line/cosmwasm/pull/244.


feat!: max namespace version for parity namespace

Re-apply https://github.com/celestiaorg/celestia-app/pull/1590 against main

Codecov Report

Merging #1627 (156577a) into main (afc29fe) will decrease coverage by 0.14%.
The diff coverage is 20.00%.

@@            Coverage Diff             @@
##             main    #1627      +/-   ##
==========================================
- Coverage   49.18%   49.04%   -0.14%
==========================================
  Files          84       85       +1
  Lines        4949     4963      +14
==========================================
  Hits         2434     2434
- Misses       2277     2290      +13
- Partials      238      239       +1

Impacted Files
Coverage Δ

pkg/namespace/random_namespace.go
0.00% <0.00%> (ø)

pkg/shares/shares.go
74.28% <11.11%> (-1.08%)
:arrow_down:

pkg/proof/proof.go
64.12% <40.00%> (-1.51%)
:arrow_down:

pkg/shares/share_builder.go
76.31% <100.00%> (ø)

x/blob/types/payforblob.go
71.84% <100.00%> (ø)

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


adds CSS selector and CSS flexbox tutorials

These two tutorials are fun and in-depth discussions of CSS selectors and flexbox. The CSS you write is rendered on the page and you see the results immediately.

Great, thanks!


Pin Drop animation

SUMMARY
Is there a way to animate the Pin Drop animation?
Like a way to animate a pin specifically, either by moving in or rotating it.
DETAILS
Something like Pin.Animate(property,value,time)

PLATFORMS

[x] Android
[x] iOS
[ ] UWP

Sorry, I don't have a plan to support it.
Because Google Maps Native SDK does not support pin animations.


DataflowRunner: test path validation

WIP, do not review or merge.

@lukecwik could use a little advice on best strategy to get this working again.
Proposal: Move path validator to GcpOptions from DataflowPipelineDebugOptions. This would it out of Dataflow runner to (eventually) GCP-IO module.
Concerns?

R: @kennknowles  -- Luke is out of town.
Re the above conversation, we had an offline chat and decided that there are no great solutions here. The other option is to have the Dataflow runner itself fall back to tempLocation without validation; but I think that is creating an even more complicated web.
A next step in [BEAM-77] will include moving all of this into the GCP-IO module.

LGTM


Contents changed when refresh shared widget

Some widgets are created.
Get the shared URL
Put the shared widgets in a page
Click the "refresh" icon in the shared widget page. The contents changed to the contents of another widget.

Shared URL:

Right:

Wrong1:

Wrong2:

It's a fail issue


Server generates token, client returns "Message contains error: <invalid_request>"

Hello,
I'm experiencing an issue hosting my Identity server behind load balancer.
I have one instance (planning on adding more) and I always get an error message on the client even though the login is successful and the token is correctly generated on the server.
Could you please help me narrow down the problem? I'm not sure if this is a client side problem or a server side one.
Client message:
Message contains error: 'invalid_request', error_description: 'error_description is null', error_uri: 'error_uri is null'.
Logs from server:
"Token Issued Success" (2000) Detailed Event Information: "{ RemoteIpAddress: XXXX, ClientId: IdProviderWebClient, ClientName: Test Web Client - Authorization Code Flow, RedirectUri: http://localhost:5002/signin-oidc, Endpoint: Authorize, SubjectId: <GUID>, GrantType: authorization_code, Tokens: [ { TokenType: code, TokenValue: ****8b07 }]}"
Stack trace:
   at Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectHandler.<RedeemAuthorizationCodeAsync>d__23.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectHandler.<HandleRemoteAuthenticateAsync>d__21.MoveNext()

Client startup:
public void ConfigureServices(IServiceCollection services)
{
	JwtSecurityTokenHandler.DefaultInboundClaimTypeMap.Clear();

	services.AddAuthentication(o =>
	{
		o.DefaultScheme = CookieAuthenticationDefaults.AuthenticationScheme;
		o.DefaultChallengeScheme = "oidc";
	})
	.AddCookie(CookieAuthenticationDefaults.AuthenticationScheme)
	.AddOpenIdConnect("oidc", o =>
	{
		o.Authority = Configuration["Authority"];
		o.ClientId = Configuration["OpenIdConnectOptions:ClientId"];
		o.ClientSecret = Configuration["OpenIdConnectOptions:ClientSecret"];
		o.GetClaimsFromUserInfoEndpoint = Convert.ToBoolean(Configuration["OpenIdConnectOptions:GetClaimsFromUserInfoEndpoint"]);
		o.RequireHttpsMetadata = Convert.ToBoolean(Configuration["OpenIdConnectOptions:RequireHttpsMetadata"]);
		o.ResponseType = Configuration["OpenIdConnectOptions:ResponseType"];
		o.SaveTokens = Convert.ToBoolean(Configuration["OpenIdConnectOptions:SaveTokens"]);

		foreach (var item in Configuration.GetSection("OpenIdConnectOptions:Scope").GetChildren())
		{
			o.Scope.Add(item.Value);
		}
		o.SignInScheme = Configuration["OpenIdConnectOptions:SignInScheme"];
	});

	services.AddMvc();
}

The stack trace you are showing comes from the OpenID Connect handler from Microsoft. Open an issue with them.
Feel free to link to this issue and update us.

Any update on the issue? closing for now - feel free to re-open if it needs further discussion.

Following up on https://github.com/aspnet/Security/issues/1677

hey , any update with this? I am experiencing same issue.


Native interactive window - interrupt doesn't seem to work (at least on Windows)

Run this code:
import time
while (True):
    time.sleep(.1)
    print('*')

Hit the interrupt button. No interrupt.
Same code in a native notebook works (and throws the expected KeyboardException)

Strange, interrupt seems to work for me

Do you have the logs?

no_interrupt.log

I had to do a restart at the end to get it to actually stop spewing output, so that's why there's a restart in there

Please add more logging so we can figure out what's happening.

After discussion, we determined this is more a problem with handling interrupt on Windows. If you change the delay to 1 sec vs .1 and it works, then this is the problem and there's not much we can do.


Refactor NodeJS codegen

Goal

remove extraneous template commands (use }} instead of -}} as we already have {{- in general)
remove template files if too simple (simple range)

@dolanor @TomChv Do we have any friction between this PR and this one ?

https://github.com/dagger/dagger/pull/4415

Do we have any friction between this PR and this one ?

Not at all :D

I'll check this one tomorrow!

Is this PR still relevant (cc @dolanor @TomChv ) ?

Of course! I'll rebase it and I'm waiting for Tanguy's review

cc @dolanor ☝

@dolanor as you're the author of this PR, do you think it could be possible for you to make those changes above in order to ship this PR ?

I'm gonna rebase this and fix conflicts.

Ok, good to review/merge!


Change std::vec::Vec type to std::collections::VecDeque in the Mm struct to speed up runtime

Implemented in 26d690a


Add "Send To" right-click context menu.

Is your feature request related to a problem? Please describe.
I work as a graphic designer and send many proofs via email every day.  My fastest workflow is to find the file, right click > Send To > Mail Recipient.  The share menu does not offer my email client (eM Client).  I also use "Send To" often to create Zip files.
Describe the solution you'd like
Either implement the "send To" context menu, or add another option to open the default mail client and attach the file to a new message.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here. Ex: What device type/UI layout and app version?

Merging with #285.

Merging with #285.


Refresh Sources on Stremio

So I use Debrid Search as a bit of a back up and a good way to add manual sources to stremio
But when I add my torrent to real debrid, the stremio addon (Debrid Search) won't search again if I already attempted to search.
Does this addon refresh periodically or does it do 1 search once, then never searches again?

This is probably due to the local cache. Will fix it shortly

I have deployed a small change to the cache configuration. Will have to check if this would fix the stale cache or not

Looks like the cache configuration is still having 4hr validity, enough though I kept it as 1min. I guess Stremio deployment service (beamup) is setting the cache validity to be 4hrs :/

Issue is resolved

Amy results fetched would stay cached for 1minute and then get refreshed

Excellent thank you so much!!!!


need terraform version 1.5 support

while importing aws resources from terraformer it is creating the tftate and terraform resource file with  "terraform_version": "0.12.31",.
but right now latest version of terraform is 1.5.
So how i can import aws resources with terraform version 1.5 directlt.
I don't want to use migration state version command which is provided by you.
terraform state replace-provider -auto-approve "registry.terraform.io/-/aws" "hashicorp/aws"

I'm having the same problem. Did you find a solution already?

I have the same requirement, but for the Datadog provider. This is a very old terraform version.
This issue has been filed before but was marked stale. Hopefully someone finds time and motivation to contribute a change if there isn't a good reason not to update it.


How did you do that?


feat: Harness Feature Flag Provider

This PR
Is the inital openfeature provider for the Harness feature flag SDK. It supports

basic targeting (via target name and identifier)
bool, number, string, evaluations

Related Issues

Fixes #1234523
Notes

Follow-up Tasks

Left to do:

structured evaluations
custom target attributes
unit testing
provider configuration

How to test

Closing due to inactivity. Feel free to reopen the PR once it's ready.


Julien adding scscore

Adding SCScorer in gflownet/models. This might be a more interesting metric / reward to use for synthetic accessibility than SA-score, see: https://pubs.acs.org/doi/abs/10.1021/acs.jcim.7b00622.
(not for immediate use but I had been playing around with it so I thought we might as well merge it in since this is very isolated from the rest of the codebase)

I'd rather not have models in the git repo itself, we could follow the pattern of bengio2021flow.py, and link to the original (or, in case it disappears, I made a copy here: https://storage.googleapis.com/emmanuel-data/models/connorcoley_scscore_model.ckpt-10654.as_numpy.pickle)
Other than that LGTM.


Show more than one cardItem in horizontal mode.

react-chrono current behaviour for horizontal mode : only one card is being shown "the selected one" .
Is there anyway to show all cards for selected timeline in horizontal mode , the same way more than one card is shown in vertical mode  ?

@rawandeheliah can you elaborate on showing all cards for a selected timeline. there can be only one card associated with a timeline item. i do agree that it would be nice to display multiple cards instead of just one

I mean about showing all cards :
I want horizontal mode to show more than one card as in vertical mode , as in this screenshot :

but in horizontal mode there is only one card [the selected one] is showing as in this screenshot :

regarding this issue , I started adding this feature , and I will post a PR when ready .

PR

this can be done using the new prop showAllCardsHorizontal. example


Perform vendor survey to better understand SDK paradigms

We agreed to perform a vendor survey to get some data on client side APIs and (hopefully) here from vendors and solution that we've yet to get much input from.
We created this repo (now archived here) with a survey.

Survey complete: results and here (form) and here (sheets) (access is not open, please ping me on the CNCF OpenFeature slack or comment here if you'd like to see results).


unable to remove camera from integration

Please check existing (open or closed) issues before creating a new one. (https://github.com/fuatakgun/eufy_security/issues?q=is%3Aissue+)
If this is not an issue, you can use Discussions (https://github.com/fuatakgun/eufy_security/discussions) section.
Describe the bug
I have removed a camera from my Eufy Homebase. I have checked the Eufy security account online and the camera is no longer listed in the account. The camera is still listed in Home Assistant and when I try to delete the camera I get an error message of:
Eufy Security - Error
Device is still accessible on account, cannot be deleted!
To reproduce
Steps to reproduce the behaviour:

Go to 'Settings > Devices & Services > Eufy Security'
Click on 'Devices'
Select the camera that is no longer linked to the Homebase and click Delete
The camera isn't deleted
A notification is listed that the device is still accessible on account, cannot be deleted

Expected behavior
The camera should be deleted.
Additional information
Go to Settings -> System -> Repairs -> Click on 3 dots (...) -> System Information and get Version and Installation Type to below fields;

Home Assistant Installation Type (OS - Supvervised - Core): Home Assistant OS
Home Assistant Core Version: core-2024.7.2
Eufy Security Add-on Version: eufy-security-ws (1.8.0-2)
Eufy Security Integration Version: 8.0.2

Hardware Information;

Camera Model: S300 (eufycam 3c)

Live Streaming Protocol (RTSP/P2P): RTSP

Debug Logs from Home Assistant (https://github.com/fuatakgun/eufy_security/discussions/624) - Without this, I will automatically resolve this issue

home-assistant.log

Logs from Eufy Security Add-on (either from Add-ons page of Home Assistant or Docker output):
2024-07-12 17:33:49.043	INFO	eufy-security-ws:eufy-security-client	[http] [Station.onConnect] Connected to station T8170T1023310CF3 on host <IP_ADDRESS> and port 21723
2024-07-12 17:34:19.950	INFO	eufy-security-ws:eufy-security-client	[p2p] [Timeout._onTimeout] Initiated closing of connection to station T8170T1023310CF3 for saving battery.
2024-07-12 17:34:19.951	INFO	eufy-security-ws:eufy-security-client	[http] [Station.onDisconnect] Disconnected from station T8170T1023310CF3
2024-07-12 17:35:02.126	INFO	eufy-security-ws	Client disconnected with ip: <IP_ADDRESS> port: 47356 code: 1006 reason: Abnormal Closure
2024-07-12 17:35:42.821	ERROR	eufy-security-ws:eufy-security-client	[http] [HTTPApi.getVoices] Get Voices - Response code not ok {
code: 20028,
msg: 'Failed to request.',
data: {
code: 20028,
msg: 'Failed to request.',
data: null
},
deviceSN: 'T8161P102236121C'
}

Would you share your device with me in case further debugging required? (Yes/No): Yes

Additional context
Add any other context about the problem goes here. Mainly, share everything as log files and use screenshots as last resort.

I got the same issue. Upgraded my homebase from 2 to 3, bought new cameras, removed the old ones in my account.
But here in HA, I can't delete the removed devices.

Go to the device page and click delete?

That’s what I did, went to the device page, clicked delete, got the error message. The camera is not in the account.

Error from add-on?

It seems to be. Oddly the camera isn't showing in my Devices list when I go there first. But if I go into the integration it shows as a device and then click on delete and nothing happens but the error message then shows in the notifications and the device is then showing in the Devices list. When I click on the "known issues" for the integration it brings me here to github.

So, my old EUFY devices could finally be removed after someone bought the old set and added them to their account. It seems that the cloud only then effectively releases them after some other account adds them.
My 2cts, the problems are not related to this integration, but to the EUFY cloud.

Same issue here. Removed 2 cameras from my eufy account but cannot delete them from HA. I receive the same error message as previously mentioned in this thread. I can confirm that logging into my Eufy account online confirms that both cameras in question are not active on my account. Please advise!

sorry folks, I do not have any advice other than disabling your cameras. if add-on is passing these cameras to the integration, integration would of course add them to home assistant.


Checklist Changes - Clear-DbaSqlConnectionPool

Type of Change

[ ] Bug fix (non-breaking change, fixes #)
[ ] New feature (non-breaking change, adds functionality)
[ ] Breaking change (effects multiple commands or functionality)
[ ] Ran manual Pester test and has passed (`.\tests\manual.pester.ps1)
[ ] Pester test is included

Purpose

Make changes to cmdlet to match checklist for 1.0.
Approach

Formatted Help
changed $Computer variable to $computer
Changed to use Write-Message

Hello! I've finished this up and will merge once the tests complete. Please also add to your list, @wsmelton - we now use $computername.islocalhost to determine if it's localhost or not so all manual checks can be removed  😍

I think this is one of the few that actually checks for that....I can't recall seeing any other command do that check.


Avoid a cron job running concurrently with itself

If the time taken for the cronjob to run is longer than the period between jobs you can end up with dozens of cronjob processes running inside the pod.
Since we already wrap the cron command, just add some locking to it so that only one instance of a cron job can run at once.
Closes: #172
Closes: https://github.com/amazeeio/lagoon/issues/2399

Ah of course! Thanks for pointing that out. This PR doesn't make sense, so I'll close it.


Fix TV example

Changes in this pull request
TV example build was failing (badge red). Fixed w/ pod install.
Pull request checklist

[x] All tests pass. Demo project builds and runs.
[x] I have reviewed the contributing guide

Waiting on CI ✅

Would it be worth having a shell script at Examples/ level which pod installs for all examples (future proofing for what ever is to come, but currently does iOS and tvOS)?

@Sherlouk I thought about that, only downside is that if we do that during CI builds it'll hide builds that are failing after a fresh git clone or download of the repo. IMO everything (workspace, tests, and examples) should be build-and-runnable immediately after download. If we don't check them w/ CI then we wont notice until someone files and issue.

Coverage remained the same at 94.481% when pulling 2d6b1ae985e8875cc975cad14bfddff1e2bf4c8f on fix-tv into f1a1b941d04235efeb7890130f47702d367aeb43 on master.

@rnystrom -- we should run pod install on the other examples too


Possible Bug - Using NPM install getting import unexpected token with Typescript

Error:
import generator = require("./sequelize-auto-ts");
^^^^^^
SyntaxError: Unexpected token import
at Object.exports.runInThisContext (vm.js:76:16)
at Module._compile (module.js:528:28)
at Object.Module._extensions..js (module.js:565:10)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module._load (module.js:424:3)
at Module.runMain (module.js:590:10)
at run (bootstrap_node.js:394:7)
at startup (bootstrap_node.js:149:9)
at bootstrap_node.js:509:3
typescript-function-parameter-type-unexpected-token

Change to cli.js and working now. Update readme.

Update readme.

@kentonbmax please submit a PR.

What did you change in cli.js? I install this project via npm to several other projects and have not run into this issue, although I'm not using the latest version of TypeScript.

@samuelneff I think he means the README.md lists using the cli.ts instead of the cli.js file

I am also experiencing this issue, also fixed by changing to cli.js


InMemoryCookieJar should get its real contents

https://github.com/amphp/http-client-cookies/blob/cd9ccc4d9106fef3f2a2bc10946108dbc62572c5/src/InMemoryCookieJar.php#L55
I don't know what use-case this is intended to serve, but if it's important to rebrand the ResponseCookie as a RequestCookie, it should at least be optional or a different method or something. This breaks my use-case where I want to copy the cookie from one jar into another.

You can use getAll for that. It returns what's required for making a request.

That probably would be a little easier, but it's still missing a getByName() or similar.

Feel free to PR that. ;-)

I think the reason I didn't consider getAll is because it does not exist in the interface.

No, getAll isn't part of the interface on purpose.

What is the purpose of that?

The interface contains what's required to make CookieJar work for the interceptor. Bloating the interface makes other implementations harder and might make certain optimizations impossible.


Upgrade to http-aws-es 2.0.0

The new version of this library supports instance profile credentials out of the box, so we can stop using my fork and upgrade.

Deployed without breaking anything :+1:


final commit of branch named albi

In my there are four members, all four(Vishnu Babu, Shajan, Vishnu, Sona) were contributed each tag.

final submission by branch albi


Better handling of subsequently self-created accounts

In many cases, the AntiSpoof trigger on a request is due to the user creating the account themselves a day or two later. If the created account is an exact match for the account name in the request, the request could just be closed automatically. Or if we don't trust the system to always get that right, at least put a visual indicator next to the request on the request list so they can be quickly triaged by the users.
A visual indicator in the request list would also be handy for invalid names, as mentioned in #495.

Yep, I've been testing a script which handles this (and a few other things), with the aim of integrating it into the tool itself as part of #425
I'll close this in preference to that bug.


Upgrade to CodeQL Action v2 (v1 will be deprecated on December 7th, 2022)

For more information, see https://github.blog/changelog/2022-04-27-code-scanning-deprecation-of-codeql-action-v1/

Thank you!


Deploy Checklist: New Expensify 2023-01-04

Release Version: 1.2.48-2
Compare Changes: https://github.com/Expensify/App/compare/production...staging
This release contains changes from the following pull requests:

[ ] https://github.com/Expensify/App/pull/13183
[ ] https://github.com/Expensify/App/pull/13419
[ ] https://github.com/Expensify/App/pull/13625
[ ] https://github.com/Expensify/App/pull/13781
[x] https://github.com/Expensify/App/pull/13869
[ ] https://github.com/Expensify/App/pull/13870
[ ] https://github.com/Expensify/App/pull/13899
[ ] https://github.com/Expensify/App/pull/13923
[ ] https://github.com/Expensify/App/pull/13925
[ ] https://github.com/Expensify/App/pull/13927
[ ] https://github.com/Expensify/App/pull/13936
[x] https://github.com/Expensify/App/pull/13937
[x] https://github.com/Expensify/App/pull/13948
[x] https://github.com/Expensify/App/pull/13949
[x] https://github.com/Expensify/App/pull/13970

Internal QA:

[ ] https://github.com/Expensify/App/pull/13952 - @tgolen

Deployer verifications:

[ ] I checked the App Timing Dashboard and verified this release does not cause a noticeable performance regression.
[ ] I checked Firebase Crashlytics and verified that this release does not introduce any new crashes.

cc @Expensify/applauseleads

:rocket: All staging deploys are complete, @Expensify/applauseleads please begin QA on version https://github.com/Expensify/App/releases/tag/1.2.48-2 :rocket:

@luacmartins Team is wrapping up.
Can we just check of this PR https://github.com/Expensify/App/pull/13419?  We are not able to validate this one in PROD as this is VBA issue. pls double check

Yes, I think regular regression is enough for https://github.com/Expensify/App/pull/13419. Checking it off.

https://github.com/Expensify/App/pull/13925 works for me. Left a comment in https://github.com/Expensify/App/issues/14004. Checking it off.

https://github.com/Expensify/App/pull/13927 also works for me. This will only show on mobile devices and small browser windows, otherwise it shows under the compose box. See images below.

I think the error in https://github.com/Expensify/App/issues/13992 is unrelated to https://github.com/Expensify/App/pull/13936. I tested https://github.com/Expensify/App/pull/13936 and it seems to work well. Checking it off.

@luacmartins
Regression is completed.
PR  #13923 is failing https://github.com/Expensify/App/issues/14017. but repro in PROD

Checklist is clear, there are no blockers, API timings look nominal and no new crashes in this version. Deploying!

:shipit:


@njit-ed functions unsupported in findroot()

I have a function f:C->C whose roots I'm trying to find. The function I'm using is complicated and would benefit from being @njit-ed. Unfortunately, this seems to be incompatible with mpmath.
MWE:
import mpmath as mp
from numba import njit

@njit
def f(z):
    return complex(z**3+2)

b = mp.findroot(f, (1+0.1*1j))

This produces the following error:
---------------------------------------------------------------------------
TypingError                               Traceback (most recent call last)
Cell In[36], [line 1](vscode-notebook-cell:?execution_count=36&line=1)
----> [1](vscode-notebook-cell:?execution_count=36&line=1) b = mp.findroot(f, (1+0.1*1j))

File [~/miniforge3/envs/myjlabenv/lib/python3.11/site-packages/mpmath/calculus/optimization.py:937](https://untitled+.vscode-resource.vscode-cdn.net/~/miniforge3/envs/myjlabenv/lib/python3.11/site-packages/mpmath/calculus/optimization.py:937), in findroot(ctx, f, x0, solver, tol, verbose, verify, **kwargs)
    [935](https://untitled+.vscode-resource.vscode-cdn.net/~/miniforge3/envs/myjlabenv/lib/python3.11/site-packages/mpmath/calculus/optimization.py:935) # detect multidimensional functions
    [936](https://untitled+.vscode-resource.vscode-cdn.net/~/miniforge3/envs/myjlabenv/lib/python3.11/site-packages/mpmath/calculus/optimization.py:936) try:
--> [937](https://untitled+.vscode-resource.vscode-cdn.net/~/miniforge3/envs/myjlabenv/lib/python3.11/site-packages/mpmath/calculus/optimization.py:937)     fx = f(*x0)
    [938](https://untitled+.vscode-resource.vscode-cdn.net/~/miniforge3/envs/myjlabenv/lib/python3.11/site-packages/mpmath/calculus/optimization.py:938)     multidimensional = isinstance(fx, (list, tuple, ctx.matrix))
    [939](https://untitled+.vscode-resource.vscode-cdn.net/~/miniforge3/envs/myjlabenv/lib/python3.11/site-packages/mpmath/calculus/optimization.py:939) except TypeError:

File [~/miniforge3/envs/myjlabenv/lib/python3.11/site-packages/numba/core/dispatcher.py:468](https://untitled+.vscode-resource.vscode-cdn.net/~/miniforge3/envs/myjlabenv/lib/python3.11/site-packages/numba/core/dispatcher.py:468), in _DispatcherBase._compile_for_args(self, *args, **kws)
    [464](https://untitled+.vscode-resource.vscode-cdn.net/~/miniforge3/envs/myjlabenv/lib/python3.11/site-packages/numba/core/dispatcher.py:464)         msg = (f"{str(e).rstrip()} \n\nThis error may have been caused "
    [465](https://untitled+.vscode-resource.vscode-cdn.net/~/miniforge3/envs/myjlabenv/lib/python3.11/site-packages/numba/core/dispatcher.py:465)                f"by the following argument(s):\n{args_str}\n")
    [466](https://untitled+.vscode-resource.vscode-cdn.net/~/miniforge3/envs/myjlabenv/lib/python3.11/site-packages/numba/core/dispatcher.py:466)         e.patch_message(msg)
--> [468](https://untitled+.vscode-resource.vscode-cdn.net/~/miniforge3/envs/myjlabenv/lib/python3.11/site-packages/numba/core/dispatcher.py:468)     error_rewrite(e, 'typing')
    [469](https://untitled+.vscode-resource.vscode-cdn.net/~/miniforge3/envs/myjlabenv/lib/python3.11/site-packages/numba/core/dispatcher.py:469) except errors.UnsupportedError as e:
    [470](https://untitled+.vscode-resource.vscode-cdn.net/~/miniforge3/envs/myjlabenv/lib/python3.11/site-packages/numba/core/dispatcher.py:470)     # Something unsupported is present in the user code, add help info
    [471](https://untitled+.vscode-resource.vscode-cdn.net/~/miniforge3/envs/myjlabenv/lib/python3.11/site-packages/numba/core/dispatcher.py:471)     error_rewrite(e, 'unsupported_error')

File [~/miniforge3/envs/myjlabenv/lib/python3.11/site-packages/numba/core/dispatcher.py:409](https://untitled+.vscode-resource.vscode-cdn.net/~/miniforge3/envs/myjlabenv/lib/python3.11/site-packages/numba/core/dispatcher.py:409), in _DispatcherBase._compile_for_args.<locals>.error_rewrite(e, issue_type)
    [407](https://untitled+.vscode-resource.vscode-cdn.net/~/miniforge3/envs/myjlabenv/lib/python3.11/site-packages/numba/core/dispatcher.py:407)     raise e
    [408](https://untitled+.vscode-resource.vscode-cdn.net/~/miniforge3/envs/myjlabenv/lib/python3.11/site-packages/numba/core/dispatcher.py:408) else:
--> [409](https://untitled+.vscode-resource.vscode-cdn.net/~/miniforge3/envs/myjlabenv/lib/python3.11/site-packages/numba/core/dispatcher.py:409)     raise e.with_traceback(None)
...
<source missing, REPL/exec in use?>

This error may have been caused by the following argument(s):
- argument 0: Cannot determine Numba type of <class 'mpmath.ctx_mp_python.mpc'>

From what I can decipher (guess, really), during the root finding mpmath is attempting to evaluate f with an argument with a type of mpc, which clashes with numba that expects a complex128. Is there a way to make this work? I assume I'd have to somehow force mpmath to not use mpc, but I can't find anything in the docs. I realize it would probably be better if I just reimplemented the root finding code, but I was wondering if there's anything that can be done instead.

Mpmath is a Python library for arbitrary-precision floating-point arithmetic.  Yes it's expected that findroot uses arbitrary-precision data types in the mp context.
However, you could use fp context:
>>> import mpmath
>>> from numba import njit
>>> @njit
... def f(z):
...     return complex(z**3+2)
...
>>> mpmath.fp.findroot(f, (1+0.1*1j))
(0.6299605249474365+1.0911236359717214j)

This was exactly what I was looking for, thank you!


'Error in generated code:', file=sys.stderr

Dear SALSA programmers,
I am trying to run SALSA in a bioconda-installed version.  Specifically, I installed it as follows:
mamba create -n salsa2_2.3 salsa2=2.3 ;

I then prepared a sorted *.bed file and length file as instructed:
conda activate bedtools_2.30.0 ;
bamToBed -i $PROJECT/necator/Hi-C/2021.12.16/N_amer_2021.10.26.OmniC.dedup.mapped.PT.bam > N_amer_2021.10.26.OmniC.dedup.mapped.PT.orig.bed ;
sort -k 4 N_amer_2021.10.26.OmniC.dedup.mapped.PT.orig.bed > N_amer_2021.10.26.OmniC.dedup.mapped.PT.bed ;
conda deactivate ;

conda activate samtools_1.14 ;
samtools faidx N_amer_2021.10.26.fa ;
conda deactivate ;

Finally, I tried running SALSA:
conda activate salsa2_2.3 ;
run_pipeline.py \
--assembly N_amer_2021.10.26.fa \
--length N_amer_2021.10.26.fa.fai \
--bed N_amer_2021.10.26.OmniC.dedup.mapped.PT.bed \
--enzyme DNASE \
--output $PROJECT/necator/Hi-C/2<IP_ADDRESS>/salsa \
--cutoff 10000 \
--iter 3 \
--dup N_amer_2021.10.26.salsa_dups.txt \
--exp 234000000 --clean yes --prnt yes ;
conda deactivate ;

SALSA2 ran for a short while, but then hit the wall and died, with the following error messages:
bedfile loaded
Starting Iteration 1
bedfile started
bedfile loaded
Traceback (most recent call last):
  File "/ocean/projects/mcb190015p/schwarze/anaconda3/envs/salsa2_2.3/bin/fast_scaled_scores.py", line 2, in <module>
    import networkx as nx
  File "/ocean/projects/mcb190015p/schwarze/anaconda3/envs/salsa2_2.3/lib/python2.7/site-packages/networkx/__init__.py", line 68, in <module>
    import networkx.utils
  File "/ocean/projects/mcb190015p/schwarze/anaconda3/envs/salsa2_2.3/lib/python2.7/site-packages/networkx/utils/__init__.py", line 2, in <module>
    from networkx.utils.decorators import *
  File "/ocean/projects/mcb190015p/schwarze/anaconda3/envs/salsa2_2.3/lib/python2.7/site-packages/networkx/utils/decorators.py", line 7, in <module>
    from decorator import decorator
  File "/ocean/projects/mcb190015p/schwarze/anaconda3/envs/salsa2_2.3/lib/python2.7/site-packages/decorator.py", line 162
    print('Error in generated code:', file=sys.stderr)
                                          ^
SyntaxError: invalid syntax

python2 /ocean/projects/mcb190015p/schwarze/anaconda3/envs/salsa2_2.3/bin/RE_sites.py -a /ocean/projects/mcb190015p/schwarze/necator/Hi-C/2<IP_ADDRESS>/salsa/assembly.cleaned.fasta -e DNASE > /ocean/projects/mcb190015p/schwarze/necator/Hi-C/2<IP_ADDRESS>/salsa/re_counts_iteration_1
python2 /ocean/projects/mcb190015p/schwarze/anaconda3/envs/salsa2_2.3/bin/make_links.py -b /ocean/projects/mcb190015p/schwarze/necator/Hi-C/2<IP_ADDRESS>/salsa/alignment_iteration_1.bed -d /ocean/projects/mcb190015p/schwarze/necator/Hi-C/2<IP_ADDRESS>/salsa -i 1 -x N_amer_2021.10.26.salsa_dups.txt
python2 /ocean/projects/mcb190015p/schwarze/anaconda3/envs/salsa2_2.3/bin/fast_scaled_scores.py -d /ocean/projects/mcb190015p/schwarze/necator/Hi-C/2<IP_ADDRESS>/salsa -i 1

Why should a bioconda package for SALSA2 running in its own versioned environment have this problem?  How should I fix it?

I've tried this with some other installation methods (earlier bioconda version, or installing straight from github).
I keep getting the same bug every time though.  Basically:
I run the code.
It runs for a while.
It tries to run fast_scaled_scores.py.
fast_scaled_scores.py seems OK through a series of module imports.
Eventually it gets around to importing decorator.py in python2.7.
Then it chokes at line 162, with the message: print('Error in generated code:', file=sys.stderr).
This shouldn't be caused by my FASTA headers having ':' in them, because they don't.  Here are the first five and last five headers:
    >N_amer_2<IP_ADDRESS>  13,794,458 nt
    >N_amer_2<IP_ADDRESS>  13,455,253 nt
    >N_amer_2<IP_ADDRESS>  12,398,671 nt
    >N_amer_2<IP_ADDRESS>  10,934,678 nt
    >N_amer_2<IP_ADDRESS>  10,093,387 nt

    >N_amer_2<IP_ADDRESS>  19,833 nt
    >N_amer_2<IP_ADDRESS>  19,674 nt
    >N_amer_2<IP_ADDRESS>  19,378 nt
    >N_amer_2<IP_ADDRESS>  18,463 nt
    >N_amer_2<IP_ADDRESS>  12,033 nt

I'm sure there's some very simple debugging or correction that will fix this.  But, what?

Not sure where the conda package is from, but it seems the networkx package is the likely culprit. I think your python install in both conda and otherwise is mixing python3 and python2 packages.

Is there some way -- any way -- to do a local user-controlled installation of a [python 2.7 + networkx 1.1] environment within which there will be no confusion by SALSA2 about which networkx module it is using, and within which SALSA2 can actually be run?
Here the three approaches that I've already tried.  Each of them has hit the same bug.  I would love to be able to install an environment for SALSA2 in which there was no confusion with the networkx module.  How?
mamba create -n salsa2_reqs_01 python=2.7.14 networkx=1.11 ;

conda activate salsa2_reqs_01 ;
# Install SALSA2 with github clone, then compile, then use:
PATH="$PROJECT/src/SALSA2_2021.12.28/bin:$PATH" ;
export PATH ;
run_pipeline.py --assembly N_amer_2021.10.26.fa --length N_amer_2021.10.26.fa.fai \
--bed N_amer_2021.10.26.OmniC.dedup.mapped.PT.bed --enzyme DNASE --output $PROJECT/necator/Hi-C/2<IP_ADDRESS>/salsa \
--cutoff 10000 --dup N_amer_2021.10.26.salsa_dups.txt \
--exp 234000000 --clean yes --prnt yes ;
conda deactivate ;

mamba create -n salsa2_2.3 salsa2=2.3 ;

conda activate salsa2_2.3 ;
run_pipeline.py --assembly N_amer_2021.10.26.fa --length N_amer_2021.10.26.fa.fai \
--bed N_amer_2021.10.26.OmniC.dedup.mapped.PT.bed --enzyme DNASE --output $PROJECT/necator/Hi-C/2<IP_ADDRESS>/salsa \
--cutoff 10000 --iter 3 --dup N_amer_2021.10.26.salsa_dups.txt \
--exp 234000000 --clean yes --prnt yes ;
conda deactivate ;

mamba create -n salsa2_2.2 salsa2=2.2 ;

conda activate salsa2_2.2 ;
run_pipeline.py --assembly N_amer_2021.10.26.fa --length N_amer_2021.10.26.fa.fai \
--bed N_amer_2021.10.26.OmniC.dedup.mapped.PT.bed --enzyme DNASE --output $PROJECT/necator/Hi-C/2<IP_ADDRESS>/salsa \
--cutoff 10000 --iter 3 --dup N_amer_2021.10.26.salsa_dups.txt \
--exp 234000000 --clean yes --prnt yes ;
conda deactivate ;

I personally don't use conda much so I'm not sure how it manages python2 vs python3 versions but my best guess is it's mixing parts of python3 and python2 in your environment. There isn't any SALSA code involved in the error, it's all the libraries added by conda, the most similar I found is this stack overflow: https://stackoverflow.com/questions/69773657/cannot-run-jupyter-notebook-by-python2-7. I'd suggest installing python2 yourself and making sure there is no trace of python3 in the enviroment/path/pythonpath.

Thanks for the pointer about conflicting modulex versions.  I have devised a method for using conda and pip to create an environment within which I have successfully run SALSA2.  This may be useful to users who find conda to be a useful tool for managing versions of Python and other software.   Here is what I did which worked:
mamba create -n salsa2_reqs python=2.7.14 ;
conda activate salsa2_reqs ;
pip install networkx==1.11 ;

cd $PROJECT/src ;
git clone https://github.com/marbl/SALSA.git SALSA2 ;

cd $PROJECT/src/SALSA2 ;
make ;
mkdir bin ;
mv -i *.sh *.py break_contigs break_contigs_start correct_links bin ;
conda deactivate ;

[move to working directory, and run the following as a 1-CPU batch job:]

conda activate salsa2_reqs ;
PATH="$PROJECT/src/SALSA2/bin:$PATH" ;
export PATH ;
run_pipeline.py --assembly N_amer_2021.10.26.fa --length N_amer_2021.10.26.fa.fai \
--bed N_amer_2021.10.26.OmniC.dedup.mapped.PT.bed --enzyme DNASE --output $PROJECT/necator/Hi-C/2<IP_ADDRESS>/salsa \
--cutoff 10000 --dup N_amer_2021.10.26.salsa_dups.txt \
--exp 234000000 --clean yes --prnt yes ;
conda deactivate ;

... which worked!  No crash at the networkx-invoking step; full run to near-chromosomal scaffolds.
I think the key step is using conda to create an invokable environment that has nothing but python 2.7, and then using pip to customize that environment by installing networkx 1.11  while actively in that environment, which will then be the sole active networkx version whenever that environment is reactivated.  That works and allows SALSA2 to function; nothing else seems to.

Thank you for this solution. Pip install networkx instead of conda install networkx in salsa environment solved the problem.


[ENH] move fixture generation in test_date into test functions or fixtures

The test moduletransformations.series.tests.test_date fits some estimators directly in the module, this would fail at test collection time rather than at test time (where it should).
The fitting should be moved into test functions, or pytest fixtures.
FYI @danbartl

This was my first PR and you are absolutely right, will change upon return from my vacation :)

Enjoy your vacation!
I'll also mark this a good first issue, since it seems fairly simple to fix this. Maybe a good soul will fix it before you have returned 😄


Add IDEWorkspaceChecks.plist

Xcode 9.3 adds a new IDEWorkspaceChecks.plist file to a workspace’s
shared data, to store the state of necessary workspace checks.
Committing this file to source control will prevent unnecessary
rerunning of those checks for each user opening the workspace.
Quote from here:
https://developer.apple.com/library/archive/releasenotes/DeveloperTools/RN-Xcode/Chapters/Introduction.html#//apple_ref/doc/uid/TP40001051-CH1-DontLinkElementID_7

Ah, thanks for tracking that explanation down. :slightly_smiling_face: Merged!


[Bug]: Badly tagged image

Is there an existing issue for this?

[X] I have searched the existing issues

Description
When upgrading the application I saw that the v.1.6.25 is badly tagged. It should be v1.6.25. There is an extra dot between the v and the 1.
Steps To Reproduce

Go to Releases
Check the release format and compare to other release patterns
Go to Docker Hub
Check the release format and compare to other release patterns

Public Sample App
No response
Version
Self Hosted v1.6.25

@merqurio thanks for reporting this! You can update to a newer version of our release directly while we fix this


Let package.json point to /dist file

We don't use es6 in our frontend. Therefore our webpack build crashed while trying to build and minify with UglifyJS. This is easily fixed when pointing towards the minified file in your dist folder.

I got this to work with the change that fixed this issue (commit 48) but I'm just hoping someone has a quick answer to this -- I am using es6, with Babel and Webpack, for the front end, so why wouldn't the build work as it was? I'm a Webpack novice so any insight appreciated.
The build command I'm using seems to be cross-env NODE_ENV=production webpack --progress --hide-modules (maybe it's that hide-modules bit at the end??)

@nabrown I'm pretty sure the problem you're having is that babel, by default, does not transpile anything in node_modules. So when you're importing NoSleep you get the es6 version, and because you're using NODE_ENV=production webpack is running it through UglifyJs which barfs when given es6.
If you want a fix without depending on #48 (which unfortunately is in PR limbo it seems) you can do this:
import NoSleep from 'nosleep.js/dist/NoSleep.js'


What if my spiketrain or timing variables are empty for some trials.

Whats the advice if my spike train or timing variables are empty during some of the trials?
Sidenote:
To get my data accepted by the addTrial, function I added a condition to only test that the timing of events happen within the duration of the trial if the data input is nonempty. (The tests in line 18 and 28 does not work on empty vectors)
Then, when I compiled the SparseDesignMatrix it gave me a warning that the design matrix contains infs and nans. Could that be due to empty timing vectors?

I had forgotten to remove some nans from one of my variables, so that was the reason for the warning I received.

Thanks for the report. Can you provide minimal reproducible code so I can quickly fix it?

    case 'timing'
        if max(size(trial.(vname))) ~= numel(trial.(vname))
            error('Timing must be 1 dimensional')
        end
        if ~isempty(trial.(vname)) % Line added
            if min(trial.(vname)) < 0 || max(trial.(vname)) > trial.duration
                error('Timing out of bound 0 <= [%f, %f] <= %f',min(trial.(vname)), max(trial.(vname)), trial.duration);
            end
        end
    case 'value'
        % no restrictions on what values can be!
    case 'spike train'
        if ~isempty(trial.(vname)) % Line added
            if min(trial.(vname)) < 0 || max(trial.(vname)) > trial.duration
                error('Spike timing out of bound 0 <= [%f, %f] <= %f',min(trial.(vname)), max(trial.(vname)), trial.duration);
            end
        end

The code is from line 17 and onwards in addTrial.m
I added the two if statements with comments after.

Awesome. If you want to submit this fix yourself, feel free to send a pull request. I'll merge it so that you can get proper credit. (I was asking you how to replicate the problem.)

Hey, just as a heads up, this line appears to still need to be added to the base code. I just ran into the same issue and added these lines.


Support 7-zip compressed data files

Fix #3541, fix #4670.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

Cool! Can you please remove Fix #3541 from the description as this PR doesn't add support for streaming/iter_archive, so it only partially addresses the issue?
Side note:
I think we can use libarchive (libarchive-c is a Python package with the bindings) for streaming 7z archives. The only issue with this lib is that it's tricky to install on Windows/Mac.


Deferred operation for CreateRayTracingPipelinesKHR

The old PR https://github.com/LunarG/gfxreconstruct/pull/653 changes order of both capture and replay. It runs DeferredOperationJoinKHR immediately after CreateRayTracingPipelinesKHR.
This PR keeps the original order, so it needs to record parameters and their pointer's data of CreateRayTracingPipelinesKHR to avoid those parameters be modified or invalid. Replay is more complicated than capture.  Now, it has a problem for replay. It's hard to deep copy pNext and pNext's pointer data. So if the application uses pNext, the replay would fail.
The second solution is to record decode data, like StructPointerDecoder<Decoded_VkRayTracingPipelineCreateInfoKHR> pCreateInfos, example: https://github.com/locke-lunarg/gfxreconstruct/commits/deferred3. But the problem is that it uses DecodeAllocator::Allocate to allocate memory and save data. The memory could be overwrite in the following function call, so the data might be overwrite before DeferredOperationJoinKHR. It can't guarantee safety.
The third solution is the most safety and easy that is to run DeferredOperationJoinKHR immediately after CreateRayTracingPipelinesKHR. It's just like the old PR, but only for replay. But it changes the order.

CI gfxreconstruct build # 1862 running.

CI gfxreconstruct build queued with queue ID 19359.

CI gfxreconstruct build # 1863 running.

CI gfxreconstruct build # 1863 passed.

I think adding a switch in DecodeAllocator::End() to avoid it to clear memory before GetDeferredOperationResultKHR is the best solution. It could replay a lot of functions between CreateRayTracingPipelinesKHR and GetDeferredOperationResultKHR. The whole functions' data will be kept and not be released. But I think the data size should be fine.


Add version sorting so it grabs the actual latest.

Fixes #13

+1 I just tested it now

Awesome, thank you!

Just released 0.0.8 with this change. Thanks again!


WIP Fractal Wallet adapter

[x] update logo
[x] update to production URL

This PR is still marked as a draft and hasn't been updated for some time. Can you either close it, or update it, merge the latest master, and mark it ready for review?


Issue 508 read pycsw config from env

Overview
Related Issue / Discussion
#508 - There is no way to get PYCSW_CONFIG from the os environment when using wsgi servers
Additional Information
TODO before review:

[x] - Implement the code changes
[x] - Add documentation to any new functions
[x] - Add some unit tests

Contributions and Licensing
(as per https://github.com/geopython/pycsw/blob/master/CONTRIBUTING.rst#contributions-and-licensing)

[x] I'd like to contribute [feature X|bugfix Y|docs|something else] to pycsw. I confirm that my contributions to pycsw will be compatible with the pycsw license guidelines at the time of contribution.
[x] I have already previously agreed to the pycsw Contributions and Licensing Guidelines

I think this is mostly ready for integration, just need to squash and rebase

Thanks @ricardogsilva! Nice work again!


Gora 482 - Moving Gora to support only Hadoop2

Tests pass, but there are some extra hadoop dependencies that we don't seem to use any more, so they are commented out for now.
hadoop-common
hadoop-auth
hadoop-mapreduce-client-core
hadoop-yarn-common

Thanks @renato2099 for clearing this up. Keeping Gora more lightweight is the way forward now. As you've stated, not many people are using MRv1 API now.

Done @lewismc, please let me know what you think.

ACK, please merge into master and remove the modules.

Dynamite
On Jul 31, 2016 12:33 PM, "asfgit"<EMAIL_ADDRESS>wrote:

Merged #71 https://github.com/apache/gora/pull/71.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/apache/gora/pull/71#event-740340613, or mute the
thread
https://github.com/notifications/unsubscribe-auth/ABHJl5bW8fceium3eRtVNVcIUChEveheks5qbPiAgaJpZM4JW_Pk
.


White screen problem.

following the steps to produce barcode scanner in android results into white screen with red border.

Same problem here ! Do you have some news about it ?


Repackage Texture to support new CI/CD system.

I need to re-package Texture to fall in line with our CI/CD workflow so that I can have it built, tested and deployed as part of the workflow.
DoD:

[x] Texture built and deployed on to the staging system where a client can open the Texture landing page in a web browser and see a blank document.

https://libero-editor--test.elifesciences.org/


⚠ Cioos National CKAN Sitemap has degraded performance

In 1c90f26, Cioos National CKAN Sitemap (https://catalogue.cioos.ca/sitemap/sitemap-1.xml) experienced degraded performance:

HTTP code: 200
Response time: 17947 ms

Resolved: Cioos National CKAN Sitemap performance has improved in 37c948b after 6 minutes.