add: lib.foldlAttrs

Description of changes
Add new / missing lib function.
Handy shortcut for iterating over entries in an attrset and collecting the result in an accumulator.
Just like builtins.foldl', but for attrsets
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

@roberth can you tell me, if that lib function makes sense. If i should continue and add unit tests at ./lib/tests/misc.nix

You could think of corner cases and the behavior we would like there.
For example, an empty attrset doesn't need to evaluate the function.
foldlAttrs (throw "function not needed") 123 {}

The initial value is not needed when the function is constant. You could define last for attrsets this way, inefficiently.
lib.foldlAttrs (_acc: _name: v: v) (throw "accumulator not needed") { z = 3; a = 2; }

Also the accumulator doesn't have to be an attrset, and the initial value doesn't have to be "empty". The initial value goes first.
lib.foldlAttrs (acc: _name: v: acc * 10 + v) 1 { z = 3; a = 2; }

Thanks!

Nice! That's how I always expected foldAttrs to behave :heart: :tada:


MWPW-143002 cleanup jarvis in gnav

code cleanup so that jarvis can only be started using the milo implementation.
Resolves: MWPW-143002
Test URLs:

Before: https://main--express--adobecom.hlx.page/express/business?martech=off

After: https://jarvis--express--adobecom.hlx.page/express/business?martech=off

Before: https://main--express--adobecom.hlx.page/express/?martech=off

After: https://jarvis--express--adobecom.hlx.page/express/?martech=off

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 34.77%. Comparing base (51d43a9) to head (5df4fc3).
Report is 60 commits behind head on stage.

Additional details and impacted files
@@            Coverage Diff             @@
##            stage     #667      +/-   ##
==========================================
+ Coverage   34.10%   34.77%   +0.67%
==========================================
  Files         128      129       +1
  Lines       24917    25028     +111
==========================================
+ Hits         8498     8704     +206
+ Misses      16419    16324      -95

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Memory belief system broken

With the memory system active on very large LMs, the former causes the responses' tendance for repetition to greatly increase.
Proposed solution, to be implemented when I have the time;
use Bloom-petals custom sampling function to propose recursive belief comparison based-decision as the sentence is being generated.

Should be fonctionnal now, using beam generation and keeping multiple hypotheses for comparison using memory.
Will create a new issue if the generation speed is not satisfactory.


Add some resiliency to lost executors

Rationale for this change
If an executor dies, the current behavior is that the job will fail or it might get stuck forever. This PR is a first step towards making it possible to recover from lost executors: if an executor is dead and it was running tasks or contained materialized partitions that need to be read, we just re-schedule the task.
There are many many more failure cases that the ones covered in this PR. I'll probably start opening issues with the different failure cases so we can track them.
What changes are included in this PR?
assign_next_schedulable_task will not re-schedule any tasks that were handled by executors that died.
I have tested this manually by killing an executor while running tpch query 12, and the query was able to finish and produce the correct result.
Are there any user-facing changes?
No

cc @andygrove

Codecov Report

Merging #568 (a4855ac) into master (e3e7e29) will decrease coverage by 0.06%.
The diff coverage is 38.96%.

@@            Coverage Diff             @@
##           master     #568      +/-   ##
==========================================
- Coverage   76.12%   76.05%   -0.07%
==========================================
  Files         156      156
  Lines       27074    27067       -7
==========================================
- Hits        20609    20585      -24
- Misses       6465     6482      +17

Impacted Files
Coverage Δ

ballista/rust/executor/src/execution_loop.rs
0.00% <0.00%> (ø)

ballista/rust/scheduler/src/api/handlers.rs
0.00% <0.00%> (ø)

ballista/rust/scheduler/src/lib.rs
22.02% <ø> (+1.21%)
:arrow_up:

ballista/rust/scheduler/src/state/etcd.rs
0.00% <0.00%> (ø)

ballista/rust/scheduler/src/state/mod.rs
67.05% <39.34%> (-3.44%)
:arrow_down:

ballista/rust/scheduler/src/state/standalone.rs
76.23% <100.00%> (-0.91%)
:arrow_down:

...afusion/src/physical_plan/expressions/nth_value.rs
78.78% <0.00%> (-11.69%)
:arrow_down:

datafusion/src/physical_plan/expressions/count.rs
84.04% <0.00%> (-5.32%)
:arrow_down:

datafusion/src/physical_plan/expressions/sum.rs
78.20% <0.00%> (-4.49%)
:arrow_down:

...atafusion/src/physical_plan/expressions/average.rs
81.73% <0.00%> (-4.35%)
:arrow_down:

... and 8 more

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 e3e7e29...a4855ac. Read the comment docs.

merge conflicts resolved


Make a deployment process

Preferably with ansible.

Process is done (ie instructions)
Currently turning this into an ansible script
Then this will be embedded in a python script using tachyon so we can do config at the same time

All dependencies and most config is automated with an ansible script however where sensitive info is used then this must be done manual and setting up SSH connections needs to be done manually. ALl this is detailed in how-to-install.txt


Crash to Desktop after Preference Update

Hi,
I changed some preferences in Fraise and it crashed to the desktop. I can't remember exactly what I selected.
It now crashes every time I try to launch Fraise.
Where is Fraise's preferences located by default? If I can find the preferences file I can remove it, and it would also help find what was crashing Fraise.

Thanks for reporting this issue. Please note that the project jfmoy/Fraise is discontinued by the original maintainer. The only maintained fork is this: https://github.com/abentele/Fraise. So I copied the issue to https://github.com/abentele/Fraise/issues/42 and will add all comments there.


kong.client.loadConsumer(UUID) throws error in custom js Plugin

It appears an RPC error is being thrown when trying to load a consumer by UUID.
We have verified our configurations and verified we are correctly passing in the UUID for our anonymous consumer, but continue to receive the following error:
[ERROR] rpc: #13 method "StepConsumer" not implemented
This is for a custom authorizer plugin.  Using references to the lua plugins for authorization, we are attempting to call kong.client.loadConsumer(UUID) inside the access method.

Thanks for reporting this @spurj426 ! I have pushed a fix and it will be included in next release.


Change the Front-End

I think it is better for this application to stick to MERN Stack, I have done some research, since I don't know NextJS and found out that NextJS is a framework what plays like full-stack application. Meaning we won't need Express as Back-End.
But why we need the Express, since NextJS is like Back-End. Well, the Back-End is very limited in NextJS and most to the features in this application won't fit with NextJS
Install React with typescript, redux and tailwindcss.
1. Create a new React project with TypeScript template
npx create-react-app client --template typescript
2. Navigate to the project directory
cd ./client
3. Install Redux and its React bindings
npm install @reduxjs/toolkit react-redux
4. Install Tailwind CSS
npm install tailwindcss
5.Generate your tailwind.config.js file
npx tailwindcss init
6. Open the tailwind.config.js file and configure it
module.exports = {
  purge: ['./src/**/*.{js,jsx,ts,tsx}', './public/index.html'],
  darkMode: false, // or 'media' or 'class'
  theme: {
    extend: {},
  },
  variants: {
    extend: {},
  },
  plugins: [],
}

7.Import Tailwind's base, components, and utilities styles in your src/index.css
@import 'tailwindcss/base';
@import 'tailwindcss/components';
@import 'tailwindcss/utilities';

The Architecture of the app should look like this

I hope I gave a further instruction on the file structor if want to see more here is a great blog about it CLICK HERE
src/
│   ├── app/
│   │   ├── store.js
│   │   └── AppReducer.js
│   ├── components/
│   │   ├── Navbar/
│   │   │   ├── Navbar.js
│   │   │   └── Navbar.css
│   │   ├── Sidebar/
│   │   │   ├── Sidebar.js
│   │   │   └── Sidebar.css
│   │   └── Footer/
│   │       ├── Footer.js
│   │       └── Footer.css
│   ├── features/
│   │   ├── users/
│   │   │   ├── UsersSlice.js
│   │   │   └── UsersAPI.js
│   │   └── posts/
│   │       ├── PostsSlice.js
│   │       └── PostsAPI.js
│   ├── hook/
│   │   └── useCustomHook.js
│   ├── images/
│   │   ├── logo.svg
│   │   └── banner.jpg
│   ├── pages/
│   │   ├── HomePage.js
│   │   ├── AboutPage.js
│   │   └── ContactPage.js
│   ├── utils/
│   │   └── helperFunctions.js
│   ├── App.css
│   ├── App.js
│   ├── index.css
│   └── index.js


Revert "Update Shipping_ZPL.pl"

Reverts ABurbank70/BISG-Shipping-Label#6
Forgot to fix SSCC18 auto-inrement

Rolling back while I fix SSCC


remove harmful line from PlayFramework.gitignore

'project/project' is valid directory for 'project' project-related files. For example, if one configure his sbt build to use scala files directly from 'project/', dependencies like 'project/project/plugins.sbt' will be ignored because of this line.
See http://www.scala-sbt.org/0.13/tutorial/Organizing-Build.html#sbt+is+recursive.

:thumbsup:


feat: Add "debug" to minimum API

In our TypeScript definition file we expose the following log methods:
    debug(...args: any[]): void;
    error(...args: any[]): void;
    info(...args: any[]): void;
    log(...args: any[]): void;
    warn(...args: any[]): void;

That's why we should also include debug to the minimum API that we use in our fallback case.

Codecov Report

Merging #222 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master   #222   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          12     12
  Lines         255    255
  Branches       49     49
=====================================
  Hits          255    255

Impacted Files
Coverage Δ

