trabl install end start

pip install -U git+https://github.com/constverum/ProxyBroker.git

DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Collecting git+https://github.com/constverum/ProxyBroker.git
Cloning https://github.com/constverum/ProxyBroker.git to /tmp/pip-req-build-1lmtNa
Running command git clone -q https://github.com/constverum/ProxyBroker.git /tmp/pip-req-build-1lmtNa
Installing build dependencies ... done
Getting requirements to build wheel ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python2 /usr/local/lib/python2.7/dist-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /tmp/tmpRFg8S1
cwd: /tmp/pip-req-build-1lmtNa
Complete output (4 lines):
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/pep517/_in_process.py", line 16, in
from importlib import import_module
ImportError: No module named importlib
ERROR: Command errored out with exit status 1: /usr/bin/python2 /usr/local/lib/python2.7/dist-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /tmp/tmpRFg8S1 Check the logs for full command output.

read a little

3)# pip3 install --upgrade setuptools &&
pip3 install --upgrade pip
Requirement already satisfied: setuptools in /usr/lib/python3/dist-packages (59.6.0)
Collecting setuptools
Downloading setuptools-62.6.0-py3-none-any.whl (1.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 2.8 MB/s eta 0:00:00
Installing collected packages: setuptools
Attempting uninstall: setuptools
Found existing installation: setuptools 59.6.0
Not uninstalling setuptools at /usr/lib/python3/dist-packages, outside environment /usr
Can't uninstall 'setuptools'. No files were found to uninstall.
Successfully installed setuptools-62.6.0
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Requirement already satisfied: pip in /usr/lib/python3/dist-packages (22.1.1)
Collecting pip
Downloading pip-22.1.2-py3-none-any.whl (2.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.1/2.1 MB 3.5 MB/s eta 0:00:00
Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 22.1.1
Not uninstalling pip at /usr/lib/python3/dist-packages, outside environment /usr
Can't uninstall 'pip'. No files were found to uninstall.
Successfully installed pip-22.1.2
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv.
4)replay
pip install -U git+https://github.com/constverum/ProxyBroker.git
Collecting git+https://github.com/constverum/ProxyBroker.git
Cloning https://github.com/constverum/ProxyBroker.git to /tmp/pip-req-build-e4kuzf9q
Running command git clone --filter=blob:none --quiet https://github.com/constverum/ProxyBroker.git /tmp/pip-req-build-e4kuzf9q
Resolved https://github.com/constverum/ProxyBroker.git to commit d21aae8575fc3a95493233ecfd2c7cf47b36b069
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: aiodns>=2.0.0 in /usr/lib/python3/dist-packages (from proxybroker==0.3.2) (3.0.0)
Requirement already satisfied: maxminddb>=1.4.1 in /usr/local/lib/python3.10/dist-packages (from proxybroker==0.3.2) (2.2.0)
Requirement already satisfied: attrs==19.1.0 in /usr/local/lib/python3.10/dist-packages (from proxybroker==0.3.2) (19.1.0)
Requirement already satisfied: aiohttp>=3.5.4 in /usr/lib/python3/dist-packages (from proxybroker==0.3.2) (3.8.1)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
conclusion:
proxybroker find --types HTTP HTTPS --lvl High --countries US --strict -l 10
/usr/local/lib/python3.10/dist-packages/proxybroker/cli.py:379: DeprecationWarning: There is no current event loop
loop = asyncio.get_event_loop()
Traceback (most recent call last):
File "/usr/local/bin/proxybroker", line 8, in
sys.exit(cli())
File "/usr/local/lib/python3.10/dist-packages/proxybroker/cli.py", line 380, in cli
proxies = asyncio.Queue(loop=loop)
File "/usr/lib/python3.10/asyncio/queues.py", line 34, in init
super().init(loop=loop)
File "/usr/lib/python3.10/asyncio/mixins.py", line 17, in init
raise TypeError(
TypeError: As of 3.10, the loop parameter was removed from Queue() since it is no longer necessary
what to do how to be. HELP!!!

As this project is not maintained by the original developer, we've forked ProxyBroker and continued maintaining the proxybroker2 project since 2020 https://github.com/bluet/proxybroker2
If anyone's interested, please join. We need more volunteers. :-)


pkg/assets/internal: remove critical pod annotations

This PR mirrors the work done in https://github.com/coreos/tectonic-installer/pull/1702 to remove the critical pod annotations for control-plane components.
Question: do we also want to remove these annotations from kube-dns and calico?
cc @diegs cc @aaronlevy

I think we should remove them from all--they're only relevant for the rescheduler.

I still spot a few references:
pkg/asset/internal/templates.go:        scheduler.alpha.kubernetes.io/critical-pod: ''
pkg/asset/internal/templates.go:        scheduler.alpha.kubernetes.io/critical-pod: ''
pkg/asset/internal/templates.go:        scheduler.alpha.kubernetes.io/critical-pod: ''
vendor/k8s.io/kubernetes/pkg/features/kube_features.go: // Ensures guaranteed scheduling of pods marked with a special pod annotation `scheduler.alpha.kubernetes.io/critical-pod`
vendor/k8s.io/kubernetes/pkg/kubelet/types/pod_update.go:       CriticalPodAnnotationKey     = "scheduler.alpha.kubernetes.io/critical-pod"

Friendly ping @squat or should we modify this in a separate PR?

This fell off my radar. Let me push a new commit

Superceded by #777


[Dash] Create routes.

[ ] Home
[ ] Settings
[ ] Modules
[ ] Console

Only working on the bot as of now.


Website improvements

A bunch of improvements for the website (see each commit).
In particular, it makes the sidebar more compact and with larger indents:
before:after:

It's much better this way, thanks @TomDLT!

Codecov Report

Merging #389 (3fc4313) into main (1ecd1c9) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #389   +/-   ##
=======================================
  Coverage   56.09%   56.09%
=======================================
  Files          42       42
  Lines        2519     2519
  Branches      476      476
=======================================
  Hits         1413     1413
  Misses       1006     1006
  Partials      100      100

It is much better but we still have some issues:

The body starts before the end of the top bar. Not sure how to fix this.

This is not a problem of the sidebar, but it is a problem of the navbar at the top. For medium size screens, the content is too long and it creates two or three lines. #365
There is probably a more robust/clean solution, but as a workaround I have removed the search box for medium screens. I also removed the link to "write a benchmark", which is long and already highlighted in the frontpage. It is still present in the "Site" dropdown menu.

Great, this is very nice now :)
thanks a lot @TomDLT !!!


Decide on making the default value attributes explicit in the IR

The convolution attributes like  https://github.com/openxla/stablehlo/blob/ce932dd84928c9c6c0f0895167069e9ab11559cd/stablehlo/dialect/StablehloAttrs.td#L199 are optional (used OptionalAttr) but no default values are explicitly provided.
In the event the optional attributes are missing, the defaults values should be such that the semantics of the
op with default values vs with the attributes remains the same. With that 0 and 1 seems to be valid choices for default values for padding and dilation resp. But the fact that this information is not provided explicitly might create confusion. Through this PR we would like to add the needed clarification. One way is to add default value explicit in the IR in the event the optional attributes are missing (some relevant pointer).
Also, note that the problem is not limited to convolution op. There are other ops (like compare and others) to which the issue might be equally applicable.

Related issues: #631, #1311.

Just to capture this in case we want to port it to an API somewhere, I found a pass re-computing the default values as follows for conv op:
auto dnums = conv_op.getDimensionNumbers();
int32_t input_spatial_dims =
      static_cast<int32_t>(dnums.getInputSpatialDimensions().size());
DenseIntElementsAttr window_strides_attr;
window_strides_attr = (conv_op.getWindowStrides().has_value())
                        ? conv_op.getWindowStrides().value()
                        : rewriter.getI64TensorAttr(std::vector<int64_t>(
                              input_spatial_dims, 1));

// If there is no value for the following attributes we set the default
// values according to the MHLO_ConvolutionOp spec
DenseIntElementsAttr padding_attr;
padding_attr = (conv_op.getPadding().has_value())
                  ? conv_op.getPadding().value()
                  : DenseIntElementsAttr::get(
                        RankedTensorType::get({input_spatial_dims, 2},
                                                rewriter.getI64Type()),
                        SmallVector<int64_t>(input_spatial_dims * 2, 0));

DenseIntElementsAttr lhs_dilation_attr;
lhs_dilation_attr = (conv_op.getLhsDilation().has_value())
                        ? conv_op.getLhsDilation().value()
                        : rewriter.getI64TensorAttr(
                              std::vector<int64_t>(input_spatial_dims, 1));
DenseIntElementsAttr rhs_dilation_attr;
rhs_dilation_attr = (conv_op.getRhsDilation().has_value())
                        ? conv_op.getRhsDilation().value()
                        : rewriter.getI64TensorAttr(
                              std::vector<int64_t>(input_spatial_dims, 1));


Optimize midhook stub

The current stub aligns the stack via unnecessary conditionals. Replacing the conditional alignments can be replaced with a constant and rsp, -16.

LGTM.


fix: Only fix Windows console with Colorama

Closes #1378
Not sure how to test this.

908c090 broke the CI it seems. Gotta fix that.


Support of Circular Slider

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Summary 💡
https://github.com/mui/material-ui/tree/v5.10.9/docs/data/material/components/slider
In the current Slider there are various options but Circular Slider option is missing. There should be props which accept variant of slider as Linear or Circular.
Examples 🌈

Motivation 🔦
Just an another options as I can see there are Several people searching for the same, and they end up creating new or using another library just for this single component.
It would be great if someone add this as feature into existing Component

Thanks for the request. I'd love to have it too 🤩.


“Verification Failed” error pop up is shown when invited user try to sign up and already exist user sign up with backup key but using different number.

Frequency: 100%
App version: Staging build v1.5.2 (104694505)
**Does not repro: ** Play store build v1.5.1
Repro on: Samsung Galaxy A8+(8.0.0), Samsung Galaxy Note 5 (7.0)
Pre-condition:
Repro Steps:

Launch the app.
Enter the name, select the country and enter the valid phone number.
Set Security PIN.
Paste the Invitation code or backup key.
Wait for moment and observed Verification Failed Error pop up is shown.

Impact: User is blocked to verify their phone number.
Investigation:

Issue also repro when user Verify the phone number from the setting screen after skip the verification.
Sometimes, user will not get the three verification code.

Current Behavior: “Verification Failed” error pop up is shown
Expected Behavior: User should be able to verify the phone number.
Attachment: Android_VerificationFailed.mp4 (Bug observed at 1: 31 sec)

@jeanregisser Verified with iOS test flight build v1.5.2 (16) and observed the same issue:

“Verification Failed” error pop up is shown when invited user try to sign up and already exist user sign up with backup key but using different number.
Issue also repro when user Verify the phone number from the setting screen after skipping the verification.

Attachment: IOS_VerificationFailed.mp4

Verified with iOS Celo Alfajores Wallet (1.6.0 (21)) and Android Celo Alfa v1.6.0 and found the following:
"Verification Error" pop up is shown while user verifies phone number while sign up with invitation code.
Impact: user is not able to verify their phone number.
Note: User is able to sign up after skipping the verification flow
Attachment: Android and iOS_ Verification issue.mp4

@Lss-Ankit I believe I fixed this on Friday evening when I increased the invite amount.
Can you try again with new invite codes from the faucet (https://celo.org/build/wallet)?
Thanks!

FYI, there is still a known issue with escrow withdrawal after verification though: https://github.com/celo-org/celo-monorepo/issues/2707

@jmrossy Verified with Android Celo Alfajores Wallet Playstore build : 1.6.0 (104794306) and found the following:

"Verification Error" pop up is shown while user tried to verify real phone number (non celo user) using invitation code (which receives from other celo user to non celo user)
Number gets verified when user send invitation code from celo wallet (https://celo.org/build/wallet) and try to sign up using logged in number in 2nd line app
Number gets verified when user restores the account using existing backup key and try to sign up using logged in number in 2nd line app

So, Issue is partially fixed now. Issue repros for Invited user only.
Impact: user is not able to verify their phone number.
Attachment: Android_Verification failed error is shown.mp4

@jmrossy and @jeanregisser Verified issue on latest iOS test flight build v1.6.1 (23) and found the following:

Three verification code are not received when user (Non Celo user) trying to sign up with invitation code which was sent by Celo user
Some times only 1 verification code is received but after pasting it "Invalid Verification code" error message is shown.

Verified on Devices:  iPhone 6+ (12.4.5), iPhone 8 (13.3.1)
Attachment: IOS_Verification_Failure_InviteFlow.mov

@Lss-Ankit I watched the video. The 1 verification code you received arrived before you started the verification process, so it could not have been for that verification attempt. It must have been for a previous attempt.
I think the problem here is that the SMS messages are not reaching your Indian number in a timely manner. Do you agree?

@jmrossy Yes, i have verified the invitation flow using US number and able to sign up successfully also received the send Escrow payment which was sent while inviting a user.

It is possible that 1 verification code was received for previous attempt.
Now, issue is three verification codes are not received for Indian number when user A invite User B on Indian phone number.
I have tried to sign up with Indian phone number and observed that some times three verification code are received and sometimes only 1 or 2 verification are received.

Can you please let me know if i should close this ticket and raise a separate ticket for the same?

@Lss-Ankit Yes please do close this and open a new issue :)

@jmrossy Thanks for the update! As per last comment i have closed this issue and filed a separate issue for indian number : https://github.com/celo-org/celo-monorepo/issues/3039#issue-576925913


stability issue with esp32-cam.

Hello!
I am getting trouble While getting range from the sensor using esp32-cam. It works fine for while but after sometime it gives status error 255 and 12 and the problem is that the device is placed at one place and detecting same object but after sometimes it stops detecting the same object and give status code 255 and 12. I don't understand the behavior of the sensor. Is there any hardware issue or library issue?  I am using esp32-cam and vl53l3cx Time of flight sensor.

Hello @Pratiksha0102 ,
it's difficult to debug because it depends on your hardware setup. When you get a range status different from 0, it means that the object is not clearly seen by the sensor and the range measurement could be not reliable. Maybe it could be an hardware issue on the sensor, if it works for a while and then it stops to work properly.
I have never seen this issue on my side, but I have never tested the library with ESP32 platforms. I always used STM32 boards.
Best Regards,
Carlo

Hello! @cparata,
Thanks for quick response. We moved with vl53l1cx and it works quite well with esp32 platform.
Thanks & Regards,
Pratiksha.


Invenio-damap: Support connection from InvenioRDM

Description

Feature
What does this PR do?

Supports incoming connections from InvenioRDM-based repositories.
Adds 2 new endpoints for:

fetching DMPs and,
setting DMP information based on the InvenioRDM record which is being connected.

Creates a new version after adding a dataset remotely.

Breaking changes

Code review focus

Mapping common maDMP standard dataset to DmpDO.
Dependencies

Checks

[ ] Tested with Oracle/PostgreSQL
[ ] Export updated
[ ] Documentation added
[x] Tests added
[ ] E2e tests created
[ ] Successfully ran e2e tests before merge

closes https://github.com/fair-data-austria/invenio-damap/issues/13, https://github.com/fair-data-austria/invenio-damap/issues/7

Please make sure to squash the commits :)

LGTM :rocket:


Implemented FAN part number detection based on RPM value.

When yadro-hw-manager service is started, we checks available of FUN's PWM-properties.
Then we set a maximum RPM value (PWM is 100%) and after 5sec we read RPM value.
On RPM value we change a FAN part number.
Note: often we can't read PWM/RPM properties via dbus, therefore we try to read
repeatly several time.
End-user-impact: Implemented FAN part number detection based on RPM value.
Signed-off-by: Evgeniy Kislenok<EMAIL_ADDRESS>

As we decided in the chat some architectural changes are required: The fans should not be published in the d-bus until the model is determined.

fixed

Please, rebase your your changes on top of master and squash the commits. Use git push -f to update PR.


(DO NOT MERGE)(PUP-4854) Shorten default PMT TEMP location on Windows

For modules that install on Windows and use a long hierarchical
directory structure, the default TEMP path where PMT extracts the
modules tarball can be problematic. Windows has a default maximum
path length of 260 characters that must be carefully navigated.
By default, the extracted temp location looks like:
C:\ProgramData\PuppetLabs\puppet\cache\puppet-module\cache\tmp-unpackerYYYYMMDD-XXXX-xxxxxxx
The default install location of a puppet 4.0+ module is:
C:\ProgramData\PuppetLabs\code\environments\production\modules
By initially extracting to such a long path, 30 valuable characters
are wasted (92 char current temp path vs 62 char install path).
On Windows, the TEMP directory can be used as a location to extract
to, and this is the default for Dir.mkdir.  Depending on the user,
this path will typically be one of the following:
C:\Users\Administrator\AppData\Local\Temp  (41 chars)
C:\Windows\Temp                            (15 chars)

@andersonmills @joshcooper not sure how you feel about this approach.  The issue could probably be resolved in a way that doesn't special case the code for Windows... but it would be a bit more involved.

CLA signed by all contributors.

Makes sense. Prior to this PR, we extract to one filesystem and (maybe) install to another, which means FileUtils.mv isn't guaranteed to be atomic. But this PR doesn't change that situation.
Also, there's the issue of permissions, and writing to per-user temp directories is generally safe on Windows, e.g. LocalSystem's temp directory should not be writable by non-administrators, but might be good to confirm.

@joshcooper - I should note that without this fix, puppet module install cannot install the current DSC module in the module pipeline acceptance tests, which is why I targeted this at stable.
However, as I understand it, only blockers should currently be targeted at stable.  Given changes can be made to the DSC pipeline to work with a nightly build of puppet-agent, rather than the 1.2.1 "gold" version, this might need to be targeted at master instead.
/cc @justinstoller

@Iristyle so we could workaround this for DSC (in the short term) doing:
C:\work\puppet [stable +25 ~0 -0 !]> bundle exec puppet module install puppetlabs-stdlib --module_working_dir C:/Windows/Temp --debug
...
Debug: Extracting: C:/Windows/Temp/cache/tmp-unpacker20150714-3580-1kd7zvu/puppe
tlabs-stdlib-4.6.0/lib/facter/util/
Debug: Extracting: C:/Windows/Temp/cache/tmp-unpacker20150714-3580-1kd7zvu/puppe
tlabs-stdlib-4.6.0/lib/facter/util/puppet_settings.rb
Notice: Installing -- do not interrupt ...
C:/ProgramData/PuppetLabs/code/modules
└── puppetlabs-stdlib (v4.6.0)

However, if you use backslashes for module_working_dir then the PMT gets confused due to the mismatched back and forward slashes:
C:\work\puppet [stable +25 ~0 -0 !]> bundle exec puppet module install puppetlabs-stdlib --module_working_dir C:\Windows\Temp --debug
...
Error: Could not install package
  Package attempted to install file into
  "C:/Windows/Temp/cache/tmp-unpacker20150714-3276-hqzekd/puppetlabs-stdlib-4.6.0" under "C:\\Windows\\Temp/cache/tmp-unpacker20150714-3276-hqzekd".

Thoughts?

I didn't realize we had a workaround, so :+1:

Not sure how I missed module_working_dir when looking at Puppet::Forge::Cache.base_path - https://github.com/puppetlabs/puppet/blob/master/lib/puppet/forge/cache.rb#L49
It still seems sensible to adjust the default here, but I can understand the risk aversion.

Yeah, on second thought -- my PR breaks the ability to use module_working_dir on Windows and is therefore unacceptable.  Re-thinking...

@joshcooper I refreshed my solution so that we don't ignore a user passed --module_working_dir.  For the DSC case it was necessary to shorten tmp-unpacker (in this case to tmp), otherwise we exhaust the PATH.

I should also note that I tried to remove the second cache directory, but when doing that, PMT tries to flush all of  Puppet::Forge::Cache::base_path - in this case, the entire user's temp directory.  Pretty undesirable.

Awaiting additional review from @joshcooper and @andersonmills

:+1:
Secondary issue, is this supposed to go into 4.2.1 and PE or are branches frozen? /cc @kylog

Opened backport PR against 3.x at #4090


Increase Histogram buckets above 10 seconds

Issue type: Feature request
Would you be open to increasing the upper limit of the histogram buckets?
What happened:
When I have response times over 10 seconds, my graphs are "cut off" above the 10s mark:

This is probably because of the default buckets in the Histogram metrics having an upper bound of 10 seconds.
What you expected to happen:
Either:
a) Higher upper limit bucket so we can measure slower responses than 10s.
b) Ability to configure my own buckets for the histograms.
How to reproduce it (as minimally and precisely as possible):

