Azure Devops: gzip: stdin: unexpected end of file

When run following command in dockerfile (azure devops >> - task: Docker@2)
RUN curl -L https://raw.githubusercontent.com/Microsoft/artifacts-credprovider/master/helpers/installcredprovider.sh  | sh

If I run command in WSL command prompt locally then working fine.
Error:
#18 [prebuild 14/19] RUN curl -L https://raw.githubusercontent.com/Microsoft/artifacts-credprovider/master/helpers/installcredprovider.sh  | sh
#18 0.260   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
#18 0.265                                  Dload  Upload   Total   Spent    Left  Speed
#18 0.265
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  2728  100  2728    0     0  49600      0 --:--:-- --:--:-- --:--:-- 49600
#18 0.317 sh: 15: [[: not found
#18 0.317 sh: 15: INFO: Creating the nuget plugin directory (i.e. /root/.nuget/plugins).
#18 0.317 [[: not found
#18 0.317 sh: 28: [[: not found
#18 0.321 Downloading from https://github.com/Microsoft/artifacts-credprovider/releases/latest/download/Microsoft.NuGet.CredentialProvider.tar.gz
#18 0.357 curl: (35) OpenSSL SSL_connect: Connection reset by peer in connection to github.com:443
#18 0.363
#18 0.363 gzip: stdin: unexpected end of file
#18 0.364 tar: Child returned status 1
#18 0.364 tar: Error is not recoverable: exiting now
#18 ERROR: process "/bin/sh -c curl -L https://raw.githubusercontent.com/Microsoft/artifacts-credprovider/master/helpers/installcredprovider.sh  | sh" did not complete successfully: exit code: 1
------

Extra info:

Till date working fine and there is no change
Azure devops both agent have same issue |

self hosted
microsoft hosted

same issue

Next day automatically issued fixed....
Anyone have any clue what was the issue... because its whole day stop development processs due to pipeline not working....

Closing. Seems like an intermittent github outage on the day. Please reopen if you're still hitting this.


[Release]: Developer proxy in Winget

Description
 > winget search "Microsoft 365 developer Proxy"
No package found matching input criteria.

Expected behaviour
I expected to install the developer proxy through winget.
And I expected it to be signed, so it's not blocked by Microsoft Defender
Actual behaviour
Instead it showed No package found matching input criteria.
Steps to reproduce
winget search "Microsoft 365 developer Proxy"
Microsoft 365 Developer Proxy Version
0.0.0
Operating system (environment)
Windows
Shell
PowerShell
Additional Info
I know this is not really a bug, I hope you forgive me?

Het @svrooij, at the moment we don't have the proxy available on winget yet. Let's continue the conversation on #11 which is the original issue on the topic


Fix calculator

Few changes to the self assessment calculator as requested for tax year 2019-20:

Filing deadline pushed back until 28th February (late filing fee starting from 1st March)
Late payment interest rates start on the 1st of Feb rather than 2nd
Validation removed that ensures payment date is before filing date
Content removed concerning outdated calculator (as it now should be up to date 😄)

Trello:
https://trello.com/c/Uff9Ko9M/2339-fix-anomaly-in-estimate-your-penalty-for-late-self-assessment-tax-returns
⚠ This repo is Continuously Deployed: make sure you follow the guidance ⚠

Thanks for the review @brucebolt.
I've also bolted on another commit which should make a few tests a bit more readable.

Thanks for the review @brucebolt.
I've also bolted on another commit which should make a few tests a bit more readable.


Group children

Hi,
thanks for sharing this script, I love the idea to define the inventory by host.
Could you tell me if one can define group children using it ?
Regards,
Henri Chapelle

Hi,
You mean defining a child group of another group ?
Regards,
Benoit

Yes, that's right.
We would like to have a group (non dynamic) linux with subgroup centos, redhat, debian...
I don't see how to do it using simple ansible inventory.
Regards,
Henri

You cannot
The idea was to keep it simple and avoid any group inclusion.
What you can do for example is assigning groups linux and debian to your host

I wanted to avoid the following:

Host a is defined with group A
But group A is a member of group B
So the host is also member of group B

The fact that the host will also be a member of group B wouldn't be easily readable by reading host definition in file

Ok, I'll do with additional groups, thanks !

You're welcome !


[cuda] Minimal changes taking advantage of C++17 features

Builds and runs fine...
Just to clarify: the main reason for these changes is to make it easier to test different mutex types in the caching allocators.
Then I had the constexpr changes lying around for a while, so I included them as well.


Simple ensemble method using random forest and AdaBoost

Is this a unique feature?

[X] I have checked "open" AND "closed" issues and this is not a duplicate

Is your feature request related to a problem/unavailable functionality? Please describe.
This code demonstrates a simple ensemble method using random forest and AdaBoost. It combines the predictions of these two models by taking their average. You can experiment with different ensemble techniques like stacking or voting, and adjust the hyperparameters of the individual models to find the best combination for your specific problem.
Proposed Solution
Ensemble Methods: Consider combining multiple models (e.g., random forest, AdaBoost) to potentially improve performance and reduce overfitting.
Screenshots
No response
Do you want to work on this issue?
Yes
If "yes" to above, please explain how you would technically implement this (issue will not be assigned if this is skipped)
from sklearn.ensemble import RandomForestRegressor, AdaBoostRegressor
from sklearn.model_selection import train_test_split
from sklearn.metrics import mean_squared_error
Assuming you have your features (X) and target variable (y)
X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.2, random_state=42)
Create individual models
rf_model = RandomForestRegressor(n_estimators=100, random_state=42)
adaboost_model = AdaBoostRegressor(n_estimators=100, random_state=42)
Train the models
rf_model.fit(X_train, y_train)
adaboost_model.fit(X_train, y_train)
Make predictions
rf_predictions = rf_model.predict(X_test)
adaboost_predictions = adaboost_model.predict(X_test)
Combine predictions (simple averaging)
ensemble_predictions = (rf_predictions + adaboost_predictions) / 2
Evaluate the ensemble model
ensemble_mse = mean_squared_error(y_test, ensemble_predictions)
print("Ensemble MSE:", ensemble_mse)

I'd like to work on this project. please assign it to me

I would like to contribute in this project by increasing accuracy of the predictions using various different models

@SaurabhIndi assign this to me


[WFLY-17811] converted ee concurrent tests to jar packages

Issue: https://issues.redhat.com/browse/WFLY-17811

The failure is related to the fix. I am looking into it.

The current failures looks to be intermittent, not related to the fix.

Thanks @istudens and @jamezp


Use nuget version placeholders, adds prerelease support, bumps versio…

…ns of core and web projects based on xml

Aw Nice! That's much better!
Betas are for wimps though 😛


The support for the chain is already added but still getting an error while deploying using safe-smart-account

I want to deploy safe-smart-contracts on apothem (XDC testnet) network.
While following the instructions mentioned here, I am deploying the custom network by setting the NODE_URL.
Soo when I try to execute the command npm run deploy-all custom. I am getting the following error.

RPC URL:- https://erpc.apothem.network/
While safe-factory deployment is already done on apothem network chain id(51).
PS: I have already installed the latest package using npm i --save-dev @gnosis.pm/safe-singleton-factory
See the reference #324 .
Please let me know if I am missing out on anything.

PS: I have already installed the latest package using npm i --save-dev @gnosis.pm/safe-singleton-factory

The correct package name is @safe-global/safe-singleton-factory


Build TF 2.0 Windows

C++ compilation of rule '//tensorflow/core/kernels:eigen_contraction_kernel_with_mkl' failed (Exit 2): python.exe failed: error executing command
System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): windows 10
Python version: 3.7
Installed using virtualenv? pip? conda?: pip
Bazel version (if compiling from source): 0.26.1
GCC/Compiler version (if compiling from source): vs 2017
CUDA/cuDNN version: 7.4
GPU model and memory: 1060 6GB

Describe the problem
Provide the exact sequence of commands / steps that you executed before running into the problem
Any other info / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.

Does the command python.exe actually run in the console?

Does the command python.exe actually run in the console?

yeap

@sonfiree, Did you follow the instructions mentioned in this link. And also provide the exact sequence of commands / steps that you executed before running into the problem. Thanks!

git clone https://github.com/tensorflow/tensorflow.git
cd tensorflow
python ./configure.py
       def all, Cuda try
bazel build --config=opt --config=cuda --define=no_tensorflow_py_deps=true //tensorflow/tools/pip_package:build_pip_package

