[Request] ProtonVPN Windows Client

Package Request
Information
Name: [name of new package]
proton-vpn
Description: [clear and concise details of what it is]
The Proton VPN app for Windows is the best way to stay secure and private when surfing the internet. It is open source, easy to use, and packed with useful security features.
Homepage: [a URL/link]
https://protonvpn.com/download-windows
Download link(s): [URL(s)/link(s)]
https://protonvpn.com/download/ProtonVPN_win_v2.0.0.exe
Some indication of popularity/repute: [GitHub stars/software reviews etc.]
https://github.com/ProtonVPN/win-app
https://www.pcmag.com/reviews/protonvpn
https://www.techradar.com/reviews/protonvpn

Duplicate of #4678

Thanks for reminding me.


Re-enable the use of Hanning filter for centerline smoothing

Description
Currently, the usage authorize param={nurbs,hanning}, although when using hanning, the following message is displayed:
sct_straighten_spinalcord -i data.nii.gz -s data_centerline.nii.gz -param algo_fitting=hanning

--
Spinal Cord Toolbox (master/b24ef4bcfd72b80d265c2d0aac13416646157b16)
Running /Users/julien/code/sct/scripts/sct_straighten_spinalcord.py -i data.nii.gz -s data_centerline.nii.gz -param algo_fitting=hanning
WARNING: hanning has been disabled in this function. The fitting algorithm has been changed to NURBS.

So we should either update the usage, or re-enable hanning. I would vote for the latter (faster in high-res images).
@benjamindeleener any thoughts?

hanning has been re-enabled recently


Merge pull request #584 from MicrosoftDocs/main

Deploy September 2022 publish

Learn Build status updates of commit 1f4c63c:
:warning: Validation status: warnings
For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Learn Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel


compileTestKotlin failure - ReviewStatistics cannot be resolved

I just cloned latest zally from master. And got compileKotlinTest failure as following:
e: /home/ehuahex/development/cross-ericsson-guild/zally/server/src/test/java/de/zalando/zally/apireview/RestApiBaseTest.kt: (8, 35): Unresolved reference: ReviewStatistics
e: /home/ehuahex/development/cross-ericsson-guild/zally/server/src/test/java/de/zalando/zally/apireview/RestApiBaseTest.kt: (34, 40): Unresolved reference: ApiReviewRepository
Could you please help me figure out why de.zalando.zally.statistic.ReviewStatistics cannot be resolved?

@Hez-Laine Sorry, for the late reply. I cannot reproduce your error. You have to give much more information about your development environment and your executed commands, if you want me to help you. Please feel free to reopen the issue, if you still need help and can provide more context.

@Hez-Laine Sorry, for the late reply. I cannot reproduce your error. You have to give much more information about your development environment and your executed commands, if you want me to help you. Please feel free to reopen the issue, if you still need help and can provide more context.


feat: replace pouchdb with extension storage

Checklist

[x] JIRA - <LW-11925>
[ ] Proper tests implemented
[ ] Screenshots added.

Proposed solution
Create a new implementation of wallet stores interfaces by using extension storage API
Testing
While this is in draft, you can change hardcoded value for isExperimentEnabled
Screenshots
Attach screenshots here if implementation involves some UI changes

Allure Report
allure-report-publisher generated test report!

processReports: ❌ test report for cf057df2

passed
failed
skipped
flaky
total
result

Total
18
14
4
0
36
❌


Repo sync for protected CLA branch

The pull request is created from master637626588525317630 to master to fix git push error for protected CLA branch

@opbld15 : Thanks for your contribution! The author(s) have been notified to review your proposed change.


[Service Connector] 'az spring connection create postgres': Fix privilege grant query and output

Related command

Description

Testing Guide

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change
[Component Name 2] az command b: Add some customer-facing feature

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR title and description has followed the guideline in Submitting Pull Requests.

[ ] I adhere to the Command Guidelines.

[ ] I adhere to the Error Handling Guidelines.

Service Connector

Use {} if this is not a customer-facing interface change


Remediate Log4J Vulnerability

Log4J is being used in this application and needs to be removed and replaced.

@sagar-arora - Can we please create a feature branch and add me as a contributor? -> feature/remediate-log4j-vulnerability

I tried to create a feature branch and cannot :)

Forked the repo, made changes, and created a PR.

https://github.com/sagar-arora/LogAgent/pull/8

The PR was just merged by @sagar-arora


Pushing latest stable version of NLTK into apt-get repos

Is there any plan to update the apt-get repos for NLTK installation?
There are some users that don't rely on pip to install python tools, e.g. http://askubuntu.com/questions/527388/python-nltk-on-ubuntu-12-04-lts-nltk-downloadbrown-results-in-html-error-40
Does anyone know how to resolve the 401 Error when downloading NLTK corpus?

NLTK 3.0.4 is scheduled for Ubuntu 15.10, see https://launchpad.net/ubuntu/+source/nltk and 3.0.0 is currently distributed via apt-get. If this issue has been fixed, can it be closed?

@PanderMusubi , Cool, now sudo apt-get python-nltk get NLTK v3.1!

Thanks @PanderMusubi


Add invocation of olm-create-bundle.sh to build-controller-release.sh

Issue #, if available: 972
Description of changes:
Adds olm-create-bundle.sh to the OLM conditional block of build-controller-release.sh. Also adds stripping the 'v' from $BUNDLE_RELEASE to prevent any breakage if the user has that variable including a 'v.'
fixes aws-controllers-k8s/community#972
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

/lgtm


Open the url in browser when user serves their polymer app using the open library

Install sindresorhus/open.
Open the browser after user runs polymer serve

@googlebot I signed it

Oops! My bad. Just found out there is an --open flag. Sorry :smile:


Memory Leak

Click to expand!
Issue Type
Bug
Source
source
Tensorflow Version
tf 2.8.2
Custom Code
Yes
OS Platform and Distribution
Linux Ubuntu 16.04
Mobile device
Linux Ubuntu 16.04
Python version
3.8.2
Bazel version
5.0.0
GCC/Compiler version
9.6.0
CUDA/cuDNN version
11.4
GPU model and memory
3080 11g
Current Behaviour?
When adapting a binary operator for calculation, such as mul, if two input tensors are one-dimensional, one of them will be converted into a scalar,
so that the memory of the tensor is not released, causing memory leaks (Especially when programming with opencl).

Standalone code to reproduce the issue
'''
import tensorflow  as tf
a = tf.random.normal(shape=[1], dtype=tf.float32)
'''
through tensorflow/python/ops/random_ops.py:43(random_normal)
mean and stddev will be changed tensor. Next, in tensorflow/core/kernels/cwise_ops_common.h:120(Compute) tensor is seen as scalar so that it will be not released.

Relevant log output
No response

Hi,
Thank you for opening this issue. Since this issue has been open for a long time, the code/debug information for this issue may not be relevant with the current state of the code base.
The Tensorflow team is constantly improving the framework by fixing bugs and adding new features. We suggest you try the latest TensorFlow version with the latest compatible hardware configuration which could potentially resolve the issue. If you are still facing the issue, please create a new GitHub issue with your latest findings, with all the debugging information which could help us investigate.
Please follow the release notes to stay up to date with the latest developments which are happening in the Tensorflow space.


