command 'python.execSelectionInTerminal' not found

Bug: command 'python.execSelectionInTerminal' not found
Steps to cause the bug to occur

Start remote workspace
Hitting Shift + Enter to execute some selected code

Actual behavior
Get error message: command 'python.execSelectionInTerminal' not found
Seems the same as:
https://github.com/microsoft/vscode-python/issues/3623https://github.com/microsoft/vscode-python/issues/3623
I have uninstalled and reinstalled the extension. But I could not see where to download the vsix file?
Expected behavior
The code to run in interactive window
Your Jupyter and/or Python environment
Please provide as much info as you readily know

Jupyter server running:  | Remote |
**Extension version: 2020.06.91350
**VS Code version: 1.446.1
OS: Windows | Mac(local) | Linux (remoted):
Virtual environment: conda

Developer Tools Console Output

workbench.desktop.main.js:sourcemap:1670  WARN Workbench did not finish loading in 10 seconds, that might be a problem that should be reported.
2workbench.desktop.main.js:sourcemap:265 [Extension Host] (node:2230) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
t.log @ workbench.desktop.main.js:sourcemap:265
workbench.desktop.main.js:sourcemap:5004 No search provider registered for scheme: vscode-remote, waiting
(anonymous) @ workbench.desktop.main.js:sourcemap:5004
workbench.desktop.main.js:sourcemap:1670  INFO [remote-connection][ExtensionHost][a449e…][reconnect] starting reconnecting loop. You can get more information with the trace log level.
workbench.desktop.main.js:sourcemap:1670  INFO [remote-connection][ExtensionHost][a449e…][reconnect] waiting for 5 seconds before reconnecting...
workbench.desktop.main.js:sourcemap:1670  INFO [remote-connection][ExtensionHost][a449e…][reconnect] resolving connection...
workbench.desktop.main.js:sourcemap:1670  INFO [remote-connection][ExtensionHost][a449e…][reconnect] connecting to <IP_ADDRESS>:51392...
workbench.desktop.main.js:sourcemap:1670  INFO [remote-connection][ExtensionHost][a449e…][reconnect] reconnected!
workbench.desktop.main.js:sourcemap:1670  INFO [remote-connection][ExtensionHost][a449e…][reconnect] starting reconnecting loop. You can get more information with the trace log level.
workbench.desktop.main.js:sourcemap:1670  INFO [remote-connection][ExtensionHost][a449e…][reconnect] waiting for 5 seconds before reconnecting...
workbench.desktop.main.js:sourcemap:1670  INFO [remote-connection][ExtensionHost][a449e…][reconnect] resolving connection...
workbench.desktop.main.js:sourcemap:1670  INFO [remote-connection][ExtensionHost][a449e…][reconnect] connecting to <IP_ADDRESS>:51392...
workbench.desktop.main.js:sourcemap:1670  INFO [remote-connection][ExtensionHost][a449e…][reconnect] reconnected!
workbench.desktop.main.js:sourcemap:4207 Error received from starting extension host
(anonymous) @ workbench.desktop.main.js:sourcemap:4207
workbench.desktop.main.js:sourcemap:4207 timeout
(anonymous) @ workbench.desktop.main.js:sourcemap:4207
workbench.desktop.main.js:sourcemap:2932 Command 'Python: Specify local or remote Jupyter server for connections' resulted in an error (command 'python.datascience.selectjupyteruri' not found)
onDidChangeNotification @ workbench.desktop.main.js:sourcemap:2932
workbench.desktop.main.js:sourcemap:2932 Command 'Python: Select Interpreter to start Jupyter server' resulted in an error (command 'python.datascience.selectJupyterInterpreter' not found)
onDidChangeNotification @ workbench.desktop.main.js:sourcemap:2932
workbench.desktop.main.js:sourcemap:1670  INFO [remote-connection][ExtensionHost][a449e…][reconnect] starting reconnecting loop. You can get more information with the trace log level.
workbench.desktop.main.js:sourcemap:1670  INFO [remote-connection][ExtensionHost][a449e…][reconnect] waiting for 5 seconds before reconnecting...
workbench.desktop.main.js:sourcemap:1670  INFO [remote-connection][ExtensionHost][a449e…][reconnect] resolving connection...
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2932 Command 'Python: Enable Source Map Support For Extension Debugging' resulted in an error (command 'python.enableSourceMapSupport' not found)
onDidChangeNotification @ /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2932
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1670  INFO [remote-connection][ExtensionHost][a449e…][reconnect] resolving connection...
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1670  INFO [remote-connection][ExtensionHost][a449e…][reconnect] connecting to <IP_ADDRESS>:51392...
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1670  INFO [remote-connection][ExtensionHost][a449e…][reconnect] reconnected!
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1670  INFO [remote-connection][ExtensionHost][a449e…][reconnect] starting reconnecting loop. You can get more information with the trace log level.
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1670  INFO [remote-connection][ExtensionHost][a449e…][reconnect] waiting for 5 seconds before reconnecting...
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1670  INFO [remote-connection][ExtensionHost][a449e…][reconnect] resolving connection...
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1670  INFO [remote-connection][ExtensionHost][a449e…][reconnect] connecting to <IP_ADDRESS>:51392...
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1670  INFO [remote-connection][ExtensionHost][a449e…][reconnect] reconnected!

 NB when trying to run the "Enable source map support for
extension debugging" command I receive Command 'Python: Enable Source Map Support For Extension Debugging' resulted in an error (command 'python.enableSourceMapSupport' not found)

Microsoft Data Science for VS Code Engineering Team: @rchiodo, @IanMatthewHuff, @DavidKutu, @DonJayamanne, @greazer, @joyceerhl

@robmcc10, thanks for letting us know about this.  Please provide the content of the "Python" output panel, as well as your workspace settings.json.  Thanks!

Hi @ericsnowcurrently, I think this was related to a broader vscode issue: https://github.com/microsoft/vscode-remote-release/issues/3320


Let's Encrypt root (DST Root CA X3) isn't in the base image

This specifically refers to mcr.microsoft.com/windows/servercore:ltsc2019, although it also applies to nanoserver images.
Like many, we were bit two weeks ago by the expiration of the Let's Encrypt root certificate.  We worked around it at the time using certoc to install the root certificate manually in (all) our Dockerfiles.  But on further investigation, there's more information.
Question/Issue 1: are we to expect that root certificates are kept up to date in the Windows base images?  They appear to be for (what was once) more "mainstream" certificates from Entrust, Digicert, etc., but Let's Encrypt didn't make that cut.  Is this is an issue/process to fix?
Question/Bug/Issue 2: we use an outbound proxy, and the system proxy is configured accordingly.  Wiresharking the container, we see everything go through the proxy normally except the http requests to ctldl.windowsupdate.com/msdownload/update/v3/static/trustedr/en/authrootstl.cab and  apps.identrust.com/roots/dstrootcax3.p7c from the Microsoft-CryptoAPI, which would have been where it updated the Let's Encrypt root.  That attempted a direct connection, which clearly failed.
Realizing that Issue 2 is more of a Windows issue than a docker image issue, wouldn't that make it more compelling to settle Issue 1 by keeping the image CAs up to date?   Otherwise every Dockerfile writer will have to repeat the same process of certoc'ing the root CAs as they expire in the future.

Hey @scottdcarson re: your first question, what are you referring to by up to date? And can you share what are you trying to accomplish by having access to the Let's Encrypt root certificate?


Feature: add uniqueness_test option to cardinality equality test

I needed something somewhere in between the relationship test and this cardinality test.
The test needed to compare the unique values across two different sources' models to ensure that the unique values were in lock-step across both systems. The current test fails if the total count of rows was different even if the distinct values were shared.
Technically having two relationship tests  (one pointing from A->B and one from B->A) would work, but I like the convenience of being able to run just one test.
This is my first attempt at forking a public repo and trying to contribute, let me know if I did anything wrong or missed a step.

It seems like the build failed because of an issue with the redshift build env, and not due to the changes. :(

hey @kevinsanz93! thanks for opening this PR! We'll check it out -- just wanted to give you a heads up that I saw it and that I think it's neat :)
Don't worried about those failing tests -- I'll kick those off for you when I review this PR!