TF 1.14 it`s work

@sonfiree, Please provide the CUDA version. Thanks!

CUDA 10.0 not work
CUDA 10.1 not work

Please provide full log. I suggest bazel clean --expunge; bazel build --config=cuda //tensorflow/tools/pip_package:build_pip_package

The question can probably be hidden. I stayed at 1.4 and no longer plan to use TF. I turn to pytorch

Well, you offered no information that could have helped in debugging and allowing us to help you


SW caches too much data

Should cache only the API requests (https://m.habr.com/kek/v1...)

Fixed in 0d1a30dc5c91c1ebf4f46e6c162aa310c114a9e1

Still a lot of data is being stored. Needs investigation.

Fixed in #92c213f


vmdk is corrupt

When running vmdk2dmg on a running VM. The VM's disk is corrupt. See logs
$ diskutil verifyVolume /
Started file system verification on disk0s2 Macintosh HD
Verifying file system
Using live mode
Performing live verification
Checking Journaled HFS Plus volume
Invalid B-tree node size
The volume   could not be verified completely
File system check exit code is 8
Error: -69845: File system verify or repair failed
Underlying error: 8: POSIX reports: Exec format error

The converted dmg is un-mountable.
$ hdiutil attach ios-dev-image-20151207-2.dmg
Checksumming Protective Master Boot Record (MBR : 0)…
Protective Master Boot Record (MBR :: verified   CRC32 $D0A47DAB
Checksumming GPT Header (Primary GPT Header : 1)…
 GPT Header (Primary GPT Header : 1): verified   CRC32 $EAB1CBE3
Checksumming GPT Partition Data (Primary GPT Table : 2)…
GPT Partition Data (Primary GPT Tabl: verified   CRC32 $6156FAD1
Checksumming  (Apple_Free : 3)…
                    (Apple_Free : 3): verified   CRC32 $00000000
Checksumming EFI System Partition (C12A7328-F81F-11D2-BA4B-00A0C93EC93B : 4)…
EFI System Partition (C12A7328-F81F-: verified   CRC32 $E6D80B6C
Checksumming Macintosh HD (Apple_HFS : 5)…
..............................................................................................................................................................................
        Macintosh HD (Apple_HFS : 5): verified   CRC32 $92D9F8F6
Checksumming Recovery HD (426F6F74-0000-11AA-AA11-00306543ECAC : 6)…
................................................................................................................................................................................
Recovery HD (426F6F74-0000-11AA-AA11: verified   CRC32 $4CFD0502
Checksumming  (Apple_Free : 7)…
                    (Apple_Free : 7): verified   CRC32 $00000000
Checksumming GPT Partition Data (Backup GPT Table : 8)…
GPT Partition Data (Backup GPT Table: verified   CRC32 $6156FAD1
Checksumming GPT Header (Backup GPT Header : 9)…
  GPT Header (Backup GPT Header : 9): verified   CRC32 $6395EE13
verified   CRC32 $A185E3AC
hdiutil: attach failed - no mountable file systems


number parsing

Bug Report
number literals like "+1"_json , ".5"_json , "5."_json are invalid
Feature Request
hexadecimal floating literal (like0x1.2p3)

All these numbers are non-confirming JSON, see

We shall not add features that do not conform to JSON.


Cross compiling SDK for raspberry pi using Visual studio 2015 or 2017

I have a raspberry pi3 running raspbian stretch. I was able to compile the SDK right on the raspberry pi but  am having trouble using Visual studio to x-compile sdk from Windows environment. I would like to continue development from Windows environment if possible. Are there any steps I could try to get this working either in Visual studio 2015 or 2017?

Hi @az2022,
Unfortunately, we've only tried cross-compiling on Linux for Raspberry Pi. We haven't tried cross compiling from a Windows environment. Is there any specific step that's giving you trouble?
Thanks,
Sanjay


ScanCapture pose format

Hello, I captured several datasets using the ScanCapture App. But I don't know the definition of the image pose in poses.txt file. Could you explain it in detail? Thank you!

The pose is the transformation from camera frame to world frame but follows the computer graphics conventions: https://developer.apple.com/documentation/arkit/arcamera/2866108-transform
https://developer.apple.com/documentation/arkit/configuration_objects/understanding_world_tracking

the y-axis points upward, and (when relevant) the z-axis points toward the viewer and the x-axis points toward the viewer's right.

Here is how to parse it:
https://github.com/microsoft/lamar-benchmark/blob/ede1c434cd6345ba61cc783223b6f3fdf2b9e7bf/scantools/run_phone_to_capture.py#L106-L118


fix: Synapse E2E Test Starvation

Summary
This changeset fixes the flakiness in running Synapse E2E Tests due to limited spark pool(s). The changes include:

Dynamically creating 3 "Large" Apache Spark Pools (Spark v3.2) for each E2E job triggered to run the tests
Deleting the spark pools created dynamically at the end of each run
Use of Apache Spark Pool (bigDataPool resource) bicep spec to create each spark pool
Use RESTful API endpoint of Azure Resource Management for Synapse Spark to create/delete pools
Modularity to change bicep template for bigDataPool

Tests
Tested the changes by triggering the E2E tests on a production workspace as well as PPE workspace.
Dependency changes
None
AB#1810147

/azp run

Codecov Report

Merging #1517 (6dcc3ac) into master (5f61e6f) will decrease coverage by 78.98%.
The diff coverage is n/a.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9d16166...6dcc3ac.


Renamed *.s -> *.asm

Improve detection of file type -- e.g notepad++ thinks .s is R,
while some editors think .s/.S is GAS (not NASM)
Why?
It is annoying when an asm file is detected as R or something else, so this PR will allow for better editor integration. It is also better to do it sooner rather than later while the number of asm files is still small

Yeah, this is why I get you to review my PR's


Spotted 2 key errors in logs

Just FYI:

And:

This one happened right after new user creation + karma change (anonymised):
Jul 30 22:09:07 pbkarmabot app/worker.1 07-31 05:09 root         INFO     Created new KarmaUser: <KarmaUser> ID: yyy | Username: yyy | Karma-Points: 0
Jul 30 22:09:07 pbkarmabot app/worker.1 07-31 05:09 root         INFO     [Karmachange] aaa to bbb: 2

Let me know if I can help in any way ...
Thanks,
Bob

Was that in a private channel? Maybe you are still missing some permissions on the bot (group permissions).
Otherwise, we need to reproduce it and look into the slack API response. However, we should at some try excepts around API calls and logging.error the API responses.

Yep the permissions fixed the private channel issue but I think these errors are unrelated. Thanks for adding logging around this issue in your latest PR.

@pogross thanks for the logging, that is useful.
I saw it happening just now again for this message you sent in the public karmabot dev channel: "and for master there was still the old 3.7 test, even if they were removed in the yml. I updated the workflows (edited)" - could it be related to the fact you edited this message?
It seems in that case the payload changes to (from Papertrail):
{'channel': 'C7R9H8B0S',
 'channel_type': 'channel',
 'event_ts': '1631102455.012700',
 'hidden': True,
 'message': { ... "text": ..., "user": ...}. => these are now one level deeper
...}

But when I try to reproduce it locally I get all attributes on the first level (as it's supposed to be):
{...'type': 'message', 'text': 'and for master there was still the old 3.7 test, even if they were removed in the yml. I updated the workflows', 'user': '...', ..., 'channel': 'C02DH32JCF4', ... 'channel_type': 'channel'}

So not sure yet how to fix this because I don't know why the response dict changes ...

@bbelderbos still happening or can we close this?

Let's close for now, bot seems to work as expected.


WIP: Develop

Pull Request Test Coverage Report for Build 915

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.1%) to 75.513%

Totals

Change from base Build 910:
0.1%

Covered Lines:
1679

Relevant Lines:
2111

💛  - Coveralls


Add functions for Year-on-Year coupons with convexity adjustments

This PR adds methods for simulating YoY coupons with resulting convexity adjustments.

log_asset_convexity_adjustment model functions
asset_convexity_adjustment path function
index_convexity_adjustment path function
AssetConvexityAdjustment payoff
IndexConvexityAdjustment payoff
ForwardIndex, FutureIndex payoff
RelativeReturnCoupon cash flow
RelativeReturnIndexCoupon cash flow

Primary use case are inflation-linked products. Methodology can also be applied to FX- or equity-linked products.

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

Project coverage is 98.23%. Comparing base (a9e600e) to head (4f2c691).

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #69      +/-   ##
==========================================
+ Coverage   98.19%   98.23%   +0.04%
==========================================
  Files          66       69       +3
  Lines        3430     3569     +139
==========================================
+ Hits         3368     3506     +138
- Misses         62       63       +1

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


Linting: blacken shapely code

From https://github.com/Toblerity/Shapely/issues/962#issuecomment-961071354, one of the discussion items is the use of linting tools (black, flake8, isort), which pygeos was already using (and enforcing on CI using pre-commit).
If we want to use them for shapely as well, we of course need to make the existing code apply, and I think black will have the biggest impact. So this PR shows what it would do for the existing shapely code (I see the largest part of the diff is actually string normalization (' -> "), which could be turned off if people prefer).

Running black on the code would be fine with me. I've been using darker to incrementally blacken lines of code that I've changed for a couple years. About the quote changes: at least they are easy to see and pass over in a visual diff!

Whether to use black or darker (https://github.com/akaihola/darker) doesn't matter that much to me (as long as we automate the fixing up and checking). The original author of black has a small blogpost explaining why he prefers to do apply black once instead of incrementally: https://lukasz.langa.pl/36380f86-6d28-4a55-962e-91c2c959db7a/
Now, it seems people are generally fine with it. So will go forward with black here.

There are a few missing subdirectories, including tests. Was that intentional, or to be done later?

Indeed, the tests I also need to do (I left out the examples subdir with the idea we should maybe move them outside of the package anyway?)

Coverage remained the same at 81.131% when pulling 6dbdbdfa58c64f009e5ce12eb31c612bc9a1c4c0 on jorisvandenbossche:blacken into a0f8a31a18d5384f0a04ee8e8b2d089b37c186cc on Toblerity:main.


feat(awscdk-github): support storing versioned artifacts in GitHub Packages

This commit adds the optional capability to store cloud assembly artifacts as versioned packages in GitHub Packages. This is particularly useful for setups that require manual approval steps in the deployment pipeline.

Updated API documentation and internal logic to include a useGithubPackagesForAssembly option.
Ensured environment variables are set up correctly for GitHub actions to authenticate with GitHub Packages.
Modified GitHub action workflows to handle new permissions for package management.
Added tests to verify the behavior when using GitHub Packages for storing artifacts with manual approvals.

Fixes #

🥳

Thanks for figuring this out


rework bo tutorial

@fehiepsi i've made a first pass. i rearranged things a bit to make the text consistent with the code. let me know if you dislike any of the changes i've made or if you have suggestions for further improvements

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Ah, there might be some issues when rendering to html. But we can do it later. :)

@fehiepsi ok great. i increased the number of seed values to 5 and changed the random number seed. looks better now, i tink.
@jpchen can you please check if this renders reasonably in html?
if it renders ok should be ready to merge (unless there are other review comments out there)

@martinjankowiak can you resolve merge conflicts first so i can check the final result

@jpchen thanks, done


fix(deps): update dependency react-i18next to v13

This PR contains the following updates:

Package
Type
Update
Change
Pending

react-i18next
dependencies
major
^12.2.2 -> ^13.0.0
13.0.1

Release Notes

i18next/react-i18next
v13.0.0
Compare Source

Update types to support t function redesign 1615
requires i18next >= v23.0.1

v12.3.1
Compare Source

optimization for optional lng prop for useTranslation, should now prevent missings when lazy loading translations 1637

v12.3.0
Compare Source

optional lng prop for useTranslation (helping on server side 1637)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

Thanks for the PR!
Any successful deployments (not always required) will be available below.
Backend - Vehicles available
Backend - DMS available
Frontend available
Once merged, code will be promoted and handed off to following workflow run.
Main Merge Workflow

⚠ Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

any of the package files in this branch needs updating, or
the branch becomes conflicted, or
you click the rebase/retry checkbox if found above, or
you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:
File name: frontend/package-lock.json
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving<EMAIL_ADDRESS>npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/i18next
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer i18next@">= 23.2.3" from<EMAIL_ADDRESS>npm ERR! node_modules/react-i18next
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See /tmp/renovate/cache/others/npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /tmp/renovate/cache/others/npm/_logs/2023-06-28T11_25_44_902Z-debug-0.log

The PR  528 needs to be merged first to resolve peer dependency issues
https://github.com/bcgov/onroutebc/pull/528
cc: @devin-aot @krishnan-aot

Closing this PR because, react-i18next is not actively used anymore and only kept for the i18n setup done initially which has to be removed eventually.

Renovate Ignore Notification
As this PR has been closed unmerged, Renovate will ignore this upgrade and you will not receive PRs for any future 13.x releases. However, if you upgrade to 13.x manually then Renovate will reenable minor and patch updates automatically.
If this PR was closed by mistake or you changed your mind, you can simply rename this PR and you will soon get a fresh replacement PR opened.


Speed up demodulation in demod task

When data is acquired from an acquisition card, we extract I and Q by multiplying the raw traces by sin and cos, and then taking the mean. This operation, can, in some cases, be the limiting factor for how fast we can take data. Maybe there are tricks we can play in the demodulation task to make it faster?

Moved to https://github.com/Ecpy/ecpy_hqc_legacy/issues/11


Use IP address instead of socket hostname

It is more reliable to use IP addresses to pass cluster specifications since they are more likely to be resolvable by other machines in the cluster (as opposed to socket hostnames). This PR replaces all instances of socket.gethostname with util.get_ip_address.
I have tested this with a distributed tensorflowonspark job and the job runs properly.

Thank you for submitting this pull request, however I do not see a valid CLA on file for you. Before we can merge this request please visit https://yahoocla.herokuapp.com/ and agree to the terms. Thanks! :smile:

I signed the CLA but not sure why it says not found.

Tested on my YARN grid successfully.
+1


Review the usage of deprecated APIs

Kubernetes 1.22 will stop serving a few deprecated API versions. The affected APIs have all been promoted to v1 from v1beta1. A list is provided in the deprecation guide.
Also note that some of these v1 APIs were introduced as recently as v1.19, which means that by switching to them we would have to drop support for versions < v1.19. Let's figure out if this is the case for the APIs we use and establish the range of Kubernetes versions we can support.

The only v1beta1 APIs that we are using are:

policy/v1beta1.PodSecurityPolicy: this will be replaced by the PodSecurity admission controller, which is still in alpha, so no rush.
policy/v1beta1.PodDisruptionBudget: this has been replaced by policy/v1.PodDisruptionBudget and will go away in v1.25. Some deprecations notes:

policy/v1.PodDisruptionBudget has been available since v1.21.
All existing PDBs are going to be accessible via the new API.
The only breaking change between the two versions is the behaviour when spec.selector is empty, but we never leave spec.selector empty (see here and here).

So:

we should work just fine in v1.22;
we'll need to upgrade PSPs and PDBs before v1.25, possibly waiting for v1.21 to fall out of the maintenance window (which seems to be of three minor versions, so as soon as v1.24 is released).


loading source list from local file

I tried to load a source list ( local file with .txt format, and same data format ) but the checker wont work...
is there a specific way to do this?

Hi. This is not currently supported, although this may change in the future. Have a good day.

Hi, in subsequent updates was there an implementation of this feature or was it put aside permanently?

Added support for this in https://github.com/monosans/proxy-scraper-checker/commit/e4047e16aeb9800bbaa91db429c9bd2cef5e0583.


Notebook Demo for the G-Formula

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.0 out of 3 committers have signed the CLA.:x: julinamaharjan:x: prithwi:x: pchakraborty1julinamaharjan seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


[PREP-280] Use osf regex if not an outside provider

Problem
On branded preprint search, clicking on the title of a preprint that's got an article DOI directs the user to the DOI. It should send the user to the branded view of the preprint.
An example is on PsyArXiv - search for "go/no go association task"
This particular example is ALSO broken because the DOI seems invalid- that's unrelated.
Changes
Link to ticket
https://openscience.atlassian.net/browse/PREP-280

@binoculars, please take a look at the changes I made. Your comment made sense, and the last one in the iteration would win even if it returned a falsy value. So I changed so that if earlier iterations did return a value, that would not get blanked by a falsy one in a later iteration, with OSF being used if none of the providers return anything.


A little typo in script

When you use /help it shows a help menu that includes this text
🟣 /click on - Start collecting Not Coins
🟣 /click off - Stop collecting Not Coins
I think it might be a problem cuz we collect tap swap coins.
Lines: 446 & 447

Hello, It's true! There is a typing mistake, and thank you for informing me.


Get Create finalized

Description
Get Create (Get.create) was almost done; however, it was not able to return the instance created.
Type of change:

[ ] Get Create feature was finalized/completed  (non-breaking changes)
[ ] This change requires a documentation update

Files changed:

[ ] get_instance.dart
[ ] extension_instance.dart
[ ] get_instance_test.dart

Tests created:

[ ] Get.create test

Let me know about the test you have mentioned. Unfortunately, currently, I am not proficient in tests in Dart; however, overtime, I will figure out that.

What that create method do?

@Nipodemos it simply create a non-singleton instance.

Hi Paulo, first I would like to thank you for the time dedicated to this contribution, but I just wanted to understand the reason for inserting a find inside create, could you give me a situation of direct use of it?
I also recently modified GetWidget to have a cache, which means that if you do something like:
Get.create(() => Controller());
in your Binding, you can simply do:
class Home extends GetWidget {
}
And an instance of create will be created and made available only for this screen, this can be useful in your projects.

I think the situation is just that upon creating an instance, it returns it? 🤔

Create a simple  dart instance individually would be the solution.


Bump plutus to 52b23b8

And bunch of its dependencies, mostly synchronized with
cabal.project in Plutus repo.

IsData -> To/FromData
Contracts -> Promises
PAB BuiltIn
Adding traceIfFalse so we get two error messages!
OverloadedStrings

Disabled "Expose 'lock' endpoint, but not 'guess' endpoint" test
since both are now exposed from start.

@luigy tried to fix the endpoints thingie here, but I'm not quite sure about it.

@sorki nice! are you seeing the expected behavior with the new select changes? from a skim to the new select api PR it doesn't seem like it would change the issue from https://github.com/input-output-hk/plutus/issues/3526 just yet, but I'll have to take a closer look.
Once this is ready we should put out a new devcontainer release from plutus and point to it

Simplified variant does work, reverting my attempt at 0bee7eaeaf3b8aeb8370db1cadc93ddbc533532b for now as that interestingly causes both endpoints to not be available again (but the trace seems happy).
In this case it might be better to simply expose both anyways, as you can now make guess before locking and everything just works.
cc https://github.com/input-output-hk/plutus/issues/3526

Thanks for putting this together @sorki ; sorry it dropped of the radar a bit, but it was helpful for me for preparing v1.0.7 and merging #26 !

Thanks for putting this together @sorki ; sorry it dropped of the radar a bit, but it was helpful to me for preparing v1.0.7 and merging #26 !

 I mostly wanted to try updating the thing to learn about the process a little and to test some assumptions, glad it was helpful.


Add maintainer and contributor documentation about workflow automation near the configuration

Closes #7364
Description
This PR adds a CONTRIBUTING.md to the .github directory. The purpose is to quickly
orient a maintainer or contributor about our testing actions, constraints workflows, and
general automation of labels and issues.

Interesting! I had never thought of doing this but it does make sense. Note we have some of the docs about the docs deployment here: https://napari.org/stable/developers/contributing/documentation/docs_deployment.html
I wonder if we should point people to that page, or move some of that content here? My fear is duplication and going out of sync...

@melissawm On projects with a bunch of workflows, it can be helpful to have a README or CONTRIBUTING in the repo to orient quickly people investigating the automation. I think adding a link back to the more general contributor documentation makes sense. I see this files as being navigation or quick orientation for experienced contributors to get context quickly. I view this doc as a "what" and the napari documentation as a "how".

Let's press the green button and get this merged. Thanks!

Done 🚀


Support artifacts

Display artifacts for workflow runs
Download artifacts for workflow runs

Transferred from: https://github.com/cschleiden/vscode-github-actions/issues/140

This would be especially useful for Codespaces, where I currently have to download and reupload.


Ast::set_parent_in_children should not be virtual

This member function is called in Ast classes constructors exclusively AFAIK. Virtual methods should not be called in constructors, more details in isocpp.org wiki
I suggest making it a simple private member function in every sub-classes of ast having children.

I agree. Copy-paste error


Channel with funds disappeared overnight?

I am running CLN v22.11.1 on the RaspiBlitz v1.9.0rc1 with CLBOSS
Since last night, my node dropped from 5 channels to 4.
The channell will 1.5 sats on the local side just disapear and I don't know how to look for the reason.
Can someone please instruct me on how to check this further?
I have put in bold some unusual report from the log.
Also opened the same issue in the https://github.com/ElementsProject/lightning/issues/6000.
After running 'sudo tail -n 30 -f /home/bitcoin/.lightning/bitcoin/cl.log':
admin@<IP_ADDRESS>:~ ₿ sudo tail -n 30 -f /home/bitcoin/.lightning/bitcoin/cl.log
2023-02-12T07:35:44.975Z INFO plugin-clboss: InternetConnectionMonitor: online.
2023-02-12T07:35:45.082Z INFO lightningd: Restarting onchaind for channel 4
2023-02-12T07:35:45.086Z UNUSUAL 03c2abfa93eacec04721c019644584424aab2ba4dff3ac9bdab4e9c97007491dda-chan#4: Peer permanent failure in ONCHAIN: Funding transaction spent
2023-02-12T07:35:45.089Z INFO 03c2abfa93eacec04721c019644584424aab2ba4dff3ac9bdab4e9c97007491dda-chan#4: State changed from ONCHAIN to FUNDING_SPEND_SEEN
2023-02-12T07:35:45.132Z INFO lightningd: --------------------------------------------------
2023-02-12T07:35:45.132Z INFO lightningd: Server started with public key 03f78b8e3ecbbc6a0e38630ac63634ab4c475417cc867d6d238399591ceddd82a6, alias CROLIGHTNING (color #03f78b) and lightningd v22.11.1
2023-02-12T07:35:45.201Z INFO 03c2abfa93eacec04721c019644584424aab2ba4dff3ac9bdab4e9c97007491dda-chan#4: State changed from FUNDING_SPEND_SEEN to ONCHAIN
2023-02-12T07:35:46.469Z INFO plugin-clboss: DnsSeed: Have 2 seeds.
2023-02-12T07:35:47.679Z INFO plugin-clboss: Connector: connected to 03456853c17774d597493875deebf8b7b6a781ca7a0d0b83bfaf862070f1ba7322@<IP_ADDRESS>:4014
2023-02-12T07:35:47.679Z INFO plugin-clboss: NeedsConnectSolicitor: Connection solicited to: 03456853c17774d597493875deebf8b7b6a781ca7a0d0b83bfaf862070f1ba7322@<IP_ADDRESS>:4014
2023-02-12T07:35:52.071Z INFO plugin-clboss: Connector: connected to 03c5528c628681aa17ab9e117aa3ee6f06c750dfb17df758ecabcd68f1567ad8c1@<IP_ADDRESS>:9735
2023-02-12T07:35:54.963Z INFO 0298f6074a454a1f5345cb2a7c6f9fce206cd0bf675d177cdbf0ca7508dd28852f-chan#13: Peer transient failure in CHANNELD_NORMAL: Disconnected
2023-02-12T07:35:55.609Z INFO 02f4c77dcf12255ccf705c18b8d6b95e4f884910bf61e8aa21242607193a79da1b-chan#3: Peer transient failure in CHANNELD_NORMAL: Disconnected
2023-02-12T07:36:04.446Z INFO plugin-clboss: FeeModderBySize: Computing node sizes for all network nodes: 136273 / 137058
2023-02-12T07:36:04.446Z INFO plugin-clboss: FeeModderBySize: Peer 028cdc8ae3daef07b08c861796eb2c25b217afc2193e23ae15af543094cd6b685f has 13 other peers, 1 of which have less capacity than us, 12 have more. Multiplier: 0.565756
2023-02-12T07:36:04.446Z INFO plugin-clboss: FeeModderBySize: Peer 0380ef0209ff1b46c38a37cd40f613d1dae3eba481a909459d6c1434a0e56e5d8c has 110 other peers, 1 of which have less capacity than us, 109 have more. Multiplier: 0.50756
2023-02-12T07:36:04.446Z INFO plugin-clboss: FeeModderBySize: Peer 02f4c77dcf12255ccf705c18b8d6b95e4f884910bf61e8aa21242607193a79da1b has 189 other peers, 5 of which have less capacity than us, 184 have more. Multiplier: 0.522156
2023-02-12T07:36:04.446Z INFO plugin-clboss: FeeModderBySize: Peer 0298f6074a454a1f5345cb2a7c6f9fce206cd0bf675d177cdbf0ca7508dd28852f has 860 other peers, 81 of which have less capacity than us, 779 have more. Multiplier: 0.58107
2023-02-12T07:36:04.448Z INFO 028cdc8ae3daef07b08c861796eb2c25b217afc2193e23ae15af543094cd6b685f-chan#11: Peer transient failure in CHANNELD_NORMAL: Disconnected
2023-02-12T07:36:05.744Z INFO plugin-clboss: New block at 776157
2023-02-12T07:36:05.744Z UNUSUAL plugin-bookkeeper: Snapshot balance does not equal ondisk reported 29968000msat, off by (+0msat/-0msat) (account wallet) Logging journal entry.
2023-02-12T07:37:13.653Z INFO 0380ef0209ff1b46c38a37cd40f613d1dae3eba481a909459d6c1434a0e56e5d8c-chan#6: Peer transient failure in CHANNELD_NORMAL: Disconnected
2023-02-12T07:42:52.737Z INFO 028cdc8ae3daef07b08c861796eb2c25b217afc2193e23ae15af543094cd6b685f-channeld-chan#11: Peer connection lost
2023-02-12T07:42:52.737Z INFO 028cdc8ae3daef07b08c861796eb2c25b217afc2193e23ae15af543094cd6b685f-chan#11: Peer transient failure in CHANNELD_NORMAL: channeld: Owning subdaemon channeld died (62208)
2023-02-12T07:42:53.699Z INFO 028cdc8ae3daef07b08c861796eb2c25b217afc2193e23ae15af543094cd6b685f-chan#11: Peer transient failure in CHANNELD_NORMAL: Disconnected
2023-02-12T07:45:37.343Z INFO plugin-clboss: New block at 776158
2023-02-12T07:45:46.332Z INFO plugin-clboss: InternetConnectionMonitor: online.
2023-02-12T07:51:38.579Z INFO plugin-clboss: New block at 776159
2023-02-12T07:53:39.540Z INFO plugin-clboss: New block at 776160
2023-02-12T07:55:44.983Z INFO plugin-clboss: InternetConnectionMonitor: online.

There is no reason to double post this, closing as it is a question how to use CLN.


fix(android): crash message handling on client.waitUntilAppIsReady

Description
Resolves #3500.
Notes
Adds a 3rd party dependency to read launch arguments (because seemingly we have it implemented only for Android):
+ "react-native-launch-arguments": "^3.1.0",

🤷♂

Note that this 3rd🥳  dependency isn't taking the launch args from where it should, it takes the process args, see:
https://github.com/iamolegga/react-native-launch-arguments/blob/master/ios/LaunchArguments.m#L23
In order to fetch them on the native side, we should get them from the user defaults:
[NSUserDefaults.standardUserDefaults stringForKey:<launch argument key>];

Well looks like I got it working + stable on Android. On iOS it works but not well enough - the original error message (simulated error ...) isn't reported. @asafkorem could use your advice.


Write a latex paper

@tapaswenipathak  can you provide more information on this? Latex paper can be on any topic?


Provide test for modify and save

currently only opening and check of Kaoto UI is loaded has been provided.
The following iteration should cover modify, save and reload to check that it has been correctly saved.

blocked by https://github.com/SeleniumHQ/selenium/issues/8003 and so https://github.com/w3c/webdriver/issues/1488
other potential workaround:

do not test creation of first step and start with a file having the first step
have the UI implementing other possibilities than DnD

Kaoto Ui is no wproviding other ways than using Drag'n'drop


Need to fix monitor.py

We need to fix monitor.py refactorit.

Module Header: Add a multi-line docstring at the top to describe the file's purpose and author.
Inline Comments: Use # for brief explanations of logic or important lines.
Decorators: Simplify reusable logic for pre-checks (e.g., @login_required).
Error Handling: Wrap critical code in try/except blocks to manage exceptions.
JSON Management: Load and save JSON files using json.load() and json.dump().
Blueprints: Use Flask's Blueprint for modular route organization.


Using sprintf instead of parameterized SQL

Hi @123andy , thanks for your work on this EM. Is there a reason you use sprintf to construct the SQL query instead of using the query method available in the framework? This was one of the things our senior developer pointed out when running a security check on this module (we're hoping to use this module on our instance here at Utah).
Thanks!

I wrote this em before the framework supported the parameterized queries, I think.   I haven't refactored everything to keep up.  You are welcome to submit a pull request with a refactored code using the new parameterize methods.  I do try to use those when I write EMs today.  That said, I think the inputs to those queries are all internally generated through 'trusted' sources and are not susceptible to injection for the most part...  Thanks!

Thanks for your response @123andy - already made the changes for our REDCap instance so happy to create a pull request. I cleaned up the code a bit but here it is: https://github.com/susom/realtime-randomization/pull/4
Thanks again!


How to fix brokenRids while merging database?

I tried to do import few labelled classes from a database to another database. But I get brokenRid error. How can I fix it?

https://github.com/orientechnologies/orientdb/issues/8518


Batch processing fails with message: Cannot read properties of null (reading 'id')

Hi there,
Whenever I attempt to sync my medusa store from shopify I receive an error on the job processing to the effect of:
{
  "errors": [
    "Cannot read properties of null (reading 'id')"
  ],
  "stat_descriptors": [
    {
      "key": "shopify-import-status",
      "name": "Batch being currently processed",
      "message": "The batch batch_01H32DA5871FMK5YP11AAY7EMA is under pre processing"
    }
  ]
}

That error occurs on batches of smart_collections, products and custom_collections.
Do you know what might be the problem please?

Hi SGFGOV, thanks so much for the quick reply!
I believe so, the plugin is certainly able to retrieve data from the shopify store as I can see in the context column that the shopify product data is available.
Would the means of invoking the service cause any issues do you know? I've created a minimal api route that very simply looks like
 const service = req.scope.resolve("postStartupActionService")
 const result = await service.syncWithShopify();
 res.json({ message: result })

Here's a minimal example of the context column from one of the failed jobs:
{
	"path": "products",
	"shopifyData": [{
		"id":<PHONE_NUMBER>235,
		"tags": "tags",
		"image": {
			"id":<PHONE_NUMBER>2139,
			"alt": null,
			"src": "https://cdn.shopify.com/s/files/1/0430/3411/6249/products/a-beast-of-burden-wall-canvas.jpg?v=1620577669",
			"width": 1000,
			"height": 750,
			"position": 1,
			"created_at": "2021-05-09T17:27:49+01:00",
			"product_id":<PHONE_NUMBER>235,
			"updated_at": "2021-05-09T17:27:49+01:00",
			"variant_ids": [],
			"admin_graphql_api_id": "gid://shopify/ProductImage/29626938622139"
		},
		"title": "A Beast of Burden - Canvas Print",
		"handle": "a-beast-of-burden-canvas-print",
		"images": [{
			"id":<PHONE_NUMBER>2139,
			"alt": null,
			"src": "https://cdn.shopify.com/s/files/1/0430/3411/6249/products/a-beast-of-burden-wall-canvas.jpg?v=1620577669",
			"width": 1000,
			"height": 750,
			"position": 1,
			"created_at": "2021-05-09T17:27:49+01:00",
			"product_id":<PHONE_NUMBER>235,
			"updated_at": "2021-05-09T17:27:49+01:00",
			"variant_ids": [],
			"admin_graphql_api_id": "gid://shopify/ProductImage/29626938622139"
		}],
		"status": "active",
		"vendor": "101canvasprints",
		"options": [{
			"id":<PHONE_NUMBER>571,
			"name": "Title",
			"values": [
				"Default Title"
			],
			"position": 1,
			"product_id":<PHONE_NUMBER>235
		}],
		"variants": [{
			"id":<PHONE_NUMBER>4507,
			"sku": "",
			"grams": 0,
			"price": "39.99",
			"title": "Default Title",
			"weight": 0,
			"barcode": "",
			"option1": "Default Title",
			"option2": null,
			"option3": null,
			"taxable": true,
			"image_id": null,
			"position": 1,
			"created_at": "2021-05-09T17:27:47+01:00",
			"product_id":<PHONE_NUMBER>235,
			"updated_at": "2021-05-09T17:38:27+01:00",
			"weight_unit": "lb",
			"compare_at_price": "79.99",
			"inventory_policy": "deny",
			"inventory_item_id":<PHONE_NUMBER>3099,
			"requires_shipping": true,
			"inventory_quantity": 0,
			"presentment_prices": [{
				"price": {
					"amount": "39.99",
					"currency_code": "GBP"
				},
				"compare_at_price": {
					"amount": "79.99",
					"currency_code": "GBP"
				}
			}],
			"fulfillment_service": "manual",
			"admin_graphql_api_id": "gid://shopify/ProductVariant/40209579704507",
			"inventory_management": null,
			"old_inventory_quantity": 0
		}],
		"body_html": "
product description
",
		"created_at": "2021-05-09T17:27:47+01:00",
		"updated_at": "2023-06-16T13:14:44+01:00",
		"product_type": "Canvas",
		"published_at": "2021-05-09T17:27:48+01:00",
		"published_scope": "web",
		"template_suffix": "",
		"admin_graphql_api_id": "gid://shopify/Product/6823811842235"
	}],
	"shopifyImportRequest": {
		"api_key": "<redacted>",
		"store_domain": "<redacted>",
		"auto_create_store": true,
		"default_store_name": "<redacted>"
		"enable_vendor_store": true,
		"medusa_store_admin_email": "<redacted>"
	}
}

same issue.. any update ?

What have you specified as default store name.?.it needs to be thr name of
the store in medusa
Can
On Fri, 16 Jun, 2023, 21:45 Keir Lavelle, @.***> wrote:

Here's a minimal example of the context column from one of the failed jobs:
{
"path": "products",
"shopifyData": [{
"id":<PHONE_NUMBER>235,
"tags": "tags",
"image": {
"id":<PHONE_NUMBER>2139,
"alt": null,
"src": "https://cdn.shopify.com/s/files/1/0430/3411/6249/products/a-beast-of-burden-wall-canvas.jpg?v=1620577669",
"width": 1000,
"height": 750,
"position": 1,
"created_at": "2021-05-09T17:27:49+01:00",
"product_id":<PHONE_NUMBER>235,
"updated_at": "2021-05-09T17:27:49+01:00",
"variant_ids": [],
"admin_graphql_api_id": "gid://shopify/ProductImage/29626938622139"
},
"title": "A Beast of Burden - Canvas Print",
"handle": "a-beast-of-burden-canvas-print",
"images": [{
"id":<PHONE_NUMBER>2139,
"alt": null,
"src": "https://cdn.shopify.com/s/files/1/0430/3411/6249/products/a-beast-of-burden-wall-canvas.jpg?v=1620577669",
"width": 1000,
"height": 750,
"position": 1,
"created_at": "2021-05-09T17:27:49+01:00",
"product_id":<PHONE_NUMBER>235,
"updated_at": "2021-05-09T17:27:49+01:00",
"variant_ids": [],
"admin_graphql_api_id": "gid://shopify/ProductImage/29626938622139"
}],
"status": "active",
"vendor": "101canvasprints",
"options": [{
"id":<PHONE_NUMBER>571,
"name": "Title",
"values": [
"Default Title"
],
"position": 1,
"product_id":<PHONE_NUMBER>235
}],
"variants": [{
"id":<PHONE_NUMBER>4507,
"sku": "",
"grams": 0,
"price": "39.99",
"title": "Default Title",
"weight": 0,
"barcode": "",
"option1": "Default Title",
"option2": null,
"option3": null,
"taxable": true,
"image_id": null,
"position": 1,
"created_at": "2021-05-09T17:27:47+01:00",
"product_id":<PHONE_NUMBER>235,
"updated_at": "2021-05-09T17:38:27+01:00",
"weight_unit": "lb",
"compare_at_price": "79.99",
"inventory_policy": "deny",
"inventory_item_id":<PHONE_NUMBER>3099,
"requires_shipping": true,
"inventory_quantity": 0,
"presentment_prices": [{
"price": {
"amount": "39.99",
"currency_code": "GBP"
},
"compare_at_price": {
"amount": "79.99",
"currency_code": "GBP"
}
}],
"fulfillment_service": "manual",
"admin_graphql_api_id": "gid://shopify/ProductVariant/40209579704507",
"inventory_management": null,
"old_inventory_quantity": 0
}],
"body_html": "product description",
"created_at": "2021-05-09T17:27:47+01:00",
"updated_at": "2023-06-16T13:14:44+01:00",
"product_type": "Canvas",
"published_at": "2021-05-09T17:27:48+01:00",
"published_scope": "web",
"template_suffix": "",
"admin_graphql_api_id": "gid://shopify/Product/6823811842235"
}],
"shopifyImportRequest": {
"api_key": "",
"store_domain": "",
"auto_create_store": true,
"default_store_name": ""
"enable_vendor_store": true,
"medusa_store_admin_email": ""
}
}
—
Reply to this email directly, view it on GitHub
https://github.com/SGFGOV/medusa-plugin-shopify-ts/issues/4#issuecomment-1594932973,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXEQJHFBENGOGFAW64L4PN3XLSBDVANCNFSM6AAAAAAZJN75VY
.
You are receiving this because you commented.Message ID:
@.***>

--
This message (including any attachments) may contain confidential,
proprietary, privileged and/or private
information. The information is
intended to be for the use of the individual or entity designated above. If
you are not the intended recipient of this message, please notify the
sender immediately, and delete the
message and any attachments. Any
disclosure, reproduction, distribution or other use of this message or
any
attachments by an individual or entity other than the intended recipient is
prohibited.

Receiving the same errors. Sometimes it works, sometimes it doesn't - seems random to me. Configuration is correct.


Implement Clickhouse containers for JDBC (mysql/Yandex) and Mysql-binary-access

Why ?
The current implementation of the Clickhouse-Container only supports the Yandex-JDBC-driver and enforces it to be on the classpath.
It also doesn't export trhe MYSQL-port available in Clickhouse.
The base image includedd is also relying on an old version of Clickhouse that was missing some compatibility fixes for the MySQL-JDBC-driver.
Since I also wanted to test the Vert.x MySQL-driver against Clickhouse I needed to fix these things.
What ?
This PR provides the following things:

ClickHouseContainerJdbcMysql for using the MySQL-JDBC-driver (relys on the MySQL-port being exposed and the driver being on the classpath)
ClickHouseContainerJdbcYandex for using hte Yandeex-JDBC-driver (relys on the HTTP-port being exposed and the driver being on the classpath)
ClickHouseContainer for accessing the HTTP and MYSQL-ports without having to rely on the presence of one of the JDBC-drivers

@codepitbull after reviewing the PR, I got a feeling that it can be done in a much easier way. We could keep the original ClickHouseContainer and have a couple of "proxy" classes that will take ClickHouseContainer as an argument and implement the required methods.
The getJdbcUrl() can either be overloaded with enum Flavor {MYSQL,CLICKHOUSE} or we could add getMySQLJdbcUrl() or similar method.
This way we can dramatically reduce the size of this PR, avoid breaking changes and keep it simple (eg no need for ClickHouseInit at all). WDYT?

Hey @codepitbull, sorry for taking our time with this PR.
PR looks pretty good, just having some general remarks. I was wondering if the 3 different classes like this are really necessary, or if we couldn't just use a single class and its type configurable (with the type just resulting in a different value for driverClassName after all). But maybe I am missing something, I have no experience with Clickhouse and look at it purely from the Testcontainers perspective.

@kiview see my answer in the other thread:
Short version:
ClickHouseContainer is using the raw protocols and should not rely on having a JDBC-driver on the classpath.
For the other two it's a question of style and I will rework it as you need it. My personal opinion on this is that I prefer separate classes because they rely on different JDBC-drivers. I am not a huge fan to have this configurable, that's why I moved all shared code into AbstractClickHouseContainerJdbc.

@codepitbull after reviewing the PR, I got a feeling that it can be done in a much easier way. We could keep the original ClickHouseContainer and have a couple of "proxy" classes that will take ClickHouseContainer as an argument and implement the required methods.
The getJdbcUrl() can either be overloaded with enum Flavor {MYSQL,CLICKHOUSE} or we could add getMySQLJdbcUrl() or similar method.
This way we can dramatically reduce the size of this PR, avoid breaking changes and keep it simple (eg no need for ClickHouseInit at all). WDYT?

Should be possible, but it will take a while until I get to this.


Password entry field doesn't work (Mac)

When I run the YubiKey Personalization Tool, I select "Static Password" tab, then "Scan Code" button, then select the "Configuration Slot 2" radio button.  The text entry field to the right of "Password" in the "Password" section is non-responsive.  When I click on it, it doesn't get a blue outline like text entry fields in other tabs, there is no cursor in the box, and when I type keys or try to paste via Cmd-V or mouse, nothing happens.
The outcome is that I cannot set the static password for my YubiKey, because I cannot enter a password.
If I hit the Tab key in that tab, the blue highlight around the "Program Multiple YubiKeys" checkbox toggles on and off, but no other controls appear to highlight.
It appears that the "Private Identity" and "Secret Key" text entry fields in the "Yubico OTP" tab don't work either, but I didn't play with them as much.  Text entry fields in other tabs work as expected.
I am running a Mac.  I installed Personalization Tool from the App Store today.  From the About tab:
Application Version: 3.1.23
Library Version: 1.17.2
I am running OS X El Capitan, version 10.11.2 (15C50) on a MacBook Pro (Retina, 13-inch, Early 2015).  I have an external monitor, and the same thing happens whether I have the window on the internal display, external display, or if I unplug the external display and re-run on the internal display only.  The computer is new and doesn't have any weird extensions installed.
The YubiKey is a Neo running firmware 3.4.3.

Same behavior on a MacBook (13-inch, Late 2009) running OS X Yosemite 10.10.5 (14F1509), with both the Neo and an Edge (firmware 4.1.6).

To activate the password box in scancode mode you have to select a keyboard layout to the right.
For the OTP quick configuration the boxes are also disabled (though I must confess that I don't really understand why).

D'oh!  I played with the keyboard layout selector, but apparently not enough to notice that it enabled the password entry field.  Thanks, that works.
I would still leave this issue open as a ticket to improve the UI.  There could be a label that says "Select keyboard layout, then enter password".
I also didn't find the keyboard layout step in the docs, https://www.yubico.com/wp-content/uploads/2012/10/Cross-Platform-YubiKey-Personalization-Tool-3.0.1-User-guide-v5.pdf , but I see that it's a little old and documents a version without the keyboard layout anyway.
Thanks again for getting me going!

We'll be updating the Personalization Tool user docs in the not-too-distant future. If you want to open a new issue against the docs, I'll assign it to me (and I'm sure Klas wouldn't mind). I don't have a date yet  but it should be within this quarter as those docs are very outdated! Would that work for you, Peter?


[BUG] fix to make / rshared for windows and ubuntu

What
Add an ExecAction for the k3d-entrypoint-mounts.sh.
Why

fix : #1301

Implications

@all-contributors please add @1aal for ideas and code

That's my error that not use the ENV K3D_FIX_MOUNTS


AP Name is not initialised

Hello ,
i use a ESP8266 - ESP12f
Old AP appear (of my old programm) so where should i change value of it ?
Thanks

@Stephan35 First time you have to upload this code to your ESP via serial port

thanks, i make a mistake with password, 8 char minimum !!!
Sorry for disturbing , i have to  RTFM ;-)
Now ESP have ESP_XXXX AP name .


Blog post idea: Setting up and running Hubot in a non-Heroku server.

Hubot makes it incredibly easy to setup on a Heroku server, by using git push heroku master because of its Procfile. Given that foreman doesn't like background processes (https://github.com/ddollar/foreman/issues/65), you need to use monit, systemd or tmux to manage your hubot process.

PR for this idea: https://github.com/ombulabs/blog.ombulabs.com/pull/54


fix(parser):move mysql fix to oceanbase

Task Description
The previous bug fixes were done on MySQL, and a similar issue exists in Oceanbase, now the MySQL fixes are migrated to the OceanBase section.

https://github.com/oceanbase/sql-lifecycle-management/issues/94
https://github.com/oceanbase/sql-lifecycle-management/issues/90
https://github.com/oceanbase/sql-lifecycle-management/issues/88
https://github.com/oceanbase/sql-lifecycle-management/issues/33

Solution Description
copy mysql parser code change to oceanbase parser and fix some bug which appear after code move

LGTM


Proof of concept: let device config files override the interview for specific CCs

This is a proof of concept of a general purpose mechanism to allow device config files to work around invalid information supplied by devices.  It introduces a new config flag "commandClasses.interview" that when present causes the node to skip the interview for a given CC and endpoint and to store the supplied values into the valueDB.
This set of patches includes a configuration file that has a rather absurd number of bugs including off-by-one errors in the thermostat setpoint bitmap and some quirks with the setpoint scale.  These changes completely resolve #4588.
Let me know what you think!
fixes: https://github.com/zwave-js/node-zwave-js/issues/1625

Incidentally, another approach I considered instead of using compat flags to set internal values was to add a compat flags to rewrite requests or responses from the nodes.  e.g. When preparing to send command XYZ to the node, rewrite it as ABC.  Or, instead of actually sending XYZ, use this simulated response DEF.
The problem with rewriting messages is that we'd have to come up with some vocabulary for expressing messages and rewrite rules in device config files. Messages could be expressed as hex strings but that's not very user friendly or flexible. Rules could be expressed using a template processing language but that might be overkill. And we can't just reuse the existing CC serialization with reflection to make JSON objects to compare and rewrite because there are side-effects in the CC constructors (especially reports).
So at least for now, it seems better to solve the problem in a different way.  shrug

The problem with rewriting messages is that we'd have to come up with some syntax for expressing messages and rewrite rules in device config files. Messages could be expressed as hex strings but that's not very user friendly or flexible. Rules could be expressed using a template processing language but that might be overkill.

A "nicer" way would probably be hooking into the API calls via compat flags, e.g. by stating what a call to ThermostatSetpointCCAPI.getSupported returns. But that still has the downside that some of the information is stored as a side effect of the constructor, which would need to be refactored to be done in a different location.
Side note: I'm currently in the process of a huge refactor which will remove the hard coupling between CC / Message classes and the driver instance. Once that is done, this approach will be much simpler to implement.
I'm fine with either approach. The one followed in this PR can be more fine-grained, but is more verbose.
Replacing the API calls is currently blocked by https://github.com/zwave-js/node-zwave-js/pull/4614 (or probably another PR I'll cherry-pick out of that soon)

@j9brown I finally went forward with the approach I mentioned in my last comment here --> https://github.com/zwave-js/node-zwave-js/pull/5987
The device-specific fixes you did here are now tracked in https://github.com/zwave-js/node-zwave-js/issues/5990


Support rustls as an alternative TLS backend

Resolves #575.

Was a different error, sqlx-cli was using the old feature. I guess maybe I should also not trigger the "runtime has to be selected" error when one of the old ones is activated, it seems like that doesn't necessarily trigger the first compile_error! that matches the configuration.

I moved some ground work to #740, now pushed just a very minimal commit that should only update cargo features (it noticably doesn't touch Cargo.lock) and hoping that will succeed in CI. Really no idea why it failed before..

Hey, I made it work... Somehow?? It does seem a bit like a lockfile update was the cause for the previous breakage, so I'll open a separate PR for just cargo update to see whether that makes tests fail.

Ah, so there is some postgres & mysql specific TLS code. Only tested with sqlite locally.

Pushed all new preliminary refactorings separately from the rustls commit again to have CI verify them in isolation.

So it was a dependency thing afterall! I think I should leave the cargo update commit in then (could also revert the async-std update, later realized it wasn't necessary), so nobody else has issues with this in their PR after this is merged.

So this added 45 new CI jobs to the existing 49... Should probably revisit testing every possible runtime, tls backend, database (version) :sweat_smile:

Ah, so some tests rely on certificate validation being optional. I'll wait for feedback before playing around and wasting more CI time..

With @BlackHoleFox'es changes integrated, this now passes all 94 CI jobs :tada: :sweat_smile:
@abonander Thoughts on the large increase in CI jobs?

For the record, I'm not a huge fan of the combinatorial explosion of jobs here. At least we're not footing the bill for CI, eh?
@jplatte looks like this needs a rebase though.

Can we perhaps mark a good chunk of the CI jobs here as "non-required" or something and only run them on master ?

I love the capability added here. Great work @jplatte. I really wish we could do this with feature pairs in Cargo e.g., sqlx = { features = [ "runtime-async-std", "tls-native" ] }.
Though I think that might be served with something more suited for mutual exclusion, e.g., sqlx = { options = { "runtime": "async-std", "tls": "native-tls" } }.
Would be an interesting thing to add to Cargo. That's not relevant to this PR though.

Can we perhaps mark a good chunk of the CI jobs here as "non-required" or something and only run them on master ?

Sure. Check runs pretty fast, so that can probably be run always. What about only running one version of each database for PRs?

I was reading this with an interest, could it solve the issue of connecting to SQL Server from macOS platforms, where Apple's Security Framework doesn't allow the short keys Microsoft uses in the server. We have trouble doing TLS connections in Tiberius with native-tls on macOS, but it seems there's no TLS for the Microsoft database yet in SQLx...

I've tried but can't figure out how to skip some runtime tests run on pull requests (without duplicating jobs). I guess using one of those weird YAML features to copy stuff around like GitLab encourages for CI jobs IIRC could work, but I haven't seen anybody do that with Actions. Ideas?

@pimeys I'm here hoping the same thing.  My team is currently blocked on MacOS because of the use of native-tls

Thanks for all the work here. We need to revisit CI but let's not keep blocking on that.

Merged on the command line: https://github.com/launchbadge/sqlx/commit/1ed75ba5f03ad9e4ee04ffd362c8bda2b4857562


🚢 Ship 1.0.2

Added

Added information on README for including LaTeX + highlight.js styles

Changed

Split test cases into individual plugin test files
Utilize Vue's Compositions API for the component

Fixed

Syntax highlighting indentation issues #14

Removed

Omitted the production library folder
Omitted the includes for LaTeX + highlight.js styles
dedent dependency
highlight.js dependency

Codecov Report

Merging #17 into master will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master       #17   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            1         1
  Lines           34        14   -20
=========================================
- Hits            34        14   -20

Impacted Files
Coverage Δ

src/vue-markdown-it.js
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


Add (vaffle-chdir)

I want a simple way to change the current directory to the path vaffle buffer shows :)

Thank you for the pull request!
I think the feature is nice, but need to consider its name. Maybe -chdir means 'change directory', but the actual feature is 'changing working directory to the current directory'.
I'm concerned some users expect vaffle#chdir('somedir') shows contents in the specified directory.
What do you think about this?

Hmm, vaffle-cd-to-current? (ugly?)
And I changed vaffle#chdir() accepts path optional argument.

I changed to <Plug>(vaffle-chdir-current).

I still wonder what name is appropriate.. changed to <Plug>(vaffle-chdir-to-here).

Thank you for merging 😄


Not working with editorjs-table, empty rows are deleted

Description
Undo deletes empty rows on a Table
Environment

Editor.js version: @editorjs/editorjs(^2.22.2)
Plugins you use with their versions: editorjs-undo(^1.0.1) editorjs-table(^1.4.10)
Device, Browser, OS: MacBook Pro 2019, Chrome, macOS 12.1

Current behavior
Adding table, enter some content

Then Ctrl + Z

Expected behavior
Only remove the text that was entered
Additional context
My Application is currently available here:

live app
source

@Frank-Mayer Hi there!
Thanks a lot for report the issue, however this issue is not related with editorjs-undo, it is related with editorjs-table. Basically, editorjs-table does not save empty rows, for example if you have:

the saved table will be stored as follows:

And editorjs-undo works with the saved data way, I recommend you to report this issue in editorjs-table, asking to save empty rows, in this way it will woks as expected.
Best,
Mario


Unsupported url https://vidlox.tv/g0uz8j5sblro

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like this: [x])
Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2019.04.07. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

[X ] I've verified and I assure that I'm running youtube-dl 2019.04.07

Before submitting an issue make sure you have:

[X ] At least skimmed through the README, most notably the FAQ and BUGS sections
[X ] Searched the bugtracker for similar issues including closed ones
[X ] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

[ ] Bug report (encountered problems with youtube-dl)
[X ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'http://www.youtube.com/watch?v=BaW_jenozKcj']
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2019.04.07
[debug] Python version 2.7.11 - Windows-2003Server-5.2.3790-SP2
[debug] exe versions: ffmpeg N-75573-g1d0487f, ffprobe N-75573-g1d0487f, rtmpdump 2.4
[debug] Proxy map: {}
...
<end of log>

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

Single video: https://www.youtube.com/watch?v=BaW_jenozKc
Single video: https://youtu.be/BaW_jenozKc
Playlist: https://www.youtube.com/playlist?list=PL4lCao7KL_QFVb7Iudeipvc2BCavECqzc

Note that youtube-dl does not support sites dedicated to copyright infringement. In order for site support request to be accepted all provided example URLs should not violate any copyrights.

Description of your issue, suggested solution and other information
Explanation of your issue in arbitrary form goes here. Please make sure the description is worded well enough to be understood. Provide as much context and examples as possible.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
Request to support downloads from https://vidlox.tv/g0uz8j5sblro.
At present these do not work.

Sorry, I missed the detailed log - it is here:
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'https://vidlox.tv/g0uz8j5sblro']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.04.07
[debug] Python version 2.7.15rc1 (CPython) - Linux-4.15.0-47-generic-x86_64-with-Ubuntu-18.04-bionic
[debug] exe versions: ffmpeg 3.4.4, ffprobe 3.4.4
[debug] Proxy map: {}
[generic] g0uz8j5sblro: Requesting header
WARNING: Falling back on generic information extractor.
[generic] g0uz8j5sblro: Downloading webpage
[generic] g0uz8j5sblro: Extracting information
ERROR: Unsupported URL: https://vidlox.tv/g0uz8j5sblro
Traceback (most recent call last):
  File "/home/admar/bin/youtube-dl/youtube_dl/extractor/generic.py", line 2337, in _real_extract
    doc = compat_etree_fromstring(webpage.encode('utf-8'))
  File "/home/admar/bin/youtube-dl/youtube_dl/compat.py", line 2551, in compat_etree_fromstring
    doc = _XML(text, parser=etree.XMLParser(target=_TreeBuilder(element_factory=_element_factory)))
  File "/home/admar/bin/youtube-dl/youtube_dl/compat.py", line 2540, in _XML
    parser.feed(text)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1659, in feed
    self._raiseerror(v)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1523, in _raiseerror
    raise err
ParseError: not well-formed (invalid token): line 6, column 11
Traceback (most recent call last):
  File "/home/admar/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 796, in extract_info
    ie_result = ie.extract(url)
  File "/home/admar/bin/youtube-dl/youtube_dl/extractor/common.py", line 529, in extract
    ie_result = self._real_extract(url)
  File "/home/admar/bin/youtube-dl/youtube_dl/extractor/generic.py", line 3320, in _real_extract
    raise UnsupportedError(url)
UnsupportedError: Unsupported URL: https://vidlox.tv/g0uz8j5sblro```