Have many responses being slower than 10s.
Graph them using histogram quantiles:

histogram_quantile(0.9999, sum(rate(http_response_time_seconds_hist_bucket[10m])) by (le))
Metrics output (remove section, if not applicable):
[...]
# HELP http_response_time_seconds_hist Time needed by NGINX to handle requests
# TYPE http_response_time_seconds_hist histogram
http_response_time_seconds_hist_bucket{method="GET",status="200",le="0.005"} 514876
http_response_time_seconds_hist_bucket{method="GET",status="200",le="0.01"} 1.042195e+06
http_response_time_seconds_hist_bucket{method="GET",status="200",le="0.025"} 1.864966e+06
http_response_time_seconds_hist_bucket{method="GET",status="200",le="0.05"} 2.18366e+06
http_response_time_seconds_hist_bucket{method="GET",status="200",le="0.1"} 2.263013e+06
http_response_time_seconds_hist_bucket{method="GET",status="200",le="0.25"} 2.674159e+06
http_response_time_seconds_hist_bucket{method="GET",status="200",le="0.5"} 2.803495e+06
http_response_time_seconds_hist_bucket{method="GET",status="200",le="1"} 2.946707e+06
http_response_time_seconds_hist_bucket{method="GET",status="200",le="2.5"} 3.080668e+06
http_response_time_seconds_hist_bucket{method="GET",status="200",le="5"} 3.137246e+06
http_response_time_seconds_hist_bucket{method="GET",status="200",le="10"} 3.160643e+06
http_response_time_seconds_hist_bucket{method="GET",status="200",le="+Inf"} 3.173146e+06
http_response_time_seconds_hist_sum{method="GET",status="200"} 1.0411615320055158e+06
http_response_time_seconds_hist_count{method="GET",status="200"} 3.173146e+063.173138e+06
[...]