Hey @kevinsanz93 - thanks for opening up this PR!
You definitely did everything right here - nice work on your first PR to a public repo :)
This PR is interesting - it sits right in between the functionality defined in the cardinality_equality and the equality tests defined in this package. I like that you noted something similar can be accomplished with the existing cardinality_equality test in conjunction with a couple of other relationships tests. While I recognize the benefit of the logic change in this PR (should the logic you've shown here not have been the default?) I hesitate to accept a PR for this particular macro in dbt-utils.
This package is becoming hard to maintain as macros become more complex over time. In general, I want all of the macros in here to be simpler and accept fewer arguments - this will make them easier to test and maintain. We need to do a better job of clarifying how this particular package is going to evolve over time (I think we should have more packages that have a tighter scope) but I did want to get back to you here sooner rather than later.
For the moment, I'm going to close this PR but please do feel free to let me know if you have any questions or comments. I'm really grateful you took the time to open this one up and very happy to discuss it further.
Thanks!


No deserialization found for type dynamic

I want to return an endpoint with Map<String, dynamic> and I am sending the model I created on the serverpod side as you can see below, but I am getting the error "No deserialization found for type dynamic". Can't I return Map<String, dynamic> as the return type? Or is there a problem while sending the model?
Here my endpoint:
Future<Map<String, dynamic>> getUserInfoByUserInfoId(
   Session session,
   int userInfoId,
   Map<String, dynamic>? deviceInfo,
 ) async {
   Map<String, dynamic> result = {};

   try {
     final userInfo = await EAllergyUser.db
         .findFirstRow(session, where: (u) => u.userId.equals(userInfoId));
     if (userInfo == null) {
       result = {
         "userInfo": null,
         "verificationCode": null,
         "isDetectedNewDevice": false,
         "message": "Kullanıcı bulunamadı",
         "statusCode": 404
       };
       return result;
     }

     if (userInfo.macAddress != null && userInfo.macAddress!.isEmpty && deviceInfo != null) {
       userInfo.macAddress!.add(deviceInfo['id']);
       await EAllergyUser.db.updateRow(session, userInfo);

       result = {
         "userInfo": userInfo,
         "verificationCode": null,
         "isDetectedNewDevice": false,
         "message": "Kullanıcı bilgileri başarıyla getirildi",
         "statusCode": 200
       };

       return result;
     } else {
       if (deviceInfo != null && !userInfo.macAddress!.contains(deviceInfo['id'])) {
         final mainUser = await UserInfo.db.findById(session, userInfo.userId);

         // Generate verification code
         String verificationCode = _generateVerificationCode();

         // Send email with deviceInfo and verification code
         await _sendVerificationEmail(session, mainUser!.email ?? "",
             deviceInfo, verificationCode, mainUser);

         // Store the verification code (implementation depends on your storage solution)
         await _storeVerificationCode(session, userInfo.userId, verificationCode);

         result = {
           "userInfo": userInfo,
           "verificationCode": verificationCode,
           "isDetectedNewDevice": true,
           "message": "Yeni bir cihaz girişi tespit edildi. Lütfen siz olduğunuzu doğrulayınız.",
           "statusCode": 200
         };

         return result;
       } else {
         result = {
           "userInfo": userInfo,
           "verificationCode": null,
           "isDetectedNewDevice": false,
           "message": "Kullanıcı bilgileri başarıyla getirildi",
           "statusCode": 200
         };

         return result;
       }
     }
   } catch (e) {
     log(e.toString(),
         time: DateTime.now(), name: "getUserInfoByUserInfoId", error: e);
     return {
       "userInfo": null,
       "verificationCode": null,
       "isDetectedNewDevice": false,
       "message": "Bir hata ile karşılaşıldı",
       "statusCode": 500
     };
   }
 }

and console log
No deserialization found for type dynamic
#0      SerializationManager.deserialize (package:serverpod_serialization/src/serialization.dart:124:5)
#1      Protocol.deserialize (package:eallergysl_server/src/generated/protocol.dart:1631:18)
#2      Protocol.deserialize. (package:eallergysl_server/src/generated/protocol.dart:1576:48)
#3      MapBase.map (dart:collection/maps.dart:82:28)
#4      Protocol.deserialize (package:eallergysl_server/src/generated/protocol.dart:1575:27)
#5      EndpointDispatch._formatArg (package:serverpod/src/server/endpoint_dispatch.dart:183:33)
#6      EndpointDispatch.handleUriCall (package:serverpod/src/server/endpoint_dispatch.dart:122:25)

#7      Server._handleRequest (package:serverpod/src/server/server.dart:298:18)

_CLI Version: 2.0.2
_Library version: 2.0.2

IDE: Android Studio,
OS: MacOS Sonoma 14.6.1
Thanks.

dynamic is not supported as a type in either the models or endpoint params/return values.
Why do you want to return this JSON manually? You could just as easily create a model like so:
class: MyResponse
fields:
  userInfo: model:auth:userInfo?
  verificationCode: String?
  isDetectedNewDevice: bool
  message: String
  statusCode: int

If you use the generated class from the above definition, Serverpod will manage the Serialization for you. Hence you will not need to do any manual conversion and you get a typed interface!
A side note, it looks like you are building an endpoint for a specific user? If so I would recommend not sending the userId as a param. It means that anyone could send a request with someone else's userId and retrieve information about someone else, e.g. this is a security risk.
Instead you can get the userId from the authenticated user by looking at the session object.
Like so:
final auth = await session.authenticated;
final userInfoId = auth?.userId;


fix: fix dynamic environment behaviour in after scenario/feature actions

Coverage decreased (-0.2%) to 87.671% when pulling fc24324e0734c21b63cfe863c274942cea2cc53b on fix/dynamic_environment into 7fcf63d665d7c5f7fbacaa220a2d4c715e6b5629 on master.

LGTM


[REQ] !firstweek command

As per the request from the #citadel channel in the Discord. A simple command (similar to !website for example) that would make Horace fetch the link to "Your First Week at KOA" guide. It could be a good first issue for Hacktoberfest folks!

Can I pick this up?

@lieuweberg Sure! For the link, use https://koa.gg/firstweek :D

koa.gg/firstweek is not loading for me at all or very slowly, but the https://knightsofacademia.org/your-first-week-at-koa/ site works fine. Should I just use that instead?

@lieuweberg I need to create the link. It should work in just one second.

Should work now.


fix(Transaction.get2()): Improvement to vin token inputs

:tada: This PR is included in version 4.20.23 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


nginx service does not restart/reload on nginx_site change

A wrapper recipe like this:
include_recipe 'chef_nginx::default'

# to avoid confusion with this example
node.override['nginx']['default_site_enabled'] = false

nginx_site 'test-site' do
  template 'test-site.erb'
  # Contrived example, to change with each chef run...
  variables response_text: Time.now.strftime('%d/%m/%Y %H:%M:%S')
  enable true
end

With this template:
server {
  listen 80;
  server_name _;
  location = / {
    add_header Content-Type text/plain;
    access_log off;
    return 200 '<%= @response_text %>';
  }
}

... results in /etc/nginx/sites-enabled/test-site like this:
server {
  listen 80;
  server_name _;
  location = / {
    add_header Content-Type text/plain;
    access_log off;
    return 200 '25/10/2016 17:58:55';
  }
}

A web request to this site returns the expected result, which in this case is static text describing
the time when the chef run occurred, for example "25/10/2016 17:58:55".
Running the converge again at a later time changes the
/etc/nginx/sites-enabled/test-site file, perhaps to this:
server {
  listen 80;
  server_name _;
  location = / {
    add_header Content-Type text/plain;
    access_log off;
    return 200 '25/10/2016 18:01:01';
  }
}

But after the chef run, a web request still returns "25/10/2016 17:58:55" indicating that nginx has not noticed the change in the site file.
After manually running sudo service nginx restart from the console, the same request will return the expected value of '25/10/2016 18:01:01' indicating nginx is now using the updated site file.
I would expect changes to an nginx_site to take effect immediately on the affected nginx server.

chef_nginx (3.1.2)
Chef Development Kit Version: 0.18.30
chef-client version: 12.15.19
berks version: 5.1.0
kitchen version: 1.13.2

Fixed in master now


Add support for gitlab in SCM generator

Hello :-)
SCM generator is awesome, but I cannot use it for now because we use a private gitlab instance.
As the question about it has not been answered in Slack, I open this issue to know if some work has been started on gitlab support into the SCM generator.
Thanks