Fix multiple validations  (validator pipeline + test)

Versions:

VueJs: 2.3.4
Vee-Validate: 2.0.0-rc7

Description:

In commit 7dc8e740db06a8f8f1244652b560fefc8c41cdb7 a test was added to check that validations of multiple rules are correct:

test('it can hold handle mixed successes and errors from one field', async () => {
  const v = new Validator({
    name: 'alpha|'min:3
  }, { fastExit: false });
  expect(await v.validate('name', '123')).toBe(false);
  expect(v.errorBag.count()).toBe(1);
});

The test is not complete because it does not check a case where the first rule pass but the following rule/s fail.

Fixed validator pipeline code to address the issue above where it would return true if first validation passed but following failed in fastExit mode.

Steps To Reproduce:
Run the new test in my commit without the fix to the validator pipeline to see the test failing.

Thanks for taking care of this, much appreciated.


Access page information in mdt-custom-cell

Is it possible to get the page and pageSize in a mdt-custom-cell? My goal is add a custom delete button for every row in the table:
<mdt-custom-cell column-key="actions">

</mdt-custom-cell>

and i want the user to stay on the same page after deletion/on error message.

Why do you need the page and page size? If you need to delete the item from the server, you could just use a unique identifier for your data and make the deletion by this id.


WIP: Add overlay cleanup