Environment:

Exporter version: 1.2.1

Other important information:
This seems to be how to change the buckets (by passing custom Buckets []float64 to the HistogramOpts):
https://godoc.org/github.com/prometheus/client_golang/prometheus#HistogramOpts
DefBuckets = []float64{.005, .01, .025, .05, .1, .25, .5, 1, 2.5, 5, 10}

👆 ...and these seem to be the default buckets:
https://godoc.org/github.com/prometheus/client_golang/prometheus#pkg-variables
This is where in the code I imagine it could be set:
https://github.com/martin-helmich/prometheus-nginxlog-exporter/blob/v1.2.1/main.go#L91-L95

Sure thing, shouldn't be too complicated. I'd probably solve this by adding a configuration parameter so that the buckets can be configured using the configuration file.


can't access the webui with https+domain, I have tried to config the nginx proxy manager that proxy itself, but failed. Anyone who can help me  how to config the nginx proxy manager

Checklist

Have you pulled and found the error with jc21/nginx-proxy-manager:latest docker image?

Yes / No

Are you sure you're not using someone else's docker image?

Yes / No

Have you searched for similar issues (both open and closed)?

Yes / No

Describe the bug

Nginx Proxy Manager Version

To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior

I can't access the nginx proxy manager  webui with the  https+domain, I have tried to config the nginx proxy manager that proxy itself, but failed. Anyone who can help me  how to config the nginx proxy manager
Screenshots

Custom Nginx Configuration
location / {
proxy_pass http://nginx-proxy-manager.ix-nginx-proxy-manager.svc.cluster.local:9081;
proxy_set_header Host $http_host;
proxy_redirect  http:// https://;
proxy_set_header X-Forwarded-Host  $http_host;
proxy_set_header X-Forwarded-Port  $server_port;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Scheme $scheme;
proxy_set_header X-Real-IP         $remote_addr;
proxy_set_header X-Forwarded-For   $remote_addr;
proxy_set_header Upgrade    $http_upgrade;
proxy_set_header Connection $http_connection;
proxy_http_version 1.1;
}
Please note, that any add_header or set
Operating System

truenas scale 24.04
Additional context

I need to  access the nginx proxy manager  webui with the  https+domain . I have tried to config the nginx proxy manager that proxy itself , but failed.  it can't access to the webui，Anyone who can help me  how to config the nginx proxy manager  that can access to the web with proxy https