src/base.js
100% <100%> (ø)
:arrow_up:

@bennyn Can you do a release?

@caiogondim Do we have the release process documented? If I want to create a patch version I just need to execute npm version patch && npm publish, right?


Clicking Chart Viewer button breaks all other buttons in Query Editor

Azure Data Studio Version: master

Steps to Reproduce:

Run a query
Click the Chart Viewer button
Go back to resultset and click any of the other buttons

Expected: Buttons work
Actual: Buttons don't work

@anthonydresser any idea what may be happening here?


Error the Autonomous database connection failed for user: ADMIN  TNS service name: MY_ADW_low java.sql.SQLRecoverableException: Listener refused the connection with the following error: ORA-12514, TNS:listener does not currently know of service requested in connect descriptor

podman run -p 1521:1522 -p 1522:1522 -p 8443:8443 -p 27017:27017 -e WORKLOAD_TYPE='ADW' -e WALLET_PASSWORD=Oracle*123 -e ADMIN_PASSWORD=Welcome_MY_ATP_1234 --cap-add SYS_ADMIN --device /dev/fuse --name adb_free --volume adb_container_volume:/u01/data ghcr.io/oracle/adb-free:latest
Archive:  /u01/POD1.zip
creating: /u01/app/oracle/oradata/
creating: /u01/app/oracle/oradata/POD1/
creating: /u01/app/oracle/oradata/POD1/0A156A2AE0DA39A7E06377234664C7E0/
creating: /u01/app/oracle/oradata/POD1/0A156A2AE0DA39A7E06377234664C7E0/datafile/
inflating: /u01/app/oracle/oradata/POD1/0A156A2AE0DA39A7E06377234664C7E0/datafile/o1_mf_temp_lsccovmr_.tmp
creating: /u01/app/oracle/oradata/POD1/0A1438F87F472D38E0637723466488D2/
creating: /u01/app/oracle/oradata/POD1/0A1438F87F472D38E0637723466488D2/datafile/
inflating: /u01/app/oracle/oradata/POD1/0A1438F87F472D38E0637723466488D2/datafile/o1_mf_temp_lsccory9_.tmp
inflating: /u01/app/oracle/oradata/POD1/redo01.log
inflating: /u01/app/oracle/oradata/POD1/redo02.log
creating: /u01/app/oracle/oradata/POD1/datafile/
inflating: /u01/app/oracle/oradata/POD1/datafile/o1_mf_undotbs1_lscfo0to_.dbf
inflating: /u01/app/oracle/oradata/POD1/datafile/o1_mf_temp_lscfo2no_.tmp
inflating: /u01/app/oracle/oradata/POD1/datafile/o1_mf_temp_lsccondj_.tmp
inflating: /u01/app/oracle/oradata/POD1/datafile/o1_mf_system_lsccg3w1_.dbf
inflating: /u01/app/oracle/oradata/POD1/datafile/o1_mf_sysaux_lsccg3wz_.dbf
inflating: /u01/app/oracle/oradata/POD1/datafile/o1_mf_data_lsccg3y1_.dbf
creating: /u01/app/oracle/oradata/POD1/0E10A174E5A0408DE0636402000A759D/
creating: /u01/app/oracle/oradata/POD1/0E10A174E5A0408DE0636402000A759D/datafile/
creating: /u01/app/oracle/oradata/POD1/onlinelog/
creating: /u01/app/oracle/oradata/POD1/0E1099BA25FC3D75E0636402000ADF30/
creating: /u01/app/oracle/oradata/POD1/0E1099BA25FC3D75E0636402000ADF30/datafile/
creating: /u01/app/oracle/oradata/POD1/0E10A7FCACD24110E0636402000AF7B6/
creating: /u01/app/oracle/oradata/POD1/0E10A7FCACD24110E0636402000AF7B6/datafile/
creating: /u01/app/oracle/oradata/POD1/controlfile/
inflating: /u01/app/oracle/oradata/POD1/controlfile/o1_mf_lscctrtj_.ctl
TIME ELAPSED Unzipping /u01/POD1.zip: 0 minutes and 50 seconds elapsed
User input JSON not found
MY ADB WORKLOAD_TYPE is ADW
MY ADB CUSTOM NAME is MY_ADW
BUILDER: Configuring TCPS
BUILDER: Cleanup /u01/app/oracle/wallets/tls_wallet
BUILDER: Creating auto login wallet for server
Oracle PKI Tool Release <IP_ADDRESS>.0 - Production
Version PT.DBCLOUD19
Copyright (c) 2004, 2023, Oracle and/or its affiliates. All rights reserved.
Enter password:
Enter password again:
Operation is successfully completed.
BUILDER: Creating a self-signed certificate using orapki utility; VALIDITY: 10 years
Oracle PKI Tool Release <IP_ADDRESS>.0 - Production
Version PT.DBCLOUD19
Copyright (c) 2004, 2023, Oracle and/or its affiliates. All rights reserved.
Cannot modify auto-login (sso) wallet
Enter wallet password:
Operation is successfully completed.
BUILDER: exporting server's cert
Oracle PKI Tool Release <IP_ADDRESS>.0 - Production
Version PT.DBCLOUD19
Copyright (c) 2004, 2023, Oracle and/or its affiliates. All rights reserved.
Operation is successfully completed.
BUILDER: exporting server's cert
Oracle PKI Tool Release <IP_ADDRESS>.0 - Production
Version PT.DBCLOUD19
Copyright (c) 2004, 2023, Oracle and/or its affiliates. All rights reserved.
Operation is successfully completed.
BUILDER: exporting encrypted private key
Oracle PKI Tool Release <IP_ADDRESS>.0 - Production
Version PT.DBCLOUD19
Copyright (c) 2004, 2023, Oracle and/or its affiliates. All rights reserved.
Private key password:
Enter password:
Enter password again:
Enter wallet password:
BUILDER: exporting private and certificates together in PEM
BUILDER: generating keystore.jks and truststore.jks
Oracle PKI Tool Release <IP_ADDRESS>.0 - Production
Version PT.DBCLOUD19
Copyright (c) 2004, 2023, Oracle and/or its affiliates. All rights reserved.
Enter wallet password:
Enter Key store password:
Enter Trust store password:
Operation is successfully completed.
Operation is successfully completed.
BUILDER: generating sqlnet.ora for client
BUILDER: Generating  tnsnames.ora based on the new CN
BUILDER: Overriding service names based on user input
BUILDER: generating ojdbc.properties
BUILDER: zipping wallet for ORDS
updating: README (stored 0%)
updating: adb_container.cert (deflated 24%)
updating: cwallet.sso (stored 0%)
updating: cwallet.sso.lck (stored 0%)
updating: ewallet.p12 (stored 0%)
updating: ewallet.p12.lck (stored 0%)
updating: ewallet.pem (deflated 25%)
updating: keystore.jks (stored 0%)
updating: ojdbc.properties (deflated 49%)
updating: sqlnet.ora (deflated 16%)
updating: tnsnames.ora (deflated 83%)
updating: truststore.jks (deflated 5%)
TIME ELAPSED Wallet Generation: 0 minutes and 18 seconds elapsed
User has requested to download '.pdb' archive file from Object Storage bucket
MY_ADW.pdb already exists
TIME ELAPSED Downloaded PDBs: 0 minutes and 0 seconds elapsed
LSNRCTL for Linux: Version <IP_ADDRESS>.0 - Production on 24-JAN-2024 17:23:11
Copyright (c) 1991, 2023, Oracle.  All rights reserved.
Starting /u01/app/oracle/product/<IP_ADDRESS>/dbhome_1/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version <IP_ADDRESS>.0 - Production
System parameter file is /u01/app/oracle/product/<IP_ADDRESS>/dbhome_1/network/admin/listener.ora
Log messages written to /u01/app/oracle/diag/tnslsnr/dd2c45d1b8fa/listener/alert/log.xml
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=<IP_ADDRESS>)(PORT=1521)(FIREWALL=OFF)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcps)(HOST=<IP_ADDRESS>)(PORT=1522)(FIREWALL=OFF)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=<IP_ADDRESS>)(PORT=1521)(FIREWALL=OFF)))
STATUS of the LISTENER
Alias                     LISTENER
Version                   TNSLSNR for Linux: Version <IP_ADDRESS>.0 - Production
Start Date                24-JAN-2024 17:23:12
Uptime                    0 days 0 hr. 0 min. 0 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      OFF
Listener Parameter File   /u01/app/oracle/product/<IP_ADDRESS>/dbhome_1/network/admin/listener.ora
Listener Log File         /u01/app/oracle/diag/tnslsnr/dd2c45d1b8fa/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=<IP_ADDRESS>)(PORT=1521)(FIREWALL=OFF)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcps)(HOST=<IP_ADDRESS>)(PORT=1522)(FIREWALL=OFF)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
The listener supports no services
The command completed successfully
TIME ELAPSED Listener started: 0 minutes and 1 seconds elapsed
SQL*Plus: Release <IP_ADDRESS>.0 - Production on Wed Jan 24 17:23:12 2024
Version <IP_ADDRESS>.0
Copyright (c) 1982, 2023, Oracle.  All rights reserved.
Connected to an idle instance.
SQL> ORACLE instance started.
Total System Global Area<PHONE_NUMBER> bytes
Fixed Size                  9543664 bytes
Variable Size             385875968 bytes
Database Buffers<PHONE_NUMBER> bytes
Redo Buffers                7233536 bytes
Database mounted.
Database opened.
SQL> Disconnected from Oracle Database 19c Enterprise Edition Release <IP_ADDRESS>.0 - Production
Version <IP_ADDRESS>.0
TIME ELAPSED Database started: 1 minutes and 1 seconds elapsed
/u01/data/plug_my_container_pdb_20240124_161743.log :
Creating PDB: MY_ADW
Opened PDB in read write mode: MY_ADW
Successfully plugged
TIME ELAPSED to plug MY_ADW: 0 minutes and 0 seconds elapsed
Error DPY-6005: cannot connect to database (CONNECTION_ID=AF9HvYhoJbNWQDs6B3xuJA==).
DPY-6001: Service "my_adw" is not registered with the listener at host "localhost" port 1521. (Similar to ORA-12514) changing password for MY_ADW user admin
TIME ELAPSED Changed password: 0 minutes and 1 seconds elapsed
BUILDER: Getting custom DB name
BUILDER: Installing ORDS for MY_ADW
ORDS: Release 23.4 Production on Wed Jan 24 17:24:36 2024
Copyright (c) 2010, 2024, Oracle.
Configuration:
/u01/ords/
Oracle REST Data Services - Non-Interactive Customer Managed ORDS for Autonomous Database
Error the Autonomous database connection failed for user: ADMIN  TNS service name: MY_ADW_low
java.sql.SQLRecoverableException: Listener refused the connection with the following error:
ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
(CONNECTION_ID=2SeRebJoTYSsdq7R/XK5vg==)