Updates overlay remove to simply remove the reference and adds a cleanup method for discarding the directory. Updates snapshot create to setup the directory structure while in the transaction to prevent cleanup from removing directories which are part of a create.
This effectively adds a 3rd phase to the garbage collection which completes all the on disk snapshot cleanup. During this disk cleanup the snapshotter will be unlocked to allow for the management of snapshots. The garbage collection scheduler will still wait for the completion of this 3rd phase, however it will not consider it when calculating pause time.
Marking as WIP, still considering whether Remove should have an option for making the remove asynchronous. @tonistiigi has expressed concern over the API not having guaranteed behavior, in this case to use the overlay snapshotter directly, the snapshotter would have to be cast in order to actually remove disk content.

Codecov Report

Merging #1833 into master will decrease coverage by 0.29%.
The diff coverage is 20.23%.

@@            Coverage Diff            @@
##           master    #1833     +/-   ##
=========================================
- Coverage   49.17%   48.87%   -0.3%
=========================================
  Files          86       86
  Lines        8518     8562     +44
=========================================
- Hits         4189     4185      -4
- Misses       3659     3708     +49
+ Partials      670      669      -1

Flag
Coverage Δ

#linux
48.97% <20.23%> (-0.31%)
:arrow_down:

#windows
44.15% <10%> (-0.11%)
:arrow_down:

Impacted Files
Coverage Δ

snapshot/storage/bolt.go
59.71% <0%> (-2.18%)
:arrow_down:

snapshot/overlay/overlay.go
43.09% <23.43%> (-5.8%)
:arrow_down:

metadata/snapshot.go
50.09% <40%> (-0.19%)
:arrow_down:

Continue to review full report at Codecov.

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

the API not having guaranteed behavior, in this case to use the overlay snapshotter directly, the snapshotter would have to be cast in order to actually remove disk content.

Is extending the API to include Cleanup() not an option?

Remove WIP tag, added options to for configuring the snapshotter, but the registered plugin will use the asynchronous mode

LGTM

Discussed the possibility with @tonistiigi of also running the cleanup in NewSnapshotter to handle cases where an unclean shutdown occurred which resulted in directory being created for a new id, but the transaction for that new id not being created. This is a classic two phase commit problem, here we could easily clean up on startup using the new function though. The problem with waiting for GC to do this is that GC may run after the API has become a available and failures may happen before then attempting to use the ID which failed creation.

LGTM


'Recent Activity' tab picture issue in profile page

How can I delete that point?

We just need to add list-style: none. Here is the PR https://github.com/puikinsh/gentelella/pull/144


Error while building rocALUTION for rocm5.1.x