I ran into something similar today (proxying the same IP of the server that ran NPM and was running into the same issue.
In my case it was because I had port 81 restricted in the firewall to a handful of IP ranges, the issue was solved after allowing all traffic on port 81. I was not able to pinpoint the IP used by in the redirect to enable only that range, though.

You can also use the NPM container name as the hostname:


A stable project should have a Release Tag

This has been discussed in #125, #280 and  #312, but there are a few new things to consider.
In 2017 @michaelklishin said :

Maybe once Go adopts an official package management tool, this can be revisited.
It is not default yet, but it exists.

Go Modules is a thing since GO1.11, and although it is still being discussed, the semantic versioning is a key part to make it more viable, just like it is key for every other package manager out there.
Without it, a mod file looks like this:
module amqp/client

go 1.12

require (
	github.com/google/uuid v1.1.1
	github.com/streadway/amqp v0.0.0-20190404075320-75d898a42a94
)

Even without modules, release tags can be used by tools like gopkg.in to have imports like gopkg.in/yaml.v1
This is not only helpful, but also a good practice. This project is stable, but repositories without 1.x release tags are usually considered unstable.
Shall we discuss some more ?

Now that Go 1.13 is out, is there any news about this issue?

gentle ping, please tag v1.0.0

I really can't understad why this project is still unversioned and actually I totally agree with @auyer.
In 2017 there was a valid reason, but now I don't think so. Amqp is potentially a very important depency of a project, so in very important to have a stable ad human-usable versioning.
Please, deal with this.


Release 1.3.1

Codecov Report
Patch and project coverage have no change.

Comparison is base (7cf8b8e) 25.11% compared to head (b64bf31) 25.11%.

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

Additional details and impacted files
@@            Coverage Diff            @@
##             master      #87   +/-   ##
=========================================
  Coverage     25.11%   25.11%
  Complexity      143      143
=========================================
  Files            58       58
  Lines          2254     2254
  Branches        178      178
=========================================
  Hits            566      566
  Misses         1648     1648
  Partials         40       40

Files Changed
Coverage Δ

...webank/wecross/account/service/config/Default.java
0.00% <ø> (ø)

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


Stacks 2.0 Xenon Update

Hi - Is there any progress to adding/updating to Xenon? If someone can share the differences from the
lists found in the readme, I'd be happy to branch.

Install or update operating system prerequisites
build-essential cmake libssl-dev pkg-config jq git bc
Detect or install node version manager (nvm)
Detect or install Node.js (via nvm)
Detect or install Rust (via rustup.rs)
Download or update the stacks-blockchain repository (via git)
Check out the <IP_ADDRESS>-xenon tagged release for Krypton (via git)
Detect or create the keychain file (via blockstack-cli make_keychain)
Detect or request test BTC balance (via keychain file and faucet)
Detect or download miner configuration file (via GitHub)
If downloaded, automatically inserts the private key (via keychain file)
Check test BTC balance before starting the miner process
Start the miner and try to win the sortitions!

Xenon requires running a local instance of bitcoind along with the stacks-node, but I do have some updates staged from testing out a miner myself.
The script would need a similar check both that bitcoind exists and that it could be started correctly.
Itd be nice to pull the rpc user/pass from the conf file for formatting bitcoin-cli commands, too. That way balance can still be checked before starting the miner.
I'm happy to upload what I have if you wanted to try and take it from there?

Hey, that's great! Share what you have and I'll attempt to make some progress.

I merged some new stuff the day before you commented in #47 , including:

bitcoin.conf for bitcoind
xenon-miner-conf.toml for stacks-node
xenon-miner-setup.md with notes and observations while setting it up

I haven't written up any of the logic in the script yet, and I'm open to input to on how everything is structured. As this thing grows it's gonna need some cleaner code.


setup.py get_version fails on Python 3.13

$ python3.13
Python 3.13.0rc2 (main, Sep  7 2024, 08:52:38) [GCC 14.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> def get_version():
...     version_file = "manimpango/_version.py"
...     with open(version_file) as f:
...         exec(compile(f.read(), version_file, "exec"))
...     return locals()["__version__"]
...
>>> get_version()
Traceback (most recent call last):
  File "<python-input-1>", line 1, in <module>
    get_version()
    ~~~~~~~~~~~^^
  File "<python-input-0>", line 5, in get_version
    return locals()["__version__"]
           ~~~~~~~~^^^^^^^^^^^^^^^
KeyError: '__version__'
>>>

Could be due to: https://docs.python.org/3.13/whatsnew/3.13.html#defined-mutation-semantics-for-locals

Thanks for reporting! I've already fixed this issue it in https://github.com/ManimCommunity/ManimPango/pull/111. That PR requires some more work, so I'll close this issue when merging it and release a new version.


Question: Is there an easier way to pull out the department of an employee?

Is there an easier way to pull out the department of an employee? This is what I have right now.. It feels wrong..
department := employee.Attributes["department"].Value.(map[string]interface{})["attributes"].(map[string]interface{})["name"]

Part of the issue is the complexity of personio's API however I am wondering if you guys know if there is something easier that can be done within the project?

Check if this PR serves your needs (see updated readme for how to access department): https://github.com/giantswarm/personio-go/pull/6

Part of the issue is the complexity of personio's API

Complexity is a nice way to state this. 🤭

@lyind That looks much simpler, thanks for the quick addition and support!


Installation script not working properly on Alpine Linux

Hello, I am currently trying to install on Alpine Linux but it keeps getting hung here:

I tried installing with npm first but ran into some file operation issues which I couldn’t solve so I tried installing yarn and now it’s just getting stuck. I left it there for about 45 minutes before attempting to cancel with a Control + C but even that wouldn’t cancel it. Any help would be greatly appreciated.

See if this looks relevant https://github.com/cdr/code-server/discussions/2638.

Alright, I tried uninstalling yarn so that it would force it to use npm on installation. I’m still getting errors similar to what I had before trying yarn.

   Extracting by manifest.
2744 warn tar ENOENT: no such file or directory, lstat '/usr/lib/node_modules/.staging/code-server-7fff8000/lib/vscode/out'
2745 warn tar ENOENT: no such file or directory, futime
2746 warn tar ENOENT: no such file or directory, futime
2747 warn tar ENOENT: no such file or directory, futime
2748 silly extract<EMAIL_ADDRESS>extracted to /usr/lib/node_modules/.staging/debug-7fff8000 (38661ms)
2749 silly extract<EMAIL_ADDRESS>extracted to /usr/lib/node_modules/.staging/js-yaml-7fff8000 (71130ms)
2750 warn tar ENOENT: no such file or directory, open '/usr/lib/node_modules/.staging/code-server-7fff8000/lib/vscode/package.json'
2751 warn tar ENOENT: no such file or directory, open '/usr/lib/node_modules/.staging/ast-types-7fff8000/def/core.d.ts'
2752 silly extract<EMAIL_ADDRESS>extracted to /usr/lib/node_modules/.staging/debug-7fff8000 (27530ms)
2753 warn tar ENOENT: no such file or directory, open '/usr/lib/node_modules/.staging/code-server-7fff8000/lib/vscode/product.json'
2754 warn tar ENOENT: no such file or directory, open '/usr/lib/node_modules/.staging/ast-types-7fff8000/lib/equiv.d.ts'
2755 silly extract<EMAIL_ADDRESS>extracted to /usr/lib/node_modules/.staging/debug-7fff8000 (27075ms)
2756 warn tar ENOENT: no such file or directory, futime
2757 warn tar ENOENT: no such file or directory, open '/usr/lib/node_modules/.staging/ast-types-7fff8000/def/es-proposals.d.ts'
2758 warn tar ENOENT: no such file or directory, open '/usr/lib/node_modules/.staging/ast-types-7fff8000/def/es2020.d.ts'
2759 warn tar ENOENT: no such file or directory, lstat '/usr/lib/node_modules/.staging/code-server-7fff8000/lib/vscode/resources'
2760 warn tar ENOENT: no such file or directory, open '/usr/lib/node_modules/.staging/ast-types-7fff8000/def/es6.d.ts'
2761 warn tar ENOENT: no such file or directory, open '/usr/lib/node_modules/.staging/pem-7fff8000/docs/docco/lib/openssl.html'
2762 warn tar ENOENT: no such file or directory, open '/usr/lib/node_modules/.staging/ast-types-7fff8000/def/es7.d.ts'
2763 warn tar ENOENT: no such file or directory, open '/usr/lib/node_modules/.staging/ast-types-7fff8000/def/esprima.d.ts'
2764 warn tar ENOENT: no such file or directory, lstat '/usr/lib/node_modules/.staging/code-server-7fff8000/lib/vscode/src'
2765 warn tar ENOENT: no such file or directory, open '/usr/lib/node_modules/.staging/ast-types-7fff8000/def/flow.d.ts'
2766 http fetch GET 200 https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz 2102ms (from cache)
2767 warn tar ENOENT: no such file or directory, open '/usr/lib/node_modules/.staging/ast-types-7fff8000/def/jsx.d.ts'
2768 warn tar ENOENT: no such file or directory, open '/usr/lib/node_modules/.staging/pem-7fff8000/docs/docco/lib/pem.html'
2769 warn tar ENOENT: no such file or directory, lstat '/usr/lib/node_modules/.staging/code-server-7fff8000/out/browser/pages'
2770 warn tar ENOENT: no such file or directory, open '/usr/lib/node_modules/.staging/ast-types-7fff8000/gen/kinds.d.ts'
2771 warn tar ENOENT: no such file or directory, open '/usr/lib/node_modules/.staging/code-server-7fff8000/out/browser/register.d.ts'
2772 warn tar ENOENT: no such file or directory, open '/usr/lib/node_modules/.staging/code-server-7fff8000/out/browser/register.js'
2773 warn tar ENOENT: no such file or directory, open '/usr/lib/node_modules/.staging/code-server-7fff8000/out/browser/register.js.map'
2774 warn tar ENOENT: no such file or directory, open '/usr/lib/node_modules/.staging/code-server-7fff8000/out/browser/serviceWorker.d.ts'
2775 warn tar ENOENT: no such file or directory, open '/usr/lib/node_modules/.staging/code-server-7fff8000/out/browser/serviceWorker.js'
2776 warn tar ENOENT: no such file or directory, open '/usr/lib/node_modules/.staging/code-server-7fff8000/out/browser/serviceWorker.js.map'
2777 warn tar ENOENT: no such file or directory, open '/usr/lib/node_modules/.staging/code-server-7fff8000/out/common/emitter.d.ts'
2778 silly extract<EMAIL_ADDRESS>extracted to /usr/lib/node_modules/.staging/socks-7fff8000 (46248ms)
2779 warn tar ENOENT: no such file or directory, open '/usr/lib/node_modules/.staging/code-server-7fff8000/out/common/emitter.js'
2780 warn tar ENOENT: no such file or directory, open '/usr/lib/node_modules/.staging/code-server-7fff8000/out/common/emitter.js.map'
2781 warn tar ENOENT: no such file or directory, open '/usr/lib/node_modules/.staging/code-server-7fff8000/out/common/http.d.ts'
2782 warn tar ENOENT: no such file or directory, open '/usr/lib/node_modules/.staging/code-server-7fff8000/out/common/http.js'
2783 warn tar ENOENT: no such file or directory, open '/usr/lib/node_modules/.staging/code-server-7fff8000/out/common/http.js.map'
2784 warn tar ENOENT: no such file or directory, open '/usr/lib/node_modules/.staging/code-server-7fff8000/out/common/util.d.ts'
2785 warn tar ENOENT: no such file or directory, open '/usr/lib/node_modules/.staging/code-server-7fff8000/out/common/util.js'
2786 warn tar ENOENT: no such file or directory, open '/usr/lib/node_modules/.staging/code-server-7fff8000/out/common/util.js.map'
2787 warn tar ENOENT: no such file or directory, open '/usr/lib/node_modules/.staging/code-server-7fff8000/out/node/app.d.ts'
2788 warn tar ENOENT: no such file or directory, open '/usr/lib/node_modules/.staging/code-server-7fff8000/out/node/app.js'
2789 warn tar ENOENT: no such file or directory, open '/usr/lib/node_modules/.staging/code-server-7fff8000/out/node/app.js.map'
2790 warn tar ENOENT: no such file or directory, open '/usr/lib/node_modules/.staging/code-server-7fff8000/out/node/cli.d.ts'
2791 warn tar ENOENT: no such file or directory, open '/usr/lib/node_modules/.staging/code-server-7fff8000/out/node/cli.js'
2792 warn tar ENOENT: no such file or directory, futime
2793 silly extract<EMAIL_ADDRESS>extracted to /usr/lib/node_modules/.staging/fs-extra-7fff8000 (76971ms)
2794 silly extract<EMAIL_ADDRESS>extracted to /usr/lib/node_modules/.staging/iconv-lite-7fff8000 (47565ms)
2795 verbose unlock done using /root/.npm/_locks/staging-a072192f34a17023.lock for /usr/lib/node_modules/.staging
2796 timing stage:rollbackFailedOptional Completed in 31ms
2797 timing stage:runTopLevelLifecycles Completed in 294504ms
2798 warn<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none is installed. You must install peer dependencies yourself.
2799 verbose stack Error: ENOTEMPTY: directory not empty, rmdir '/usr/lib/node_modules/.staging/readable-stream-7fff8000'
2800 verbose cwd /root
2801 verbose Linux 4.20.69-ish
2802 verbose argv "/usr/bin/node" "/usr/bin/npm" "install" "-g" "code-server" "--unsafe-perm"
2803 verbose node v12.18.4
2804 verbose npm  v6.14.6
2805 error code ENOTEMPTY
2806 error syscall rmdir
2807 error path /usr/lib/node_modules/.staging/readable-stream-7fff8000
2808 error errno -39
2809 error ENOTEMPTY: directory not empty, rmdir '/usr/lib/node_modules/.staging/readable-stream-7fff8000'
2810 verbose exit [ -39, true ]

I didn’t really specify but I attempted adding the dependencies as seen here before trying again.

This doesn't solve the problem with the install script, but installing via npm is currently the recommended path for alpine: https://github.com/cdr/code-server/blob/v3.9.0/docs/install.md#yarn-npm

@Nbelles, see if this response to the discussion helps https://github.com/cdr/code-server/discussions/2638#discussioncomment-422325.


my browser doesn't support http url

Hi there,
Thank you so much for this wonderful tool! I am trying to do one for our newsroom, but yours is much better and robust. Good job!
However, I noticed that the live review index.html included quite a few http link instead of https link. My friends and I installed a plug-in called https everywhere. We were not able to see your preview in this case.
Here are the errors I got on the latest Chrome for Macbook Pro.
7Mixed Content: The page at '<URL>' was loaded over HTTPS, but requested an insecure stylesheet '<URL>'. This request has been blocked; the content must be served over HTTPS.
8Mixed Content: The page at '<URL>' was loaded over HTTPS, but requested an insecure script '<URL>'. This request has been blocked; the content must be served over HTTPS.
jquery-ui.min.js:6 Uncaught ReferenceError: jQuery is not defined     at jquery-ui.min.js:6     at jquery-ui.min.js:6 (anonymous) @ jquery-ui.min.js:6 (anonymous) @ jquery-ui.min.js:6
leaflet-geocoder-mapzen.js:21 Uncaught Error: Leaflet must be loaded first     at leaflet-geocoder-mapzen.js:21     at leaflet-geocoder-mapzen.js:25 (anonymous) @ leaflet-geocoder-mapzen.js:21 (anonymous) @ leaflet-geocoder-mapzen.js:25
app.js:98 Uncaught ReferenceError: $ is not defined     at app.js:98 (anonymous) @ app.js:98
datadesk.github.io/:1 Mixed Content: The page at 'https://datadesk.github.io/web-map-maker/' was loaded over HTTPS, but requested an insecure favicon 'http://d1qqc1e9kvmdh8.cloudfront.net/img/favicon.ico'. This request has been blocked; the content must be served over HTTPS.

@hermionewy Thanks for pointing this out! I'll work on fixing that, probably by including most of the css and javascript files in the repo.


Android issue

Warning: The app gradle file must have a dependency on com.google.firebase:firebase-core for Firebase services to work as intended.

add firebase dependencies from the menu ->
Click Tools > Firebase to open the Assistant window.
Click to expand one of the listed features (for example, Firebase Core), then click the Get Started tutorial to connect to Firebase and add the necessary code to your app.

This is just a warning. According to official docs the core dependency can be absent (
https://firebase.google.com/docs/cloud-messaging/android/client)


DBZ-3017 Allow parentheses for functions with optional

https://issues.redhat.com/browse/DBZ-3017

Thx!

Upstream issue https://github.com/antlr/grammars-v4/pull/2004

Thanks for quick PR! I'll test this fix today locally


Support DEFAULT_CONFIG_NAME when no BUILDER_CONFIGS

This PR supports defining a default config name, even if no predefined allowed config names are set.
Fix #5070.
CC: @stas00

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


Basic implementation of the nRF52840-DK BSP

I did a basic impl for the nRF52840-DK.
So far I only tested it with a simple blinky example.
It needs:

docs
better examples
support for buttons (only the pin reservations are done atm)

I am open for any suggestions, as I am not too familiar with the rust embedded ecosystem, so this impl could be suboptimal. I used @hannobraun's DW1001-Dev impl as a starting point. I did refrain from using a feature flag to enable/disable devboard functionalities as I feel there is sooo many IOs with a full mux, we dont need the pins reserved for the COM UART or the flash SPI to have dual functionality, even tho the HW allows it via Jumpers.
Maybe it is suboptimal to use a fixed UART and SPI peripheral for those functionalities as the chip can do a full mux and maybe a user wants a different peripheral for whatever reason ...
edit: formatting

All changes should be in place as requested.


Technique button crashes the game

Unsure what the problem is, has something to do with the RpgMenu struct not being filled properly

its a result of asm from earlier crashing the game, working on a fix


[#53] Add a custom table paging navigation which shows only the recen…

…t five page links and is styled according to bootstrap

Changes Unknown when pulling 746411eec4b15b4035496ca9bcb9028b18b04ad6 on felixrinker:53-add-custom-table-paging-navigation into ** on flex-oss:master**.

can i view this in an example?

Changes Unknown when pulling c723330bbd1d27c4b3d80ae989a1309def6d1c05 on felixrinker:53-add-custom-table-paging-navigation into ** on flex-oss:master**.

the example doesn't really fully demonstrate the behavior, but i'll merge it anyway ;-)


Fixed null reference in MapXAxes/MapYAxes, #360

Summary
Changed condition from logical AND to logical OR.
Solves
Fixes #360

Thanks!


[ENH] Allow ShapeletTransform and ShapeletTransformClassifier to work with unequal length series

Describe the feature or idea you want to propose
should be fairly easy, see #407 #408
Describe your proposed solution
swap shape[0] for len
Describe alternatives you've considered, if relevant
No response
Additional context
No response

Wasn't this issue solved #820 and #891 ?

yes!


GH-43186: [Go] Use auto-aligned atomic int64 for pqarrow pathbuilders

Rationale for this change
Fixes: #43186
Improves 32-bit support for the pqarrow writer. We may want to push similar changes to other refcount implementations to more completely support running on 32-bit system.

What changes are included in this PR?
Update pathBuilder and multipathLevelBuilder refCounts to use atomic.Int64 which is automatically aligned on 32-bit systems.

Are these changes tested?
The issue reproduces with existing tests when building for a 32-bit architecture, so no new tests were added. This PR adds a "test" step to the existing workflow for 386 architecture builds, currently limited to run the tests fixed in this PR.

Are there any user-facing changes?
32-bit systems should no longer panic when writing parquet files.

GitHub Issue: #43186

@joellubi can we also file an issue for follow-up to track updating the rest of the codebase with this fix?

Does this have any effect on performance at all?

I haven't run formal benchmarks but I would expect the impact to be minimal. The implementation of Int64 is actually pretty simple but interesting:
// An Int64 is an atomic int64. The zero value is zero.
type Int64 struct {
	_ noCopy
	_ align64
	v int64
}

// Add atomically adds delta to x and returns the new value.
func (x *Int64) Add(delta int64) (new int64) { return AddInt64(&x.v, delta) }

So it's actually using the same exact atomic.AddInt64 function we were using before, just with a simple container struct to guarantee alignment rather than having to make sure the int64 is aligned manually in all the structs we use it in.

The difference in this case is that we're guaranteeing that the new atomic.Int64 is always on the heap as opposed to allowing the refcount to be on the stack if the structure itself was on the stack. But i agree that I doubt there'll be much of a performance difference for the allocation in question.

@joellubi can we also file an issue for follow-up to track updating the rest of the codebase with this fix?

Just added an issue.

@joellubi Could you use dev/merge_arrow_pr.* when you merge a PR in this repository? It not only merges a PR but also does some extra tasks such as removing comments from PR description and use it as a commit message.
See also: https://github.com/apache/arrow/tree/main/dev#how-to-merge-a-pull-request

@joellubi Could you use dev/merge_arrow_pr.* when you merge a PR in this repository next time?

Hi @kou. Yes absolutely, thanks for letting me know.

For my own education, did this not make the v17 release today? Is there a way to know when it would end up an actual release in either a bug fix v17 or even v18?

@powersj this was merged after the code freeze for 17.0.0  (1st of July) and as such not part of the release, there where some issues that required fixes to the RCs that delayed the actual release until today. It will be part of 18.0.0. You can usually check the milestone on the issue to see which release it will be part of (the milestone was missing here but I added it)
It is possible to manually add patches to the release branch after the freeze if they are critical/blockers but normally everything that happens on main after the code freeze is not part of the release.
Currently patch releases are only done for severe issues as out process is not setup for an easy release of a single component, though we are working on that. So a patch release is unlikely (but I am not a Go contributor so :shrug:) due to the effort involved (even though it's just a tag for go itself). Sorry for the inconvenience.

@assignUser thanks for detailed response and clearing up the release process.

So a patch release is unlikely (but I am not a Go contributor so 🤷) due to the effort involved (even though it's just a tag for go itself). Sorry for the inconvenience.

OK this helps me understand why we are always consuming a new major version of arrow. I had not dug into the release process, but it always made me a bit uneasy to be grabbing new major versions when updating the dependency.

@powersj there are ongoing efforts to try to start decoupling the major versions of the implementations here in the monorepo so that we could potentially do more minor version releases instead. But we aren't there yet unfortunately.
If this is critical for you to get released sooner than the v18 release we can ask on the mailing list, but if it's not critical then it's unlikely we'll do a patch release of it (unless there are other requests for patch fixes which would get rolled together) as @assignUser said.


[feature#14818] alert-spi support DingTalkPersonalWork

Purpose of the pull request
to add dinding talk personal work notification #14818
Implementation Mechanism：
enterprise-created-chatbot
chat-messages
Brief change log
a new moudle dolphinscheduler-alert-dingtalk-personalwork be added
Verify this pull request
create alert instance to test it

support feishu?

This pr not support feishu，I will do it in another pr.

Codecov Report

Merging #14980 (f60443a) into dev (c5bc535) will decrease coverage by 0.01%.
 Consider uploading reports for the commit b636835 to get more accurate results

@@             Coverage Diff              @@
##                dev   #14980      +/-   ##
============================================
- Coverage     38.90%   38.89%   -0.01%
- Complexity     4606     4613       +7
============================================
  Files          1235     1240       +5
  Lines         43425    43580     +155
  Branches       4805     4807       +2
============================================
+ Hits          16894    16950      +56
- Misses        24657    24754      +97
- Partials       1874     1876       +2

Files
Coverage Δ

...lwork/DingTalkAlertPersonalWorkChannelFactory.java
97.56% <97.56%> (ø)

...rsonalwork/DingTalkPersonalWorkParamConstants.java
0.00% <0.00%> (ø)

...personalwork/DingTalkPersonalWorkAlertChannel.java
14.28% <14.28%> (ø)

...lk/personalwork/DingTalkPersonWorkAccessToken.java
0.00% <0.00%> (ø)

...gtalk/personalwork/DingTalkPersonalWorkSender.java
42.30% <42.30%> (ø)

... and 51 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

I see SonarCloud check and OWASP did not pass. Should I add more unit test? I think OWASP is not about my pr.

Should I put the code into dolphinscheduler-alert-dingtalk moudle？


Avoid overwriting the previous run

When I try to optimize something using the normal rust benchmarks I usually do an initial baseline run of the code before I start and then save the output in a file somewhere. Then, after making the (supposed) improvements I rerun the benchmarks again and compare the results with the baseline to see if it is has improved.
While criterion has this comparison built (which is great!) it also always overwrites the old data after each run which makes it impossible (well, really annoying) to compare against a fixed baseline. I saw the --measure-only flag which disables this overwriting but but unfortunately that does not display any analysis at all.
Perhaps a flag which just disables the overwriting on disk could be added?

Hey, thanks for trying Criterion.rs, and thanks for the suggestion.
I agree, this is something I'd like to improve. Your suggestion is a reasonable way to do that.
I'm afraid I probably won't get around to implementing this right away, but pull requests would be welcome.


Error setting property 'fill' of RNSVGPath

Bug
Error setting property 'fill' of RNSVGPath with tag #5403: JSON value '4288387995' of type NSNumber cannot be converted to NSArray
Unexpected behavior
Svg is not working, when trying to see or open svg component, app is going to crash.
Environment info
React-native-svg: ^12.0.3
React native info output:
Binaries:
Node: 10.16.3 - ~/.nvm/versions/node/v10.16.3/bin/node
npm: 6.9.0 - ~/.nvm/versions/node/v10.16.3/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
IDEs:
Xcode: 11.0/11A420a - /usr/bin/xcodebuild
npmPackages:
react: 16.12.0 => 16.12.0
react-native: 0.61.5 => 0.61.5
npmGlobalPackages:
react-native-cli: 2.0.1
Library version: ^12.0.3
Steps To Reproduce

npm i react-native-svg
cd ios
pod install
Open your app and go to SVG compoent.

Describe what you expected to happen:

Svg file should be working fine.

Did you have an earlier version installed from before? Did you try clearing the metro cache?

Getting a similar error:
Error while updating property 'fill' of a view managed by: RNSVGPath

null

java.lang.Double cannot be cast to java.lang.String

Same problem here, fixed downgrading to v9.13.6

It seems like the error came with version 11.0.1, as it is still working in 11.0.0.

Same problem here, fixed downgrading to v9.13.6

It's work for me ! 🚀 🚀

Same problem here, fixed downgrading to v9.13.6

Worked for me too!

Due to older version didn't unlink or removed properly so it was not working, After removing the  cache and removed everything then did a new install will works.


Fixed NPE

Added a null check for the string as it was throwing an NPE.

Thanks, but the proper fix would be to return null if the string is null. Can you please change that? Then we can merge this.

Superseded by https://github.com/hibernate/hibernate-orm/pull/7939 and https://github.com/hibernate/hibernate-orm/pull/7940


When enabling raw input mode, set _lastMousePoint to the screen center (Linux / X11)

On Linux, when "mouse hold" (raw input) mode is enabled, the first win->event.point value after that contains a sudden jump. This seems to be due to the mouse being moved to the center of the window, but the win->_lastMousePoint not being set to the same value. When I added win->_lastMousePoint = RGFW_POINT(win->r.w / 2, win->r.h / 2); to the end of void RGFW_window_mouseHold(...), the problem no longer manifested.
By the way (out of curiosity): I noticed that in the X11 version of RGFW_window_checkEvent(), the MotionNotify case contains this odd code block:
win->event.point.x = E.xmotion.x;
win->event.point.y = E.xmotion.y;

if ((win->_winArgs & RGFW_HOLD_MOUSE)) {
	win->event.point.y = E.xmotion.y;

	win->event.point.x = win->_lastMousePoint.x - abs(win->event.point.x);
	win->event.point.y = win->_lastMousePoint.y - abs(win->event.point.y);
}

win->_lastMousePoint = RGFW_POINT(E.xmotion.x, E.xmotion.y);

Is this deliberate, or just a leftover of some debug logic? It seems like subtracting E.xmotion from win->_lastMousePoint would have worked just as well (and I haven't yet noticed any problems in practice when I simplified the contents of the if block that way) 🤔

@dairin0d These should be fixed with the latest commits.

Now everything seems to work well on Linux. Thanks!


Make "not" stateless

This does the following things:

bumps browserslist because the CLI told me to
removes method binding inside Control constructor (which btw I can live without and am happy to revert 😄)
makes .not stateless, as described in #125

@rkrupinski this looks good! Can you just revert bumping any dependencies? It makes reviewing much harder.

True that.

One more thing: I think it's much better to prevent multiple negations so expect(1).not.not.toEqual(1) is simply a error.

Yeah... ok. The bread&butter of this PR is to make .not side-effect-free anyway.

@all-contributors please add @rkrupinski for code

Thanks for this!


RL approach with Dummy RLOptionLearner.

Loops through online learning trajectories and compiles online experience data for each option. The online experience data consists of the lists of [states, actions, rewards, and relative_parameters] from every time the option was called. This data is passed to an RLOptionLearner that is instantiated for each option (because the RLOptionLearner will need to maintain state unique to the learning process for its option). The RLOptionLearner returns an updated parameterized_option which replaces the old one in the corresponding NSRT. Right now there is a dummy option learner which doesn't actually update the option.
Reviewers: the main thing to look at is 1) overall logic before I spend much time integrating non-dummy RLOptionLearners, in case big things need changing and 2) whether certain computations (especially for the option's relative parameters) can be achieved more concisely and not be made environment specific (e.g. can changing parameters all be computed from the _Option's attributes?). I will continue to update some comments, add tests, and improve some code readability today, but I think it is ready for a first-pass review.
You can run this approach with a command like python3 src/main.py --env cover_multistep_options --approach nsrt_rl --seed 0 --option_learner direct_bc --sampler_learner neural --skip_until_cycle 1.
Some things to think about:

We might want a way to control how many online trajectory collections we do before we update the policies.
Proper credit assignment depends on good sampling. We should use oracle samplers at the beginning, and think carefully about the implications of learned samplers and what that means for how we assign rewards. Is an option failing to achieve its subgoal because its policy is bad, or because it's just impossible or incredibly hard to do so due to 1) a bad (e.g. unreasonable, infeasible) subgoal being proposed or 2) being in a state that makes achieving this subgoal very hard, such that part of the "fault" is attributed to a how a previous option was executed or a previous sampled subgoal.
Isn't a lot of what we normally do in RL, in terms of sampling a subgoal, trying an action, and backtracking if it doesn't work, already done in _run_low_level_search()? It seems like we're almost doing the same work twice, specifically because the online learning is happening on the training tasks, too.
Consider two options that are always executed one after the other, Option1 and Option2. Does it make sense to improve on  Option2 even if Option1 doesn't work that well yet? Another way to structure this is to only improve Option1 until it achieves high rewards – that is, we don't even run the options after Option1 during online learning – and then only move to executing and improving Option2, etc after Option1 works well. This also might also make the credit assignment problem easier: if Option1 fails to reach its subgoal precisely, and this offset-state makes it harder for Option2 to succeed, then assigning negative rewards to Option2 may not be correct.

Test is a bit slow due to having 10 training tasks (which I put so that there's at least one that ends up as a partial refinement, so that we get 100% coverage of the code). Maybe can find a seed or certain parameters so that this happens with fewer training tasks?
I put a few # pylint: disable=protected-access when accessing the some attributes of _LearnedNeuralParameterizedOption.parent.[something] => can either make these not private, or can make getters for these attributes.


What is type of training?

What is type of training acegpt , full parameter fine tuning llama  or retrain llama from scratch

Full parameter fine tuning llama.


[dv/mubi] Fix randomization

This changes the distributions for mubi values to be more uniform.
The true and false values weights are scaled so the others become
uniform.
The distributions for 400000 values of mubi4 with weights
False=4, True=2, Others=2 become more uniform: a measurement gives
mubi 00000000 count 0.017827
mubi 00000001 count 0.017930
mubi 00000002 count 0.017708
mubi 00000003 count 0.017695
mubi 00000004 count 0.017825
mubi 00000005 count 0.499032
mubi 00000006 count 0.017642
mubi 00000007 count 0.018132
mubi 00000008 count 0.017825
mubi 00000009 count 0.017962
mubi 0000000a count 0.250962
mubi 0000000b count 0.018163
mubi 0000000c count 0.018027
mubi 0000000d count 0.017687
mubi 0000000e count 0.017718
mubi 0000000f count 0.017862
The previous code's measurement is shown in the linked issue.
Fixes #10257
Signed-off-by: Guillermo Maturana<EMAIL_ADDRESS>

Wow, neat! It's so rare to find an case where we actually want the := form of dist_weight :-D

@matutem this does not work for Xcelium.

That's odd. I assume it fails to compile? What's the error message?

 xmvlog: *E,ILLPRI (../src/lowrisc_dv_cip_lib_0/cip_base_pkg.sv,94|22): illegal expression primary [4.2(IEEE)].
  (`define macro: DV_CHECK [../src/lowrisc_dv_dv_macros_0/dv_macros.svh line 86], `define macro: DV_CHECK_FATAL [../src/lowrisc_dv_dv_macros_0/dv_macros.svh line 190], `define macro: DV_CHECK_STD_RANDOMIZE_WITH_FATAL [../src/lowrisc_dv_dv_macros_0/dv_macros.svh line 254], `define macro: _DV_MUBI_RAND_VAL [../src/lowrisc_dv_cip_lib_0/cip_base_pkg.sv line 83], file: ../src/lowrisc_dv_cip_lib_0/cip_base_pkg.sv line 94)
    `_DV_MUBI_RAND_VAL(4)
                        |
  xmvlog: *E,ILLPRI (../src/lowrisc_dv_cip_lib_0/cip_base_pkg.sv,94|22): illegal expression primary [4.2(IEEE)].

My guess is that the problem is the type(VAR_)'('1), although I can't see why it wouldn't be allowed. @matutem: Is there a reason $ didn't work here?

I can confirm that, that is in fact the problem

@rswarbrick is there a way to force at least once xcelium compile for CI - to make sure this thing doesn't happen in the future?

I have made a PR to revert this change to unblock PR and WD work #10455

@rswarbrick is there a way to force at least once xcelium compile for CI - to make sure this thing doesn't happen in the future?

I'm afraid not: at the moment, lowRISC don't have any Xcelium licences.


Add back time.monotonic import

from time import monotonic got somehow deleted when PR https://github.com/luxonis/depthai/pull/106 was merged.
Adding it back, to fix the crash in the python script.

Works for me.


Add More Pre-Prescribed Propulsion Architectures

Add a pre-prescribed series hybrid-electric (SHE), turboelectric (TE), and partially turboelectric (PE) architecture in FAST based on the number of engines that the user includes on their configuration.
This already exists for conventional (C), fully electric (E), and parallel hybrid electric (PHE) architectures, but more are needed.

Issue is now resolved, refer to PR #31 .


@vue/cli-plugin-babel/preset: Unable to use Babel plugin transform-remove-console?

Version
4.2.2
Reproduction link
github.com/ux-engineer/bug-repro-vue-cli-4-babel-preset-with-custom-plugin
Environment info
  System:
    OS: Windows 10 10.0.18363
    CPU: (8) x64 Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz
  Binaries:
    Node: 12.5.0 - C:\Program Files\nodejs\node.EXE
    Yarn: Not Found
    npm: 6.9.0 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: 44.18362.449.0 (mainly using Chrome and Firefox but those not showing up here?)
  npmPackages:
    @fortawesome/vue-fontawesome: ^0.1.9 => 0.1.9
    @types/vue-moment: ^4.0.0 => 4.0.0
    @vue/babel-helper-vue-jsx-merge-props:  1.0.0
    @vue/babel-plugin-transform-vue-jsx:  1.1.2
    @vue/babel-preset-app:  4.2.2
    @vue/babel-preset-jsx:  1.1.2
    @vue/babel-sugar-functional-vue:  1.1.2
    @vue/babel-sugar-inject-h:  1.1.2
    @vue/babel-sugar-v-model:  1.1.2
    @vue/babel-sugar-v-on:  1.1.2
    @vue/cli-overlay:  4.1.2
    @vue/cli-plugin-babel: ^4.2.2 => 4.2.2
    @vue/cli-plugin-eslint: ^4.1.2 => 4.1.2
    @vue/cli-plugin-pwa: ^4.2.2 => 4.2.2
    @vue/cli-plugin-router: ^4.1.2 => 4.1.2
    @vue/cli-plugin-typescript: ^4.2.2 => 4.2.2
    @vue/cli-plugin-unit-jest: ^4.1.2 => 4.1.2
    @vue/cli-plugin-vuex: ^4.1.2 => 4.1.2
    @vue/cli-service: ^4.1.2 => 4.1.2
    @vue/cli-shared-utils:  4.1.2 (4.2.2)
    @vue/component-compiler-utils:  3.1.0
    @vue/composition-api: ^0.3.4 => 0.3.4
    @vue/eslint-config-airbnb: ^5.0.2 => 5.0.2
    @vue/eslint-config-typescript: ^5.0.1 => 5.0.1
    @vue/preload-webpack-plugin:  1.1.1
    @vue/test-utils: 1.0.0-beta.29 => 1.0.0-beta.29
    @vue/web-component-wrapper:  1.2.0
    bootstrap-vue: ^2.4.0 => 2.4.0
    eslint-plugin-vue: ^6.1.2 => 6.1.2
    jest-serializer-vue:  2.0.2
    portal-vue:  2.1.7
    typescript: ~3.7.5 => 3.7.5
    vue: ^2.6.11 => 2.6.11
    vue-cli-plugin-i18n: ^0.6.0 => 0.6.0
    vue-cli-plugin-webpack-bundle-analyzer: ^2.0.0 => 2.0.0
    vue-cli-webpack:  1.0.0
    vue-eslint-parser:  7.0.0
    vue-form-wizard: ^0.8.4 => 0.8.4
    vue-functional-data-merge:  3.1.0
    vue-hot-reload-api:  2.3.4
    vue-i18n: ^8.15.3 => 8.15.3
    vue-i18n-extract:  0.4.14
    vue-i18n-ts:  0.1.0
    vue-jest:  3.0.5
    vue-json-csv: ^1.2.10 => 1.2.10
    vue-loader:  15.8.3
    vue-meta: ^2.3.2 => 2.3.2
    vue-moment: ^4.1.0 => 4.1.0
    vue-router: ^3.1.5 => 3.1.5
    vue-scrollto: ^2.17.1 => 2.17.1
    vue-style-loader:  4.1.2
    vue-template-compiler: ^2.6.11 => 2.6.11
    vue-template-es2015-compiler:  1.9.1
    vue2-dropzone: ^3.6.0 => 3.6.0
    vuex: ^3.1.2 => 3.1.2
    vuex-module-decorators: ^0.16.1 => 0.16.1
    vuex-oidc: ^3.4.1 => 3.4.1
    vuex-persist: ^2.2.0 => 2.2.0
  npmGlobalPackages:
    @vue/cli: Not Found

Steps to reproduce
Installed the plugin as a dev dependency by: npm i -D babel-plugin-transform-remove-console
Then modified babel.config.js:
module.exports = (api) => {
  var env = api.cache(() => process.env.NODE_ENV);
  var plugins = [];
  // Change to 'production' when configs are working
  if (env === 'development') {
    plugins.push(['transform-remove-console', { exclude: ['error', 'warn'] }]);
  }
  return {
    presets: ['@vue/cli-plugin-babel/preset'],
    // plugins,
    // Doesn't work even when always on?
    plugins: ['transform-remove-console'],
  };
};

Add some console.log() and console.warn() lines in your componen etc runtime code.
What is expected?
Running npm run serve -- --reset-cache and build command with different environments should drop console loggings.
What is actually happening?
I've also tried building the app many times with different environments, but the console loggings are still showing up in the browser's console.
Actually, now that I created this bug reproduction repo, the plugin is working there!
However I cannot figure out what is causing it not to work in my real application. I've also tried nuking npm cache by npm cache clean --force...

Another way would be to configure this with a Webpack plugin instead. However, Babel has this plugin in-built.

I found out that my recent NPM packages upgrades had been interrupted and had not been fully successful. There was some Vue CLI plugins that had different versions.
After nuking node_modules folder and upgrading all the packages this Babel plugin started working!

I meet this problem when build image in Docker. But I can build project successfully in local machine.


feat: add mesgdef scaled value and degrees setter

Add a syntax sugar method for setting all scaled value in mesgdef's field struct, such as SetAltitudeScaled that will receive float64 value representing altitude in meters, the method will automatically convert the value into uint16 form. Additionally, all field that have "semicircles" as units will have degrees setter such as SetPositionLatDegrees, SetPositionLongDegrees, etc; receiving float64 degrees value and the method will automatically convert it to semicircle (int32) form then set the integer value to its targeted field.
This change reduces the need for extra typing when handling scaled values before setting them. Hopefully, this change will also assist users who have minimal context on how to interact with profile messages or who are still learning how to use tools provided by this SDK, such as semicircles and scaleoffset.

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

Project coverage is 100.00%. Comparing base (fd5ef5b) to head (01233b5).

Additional details and impacted files
@@            Coverage Diff            @@
##            master      #263   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           42        42
  Lines         3659      3659
=========================================
  Hits          3659      3659

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


Control commands does not work anymore

Ubuntu 16.04
This is RViz version 1.12.4 (kinetic).

Compiled against Qt version 5.5.1.
Compiled against OGRE version 1.9.0 (Ghadamon)

Ctrl + O does not open a file dialog.
Ctrl + S does not work to save the config file.
Ctrl + Q does not quit RViz.
Can anyone reproduce this issue?

Yes, when I switch back to Indigo I am happy to have Ctrl-S, but in Kinetic a new display/panel/something has stolen that command I think. I would like to restore this behavior.

Seems to be solved for me?!
[ INFO] [1487009245.278498391]: rviz version 1.12.4
[ INFO] [1487009245.278531194]: compiled against Qt version 5.5.1
[ INFO] [1487009245.278539614]: compiled against OGRE version 1.9.0 (Ghadamon)

The hotkeys are working for me on kinetic-devel. I'll close this for now. Please comment here if anyone still has the issue and I'll reopen it.


Supported versions of Trivy and report types

Description
The README has two gaps in documentation that could cause unexpected behavior or errors in the application.

What are the versions of Trivy that have been tested to demonstrate compatibility? Since Trivy is still in a v0 status they do not guarantee backwards compatibility and their reports/outputs may change.
What Trivy report types are supported?

The example report you have in the repo seems to be an image scan output
Is the Kubernetes report supported?

The tool seems great, but was just hoping to have a better understanding of the current scope of functionality!

Hello @pbaumer,
thanks for your interest in the project and your input. I can completely relate to your thoughts. This project started out as a small side-project with no professional intention, but it turned out to be really useful for us and we are using it in our daily work. So I am committed in maintaining and improving it.
I share your observation, that Trivy is evolving fast, and I am focussing on the use cases that are relevant for us as a team. We are exclusively using the image scan. I recently fooled around with the kubernetes scan and find it interesting, since the nature of the findings is similar to the image scan (because it just scans all images in a kubernetes cluster), I would be very interested in supporting it. The first step would be to design a good UI for it, since the intention of the project is to be better than what the console output of Trivy can be. If you have any ideas, I would appreciate a discussion. What would you like the trivy-vulnerability-explorer to do?
Without a question, it is a good idea to cleary state what the vulnerability explorer is currently able to support. If you want, you could create a MR for that, if not, I will keep this issue open and work on it once I find the time. As for versions, I could try to document the supported Trivy version, but my observation is, that the report format is pretty stable so far. I had to work on a breaking change once, so as far as I know, all report formats that trivy used during the past 12 months are supported. Since the documentation about the supported versions would get old really fast, I am somehow reluctant to putting it in a readme. But since Trivy specifies a Schema version, it might be helpful to document, that the explorer currently supports both SchemaVersion 1 and 2.
Let me know if you have any other questions.


[docs|core] Standard contact/friction model

It would be nice to use a standard model for contact and friction if it is not the use, but more importantly to document it.

The same goes for the friction model of SimpleMotor.

Having a look to https://github.com/google-research/tiny-differentiable-simulator/blob/ed753be01c775f3bcc87f8ffa7aa6df4a87d4540/src/rb_constraint_solver.hpp may be a good starting point.


Added destroy method for destroying storage

This adds a new destroy method to the storage which will destroy all its files if possible, and a destroy method on the feed which will invoke that instead of storage.close

8.10.0

nice work.


[vim] Working directory is not restored

https://www.reddit.com/r/vim/comments/4rbf76/help_with_fzf_changing_directory/
Steps to reproduce

cd /tmp
:pwd
:FZF ~
Press CTRL-T to open file in a different window
:pwd (ok)
gT
:pwd (in ~)

Related: https://github.com/junegunn/fzf.vim/issues/147


Stone paper scissors game using python

@keshavsingh4522 I have created a PR regarding the game using python. Please review it once.

reviewed .


[REVIEW]: Please Review my Portfolio

Please ensure that you don't have any personal details in your Portfolio that you don't want to share publicly.
Portfolio link: https://yashsehgal.github.io/portfolio_v_2/
You can also join the discord community here
Feel free to check out other cool repositories of EddieHub Community here

Some suggestions from my side.

Maybe take a look at the mobile view of your portfolio

I would highlight the projects or education with a heading or making them bold

and I think a navbar would be really nice to know what to expect on scrolling down your portfolio

was it intended to include social links at the top and at the bottom?

Otherwise I really love the clean and simple design of your portfolio!

Some suggestions from my side.

Maybe take a look at the mobile view of your portfolio

Yeah, right now I am working on the responsiveness of my portfolio so it will be good on mobile devices too.

I would highlight the projects or education with a heading or making them bold

Alright, This is a nice point, I will look into this.

and I think a navbar would be really nice to know what to expect on scrolling down your portfolio

Yeah Sure, I will try to make a UX like this 😃

was it intended to include social links at the top and at the bottom?

Yes, I did it so that the visitor can go to my profiles from both sections. Isn't it looking clean??

Otherwise I really love the clean and simple design of your portfolio!

Really thanks for the compliment

Edit:

I am Yash Sehgal, I am a Developer, A Designer and A Former Computer Science Student.

Take a look at the a / A

Sure, I will do the listed changes
Really appreciate your reviews. Thanks for your time :) 👍🏽 @schmelto

was it intended to include social links at the top and at the bottom?

Yes, I did it so that the visitor can go to my profiles from both sections. Isn't it looking clean??

Just wonder why the same information on two places but if this was intended from you I think you can keep it.

Improve your layout design & also add light/dark mode features there if ever.

Improve your layout design & also add light/dark mode features there if ever.

Yeah Light/Dark feature would be great 😃

I was going to bring up points about responsiveness and layout but since that's been done,
I want to talk about the content of it
It's very minimal information about yourself and to the point which Is really great, I know a lot of people that struggle to do that
I'd like to add something about the resume, I think you're using two different fonts, that's why the headers and the description do not look consistent.
Overall, It's a great portfolio :)

I was going to bring up points about responsiveness and layout but since that's been done,
I want to talk about the content of it
It's very minimal information about yourself and to the point which Is really great, I know a lot of people that struggle to do that
I'd like to add something about the resume, I think you're using two different fonts, that's why the headers and the description do not look consistent.
Overall, It's a great portfolio :)

Yeah @felixfaisal, I need to change my Resume too it's being updated for so long. Thanks for reminding me 😃 👍🏽

Thank you for sharing - we will review on a livestream when time allows :)

No bot these need to stay.

Reviewed on live stream https://www.youtube.com/watch?v=XT3_O4jULRE
Looks great, here are some thoughts

love the photo
love the social links
skills section is clear, however the hover felt like it was going to be clickable
if possible feature 1 video and 1 blog post higher up so you stand out more (your favourite video for example)


removes Fairs tab from Favorites view

This PR removes the Fairs tab button from the Favorites scrolling tab.

Fails

:no_entry_sign:

Missing Test Files:

src/lib/Components/__tests__/ScrollableTabBar-tests.tsx
src/lib/Scenes/Favorites/__tests__/index-tests.tsx

If these files are supposed to not exist, please update your PR body to include "#skip_new_tests".

  Generated by :no_entry_sign: dangerJS


hw/mcu/nordic: Fix hal_system_start

While current implementation of hal_system_start works fine now, it is
possible that compiler will "optimize" [1] code in a way that it will
not work properly because we first set stack pointer to new location
and then execute some more code which uses local variables.
To make sure this always works fine, let's use inline assembly here to
set stack pointer and then jump to image.
[1] while working with other Cortex-M MCU it happened to me that just
before jumping to image, GCC inserted "ldmia sp! {r3, lr}" which
basically attempted a read outside RAM area since stack pointer was
already at the very end of RAM area.

updated with more optimized version with only 3 asm instructions required (kudos to @kasjer for idea)


Add support for syntax_tree plugins

I have checked that this feature is not already implemented

[X] This feature does not exist

Use case
My primary use-case would be to leverage the syntax_tree-erb plugin to enable using Ruby LSP and syntax tree as my formatter for erb files, as well as ruby files.
Other use-cases would involve using other syntax_tree plugins, be they official, community-driven, or custom to my project.
Description
I propose passing plugins options to the syntax tree formatting runner:
https://github.com/Shopify/ruby-lsp/blob/d1da8858a146d5c600af3371e37a960961080858/lib/ruby_lsp/requests/support/syntax_tree_formatting_runner.rb#L40
...to ensure that Ruby LSP passes along any plugins specified in my syntax tree config to the syntax tree formatter.
Implementation
No response

Thank you for the feature suggestion! I believe this issue is more related to the fact that we don't yet handle ERB files, rather than loading Syntax Tree plugins. I assume that, as long as we load the Syntax Tree configuration (which we do), the plugins should already work out of the box.
But you won't get any features (not just formatting) for ERB files until the LSP has support for them.

Ah thank you for clarifying! I'll close this out then, as the core use-case (formatting ERB files) would require the issue you linked to.
Looking forward to future Ruby LSP features! Hopefully we're not far from a future where we have a single "default" tool for providing IDE-like features to both Ruby & ERB 🙂


Better auth logs for cluster mismatch

Common error is configure client and istiod with different cluster name.
This shows it clearly.
Failed to authenticate client from <IP_ADDRESS>:55098: Authenticator ClientCertAuthenticator: no verified chain is found; Authenticator KubeJWTAuthenticator: could not get cluster Kubernetesx's kube client
Failed to authenticate client from <IP_ADDRESS>:36552: Authenticator ClientCertAuthenticator: no verified chain is found; Authenticator KubeJWTAuthenticator: client claims to be in cluster "Kubernetesx", but we only know about local cluster "Kubernetes" and remote clusters []

@howardjohn: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

lint_istio
116bde5e1a0f97b4af7ae1a6fc9c6f0a818a4245
link
true
/test lint

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@howardjohn: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

lint_istio
116bde5e1a0f97b4af7ae1a6fc9c6f0a818a4245
link
true
/test lint

unit-tests-arm64_istio
116bde5e1a0f97b4af7ae1a6fc9c6f0a818a4245
link
true
/test unit-tests-arm64

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@howardjohn: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

lint_istio
116bde5e1a0f97b4af7ae1a6fc9c6f0a818a4245
link
true
/test lint

unit-tests-arm64_istio
116bde5e1a0f97b4af7ae1a6fc9c6f0a818a4245
link
true
/test unit-tests-arm64

unit-tests_istio
116bde5e1a0f97b4af7ae1a6fc9c6f0a818a4245
link
true
/test unit-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@howardjohn: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

unit-tests-arm64_istio
116bde5e1a0f97b4af7ae1a6fc9c6f0a818a4245
link
true
/test unit-tests-arm64

unit-tests_istio
116bde5e1a0f97b4af7ae1a6fc9c6f0a818a4245
link
true
/test unit-tests

lint_istio
99e1e016ccc59750d251b7c6594fd57b5ae9fdd2
link
true
/test lint

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

/retest

@howardjohn: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

lint_istio
99e1e016ccc59750d251b7c6594fd57b5ae9fdd2
link
true
/test lint

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

In response to a cherrypick label: new pull request created: #52397


Update vulnerability example.

legal banner issue is hard to fix due to the authority issue. I updated the vulnerability example to use minium and maxium password age. Thanks.

awesome.


Add skipped test tracking to JUnit output.

This PR adds skipped test reporting to our JUnit XML output. For example, given this test:
@Test(.disabled("Because I said so"))
func f() {}

The XML output would be, approximately:
<?xml version="1.0" encoding="UTF-8"?>
<testsuites>
  <testsuite name="TestResults" errors="0" tests="1" failures="0" skipped="1" time="12345.0">
    <testcase classname="MyTests" name="f()" time="12344.0">
      <skipped>Because I said so</skipped>
    </testcase>
  </testsuite>
</testsuites>

See also https://github.com/swiftlang/swift-package-manager/issues/7383 which asks for this for XCTest.
Checklist:

[x] Code and documentation should follow the style of the Style Guide.
[x] If public symbols are renamed or modified, DocC references should be updated.

@swift-ci please test

Ah nice, thanks!


Because createStore is deprecated so I changed import of createStore to legacy_createStore in documentation

name: :book: Updated Documentation Content
about: updating content in an existing docs page
PR Type
update an existing page
Checklist

[ ] Is there an existing issue for this PR?

link issue here

[x] Have the files been linted and formatted?

What docs page is being added or updated?

Section:
Page: README.md, applyMiddleware.md, combineReducers.md, createStore.md, store.md, GettingSterted.md, part-4-store.md, part-6-async-logic.md, part-8-modern-redux.md, middleware,md, ThreePrinciples.md, CodeSplitting.md, ConfiguringYourStore.md, ImplementongUndoHistory.md, IsolatingSubapps.md, ServerRendering.md, InitializationState.md, and UpdatingNormalizedData.md

For Adding New Content
What kind of content category is this page (tutorial, how-to, explanation, reference)?
Who is the intended target audience?
What knowledge are we assuming they have?
What are the intended results or takeaways from reading this page?
What is the most critical info they should learn?
For Updating Existing Content
What updates should be made to the page?
Do these updates change any of the assumptions or target audience? If so, how do they change?

Hey, thanks for the PR.  Tbh I haven't yet had time to think about how I want to handle this at the docs level, so I'm going to hold off on this PR for now.

Пичалька


[Feature Request] @beartype + functools.partial support

This feature request comes courtesy @danielward27 at issue #368, who astutely noted that the @beartype decorator currently fails to support functools.partial objects. Notably, this questionable minimal example coercing the functools.partial class into a decorator:
from beartype import beartype
from functools import partial

@beartype
@partial(partial, b=2)  # <-- WTH!?!? no way that actually works. no way...
def fn(a, b=2):
    return a + b

fn(1)  # <-- OMG!!!! @partial(partial, b=2) totally works. Mind. Is. Blown.

...currently raises this mostly unreadable exception:
AssertionError: <method-wrapper '__call__' of functools.partial object at
0x7f70b1957a60> not builtin bound method descriptor.

Just thinking about supporting this makes @leycec vomit all over himself. :vomiting_face:

FWIW I promise I don't actually write code like the above example.
A pattern that is used a lot in jax is something like
@beartype
@partial(jax.jit, static_argnames=["length"])
def fn(a, length=2):
    return a + jnp.ones(length)
fn(1)

i.e. to partially apply arguments to a decorator before wrapping. My double partial was a lazy proxy for that (since jit leads to an error anyway), but perhaps I chose a bad proxy, since this seems to work
from beartype import beartype
from functools import partial

def add_decorator(fn, add):
    return lambda *args, **kwargs: fn(*args, **kwargs) + add

@beartype
@partial(add_decorator, add=5)
def fn(a):
    return a


Add routes as a taino.constructor argument

currently the routes are hard coded into the constructor function.
See code here
This should be an argument that gets passed into the constructor, to make it more generic and less hardcoded.

just closing, it's been a while.


wg_engine: fix aabb for empty shapes and long paths

see https://github.com/thorvg/thorvg/issues/2843
fixed zero points path hendling
created a single shared instance of stoke generator in heap, instead of stack. No performace impact in this case

on mac: ../src/renderer/wg_engine/tvgWgRenderData.cpp:373:14: runtime error: nan is outside the range of representable values of type 'int' SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior ../src/renderer/wg_engine/tvgWgRenderData.cpp:373:14 in ../src/renderer/wg_engine/tvgWgRenderData.cpp:374:14: runtime error: nan is outside the range of representable values of type 'int' SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior ../src/renderer/wg_engine/tvgWgRenderData.cpp:374:14 in ../src/renderer/wg_engine/tvgWgRenderData.cpp:375:14: runtime error: nan is outside the range of representable va

Fixed, please check it


Perform matrix results validation on only result ref params

This will add a check to skip the validation of normal params
while doing the validation for matrix task result ref as params
Fixes #8086
Submitter Checklist
As the author of this PR, please check off the items in this checklist:

[ ] Has Docs if any changes are user facing, including updates to minimum requirements e.g. Kubernetes version bumps
[ ] Has Tests included if any functionality added or changed
[ ] pre-commit Passed
[ ] Follows the commit message standard
[ ] Meets the Tekton contributor standards (including functionality, content, code)
[ ] Has a kind label. You can add one by adding a comment on this PR that contains /kind <type>. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tep
[ ] Release notes block below has been updated with any user facing changes (API changes, bug fixes, changes requiring upgrade notices or deprecation warnings). See some examples of good release notes.
[ ] Release notes contains the string "action required" if the change requires additional action from users switching to the new release

Release Notes
Perform matrix results validation on only result ref params

/hold

/kind bug

/hold cancel

This bug fix needs to be cheery-picked in previous LTS - 0.53, 0.56 and 0.59

/cherry-pick release-v0.59.x
/cherry-pick release-v0.56.x
/cherry-pick release-v0.53.x

/cherry-pick release-v0.56.x

/cherry-pick release-v0.53.x


ci(Mergify): configuration update

This change has been made by @rhahao from Mergify config editor.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Wikidata: Assign a more suitable entity default type than "book"

The Wikidata plugin assigns a fallback value of "book" to any entities that do not have an associated type defined.
https://github.com/citation-js/citation-js/blob/0d974fa73515b9405b189c35c3e79413916f932a/packages/plugin-wikidata/src/prop.js#L196-L209
This is rather a specific identifier. A value of "text" or even, in the vain of schema.org, "thing" would be far preferable - since replacing all instances of "book" with a preferred fallback could lead to misrepresentation.
Even better would be to leave it undefined and allow a fallback value to be optionally defined in the plugin config.

I agree, but CSL 1.0.1 unfortunately does not support a type like text or thing. When the upgrade to CSL 1.0.2 is made the type document will be available for such cases.

Fixed in 09f2e2ddf47bc4bddf16022cdef37b0c40d92ee5


Happy leap day

Only triggered when an absolute date in 2011 is used. Like from=20111201. I know this worked a few days ago.

Traceback:
Traceback (most recent call last):
  File "/usr/share/graphite/lib/python2.5/site-packages/django/core/handlers/base.py", line 111, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
  File "/usr/share/graphite/webapp/graphite/render/views.py", line 46, in renderView
    (graphOptions, requestOptions) = parseOptions(request)
  File "/usr/share/graphite/webapp/graphite/render/views.py", line 240, in parseOptions
    fromTime = parseATTime( queryParams['from'] )
  File "/usr/share/graphite/webapp/graphite/render/attime.py", line 35, in parseATTime
    return parseTimeReference(ref) + parseTimeOffset(offset)
  File "/usr/share/graphite/webapp/graphite/render/attime.py", line 84, in parseTimeReference
    refDate = refDate.replace(year= int(ref[:4]))
ValueError: day is out of range for month

Looks like it's here:
https://github.com/tmm1/graphite/blob/master/webapp/graphite/render/attime.py#L83-84
The year is being adjusted from the current time and there's no Feb 29 in 2011.


Preparing new release 2024-03-22.

Looks good - please finalize ASAP before the OBO Dashboard gets updated.


Updated to log4j 2.17.0 which fixes CVE-2021-45105. Resolves #759

Description
Updates log4j to 2.17.0
Issues Resolved
Resolves #759
Check List

[x] New functionality includes testing.
[x] New functionality has been documented.

[x] New functionality has javadoc added

[x] Commits are signed with a real name per the DCO

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #760 (9669c38) into main (1dedd42) will increase coverage by 0.10%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##               main     #760      +/-   ##
============================================
+ Coverage     91.39%   91.49%   +0.10%
- Complexity      630      633       +3
============================================
  Files            75       75
  Lines          1870     1870
  Branches        160      160
============================================
+ Hits           1709     1711       +2
  Misses          121      121
+ Partials         40       38       -2

Impacted Files
Coverage Δ

...com/amazon/dataprepper/pipeline/ProcessWorker.java
91.42% <0.00%> (+5.71%)
:arrow_up:

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 1dedd42...9669c38. Read the comment docs.