I'm getting this error when I run it more than once time using persistent volumen

@jmleandrocr
Do you rm the container in between every run command ? If you want to just retain the container data you can simply do a start/stop.
podman stop adb-free
podman start adb-free
I think, I know the cause of the problem reported in this issue. It is because of a file MY_ADW.plugged in the persistent volume.
While we fix this, there are 2 workarounds:

If you don't wish to move data across containers you can get rid of the --volume option in podman run command

Or In between podman run commands, you could automate to do the following

podman inspect adb_container_volume

cd <mountpoint>

sudo rm -rf MY_ADW.plugged

@jmleandrocr
Please test the latest released image version. This is fixed.
docker pull ghcr.io/oracle/adb-free:<IP_ADDRESS>

Can this be closed?


Generated Kotlin for variadic elements of type ion fails to compile

Given:
(define test
   (domain foo
        (contains values::(* ion 0))))

The Kotlin target generates code that fails to compile with the error message: Unresolved reference: asAnyElement
The workaround is to add this to the consuming project:
package org.partiql.pig.runtime

fun kotlin.collections.List<com.amazon.ionelement.api.IonElement>.asAnyElement() = map { it.asAnyElement() }

This function should probably be added to the runtime library.

  I have some code in my local project which permutes a domain from the partiql_physical domain.  The code generated by PIG wont' compile because the Kotlin compiler cannot disambiguate between this .asAnyElement() and this other .asAnyElement().  Both of these functions are work-arounds to this problem.  I think it's time to fix this issue and remove both of the other functions.


discard day and discard month

Is it possible to use :discard_month => true , :discard_day => true  in rails_admin?
If it's OK,how to set?
I want to set a row only show year
Thank you.

configure :date, :integer will create an integer field.
Then cast it to a date with ActiveRecord


Reduce duplication of test data in MBCS test suite

Currently the MBCS test suite pulls in test data from unicode.org public data, to be able to compare what the JDK produces, versus what is expected based on the test data.
For expediency, a copy of this test data is in the MBCS_Tests directory.  In fact, certain files are duplicate within subdirectories like https://github.com/adoptium/aqa-tests/blob/master/functional/MBCS_Tests/codepoint/data/UnicodeData-15.1.0.txt and https://github.com/adoptium/aqa-tests/blob/master/functional/MBCS_Tests/unicode/data/UnicodeData-15.1.0.txt.
We can improve this in 2 ways:

not keeping 2 copies of files, but referring to a single copy that is in a single location (possibly pulled in by the getDependencies job)
pulling test data as part of getDependencies job (and possibly noting when new data shows up at the unicode site)

Noting that in a recent update to the MBCS suite https://github.com/adoptium/aqa-tests/pull/5150, 9 of 13 files were test data, while the 4 src files changed only required 10 lines of code changed.  Managing the test data differently would reduce maintenance costs of this suite.

Items to move out of aqa-tests and pulled in as testDependency