Hi,
I am trying to build rocm5.1 from source, and this time I am blocked by a build error in rocALUTION.
Below is the build error. Here is the version I am using
ubuntu@cdp-rocmbuild:~/rocm-from-source/build/rocALUTION$ git log
commit 7c8611fd4e86fcfb7a73f2cb14c4a5f43db87765 (HEAD, tag: rocm-5.1.1, tag: rocm-5.1.0, rocm-swplat/release/rocm-rel-5.1, m/roc-5.1.x)

Installing rocALUTION ..
mkdir: cannot create directory ‘build’: File exists
Running command cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/opt/rocm-dev2  -DCMAKE_CXX_COMPILER=hipcc -DAMDGPU_TARGETS=gfx908 -DBUILD_CLIENTS_SAMPLES=OFF -DCMAKE_MODULE_PATH=/opt/rocm-dev2/hip/cmake;/opt/rocm-dev2 ..
-- Could NOT find OpenMP_CXX (missing: OpenMP_CXX_FLAGS OpenMP_CXX_LIB_NAMES)
-- Could NOT find OpenMP (missing: OpenMP_CXX_FOUND)
-- OpenMP not found. Compiling WITHOUT OpenMP support.
-- Checking for module 'mpi-cxx'
--   No package 'mpi-cxx' found
-- Could NOT find MPI_CXX (missing: MPI_CXX_LIB_NAMES MPI_CXX_HEADER_DIR MPI_CXX_WORKS)
-- Could NOT find MPI (missing: MPI_CXX_FOUND)
-- MPI not found. Compiling WITHOUT MPI support.
-- Found HIP: /opt/rocm-dev2/hip (found version "5.1.20531-")
-- hip::amdhip64 is SHARED_LIBRARY
-- hip::amdhip64 is SHARED_LIBRARY
-- hip::amdhip64 is SHARED_LIBRARY
-- hip::amdhip64 is SHARED_LIBRARY
CMake Warning at /opt/rocm-dev2/share/rocm/cmake/ROCMUtilities.cmake:50 (message):
  Could not determine the version of program rpmbuild.