Hi @yogeek, adding GitLab support would be great! The SCM provider generator (and it's GitHub support) was contributed by an Argo CD community member, and likewise GitLab support would need to come from community folks that are interested in this feature.
TLDR: PR requests welcome :smile: .

Hi @jgwest , ok thanks for your answer 👍
I do not know golang but I will try to have a look into the gitlab go library to explore and identify where to start.

Not trying to hijack this issue but it might be related. I am getting the following error when applying an ApplicationSet with a private Gitlab repository using HTTPS using the git generator. Is this the same issue or just a misconfiguration?
│ time="2021-07-05T15:47:49Z" level=info msg="git fetch origin --tags --force" dir="/tmp/https:__gitlab.com_XXXX" execID=MhWrr                                                                                │
│ time="2021-07-05T15:47:49Z" level=error msg="`git fetch origin --tags --force` failed exit status 128: fatal: could not read Username for 'https://gitlab.com': No such device or address" execID=MhWrr                                  │
│ time="2021-07-05T15:47:49Z" level=info msg=Trace args="[git fetch origin --tags --force]" dir="/tmp/https:__gitlab.com_mobilab-020_mobilab" operation_name="exec git" time_ms=274.169878                                                 │
│ time="2021-07-05T15:47:49Z" level=error msg="error generating params" error="Error during fetching repo: `git fetch origin --tags --force` failed exit status 128: fatal: could not read Username for 'https://gitlab.com': No such devi │
│ time="2021-07-05T15:47:49Z" level=error msg="error generating application from params" error="Error during fetching repo: `git fetch origin --tags --force` failed exit status 128: fatal: could not read Username for 'https://gitlab.c │
│ 2021-07-05T15:47:49.678Z    ERROR    controller-runtime.manager.controller.applicationset    Reconciler error    {"reconciler group": "argoproj.io", "reconciler kind": "ApplicationSet", "name": "core", "namespace": "argocd", "error" │
│ github.com/go-logr/zapr.(*zapLogger).Error


Create issuer from existing cert

Implement the API operation createIssuerFromRef.
Definition of done

Backend Implemented
Frontend Implemented
API tests Implemented

@leilaboaze & @sambodirce you can proceed with tests


Three ApplicationGatewayCipherSuite are missing.

Bug Report

import path of package in question, e.g. .../services/network/mgmt/2018-12-01/network
SDK version e.g. master

When I use terraform-provider-azurerm, I find it doesn't exists three ApplicationGatewayCipherSuite below.

TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA
TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256

They are "PosibleVaules", right?
If we can use them, please add them.

Fix is coming, see https://github.com/Azure/azure-rest-api-specs/pull/6212/files

Appreciate it!

Hi, that PR https://github.com/Azure/azure-rest-api-specs/pull/6212/files has been merged - looks like the cipher suites also need adding here?
https://github.com/Azure/azure-sdk-for-go/blob/784a56e5c68f892e337b82c8e1feb5fb6cd7a58a/services/network/mgmt/2018-04-01/network/models.go#L198

Should be released this week.

Any news?

Sorry for the delay, this was released in v31.0.0 of the SDK.


Branch 0.5 doc update

Update docs for release, removed -SNAPSHOT.  One file I did not modify, and would like input on, is ./tests-spark310+/README.md.

One file I did not modify, and would like input on, is ./tests-spark310+/README.md.

This file needs some updates.  It doesn't just apply to Spark-3.1.0-SNAPSHOT but any Spark after that, really Spark-3.1.1+ at this point.

build


Fix typo in overflow docs

horizontal is duplicated on overflow-x-scroll and overflow-y-scroll definitions.

Thanks!


*.mix file doesnt work with more than 8 output-chanels

When i mixed more than 8 output-chanels with the *.mix-file, the output doesnt work anymore.
On SBUS i do not get any signal on any servo by using 9 or more output-mix-chanels.
I think it doesnt work with pwm either, but i am not sure on pwm.
Best, Severin

to describe the goal: it would be great to have at least 12 or better 16 chanels on the mix-file.

hopefully, i can test this week...

This has been implemented and tested, closing.


Keep package updates in operation plan

This PR fixes the issue with update operations not reverting the invalid updates to a configuration package.
I took the liberty of going a bit deeper and restructuring the code for system package updates moving relevant bits from https://github.com/gravitational/gravity/blob/master/tool/gravity/cli/system.go to the new lib/update/system package for easier handling and integration. As a result, I chose to keep intended package updates in the operation plan which caused a bit of a ripple effect on the update operation implementations.
Although system upgrade and system pull-updates are no longer used - they have not been removed just yet.
Updates http://github.com/gravitational/gravity.e/issues/3996.

system upgrade and system pull-updates still work but there were a few bits in lib/update that chose to ignore it and simply do the work locally so they may not be 100% up to date.


Upgrade requirements

Codecov Report

Merging #206 (5ac5caf) into main (b247214) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main      #206   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            1         1
  Lines           41        40    -1
  Branches         8         8
=========================================
- Hits            41        40    -1

Impacted Files
Coverage Δ

src/django_permissions_policy.py
100.00% <0.00%> (ø)

Continue to review full report at Codecov.

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


InfluxDB 500 timeout errors when ingesting data into InfluxDB

How to reproduce
Download and extract https://drive.google.com/file/d/0B5ighvmMo-dYbHBrUE9rTjl3V1U/view?usp=sharing
Start with a fresh influxdb 0.9.1 on Mac OS X
curl -G http://influxdb:8086/query --data-urlencode "q=CREATE DATABASE mydb"
for i in dest/** ; do curl -i -XPOST 'http://influxdb:8086/write?db=mydb&precision=ms' --data-binary "@$i" ; done

After a while, curl will output errors such as
HTTP/1.1 500 Internal Server Error
Request-Id: bbe9d518-2be7-11e5-80e9-000000000000
X-Influxdb-Version: 0.9.1
Date: Thu, 16 Jul 2015 18:23:25 GMT
Content-Length: 8
Content-Type: text/plain; charset=utf-8
timeout
HTTP/1.1 100 Continue
HTTP/1.1 500 Internal Server Error
Request-Id: bf83e187-2be7-11e5-80ea-000000000000
X-Influxdb-Version: 0.9.1
Date: Thu, 16 Jul 2015 18:23:30 GMT
Content-Length: 8
Content-Type: text/plain; charset=utf-8
timeout
HTTP/1.1 100 Continue

On the InfluxDB side, the kind of logs we have is
[http] 2015/07/16 14:23:25 ::1 - kpi [16/Jul/2015:14:23:19 -0400] POST /write?db=mydb&precision=ms HTTP/1.1 500 8 - curl/7.37.1 bbe9d518-2be7-11e5-80e9-000000000000 6.031924575s
[http] 2015/07/16 14:23:30 ::1 - kpi [16/Jul/2015:14:23:25 -0400] POST /write?db=mydb&precision=ms HTTP/1.1 500 8 - curl/7.37.1 bf83e187-2be7-11e5-80ea-000000000000 5.024233432s
[http] 2015/07/16 14:23:35 ::1 - kpi [16/Jul/2015:14:23:30 -0400] POST /write?db=mydb&precision=ms HTTP/1.1 500 8 - curl/7.37.1 c2846812-2be7-11e5-80eb-000000000000 5.024393663s
[http] 2015/07/16 14:23:40 ::1 - kpi [16/Jul/2015:14:23:35 -0400] POST /write?db=mydb&precision=ms HTTP/1.1 500 8 - curl/7.37.1 c584e0f5-2be7-11e5-80ec-000000000000 5.022836486s
[http] 2015/07/16 14:23:45 ::1 - kpi [16/Jul/2015:14:23:40 -0400] POST /write?db=mydb&precision=ms HTTP/1.1 500 8 - curl/7.37.1 c88514b7-2be7-11e5-80ed-000000000000 5.024503321s
[http] 2015/07/16 14:23:50 ::1 - kpi [16/Jul/2015:14:23:45 -0400] POST /write?db=mydb&precision=ms HTTP/1.1 500 8 - curl/7.37.1 cb856a0c-2be7-11e5-80ee-000000000000 5.023451153s
[retention] 2015/07/16 14:24:40 retention policy enforcement check commencing
[retention] 2015/07/16 14:24:40 retention policy shard deletion check commencing
2015/07/16 14:24:46 new shard group 32 successfully created for database mydb, retention policy default
2015/07/16 14:24:48 new shard group 33 successfully created for database mydb, retention policy default
[shard] 2015/07/16 14:25:49 flush 1 points in 0.001s
[shard] 2015/07/16 14:25:49 flush 1996 points in 0.015s
[shard] 2015/07/16 14:25:51 flush 2 points in 0.000s
[shard] 2015/07/16 14:25:51 flush 1996 points in 0.004s
[shard] 2015/07/16 14:25:53 flush 1 points in 0.001s
[shard] 2015/07/16 14:25:53 flush 998 points in 0.003s
[shard] 2015/07/16 14:25:53 flush 2132 points in 0.005s
[shard] 2015/07/16 14:25:55 flush 1 points in 0.001s

Thanks for the report @samidalouche . Have you tried reducing the size of your WAL? Perhaps by 50%?
https://github.com/influxdb/influxdb/blob/master/etc/config.sample.toml#L39
I'd like to know if this helps.

No, I have not, I will try and reply with the results

Same thing. Ends up timing out
http] 2015/07/16 15:37:59 ::1 - - [16/Jul/2015:15:37:54 -0400] POST /write?db=mydb&precision=ms HTTP/1.1 500 8 - curl/7.37.1 277a796b-2bf2-11e5-8028-000000000000 5.029369274s
[http] 2015/07/16 15:38:04 ::1 - - [16/Jul/2015:15:37:59 -0400] POST /write?db=mydb&precision=ms HTTP/1.1 500 8 - curl/7.37.1 2a7bc52f-2bf2-11e5-8029-000000000000 5.026220061s
[http] 2015/07/16 15:38:10 ::1 - - [16/Jul/2015:15:38:04 -0400] POST /write?db=mydb&precision=ms HTTP/1.1 500 8 - curl/7.37.1 2d7c7291-2bf2-11e5-802a-000000000000 5.02902371s

I also tried increasing the timeouts to 15s, and I still see the requests failing after 5s
[cluster]
shard-writer-timeout = "15s"
write-timeout = "15s"
[http] 2015/07/16 15:41:10 ::1 - - [16/Jul/2015:15:41:05 -0400] POST /write?db=mydb&precision=ms HTTP/1.1 500 8 - curl/7.37.1 9923ba86-2bf2-11e5-8021-000000000000 5.021813866s
[http] 2015/07/16 15:41:15 ::1 - - [16/Jul/2015:15:41:10 -0400] POST /write?db=mydb&precision=ms HTTP/1.1 500 8 - curl/7.37.1 9c23bb6c-2bf2-11e5-8022-000000000000 5.034980458s
[http] 2015/07/16 15:41:20 ::1 - - [16/Jul/2015:15:41:15 -0400] POST /write?db=mydb&precision=ms HTTP/1.1 500 8 - curl/7.37.1 9f25a120-2bf2-11e5-8023-000000000000 5.022640187s
[http] 2015/07/16 15:41:25 ::1 - - [16/Jul/2015:15:41:20 -0400] POST /write?db=mydb&precision=ms HTTP/1.1 500 8 - curl/7.37.1 a225c753-2bf2-11e5-8024-000000000000 5.02453319s

I even tried a much lower WAL size
max-wal-size = 26214400

@samidalouche It looks like that file contains 305 files with 10000 points in each file. The InfluxDB will crash if you try to pump 3.05 million points into it at the same time.
A single node can sustain between 5000 and 10000 points per second.

@gunnaraasen I tried a variant of the script that sleeps 15 seconds between each curl (thus largely reducing the ingestion rate below 5000 points per second):
for i in dest/** ; do curl -i -XPOST 'http://influxdb:8086/write?db=mydb&precision=ms' --data-binary "@$i" ; sleep 15 ; done
And I still get the same issue.

Let's re-open this, there are some ingestion issues being reported and we need to look into this.

@sakamotomsh Thanks for the test script.  I was able to reproduce this w/ 0.9.1 branch but not with master.  The profile showed that there was too much time spent sorting the WAL which is the same issue as #3159.
The fix should be in the latest nightly builds and will also be in 0.9.2.


[FR]: support golangci-lint

What is the current behavior?
No support for Go linting
Describe the feature
Probably the most popular/common linter for Go is https://golangci-lint.run
It would be wonderful to support this.
Thanks for the awesome project :)

We would take a feature bounty for this, see the Sponsor link on the repo. Or else someone can send a PR.


Change "Dark Green 2" to #308800

Design decision 2022-03-08
Change
Dark Green 2 has been changed to #308800 (from #379D00).
Reason
To improve contrast values, especially when we use it on components with white text on a green background.
This is a general adjustment of the colour for all our frameworks. It will impact a number of components, such as Alert ribbon, Badge, Toast, Slide toggle and Tab navigation. I have informed Green, Vanilla and Bootstrap as I am hoping that I don't have to create issues for each component? Please let me know is that is the case!
Thanks!
/Ulrika

Hi, I will be closing this issue as Dark Green 2 is already set to #308800 in rgb format rgb(48, 136, 0)


Skip sections with --skip-sections option

Add --skip-sections option to several transformers. Allows to skip formatting of selected sections.
This option is redudant with NormalizeSeparators "sections" options and it was replaced by it.
Closes #388 Closes #475

Codecov Report
Patch coverage: 100.00% and project coverage change: -0.01 :warning:

Comparison is base (efabd7a) 97.02% compared to head (f5219ad) 97.02%.

:exclamation: Current head f5219ad differs from pull request most recent head dd55c46. Consider uploading reports for the commit dd55c46 to get more accurate results

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #486      +/-   ##
==========================================
- Coverage   97.02%   97.02%   -0.01%
==========================================
  Files          45       45
  Lines        4137     4129       -8
==========================================
- Hits         4014     4006       -8
  Misses        123      123

Impacted Files
Coverage Δ

robotidy/cli.py
97.46% <100.00%> (+0.01%)
:arrow_up:

robotidy/disablers.py
97.91% <100.00%> (+0.10%)
:arrow_up:

robotidy/skip.py
100.00% <100.00%> (ø)

robotidy/transformers/AddMissingEnd.py
94.39% <100.00%> (+0.21%)
:arrow_up:

robotidy/transformers/DiscardEmptySections.py
100.00% <100.00%> (ø)

robotidy/transformers/NormalizeAssignments.py
100.00% <100.00%> (ø)

robotidy/transformers/NormalizeNewLines.py
99.07% <100.00%> (+0.01%)
:arrow_up:

...obotidy/transformers/NormalizeSectionHeaderName.py
96.00% <100.00%> (+0.16%)
:arrow_up:

robotidy/transformers/NormalizeSeparators.py
100.00% <100.00%> (ø)

robotidy/transformers/RenameKeywords.py
97.88% <100.00%> (+0.03%)
:arrow_up:

... and 2 more

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

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


Add better logging

Show commands run, post command / Lua errors in console, show guild joins (what guilds the bot joins)


Use nixpkgs stdenv

Use nixpkgs stdenv for setting up environment variables.
Fixes https://github.com/nickel-lang/nickel-nix/issues/72

@balsoft Should I just merge this, or do I let you push the green button? Or do you prefer a second review from @thufschmitt ?

I would love a second review, as it's quite a big change.

#96 fixed the “use nixpkgs stdenv” part, so the remaining bit here is the WithInput shells (which automatically add their inputs to buildInputs), and these will be superseded by #100. So closing this. @balsoft feel free to reopen if there's something more to pick from this PR that I've missed


mdbook-admonish: 1.17.0 -> 1.17.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/tommilligan/mdbook-admonish/releases.
meta.description for mdbook-admonish is: Preprocessor for mdbook to add Material Design admonishments
meta.homepage for mdbook-admonish is: https://github.com/tommilligan/mdbook-admonish
Updates performed

Rust version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.17.1 with grep in /nix/store/chf82mnrqjaqgk3xhgn54w5374zm387m-mdbook-admonish-1.17.1
found 1.17.1 in filename of file in /nix/store/chf82mnrqjaqgk3xhgn54w5374zm387m-mdbook-admonish-1.17.1

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

mdbook-admonish

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/chf82mnrqjaqgk3xhgn54w5374zm387m-mdbook-admonish-1.17.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A mdbook-admonish https://github.com/r-ryantm/nixpkgs/archive/58f15f1373cc8900fba98254b73e266dfd668b9f.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/58f15f1373cc8900fba98254b73e266dfd668b9f#mdbook-admonish

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/chf82mnrqjaqgk3xhgn54w5374zm387m-mdbook-admonish-1.17.1
ls -la /nix/store/chf82mnrqjaqgk3xhgn54w5374zm387m-mdbook-admonish-1.17.1/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

1 package built:

mdbook-admonish

Maintainer pings
cc @jmgilman @Frostman @matthiasbeyer for testing.

Result of nixpkgs-review pr 319198 run on x86_64-linux 1

1 package built:

mdbook-admonish


Helpers don't work

I have spent now several hours trying to figure out why helpers do not work in my projects and I simply have no idea. In your example projects they work fine. When I copy my files into that projects they still work. Did you have any issues with helpers? Do you have any idea why helpers would not work?

OK. It took several hours, but I found out that the problem is in the new version 0.1.5. 0.1.4 works just fine :/

Hi, thanks for reporting.  The only difference was https://github.com/dataflows/meteor-typescript-utils/pull/2 . Sorry I will not be able to investigate this right now, will take a look when I have a while.


[HW] Sabyasachi

Name:  Sabyasachi Dutta
Email<EMAIL_ADDRESS>Linkedin Profile: https://www.linkedin.com/in/sabydutta/
Attach the homework step I screenshots below:

Attach the homework step II screenshots below:

Hey Sabyasachi Dutta, great job! Congrats! Here is your badge! https://api.badgr.io/public/assertions/VMRDUC3GTcWF5CA-X26eHw


[pr] move has_valid into pm_lowerer

Resolves TODO: check has_valid in UPat, not here

How does speed compare?

Ran test/external/external_benchmark_schedule.py on my machine 3 times each.
master:
model lower in      25.38 ms
model lower in      25.54 ms
model lower in      25.32 ms
after:
model lower in      27.29 ms
model lower in      27.74 ms
model lower in      26.98 ms

Merged, it's easier to read


Adding 2 outlinepass to scene

I want to add 2 outline pass to scene, first for hovered object second for selected objects.
Although the selection sets of both objects are different, the first one also paints the objects belonging to the second
selected image

selected and hover image (only wall hovered)

https://github.com/pmndrs/postprocessing/issues/464#issuecomment-1475017106

Closing this as it seems to be resolved.


fix(modelql): .nullIfEmpty() caused a CCE in some cases

:tada: This PR is included in version 2.16.6 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Scan for already exists in context object states

Without calling setup:di:compile

👍

This sort of feature felt like a better fit for Commerce Bug.
http://alanstorm.com/magento_2_di_compile_pre-scan_with_commerce_bug/
Closing out, but wouldn't be opposed to adding this to pestle if someone wanted to write their own independent implementation.


HBASE-23882: Experimenting with low config settings.

Here is some initial experimentation with bringing mini cluster settings down to scale.
To start, I've been shooting for pretty minimal.
I've pulled this out of an experimental branch and so some work may still be in order to find any tests these settings are too low for.
I will continue to update this as I fine tune. I also have some other changes I'd like to dig out around thread pool sizing if I can find them again. I'll likely update again early next week.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 32s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s
The patch appears to include 2 new or modified test files.

_ branch-2 Compile Tests _

+0 :ok:
mvndep
0m 14s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
5m 42s
branch-2 passed

+1 :green_heart:
compile
1m 23s
branch-2 passed

+1 :green_heart:
checkstyle
1m 39s
branch-2 passed

+1 :green_heart:
shadedjars
4m 37s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 57s
branch-2 passed

+0 :ok:
spotbugs
3m 43s
Used deprecated FindBugs config; considering switching to SpotBugs.

+1 :green_heart:
findbugs
4m 29s
branch-2 passed

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 16s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
5m 17s
the patch passed

+1 :green_heart:
compile
1m 21s
the patch passed

+1 :green_heart:
javac
1m 21s
the patch passed

+1 :green_heart:
checkstyle
1m 39s
the patch passed

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
shadedjars
4m 37s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
hadoopcheck
16m 45s
Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.

+1 :green_heart:
javadoc
0m 54s
the patch passed

+1 :green_heart:
findbugs
4m 53s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
1m 11s
hbase-common in the patch passed.

-1 :x:
unit
87m 50s
hbase-server in the patch failed.

+1 :green_heart:
asflicense
0m 43s
The patch does not generate ASF License warnings.

151m 45s

Reason
Tests

Failed junit tests
hadoop.hbase.client.TestClientOperationInterrupt

hadoop.hbase.security.access.TestNamespaceCommands

hadoop.hbase.client.TestReplicasClient

Subsystem
Report/Notes

Docker
Client=19.03.4 Server=19.03.4 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1194/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/1194

JIRA Issue
HBASE-23882

Optional Tests
dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile

uname
Linux b035aef41854 4.15.0-74-generic #84-Ubuntu SMP Thu Dec 19 08:06:28 UTC 2019 x86_64 GNU/Linux

Build tool
maven

Personality
/home/jenkins/jenkins-slave/workspace/Base-PreCommit-GitHub-PR_PR-1194/out/precommit/personality/provided.sh

git revision
branch-2 / cb838bc301

Default Java
1.8.0_181

unit
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1194/1/artifact/out/patch-unit-hbase-server.txt

Test Results
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1194/1/testReport/

Max. process+thread count
5668 (vs. ulimit of 10000)

modules
C: hbase-common hbase-server U: .

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1194/1/console

versions
git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

Rerunning build to see if the failures repeat.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 28s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s
The patch appears to include 2 new or modified test files.

_ branch-2 Compile Tests _

+0 :ok:
mvndep
0m 13s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
5m 39s
branch-2 passed

+1 :green_heart:
compile
1m 21s
branch-2 passed

+1 :green_heart:
checkstyle
1m 41s
branch-2 passed

+1 :green_heart:
shadedjars
4m 36s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 55s
branch-2 passed

+0 :ok:
spotbugs
3m 39s
Used deprecated FindBugs config; considering switching to SpotBugs.

+1 :green_heart:
findbugs
4m 25s
branch-2 passed

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 13s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
5m 21s
the patch passed

+1 :green_heart:
compile
1m 21s
the patch passed

+1 :green_heart:
javac
1m 21s
the patch passed

+1 :green_heart:
checkstyle
1m 39s
the patch passed

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
shadedjars
4m 39s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
hadoopcheck
16m 53s
Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.

+1 :green_heart:
javadoc
0m 56s
the patch passed

+1 :green_heart:
findbugs
4m 20s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
1m 10s
hbase-common in the patch passed.

-1 :x:
unit
96m 34s
hbase-server in the patch failed.

+1 :green_heart:
asflicense
0m 51s
The patch does not generate ASF License warnings.

160m  1s

Reason
Tests

Failed junit tests
hadoop.hbase.client.TestClientOperationInterrupt

hadoop.hbase.master.TestSplitWALManager

hadoop.hbase.security.access.TestNamespaceCommands

hadoop.hbase.client.TestReplicasClient

Subsystem
Report/Notes

Docker
Client=19.03.6 Server=19.03.6 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1194/2/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/1194

JIRA Issue
HBASE-23882

Optional Tests
dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile

uname
Linux e4e999ac9c50 4.15.0-74-generic #84-Ubuntu SMP Thu Dec 19 08:06:28 UTC 2019 x86_64 GNU/Linux

Build tool
maven

Personality
/home/jenkins/jenkins-slave/workspace/Base-PreCommit-GitHub-PR_PR-1194/out/precommit/personality/provided.sh

git revision
branch-2 / 2c3621690d

Default Java
1.8.0_181

unit
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1194/2/artifact/out/patch-unit-hbase-server.txt

Test Results
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1194/2/testReport/

Max. process+thread count
6086 (vs. ulimit of 10000)

modules
C: hbase-common hbase-server U: .

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1194/2/console

versions
git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

Closing out. I hijacked the changes here over in HBASE-23956


suggested Github link

Suggestion: it would be easier to figure out how to contribute fixes/features if the source code were directly linked from the game. Also, I like playing Tradle and am interested in helping with future features!

Sounds good! Thanks for your interest.


ZED camera "CAMERA FAILED TO SETUP" error

Preliminary Checks

[X] This issue is not a duplicate. Before opening a new issue, please search existing issues.
[X] This issue is not a question, feature request, or anything other than a bug report directly related to this project.

Description
When running the camera_control.py example file with my ZED 1  (file here), I'm getting the following error:
Running...
Opening ZED Camera...
Grabber Error List
 -at: /builds/sl/ZEDKit/lib/src/sl_input/grabber/linux/linuxStereoGrabber.cpp_2625:  linux_grabber->construct return false
Grabber Error List
 -at: /builds/sl/ZEDKit/lib/src/sl_input/grabber/linux/linuxStereoGrabber.cpp_2625:  linux_grabber->construct return false
Grabber Error List
 -at: /builds/sl/ZEDKit/lib/src/sl_input/grabber/linux/linuxStereoGrabber.cpp_2625:  linux_grabber->construct return false
Grabber Error List
 -at: /builds/sl/ZEDKit/lib/src/sl_input/grabber/linux/linuxStereoGrabber.cpp_2625:  linux_grabber->construct return false
[ZED][Init][Info] Camera opening timeout reached
CAMERA FAILED TO SETUP

Any ideas?
Steps to Reproduce

Verify camera is working in external camera app (ie Cheese)
Run camera_control.py

Expected Result
Camera should open
Actual Result
Camera fails to set up
ZED Camera model
ZED
Environment
OS: Ubuntu 18.04

Anything else?
No response

This error means that it cannot create a video device for the camera.
Can you post :
--> Output of $ lsusb
--> Output of ls /dev/video*

$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 029: ID 2b03:f582
Bus 002 Device 004: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 002 Device 011: ID 0461:4e2a Primax Electronics, Ltd
Bus 002 Device 002: ID 1b1c:1b3d Corsair
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

$ ls /dev/video*
/dev/video0  /dev/video1

Have been getting the same error.
Description
When running our code we get the "CAMERA FAILED TO SETUP" error. We have been using the ZED Mini with the pyzed api.
ZED Camera model
ZED Mini
Environment
Ubuntu server 20.04
Additional information

Camera works fine when used with cheese or opencapture.
Camera does not work when used via the code or ZED_Explorer.
lsusb shows the camera connected, as well as the HID interface.
ZED_Diagnostics tool says it both didn't detect the camera even though ZEDDetected is true as well as detecting the device as ZED mini MCU; diagnostics output.
Things we've tried and were unsuccessful - Reinstalling CUDA, replacing the camera with another ZED mini, rebooting the system, connecting directly to the camera (usually used with a hub).

The latest Ubuntu update updated the v4l2 driver by introducing different management of some parameters that broke the communication with the ZED SDK.
We already found the cause of the problem and fixed it. A patch for the ZED SDK will be released in the next few days after completing the QA tests.

Recently released version 3.6.5 fixes this issue!

Recently released version 3.6.5 fixes this issue!

We just installed v3.6.5 on Ubuntu 18 (kernel version 5.4.0-99-generic).  The issue is still there (/builds/sl/ZEDKit/lib/src/sl_input/grabber/linux/linuxStereoGrabber.cpp_2625: linux_grabber->construct return false …). The camera be viewed by other generic UVC viewers. Any suggestions to solve this problem?

Hi @ymei
Please do not reply to closed issues. Always create a new one and tag the closed instead.
Your problem seems something different, please create a new issue


Meaningful generic names

A very first bunch of master-only meaningful generic names.

Sweet, thank you @epeee.


chore(deps): upgrade dev dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-dev-dependencies-k8s-27-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 4109

Questions ?
Please refer to the Backport tool documentation


Pull doesn't work

g = Git.open "repo"
g.pull
# "Already up-to-date."
g.lib.send(:command, 'pull')
# "Updating 6d57a5a..0bbe197\nFast-forward\n file.rb |    6 +-----\n 1 files changed, 1 insertions(+), 5 deletions(-)"

It looks like internally Git::Base#pull doesn't use git pull at all, but fetches and merges. Why does it not use git pull as expected? Currently it just reports it's already up to date.

Same issue happened here!

git pull just uses git fetch and git merge with a little extra git magic, but that's pretty much it.  Not sure that I agree with the choice of using fetch and merge in place of pull, but I don't think that is your problem.
I've been struggling with some similar problems recently and I finally traced the issue back to some environment variables that this gem sets so you can run git commands on a repo from outside the repo.

GIT_DIR
GIT_INDEX_FILE
GIT_WORK_TREE

Immediately before and after you pull, run the system command 'env' and look for those environment variables.  Check that they are what you expect.


Incompatibility with RandomPackage

Info

Server version: 1.13.2
OldCombatMechanics version: 1.7.0
Server log file: http://prntscr.com/mllc66
OldCombatMechanics config file:
https://pastebin.com/w79MkNVu

Problem Description

Duplicate of #276


Feat config

added simple hydra configs
added wandb logging
small fixes in docker container files

Also, in the future - add comment tying PR to issue #8


[Authy - Twilio App] ...

Extension
https://www.raycast.com/guga4ka/authy
Raycast Version
1.78.1
macOS Version
14.5
Description
Unable to login.
Unable to authenticate the extension using Authy ID and Backup Password.
Error: The device does not meet the minimum integrity requirements
Error: Login Request not Found

Steps To Reproduce

Install the extension.
Start the extension.
Provide Credentials Authy ID and Authy Backup Password.
Start the Extension
Press Enter

Current Behaviour

Error: The device does not meet the minimum integrity requirements
Error: Login Request not Found
Expected Behaviour
No response

@0xgeorgemathew it's not possible to onboard new users to extension right now. I've made a note at readme and now a'm looking to way to disable new installation

@0xgeorgemathew it's not possible to onboard new users to extension right now. I've made a note at readme and now a'm looking to way to disable new installation

Thank you for the reply.
Does old installations continue to work?
When new keys are added via android/iOS app do they sync with the raycast extension?
If you can think of any workarounds do suggest.
I recently wiped my data on my device (have it backed up) and lost access to the extension
Thank you for building an incredible product.
Good luck.

Does old installations continue to work?

Yes

When new keys are added via android/iOS app do they sync with the raycast extension?

Should work as previously, Authy only changed API related to registration of new device

If you can think of any workarounds do suggest.

Hard to say, i've also lose an access to extension and now thing about moving to something else. Regarding Raycast integration here is a nice extension https://www.raycast.com/lachero/one-time-password (you can export authy data to google auth format and import there) i might contribute to it to support 2FAS export format, or just write a private 2FAS extension to own use. The main problem is syncing of data, i didn't find a better way than manual export and manual import of data.

Be careful about storing your password data on Raycast, especially the One Time Password extension. When you remove the extension, your local data will be removed as well. You should store the OTP not only on Raycast.

Hello @guga4ka!
Thanks for your work on this extension. I think it was the one I used the most!
Unfortunately, I had to reset my mac, and now I've lost access to it.
I didn't find any equivalent app that can sync across devices, and be usable with Raycast like Authy was.
Did you find any proper alternative? Do you think the extension could be updated to handle the new Authy way to register devices? (I didn't find the discussion about it).
Thanks!

Is there a way to transfer this from my old device ?

This extension is unfortunately deprecated

I got the extension restored via my backup but it isn't able to restore the data. Is there a way to restore the data for this app ? I still have access to the old device where it works fine.


🧑💻: Text Summarization using groq api

:red_circle: Title: Text Summarization Enhancement
:red_circle: Enhancement Aim: Improve the existing NLP model to generate more accurate and concise summaries at much fater rates.
:red_circle: Changes:  Add text summarization support by Leveraging LLMs using groq api.
Screenshots 📷

:white_check_mark: To be Mentioned while taking the issue :

Full name :  Yarra Rajesh
What is your participant role?  GSSOC Extended Contributor

Happy Contributing 🚀
All the best. Enjoy your open source journey ahead. 😎

I really like your app and want to contribute can you assign me this issue under gssoc-ext2024


CI: use nginx as server for console images

To be merged after https://github.com/red-hat-storage/odf-operator/pull/307
Replacing http-server with NGINX (as the latter is production-ready).
Upgrade Node.js version (used for build the app) to LTS.
It fixes this error that happens now and then:

Error:
[2/3] STEP 3/4: RUN yarn global add http-server
yarn global v1.22.10
[1/4] Resolving packages...
error An unexpected error occurred: "https://registry.yarnpkg.com/http-server: getaddrinfo EAI_AGAIN registry.yarnpkg.com".
info If you think this is a bug, please open a bug report with the information provided in "/usr/local/share/.config/yarn/global/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/global for documentation about this command.
Error link: https://prow.ci.openshift.org/view/gs/origin-ci-test/pr-logs/pull/openshift_release/37436/rehearse-37436-pull-ci-red-hat-storage-odf-console-master-odf-console-e2e-aws/1637717349631004672

/assign @SanjalKatiyar @bipuladh

/retest

/retest

/retest

/retest

/retest

/retest

/retest

/retest

/retest

/approve
we can add "lgtm" once tests passes...


Require config if dofile cannot find file

When a plugin (or user's config) tries to extend lspconfig with a config file i.e. lua/lspconfig/my_server.lua, dofile won't be able to find it because it uses the absolute path.
Now:
require("lspconfig/my_server") -- it's now required because of dofile
require("lspconfig").my_server.setup {}

With this PR, it should work the way it used to:
require("lspconfig").my_server.setup {}

Would it be possible to add the require back in case dofile does not find the file? It shouldn't have any impact in performance because it would only use require in case dofile does not find it.

I'd prefer not to, we've never recommended (or officially supported) the method you're asking for, and it's not how we support adding servers as specified in ADVANCED_README.md


[Astral] Add missing constant builder

This one is missing in core.
Can be added to php-parser too

Resolved by https://github.com/nikic/PHP-Parser/pull/765


unexpected end of stream

unexpected end of stream

Please refer to https://stackoverflow.com/questions/45838774/java-io-ioexception-unexpected-end-of-stream-on-connection-in-android


Jupyter Notebook

Signed-off-by: rohanshrothrium<EMAIL_ADDRESS>@dexhunter and @yeasy this is just a basic structure for creating a channel.
Give me a feedback regarding the same so I can continue to do the same for other parts of the tutorial.

@RohanShrothrium Also please include the setup instruction here. It will save the time for new developers.

I checked the preview. Please put the file under docs and give pointer at the documentations, besides please give the results of the execution.

The code doesn't run as expected as the Jupyter notebook will be running from /docs and not from the root directory. So I'll have to make a few changes in the network.json file. So I have left the notebook at the root directory itself.
I have also included the setup in this itself.

You need to properly import the library. But we can leave it at the root
directory for now
On Mon, Jul 13, 2020, 6:51 PM Rohan Shrothrium<EMAIL_ADDRESS>wrote:

I checked the preview
https://github.com/RohanShrothrium/fabric-sdk-py/blob/JupyterNotebook/Tutorial.ipynb.
Please put the file under docs and give pointer at the documentations,
besides please give the results of the execution.
The code doesn't run as expected as the Jupyter notebook will be running
from /docs and not from the root directory. So I'll have to make a few
changes in the network.json file. So I have left the notebook at the root
directory itself.
I have also included the setup in this itself.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/hyperledger/fabric-sdk-py/pull/99#issuecomment-657487495,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABU4AVXIEIICQLJSS57YBZ3R3LRLFANCNFSM4OX3GTYQ
.

@RohanShrothrium Hi, could you have a look at CI error. You can exclude .ipynb from tox.in check list.

/azp run

/azp run

The jupyter notebook is good.
And we need a sample code to demo all existing APIs ASAP.

Will work on that this week!


feat: compute tpu basic operations

Description
Created basic operations for TPU nodes for doc page https://cloud.google.com/tpu/docs/runtimes
Checklist

[ ] I have followed Contributing Guidelines from CONTRIBUTING.MD
[ ] Tests pass:   go test -v ./.. (see Testing)
[ ] Code formatted:   gofmt (see Formatting)
[ ] Vetting pass:   go vet (see Formatting)
[ ] These samples need a new API enabled in testing projects to pass (let us know which ones)
[ ] These samples need a new/updated env vars in testing projects set to pass (let us know which ones)
[ ] This sample adds a new sample directory, and I updated the CODEOWNERS file with the codeowners for this sample
[ ] This sample adds a new Product API, and I updated the Blunderbuss issue/PR auto-assigner with the codeowners for this sample
[ ] Please merge this PR for me once it is approved

It looks like this PR is > one month old. @BigBlackWolf -- do you intend to resume work?

Hi, there is an issue with TPU - the SDK for Go is outdated and doesn't work as expected.
I'm still waiting for updates from the product team...


Search results don’t display correctly if entry is typed quickly

What version of Music Assistant has the issue?
2.0.0b70
The problem
When typing in any search box if you type quickly results either don’t appear or appear incorrectly. Subsequent typing or removing a character results in the correct display
How to reproduce
As above
Relevant log output
No response
Additional information
No response
What version of Home Assistant Core are your running
2023.8.1
What type of installation are you running?
Home Assistant OS
On what type of hardware are you running?
Raspberry Pi

I'm not sure if this one is resolved. I ran into it last week again.

this one has been fixed today so will be in next beta

From my experience, this issue is still present. In the Music Assistant main Search field ("Type here to search..."), when typing an entry fast (actually at my normal typing speed), all kinds of irrelevant results appear. Only when typing extremely slow do I obtain a reasonably limited and correct result of Tracks, Albums, and Artists. I am using Microsoft Edge browser on my computer. In the mobile app on my iPhone this does not happen and brings up correct search results, or I can't type fast enough :-)
Core 2024.8.1
Supervisor 2024.08.0
Operating System 13.1
Frontend 20240809.0


Intrinsic Camera Matrix incorrect?

I wanted to ask if the intrinsic camera matrix is incorrect. Here is the intrinsic camera matrix loaded with the kitti360 scripts for P_rect_00:
array([[552.554261,   0.      , 682.049453,   0.      ],
[  0.      , 552.554261, 238.769549,   0.      ],
[  0.      ,   0.      ,   1.      ,   0.      ],
[  0.      ,   0.      ,   0.      ,   1.      ]])
That means cx=682.049453 and cy= 238.769549. In my understanding the principle point should lay at the center of the image which would mean that: 2*cx=1364.098906 should be the width of the image. But the Perspective Rectified image has a width of 1408. Same holds for height 2*cy=477.539098!=376=height. Am i wrong or is the calibration matrix not correct?
I would appreciate an explanation.
Thank you in advance,
Marcus

Hi Marcus, the intrinsic camera matrix is correct. It is not necessary that cx and cy lay at the center of the image. I recommend this blog for a more detailed explanation.

Thank you for the explanation!


C++/Makefile template devDeps does not work for target libraries

I am trying to link with a target library (libtirpc3).  If I add "libtirpc-dev" to devDeps in torizonPackages.json the build will install the architecture matching my host (x86_64).  If I explicitly use "libtirpc-dev:arm64" the build fails with:
4.563 E: Unable to locate package libtirpc-dev:arm64:
------
Dockerfile.sdk:31
--------------------
  30 |     # automate for torizonPackages.json
  31 | >>> RUN apt-get -q -y update && \
  32 | >>>     apt-get -q -y install \
  33 | >>> # DO NOT REMOVE THIS LABEL: this is used for VS Code automation
  34 | >>>     # __torizon_packages_dev_start__
  35 | >>>      rpcsvc-proto: \
  36 | >>>      libtirpc-dev:arm64: \
  37 | >>>      cpp: \
  38 | >>>     # __torizon_packages_dev_end__
  39 | >>> # DO NOT REMOVE THIS LABEL: this is used for VS Code automation
  40 | >>>     && \
  41 | >>>     apt-get clean && apt-get autoremove && \
  42 | >>>     rm -rf /var/lib/apt/lists/*
  43 |
--------------------
ERROR: failed to solve: process "/bin/sh -c apt-get -q -y update &&     apt-get -q -y install \trpcsvc-proto: \tlibtirpc-dev:arm64: \tcpp:     &&     apt-get clean && apt-get autoremove &&     rm -rf /var/lib/apt/lists/*" did not complete successfully: exit code: 100

It seems we are adding a ":" at the end of all the packages unconditionally but maybe this should only be done if an arch is not already specified for any given package.

Workaround for anyone who may be having this issue: Manually edit Dockerfile.sdk and add the arch-based package name outside of the VSCode-automation bits.

Also, I suspect this is true of other templates but have not tested that.

This happens because the devDeps adds the packages to Dockerfile.debug and Dockerfile.sdk. But as the Dockerfile.sdk is a x86 container that compiles the code through cross-compilation this error happens. We should add an extra field like sdkDeps to separate the packages installed on the Dockerfile.debug and on the Dockerfile.sdk

@andreriesco I believe that this was fixed in next, right? If so, please close this one.

Yes, by this commit here. I will close it here, thanks for the reminder.


Update .gitignore

Fix: removed extra spaces black between the sections
Checklist:

[x] I have read and followed the contribution guidelines.
[x] I have read and followed the how to open a pull request guide.
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Closes #XXXXX

Please stop creating spam PRs.
Thank you


Download file to container and immediately upload it from container

I need to upload a file to my container and immediately upload it from the container, but the file path I give is interpreted by the compiler as a path on my host machine, not as a path in the container...

https://aerokube.com/selenoid/latest/#_uploading_files_to_browser


Automatically re-run QQC on the sessions without the run sheet

If an MRI zip file arrives at DPACC before the run sheet does, the QQC will save the report without the run sheet table. We need a system to track these sessions without the run sheet and automatically re-run QQC once the corresponding run sheet arrives at DPACC to add it to the report.

Any thoughts @kcho @owenborders

QQC only runs when there is a zip file and corresponding runsheet

QQC runs when there is a zip file. We add a boolean for 'runsheet exists' to QQC report. If gspread notices False, re-run QQC.

I think option 1 may delay DPACC spotting potential protocol changes or missing data. I prefer option 2.

New column in called html_runsheet_gs that displays either "Runsheet found" or "Runsheet absent". Code currently loops through htmls after the fact. It may be better to eventually update code to perform this check earlier on.

See remove_html_to_rerun_with_runsheet.py in ampscz_mri_ss.
•If html_runsheet_gs in QC Sheet says "Runsheet absent"
•Go into PHOENIX directory for subses
•Read scan dates for all runsheets found
•If a scan date matches the date in subses
•As of now it is printing out a list of paths of qqc html to delete. We can automatically delete them.
If the "html_runsheet_gs" column in the Google Sheet says "Runsheet absent", the script look into that subses' PHOENIX directory
will read all the dates from all the runsheets csvs if the corresponding PHOENIX directory for that subses.


Can not use two 'tag' in specialConfigList of wxc-rich-text

In specialConfigList of wxc-rich-text, we can use one 'tag' and one 'text'. When we try to use two 'tag's and one 'text', then there's error.
Can it be multi 'tag's and 'text's?

you can use the wxc-rich-text for mixed situation like this:
icon+tag+text+link (1 line)

and the wxc-special-rich-text only supports two lines like
icon+text(2 lines)
tag+text(2 lines)

@tw93 tks, I know how to use wxc-rich-text and wxc-special-rich-text, I just wish to use tag+tag+text(2 lines)


Add maxmind acl plugin

This plugin is similar to the current geoip acl plugin however it is based on the libmaxminddb library.  The GeoIP library is considered legacy at this point and it only supports the old dat formatted databases.
This will work with the newer more common mmdb format.
It takes a yaml formatted configuration file as shown in the docs, which specifies the database to use for that remap, and then any sets of allow and deny rules.  Currently the only rules supported are country and ip.
Deny rules will always take precedence if both allow and deny rules are set, and in the case of having both sets of rules or only allow rules the default action is to deny a connection. However if no accept rules are
specified then the default action will flip to always allow, since it doesnt make much sense to leave it as blocking everything if you only want to deny.  In that case all connections are allowed except those that fall into
one of the deny rules.

Taking out for now to add in the existing geoip plugins functionality


Parcel stats

[ ] Filtering out BidGroups that errored out
[ ] Listing bids in a list, not with three columns (it should look more like a ranking, with a clearer hierarchy)


Fixed issue with getActualCropRect() while using setImageUriAsync(Uri)

getActualCropRect() works fine as long as we have loaded the source image as a bitmap, as mBitmap is the full sized image.
However, if we use setImageUri(Uri) or setImageUriAsync(), mBitmap is a scaled/sampled bitmap and using it in the actual crop rect calculation returns funny values.
This is my first proper PR anywhere. I hope it's acceptable.

Appreciate your work but I this scenario is already covered in getActualCropRectNoRotation(), it will return the the cropping rectangle in the original image coordinates that was loaded from URI in the original rotation of the bitmap. getActualCropRect() indeed doesn't handle this scenario but I wanted to leave both options available.
I should have documented it better... and maybe getActualCropRect() should, at least, adjust the coordinates by the sample size... but then it may still create confusion... in case the bitmap was rotated..
Hope it helps.

Hmm What about the fact that getActualCropRect() returns different values depending on whether the image was loaded as Uri or as a Bitmap? I think this should be handled better as it does create confusion.

I agree that it should be documented better, or at least make getActualCropRect() a private method.

@ArthurHub I realize only now that what all the lines that I added are doing, can be done by just scaling up the Rect using mLoadedSampleSize in getActualCropRect(), huh? :dancer:
So this is an unaccepy PR after all.

You're right, getActualCropRect() should adjust the rectangle by sample size and there should be a better documentation on the "no-rotation" thing.
Sorry for your PR, appreciate the thought.
Better luck next time.


CLOUD-45604 modify integrated WASB filesystem to delete storage accounts at termination

@martonsereg

Jenkins build finished, all tests passed.
Refer to this link for build results: http://ci.sequenceiq.com/job/cloudbreak-pull-request/1896/

Jenkins build finished, all tests passed.
Refer to this link for build results: http://ci.sequenceiq.com/job/cloudbreak-pull-request/1899/

Jenkins build finished, all tests passed.
Refer to this link for build results: http://ci.sequenceiq.com/job/cloudbreak-pull-request/1901/

Jenkins build finished, all tests passed.
Refer to this link for build results: http://ci.sequenceiq.com/job/cloudbreak-pull-request/1902/


Small fix for the config template and the profiles

Like stated in the commit message, the feature was present in one of the d8vk branches at some point. But it never landed in DXVK.
For reference, I restored the feature here, rebase on top of current master: https://github.com/tobiasjakobi/dxvk/tree/d3d8-shadowbuf
However we might need some documentation of d3d8.scaleDref in the config template.

Hmmm, I guess this was meant to be PR-ed separately, but got lost in translation during upstreaming. @AlpyneDreams might want to rectify it at some point, I suggest we leave it as is for now.


Expecting LLaVA-Instruct dataset via mannual annotation

Very fantastic work! Thank you so much for your open source work!
I am mainly interested in the high-quality LLaVA-Instruct dataset via manual inspection and annotation for the SFT in the second stage of training. May I ask if I can obtain this part of training data from you? my email is<EMAIL_ADDRESS>This will be a great help to me, and I'm looking forward to your early reply!

Sorry, we cannot open source the sft data according to the rules of our org.

I only need the LLaVA-Instruction part for evaluation and personal use, is that OK according to your rules?

@Yuqifan1117 Hi, you can download the official LLaVA-Instruction from https://github.com/haotian-liu/LLaVA/blob/main/docs/Data.md. The version via manual inspection and annotation is not included in our open source plan.

Okay thanks! If you have any planned changes in the manually inspection version, please inform me by emall in time! Very thanks!


[support] Amend the EC2 CPU monitor

What
We've decided to amend the monitor in order to prevent it from being in
a warning stage constantly. We thought it would be the best thing to do,
due to our upcoming plans of moving to logit.
How to review

Sanity check

I'm not sure that's the best move ... the problem is elasticsearch specifically right.
Could we just exclude the elasticsearch job from this monitor if it's causing too much noise?

Good spot. Thanks.
I ignored the ES job in the current monitor and created another which is meant to target the ES job only. I'd propose a thorough check.


We should have a workspace folder picker API in the Extension host

Extensions now need to scope certain actions (like settings changes) to a workspace folder. In a multi workspace folder setup the need to ask the user which folder to use. To make such a picker the same for all extensions we should offer API for this.

/cc @sandy081 @jrieken

How different is this that an extension show a quick pick with workspace folders and asking to pick?

To always make it look the same and use the name as the label and the directory as the description.

To always make it look the same and use the name as the label and the directory as the description.

Don't do this


Investigate arg order independent functions

PermuteArgs.jl is more or less stabilized and should be registered soon.
https://github.com/Beforerr/PermuteArgs.jl/issues/1


TURN is not implemented

var ICEcfg = webrtc.RTCConfiguration{
	IceTransportPolicy: webrtc.RTCIceTransportPolicyRelay,
	IceServers: []webrtc.RTCIceServer{
		{
			URLs: []string{"turn:bex.pg.ikrypto.club:3478"},
			Username: "cryptodog",
			Credential: "preventing-ip-leakage",
			CredentialType: webrtc.RTCIceCredentialTypePassword,
		},
	},
}

peerConnection, err := webrtc.New(ICEcfg)

This does not return an error but prints "turn is not implemented" in the terminal.
I would like to be able to use the pions TURN server with the pions/webrtc package, to prevent my true IP from being leaked to WebRTC peers.

Hey @superp00t sorry I haven't implemented TURN yet.

@Sean-Der Is there any plan to implement TURN? Is the DTLS can be used？

Hey @zsmweb
We probably will start TURN in ~3 weeks. With DTLS just being finished we need to pay back some tech debt. I will make sure to update this ticket when I have started.
thanks!

We should conciser adding TCP support when implementing this since it will likely affect very similar code paths.

Hey has TURN implementation begun?

Hi @maxwelldergosits, the master branch now supports connecting to remote relayed (TURN) candidates. We've not yet started implementing support for creating local relayed candidates.

hi, pion is great work, do you plan to complete this implementation?

Hey @HidenXL
We are working on some bugs that effect v2.0.0 when that lands I will start working on TURN! My rough estimate is around ~1 month.
thanks for using Pion :)

Hey everyone as an update me and @enobufs are taking this on, we are shooting for June 1st as the delivery date. Thanks for the patience!

@Sean-Der Please let me know if there's anything I can help!!

Thanks @enobufs
Thanks to @ernado this is going to be really easy :D he has already built a TURN client library. We are just going to bring it into Pion! So I think we might even be able to land this ahead of schedule

Good news! TURN has landed in master :)
There are lots of rough edges that need to be done (you can follow them here) they are all in Pion WebRTC's dependencies.
However! Pion WebRTC itself has completely stabilized re: TURN so closing this ticket.
thanks for using Pion, and I appreciate the patience :)


Troubles when evaluating models on  COCO adding --fold5

Hello. When I want to test the model on COCO with fold5, I met an error as follows:
. And I checked the code in evaluation.py. And I was confused about some codes, like:

From the first image, you can see that variable img_embs.shape[0]=5000, and cap_embs.shape[0]=5000. Therefore, if i > 0, img_embs_shard with be empty, so does the cap_embs_shard, which, I think, is the reason for the problem which I met in the evaluation of COCO. But, I do not know how to fix, because I new in this field. And right now I am still a little confused about how to compute the evaluation score. Could you help me out. Thanks a lot.

Hi @miracle24, I'm having the same issue. Were you able to find the solution? Thanks.

Hi @miracle24, I'm having the same issue. Were you able to find the solution? Thanks.

Hi,
Have you fixed it? I'm stuck with it, too.

Oh I got it. There is a little problem in data.py: when it tests in coco, it loads 'test_ims.npy' instead of 'testall_ims.npy'. I have fixed it. Sorry to bother you guys. And although it's simple, but I still hope the repo owner to declare the problem.

@YAOYI626 It's not a bug. You should just use split='testall' for COCO.


Add a menu bar that dynamically displays other pages in the app and changed home page

Everything works and made changes to the home page with the buttons and the logo.
Worth noting that there's a bug in the profile pages due to:
a) issues with making the sections each the size of the viewport and not have the content inside of them overflow outside
b) not totally sure but something to do with the css properties on html instead of body for the scrolling
Overall this still works so can be merged, and this bug can be removed if annoying by commenting out line 167 in the main.css file, though this removes the scroll-snap property we eventually want. These issues will be fully resolved later after the whole website is functional with all components.

Ok definitely need to keep note of this. But I like the changes that were done to the home screen. Looks good.


Eclipse Oxygen (4.7.0)

In reference to #470.

Should we move the 4.6 to the versions bucket?

scoop install eclipse-<whatever>@<version> works, so I don't see the need for it in the versions bucket.


chore(deps): upgrade compiler dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-compiler-dependencies-2.x" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 2650

Questions ?
Please refer to the Backport tool documentation


invalid response: 501 not implemented in interactive window

Issue Type: Bug
i have a .py file i run in an interactive window with cells
first i start a jupyter server in a WSL, then connect to it
when i try to run any cell, i get the error "Invalid response: 501 Not Implemented"
the server is started in the exact same working directory as the visual studio workspace
this doesnt always happen, i have a second jupyter server running in a different directory serving a different workspace and i can run interactive files no problem. Both use the same WSL and kernel within it
VS Code version: Code - Insiders 1.59.0-insider (e437d424c5e6de97632f5513229c7ebc2cf27a32, 2021-07-28T05:13:47.114Z)
OS version: Windows_NT x64 10.0.19042
Restricted Mode: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz (8 x 1190)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledskia_renderer: enabled_onvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
11.70GB (1.06GB free)

Process Argv
--crash-reporter-id 4285aea8-8024-49ba-97f2-9d60622a70f0

Screen Reader
no

VM
0%

Extensions (11)

Extension
Author (truncated)
Version

prettier-vscode
esb
8.1.0

kite
kit
0.147.0

python
ms-
2021.8.1054534874-dev

vscode-pylance
ms-
2021.7.6-pre.1

jupyter
ms-
2021.8.1070546638

remote-containers
ms-
0.189.0

remote-ssh
ms-
0.65.7

remote-ssh-edit
ms-
0.65.7

remote-wsl
ms-
0.58.2

vscode-remote-extensionpack
ms-
0.21.0

powershell-preview
ms-
2021.7.0

(2 theme extensions excluded)

A/B Experiments
vsliv695:30137379
vsins829:30139715
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
pythonvspyt602:30291494
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyt639:30291487
pythontb:30258533
vspre833:30321513
pythonptprofiler:30281269
vsdfh931:30280409
vshan820:30294714
pythondataviewer:30285072
vscus158:30321503
pythonvsuse255:30319630
vscod805cf:30301675
pythonvspyt200:30323110
vscextlangct:30310089
vsccppwt:30312692
pythonvssor306:30340298
bridge0708:30335490

here the output for the 501 not implemented error:
Error 2021-07-28 11:11:13: DataScience Error [_ [Error]:
	at new o (c:\Users\gus_h\.vscode-insiders\extensions\ms-toolsai.jupyter-2021.8.1070546638\out\client\extension.js:16:23818)
	at new _ (c:\Users\gus_h\.vscode-insiders\extensions\ms-toolsai.jupyter-2021.8.1070546638\out\client\extension.js:24:118194)
	at c:\Users\gus_h\.vscode-insiders\extensions\ms-toolsai.jupyter-2021.8.1070546638\out\client\extension.js:90:236764
	at runMicrotasks (<anonymous>)
	at processTicksAndRejections (internal/process/task_queues.js:93:5)

Error: Invalid response: 501 Not Implemented
	at c:\Users\gus_h\.vscode-insiders\extensions\ms-toolsai.jupyter-2021.8.1070546638\out\client\node_modules\@jupyterlab\services.js:3:545096
	at runMicrotasks (<anonymous>)
	at processTicksAndRejections (internal/process/task_queues.js:93:5)
	at async t.SessionManager.startNew (c:\Users\gus_h\.vscode-insiders\extensions\ms-toolsai.jupyter-2021.8.1070546638\out\client\node_modules\@jupyterlab\services.js:3:536620)] {
  category: 'unknown',
  originalException: [t [Error]: Invalid response: 501 Not Implemented
  	at c:\Users\gus_h\.vscode-insiders\extensions\ms-toolsai.jupyter-2021.8.1070546638\out\client\node_modules\@jupyterlab\services.js:3:545096
  	at runMicrotasks (<anonymous>)
  	at processTicksAndRejections (internal/process/task_queues.js:93:5)
  	at async t.SessionManager.startNew (c:\Users\gus_h\.vscode-insiders\extensions\ms-toolsai.jupyter-2021.8.1070546638\out\client\node_modules\@jupyterlab\services.js:3:536620)] {
    response: N [Response] {
      size: 0,
      timeout: 0,
      [Symbol(Body internals)]: [Object],
      [Symbol(Response internals)]: [Object]
    }
  }
}

here a screenshot of the not working workspace with the interactive window and error message, i tried to run the very first cell with the imports:

Here a screenshot of the working worksapce with an executed cell:


2 new readers not working simultaneously: Firmware Version: 0x0 = (unknown)

Hi!
I've been using this great library for a while with a bunch of RC522 readers bought on several stores (eBay, Aliexpress, Amazon, ...) and worked fine. Now I am developing a project with 2 simultaneous readers and a Nano V3, based on ReaderMulti example, and I always get a firmware version like this when I initialize them:
Reader 0: Firmware Version: 0x92 = v2.0
Reader 1: Firmware Version: 0x92 = v2.0
But I recently bought 10 RC522 from this Aliexpress store (apparently the same as the old ones):
https://es.aliexpress.com/item/Free-Shipping-RFID-module-RC522-Kits-S50-13-56-Mhz-6cm-With-Tags-SPI-Write-Read/32523771442.html?spm=2114.13010608.0.0.khHkqZ
And I can not connect 2 simultaneosly. When I connect just one (alone or with one of the old) I get this firmware version on it:
Reader 1: Firmware Version: 0x12 = (unknown)
A bit strange, but it works
But when I connect 2 of these new readers, the firmware versions I get are:
Reader 0: Firmware Version: 0x0 = (unknown)
WARNING: Communication failure, is the MFRC522 properly connected?
Reader 1: Firmware Version: 0x0 = (unknown)
WARNING: Communication failure, is the MFRC522 properly connected?
and no one works.
Any idea what's happening? What am I doing wrong?
The circuit is welded on a PCB and the old readers work fine in the same circuit.
Also, it seems to work when I combine an old reader with a new one (getting 0x12 firmware in the new).
I tried to power the 3.3V from a different source than the Nano 3V output, but I got the same result.
It seems that it is something wrong with the firmware, but, is there any way to flash the RC522 firmware? I couldn't find it.
Thanks for your help

Ask the seller for more information about the chip and firmware.

I already asked the seller, but I had no answer. It is the same problem appeared in this forum, but nobody solved it:
https://forum.arduino.cc/index.php?topic=428898.0

What is the result with DumpInfo?

Using a blank card, when I connect a "new reader" (alone or combine with and "old reader"), the result of DumpInfo is:
Firmware Version: 0x12 = (unknown)
Scan PICC to see UID, SAK, type, and data blocks...
Card UID: 0E 3B E7 80
Card SAK: 08
PICC type: MIFARE 1KB
Sector Block   0  1  2  3   4  5  6  7   8  9 10 11  12 13 14 15  AccessBits
15     63   00 00 00 00  00 00 FF 07  80 69 FF FF  FF FF FF FF  [ 0 0 1 ]
62   00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  [ 0 0 0 ]
61   00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  [ 0 0 0 ]
60   00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  [ 0 0 0 ]
14     59   00 00 00 00  00 00 FF 07  80 69 FF FF  FF FF FF FF  [ 0 0 1 ]
58   00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  [ 0 0 0 ]
57  MIFARE_Read() failed: Timeout in communication.
56  MIFARE_Read() failed: Timeout in communication.
13     55  PCD_Authenticate() failed: Timeout in communication.
12     51  PCD_Authenticate() failed: Timeout in communication.
11     47  PCD_Authenticate() failed: Timeout in communication.
10     43  PCD_Authenticate() failed: Timeout in communication.
9     39  PCD_Authenticate() failed: Timeout in communication.
8     35  PCD_Authenticate() failed: Timeout in communication.
7     31  PCD_Authenticate() failed: Timeout in communication.
6     27  PCD_Authenticate() failed: Timeout in communication.
5     23  PCD_Authenticate() failed: Timeout in communication.
4     19  PCD_Authenticate() failed: Timeout in communication.
3     15  PCD_Authenticate() failed: Timeout in communication.
2     11  PCD_Authenticate() failed: Timeout in communication.
1      7  PCD_Authenticate() failed: Timeout in communication.
0      3  PCD_Authenticate() failed: Timeout in communication.
The same card with an "old reader":
Firmware Version: 0x92 = v2.0
Scan PICC to see UID, SAK, type, and data blocks...
Card UID: 0E 3B E7 80
Card SAK: 08
PICC type: MIFARE 1KB
Sector Block   0  1  2  3   4  5  6  7   8  9 10 11  12 13 14 15  AccessBits
15     63   00 00 00 00  00 00 FF 07  80 69 FF FF  FF FF FF FF  [ 0 0 1 ]
62   00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  [ 0 0 0 ]
61   00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  [ 0 0 0 ]
60   00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  [ 0 0 0 ]
14     59  PCD_Authenticate() failed: Timeout in communication.
13     55  PCD_Authenticate() failed: Timeout in communication.
12     51  PCD_Authenticate() failed: Timeout in communication.
11     47  PCD_Authenticate() failed: Timeout in communication.
10     43  PCD_Authenticate() failed: Timeout in communication.
9     39  PCD_Authenticate() failed: Timeout in communication.
8     35  PCD_Authenticate() failed: Timeout in communication.
7     31  PCD_Authenticate() failed: Timeout in communication.
6     27  PCD_Authenticate() failed: Timeout in communication.
5     23  PCD_Authenticate() failed: Timeout in communication.
4     19  PCD_Authenticate() failed: Timeout in communication.
3     15  PCD_Authenticate() failed: Timeout in communication.
2     11  PCD_Authenticate() failed: Timeout in communication.
1      7  PCD_Authenticate() failed: Timeout in communication.
0      3  PCD_Authenticate() failed: Timeout in communication.
but, when I connect 2 new reader, I can not read any of them:
Reader 0: Firmware Version: 0x0 = (unknown)
WARNING: Communication failure, is the MFRC522 properly connected?
Reader 1: Firmware Version: 0x0 = (unknown)
WARNING: Communication failure, is the MFRC522 properly connected?
In my project I just get the UID, so the content of the card it's not critical for me, but whe I connect 2 of those reader I can not ready anything.
I've also tried to do pinMode(SS_PIN, OUTPUT) as said in this forum:
https://lowpowerlab.com/forum/moteino/moteino-rc522-rfid-module-uncompatible-(solved)/
but doesn't work for me

Firmware Version: 0x12  is not known and I never saw a data sheet with this. Maybe this are fake or defect chips. May have a look on the label at the chip. Additional open an issue with your seller on ali, this often helps to get information or money back. Best.

Hi @oakmusic ,
I suppose the new type readers are putting a higher load on MISO.
May you take (and post) some oscilloscope screen-shots for this signal in both, working and not working configurations?

We've seen an 0x12 result seen on occasion - with our Firmware Version: 0x92 = v2.0 boards. ( we are using only 0x92 boards...)
Errors have always been down to some error in wiring, often due to poor connections on a cheap breadboard.

Immeng: I don't have an oscilloscope, sorry.
DrLou: That's not a wiring problem, I have tested it welded on PCB and not welded (with jumpers) on 2 different bredboards, and all the others RC522 work fine. This is just happening with these 10 RC522 lot. One works fine (with 0x12 firmware) but can not connect 2 of them simultaneously.
Anyway, thank you all for your help. Until I find a solution, I will use them in pair with a good one.

@oakmusic (1) What was the response of the seller?
(2) Maybe they just modified the version value. Try to perform a firmwarecheck by modify the method.

no response from the seller :-/

@oakmusic Do you have a conclusion, so we can close this issue?

I couldn't get a response from the seller. I suppose it is a hardware and / or firmware problem, which makes them incompatible with each other. I am using them in combination with other RC522 with 0x92 standar firmware and by now, they have not given problems in this way. Thanks for all your responses. You could close this issue. Thank you!


More documentation

There is not even nearly enough documentation for this.

How are Pack's options used? At least provide a link to something that makes sense about "Global Extended Headers"
How would I pack multiple files together?
How does Pack actually work? Do you have to use fstream?
Why pass in a Writer to Pack? I would have expected the usage to be input.pipe(tar).pipe(output), no?

Some examples would help too.

All things are documented on v3 now, but more doc improvements are always welcome.


Some HTTPS URLs fail

HTTPS URL:
> node dist/scan_task.js "https://www.dfwfreeways.com/"
Created CSV file
Starting the crawl...
Scan complete
Aggregating reports...
TypeError [ERR_STREAM_NULL_VALUES]: May not write null values to stream

HTTP URL:
> node dist/scan_task.js "http://www.dfwfreeways.com/"
Created CSV file
Starting the crawl...
Crawled http://www.dfwfreeways.com/ [text/html; charset=utf-8] (79176 bytes)
Report is done for http://www.dfwfreeways.com/
Wrote report for http://www.dfwfreeways.com/

@emersonthis said that it is probably an issue with the www, not with https

The HTTPS urls I've tested seem to work. And the error message above suggests to me that the crawler simply isn't finding anything and then trying to write non-existent data. So my hunch is that the subdomain is more the issue here. I know simplecrawler has configurations that tell it how strict to be about subdomains. I think this is where we should start troubleshooting this.

The simplecrawler configuration docs are here: https://github.com/simplecrawler/simplecrawler#configuration
I'd start by looking at crawler.scanSubdomains and crawler.ignoreWWWDomain and crawler.stripWWWDomain. (The docs don't say what the default values are, so we may want to do some initial fiddling to better understand what the crawler is doing now)
Side note: If I'm even vaguely correct about the nature of this problem, we definitely want better/clearer error handling here. Ex: console.log('No pages were found. Please check that the URL is correct and the use of www is correct' )

@emersonthis I tried crawler.scanSubdomains = true and I also tried all 4 combinations of ignoreWWWDomain and stripWWWDomain. In all the cases I got the same result, the https url is not working 😕


Import from https://github.com/SanjayVas/rules_kotlin_jvm

This is for Bzlmod migration. Some of this code was extracted from common-jvm.

This change is


Feature/copy clipboard

Changes
Pre Component Issue
Coming from #206 (comment)
I have added a custom pre component in the markdown components which will take care of this issue. Created a PR. Please take a look. Thanks.
Checklist

[ x ] Read the contribution guide and accept the code of conduct
[ x ] Readme (updated or not needed)
[ x ] Tests (added, updated or not needed)

Looks great!

Sorry, 2 more comments as it doesn't work nice on small resolutions right now.
Feel free to commit the suggestions as is.


Build errors

In the Readme.md, section Cracking unknown ring and rotor positions, there's a code
EnigmaBase base {ETW_ABCDEF, m3_IV, m3_V, m3_II, UKWB};

HighScores scores = smart_decipher(base, plug, ct);

But UKWB is undefined. It seems m3_UKVB should be used instead. And when compiling, I get the following errors:
.../include/bruteforce-enigma.h:352:66: error: no matching function for call to 'smart_decipher_positions<std::vector<int, std::allocator<int> >, 10, double (*)(const std::vector<int, std::allocator<int> >&)>(const basic_enigma_base<EnigmaKey>&, const Plugboard&, const std::vector<int>&, double (*&)(const std::vector<int>&))'
...
.../include/bruteforce-enigma.h:354:7: error: could not convert '{ct, <expression error>}' from '<brace-enclosed initializer list>' to 'HighScores<10, EnigmaKey>'

I'm compiling under Windows with TDM-GCC-64 (g++ v10.3.0). Sorry, I'm almost total zero in C++. What should I do to fix errors?

Fixed. I will add test coverage for this sometime next week.
Thanks.

The same typo occurs in the section Bruteforcing unknown ring and rotor positions. I will update that as well when I handle the tests.


Send money errors are wrong

Problem
If there is an error with sending money, current error is "Please check that your device is connected and the NEAR app is open."
Expected Behavior
Show the actual error
Steps to reproduce
One example of errors can be lack of storage balance to cover adding another 2FA confirmation

Duplicate


evm/precompile: reject high s in erecover precompile

To make it consistent with with the Ethereum transaction signature verification (added in https://github.com/oasisprotocol/oasis-sdk/pull/452)

Also what's with https://github.com/oasisprotocol/oasis-sdk/blob/44bff3160f517c94358935e80f7178a334b2ca36/runtime-sdk/modules/evm/src/precompile.rs#L45-L48
this is not used right?

this is not used right?

I assume this "padded input" should be used from that point forward instead of "input" as otherwise this could panic if input is too small?