CLDC_11/ext/icu4j-61_1.jar
CLDC_11/ext/icu4j-localespi-61_1.jar
codepoint/data/*
unicode/data/*

Items to consider **/data/* in other subdirs, though they do not appear to be duplicating content


Steering Wheels support

I know that steering wheels is not suitable for arcade racing games, but it will be good if steering wheels support will be added

I actually am considering adding steering wheel support.
I want to add the vibration stuff first to the plugin before I work on that, though. I am sort of working on it as I find time and interest (and the need).

Following.
@xan1242 I'd happily part fund/donate if there is any possibility of getting better wheel support than what currently exists NFSMW.

Following.
@xan1242 I'd happily part fund/donate if there is any possibility of getting better wheel support than what currently exists NFSMW. I think it's an area that is severely lacking in the game.

wheel support in MW was designed specifically for the Logitech wheels of the time


Added Quick Start section

Added a simple Quick Start section to the README.md (via .verb.md).

This addresses issues #98 and #99.

Thanks @dbooth-boston! I requested some changes in a review. Once those are done, I'll merge.

Ok @doowb it should be fixed now.  I corrected the backticks and reverted the README.md .  Thanks!

@doowb it looks like this is approved and ready to merge now.

@dbooth-boston thanks for the ping. I'll merge and get the readme updated soon.

https://github.com/jonschlinkert/markdown-toc/pull/96


Failed to fetch add-on info

Home Assistant release with the issue:
0.93.0
Operating environment (HassOS/Generic):
Hassio
Supervisor logs:
KeyError: 'a21c4976' 19-05-16 17:59:47 INFO (SyncWorker_17) [hassio.docker.interface] Restart homeassistant/qemux86-64-homeassistant 19-05-16 18:00:16 INFO (MainThread) [hassio.homeassistant] Detect a running Home Assistant instance 19-05-16 18:00:53 ERROR (MainThread) [aiohttp.server] Error handling request Traceback (most recent call last):   File "/usr/local/lib/python3.7/site-packages/aiohttp/web_protocol.py", line 418, in start     resp = await task   File "/usr/local/lib/python3.7/site-packages/aiohttp/web_app.py", line 458, in _handle     resp = await handler(request)   File "/usr/local/lib/python3.7/site-packages/aiohttp/web_middlewares.py", line 119, in impl     return await handler(request)   File "/usr/src/hassio/hassio/api/security.py", line 144, in token_validation     return await handler(request)   File "/usr/src/hassio/hassio/api/utils.py", line 32, in wrap_api     answer = await method(api, *args, **kwargs)   File "/usr/src/hassio/hassio/api/addons.py", line 158, in list     ATTR_NAME: repository.name,   File "/usr/src/hassio/hassio/store/repository.py", line 41, in name     return self.data.get(ATTR_NAME, UNKNOWN)   File "/usr/src/hassio/hassio/store/repository.py", line 36, in data     return self.sys_store.data.repositories[self.slug] KeyError: 'a21c4976' 19-05-16 18:00:58 INFO (SyncWorker_4) [hassio.docker.interface] Restart homeassistant/qemux86-64-homeassistant 19-05-16 18:01:24 INFO (MainThread) [hassio.homeassistant] Detect a running Home Assistant instance 19-05-16 18:02:01 ERROR (MainThread) [aiohttp.server] Error handling request Traceback (most recent call last):   File "/usr/local/lib/python3.7/site-packages/aiohttp/web_protocol.py", line 418, in start     resp = await task   File "/usr/local/lib/python3.7/site-packages/aiohttp/web_app.py", line 458, in _handle     resp = await handler(request)   File "/usr/local/lib/python3.7/site-packages/aiohttp/web_middlewares.py", line 119, in impl     return await handler(request)   File "/usr/src/hassio/hassio/api/security.py", line 144, in token_validation     return await handler(request)   File "/usr/src/hassio/hassio/api/utils.py", line 32, in wrap_api     answer = await method(api, *args, **kwargs)   File "/usr/src/hassio/hassio/api/addons.py", line 158, in list     ATTR_NAME: repository.name,   File "/usr/src/hassio/hassio/store/repository.py", line 41, in name     return self.data.get(ATTR_NAME, UNKNOWN)   File "/usr/src/hassio/hassio/store/repository.py", line 36, in data     return self.sys_store.data.repositories[self.slug] KeyError: 'a21c4976' 19-05-16 18:18:30 ERROR (MainThread) [aiohttp.server] Error handling request Traceback (most recent call last):   File "/usr/local/lib/python3.7/site-packages/aiohttp/web_protocol.py", line 418, in start     resp = await task   File "/usr/local/lib/python3.7/site-packages/aiohttp/web_app.py", line 458, in _handle     resp = await handler(request)   File "/usr/local/lib/python3.7/site-packages/aiohttp/web_middlewares.py", line 119, in impl     return await handler(request)   File "/usr/src/hassio/hassio/api/security.py", line 144, in token_validation     return await handler(request)   File "/usr/src/hassio/hassio/api/utils.py", line 32, in wrap_api     answer = await method(api, *args, **kwargs)   File "/usr/src/hassio/hassio/api/addons.py", line 158, in list     ATTR_NAME: repository.name,   File "/usr/src/hassio/hassio/store/repository.py", line 41, in name     return self.data.get(ATTR_NAME, UNKNOWN)   File "/usr/src/hassio/hassio/store/repository.py", line 36, in data     return self.sys_store.data.repositories[self.slug] KeyError: 'a21c4976' 19-05-16 18:22:36 ERROR (MainThread) [aiohttp.server] Error handling request Traceback (most recent call last):   File "/usr/local/lib/python3.7/site-packages/aiohttp/web_protocol.py", line 418, in start     resp = await task   File "/usr/local/lib/python3.7/site-packages/aiohttp/web_app.py", line 458, in _handle     resp = await handler(request)   File "/usr/local/lib/python3.7/site-packages/aiohttp/web_middlewares.py", line 119, in impl     return await handler(request)   File "/usr/src/hassio/hassio/api/security.py", line 144, in token_validation     return await handler(request)   File "/usr/src/hassio/hassio/api/utils.py", line 32, in wrap_api     answer = await method(api, *args, **kwargs)   File "/usr/src/hassio/hassio/api/addons.py", line 158, in list     ATTR_NAME: repository.name,   File "/usr/src/hassio/hassio/store/repository.py", line 41, in name     return self.data.get(ATTR_NAME, UNKNOWN)   File "/usr/src/hassio/hassio/store/repository.py", line 36, in data     return self.sys_store.data.repositories[self.slug] KeyError: 'a21c4976' 19-05-16 18:25:36 ERROR (MainThread) [aiohttp.server] Error handling request Traceback (most recent call last):   File "/usr/local/lib/python3.7/site-packages/aiohttp/web_protocol.py", line 418, in start     resp = await task   File "/usr/local/lib/python3.7/site-packages/aiohttp/web_app.py", line 458, in _handle     resp = await handler(request)   File "/usr/local/lib/python3.7/site-packages/aiohttp/web_middlewares.py", line 119, in impl     return await handler(request)   File "/usr/src/hassio/hassio/api/security.py", line 144, in token_validation     return await handler(request)   File "/usr/src/hassio/hassio/api/utils.py", line 32, in wrap_api     answer = await method(api, *args, **kwargs)   File "/usr/src/hassio/hassio/api/addons.py", line 158, in list     ATTR_NAME: repository.name,   File "/usr/src/hassio/hassio/store/repository.py", line 41, in name     return self.data.get(ATTR_NAME, UNKNOWN)   File "/usr/src/hassio/hassio/store/repository.py", line 36, in data     return self.sys_store.data.repositories[self.slug] KeyError: 'a21c4976'
Description of problem:
Cannot open Add-on Store tab.
Hassio -> Add-on Store

Can you explain how do run into that issue?

With the 0.93.1 update, i can open again, Add-on Store tab.
I think this was a problem adding a repository


some sign-petition tweaks and a userData redux state stub

@sreynen  besides handling your comments, I've pushed some more logic for handling/retrieving session state.  Could you take a look at this PR again.
Besides usual code review stuff two big questions:

I'm particularly interested in your thoughts about how I load session state 'on load' here:
https://github.com/MoveOnOrg/mop-frontend/pull/36/files#diff-3ca5e313cdf02368ce63986a36207c94R14
This seems to have the advantage of truly loading a single time (rather than in a component, which might load many times.  E.g. I experimented with adding it to components/wrapper.js which did work, but then ran every time a page loaded.  We can obviously save store.userStore state and make sure it loads once, but running the tests at all seem possibly unuseful.  OTOH, happy to move it back there (or somewhere else)

Take a look at: https://github.com/MoveOnOrg/mop-frontend/pull/36/files#diff-f05d9d6bbe554232ede2373d483b579f and confirm that's what you had in mind for an API, or let me know how/what I should be calling/expecting.

On the questions:

I don't have a clear idea yet for how this should work, but I think we'll want to load session on every initial page load regardless of path (including static pages that can't populate in preload), so the nav always shows the appropriate login/logout links. Maybe we could dispatch it in app.js before render happens?

That looks good to me. I imagine we'll find use cases for adding more data, but that seems like enough for now.


file INSTALL cannot copy file

I'm running Installation instructions to the last step
"sudo make install"
I got some error below
➜  build git:(master) sudo make install
Password:
[100%] Built target mbusd
Install the project...
-- Install configuration: ""
-- Installing: /usr/bin/mbusd
CMake Error at cmake_install.cmake:36 (file):
file INSTALL cannot copy file
"/Users/willy/Documents/Vulnerabilities_Scan/mbusd.git/build/mbusd" to
"/usr/bin/mbusd".
How can I fix it?
Thanks~

Sorry, I find a solution to fix it!
Change the csrutil status to disable


update collection name

It looks like maybe you guys both made these changes? https://github.com/getditto/DittoAndroidTools/pull/66

Yeah sorry, I went down the backlog list and figured this one would be easy. My PR contains some other changes that fix dependency issues as well


[SPARK-7565] [SQL] fix MapType in JsonRDD

The key of Map in JsonRDD should be converted into UTF8String (also failed records), Thanks to @yhuai @viirya
Closes #6084

Merged build triggered.

Merged build started.

Test build #33182 has started for   PR 6299 at commit b97af11.

Can you also add a unit test in JSONSuite?

Merged build triggered.

Merged build started.

Test build #33187 has started for   PR 6299 at commit 6836a80.

@yhuai I had moved the tests into Scala.

Test build #841 has started for   PR 6299 at commit 6836a80.

Test build #33187 has finished for   PR 6299 at commit 6836a80.

This patch fails MiMa tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

Spurious MiMa failure?  Let's see...
Jenkins, retest this please.

Test build #33182 has finished for   PR 6299 at commit b97af11.

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

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

Merged build finished. Test PASSed.

Note that this latest test passed at an older commit, so we still need to retest I think.

Test build #841 has finished for   PR 6299 at commit 6836a80.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class MultilabelMetrics(JavaModelWrapper):
class DataFrameReader(object):
class DataFrameWriter(object):
class SimpleFunctionRegistry(val conf: CatalystConf) extends FunctionRegistry

Because the original issue is reported with Python codes, do we need to add test in Python too?

@viirya I think we do not need Python tests (I had one and removed).

Merged build triggered.

Merged build started.

Test build #33223 has started for   PR 6299 at commit 0dbf559.

Test build #33223 has finished for   PR 6299 at commit 0dbf559.

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

Merged build finished. Test PASSed.

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

LGTM. I am merging it to master and branch 1.4.


Aar package task doesn't lower case the project name

Project( "some-id", file( "." ), settings = androidBuildAar )
    .settings(
        organization := "org.test",
        name := "PROJECT-NAME"
    )

> publishLocal
....
[info] Packaging PROJECT-NAME.aar
[info] Done packaging.
[info] 	published project-name_2.11 to ~/.ivy2/local/org.test/project-name_2.11/1.0.0/poms/project-name_2.11.pom
[info] 	published project-name_2.11 to ~/.ivy2/local/org.test/project-name_2.11/1.0.0/srcs/project-name_2.11-sources.jar
[info] 	published project-name_2.11 to ~/.ivy2/local/org.test/project-name_2.11/1.0.0/docs/project-name_2.11-javadoc.jar
[info] 	published PROJECT-NAME_2.11 to ~/.ivy2/local/org.test/project-name_2.11/1.0.0/aars/PROJECT-NAME_2.11.aar
[info] 	published ivy to ~/.ivy2/local/org.test/project-name_2.11/1.0.0/ivys/ivy.xml

Which will then make the dependency unresolvable via "org.test" %% "project-name" % "1.0.0", because project-name.aar can not be found!

Project name is case sensitive. It is not unresolvable, you are searching
for the wrong name
--
Sent from my phone
On Mar 11, 2015 4:48 AM, "Niklas Klein"<EMAIL_ADDRESS>wrote:

Project( "some-id", file( "." ), settings = androidBuildAar )
.settings(
organization := "org.test",
name := "PROJECT-NAME"
)

publishLocal
....
[info] Packaging PROJECT-NAME.aar
[info] Done packaging.
[info]  published project-name_2.11 to ~/.ivy2/local/org.test/project-name_2.11/1.2.4/poms/project-name_2.11.pom
[info]  published project-name_2.11 to ~/.ivy2/local/org.test/project-name_2.11/1.2.4/srcs/project-name_2.11-sources.jar
[info]  published project-name_2.11 to ~/.ivy2/local/org.test/project-name_2.11/1.2.4/docs/project-name_2.11-javadoc.jar
[info]  published PROJECT-NAME_2.11 to ~/.ivy2/local/org.test/project-name_2.11/1.2.4/aars/PROJECT-NAME_2.11.aar
[info]  published ivy to ~/.ivy2/local/org.test/project-name_2.11/1.2.4/ivys/ivy.xml

Which will then make the dependency unresolvable via "org.test" %%
"project-name" % "1.0.0", because project-name.aar can not be found!
—
Reply to this email directly or view it on GitHub
https://github.com/pfn/android-sdk-plugin/issues/151.

Here is a project that is affected by this issue:
http://search.maven.org/#artifactdetails|io.taig.android|parcelable_2.11|1.2.4|aar
Using the provided sbt dependency code libraryDependencies += "io.taig.android" % "parcelable_2.11" % "1.2.4" results in the following error:
[warn] 	[FAILED     ] io.taig.android#parcelable_2.11;1.2.4!parcelable_2.11.aar:  (0ms)
[warn] ==== local: tried
[warn]   /Users/Taig/.ivy2/local/io.taig.android/parcelable_2.11/1.2.4/aars/parcelable_2.11.aar
[warn] ==== public: tried
[warn]   https://repo1.maven.org/maven2/io/taig/android/parcelable_2.11/1.2.4/parcelable_2.11-1.2.4.aar
...
[warn] 	::::::::::::::::::::::::::::::::::::::::::::::
[warn] 	::              FAILED DOWNLOADS            ::
[warn] 	:: ^ see resolution messages for details  ^ ::
[warn] 	::::::::::::::::::::::::::::::::::::::::::::::
[warn] 	:: io.taig.android#parcelable_2.11;1.2.4!parcelable_2.11.aar
[warn] 	::::::::::::::::::::::::::::::::::::::::::::::
[trace] Stack trace suppressed: run last *:update for the full output.
[error] (*:update) sbt.ResolveException: download failed: io.taig.android#parcelable_2.11;1.2.4!parcelable_2.11.aar
[error] Total time: 1 s, completed 11.03.2015 16:10:44

Works fine with 1.2.5 however, as I lowercased the project name.

1.2.4 is published as Parcelable, the correct incantation would be:
"io.taig.android"
%% "Parcelable" % "1.2.4"
On Wed, Mar 11, 2015 at 8:14 AM, Niklas Klein<EMAIL_ADDRESS>wrote:

Here is a project that is affected by this issue:
http://search.maven.org/#artifactdetails|io.taig.android|parcelable_2.11|1.2.4|aar
Using the provided sbt dependency code libraryDependencies +=
"io.taig.android" % "parcelable_2.11" % "1.2.4" results in the following
error:
[warn]  [FAILED     ] io.taig.android#parcelable_2.11;1.2.4!parcelable_2.11.aar:  (0ms)
[warn] ==== local: tried
[warn]   /Users/Taig/.ivy2/local/io.taig.android/parcelable_2.11/1.2.4/aars/parcelable_2.11.aar
[warn] ==== public: tried
[warn]   https://repo1.maven.org/maven2/io/taig/android/parcelable_2.11/1.2.4/parcelable_2.11-1.2.4.aar
...
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  ::              FAILED DOWNLOADS            ::
[warn]  :: ^ see resolution messages for details  ^ ::
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  :: io.taig.android#parcelable_2.11;1.2.4!parcelable_2.11.aar
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[trace] Stack trace suppressed: run last :update for the full output.
[error] (:update) sbt.ResolveException: download failed: io.taig.android#parcelable_2.11;1.2.4!parcelable_2.11.aar
[error] Total time: 1 s, completed 11.03.2015 16:10:44
Works fine with 1.2.5 however, as I lowercased the project name.
—
Reply to this email directly or view it on GitHub
https://github.com/pfn/android-sdk-plugin/issues/151#issuecomment-78282890
.

Provide a maven/nexus specification that indicates artifacts should be
lower-cased if the name is upper case, then I will consider implementing
this. Until then, this issue is closed.
On Wed, Mar 11, 2015 at 11:32 AM, Perry Nguyen<EMAIL_ADDRESS>wrote:

1.2.4 is published as Parcelable, the correct incantation would be: "io.taig.android"
%% "Parcelable" % "1.2.4"
On Wed, Mar 11, 2015 at 8:14 AM, Niklas Klein<EMAIL_ADDRESS>wrote:

Here is a project that is affected by this issue:
http://search.maven.org/#artifactdetails|io.taig.android|parcelable_2.11|1.2.4|aar
Using the provided sbt dependency code libraryDependencies +=
"io.taig.android" % "parcelable_2.11" % "1.2.4" results in the following
error:
[warn]  [FAILED     ] io.taig.android#parcelable_2.11;1.2.4!parcelable_2.11.aar:  (0ms)
[warn] ==== local: tried
[warn]   /Users/Taig/.ivy2/local/io.taig.android/parcelable_2.11/1.2.4/aars/parcelable_2.11.aar
[warn] ==== public: tried
[warn]   https://repo1.maven.org/maven2/io/taig/android/parcelable_2.11/1.2.4/parcelable_2.11-1.2.4.aar
...
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  ::              FAILED DOWNLOADS            ::
[warn]  :: ^ see resolution messages for details  ^ ::
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  :: io.taig.android#parcelable_2.11;1.2.4!parcelable_2.11.aar
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[trace] Stack trace suppressed: run last :update for the full output.
[error] (:update) sbt.ResolveException: download failed: io.taig.android#parcelable_2.11;1.2.4!parcelable_2.11.aar
[error] Total time: 1 s, completed 11.03.2015 16:10:44
Works fine with 1.2.5 however, as I lowercased the project name.
—
Reply to this email directly or view it on GitHub
https://github.com/pfn/android-sdk-plugin/issues/151#issuecomment-78282890
.

That's the problem here. "io.taig.android" %% "Parcelable" % "1.2.4" does not solve this! Because now the other files (e.g. https://repo1.maven.org/maven2/io/taig/android/Parcelable_2.11/1.2.4/Parcelable_2.11-1.2.4.pom) can not be resolved anymore.
The aar task creates an upper case file while the pom, javadoc and sources are lowercase. This way it is impossible to resolve the dependency because it will either fail with the missing *.aar or with the *.pom.

the correct answer seems to be that you should name your project lowercase, as this is autogenerated by sbt

That's what I'm doing. I just wanted to let you know about this as a possible enhancement. For me this was unexpected behavior as it works in other sbt based projects and I generally like to upper case names as linguistic convention.

I would argue that this is a bug in sbt, if it is a bug; do ivy repos suffer from the same problem of mismatched case?

I just had another look at the sbt doc and found a few words about this topic which you can find here:
http://www.scala-sbt.org/0.13/docs/Howto-Project-Metadata.html#Set+the+project+name
I didn't come across the sbt key normalizedName until now, but this seems to be what this plugin should be using for the aar's name.
Project( "id", file( "." ), settings = androidBuildAar )
    .settings(
        organization := "org.test",
        name := "name",
        normalizedName := "normalized-name"
    )

> publishLocal
....
[info] Packaging name.aar
[info] Done packaging.
[info]  published normalized-name_2.11 to ~/.ivy2/local/org.test/normalized-name_2.11/1.0.0/poms/normalized-name_2.11.pom
...
[info]  published name_2.11 to ~/.ivy2/local/org.test/normalized-name_2.11/1.0.0/aars/name_2.11.aar

Thank you :+1:


All languages don't show up on the addons page

The addons page doesn't list all the languages that we support. We should coordinate with Thomas to understand why this is and resolve it.

We need to add a file to get the English flag to show up on the Addons page.

Done in develop


IsDNSName does not accept host:port any more

Closes #109

@asaskevich If you are to include #111 , this PR can be omitted (branched too late).


writedata.jl hangs

Haven't had a chance to figure out what exactly is going wrong, but once I got all the packages installed, calling writedata.jl ran for some 45 minutes or so before I finally killed it. Not sure if you ran into something similar.

Can you try again? I just pushed a new version.
The old version also wrote CSV files with 10 million rows for all combinations, and that actually took a very long time. The benchmark script doesn't actually read those because I ran into out of memory situations with that, so now I've modified the write script to also not write those 10 million row files.
I do hope to reenable the 10 million row case at some point. Probably easiest by running all benchmarks in sub processes, like it is done for the julia 0.6 runs right now. That way we could be sure that memory gets cleaned up after each benchmark and maybe that will help...

Closing for now, as I think this is all working, it just might take a while. Please do let me know if there are other issues!


Do you know how to create an AppImage for a pip package?

Hi,
I'd like to know if you have any ideas as to how to create an AppImage for a python pip package. There are a few pip packages I am interested in turning into an AppImage, such as:

Blockify
Spyder
youtube-dl

Any ideas as to how to do this? I have tried running # pip install --install-option="--prefix=/AppDir/usr" --ignore-installed spyder from within a CentOS 7 Docker container but it installed Spyder in the /usr directory not in /AppDir.
Thanks for your time,
Brenton

Hi Brenton, please check out https://docs.python.org/3/library/venv.html

OK I can create a virtual environment now, but how do you run pip in it? I've tried using chroot but as it has no /bin/bash in it I can't chroot into it.

For some reason Spyder's pip install is failing in this virtual environment:
Downloading/unpacking spyder
  Running setup.py egg_info for package spyder
    WARNING: unable to build documentation because Sphinx is not installed

    warning: no files found matching '*.svg' under directory 'spyder_breakpoints'
    warning: no files found matching '*.png' under directory 'spyder_breakpoints'
    warning: no files found matching '*.svg' under directory 'spyder_profiler'
    warning: no files found matching '*.svg' under directory 'spyder_pylint'
    warning: no files found matching '*.' under directory 'doc'
    warning: no files found matching 'CHANGELOG'
Downloading/unpacking rope>=0.9.4 (from spyder)
  Running setup.py egg_info for package rope

Downloading/unpacking jedi (from spyder)
  Running setup.py egg_info for package jedi

    warning: no previously-included files matching '*.pyc' found under directory '*'
Downloading/unpacking pyflakes (from spyder)
  Running setup.py egg_info for package pyflakes

Downloading/unpacking pygments>=2.0 (from spyder)
  Running setup.py egg_info for package pygments

Downloading/unpacking qtconsole>=4.2.0 (from spyder)
  Running setup.py egg_info for package qtconsole

Downloading/unpacking nbconvert (from spyder)
  Running setup.py egg_info for package nbconvert

Downloading/unpacking sphinx (from spyder)
  Running setup.py egg_info for package sphinx

    warning: no files found matching 'TODO'
    warning: no files found matching 'ez_setup.py'
    no previously-included directories found matching 'doc/_build'
Downloading/unpacking pep8 (from spyder)
  Running setup.py egg_info for package pep8

    warning: no previously-included files matching '*.pyc' found under directory 'docs'
    warning: no previously-included files matching '*.pyo' found under directory 'docs'
    warning: no previously-included files matching '*.pyc' found under directory 'testsuite'
    warning: no previously-included files matching '*.pyo' found under directory 'testsuite'
    no previously-included directories found matching 'docs/_build'
Downloading/unpacking pylint (from spyder)
  Running setup.py egg_info for package pylint

    warning: no files found matching 'README'
    warning: no files found matching 'README.Python3'
    warning: no files found matching '*.html' under directory 'doc'
Downloading/unpacking psutil (from spyder)
  Running setup.py egg_info for package psutil

    warning: no previously-included files matching '*' found under directory 'docs/_build'
Downloading/unpacking qtawesome (from spyder)
  Running setup.py egg_info for package qtawesome

Downloading/unpacking qtpy>=1.1.0 (from spyder)
  Downloading QtPy-1.1.2.tar.gz
  Running setup.py egg_info for package qtpy

Downloading/unpacking pickleshare (from spyder)
  Downloading pickleshare-0.7.4.tar.gz
  Running setup.py egg_info for package pickleshare

Downloading/unpacking pyzmq (from spyder)
  Running setup.py egg_info for package pyzmq

    warning: no files found matching 'tox.ini'
    no previously-included directories found matching 'docs/build'
    no previously-included directories found matching 'docs/gh-pages'
    warning: no previously-included files found matching 'bundled/zeromq/src/Makefile*'
    warning: no previously-included files found matching 'bundled/zeromq/src/platform.hpp'
    warning: no previously-included files found matching 'setup.cfg'
    warning: no previously-included files found matching 'zmq/libzmq*'
    warning: no previously-included files matching '__pycache__/*' found anywhere in distribution
    warning: no previously-included files matching '.deps/*' found anywhere in distribution
    warning: no previously-included files matching '*.so' found anywhere in distribution
    warning: no previously-included files matching '*.pyd' found anywhere in distribution
    warning: no previously-included files matching '.git*' found anywhere in distribution
    warning: no previously-included files matching '.DS_Store' found anywhere in distribution
    warning: no previously-included files matching '.mailmap' found anywhere in distribution
    warning: no previously-included files matching 'Makefile.am' found anywhere in distribution
    warning: no previously-included files matching 'Makefile.in' found anywhere in distribution
Downloading/unpacking traitlets (from qtconsole>=4.2.0->spyder)
  Running setup.py egg_info for package traitlets

Downloading/unpacking jupyter-core (from qtconsole>=4.2.0->spyder)
  Running setup.py egg_info for package jupyter-core

Downloading/unpacking jupyter-client>=4.1 (from qtconsole>=4.2.0->spyder)
  Running setup.py egg_info for package jupyter-client

Downloading/unpacking ipykernel>=4.1 (from qtconsole>=4.2.0->spyder)
  Running setup.py egg_info for package ipykernel

Downloading/unpacking mistune!=0.6 (from nbconvert->spyder)
  Running setup.py egg_info for package mistune

    warning: no previously-included files found matching 'mistune.c'
    warning: no previously-included files matching '*.pyc' found under directory 'tests'
    warning: no previously-included files matching '*.pyo' found under directory 'tests'
Downloading/unpacking jinja2 (from nbconvert->spyder)
  Running setup.py egg_info for package jinja2

    warning: no files found matching 'run-tests.py'
    warning: no files found matching '*' under directory 'custom_fixers'
    warning: no files found matching '*' under directory 'jinja2/testsuite/res'
    warning: no previously-included files matching '*' found under directory 'docs/_build'
    warning: no previously-included files matching '*.pyc' found under directory 'jinja2'
    warning: no previously-included files matching '*.pyc' found under directory 'docs'
    warning: no previously-included files matching '*.pyo' found under directory 'jinja2'
    warning: no previously-included files matching '*.pyo' found under directory 'docs'
Downloading/unpacking nbformat (from nbconvert->spyder)
  Running setup.py egg_info for package nbformat

Downloading/unpacking entrypoints (from nbconvert->spyder)
  Could not find any downloads that satisfy the requirement entrypoints (from nbconvert->spyder)
Cleaning up...
No distributions at all found for entrypoints (from nbconvert->spyder)
Storing complete log in /root/.pip/pip.log

I have reported this issue upstream spyder-ide/spyder#3766.

Hmm, well I seem to have overcome that little error with the help of the Spyder dev team, but there is still one big one. Python seems to be very absolute path-oriented, so it seems like quite the challenge to provide a portable app. Like when I copy the AppDir from the CentOS 7 Docker container to my Ubuntu 16.04 system and run AppDir/usr/bin/spyder it gives the error:
zsh: ./spyder: bad interpreter: /AppDir/usr/bin/python: no such file or directory

The only solution StackOverflow has offered me is (here is a link) to replace the shebangs with relative paths but that has failed too. When I run AppDir/usr/bin/spyder after replacing shebangs it starts Python in the terminal, instead of launching Spyder. Do you have any ideas?

Use union: true or binpatch: true.

But this AppImage is built in a CentOS 7 Docker container, so I can't use a yaml for it, can I?

No, so you'd need to do manually what  union: true or binpatch: true do. See the meta Recipe file.


Review some echos in shell script

There was an extraneous "\r\n" that was always printed in the default terminal, so I removed that one and fixed some other minor typos here and there.

Hello!, thanks for the contribution. But can you share more info about the printed \r\n. What shell are you using and could you provide a screenshot?

Sure! I'm using the default Terminal (version 2.13) from macOS Ventura 13.4, with a zsh shell.
This is how I see it:

I did some investigations and found the following. From zsh:
ᐅ which echo
echo: shell built-in command
ᐅ echo "Test \r\n"
Test

ᐅ echo -e "Test \r\n"
Test

From bash:
$ which echo
/bin/echo
$ echo "Test \r\n"
Test \r\n
$ echo -e "Test \r\n"
Test

And, since the script invokes /bin/bash in the first line, I also get the \r\n displayed when running it. Changing it to /bin/sh makes it output the empty line in my setup, as it does changing the echo to echo -e. But I'm not sure what's a better solution; I could do either as a new commit in this PR if you so desire.

I believe a one-fit-all solution could be just removing the \r\n and adding an empty echo to generate the new lines.
If you can make that change and also update CURRENT_VER (line 2) to 23 (+1) I'll be glad to accept the PR


Unable to drop to the last position if checkCanDropEnabled set to true

Hello!
I got into some strange behavior of "Expandable-Draggable-Swipeable-Example".
If you call mRecyclerViewDragDropManager.setCheckCanDropEnabled(true) and expand the last item in the list you will not be able to drag any other item to the last position. When collapsed it works correct again.
I did not make any other changes to example code, so

onGet...ItemDraggableRange returns null
onCheck...CanDrop returns null

Maybe this is expected behavior, but I ran into similar issue in my project when I was unable to drag items down the list when some of them are expanded (not necessarily to the last position - just drag down the list). After deleting the line:
"mRecyclerViewDragDropManager.setCheckCanDropEnabled(true)" it started to work fine.


Review possible solutions for previous backers (Jason)

Jason would like to know if there is a way to reflect on OC the amount that his backers have already pledged to their project on another platform. He wants to fully migrate to OC but he is looking for a way to give credit to his previous backers.  So basically look for possible solutions or a way to attend this kind of requests. He has above 90 backers.
E-mail from Jason:

Hi,
I have a question as our group is interested in migrating to your platform for revenue generation through donations.  We are currently a 501c3 non-profit.  We currently utilize MeetUp as our primary platform.
Is it possible to migrate our paid members from MeetUp into your system at Open Collective?  Is it possible to do this automatically or manually?
For further clarification, if we have some paid members can we generate accounts for them (or have them generate accounts themselves) and denote in the system that they have paid a donation.
Thanks for the assistance.

Another email reply from Jason:

It looks like we have about 98ish members to transfer over.
I guess my primary concern here is that they have pledged a certain amount of money to us annually and I'd like to make sure that amount is reflected into their account if we choose to use your platform.  Is it possible to reflect that they have Subscribed/Donated at a certain dollar amount from the pool of money we would transfer into your system?

closing this. solved via email


Gauss--Jacobi error

This was unlucky:
julia> using FastGaussQuadrature

julia> gaussjacobi(10_000,0.25,0.35); # A OK

julia> gaussjacobi(10_000,0.1,0.2);
ERROR: DomainError:
 in .^ at arraymath.jl:57
 in feval_asy1 at /Users/Mikael/.julia/v0.4/FastGaussQuadrature/src/gaussjacobi.jl:319
 in asy1 at /Users/Mikael/.julia/v0.4/FastGaussQuadrature/src/gaussjacobi.jl:194
 in JacobiAsy at /Users/Mikael/.julia/v0.4/FastGaussQuadrature/src/gaussjacobi.jl:155
 in gaussjacobi at /Users/Mikael/.julia/v0.4/FastGaussQuadrature/src/gaussjacobi.jl:19

This is caused by the typo bug #20.

This was not caused by the typo bug #20.   It was caused by an error in the calculation of the Bessel roots for J_nu(z) when nu is small (used for the initial guesses in gaussjacobi)


Saving DAGs programatically

I had corresponded with @pzivich over email and am posting our communication here for the benefit of other users.
JD.

Is it possible to program saving figures of directed acyclic graphs (DAGs) using zEpid? E.g. using the M-bias DAG code in the docs, typing plt.savefig('dag.png') only saves a blank PNG. To save it to disk, I'd need to plot the figure then manually click-and-point on the pop-up to save it.

PZ.

Unfortunately, saving the DAGs draw isn't too easy. In the background, I use NetworkX to organize and plot the diagram. NetworkX uses matplotlib, but it doesn't return the matplotlib axes object. So while you can tweak parts of the graph in various ways, NetworkX doesn't allow you to directly access the drawn part of the image. Normally, this isn't a problem but when it gets wrapped up in a class object that returns the matplotlib axes (which is what DirectedAcyclicGraph. draw_dag(...) does) it can lead to the issues you noted.

Currently, the best work-around is to generate the image by hand. Below is some code that should do the trick to match what is output by DirectedAcyclicGraph

import networkx as nx
import matplotlib.pyplot as plt
from zepid.causal.causalgraph import DirectedAcyclicGraph

dag = DirectedAcyclicGraph(exposure='X', outcome="Y")
dag.add_arrows((('X', 'Y'),
                ('U1', 'X'), ('U1', 'B'),
                ('U2', 'B'), ('U2', 'Y')
               ))

fig = plt.figure(figsize=(6, 5))
ax = plt.subplot(1, 1, 1)
positions = nx.spectral_layout(dag.dag)
nx.draw_networkx(dag.dag, positions, node_color="#d3d3d3", node_size=1000, edge_color='black',
                 linewidths=1.0, width=1.5, arrowsize=15, ax=ax, font_size=12)
plt.axis('off')
plt.savefig("filename.png", format='png', dpi=300)
plt.close()

Thanks Paul for the advice!
For longer term, it seems useful to build this or something similar into zEpid graphics to programatically save (complex) DAGs in Python for publication. Possibly using position values from DAGs generated in dagitty, which is handy to quickly graph and analyse complex DAGs. Just a thought.
Cheers

Note to self: dowhy, another causal package, now supports DAGitty syntax to generate causal graphs (see docs). I haven't looked under the hood yet, but their graphs are implemented a bit differently using the DOT graph format, not networkx.
zEpid graphs are pleasingly aesthetic though :) Would be a nice feature to support DAGitty graphs in future. Not sure if I'm skilled enough to build this in, but would like to look into it over time

Thanks for looking into this!
As for compatibility with DAGitty, I think the format is like below. If that is provided as a string, I think it should be possible to parse? There are some items that aren't immediately clear to me in the format though. Like what does the positivity after A -> Z do differently than the declared positions for A and Z above? But I agree that this would be nice support to have
dag {
A [pos="-2.200,-1.520"]
B [pos="1.400,-1.460"]
D [outcome,pos="1.400,1.621"]
E [exposure,pos="-2.200,1.597"]
Z [pos="-0.300,-0.082"]
A -> E
A -> Z [pos="-0.791,-1.045"]
B -> D
B -> Z [pos="0.680,-0.496"]
E -> D
}

Cool find!: I just stumbled across the program mermaid that is a Java-based program that renders Markdown code into flowcharts and other diagrams. Looking at the flowchart features of nodes and edges, the syntax closely resembles syntax that DAGitty or Python would use to generate DAGs. A future workflow could look something like:
generate and refine complex DAG with DAGitty
-> copy-paste or programmatically extract DAG nodes and edges data to mermaid (Markdown), and touch up
-> export mermaid code to SVG/PNG for publication, or simply use the Markdown render for day-to-day things like slides, notes, etc.
Checkout the Mermaid Github IO
Some advantages:

Mermaid has an online editor to construct and export figures
PyCharm supports mermaid. See instructions under Diagrams here to install and activate plugin
For that matter, it seems a number of other text editors e.g. Atom, Vim, Zettlr also support mermaid.
Markdown is a very readable language and a good text-based alternative for coding newbies

I will keep playing around and see how we could implement. See what you think!

From the code above:

import networkx as nx

dag

fig = plt.figure(figsize=(6, 5))
ax = plt.subplot(1, 1, 1)
positions = nx.spectral_layout(dag)
nx.draw_networkx(dag, positions, node_color="#d3d3d3", node_size=1000, edge_color='black', linewidths=1.0, width=1.5, arrowsize=15, ax=ax, font_size=12)
plt.axis('off')
plt.savefig("filename.png", format='png', dpi=300)
plt.close()

executing the line positions = nx.spectral_layout(dag) (or nx.drawing.layout.spectral_layout(dag)) produced an error:
TypeError: 'DirectedAcyclicGraph' object is not iterable
Would there be a work-around for this?
Thank you

Yes! if dag is a DirectedAcyclicGraph, you can replace dag in the above code with dag.dag. Internally, the NetworkX object is stored under the DirectedAcyclicGraph.dag parameter. So, you can use dag.dag to directly access the NetworkX graph and pass that to NetworkX functionalities.

Interesting, thanks!
Did as you advised, and I managed to save the dag. This is a dag generated by DAGitty, and plotted using the output positions. But interestingly the orientation was preserved when the Networkx plot is shown in the console (panel A), but changed when saved to PNG (panel B):

(Curve balls. Always... :) )
Not quite sure what the next steps are but I'll look into it over time. Any pointers would be appreciated!

Could it be related to how the positions are determined? The above code from me is assigning positions via nx.spectral_layout(dag). Your A might be using different positions (like whatever NetworkX uses as the default)?
If you were to take DAGitty's positions (like A [pos="-2.200,-1.520"] B [pos="1.400,-1.460"]) and put those in a dictionary, like so
positions = {"A": [-2.200,-1.520], "B": [1.400,-1.460],  ...}

That should keep the same general look to the output as DAGitty. However, every node in the DAG would need to be assigned a 2D position in the dictionary (otherwise you will get an error).
Let me know if that helps

From a previous comment on DAGitty positions,

A -> Z [pos="-0.791,-1.045"]
Like what does the positivity after A -> Z do differently than the declared positions for A and Z above?

it seems the details after the path curves the arrow (something like curving bullets?). Not essential, but could be something of interest in future.

Question. I've been building the plotting features in an external private repo, and wondering how to proceed with merging the functionality into zEpid. I felt it belongs better there, but the code is not pretty enough for a PR. It does the job, but is not in a package format with classes, tests, etc, and has not yet been tested on a complex and messy DAG. Also, you might have different preferences for things on style, approach, or others.
What might be a reasonable way to proceed? I could tidy things up then add you to the external repo?
Cheers

Ahh! AFAIK there isn't an easy way to get curved arrows. However, this doesn't seem to be true anymore. But I don't know if that functionality can be used in an arrow-specific way (easily).
Let's start with an external repo (and you can share with me). We can talk about merging or keeping separate. Thanks :)


Feat(ES-73): Adds support for options flag

Adds support for the added options flag.

List entries with square brackets lead to TOSCA files that cannot be loaded.

List entries with square brackets lead to TOSCA files that cannot be loaded.

is this still valid and an issue?

List entries with square brackets lead to TOSCA files that cannot be loaded.

is this still valid and an issue?

Still valid and should be fixed with the post-processor.


A connection was successfully established with the server, but then an error occurred during the login process

Describe the bug
I am trying to get to the bottom of a connection issue with ASP.NET 5.0 on Linux and SQL Server 2019.
The issue at hand is that our application runs into intermediate connection timeouts whenever the Database backend is running on Linux. If SQL Server is running on Windows, no matter if native, a virtual machine or as Azure Service, connections are rock solid.
If SQL Server is running on Linux, localhost or a dedicated server, CentOS, Debian and Ubuntu as well as the official Microsoft docker image, we receive the exception below.
The exception often happens when someone refreshes the browser UI after a while of inactivity, but we have seen this happening during regular usage as well. It then takes a couple of Browser refreshes (F5) until things recover and operation continues flawlessly, until the next disconnect happens, minutes, hours, or rarely a day later.
The DB connection string is identical (apart from the host name obviously) and there is plenty of bandwidth in each test scenario we used. Below a localhost example.
The DB connection string is identical (apart from the host name obviously) and there is plenty of bandwidth in each test scenario we used. Below a localhost example.
"Server=tcp:localhost\sqlexpress,1433;Initial Catalog=myDemoDB;Persist Security Info=False;User ID=sa;Password=password;MultipleActiveResultSets=True;Encrypt=True;TrustServerCertificate=True;Connection Timeout=360;Min Pool Size=0;"`
We have been investigation this for a while, and there is plenty of mostly outdated information available, however, this post here seems to fit our issue pretty well, it's for Windows Servers hosting the application, so our hope is that maybe the same applies for ASP.NET 5.0 based applications on Linux: https://docs.microsoft.com/en-us/troubleshoot/windows-server/identity/apps-forcibly-closed-tls-connection-errors.
Exceptions (if any)
[2021-02-22 16:26:52.324 ERR] An error occurred using the connection to database 'databaseTest' on server 'tcp:localhost\sqlexpress,1433'.
[2021-02-22 16:26:52.343 ERR] An exception occurred while iterating over the results of a query for context type 'MyApplication.Data.MyApplicationDBContext'.
Microsoft.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the login process. (provider: TCP Provider, error: 0 - Success)
   at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
   at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
   at Microsoft.Data.SqlClient.TdsParserStateObject.ThrowExceptionAndWarning(Boolean callerHasConnectionLock, Boolean asyncClose)
   at Microsoft.Data.SqlClient.TdsParserStateObject.ReadSniError(TdsParserStateObject stateObj, UInt32 error)
   at Microsoft.Data.SqlClient.TdsParserStateObject.ReadSniSyncOverAsync()
   at Microsoft.Data.SqlClient.TdsParserStateObject.TryReadNetworkPacket()
   at Microsoft.Data.SqlClient.TdsParserStateObject.TryPrepareBuffer()
   at Microsoft.Data.SqlClient.TdsParserStateObject.TryReadByte(Byte& value)
   at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
   at Microsoft.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
   at Microsoft.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean enlistOK)
   at Microsoft.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)
   at Microsoft.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout)
   at Microsoft.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)
   at Microsoft.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken, DbConnectionPool pool)
   at Microsoft.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
   at Microsoft.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
   at Microsoft.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
   at Microsoft.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
   at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
   at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
   at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
   at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
   at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides)
   at Microsoft.Data.SqlClient.SqlConnection.Open(SqlConnectionOverrides overrides)
   at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenDbConnection(Boolean errorsExpected)
   at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Open(Boolean errorsExpected)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)
   at Microsoft.EntityFrameworkCore.Query.Internal.QueryingEnumerable`1.Enumerator.InitializeReader(DbContext _, Boolean result)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementation[TState,TResult](Func`3 operation, Func`3 verifySucceeded, TState state)
   at Microsoft.EntityFrameworkCore.Query.Internal.QueryingEnumerable`1.Enumerator.MoveNext()
ClientConnectionId:98759d55-ce1d-46e6-81b5-e3388f3ca546
Microsoft.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the login process. (provider: TCP Provider, error: 0 - Success)
   at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
   at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
   at Microsoft.Data.SqlClient.TdsParserStateObject.ThrowExceptionAndWarning(Boolean callerHasConnectionLock, Boolean asyncClose)
   at Microsoft.Data.SqlClient.TdsParserStateObject.ReadSniError(TdsParserStateObject stateObj, UInt32 error)
   at Microsoft.Data.SqlClient.TdsParserStateObject.ReadSniSyncOverAsync()
   at Microsoft.Data.SqlClient.TdsParserStateObject.TryReadNetworkPacket()
   at Microsoft.Data.SqlClient.TdsParserStateObject.TryPrepareBuffer()
   at Microsoft.Data.SqlClient.TdsParserStateObject.TryReadByte(Byte& value)
   at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
   at Microsoft.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
   at Microsoft.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean enlistOK)
   at Microsoft.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)
   at Microsoft.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout)
   at Microsoft.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)
   at Microsoft.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken, DbConnectionPool pool)
   at Microsoft.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
   at Microsoft.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
   at Microsoft.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
   at Microsoft.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
   at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
   at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
   at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
   at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
   at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides)
   at Microsoft.Data.SqlClient.SqlConnection.Open(SqlConnectionOverrides overrides)
   at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenDbConnection(Boolean errorsExpected)
   at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Open(Boolean errorsExpected)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)
   at Microsoft.EntityFrameworkCore.Query.Internal.QueryingEnumerable`1.Enumerator.InitializeReader(DbContext _, Boolean result)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementation[TState,TResult](Func`3 operation, Func`3 verifySucceeded, TState state)
   at Microsoft.EntityFrameworkCore.Query.Internal.QueryingEnumerable`1.Enumerator.MoveNext()
ClientConnectionId:98759d55-ce1d-46e6-81b5-e3388f3ca546
[2021-02-22 16:26:52.343 INF] Executing handler method MyApplication.Portal.Pages.IndexModel.OnGet - ModelState is "Valid"
[2021-02-22 16:26:52.344 ERR] An error occurred using the connection to database 'databaseTest' on server 'tcp:localhost\sqlexpress,1433'.
[2021-02-22 16:26:52.345 ERR] An error occurred using the connection to database 'databaseTest' on server 'tcp:localhost\sqlexpress,1433'.
[2021-02-22 16:26:52.345 ERR] An error occurred using the connection to database 'databaseTest' on server 'tcp:localhost\sqlexpress,1433'.
[2021-02-22 16:26:52.346 ERR] An error occurred using the connection to database 'databaseTest' on server 'tcp:localhost\sqlexpress,1433'.
[2021-02-22 16:26:52.349 ERR] An exception occurred while iterating over the results of a query for context type 'MyApplication.Data.MyApplicationDBContext'.
Microsoft.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the login process. (provider: TCP Provider, error: 0 - Success)
   at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
   at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
   at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
   at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
   at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides)
   at Microsoft.Data.SqlClient.SqlConnection.OpenAsync(CancellationToken cancellationToken)
--- End of stack trace from previous location ---
   at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenDbConnectionAsync(Boolean errorsExpected, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenDbConnectionAsync(Boolean errorsExpected, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenAsync(CancellationToken cancellationToken, Boolean errorsExpected)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.QueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(DbContext _, Boolean result, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.QueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
ClientConnectionId:98759d55-ce1d-46e6-81b5-e3388f3ca546
Microsoft.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the login process. (provider: TCP Provider, error: 0 - Success)
   at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
   at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
   at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
   at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
   at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides)
   at Microsoft.Data.SqlClient.SqlConnection.OpenAsync(CancellationToken cancellationToken)
--- End of stack trace from previous location ---
   at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenDbConnectionAsync(Boolean errorsExpected, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenDbConnectionAsync(Boolean errorsExpected, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenAsync(CancellationToken cancellationToken, Boolean errorsExpected)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.QueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(DbContext _, Boolean result, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.QueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
ClientConnectionId:98759d55-ce1d-46e6-81b5-e3388f3ca546
[2021-02-22 16:26:52.351 ERR] An error occurred using the connection to database 'databaseTest' on server 'tcp:localhost\sqlexpress,1433'.
[2021-02-22 16:26:52.352 ERR] An exception occurred while iterating over the results of a query for context type 'MyApplication.Data.MyApplicationDBContext'.
Microsoft.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the login process. (provider: TCP Provider, error: 0 - Success)
   at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
   at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
   at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
   at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
   at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides)
   at Microsoft.Data.SqlClient.SqlConnection.OpenAsync(CancellationToken cancellationToken)
--- End of stack trace from previous location ---
   at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenDbConnectionAsync(Boolean errorsExpected, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenDbConnectionAsync(Boolean errorsExpected, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenAsync(CancellationToken cancellationToken, Boolean errorsExpected)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.QueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(DbContext _, Boolean result, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.QueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
ClientConnectionId:98759d55-ce1d-46e6-81b5-e3388f3ca546
Microsoft.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the login process. (provider: TCP Provider, error: 0 - Success)
   at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
   at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
   at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
   at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
   at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides)
   at Microsoft.Data.SqlClient.SqlConnection.OpenAsync(CancellationToken cancellationToken)
--- End of stack trace from previous location ---
   at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenDbConnectionAsync(Boolean errorsExpected, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenDbConnectionAsync(Boolean errorsExpected, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenAsync(CancellationToken cancellationToken, Boolean errorsExpected)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.QueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(DbContext _, Boolean result, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.Internal.QueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
ClientConnectionId:98759d55-ce1d-46e6-81b5-e3388f3ca546
[2021-02-22 16:26:52.355 ERR] Handling exception:
Microsoft.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the login process. (provider: TCP Provider, error: 0 - Success)
   at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
   at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
   at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
   at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
   at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides)
   at Microsoft.Data.SqlClient.SqlConnection.OpenAsync(CancellationToken cancellationToken)
--- End of stack trace from previous location ---
   at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenDbConnectionAsync(Boolean errorsExpected, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenDbConnectionAsync(Boolean errorsExpected, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenAsync(CancellationToken cancellationToken, Boolean errorsExpected)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microso%

Further technical details
Host (useful for support):
  Version: 5.0.3
  Commit:  eae88cc11b

.NET SDKs installed:
  No SDKs were found.

.NET runtimes installed:
  Microsoft.AspNetCore.App 5.0.3 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 5.0.3 [/usr/share/dotnet/shared/Microsoft.NETCore.App]

IDE is VisualStudio build 16.4.31009.304

@zell-mbc
We'll take a look into it soon.
Out of curiosity, have you tried to disable MARS (MultipleActiveResultSets) connection property and seen any difference?

We tried a lot, I think I changed MARS at some point, but happy to test again.

Does that mean your client can be Windows (where SqlClient is loaded) and SQL Server is hosted on Linux and you still face issue?
The stack looks like below:

Any browser connecting to our .NETCore app
.NETCore App is running on a Linux host, I guess that's where the SQLClient is loaded
DB can run on the same host or on another Linux host and we'll see the issue, if the DB is located on Windows/Azure things are fine.

@zell-mbc it has been a while, are you still having the issue with your application?

Thanks for asking. We eventually gave up on SQL Server and moved to Postgres, no issues ever since.


Omit dependencies disabled via features

Right now we include the data equivalent to the contents of Cargo.lock, which lists all dependencies declared in the workspace. Some of those dependencies may be disabled via features; including them may result in false positives in whatever tooling uses this data.

Implemented


new make command to run a remote branch via a prebuilt docker image

Added a few things to run

--rm: cleanup
-it: acknowledge ctrl+c so container can be killed from the cli

Oh, we should add how to get credentials. What should that say Dan?

Thanks for having a look Dan


Labels are NOT sorted

Label names are almost sorted.
But Christian Books & Bibles is not located correct place.
It must be placed between Children's Books and Comics & Graphic Novels.

I can't believe I never noticed before. When I have time, I will consider fixing it.