Call Stack (most recent call first):
  /opt/rocm-dev2/share/rocm/cmake/ROCMCreatePackage.cmake:284 (rocm_find_program_version)
  src/CMakeLists.txt:221 (rocm_create_package)

INFOrocm_set_cpack_gen didn't find ROCM_PKGTYPE in environment
-- Configuring done
-- Generating done
-- Build files have been written to: /home/ubuntu/rocm-from-source/build/rocALUTION/build
Running command make -j 8 install
[  1%] Building HIPCC object src/CMakeFiles/rocalution_hip.dir/base/hip/rocalution_hip_generated_hip_vector.cpp.o
[  2%] Building HIPCC object src/CMakeFiles/rocalution_hip.dir/base/hip/rocalution_hip_generated_backend_hip.cpp.o
[  3%] Building HIPCC object src/CMakeFiles/rocalution_hip.dir/base/hip/rocalution_hip_generated_hip_allocate_free.cpp.o
[  5%] Building HIPCC object src/CMakeFiles/rocalution_hip.dir/base/hip/rocalution_hip_generated_hip_conversion.cpp.o
[  6%] Building HIPCC object src/CMakeFiles/rocalution_hip.dir/base/hip/rocalution_hip_generated_hip_blas.cpp.o
[  7%] Building HIPCC object src/CMakeFiles/rocalution_hip.dir/base/hip/rocalution_hip_generated_hip_matrix_bcsr.cpp.o
[  8%] Building HIPCC object src/CMakeFiles/rocalution_hip.dir/base/hip/rocalution_hip_generated_hip_matrix_csr.cpp.o
[ 10%] Building HIPCC object src/CMakeFiles/rocalution_hip.dir/base/hip/rocalution_hip_generated_hip_matrix_coo.cpp.o
[ 11%] Building HIPCC object src/CMakeFiles/rocalution_hip.dir/base/hip/rocalution_hip_generated_hip_matrix_dense.cpp.o
[ 12%] Building HIPCC object src/CMakeFiles/rocalution_hip.dir/base/hip/rocalution_hip_generated_hip_matrix_dia.cpp.o
In file included from /home/ubuntu/rocm-from-source/build/rocALUTION/src/base/hip/hip_matrix_csr.cpp:53:
/home/ubuntu/rocm-from-source/build/rocALUTION/src/base/hip/hip_kernels_csr.hpp:53:33: error: invalid operands to binary expression ('std::complex<double>' and 'std::complex<double>')
                val[aj] = alpha * val[aj];
                          ~~~~~ ^ ~~~~~~~