[Node.js SDK] Added missing constructors for UniversalBot (#3261)

Fix for #3261

Thank you for your controbution


Schedules jobs too often if multiple threads are present

If I schedule two jobs and each job should be run in one thread, the following minimal example does not work
`import schedule
import threading
import time
from datetime import datetime
def do_task_1() -> None:
print(f"{datetime.now().isoformat()} - task 1 execution - thread {threading.current_thread().name} \n")
def do_task_2() -> None:
print(f"{datetime.now().isoformat()} - task 2 execution - thread {threading.current_thread().name} \n")
def task_1_sheduler() -> None:
schedule.every(10).seconds.do(do_task_1)
while True:
time.sleep(1)
schedule.run_pending()
def task_2_sheduler() -> None:
schedule.every(14).seconds.do(do_task_2)
while True:
time.sleep(1)
schedule.run_pending()
def start_thread_1() -> None:
t = threading.Thread(target=task_1_sheduler)
t.start()
def start_thread_2() -> None:
t = threading.Thread(target=task_2_sheduler)
t.start()
start_thread_1()
start_thread_2()
`
I would expect it to conduct do_task_2 every 14 seconds on thread 2 and do_task_1 independently every 10 seconds on thread 1, but it mixes things up

What am I doing wrong?

I encountered the same problem - it turned out that the default scheduler is shared among all threads. If you create a dedicated scheduler scheduler = schedule.Scheduler() in each thread and use it there, the output will match what you expect.


spadina testnet lodestar-cli setup

resolves #1584

putting this here to announce my desire to skip the codeclimate check this time.  open to objections or other opinions, but just wanna make that known.

putting this here to announce my desire to skip the codeclimate check this time. what it's suggesting doesn't seem necessary because it would be good to be able to look at each testnet's config in whole (without having to reference some external common objects, like they suggest with the logger params). open to objections or other opinions, but just wanna make that known.

Yeah I'm okay too with the testnet config containing duplicate code.


python3*Packages.dasbus tests failing

Steps To Reproduce
Steps to reproduce the behavior:

build python310Packages.dasbus or package depending on it like nwg-panel

Build log
======================================================================
FAIL: test_async_calls (tests.test_unix.DBusUnixExampleTestCase)
Test DBus async calls with fds.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/dasbus-1.7/tests/test_unix.py", line 420, in test_async_calls
    self._run_test()
  File "/build/dasbus-1.7/tests/lib_dbus.py", line 194, in _run_test
    self.assertEqual(client.exitcode, 0, msg)
AssertionError: 1 != 0 : _call_hello_async has finished with 1

======================================================================
FAIL: test_properties (tests.test_unix.DBusUnixExampleTestCase)
Test DBus properties with fds.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/dasbus-1.7/tests/test_unix.py", line 457, in test_properties
    self._run_test()
  File "/build/dasbus-1.7/tests/lib_dbus.py", line 194, in _run_test
    self.assertEqual(client.exitcode, 0, msg)
AssertionError: 1 != 0 : _set_pipes has finished with 1

======================================================================
FAIL: test_signals (tests.test_unix.DBusUnixExampleTestCase)
Test DBus signals with fds.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/dasbus-1.7/tests/test_unix.py", line 481, in test_signals
    self._run_test()
  File "/build/dasbus-1.7/tests/lib_dbus.py", line 194, in _run_test
    self.assertEqual(client.exitcode, 0, msg)
AssertionError: 1 != 0 : _trigger_signal has finished with 1

======================================================================
FAIL: test_sync_calls (tests.test_unix.DBusUnixExampleTestCase)
Test DBus sync calls with fds.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/dasbus-1.7/tests/test_unix.py", line 398, in test_sync_calls
    self._run_test()
  File "/build/dasbus-1.7/tests/lib_dbus.py", line 194, in _run_test
    self.assertEqual(client.exitcode, 0, msg)
AssertionError: 1 != 0 : _call_hello_sync has finished with 1

----------------------------------------------------------------------
Ran 232 tests in 679.212s

Full log:
Additional context
Wanted to ask for help here before asking upstream, seems to be specific as not reported or updated recently from what I've found.
Builds/seems to work fine with `doTest = false" but not the preferred way avoidable.
Notify maintainers
@fortuneteller2k

Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.0.19, NixOS, 23.05 (Stoat), 23.05.20230126.dirty`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.12.0`
 - nixpkgs: `/run/nixpkgs`

Solved with #212957


HBASE-28341 [JDK17] Fix Failure TestLdapHttpServer

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

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

_ Prechecks _

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

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

_ master Compile Tests _

+1 :green_heart:
mvninstall
4m 16s
master passed

+1 :green_heart:
compile
7m 51s
master passed

+1 :green_heart:
spotless
0m 57s
branch has no errors when running spotless:check.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
3m 41s
the patch passed

+1 :green_heart:
compile
7m 12s
the patch passed

+1 :green_heart:
javac
7m 12s
the patch passed

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

+1 :green_heart:
xml
0m  2s
The patch has no ill-formed XML file.

+1 :green_heart:
hadoopcheck
7m 18s
Patch does not cause any errors with Hadoop 3.3.6.

-1 :x:
spotless
0m  7s
patch has 20 errors when running spotless:check, run spotless:apply to fix.

_ Other Tests _

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

40m 40s

Subsystem
Report/Notes

Docker
ClientAPI=1.44 ServerAPI=1.44 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5672/1/artifact/yetus-general-check/output/Dockerfile

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

Optional Tests
dupname asflicense javac hadoopcheck spotless xml compile

uname
Linux f8c64bf4676a 5.4.0-166-generic #183-Ubuntu SMP Mon Oct 2 11:28:33 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 98eb3e01b3

Default Java
Eclipse Adoptium-11.0.17+8

spotless
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5672/1/artifact/yetus-general-check/output/patch-spotless.txt

Max. process+thread count
77 (vs. ulimit of 30000)

modules
C: . U: .

 U: .

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5672/1/console

versions
git=2.34.1 maven=3.8.6

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

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

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

-0 :warning:
yetus
0m  2s
Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ master Compile Tests _

+1 :green_heart:
mvninstall
4m  2s
master passed

+1 :green_heart:
compile
2m 25s
master passed

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

+1 :green_heart:
javadoc
1m 48s
master passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
3m  1s
the patch passed

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

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

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

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

_ Other Tests _

-1 :x:
unit
359m 26s
root in the patch failed.

392m  6s

Subsystem
Report/Notes

Docker
ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5672/1/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile

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

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux e09b25114639 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 98eb3e01b3

Default Java
Temurin-1.8.0_352-b08

unit
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5672/1/artifact/yetus-jdk8-hadoop3-check/output/patch-unit-root.txt

Test Results
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5672/1/testReport/

Max. process+thread count
5475 (vs. ulimit of 30000)

modules
C: . U: .

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5672/1/console

versions
git=2.34.1 maven=3.8.6

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

This message was automatically generated.

Fixed spotless errors.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

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

_ Prechecks _

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

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

_ master Compile Tests _

+1 :green_heart:
mvninstall
3m 11s
master passed

+1 :green_heart:
compile
5m 11s
master passed

+1 :green_heart:
spotless
0m 44s
branch has no errors when running spotless:check.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
2m 57s
the patch passed

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

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

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

+1 :green_heart:
xml
0m  1s
The patch has no ill-formed XML file.

+1 :green_heart:
hadoopcheck
5m 24s
Patch does not cause any errors with Hadoop 3.3.6.

+1 :green_heart:
spotless
0m 41s
patch has no errors when running spotless:check.

_ Other Tests _

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

30m 33s

Subsystem
Report/Notes

Docker
ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5672/2/artifact/yetus-general-check/output/Dockerfile

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

Optional Tests
dupname asflicense javac hadoopcheck spotless xml compile

uname
Linux c6149651c536 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 98eb3e01b3

Default Java
Eclipse Adoptium-11.0.17+8

Max. process+thread count
77 (vs. ulimit of 30000)

modules
C: . U: .

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5672/2/console

versions
git=2.34.1 maven=3.8.6

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

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

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

-0 :warning:
yetus
0m  3s
Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ master Compile Tests _

+1 :green_heart:
mvninstall
2m 47s
master passed

+1 :green_heart:
compile
1m 59s
master passed

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

+1 :green_heart:
javadoc
1m 54s
master passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
2m 43s
the patch passed

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

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

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

+1 :green_heart:
javadoc
1m 55s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
293m  1s
root in the patch passed.

323m 22s

Subsystem
Report/Notes

Docker
ClientAPI=1.44 ServerAPI=1.44 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5672/2/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile

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

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux 393f10cb7ccf 5.4.0-166-generic #183-Ubuntu SMP Mon Oct 2 11:28:33 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 98eb3e01b3

Default Java
Eclipse Adoptium-11.0.17+8

Test Results
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5672/2/testReport/

Max. process+thread count
8451 (vs. ulimit of 30000)

modules
C: . U: .

 U: .

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5672/2/console

versions
git=2.34.1 maven=3.8.6

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

This message was automatically generated.


Add Image icons to the Tab bar

How to add the image icon with text on the segmented control instead of text

This is not related to MXParallaxHeader.


Teloscan read and write contract should handle tuple parameters for contracts that require them.

Teloscan Read and Write Contract Should Handle Tuple Parameters for Contracts that Require Them

Problem:
I've been trying out the prerelease Teloscan a bit and noticed a few issues.
Similar to the old version, it seems Teloscan can't handle tuple parameters when performing Read and Write operations on a contract. For example, for the contract 0x7D24DE60A68ae47BE4E852cf03Dd4d8588B489Ec (AlgebraEternalFarming), the getRewardInfo function only retrieves a single field for tokenId (uint256) when the ABI looks like this:
{
  "name": "getRewardInfo",
  "type": "function",
  "inputs": [
    {
      "name": "key",
      "type": "tuple",
      "components": [
        { "name": "rewardToken", "type": "address", "internalType": "contract IERC20Minimal" },
        { "name": "bonusRewardToken", "type": "address", "internalType": "contract IERC20Minimal" },
        { "name": "pool", "type": "address", "internalType": "contract IAlgebraPool" },
        { "name": "nonce", "type": "uint256", "internalType": "uint256" }
      ],
      "internalType": "struct IncentiveKey"
    },
    { "name": "tokenId", "type": "uint256", "internalType": "uint256" }
  ],
  "outputs": [
    { "name": "reward", "type": "uint256", "internalType": "uint256" },
    { "name": "bonusReward", "type": "uint256", "internalType": "uint256" }
  ],
  "stateMutability": "view"
}

Due to this limitation, it is not possible to call such functions from Teloscan.

Acceptance Criteria:

Update Teloscan to handle tuple parameters correctly in both Read and Write operations.
Ensure the system can parse and pass tuple components accurately when interacting with contracts.
Add test cases to validate that tuple parameters are supported for all contract interactions.

Notes:
In the IncentiveKey.sol file is defined the IncentiveKey struct as:
struct IncentiveKey {
  IERC20Minimal rewardToken;
  IERC20Minimal bonusRewardToken;
  IAlgebraPool pool;
  uint256 nonce;
}

In the AlgebraEternalFarming.sol is defined the getRewardInfo function as:
function getRewardInfo(IncentiveKey memory key, uint256 tokenId) external view override returns (uint256 reward, uint256 bonusReward) {
    bytes32 incentiveId = IncentiveId.compute(key);
    Farm memory farm = _getFarm(tokenId, incentiveId);

    IAlgebraEternalVirtualPool virtualPool = IAlgebraEternalVirtualPool(incentives[incentiveId].virtualPoolAddress);
    (reward, bonusReward, , ) = _getNewRewardsForFarm(virtualPool, farm);
}


add bun install to package-install

would be great to have a bun command get generated along with the other package-install options:
```package-install
remark-math rehype-katex katex
```

<Tabs items={['npm', 'pnpm', 'yarn', 'bun']}>
  <Tab value="npm">...</Tab>
  <Tab value="pnpm">...</Tab>
  <Tab value="yarn">...</Tab>
  <Tab value="bun">...</Tab>
<Tabs>

Will be supported in 10.1.3


Knn dev 1129

KNN Changes for Jira: 1129

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/madlib-pr-build/227/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/madlib-pr-build/240/

Jenkins ok to test

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/madlib-pr-build/247/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/madlib-pr-build/259/

Works on GPDB. LGTM.


[Feature request] Socket control

I was wondering if it would be possible to use socket to control certain parts of the application. I am designing my own bot in python and would like to have it start a new video session for synced video watching. (right now i just have the bot open a browser and have it do everything in the browser, which eats CPU)
I just figured that socket would be the way to go for this, like Streama would have it's own key for verification, and you would send the key + the command to the socket, and have it execute a function.
So like this:
Python code: Send - 'hQNX3To86NjvqtCx' + ':' + 'Do_this'
Streama code: Recv - 'hQNX3To86NjvqtCx:Do_this'
then split it with the colon, check the key and run the command

I've got set up a server-client that does exactly this in python, but, and I'm just asking, isn't that what an API does? Like, check if you got enough priviledges, and if so, execute something in the server, giving you the details in return afterwards

I've got set up a server-client that does exactly this in python, but, and I'm just asking, isn't that what an API does? Like, check if you got enough priviledges, and if so, execute something in the server, giving you the details in return afterwards

I am confused about what you are asking, an API would have to be made in order for something like this to happen (because as far as i know, there are none). The devs would have to integrate their own API to receive and execute. It would be much more complex/confusing. I feel like socket would be a good way to go.

I am confused about what you are asking, an API would have to be made in order for something like this to happen (because as far as i know, there are none). The devs would have to integrate their own API to receive and execute. It would be much more complex/confusing. I feel like socket would be a good way to go.
edit: Also what do you mean by you have a setup that does exactly this? You mean for Streama?

Let me explain. What I was meaning by that is, the behaviour you are asking streama to have, aka. be able to send an authenticated message to the server in order for it to do something, is maybe best given by an API. The socket approach, as I myself have tried, is kinda raw. I, for sure, wouldn't have it opened in a production server.
What I mean by all that is that I wouldn't go for the socket solution to solve this, in a web enviroment this kind of things are usually resolved by a decent API.
In other hand, yes, I've got a setup exactly like this in my pc coded in python to manage it from afar, It has my custom commands and encryption point-to-point, but it's general, not oriented specifically for streama.
Just to clarify, I agree with what you are asking, it might be a useful feature to have.

Let me explain. What I was meaning by that is, the behaviour you are asking streama to have, aka. be able to send an authenticated message to the server in order for it to do something, is maybe best given by an API. The socket approach, as I myself have tried, is kinda raw. I, for sure, wouldn't have it opened in a production server.
What I mean by all that is that I wouldn't go for the socket solution to solve this, in a web enviroment this kind of things are usually resolved by a decent API.
In other hand, yes, I've got a setup exactly like this in my pc coded in python to manage it from afar, It has my custom commands and encryption point-to-point, but it's general, not oriented specifically for streama.
Just to clarify, I agree with what you are asking, it might be a useful feature to have.

I suppose it really doesnt matter how its done, my purpose is to integrate Streama into my python code anyways. So long as it's possible, i'd be more than happy. The reason i had socket in mind, is because i have seen plenty of things use socket for remote control, such as twitch IRC. Its simple and works well.


Remove atomic dir action in fileStatus and listStatus from store class

Followup of https://github.com/ABFSDriver/AbfsHadoop/pull/117 to comment https://github.com/ABFSDriver/AbfsHadoop/pull/117#discussion_r1652522193

:::: AGGREGATED TEST RESULT ::::
============================================================
NonHNS-SharedKey
[WARNING] Tests run: 146, Failures: 0, Errors: 0, Skipped: 11
[WARNING] Tests run: 685, Failures: 0, Errors: 0, Skipped: 278
[WARNING] Tests run: 414, Failures: 0, Errors: 0, Skipped: 39
Time taken: 7 mins 5 secs.
azureuser@pranav-ind-vm:~/AbfsHadoop/hadoop-tools/hadoop-azure$ git log
commit fd85f5cb613e46210ee20a39eaacfcfc0b4bb8ca (HEAD -> renameDelete, origin/renameDelete)
Author: Pranav Saxena<EMAIL_ADDRESS>Date:   Mon Jul 1 09:47:46 2024 +0530
Remove atomic dir action in fileStatus and listStatus from store class. (#122)

https://github.com/ABFSDriver/AbfsHadoop/pull/122

fs.azure.abfs.account.name
pranavsaxenaxxxx.blob.core.windows.net

fs.contract.test.fs.abfs
<EMAIL_ADDRESS>


Maybe Change miner.jpg

Make it look better.... than a stock image that you just cropped...

Make it look better.... than a stock image that you just cropped...

Like this:

Make it look better.... than a stock image that you just cropped...

Like this:


chore: use for … of + if instead of arrow func chaining

[cap/dev] etc/perf.js
for (each of keys) if ...                  196 ms
for (each of keys) || ...                  188 ms
keys.filter.forEach (...)                  323 ms

@danjoa , might also be relevant for our srv-dispatch.


Rust docs failed to build for aws-config 0.11.0

Describe the issue
Sorry for the noise if you are already aware of this, but it looks like the docs failed to build for the latest release of the aws-config crate: https://docs.rs/crate/aws-config/0.11.0/builds
Links
https://docs.rs/crate/aws-config/latest

thanks for reporting! Looks like it's https://github.com/rust-lang/rust/issues/96429 which had a fix merged recently—I will retrigger a build in a couple of days

The fix PR isn't merged yet but I'm keeping an eye on it.

fix was merged


After calling remove_all_widgets, then adding more widgets, I can't drag a widget where an old widget once was.

After calling remove_all_widgets(), then adding more widgets, I can't drag a widget where an old widget once was.
For example, if I create a grid with 2 rows and 3 columns like so:
+-----+-----+----+
|  1  | 2  |  3 |
+-----+-----+----+
|  4  | 5  |  6 |
+-----+-----+----+

Then call remove_all_widgets(), then recreate the same grid as above, I can't drag any widget onto another widget without getting the below errors (multiple times):
Uncaught TypeError: Cannot read property 'row' of undefined
I can however, move a widget below into, say "the third row", onto 7, 8, and 9.
Thanks in advance for any help.

same here with
   $(document).on('click', '#red', function() {
    gridster.remove_widget( $(this).parent());
    });

Uncaught TypeError: Cannot read property 'row' of undefined

@canfiax +1

Haven't gotten any luck when adding a namespace, as is done in the example: http://gridster.net/demos/multiple-grids.html -- Anyone else has?

I am using single instance. I am getting same issue. The solution given by @bondt is not working with me. Please if some one have solution post it here.
thx in advance

Bump

Also stuck on this problem. Help please.

I have temporary solution. example

Once I delete all widgets then what i do is delete  as well and re-add it
like
$('.gridster').html('');
$('.gridster').append('');
But this case is only working if you want to delete all the widgets.

Alright, so I fiddled a bit with this. Managed to find a VERY simple workaround:
draggable: {
	stop: function (event, ui) {
    	Dashboard.update('widgets', { widgets: app.grid.serialize_changed() });
	}
},
serialize_params: function($w, wgd) {
	var widget;
	if (typeof wgd === 'undefined') {
	    widget = $($w).data();
		widget_object = {
	        id: 	widget.id,
	        col: 	widget.col,
	        row: 	widget.row,
	        size_x: widget.sizex,
	    	size_y: widget.sizey,
	    }

		log("[WIDGET.UPDATE] Workaround method");

	} else {

		widget = wgd;

		widget_object = {
		    id: 	$($w).data('id'),
	    	col: 	widget.col,
	    	row: 	widget.row,
	    	size_x: widget.sizex,
			size_y: widget.sizey,
		}

		log("[WIDGET.UPDATE] Standard method");

	}

	return widget_object;
}

@OscarEriksen Why does this work? It's not clear since I don't see what Dashboard.update() does.

@sniperwolfpk5 thanks for posting the fix. $('.gridster ul').empty() sufficed for me.

If you invoke removeWidget("#something");
Then right after invoke removeWidget("#somethingelse");
Then you try to add_widget("#something"); You get the same error.
I work around it by
let svc = new GridSterService(); //TypeScript class will not bore you with details but it gives me
//the a gridster instance.
$('#vrxAddOpenPanel').click(() => {
if (!$("#openPanel").length) {
createOpenPanelWidget(svc);
//Because there something broken with gridster I choose to invoke a jquery click event
//https://github.com/ducksboard/gridster.js/issues/271
//Which circumvents the issue all together.
$("#vrxAddWelcomeMessageWidget").trigger("click");
}
});
Which triggers a jquery event to actually handle things properly instead of the javascript nonsense exception.
$('#vrxAddWelcomeMessageWidget').click(() => {
        if (!$("#welcomeMessageWidget").length) {

            createWelcomeMessage(svc);
        }
    });


removed the SCA check from the analyzeIR() method

removed the SCA check from the analyzeIR() method

 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.1 out of 2 committers have signed the CLA.:white_check_mark: kripajoym:x: vishalhcl-5960You have signed the CLA already but the status is still pending? Let us recheck it.


error during creation of cognitive linked service in synapse

I get the following error during the last step. Its fails in the SECRET field as "loading failed". Previous steps work fine.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: a359bfb9-716c-1fcc-97e3-8745ee331363
Version Independent ID: 3cacf1b3-8cbc-e5dc-c171-8cc4430efdd2
Content: Quickstart: Prerequisites for Cognitive Services in Azure Synapse Analytics - Azure Synapse Analytics
Content Source: articles/synapse-analytics/machine-learning/tutorial-configure-cognitive-services-synapse.md
Service: synapse-analytics
Sub-service: machine-learning
GitHub Login: @NelGson
Microsoft Alias: negust

@Rajini09  Since this issue is not related directly to the doc, I would recommend you to create a thread on the forums - Microsoft Q&A or Stack Overflow
Once you post your issue on forums, it will have visibility across the community which is a better suited audience for such types of issues.

@Rajini09  We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


calling help() without arguments should not generate the usage string

I think that rather than help() returning a usage string, calling help() with no arguments should instead enable help for the default argument --help.
This is more consistent with the new behavior of --version.
If someone wants to show help, they should call showHelp().
What do you think: @nexdrew, @lrlna?

Definitely a fan of this idea! :+1:

Agreed, good idea :+1:

seems super reasonable :100:

I love the consistence between .help() method with other methods. However, please provide a way to get the help message.
In my case, the app is doing some customized validation after pass, if it fails, an error message with the generic help message is shown. After this change, I cannot get the generic help message.
Any ideas on this?

@lijunle There are still a couple options, though they may be less convenient:

If you just want to print the help message, you can use yargs.showHelp() (to print to stderr) or yargs.showHelp('log') (to print to stdout).

If you want the help message as a string, you can use yargs.getUsageInstance().help().

Either of these would work in, for example, a custom fail function.
If this isn't what you're looking for (or presents a problem with what you're trying to do), I think it's reasonable to open another issue requesting a new method that reinstates the logic of the 3.x version of .help() with no args, possibly named .getHelp() or similar. Thanks!

Although yargs.getUsageInstance().help() is long and seems using an internal API, it is working. Thanks @nexdrew


Median is not calculated correctly

version: 1.4.0
In the simple example below, the median is shown as 15, whereas it should be 14:

You can easily verify manually or with the help of a tool.

Fixed in the latest release! If you're still seeing an issue after updating, please open up another issue. Thank you for the feedback!


Preferences: Color Theme

Issue Type: Feature Request
设置主题
VS Code version: Code 1.37.1 (f06011ac164ae4dc8e753a3fe7f9549844d15e35, 2019-08-15T16:16:34.800Z)
OS version: Darwin x64 18.7.0

We do not speak chineese, please file this issue in English


Cannot use map() with only-optional keys

I expect I could spec an object that has only optional keys. Here is a failing unit test:
  describe("map()", () => {
    it("should allow optional-only keys map()", () => {
      const mapSpec = S.spec.map("optional keys", {
        [S.symbol.optional]: {
          banana: S.spec.string
        }
      });

      S.assert(mapSpec, {});
    });
  });

Error: Cannot use Keys spec without keys.

I double-checked in clojure and it actually works fine so this is probably a missing piece/bug.
boot.user> (s/def ::optional-map (s/keys :opt-un [::a-key]))
:boot.user/optional-map
boot.user> (s/conform ::optional-map {})
{}
boot.user> (s/conform ::optional-map {::a-key 1})
#:boot.user{:a-key 1}

If I interpret the code correctly spec does the check in order, starting from the required keys and then using the optional ones...https://github.com/clojure/spec.alpha/blob/master/src/main/clojure/clojure/spec/alpha.clj#L785
However in our case, there is a call to keys here, only for required keys. Which throws because there are none in there
So I was thinking of avoid calling that if we don't have required keys. Hopefully @prayerslayer can confirm this is a good approach, all the tests pass smoothly, but I don't know what was the though behind that part.

Also I was wondering why there is a return specifically tailored for required keys...


Liveness probe listens to both IPV4 and IPV6 interfaces

Makes the liveness probe listen on both IPV4/IPV6 interfaces
Fixes #123

I have to fix the e2e test and if that passes ill merge this. I guess in the next days I hope I find the time for this.
sorry for the delay.

I can not found nothing on the docs  that tells me this listens on both ipv6 and ipv4. Anyway the tests are passing.
can you point me to where did you find this?


[SHIRO-849] Adds cache module for JCache

This will allow for any JCache implementation to work with Shiro, as well as new versions of EhCache & Hazelcast.
Fixes: SHIRO-816
Fixes: SHIRO-479
NOTE: This currently targets 1.8 (which would need to be bumped to 1.9 before merging)
Going forward we could replace org.apache.shiro.cache with JCache, and update MemoryConstrainedCacheManager to be a safe fallback.

Created issue: https://issues.apache.org/jira/browse/SHIRO-849
(fix version left unset for now, but we can fill it in once we move forward)

LGTM. Can we move this forward? Thanks!

I'm not sure what the osgi related config should be: https://github.com/apache/shiro/pull/332/files#diff-fe1d5bdae7660405b02de35c849a3f235600c2e7c318f64b8635accfabf4b1abR77-R81
I'm guessing the above is wrong (given the hazelcast package name) anyone want to take a pass at that part?
After that I can clean it up (update the dependencies) and retarget main (potentially backporting where needed)

Maybe we could replace synchronized(this) with an AtomicWrapper?

I'm not sure what the osgi related config should be: https://github.com/apache/shiro/pull/332/files#diff-fe1d5bdae7660405b02de35c849a3f235600c2e7c318f64b8635accfabf4b1abR77-R81
I'm guessing the above is wrong (given the hazelcast package name) anyone want to take a pass at that part? After that I can clean it up (update the dependencies) and retarget main (potentially backporting where needed)

Let me take a look, we just need to import the jcache package to not depend on jcache implementation. For Hazelcast, user needs to install the hazelcast jcache osgi bundle.
I will make some tests.

And agree, I will work on main branch first.


conn mgr: Use std::optional::has_value where appropriate

At Lyft, we've observed an Envoy crash with the following stack trace on build 6d9de10ccdc6977a6ee381de2db158b223a83bb5:
Backtrace:
#0  0x00007f05ab87ac37 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#0  0x00007f05ab87ac37 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1  0x00007f05ab87e028 in __GI_abort () at abort.c:89
#2  0x0000000000bd711d in __gnu_cxx::__verbose_terminate_handler() ()
#3  0x0000000000ba3df6 in __cxxabiv1::__terminate(void (*)()) ()
#4  0x0000000000ba3e31 in std::terminate() ()
#5  0x0000000000ba52a8 in __cxa_throw ()
#6  0x0000000000b80ea7 in absl::optional_internal::throw_bad_optional_access() ()
#7  0x00000000007100af in value (this=<optimized out>) at external/com_google_absl/absl/types/optional.h:844
#8  Envoy::Http::ConnectionManagerImpl::ActiveStream::createFilterChain (this=this@entry=0x3cbd2000) at external/envoy/source/common/http/conn_manager_impl.cc:1408
#9  0x000000000071559b in createFilterChain (this=0x3cbd2000) at external/envoy/source/common/http/conn_manager_impl.cc:1001
#10 Envoy::Http::ConnectionManagerImpl::ActiveStream::sendLocalReply(bool, Envoy::Http::Code, std::string const&, std::function<void (Envoy::Http::HeaderMap&)> const&, bool, absl::optional<Envoy::Grpc::Status::GrpcStatus>) (this=this@entry=0x3cbd2000, is_grpc_request=is_grpc_request@entry=false, code=code@entry=Envoy::Http::UpgradeRequired, body=..., modify_headers=..., is_head_request=is_head_request@entry=false, grpc_status=...) at external/envoy/source/common/http/conn_manager_impl.cc:1002
#11 0x000000000071ab1b in Envoy::Http::ConnectionManagerImpl::ActiveStream::decodeHeaders(std::unique_ptr<Envoy::Http::HeaderMap, std::default_delete<Envoy::Http::HeaderMap> >&&, bool) (this=0x3cbd2000, headers=<optimized out>, end_stream=true) at external/envoy/source/common/http/conn_manager_impl.cc:573
#12 0x000000000074154a in Envoy::Http::Http1::ServerConnectionImpl::onMessageComplete (this=0x4398b40) at external/envoy/source/common/http/http1/codec_impl.cc:623
#13 0x0000000000744afc in Envoy::Http::Http1::ConnectionImpl::onMessageCompleteBase (this=0x4398b48) at external/envoy/source/common/http/http1/codec_impl.cc:442
#14 0x0000000000744bbd in operator() (__closure=0x0, parser=<optimized out>) at external/envoy/source/common/http/http1/codec_impl.cc:294
#15 Envoy::Http::Http1::ConnectionImpl::<lambda(http_parser*)>::_FUN(http_parser *) () at external/envoy/source/common/http/http1/codec_impl.cc:296
#16 0x0000000000747a9f in http_parser_execute ()
#17 0x00000000007427c2 in Envoy::Http::Http1::ConnectionImpl::dispatchSlice (this=this@entry=0x4398b48, slice=<optimized out>, len=<optimized out>) at external/envoy/source/common/http/http1/codec_impl.cc:378
#18 0x00000000007445b3 in Envoy::Http::Http1::ConnectionImpl::dispatch (this=0x4398b48, data=...) at external/envoy/source/common/http/http1/codec_impl.cc:363
#19 0x0000000000717988 in Envoy::Http::ConnectionManagerImpl::onData (this=0x156381c0, data=...) at external/envoy/source/common/http/conn_manager_impl.cc:230
#20 0x00000000005f30e7 in Envoy::Network::FilterManagerImpl::onContinueReading (this=this@entry=0x29ad8018, filter=filter@entry=0x0) at external/envoy/source/common/network/filter_manager_impl.cc:60
#21 0x00000000005f31bc in Envoy::Network::FilterManagerImpl::onRead (this=this@entry=0x29ad8018) at external/envoy/source/common/network/filter_manager_impl.cc:70
#22 0x00000000005f041f in onRead (read_buffer_size=205, this=0x29ad8000) at external/envoy/source/common/network/connection_impl.cc:263
#23 Envoy::Network::ConnectionImpl::onReadReady (this=this@entry=0x29ad8000) at external/envoy/source/common/network/connection_impl.cc:496
#24 0x00000000005f0c6e in Envoy::Network::ConnectionImpl::onFileEvent (this=0x29ad8000, events=3) at external/envoy/source/common/network/connection_impl.cc:472
#25 0x00000000005ea7f8 in operator() (__args#0=3, this=<optimized out>) at /usr/include/c++/5/functional:2267
#26 operator() (__closure=0x0, arg=<optimized out>, what=<optimized out>) at external/envoy/source/common/event/file_event_impl.cc:60
#27 Envoy::Event::FileEventImpl::<lambda(int, short int, void*)>::_FUN(int, short, void *) () at external/envoy/source/common/event/file_event_impl.cc:61
#28 0x00000000008b9cef in event_persist_closure (ev=<optimized out>, base=0x2456dc0) at ../event.c:1580
#29 event_process_active_single_queue (base=base@entry=0x2456dc0, max_to_process=max_to_process@entry=2147483647, endtime=endtime@entry=0x0, activeq=<optimized out>) at ../event.c:1639
#30 0x00000000008ba41f in event_process_active (base=base@entry=0x2456dc0) at ../event.c:1738
#31 0x00000000008bd178 in event_base_loop (base=0x2456dc0, flags=<optimized out>) at ../event.c:1961
#32 0x00000000005e66b6 in Envoy::Server::WorkerImpl::threadRoutine (this=0x2edecc0, guard_dog=...) at external/envoy/source/server/worker_impl.cc:101
#33 0x00000000008cabe5 in Envoy::Thread::ThreadImpl::ThreadImpl(std::function<void ()>)::{lambda(void*)#1}::_FUN(void*) () at /usr/include/c++/5/functional:2267
#34 0x00007f05abf1b184 in start_thread (arg=0x7f05a8c79700) at pthread_create.c:312
#35 0x00007f05ab94203d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

This is due to the usage of std:optional::value() to check whether an optional variable has a value instead of std::optional::has_value(). value() throws an exception if has_value() would return false, so I suspect the intention is what can be found in this PR.
Please let me know if I'm misunderstanding something.
Risk Level:
Low
Testing:
Existing UTs
Fixes #5289

CC @junr03 @lita

Fixing only the problem area. Will update with unit test that exercises this path when I get a chance. It's not as straightforward as I expected.

I was able to reproduce the issue in an integration test, so the patch is ready to roll once CI passes.


Unable to load a notebook with large output

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version: Insiders
OS Version:Mac

Steps to Reproduce:

Creat a Jupyter notebook and the the following cell:

for i in range(0,1000000):
    print(i)

Give it some time to complete 1M iterations
Note the output is truncated & the notebook is usable.
Save the notebook & close it.
Re-load VS Code & open this notebook.
VS Code will hang

This is a regression from the current stable version

Not sure if this is the root cause but I saw this error stack in the dev tools while trying to save the file:

I had a PR to resolve that, I didn't realize the PR was not merged. I merged the PR with the fix earlier today.
I'm not running into issues in saving. it has been saved for me.
However, when I open the notebook it hangs (the exact same notebook can be opened in VS Code stable).
It seems as though we're not truncating the output when we load it (but only trucated when running a notebook)

Here's the PR i merged earlier to day https://github.com/microsoft/vscode/pull/131035/files

Wait a minute, theres an error in the Jupyter extension. Thanks @mjbvz I failed to notice that.
Will look into the jupyter extenssion to see what's going on, weird I cannto repro this (time to increase that iteration to 10M).

Never mind, i think i found the problem in the Jupyter extension.

Note: The issue in Jupyter extension is unrelated.

Damn, unable to repro this as well.


chore: variable 'connection' collides with imported package name

Variable 'connection' collides with imported package name

Variable 'connection' collides with imported package name

Out of curiosity where this comes from. Is that warning of some sorts from golangci lint.

Variable 'connection' collides with imported package name

Out of curiosity where this comes from. Is that warning of some sorts from golangci lint.
That is from GoLand Code Inspector.


afl: 2.10b -> 2.23b

Looks like mostly performance enhancements and stability fixes.  The main user facing changes appear to be:

The -Z option was removed
A macro named FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION is defined when
compiling with afl-gcc

Full changelog at http://lcamtuf.coredump.cx/afl/ChangeLog.txt

I've tested this briefly, seems to work at least for a simple test case.

Merged!


"When method post" failing with  [ForkJoinPool-1-worker-25] ERROR com.intuit.karate - http request failed: java.lang.RuntimeException: java.io.EOFException

Scenario: POST method which returns HTTP response code as 201 and JSON Response is Blank.
Feature: Intelligence
Scenario: Creates a new model
Given url urlBase + '/model'
When method post

For "When method post", when it is trying to print Raw response, this step is failing with  [ForkJoinPool-1-worker-25] ERROR com.intuit.karate - http request failed: java.lang.RuntimeException: java.io.EOFException.

follow this process to reopen please: https://github.com/karatelabs/karate/wiki/How-to-Submit-an-Issue


[JBEAP-22799] Add a note about Tech Preview status

JIRA: https://issues.redhat.com/browse/JBEAP-22799
Signed-off-by: Jeff Mesnil<EMAIL_ADDRESS>

Note displayed in OpenShift Dev Console:


allow user config to use own random generator

Sure thing, that's quick to do. But how would it figure out which characters to use for the keys? Should I give the user an option to change the possible key characters string?
Something like this:
func WithCustomPossibleKeyCharacters(chars []string) {
  // ...
}

func WithCustomRandomKeyGenerator(func (int) (string, error)) {
  // ...
}

You would only the need the one WithCustomRandomKeyGenerator since user generator would handle it all.
Your suk package only expects the returned id, err := randomID(s.keyLength) data.


Reconciliation should happen, if there is psp change happen for CSI driver

Describe the bug
Reconciliation should happen, if there is psp change happen for CSI driver
How to Reproduce?

Deployed the driver and operator with gooperator dev image

[root@csiscale-master ibm-spectrum-scale-csi-ship]# oc get pods -w
NAME                                              READY   STATUS    RESTARTS   AGE
ibm-spectrum-scale-csi-attacher-0                 1/1     Running   7          15h
ibm-spectrum-scale-csi-g2k6w                      3/3     Running   0          4h16m
ibm-spectrum-scale-csi-operator-996fdcb6c-dqkvr   1/1     Running   0          4h16m
ibm-spectrum-scale-csi-provisioner-0              1/1     Running   7          15h
ibm-spectrum-scale-csi-resizer-0                  1/1     Running   7          15h
ibm-spectrum-scale-csi-sjpc8                      3/3     Running   0          4h16m
ibm-spectrum-scale-csi-snapshotter-0              1/1     Running   7          15h

Deleted PSP used by CSI driver pods

[root@csiscale-master yamls]# oc delete psp ibm-spectrum-scale-csi-psp
Warning: policy/v1beta1 PodSecurityPolicy is deprecated in v1.21+, unavailable in v1.25+
podsecuritypolicy.policy "ibm-spectrum-scale-csi-psp" deleted

Note : There was no impact ( reconcilation) on the csidriver pods, they were still running
[root@csiscale-master ibm-spectrum-scale-csi-ship]# oc get pods -w
NAME                                              READY   STATUS    RESTARTS   AGE
ibm-spectrum-scale-csi-attacher-0                 1/1     Running   7          15h
ibm-spectrum-scale-csi-g2k6w                      3/3     Running   0          4h16m
ibm-spectrum-scale-csi-operator-996fdcb6c-dqkvr   1/1     Running   0          4h16m
ibm-spectrum-scale-csi-provisioner-0              1/1     Running   7          15h
ibm-spectrum-scale-csi-resizer-0                  1/1     Running   7          15h
ibm-spectrum-scale-csi-sjpc8                      3/3     Running   0          4h16m
ibm-spectrum-scale-csi-snapshotter-0              1/1     Running   7          15h

Create new psp with changes settings

[root@csiscale-master yamls]# oc apply -f  psp.yaml
Warning: policy/v1beta1 PodSecurityPolicy is deprecated in v1.21+, unavailable in v1.25+
podsecuritypolicy.policy/ibm-spectrum-scale-csi-psp created

Note: Again there was no impact ( reconcilation) on the csidriver pods, they were still running
[root@csiscale-master ibm-spectrum-scale-csi-ship]# oc get pods -w
NAME                                              READY   STATUS    RESTARTS   AGE
ibm-spectrum-scale-csi-attacher-0                 1/1     Running   7          15h
ibm-spectrum-scale-csi-g2k6w                      3/3     Running   0          4h16m
ibm-spectrum-scale-csi-operator-996fdcb6c-dqkvr   1/1     Running   0          4h16m
ibm-spectrum-scale-csi-provisioner-0              1/1     Running   7          15h
ibm-spectrum-scale-csi-resizer-0                  1/1     Running   7          15h
ibm-spectrum-scale-csi-sjpc8                      3/3     Running   0          4h16m
ibm-spectrum-scale-csi-snapshotter-0              1/1     Running   7          15h

Expected behavior
Reconciliation should happen, if there is psp change happen for CSI driver

psp is removed from k8s so this is no longer required


increase overridability

and add CSS classes, that allow easy setting with infinite scroll
BTW if you want to enable infinite scroll, the code is:
jQuery(document).ready(function($) {
   var infScroll_invoices = new InfiniteScroll( '.order_list .table tbody', {
     path: '.pagination__next',
     append: '.order_list .table tbody tr',
     hideNav: '.pagination',
   });
   $('.infinite-container').bind("DOMNodeInserted", function(){
      new LazyLoad({
          elements_selector: ".lazy"
      });
   });
});

Codecov Report

Merging #110 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #110   +/-   ##
=======================================
  Coverage   78.41%   78.41%
=======================================
  Files          36       36
  Lines        1978     1978
=======================================
  Hits         1551     1551
  Misses        427      427

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 341bcb6...1c4491d. Read the comment docs.


Ansible request for Dragonwell JDK8 boot JDK on Windows

https://github.com/AdoptOpenJDK/openjdk-build/pull/2354 was put in to mitigate the fact that only the alibaba machiens can currently run the Dragonwell builds. This should not be the case - all machines should be able to run any builds, so we need to resolve the underlying problem that was resolved by that PR, and then revert it

with #1727 , this shouldn't be too difficult :-)

with #1727 , this shouldn't be too difficult :-)

[ ] build-azure-win2012r2-x64-1
[ ] build-azure-win2012r2-x64-2
[ ] build-ibmcloud-win2012r2-x64-1
[ ] build-ibmcloud-win2012r2-x64-2

[ ] build-azure-win2012r2-x64-1
[ ] build-azure-win2012r2-x64-2
[ ] build-ibmcloud-win2012r2-x64-1
[ ] build-ibmcloud-win2012r2-x64-2

I think that's all the build machines (except the Alibaba ones, which already have it). Closing issue :-)

I think that's all the build machines (except the Alibaba ones, which already have it). Closing issue :-)


initial lifecycle system/unit tests

Signed-off-by: Alexander Indenbaum<EMAIL_ADDRESS>

@baum Why do we want to run it as a single tests and not in the whole unit test suit?

@liranmauda,
The answer is twofold:

Running in parallel to other tests makes the CI cycle shorter
Having a separate test, makes the development cycle shorter

@liranmauda,
The answer is twofold:

Running in parallel to other tests makes the CI cycle shorter
Having a separate test, makes the development cycle shorter

I don't think we should break it into single tests.
Running it locally while developing is bound do forget single tests.

@liranmauda what do you suggest? could you elaborate?

Closing this PR.
This logic is included in Lifecycle PR

See here


Fix: add build script to postinstall script

Pull Request
Purpose

This PR adds a npm run build script to postinstall script in /1-Authentication/1-Sign-in/App/package.json, to solve the following problem when running npm start

❯ npm start

><EMAIL_ADDRESS>start
> node server.js

node:internal/modules/cjs/loader:446
      throw err;
      ^

Error: Cannot find module 'C:\Users\Yulei_Chen\github\ms-identity-javascript-nodejs-tutorial\1-Authentication\1-sign-in\App\node_modules\msal-node-wrapper\dist\index.js'. Please verify that the package.json has a valid "main" entry
    at tryPackage (node:internal/modules/cjs/loader:438:19)
    at Module._findPath (node:internal/modules/cjs/loader:680:18)
    at Module._resolveFilename (node:internal/modules/cjs/loader:1063:27)
    at Module._load (node:internal/modules/cjs/loader:922:27)
    at Module.require (node:internal/modules/cjs/loader:1143:19)
    at require (node:internal/modules/cjs/helpers:121:18)
    at Object.<anonymous> (C:\Users\Yulei_Chen\github\ms-identity-javascript-nodejs-tutorial\1-Authentication\1-sign-in\App\app.js:9:32)
    at Module._compile (node:internal/modules/cjs/loader:1256:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
    at Module.load (node:internal/modules/cjs/loader:1119:32) {
  code: 'MODULE_NOT_FOUND',
  path: 'C:\\Users\\Yulei_Chen\\github\\ms-identity-javascript-nodejs-tutorial\\1-Authentication\\1-sign-in\\App\\node_modules\\msal-node-wrapper\\package.json',
  requestPath: 'msal-node-wrapper'
}

Node.js v18.17.1

This bug is because it's the first time I run npm start in any chapter, the helper inside /Common hasn't been built before.
Actually, we need to add npm run build to every postinstall in case of the above bug, but this PR just adds for /1-Authentication/1-sign-in/.
Does this introduce a breaking change

    [ ] Yes
    [x] No

Pull request type
What kind of change does this Pull Request introduce?

    [x] Bugfix
    [ ] Feature
    [ ] Code style update (formatting, local variables)
    [ ] Documentation content changes
    [ ] Other... Please describe:

How to test

Get the code

    git clone https://github.com/yuleicul/ms-identity-javascript-nodejs-tutorial.git
    cd ms-identity-javascript-nodejs-tutorial
    git checkout yulei-patch-1
    cd 1-Authentication/1-sign-in/App
    npm install
    npm start

What to check
ex: verify that the following are valid:

The server can be started successfully after running npm start

Other Information

Related issue: Please Fix the following issue I was having when running npm start in sample \4-AccessControl\2-security-groups · Issue #100 · Azure-Samples/ms-identity-javascript-nodejs-tutorial

This solved the problem for me


Add MeshMorph support to the OutlineRenderer

I think that's the last of the renderers that was missing it.
Test:
https://www.babylonjs-playground.com/#4ZI604#2
Before:

After:

Thanks!

Congrats mate!

Sorry, it still had a linting issue :( Fixed it, but too late I think.

No worries I fixed it ;)


[CARBONDATA-3715]Fix Timeseries Query Rollup failure for timeseries column of Date type

Why is this PR needed?
Timeseries query with timeseries column as date,is throwing parsing exception after rollup, because while forming sql for cast expression, it is taking wrong attribute name
What changes were proposed in this PR?
If query is rolled up for date, then take attribute name for forming sql for cast expression.
Does this PR introduce any user interface change?

No

Is any new testcase added?

Yes

Build Success with Spark 2.4.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbon_PR_Builder_2.4.4/380/

Build Success with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/2082/

Build Success with Spark 2.4.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbon_PR_Builder_2.4.4/493/

Build Success with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/2192/

Build Success with Spark 2.4.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbon_PR_Builder_2.4.4/499/

Build Success with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/2198/

Build Success with Spark 2.4.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbon_PR_Builder_2.4.4/507/

Build Success with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/2206/

Build Success with Spark 2.4.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbon_PR_Builder_2.4.4/509/

Build Success with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/2208/

Build Success with Spark 2.4.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbon_PR_Builder_2.4.4/553/

Build Success with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/2252/


Typescript definitions

Any chance we would get Typescript support for the oauth-jsclient?

@ibox4real : We do not have plans at the moment to provide Typescript support, however, I can take this information to my team and see if we can prioritize and have this on the roadmap.
Meanwhile, there is a typescript branch If you'd be interested to take a look at.

@ibox4real You can use the index.d.ts file in the root folder of above mentioned branch in your src/@types/intuit-oauth folder by declaring a module with the name 'intuit-oauth'.
Something like this
declare module 'intuit-oauth' {
  // ... index.d.ts code
  // replace all 'declare' keywords with 'export'
}

Just to be clear, this is a temporary solution till the time types are added to the master/release branch..

Any updates when the types will be released?

Any updates when the types will be released?

hey @abisalehalliprasan , would you all please go ahead and merge the typescript branch and support into master and publish? You can even mark it experimental or something. At this time, I think a lot of the users including myself are either just copying the types into our own type directories or writing our own types.
I think it will be more helpful to merge to master now and note if they may not be complete than to keep them hidden on a separate branch that most users aren't aware of. Thanks!

@gmicek : There a few things which need to be tested before we release the typescript version.
We will prioritize a release very soon. Thanks for the understanding everyone. Will keep this thread posted with updates.

I noticed there's a new pull request which adds typescript definitions, does this mean there'll be a new release soon? It would be really a useful addition.

@digibake : Sorry for the delay. Let me be clear that, we are not working towards the migration of the entire library to TS. I'm not a 100% familiar with this so any feedback would be great.
Do you think publishing the typings alone would help us resolve here?

@programmarchy : Thanks for contributing to the types definitions.

Can we get an update here? It's been years since this was "nearly merged" https://github.com/intuit/oauth-jsclient/issues/33


Should cargo suggest replacing underscores with dashes in package names?

Inconsistency is cropping up in the ecosystem. Some packages use dashes (e.g futures-mpsc) and others underscores (syntex_syntax), without any logical rules whatsoever. Should we stick with just one of these styles?
As a first step towards consistency, I'd like to see cargo suggesting one of the styles when initializing or publishing a crate, if the name does not conform to whatever is considered idiomatic. Thoughts?

It's true that inconsistency is unfortunate, but I would personally not want a warning in Cargo because there's often a legitimate reason to have a _ vs a -, and Cargo can't necessarily distinguish.


Fix MoveMesh cases

Mandatory Checklist
Please ensure that the following criteria are met:

[ ] Title of pull request describes the changes/features
[ ] Request at least 2 reviewers
[ ] If new files are being added, the files are no larger than 100kB. Post the file sizes.
[ ] Code coverage did not decrease. If this is a bug fix, a test should cover that bug fix. If a new feature is added, a test should be made to cover that feature.
[x] New features have appropriate documentation strings (readable by sphinx)
[x] Contributor has read and agreed with CONTRIBUTING.md and has added themselves to CONTRIBUTORS.md

As a general rule of thumb, try to follow PEP8 guidelines.
Description
Addresses #1208
https://github.com/erdc/proteus/commit/8e7c357baa9ed44d11fb404415bc6f7950dd6abe introduced an error in the postStep for MoveMesh in parallel. Specifically, the global mesh object was being updated instead of the subdomain mesh object, leading to a bookkeeping error.
A parallel test command is added to Travis in the FSI directory for testing/covering this behavior.

The parallel test does not pass locally for me.
mpirun -np 2 pytest test_FSI.py -k "floatingCylinder"
============================= test session starts ==============================
platform linux -- Python 3.7.4, pytest-3.4.1, py-1.5.2, pluggy-0.6.0
rootdir: /home/zhanga/barn/proteus/temp_proteusRpath, inifile:
plugins: xdist-1.22.2, forked-0.2, cov-2.5.1
============================= test session starts ==============================
platform linux -- Python 3.7.4, pytest-3.4.1, py-1.5.2, pluggy-0.6.0
rootdir: /home/zhanga/barn/proteus/temp_proteusRpath, inifile:
plugins: xdist-1.22.2, forked-0.2, cov-2.5.1
collected 4 items

test_FSI.py collected 4 items

test_FSI.py F                                                            [100%]
...
[       5]    Newton it 1 == maxIts FAILED convergenceTest = r
[       5]    Newton it 1 norm(r) =  2.89750e-04  		 norm(r)/(rtol*norm(r0)+atol) =  1.15900e+03
[       5] Step failed due to solver failure
[       5] Sequence step failed
[       5] Sequence failed
[       5] System Step Failed
...
=================================== FAILURES ===================================
_______________________ TestIBM.test_floatingCylinderALE _______________________
        ns = NumericalSolution.NS_base(so,pList,nList,so.sList,opts)
        ns.calculateSolution('floatingCylinderALE')
        pos = case.body.getPosition()

>       npt.assert_almost_equal(pos, np.array([0.5, 0.5074055958, 0.]), decimal=5)
E       AssertionError:
E       Arrays are not almost equal to 5 decimals
E
E       Mismatched elements: 1 / 3 (33.3%)
E       Max absolute difference: 0.
E       Max relative difference: 0.01
E        x: array([0.5 , 0.51, 0.  ])
E        y: array([0.5    , 0.50741, 0.     ])

test_FSI.py:189: AssertionError

Which model's Newton iteration is failing?

Which model's Newton iteration is failing?

AddedMass

Have you tried it by commenting out those new postStep lines in MoveMesh.py instead of trying to fix them (just in case the fix is not really a fix)? It runs for me with them commented out. There is also another issue that needs fixing, which is that in the TwoPhaseFlow app Parameters.py, we need to force the AddedMass PETSc configuration to always use the iterative solver configuration. The superlu/superlu_dist configuration seems to work for me reliably, but since the system is singular (constant null space), I think we generally need to be using an iterative solver configured to be robust and scalable for pure Neumann Poisson problems. That doesn't explain why your commit fails and my local changes succeed though, because I haven't made that change yet.

Have you tried it by commenting out those new postStep lines in MoveMesh.py instead of trying to fix them (just in case the fix is not really a fix)? It runs for me with them commented out. There is also another issue that needs fixing, which is that in the TwoPhaseFlow app Parameters.py, we need to force the AddedMass PETSc configuration to always use the iterative solver configuration. The superlu/superlu_dist configuration seems to work for me reliably, but since the system is singular (constant null space), I think we generally need to be using an iterative solver configured to be robust and scalable for pure Neumann Poisson problems. That doesn't explain why your commit fails and my local changes succeed though, because I haven't made that change yet.

Yes commenting out those lines did allow the tests to pass. Maybe for this test the cylinder isn't moving enough for the postStep corrections to matter so much.
I can achieve a similar effect as modifying the AddedMass PETSc configuration for this test case by directly supplying a petsc configuration file right?

You may have to tighten the nonlinear and linear tolerance to get 5 decimal places of accuracy given that the problem is actually nonlinear and there will be some variation in the result of the linear solve.  It looks to me like the test doesn't set the tolerances so they are defaulting to values relative to the characteristic cell diameter, he, which is presumably pretty large for this quick test.

You may have to tighten the nonlinear and linear tolerance to get 5 decimal places of accuracy given that the problem is actually nonlinear and there will be some variation in the result of the linear solve. It looks to me like the test doesn't set the tolerances so they are defaulting to values relative to the characteristic cell diameter, he, which is presumably pretty large for this quick test.

Is there a setting akin to a direct solve like with use superLU in serial? It looks like it's using the superlu_dist petsc options so I'm a little surprised that there would be any differences from the linear algebra.

I think this might take a little longer to diagnose the issue. I'm not convinced that the values should deviate on the order of 1e-5 in parallel if it's using superlu_dist as the linear solver. I'm also not convinced that the mesh coordinates are being reliably updated in parallel.
Just for the sake of getting the tutorials test in place and a parallel test in place, I suggest rolling back the node/element diameter correction as it hasn't led to any noticeable errors and then reopening the corresponding issue. I can take a deeper look at this when I'm actively looking at a relevant case (PUMI falling cylinder case).

OK, maybe try rolling it back on this PR and check if the new parallel tests pass.

Also, to answer your question, use useSuperlu=True automatically does superlu in serial and superlu_dist in parallel.


Product Reviews

I would like to work on adding product reviews into Shoppe, is this something that would benefit the project at this stage?

Shoppe is designed to be light weight and simple to use hence it has the main features for an ecommerce store. You are free to fork the project and modify it for your own use however

I was actually looking to contribute to the shoppe project but if you don't think that it would be a beneficial feature then that is fair enough.

Probably best bringing @adamcooke into the convo to answer that question as he is the guy who developed it. I'm mainly helping with issues, pull requests & some features

I think this is probably something which doesn't need to be within the Shoppe core and would be better implemented by either another module or within the store's app itself.

@adamcooke  You know, I think this feature so much important for eccomerce than email templates, for example.
When we are buying something - revews are important for sure.
So it's nonetheless needed, probably.


change SERVICE_TEMPLATE structure

[ ] Rename to ServiceTemplateRegistrationState Enum – IN_PROGRESS, ACCEPTED, REJECTED
[ ]  add new boolean columns – IS_UPDATE_PENDING – Set this is true when update request is received and then set it back to false when UPDATE review is completed.
[ ] Add new COLUMN – AVAILABLE_IN_CATALOG – boolean – will be set to true when the service is accepted for the first time. Will be set to false when de-registered, or update is submitted with flag ‘isRemoveCurrentTemplateFromCatalog’ true.

I will take it


Add parser arg for parallel

Added parser arg for parallel
Wired arg to models
Added doc for the outputfile

Looks good to me. I don't have multiple devices to test it out parallelize but the flag seems to work 👍


[change] Updated CHANGES.rst

Do we want to include a note that this is the first release under the new home?  I can come up with some verbiage if desired.


Regarding Client-Server App

Hi, I want to test c2tcp with my testbed of a real network environment, not with mahimahi trace data.
My server and client device has installed with your c2tcp kernel and I was able to compile all of your scripts.
Now I want to run client and server app with my real network.
Could you guide me on how to run your server and client app?
As I know, from your src>server.cc, I was able to find the usage
"./server [Delay(ms)] [port] [DL-trace] [UP-trace] [log] [Target] [Initial Alpha] [qsize in pkts] [Report Period: 1 sec] "
however, if I want to run this on two different device in real network, I don't know how to set up with DL-trace / UP-trace.
and client.cc,
"./client [server IP address] [flowid] [request data size(MB)] [dst_ip] [server port] "
what is difference between server IP address and dst_ip?
Thank you.

Hi @limlynn,
I have just released a new version including standalone versions of the server-client applications. You can simply use these applications to test C2TCP over a real environment (and Mahimahi). Please check out the run-sample.sh for how to use them. Basically you need to bring up the server app on the sender side first, then on the client (receiver side), you need to bring up the client app providing the server IP.
Please note that I have updated the Kernel and you need to install the new one so that you can use the standalone applications. (JSAC release still can be find on the v2.0-jsac-19 branch).
Let me know if you have any other questions.

Thank you so much.
I downloaded and tried to run, I got an error with
[server-standalone.cc-CntThread-247] CHECK KERNEL VERSION (0514+) ;CANNOT ENABLE DEEPCC Protocol not available
Do I need to reinstall the kernel?
I have "4.13.1-c2tccp" now and follow run.sh  and run_c2tcp.sh script, except mahimahi setup.

@limlynn, Yes. As I mentioned, the new release requires the new Kernel. Please install the new kernel named 0521 in the linux-patch folder

@limlynn,
Just to elaborate that the scripts on the v2.0-jsac-19 branch (for example: run.sh, run_c2tcp.sh, etc.) are only compatible with the kernel "4.13.1-c2tcp.v2.01" (located in the linux-patch folder of the same branch) and scripts on the master branch are compatible with the kernel "4.13.1-0521-learner" (located in the linux-patch folder of the master branch).
The v2.0-jsac-19 branch is just there for keeping the record of JSAC release!

Thank you @Soheil-ab,
I'm now reinstalling kernel with  "4.13.1-0521-learner".
My machine has "4.4.0-179-generic" as a default, so I downloaded linux-4.13.1.tar.gz first.
After downloading linux-4.13.1.tar.gz, I followed your instruction in [https://github.com/Soheil-ab/C2TCP-IFIP]
But I used the latest patch file from the master branch.
cd linux-4.13.1
patch -p1 < ~/c2tcp/linux-patch/linux-4-13-1-orca-c2tcp-0521.patch
sudo cp /boot/config-uname -r .config
sudo apt-get install libncurses5-dev
sudo make menuconfig
“Processor type and features”, then “Processor family ”. I chose the generic.
And I need to test Vegas and BBR also, so set up the advanced congestion control algorithm.
And finally, I did "sudo make"
And I've got this message,
$ sudo make
...
...
...
...
AR      virt/built-in.o
GEN     .version
CHK     include/generated/compile.h
UPD     include/generated/compile.h
CC      init/version.o
AR      init/built-in.o
AR      built-in.o
LD      vmlinux.o
MODPOST vmlinux.o
net/ipv4/sysctl_net_ipv4.o:(.data+0x17c8): undefined reference to `sysctl_tcp_c2tcp_enable'
Makefile:1000: recipe for target 'vmlinux' failed
make: *** [vmlinux] Error 1
Did I miss something else?
Thank you for your kind response and support.
I really appreciate all of this.

@limlynn,
Maybe my instructions made a confusion, so let me elaborate on them here:
0- Having Kernel version 4.4 doesn't mean that you need to patch the kernel using the source code. You still can install 4.13.1*0521* directly by using the provided packages.
1- There are two ways to install the new kernel:
1-1) The simplest way. Install the Debian packages provided in the linux-patch folder. Start by installing linux-image-* {sudo dpkg -i linux-image-*0521*} followed by installing linux-header*0521* . Then, use grub-customizer application (described in the README file), to bring the "4.13.1-0521-learner" Kernel to the top of the list, save, and reboot (That will make 4.13.1-0521 your default Kernel). Now, you have C2TCP, and all other TCP schemes such as BBR, Vegas, Cubic, etc. To verify that, execute "uname -r". You should see "4.13.1-0521-learner".
1-2) Not that simple! If the first way went well, you are ready to start your tests. However, if you wanna modify the current Kernel source code or compile it considering enabling some specific drivers, etc. you can use the source code to patch the Kernel 4.13.1, compile it using your desired configurations, and install it later.
(I just compiled 4.13.1 using the new patch successfully. So, there shouldn't be any problem with the second option. But, if you really wanna go with second option, let me know. I may add a simple handy script to the repository that can automatically do the compilation and generate Debian packages).
So, plz let me know if using (1-1) doesn't resolve the issue.

@Soheil-ab,
Thank you for providing details with a kind explanation.
I checked the config file and I have excluded Cubic from the compilation.
I'll do make again and hope to succeed to install.
Thank you so much.

@limlynn, I assume that you have compiled the kernel successfully. So, I close this isuue.


Render completed transactions from content store

This format has now been migrated.
https://trello.com/c/unTNbCHi/658-migrate-completed-transaction-format-to-rendered

We could clean up the PublicationPresenter a little bit now that this is done, as it has a number of promotion related methods. Looks great though! 👍


review yarn watch and make it more robust

right now it's not terribly reliable, we need to make it so.
might involve creating a cache system for easy restoration of yarn state.
should resolve #11 as well

fixed via https://github.com/yarnjs/yarn/commit/3dfc1b31a0dd6e618d58c8f4c8626c68bf7bda19


Support for Watsonx ai model for langchain extension

Changes for supporting Watsonx.ai (https://python.langchain.com/v0.2/docs/integrations/llms/ibm_watsonx/)

 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.


Updating your README.md file and adding CODE_OF_CONDUCT.md

I want to add How to Contribute ,as it will be helpful for beginners and also adding contributers profiles into it and also want to add CODE_OF_CONDUCT.md

Hi Sowham (@Sowham-3098)!
We already have a CONTRIBUTING.md and code of conduct should be inspired by this.
Is that what you had in mind?

Yeah! I also want to add all contributors profile images in main readme.md and it will automatically update when anyone contribute in this repo.


Getting Error While running pip3 install -r requirment.txt

`Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
c:\manim>python -m pip install -r requirements.txt
Ignoring pycairo: markers 'sys_platform == "linux"' don't match your environment
Requirement already satisfied: argparse==1.4.0 in c:\program files\python37-32\l
ib\site-packages (from -r requirements.txt (line 1)) (1.4.0)
Requirement already satisfied: colour==0.1.5 in c:\program files\python37-32\lib
\site-packages (from -r requirements.txt (line 2)) (0.1.5)
Requirement already satisfied: numpy==1.16.4 in c:\program files\python37-32\lib
\site-packages (from -r requirements.txt (line 3)) (1.16.4)
Requirement already satisfied: Pillow==5.2.0 in c:\program files\python37-32\lib
\site-packages (from -r requirements.txt (line 4)) (5.2.0)
Requirement already satisfied: progressbar==2.5 in c:\program files\python37-32
lib\site-packages (from -r requirements.txt (line 5)) (2.5)
Requirement already satisfied: scipy==1.3.0 in c:\program files\python37-32\lib
site-packages (from -r requirements.txt (line 6)) (1.3.0)
Requirement already satisfied: tqdm==4.24.0 in c:\program files\python37-32\lib
site-packages (from -r requirements.txt (line 7)) (4.24.0)
Requirement already satisfied: opencv-python==<IP_ADDRESS> in c:\program files\pytho
n37-32\lib\site-packages (from -r requirements.txt (line 8)) (<IP_ADDRESS>)
Collecting pycairo>=1.18.1
Using cached pycairo-1.19.1.tar.gz (205 kB)
Collecting pydub==0.23.0
Using cached pydub-0.23.0-py2.py3-none-any.whl (28 kB)
Processing c:\users\wayne tower\appdata\local\pip\cache\wheels\00\6e\d4\7c4b7bc2
2c090baf4f470e7f35c4f22206277229bdb6607df6\pyreadline-2.1-py3-none-any.whl
Building wheels for collected packages: pycairo
Building wheel for pycairo (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: 'C:\Program Files\Python37-32\python.exe' -u -c 'import sys, setupto
ols, tokenize; sys.argv[0] = '"'"'C:\Users\WAYNET~1\AppData\Local\Temp\pip
-install-172ou340\pycairo\setup.py'"'"'; file='"'"'C:\Users\WAYNET~1\Ap
pData\Local\Temp\pip-install-172ou340\pycairo\setup.py'"'"';f=getattr(token
ize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'
\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d
'C:\Users\WAYNET~1\AppData\Local\Temp\pip-wheel-0yqjrek4'
cwd: C:\Users\WAYNET~1\AppData\Local\Temp\pip-install-172ou340\pycairo
Complete output (18 lines):
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win32-3.7
creating build\lib.win32-3.7\cairo
copying cairo_init_.py -> build\lib.win32-3.7\cairo
copying cairo_init_.pyi -> build\lib.win32-3.7\cairo
copying cairo\py.typed -> build\lib.win32-3.7\cairo
running build_ext
building 'cairo._cairo' extension
creating build\temp.win32-3.7
creating build\temp.win32-3.7\Release
creating build\temp.win32-3.7\Release\cairo
C:\Program Files\Microsoft Visual Studio 14.0\VC\BIN\cl.exe /c /nologo /Ox /W3
/GL /DNDEBUG /MD -DPYCAIRO_VERSION_MAJOR=1 -DPYCAIRO_VERSION_MINOR=19 -DPYCAIRO
_VERSION_MICRO=1 "-IC:\Program Files\Python37-32\include" "-IC:\Program Files\Py
thon37-32\include" "-IC:\Program Files\Microsoft Visual Studio 14.0\VC\INCLUDE"
"-IC:\Program Files\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Fil
es\Windows Kits\8.1\include\shared" "-IC:\Program Files\Windows Kits\8.1\include
\um" "-IC:\Program Files\Windows Kits\8.1\include\winrt" /Tccairo/device.c /Fobu
ild\temp.win32-3.7\Release\cairo/device.obj
device.c
c:\users\wayne tower\appdata\local\temp\pip-install-172ou340\pycairo\cairo\pyc
airo.h(37): fatal error C1083: Cannot open include file: 'cairo.h': No such file
or directory
error: command 'C:\Program Files\Microsoft Visual Studio 14.0\VC\BIN\cl.e
xe' failed with exit status 2
ERROR: Failed building wheel for pycairo
Running setup.py clean for pycairo
Failed to build pycairo
Installing collected packages: pycairo, pydub, pyreadline
Running setup.py install for pycairo ... error
ERROR: Command errored out with exit status 1:
command: 'C:\Program Files\Python37-32\python.exe' -u -c 'import sys, setup
tools, tokenize; sys.argv[0] = '"'"'C:\Users\WAYNET~1\AppData\Local\Temp\p
ip-install-172ou340\pycairo\setup.py'"'"'; file='"'"'C:\Users\WAYNET~1\
AppData\Local\Temp\pip-install-172ou340\pycairo\setup.py'"'"';f=getattr(tok
enize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'
"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --re
cord 'C:\Users\WAYNET~1\AppData\Local\Temp\pip-record-wa2qfl0f\install-record.tx
t' --single-version-externally-managed --compile --install-headers 'C:\Program F
iles\Python37-32\Include\pycairo'
cwd: C:\Users\WAYNET~1\AppData\Local\Temp\pip-install-172ou340\pycairo\
Complete output (18 lines):
running install
running build
running build_py
creating build
creating build\lib.win32-3.7
creating build\lib.win32-3.7\cairo
copying cairo\__init__.py -> build\lib.win32-3.7\cairo
copying cairo\__init__.pyi -> build\lib.win32-3.7\cairo
copying cairo\py.typed -> build\lib.win32-3.7\cairo
running build_ext
building 'cairo._cairo' extension
creating build\temp.win32-3.7
creating build\temp.win32-3.7\Release
creating build\temp.win32-3.7\Release\cairo
C:\Program Files\Microsoft Visual Studio 14.0\VC\BIN\cl.exe /c /nologo /Ox /

W3 /GL /DNDEBUG /MD -DPYCAIRO_VERSION_MAJOR=1 -DPYCAIRO_VERSION_MINOR=19 -DPYCAI
RO_VERSION_MICRO=1 "-IC:\Program Files\Python37-32\include" "-IC:\Program Files
Python37-32\include" "-IC:\Program Files\Microsoft Visual Studio 14.0\VC\INCLUDE
" "-IC:\Program Files\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program F
iles\Windows Kits\8.1\include\shared" "-IC:\Program Files\Windows Kits\8.1\inclu
de\um" "-IC:\Program Files\Windows Kits\8.1\include\winrt" /Tccairo/device.c /Fo
build\temp.win32-3.7\Release\cairo/device.obj
device.c
c:\users\wayne tower\appdata\local\temp\pip-install-172ou340\pycairo\cairo\p
ycairo.h(37): fatal error C1083: Cannot open include file: 'cairo.h': No such fi
le or directory
error: command 'C:\Program Files\Microsoft Visual Studio 14.0\VC\BIN\cl
.exe' failed with exit status 2
----------------------------------------
ERROR: Command errored out with exit status 1: 'C:\Program Files\Python37-32\pyt
hon.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\
WAYNET~1\AppData\Local\Temp\pip-install-172ou340\pycairo\setup.py'"'"'; __
file__='"'"'C:\Users\WAYNET~1\AppData\Local\Temp\pip-install-172ou340\pyc
airo\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.r
ead().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, _file
_, '"'"'exec'"'"'))' install --record 'C:\Users\WAYNET~1\AppData\Local\Temp\pip-
record-wa2qfl0f\install-record.txt' --single-version-externally-managed --compil
e --install-headers 'C:\Program Files\Python37-32\Include\pycairo' Check the log
s for full command output.
c:\manim>`

It seems that pycairo installation was failed while automatic installation. Then, what about to try manual installation for pycairo and then re-try installation for requirement.txt.
To install pycairo manually:

download package for windows from: https://www.lfd.uci.edu/~gohlke/pythonlibs/#pycairo
filename: pycairo-1.18.2-cp37-cp37m-win_amd64.whl
After downloading the file, run below command in the directory of download file exist

pip3 install pycairo-1.18.2-cp37-cp37m-win_amd64.whl

Thanks, I resolved this issue.
But now I am facing another issue.
Though I started different issue for it.
Need help in this issue. Please have a look.
https://github.com/3b1b/manim/issues/978

@eulertour This has been resolved


bug fix

What bug? Maybe add a unit test that would fail without this change?

Both are correct. I suggest you try Googling how to detect if something is NaN.

yeap, i got some misunderstood, sorry


Aggregates test reports failed in CI - Unit - Brokers - Broker Group 1

Describe the bug
Aggregates test reports failed in CI - Unit - Brokers - Broker Group 1
To Reproduce
See: https://github.com/apache/pulsar/runs/7229588051?check_suite_focus=true#step:12:22
Expected behavior
Should not fail in this CI step.
Additional context
Prepare all required actions
Run ./.github/actions/copy-test-reports
Run $GITHUB_WORKSPACE/build/pulsar_ci_tool.sh move_test_reports
Copying reports from ./pulsar-broker/target/surefire-reports
rm: cannot remove './pulsar-broker/target/surefire-reports': Directory not empty
Error: Process completed with exit code 1.

Closed as stale. IIRC we change the reporting logic a lot.


Issue template

This PR is an update to the PR issue template fixing some grammar errors.

Thanks for fixing grammar @vegasbrianc
You already opened a PR #362 by adding a GitHub link there.

Removed the commit reference to #362


Modules and Webhooks Support (test cases added)

Add support for the front-end to fetch modules from the back-end;
Add Webhooks support in the back-end.
Add test cases for ModuleController.

Pull Request Test Coverage Report for Build 2860

9 of 11 (81.82%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.09%) to 91.248%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

lib/cadet_web/controllers/module_controller.ex
6
8
75.0%

Totals

Change from base Build 2849:
-0.09%

Covered Lines:
1053

Relevant Lines:
1154

💛  - Coveralls

Sorry I should merge to sa_2021.


Stop shipping Razor language server bits to NuGet.org.

This was a total oversight on my part. These bits were never intended to be shipped to NuGet.

Fixes dotnet/aspnetcore#19072
@dougbu / @wtgodbe out of curiosity is there a reason why shipping defaults to true vs. being opt-in?
@anurse Can we unlist all 4 of these packages from NuGet.org?

Arcade sets the default to true here and someone at some point made the call to enforce the same default for the src/Razor/src region here. I don't remember the exact history.
We have some variance between our repos e.g. dotnet/aspnetcore has a relatively complicated default set here

Oh, and the basic idea for being opt-out is that creating a package at all is already opt in (though our repos have complicated defaults there) and generally the reason for a package is to ship the content to customers -- not to limit sharing to our own sphere of repos

I have unlisted all versions of the following packages. Let me know if there are any additions or if you want any of them relisted:

Microsoft.AspNetCore.Razor.OmniSharpPlugin.StrongNamed
Microsoft.AspNetCore.Razor.OmniSharpPlugin
Microsoft.AspNetCore.Razor.LanguageServer.Common
rzls

It's likely these are on the queue to be published in 3.1.3, since this change is happening in master. I'll try to track that down and see if we can pull them from that release.

Yep, these are in the shipping set of packages for 3.1.3. When the rebuild is finished I'll have to go in and remove them.

@anurse @NTaylorMullen we could backport this to 3.1 today, if you think that'd be safer than manually removing those packages from the drop. If it's merged before ~2 PM it won't delay the build at all.

We'll need to backport this to 'release/3.1' in any case. If @NTaylorMullen can do that today, seems best-est.
Unfortunately I don't think we have the same runway for the 'release/5.0-preview1' branch. @anurse, @mmitche or @wtgodbe can we clean these files up before that release?

@dougbu I don't think we have that runway, so check into master.

@mmitche thought so. Can we remove the files from the staging area?

@mmitche thought so. Can we remove the files from the staging area?

Yeah. Let me do that now

Agreed. We need it in release/3.1 no matter what. So @NTaylorMullen please open a backport PR (this is tell-mode IMO). If @wtgodbe says we're good to go when it's ready to merge, cool. If we miss it, I can remove the packages from the staging area and we'll have the fix queued for 3.1.4.

I've gone ahead and ported the change to 3.1: https://github.com/dotnet/aspnetcore-tooling/pull/1639/files
Should I close out this PR and rely on the merge back?

Should I close out this PR and rely on the merge back?

Yes

Closing since this change will flow from the release/3.1 branch.


Mouse mode. Copy to clipboard.

For mouse support It's mentioned: 'press y before releasing mouse.'. It works - and a can type prefix+] to paste earlier selected text. Are there something like this for copy to clipboard?
p.s.
'prefix + y - copies text from the command line to clipboard.' - Does not work (I thought prefix: C-a - is the reason, but with another prefix is doesn't work too). After hotkey - tmux appears in copy-mode, and command line filled.
tmux 2.2
OpenSuse Leap 42.2

This may have been due to a bug I put in.
Can you get the latest copy and try again? The press y before releasing the mouse should copy to the clipboard as well, now.

So, i've reinstalled tmux-yank by Tmux Plugin Manager. The error remains.

Do you have xclip or xsel installed?
If you use xsel, test this command to see if it pastes "FOOBAR" correctly:
$ echo FOOBAR | xsel -i --clipboard

If you use xclip, test this command to see if it pastes "FOOBAR" correctly:
$ echo FOOBAR | xclip -selection clipboard

If those don't work, then that is the source of your problem.
If they work with the wrong clipboard (there are several in X-Windows) then you can change it by setting (as per the README):

Linux Clipboards
Linux has several cut-and-paste clipboards: primary, secondary, and clipboard.
You can change this by setting @yank_selection:
# ~/.tmux.conf

set -g @yank_selection 'primary' # or 'secondary' or 'clipboard'

$ echo FOOBAR | xclip -selection clipboard - works correctly, but the problem remains.

@ltWolfik I created issue #93 for the prefix-y problem, since it is (most likely) separate.
What terminal emulator are you using? Is it possible that the y isn't being sent while using the mouse to select?

@docwhat I tested again right now, and now it works correctly with clipboard too! I really don't know why (maybe the problem got solved after some update).
Thanks!
p.s. I use Konsole by KDE

Huh.  Weird. sigh


IR receiver - I don't see any signals

Hello. I use NodeMCU v3. Arduino IDE 2.3.2
I don’t see the port in the monitor, IR signals from the remote control (Samsung, LG)
TSOP 4838
Not connected to the machine (if this is important)
On the NodeMCU they are connected as in the diagrams (D5,D6,D7)
In Config.h I uncommented the line
#define DEBUG_IR_RECV
uploaded a sketch
VanBus version 0.4.0 initialized; VanBusRx queue of size 30 is set up
Setting up IR receiver
ESP will enter light sleep mode after 5:00 minutes of inactivity; listening on pin D1 (GPIO5) for VAN bus activity to wake up from sleep.
Connected to Wi-Fi SSID '*******'
Wi-Fi signal strength (RSSI): -52 dB
Please surf to: http://<IP_ADDRESS>/MFD.html
Maybe there is still something that needs to be done?

Hi, the IR functions only work with the original remote control (that comes with the vehicle), and the MFD type C. The VAN bus pins must be connected to the vehicle's VAN bus

Thank you. Now I understand. I just have a 5" display on my Peugeot 607.


Support for adding messaging service in the Services Page in OpenMetadata UI.

Currently, we have support for adding a database service under the Services page in the UI. We need to add support for messaging service in addition to it.

Closing this as there is already issue for this #267


Better default web search function

Is your feature request related to a problem? Please describe.

The current http_request function included in memgpt_extras isn't meant for serious web browsing use
We should include a better set of web browsing related functions exposed as functions/tools to the LLM

Describe the solution you'd like

search_web tool to execute basic web search
browse_web tool to OCR a website

We should keep http_request in for API uses, but it should be delegated to APIs and not used for general web browsing.
Can take inspiration from:

https://github.com/RandomInternetPreson/LucidWebSearch
https://github.com/oobabooga/text-generation-webui/discussions/932

There are some considerations about search engine terms of service. Google and Bing specifically have APIs and associated costs. Accessing Bing or Google with a program requires using the API. This would be Ideal for MemGPT to use.
There are Free Tiers for both Google and Bing. This is good for occasional use, but for serious usage, you can need to pay. You will also need a way to add API Keys for the Search.
Google API Info: https://developers.google.com/custom-search/v1/overview
Google API Pricing: https://support.google.com/programmable-search/answer/9069107?hl=en
Bing API Info: https://www.microsoft.com/en-us/bing/apis/bing-web-search-api
Bing API Pricing: https://www.microsoft.com/en-us/bing/apis/pricing

You might build off of my google api function, it is configured for google custom search and can be expanded. I had adjusted things to limit the amount of info returned in the name of context window savings. Also, the free tier for google search allows a lot of free searches per month. Just going off memory I'm thinking I read 100,000? idk it was awhile ago but when I saw it I know I said to myself, no way I'm hitting that limit.