/home/ubuntu/rocm-from-source/build/rocALUTION/src/base/hip/hip_matrix_csr.cpp:2880:33: note: in instantiation of function template specialization 'rocalution::kernel_csr_scale_diagonal<std::complex<double>, int>' requested here
            hipLaunchKernelGGL((kernel_csr_scale_diagonal<ValueType, int>),
                                ^
/opt/rocm-dev2/hip/include/hip/amd_detail/amd_hip_runtime.h:349:15: note: candidate function not viable: no known conversion from 'std::complex<double>' to '__HIP_Coordinates<__HIP_GridDim>::__X' for 1st argument
std::uint32_t operator*(__HIP_Coordinates<__HIP_GridDim>::__X,
              ^
/opt/rocm-dev2/hip/include/hip/amd_detail/amd_hip_runtime.h:355:15: note: candidate function not viable: no known conversion from 'std::complex<double>' to '__HIP_Coordinates<__HIP_BlockDim>::__X' for 1st argument
std::uint32_t operator*(__HIP_Coordinates<__HIP_BlockDim>::__X,
              ^
/opt/rocm-dev2/hip/include/hip/amd_detail/amd_hip_runtime.h:361:15: note: candidate function not viable: no known conversion from 'std::complex<double>' to '__HIP_Coordinates<__HIP_GridDim>::__Y' for 1st argument
std::uint32_t operator*(__HIP_Coordinates<__HIP_GridDim>::__Y,
              ^
/opt/rocm-dev2/hip/include/hip/amd_detail/amd_hip_runtime.h:367:15: note: candidat

Looks like an issue with your environment. Can you compile other rocm libraries successfully?

-- Found HIP: /opt/rocm-dev2/hip (found version "5.1.20531-")

That version number looks like it may suffer from the problem described in https://github.com/ROCm-Developer-Tools/HIP/pull/2218.

@ntrost57 Thanks for helping me with this one. What makes you think so? I have managed to build several other ROCm libraries (using hipcc) with no issue; for instance, rocRAND, rocSPARSE, rocSOLVER. On the other hand, I am having issues with rocFFT as well but again it seems a programming error to me.
May be some CMake option I am missing? It would be very helpful if you could you share with me the CMake options you use to build this library :)
@cgmb Thank you Cory for your prompt help, once again! I took note of that patch and added it to my build process.

I can't use the install script because of the reasons listed in this other similar issue. But I went through your install script and I believe that the issue is the option
[line 21]   echo "    [--host] build library for host backend only"

Might be that ${build_host} is set to true in your testing and then the code
 # HIP / Host only
  if [[ "${build_host}" == true ]]; then
    cmake_common_options="${cmake_common_options} -DSUPPORT_HIP=OFF"
  else
    cmake_common_options="${cmake_common_options} -DSUPPORT_HIP=ON"
  fi

disables HIP support? Then you wouldn't compile the above code that gives me error.
To confirm this, i will try to compile with -DSUPPORT_HIP=OFF. But what are the implications? The code will only run on CPU right?

We are testing for both, host and device build. If you compile with -DSUPPORT_HIP=OFF the code will only run on CPU.
I am not able to reproduce the error you see, using rocm-5.1.1 with posted commit id running the given cmake command on Ubuntu 20.04.

@ntrost57 would you post your cmake configuration here? I have noticed that my version of hip is 5.1.2xx, you might be using 5.1.1? To obtain the rocm repositories i followed the instructions in your website and used the repo command. It checked out the branch 5.1.x of the rocm repository, where instructions to download all repositories are stored. So i might be using a newer version of hip than you. I am not on my laptop now, but I'll post the exact version (commit hash) of hip I am using, maybe the bug is there

I have been using HIP 5.1.20531-cacfa990 (rocm-5.1.1) what is exactly what you pasted in the logs.
You can use the rocm/dev-ubuntu-20.04:latest docker image for a clean rocm-5.1.1 installation. After installing rocsparse, rocblas, rocprim and rocrand, you should be able to successfully build rocalution.

@ntrost57 that is very interesting. I am currently using a VM to try the build but ultimately I need to install ROCm on a supercomputer, so I would like to avoid containers. Coming back to the error I get, looks like the problem is that the * operator is called on two object of std::complex<double>. The overloaded function to handle this operation is defined in the standard library and is host code that can't be called within a kernel unless it has been redefined to have also the __device__ attribute. So it seems you have such definition in your HIP installation, and I don't. I will dig more into it, hopefully I will find a way to solve this.

Ran into the same issue with 5.1.3. Wrote this workaround:
diff --git a/src/base/hip/hip_vector.hpp b/src/base/hip/hip_vector.hpp
index 0444528..a432359 100644
--- a/src/base/hip/hip_vector.hpp
+++ b/src/base/hip/hip_vector.hpp
@@ -30,11 +30,77 @@
 #include "../base_vector.hpp"

 #include <hip/hip_runtime.h>
+#include <hip/amd_detail/amd_hip_complex.h>

 #include <complex>

 #include "hip_rand.hpp"

+#if defined(__HIPCC_RTC__)
+#define __HOST_DEVICE__ __device__
+#else
+#define __HOST_DEVICE__ __host__ __device__
+#endif // !defined(__HIPCC_RTC__)
+
+// Gotta put these somewhere
+__HOST_DEVICE__ inline std::complex<float> operator+(const std::complex<float> a, const std::complex<float> b)
+{
+    auto ahip = make_hipFloatComplex(a.real(), a.imag());
+    auto bhip = make_hipFloatComplex(b.real(), b.imag());
+    auto res = a+b;
+    return res;
+}
+__HOST_DEVICE__ inline std::complex<float> operator-(const std::complex<float> a, const std::complex<float> b)
+{
+    auto ahip = make_hipFloatComplex(a.real(), a.imag());
+    auto bhip = make_hipFloatComplex(b.real(), b.imag());
+    auto res = a-b;
+    return res;
+}
+__HOST_DEVICE__ inline std::complex<float> operator*(const std::complex<float> a, const std::complex<float> b)
+{
+    auto ahip = make_hipFloatComplex(a.real(), a.imag());
+    auto bhip = make_hipFloatComplex(b.real(), b.imag());
+    auto res = a*b;
+    return res;
+}
+__HOST_DEVICE__ inline std::complex<float> operator/(const std::complex<float> a, const std::complex<float> b)
+{
+    auto ahip = make_hipFloatComplex(a.real(), a.imag());
+    auto bhip = make_hipFloatComplex(b.real(), b.imag());
+    auto res = a/b;
+    return res;
+}
+
+__HOST_DEVICE__ inline std::complex<double> operator+(const std::complex<double> a, const std::complex<double> b)
+{
+    auto ahip = make_hipDoubleComplex(a.real(), a.imag());
+    auto bhip = make_hipDoubleComplex(b.real(), b.imag());
+    auto res = a+b;
+    return res;
+}
+__HOST_DEVICE__ inline std::complex<double> operator-(const std::complex<double> a, const std::complex<double> b)
+{
+    auto ahip = make_hipDoubleComplex(a.real(), a.imag());
+    auto bhip = make_hipDoubleComplex(b.real(), b.imag());
+    auto res = a-b;
+    return res;
+}
+__HOST_DEVICE__ inline std::complex<double> operator*(const std::complex<double> a, const std::complex<double> b)
+{
+    auto ahip = make_hipDoubleComplex(a.real(), a.imag());
+    auto bhip = make_hipDoubleComplex(b.real(), b.imag());
+    auto res = a*b;
+    return res;
+}
+__HOST_DEVICE__ inline std::complex<double> operator/(const std::complex<double> a, const std::complex<double> b)
+{
+    auto ahip = make_hipDoubleComplex(a.real(), a.imag());
+    auto bhip = make_hipDoubleComplex(b.real(), b.imag());
+    auto res = a/b;
+    return res;
+}
+
 namespace rocalution
 {
     template <typename ValueType>

Aaand now I'm realizing what I wrote doesn't even use the converted ahip = .... Hm but it does compile though

Thanks for your input @stepannassyr. Indeed it is very strange, to be honest looks like a recursive definition that never ends.. so not sure it will work at runtime. I think there is definitely an issue somewhere in rocm..

This issue is not present anymore in ROCm 5.2, although I found another one in rocALUTION/src/solvers/multigrid/ruge_stueben_amg.hpp:
#if defined(WIN32) || defined(_WIN32) || defined(__WIN32)
#else
        [[deprecated("This function will be removed in a future release. Use "
                     "SetStrengthThreshold() instead")]]
#endif

Had to remove the code in the else block because it wouldnt compile.

Hello @dipietrantonio.  As the original issue is resolved, I am closing this issue.
The new comment about ruge_stueben_amg.hpp is copied to a new issue (https://github.com/ROCmSoftwarePlatform/rocALUTION/issues/151).


Adding ignore_eos flag to use in generation

What does this PR do?

Fixes # (issue)
Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[ ] Did you make sure to update the documentation with your changes?
[ ] Did you write any new necessary tests?

@regisss Please review the PR for ignore_eos flag

@regisss Can we merge this?

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


Incognito payouts

User story
As an expense submitter, I want to have the option to protect my privacy, while still having the budget be transparent.
Best solution for this problem
Incognito option for payouts, similar to incognito for financial contributions - the pay to profile displays 'incognito' but the admins can still see the actual submitter profile info. This would be a tickbox option when submitting an expense. This way people will still be able to see what the budget is paying for but not necessarily who.
MVP
Right now you can approximate this by creating a pseudonym profile, but most users don't know about this and it's not easy for them. I can't think of an MVP option that would as straightforward and accessible as incognito.
This is important for Collectives supporting sensitive things, which are a growing demographic (e.g. mutual aid groups, a family event group we just had sign up in NZ).

We could make the Incognito profile available in the Payee select. The main issue with that is about tax form, we would need to consider the incognito profile when checking for the tax form status of a user.

This is becoming more important because we have a lot of mutual aid groups in Foundation funding sensitive expenses.

+1 for this to be implemented.
Even just making a clear distinction labeling the input boxes as:
'Display Name' (This will be publicly displayed)
and then a place for 'Legal Name' (For Tax Purposes)

+1 – this recently came up for our project when a trans payee thought they had to input their legal / dead name for sign-up (because they’re only on the platform to submit invoices/expenses), and now the expenses list is displaying their dead name publicly.

Problem, some people are expecting the opposite and based on their feedback, we had to make sure this is the way it is today.

Problem, some people are expecting the opposite and based on their feedback, we had to make sure this is the way it is today.

some people are expecting the opposite

Can you expand on this @znarf ?
Obviously some Collectives will not want incognito payouts. But in that case, they can just reject such expenses or tell the submitter they need to reveal their name to be paid. And Collectives that need privacy can allow it.

some people are expecting the opposite

Can you expand on this @znarf ?
Obviously some Collectives will not want incognito payouts. But in that case, they can just reject such expenses or tell the submitter they need to reveal their name to be paid. And Collectives that need privacy can allow it.

@alanna posted the comment on the wrong issue, sorry for the confusion. will hide them ...

@alanna posted the comment on the wrong issue, sorry for the confusion. will hide them ...

Bumping this again as we've received more user requests for it.

+1 We have a mutual aid group needing this, and we'd mistakenly reassured them this was workable.
Is there a recommended manual workaround? My (perhaps incorrect) impression is that the simplest change for creating a viable work-around is:

Direct invoicing users (either invited or existing) to leave public profile anonymous, and
Ensure they include full name in banking details, which will only appear on private invoice. #todo Needs this/these field(s) added.

It might not always be correct (business bank account?), but it will be better than forcing everyone to doxx themselves to cover backend accounting requirements :)
Still def room for improvement in UX, but can't see a downside to including some extra info on invoices

@patcon that's correct. They can use a pseudonym on their profile and their real name for the payout details/invoice, which will not be public.
We need a better solution for this situation though, because it's in tension with #3340

real name for the payout details/invoice, which will not be public

Which, to confirm, "real name for the payout details" will currently be missing from invoice PDF right now. So it's not legally compliant as an accounting record.
Screenshot of :lock: this invoice:

@BenJam - in terms of roadmap priorisation, I think this would fall under 'fundmentals'. We have to have valid invoices for accounting purposes, but the privacy workaround is breaking that, and enforcing real names on profiles would break important privacy needs. Since we already have the architecture for incognito contributions, is applying it to payouts particularly complex?

We now have better support for pseudonyms with the display/legal name settings. However, I still think incognito payouts would be a good feature.

@alanna I indeed think we have all we need with this new concept of "legal name"/"display name" to implement this feature. In the backend. Having an incognito concept at the expense level (some expenses being incognito and others not) is desirable, and could be achieved quite easily by allowing users to submit expenses with their incognito profile (we would still use the legal name from their user profile).
Since the payout information and legal names are already private and protected, that should be good for an MVP. So all that's left to do before we can tackle this issue is an input from @opencollective/design to define how that will look in the expense flow.

+1 for this
I think this will be key in getting OC implemented for more traditional orgs.

given the conversations happening elsewhere (#5270) and the fact that we have protections in place now for users who are concerned about their public perceptions and safety I dont think we should actively deprioritise this.
Giving orgs the choice to use OC without having to be more transparent seems pretty much against the philosophy of a platform that breeds trust in communities by being more transparent.

EDIT: Sorry, wrote Cobudget instead of OpenCollective. Changed. ;)

Let's keep discussing this here on this issue. I think good points are being raised on both sides. Thanks for your feedback @aerugo - it's very useful to get different perspectives.
Right now we offer some partial solutions or workarounds, including using a pseudonymous display name (although this still allows people who know who works on the project to guess who is who), or manually aggregating payouts to a group profile instead of breaking them down individually (although this diminishes the operational efficiency of OC by not automating payments).
I genuinely feel torn between supporting functionality that some users want (which is clear from the use of workarounds in practice), and using our design decisions to push people toward more transparency as an ideological stance.
Regardless of any of that, this feature is not currently being prioritised because there are other more pressing issues we need to work on. So we can keep exploring ideas.

Cross-referencing the comment from @agnostic-apollo, who made some interesting suggestions about an "Expense privacy control" step in the expense flow: https://github.com/opencollective/opencollective/issues/4729#issuecomment-1199264466


[Adaptive] [DCR] Update @ short hand behavior

We also need to update the @ behavior to be this

If the entity returned by the recognizer is a list, set the property to the list
If the entity returned by the recognizer is a list of one item, set the property to the only item in the list.

Users that prefer to always set the list to the property can use turn.entities. which will give the un-optimized behavior.

I think this is not limited to setProperty step, right? you also want this shorthand can work elsewhere like in lg.  So this essentially means making the underlying expression support that.
Current the shorthand is a syntax sugar, which don't aware of the runtime memory. which means we are doing it in compiling time, not runtime. The fix can be either

in compile time, turn it into a conditional operator for example
'@something' would becomes => 'if(count(turn.entities.somethings) > 1, turn.entities.somethings[0], turn.entities.somethings)'.
this approach looks nice and clean to me, but this only handles one layer list (and must be a list), not multiple or non-list.

in run time, do some trick, can support multiple layer, but at the cost of breaking the interfaces between layers.

Overall i think this make somethings handy, but a little design break. what do you think

I'm going to pick this one up.

@chrimc62 we have a PR out there to fix this https://github.com/microsoft/botbuilder-dotnet/pull/2128.
In this PR, what we do is instead of rewrite the expression for shorthand expression, we treat shorthand as function, which can ends up in a more clean and flexible approach. ie.

to solve a conflict of "^" for shorthand and for exp function, this means we should not do shorthand in lexer, otherwise we don't have the flexibility to dis-ambiguous.
to support the operations described here, remove list if only one item, also for two-level list.

So, Chris, can you help take a look at this？

Fixed by #2128