[Storage] [Tests] Fixed Changefeed Auth Sample test

Fixed Changefeed Auth Sample test

API change check
API changes are not detected in this pull request.

@nickliu-msft :  I won't block the PR on it, but please either join the "Microsoft" org on GitHub or make your membership public.   We require public "Azure" and "Microsoft" memberships from all internal contributors.

@nickliu-msft : I won't block the PR on it, but please either join the "Microsoft" org on GitHub or make your membership public. We require public "Azure" and "Microsoft" memberships from all internal contributors.

@jsquire Thank you for bringing this to my attention! Seems like my membership to the Microsoft org was private, I just made it public.


reviewdog outputs raw format instead of code suggestion

When running sqlfluff fix on  changes that end up being more than a few lines of sql, instead of a code suggestion on pr review it gets outputted in raw format.  Wondering why that's the case or if there is something with my workflow implementation?
small change:

change that is over 20 lines long:

.sqlfluff config:
dialect = bigquery
templater = dbt
rules = core
exclude_rules = L008, L032, L031, L040

[sqlfluff:templater:dbt]
project_dir = .

[sqlfluff:templater:jinja]
apply_dbt_builtins = True

[sqlfluff:rules]
capitalisation_policy = consistent
extended_capitalisation_policy = consistent

[sqlfluff:rules:L016]
max_line_length = 200

workflow:
steps:
      - name: Checkout
        uses: actions/checkout@v3
        with:
          fetch-depth: 1

      - uses<EMAIL_ADDRESS>        id: fix-sql
        env:
          DBT_PROFILES_DIR: '${{ github.workspace }}/dbt'
        with:
          github_token: ${{ secrets.GITHUB_TOKEN }}
          working-directory: '${{ github.workspace }}/dbt'
          level: 'warning'
          reporter: github-pr-review
          filter_mode: 'added'
          reviewdog_version: '0.14.1'
          sqlfluff_version: '1.4.5'
          sqlfluff_command: 'fix'
          paths:  "${{ github.workspace }}/dbt/models"
          config: "${{ github.workspace }}/dbt/.sqlfluff"
          extra_requirements_txt: "${{ github.workspace }}/dbt/sqlfluff_requirements.txt"

      - name: 'Show outputs (Optional)'
        shell: bash
        run: |
          echo '${{ steps.fix-sql.outputs.sqlfluff-results }}' | jq -r '.'
          echo '${{ steps.fix-sql.outputs.sqlfluff-results-rdjson }}' | jq -r '.'

We are still seeing this issue. Any reason this thread was closed?


Deleting the person

Because the authors section of dataset_description.json file is not defined explicitly, distinguishing between organization and persons is not possible. So we decided to exclude this from first release.

We decided in the openMINDS dev meeting on 2024-06-17 to keep this functionality, but to add a warning to the report (see #50) that correct conversion cannot be guaranteed.


"A specified logon session does not exist. It may already have been terminated"

Received this error when creating my first IIS certificate.  I found that the certificate was created and could be manually selected in the IIS bindings dialog, but it wasn't automatically assigned in place of the previous existing certificate.
Screen output follows:
`Authorizing Identifier www.i2ac.com Using Challenge Type http-01
Writing challenge answer to C:\inetpub\wwwroot.well-known/acme-challenge/QttxT
W7PmS7pQTeHSk4Fwd0FmgdD9K0fR2ZVcV6dup4
Writing web.config to add extensionless mime type to C:\inetpub\wwwroot.well-k
nown\acme-challenge\web.config
Answer should now be browsable at http://www.i2ac.com/.well-known/acme-challeng
e/QttxTW7PmS7pQTeHSk4Fwd0FmgdD9K0fR2ZVcV6dup4
Submitting answer
Refreshing authorization
Authorization Result: valid
Deleting answer
Requesting Certificate
Request Status: Created
Saving Certificate to...
Saving Issuer Certificate to ...
Saving Certificate to ...
Opened Certificate Store "WebHosting"
Adding Certificate to Store
Closing Certificate Store
Updating Existing https Binding
IIS will serve the new certificate after the Application Pool Idle Timeout time
has been reached.
Committing binding changes to IIS
System.ComponentModel.Win32Exception (0x80004005): A specified logon session doe
s not exist. It may already have been terminated
at Microsoft.Web.Management.Utility.HttpApiWrapper.CreateSSLBinding(IPEndPoin
t endPoint, String hostName, HTTP_SERVICE_CONFIG_SSL_PARAM_MANAGED allSSLData, S
slFlags sslFlags)
at Microsoft.Web.Management.Utility.HttpApiWrapper.CreateSSLBinding(IPEndPoin
t endPoint, String hostName, Byte[] certificateHash, String certificateStoreName
, SslFlags sslFlags)
at Microsoft.Web.Administration.BindingManager.BindingTransaction.Commit()
at Microsoft.Web.Administration.BindingManager.Save()
at Microsoft.Web.Administration.ServerManager.CommitChanges()
at LetsEncrypt.ACME.Simple.IISPlugin.Install(Target target, String pfxFilenam
e, X509Store store, X509Certificate2 certificate)
at LetsEncrypt.ACME.Simple.Program.Auto(Target binding)
at LetsEncrypt.ACME.Simple.Plugin.Auto(Target target)
at LetsEncrypt.ACME.Simple.Program.Main(String[] args)
Press enter to continue.`

I just added a Wiki page for this.
https://github.com/Lone-Coder/letsencrypt-win-simple/wiki/A-specified-logon-session-does-not-exist


Docker MacVLAN in AWS fails!

Description
I am having some problems with Docker MacVLAN. When I create a network with Docker MacVLAN and two containers, the two containers can ping each other but neither one can ping any machine on the internet or even the gateway. The Internet is unreachable.
Steps to reproduce the issue:
I also tried this very simple example:
sudo docker network create -d macvlan --subnet=192.168.1.xx/26 --gateway=192.168.1.yy --aux-address="exclude_host=192.168.1.zz" -o parent=eth0 mynet

sudo docker run --net=mynet -it --rm image/centosbase:v1 ping -c 4 <IP_ADDRESS>

this also fails.
Describe the results you received:
Ping returns Destination Host Unreachable
Describe the results you expected:
Being able to ping a server on the internet or even the gateway.
Additional information you deem important (e.g. issue happens only occasionally):
When I do, from within a container, ip a show eth1 I get:
35: eth1@if2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9001 qdisc noqueue state UNKNOWN
    link/ether 02:42:c0:a8:01:42 brd ff:ff:ff:ff:ff:ff link-netnsid 0
    inet 192.168.1.xx/26 scope global eth1
       valid_lft forever preferred_lft forever
    inet6 fe80::42:c0ff:fea8:142/64 scope link
       valid_lft forever preferred_lft forever

Is it normal that the state is UNKNOWN?
Docker using the default bridge mode works with no problems.

You cannot use macvlan on AWS. The physical network needs to support multiple Mac addresses on the wire, and cloud providers with virtualised networking do not support this. You need to be running on a network infrastructure you control, or a provider that supports it (I think packet.net for example will).

OK thanks. And what about IPVlan? Would that work? I could not find any official documentation in the Docker website.

Please keep in mind that the GitHub issue tracker is not intended as a general support forum,
but for reporting bugs and feature requests. For other type of questions, consider using one of;

https://forums.docker.com
the Docker community Slack channel
StackOverflow

I'm going to close this issue because this is not a bug, but feel free to continue the conversation 👍

Just want to update here.
I have tried what agforte tried, could able to ping outside network such as google.com.


Typo in Copyright

There is a typo in copyright section of the Footer
I think that would be Copyright © Corvas instead of Copyright © Coravs

Thanks for mentioning the typo in the copyright section. I've fixed it.


Question regarding setting up DynamicDNS vs manually opening ports on router

I've successfully setup my RaspiBlitz and have begun playing around with some of its features. However, I still have a few issues that I need to address (namely the DynamicDNS).
I noticed in the guide it recommends registering a DynamicDomain service to forward certain ports (8333, 9735, 10009) in order to make the Pi publicly accessible. I've personally never used a DynamicDNS service before but have already created a static IP for my RaspiBlitz and have manually opened those ports (this was from before when I was setting up my RaspiBolt). You can see below how my port forwarding is configured (<IP_ADDRESS> is the Pi on my local network)

Will a setup like this suffice or will I still have to setup DynamicDNS? I'm noticing that I'm able to connect to peers but unable to open up new channels. I'm wondering if this has something to do with the firewall settings. I get the following error when trying to open a channel.

You need both port-forwarding and dynDNS. You need dynDNS to map your changing public IP (given by your ISP) to a domain name so that other clients (especially when you use mobile wallets) can always find your latest publicIP. Once they found your public IP they end up at your router and you need to have to forward the needed ports so that the clients get from your router to your raspiblitz.

You need both port-forwarding and dynDNS. You need dynDNS to map your changing public IP (given by your ISP) to a domain name so that other clients (especially when you use mobile wallets) can always find your latest publicIP. Once they found your public IP they end up at your router and you need to have to forward the needed ports so that the clients get from your router to your raspiblitz.

Great thank you, appreciate the reply! It was also nice meeting you at the NYC Hackathon back in October last year! I will try this out and report back. I've never used a DynamicDNS service before, are there any guides or instructions that clearly explain what to do?

You need both port-forwarding and dynDNS. You need dynDNS to map your changing public IP (given by your ISP) to a domain name so that other clients (especially when you use mobile wallets) can always find your latest publicIP. Once they found your public IP they end up at your router and you need to have to forward the needed ports so that the clients get from your router to your raspiblitz.

Great appreciate your response! I went ahead and setup the DynamicDNS, it was a lot more straight forward than I thought.


Markdown heading augend

Hi, just wondering if there are plans to add back markup#markdown#header to dial v0.3, since it was one of my favourite and most used augends with this plugin.

@axieax Thank you for the request! Implemented.

Oh wow that was so quick. Thanks again @monaqa :))


check for newer version of nano

https://github.com/kubernetes/minikube/blob/master/pkg/minikube/notify/notify.go

@deep-j whenever you have time. Thanks.


Typings + runtime checks

Adds Typescript definition file (incomplete) and runtime test to validate those types with real world.
Validation is done with typescript-is and currently includes:

[x] "smoke" test to verify the shape of the api
[ ] "smoke" test to verify no excess properties/functions on the api (can be done easily, not enabled yet because of incomplete typings)
[ ] return value types of common functions
[ ] argument types for common functions ? not sure if it makes any sense

To summarise, right now it checks if typings define something that isn't there.
For example, if you remove t from the top-level export, it should catch that.
@isaacs It seems failing travis is not related to this PR. Could you check and also let me know if you are fine with additional dependencies this PR brings?

Travis failing should be fixed.  (They added a new deprecation warning in node 12, it seems.)
Yeah, I'm totally fine with adding a dev dep to run the tests.


geoLookup fails on IPv6 address

Hello!
I am trying to get the GeoLookup working but can't seem to get a valid lookup.  Here is the debug log entry (url removed for security):
[4] (Rule: 2000000) Executing operator "GeoLookup against REMOTE_ADDR.  [9] Target value: "::ffff:<IP_ADDRESS>" (Variable: REMOTE_ADDR) [4] Rule returned 0.
Here are the results from ./config:
`ModSecurity - v3.0.2-107-gbc3d3f1 for Linux
Mandatory dependencies

libInjection                                  ....v3.0.2-107-gbc3d3f1
SecLang tests                                 ....bc3d3f1

Optional dependencies

GeoIP/MaxMind                                 ....found

(MaxMind) v
/usr/lib/x86_64-linux-gnu//libmaxminddb.so, /usr/include/x86_64-linux-gnu/, -DWITH_MAXMIND -I/usr/include/x86_64-linux-gnu/
(GeoIP) v1.6.9
-lGeoIP, -I/usr/include/

LibCURL                                       ....found v7.47.0
-L/usr/lib/x86_64-linux-gnu -lcurl,  -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL
YAJL                                          ....found v2.1.0
-lyajl, -DWITH_YAJL -I/usr/include/yajl
LMDB                                          ....disabled
LibXML2                                       ....found v2.9.3
-lxml2, -I/usr/include/libxml2 -DWITH_LIBXML2
SSDEEP                                        ....not found
LUA                                           ....not found

Other Options

Test Utilities                                ....enabled
SecDebugLog                                   ....enabled
afl fuzzer                                    ....disabled
library examples                              ....enabled
Building parser                               ....disabled
Treating pm operations as critical section    ....disabled`

I do have a pointer to the database.  I'm using the newest free MaxMind Country database (not the .dat).  This is all running on Ubuntu 16.04 with the newest version of nginx.
I've also checked the nginx logs and they aren't showing any errors.  I'm at a loss.  It appears that maybe it's not able to parse the address correctly?

@AIM-Media-Indiana

GeoIP/MaxMind ....found
(MaxMind) v
/usr/lib/x86_64-linux-gnu//libmaxminddb.so, /usr/include/x86_64-linux-gnu/, -DWITH_MAXMIND -I/usr/include/x86_64-linux-gnu/
(GeoIP) v1.6.9
-lGeoIP, -I/usr/include/

Both GeoIP and libMaxMind are installed on your system? If that's so, I'm wondering if there's a chance that the configure script got lost deciding which implementation to use. If it happens to use GeoIP, you could be having issues.
Double check that only -DWITH_MAXMIND is enabled on your build and that -DWITH_GEOIP is not enabled.
Also, I'm unsure if you are using 3.0.2 or the current codebase from master. Make sure that you have https://github.com/SpiderLabs/ModSecurity/commit/d97688804ee2c5fba46ff718fdc74c24eb2376cc on your codebase. Prior to this commit GeoLookup was not working with libMaxMind.
If the issue still persists, let us know and we can investigate further.


fix applying_sign to be also applicable to int

Closes https://github.com/internet2-org/rust-aluvm/issues/33
prior to this change, applying_sign, without_sign, neg was only applicable to float numbers.

Codecov Report

Merging #35 (8b75d09) into master (d67e2f5) will increase coverage by 2.2%.
The diff coverage is 98.5%.

@@           Coverage Diff            @@
##           master     #35     +/-   ##
========================================
+ Coverage    12.2%   14.4%   +2.2%
========================================
  Files          18      18
  Lines        3833    3892     +59
========================================
+ Hits          468     560     +92
+ Misses       3365    3332     -33

Impacted Files
Coverage Δ

src/data/number.rs
40.0% <ø> (+5.0%)
:arrow_up:

src/data/arithm.rs
31.8% <98.5%> (+13.9%)
: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 d67e2f5...8b75d09. Read the comment docs.

Codecov Report

Merging #35 (8b75d09) into master (d67e2f5) will increase coverage by 2.2%.
The diff coverage is 98.5%.

@@           Coverage Diff            @@
##           master     #35     +/-   ##
========================================
+ Coverage    12.2%   14.4%   +2.2%
========================================
  Files          18      18
  Lines        3833    3892     +59
========================================
+ Hits          468     560     +92
+ Misses       3365    3332     -33

Impacted Files
Coverage Δ

src/data/number.rs
40.0% <ø> (+5.0%)
:arrow_up:

src/data/arithm.rs
31.8% <98.5%> (+13.9%)
: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 d67e2f5...8b75d09. Read the comment docs.


Head of Heaps removed swapTexture

In Aseprite.hx, we use texture.swapTexture(tex);
heaps-aseprite/git/src/aseprite/Aseprite.hx:247: characters 15-26 : h3d.mat.Texture has no field swapTexture
Heaps removed the feature here:
https://github.com/HeapsIO/heaps/commit/51c6a622df69c4ddda6cbd82a41530b9c6b83bf0

Uh oh, thanks for the heads up! I'll look into a replacement solution 👍


bug: No space between question search input icon and search button

Describe the bug
There is no space between search and input icon
To Reproduce
Steps to reproduce the behavior:

Login and go to Question Section
See the input and search button

Expected behavior
There should be some space between both of them
Screenshots or GIFs

Info (please complete the following information):

Browser [e.g. chrome, safari]

Additional context
This issue is not in the production URL only on the local host after setup

I see a new interface here

The code which i have it shows me the frontend i shared.


query for courses

MA-2238

Current coverage is 48.81%

Merging #701 into master will not affect coverage as of b9a7060

@@            master    #701   diff @@
======================================
  Files          436     436
  Stmts        28449   28499    +50
  Branches         0       0
  Methods          0       0
======================================
+ Hit          13886   13913    +27
  Partial          0       0
- Missed       14563   14586    +23

Review entire Coverage Diff as of b9a7060

Powered by Codecov. Updated on successful CI builds.

What happens if the search query request fails?

We should maybe put this behind a development flag until we shake out the launch strategy?

@aleffert please review

:+1:


delta_e_cie2000 give me a wrong answer

c1 = LabColor(76.3579, -74.6209, 72.3887)
c2 = LabColor(58.4946, 93.7608, -44.7122)
d = delta_e_cie2000(c1, c2)
print(d)
d =<PHONE_NUMBER>33
I checked with a online calculator and it says the answer is 84.5747
Tested in colormath version 3.0.0

Colour yields the same result<PHONE_NUMBER>3251435) and the code is tested against Sharma (2004) dataset.


Spt 3.5.3 wont recognize the dll

i have the trainer installed and i used the universal installer for it but for some reason my spt doesn't see it and wont run it i press right alt which is my mapped key for the popup menu and nothing happened i checked in the trainer.ini file and right alt is the mapped key, however it worked just fine on 3.5.2 but i cant figure out how to roll back to that version

It is working fine on my side:

And everything is working as expected in-game.
if you updated your spt-aki installation from 3.5.2 to 3.5.3, you need:

to remove the trainer (installer uninstall)
to run the game once with 3.5.3
to re-install the trainer


Water in waterlogged blocks cannot be directly replaced with lava

This is inconsistent with the fluids themselves when not part of a waterlogged block.

I'll look into adding a config for that.

Configs for this have been added as of 1.8.0.


🐛 List of unused files is not sorted by path

Prerequisites

[X] I'm using the latest version
[X] I've read the relevant documentation
[X] I've searched for existing issues
[X] I've checked the list of known issues
[X] I've read the issue reproduction guide

Reproduction url
https://codesandbox.io/p/devbox/mrk95r?migrateFrom=7cy572
Reproduction access

[X] I've made sure the reproduction is publicly accessible

Description of the issue
👋 @webpro, glad to see the project rolling! I just configured knip in a new monorepo and noticed that the list of unused files was not sorted by path. As you can see from the reproduction,
a/b/d.ts
a/y.ts
a/z.ts
b/a/42.ts
b/x.ts
b/y.ts
c.ts

gets printed by pnpm knip as:
c.ts
a/y.ts
a/z.ts
b/x.ts
b/y.ts
a/b/d.ts 👈  👀
b/a/42.ts

It’d be great if the list was sorted in some consistent way. In the project I am trying to lint I get output like this:
apps/foo/src/modules/...
apps/foo/src/modules/...
apps/foo/src/components/...
apps/foo/src/components/...
apps/foo/src/modules/...
apps/foo/src/components/...
apps/foo/src/components/...
...
packages/p4/src/helpers.ts
packages/p1/src/helpers.ts
packages/p3/src/helpers.ts
packages/p2/src/helpers.ts
...

Unsorted workspace names and intermixed modules/components are not the end of the world. But it would help if sibling files were shown next to each other so that it was a bit easier to review them.
Hope that it won’t be too hard to fix this problem because unused files are printed synchronously at the end of the analysis rather than on the fly.
Thanks for knip, it’s very useful!

Kinda surprised we didn't do this yet :) Starting out with a simple sort tho:
a.js
b/d.ts
c.js

:rocket: This issue has been resolved in v5.34.3. See Release 5.34.3 for release notes.
Using Knip in a commercial project? Please consider becoming a sponsor.


Generate typedoc for Standards

Context
Describe / explain why we should do this: motivations, context or other info. Keep it brief and simple - PM
User flow
Describe the user flow using user stories so the end result is super clear - PM
How to
List the step-by-step to get it do if needed - PM
Technical details
Give the technical insights so anyone in the team can tackle the tasks - Dev

[ ] improve all tsdoc
[x] add the command to generate the html documentation with typedoc
[x] add a CI/CD job to deploy the generated documentation
[x] update readme: add a link to this website https://sc-standards.docs.massa.net

QA testing
Does this task require some QA tests ?
If yes, explain how to validate it

already done in #1


Fix regression on default sending behavior of the HttpTransport transport

Q
A

Branch?
2.2

Bug fix?
yes

New feature?
no

BC breaks?
no

Deprecations?
no

License
MIT

This PR closes #904 by fixing two regressions introduced in #899 and #885. In particular, with the first PR when an error occurs during the sending of an event we returned null instead of the event ID while before we always returned the latter. The second PR instead accidentally changed the default behavior of the HttpTransport transport by sending events immediatly instead of waiting the shutdown of the application. This is a deprecated behavior, but the default must not change as it may have a huge impact on performances

Perfect! That is exactly how I understood that it should be. Thanks a bunch for creating the PR and for helping me out understanding current and desired state!

I'm not sure we actually want to consider returning null when an event fails to be sent a regression though. @HazAT do Unified API gives some hint on how this should be handled? Since the send method can return null values probably what you did is fine as-is. If that's the case I will revert the change


Need docs for how to manage DSA as a sysadmin

I think it would be good to have documentation for how to manage DSA as a sysadmin, starting from docker, mongodump operations, installing updates etc.

Also restoring an update.


fix: configuration sim_time converter

Description
If there is no time MSG in the processing time of the target object, use all time MSGs to configure the sim_time converter
Related links
https://tier4.atlassian.net/browse/RT2-1881
Notes for reviewers
In caret_report, no warning messages or other logs from caret_analyze are displayed.
Pre-review checklist for the PR author

[x] I've confirmed the contribution guidelines.
[x] The PR is ready for review.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR has been properly tested.
[ ] The PR has been reviewed.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] (Optional) The PR has been properly tested with CARET_report verification.
[ ] There are no open discussions or they are tracked via tickets.
[ ] The PR is ready for merge.

After all checkboxes are checked, anyone who has write access can merge the PR.

@xygyo77
With this modification, the process may differ depending on the input.
Please add a test to verify that the new processing details are being executed correctly.


fix: add releaserc

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


Add possibility to easily call services + Add type checker + Less timeouts

Closes #7

TODO: Need to fix https://github.com/felixdivo/ros2-easy-test/actions/runs/5035009110/jobs/9030212775#step:9:71

The issue above is tracked in https://github.com/ros2/rclpy/pull/1129, we now only need to "hide" it here.


Aircurve 10 Vauto US firmware

Hello,
I'm looking for the firmware of the Aircurve 10 Vauto US firmware which provides access to the trigger parameter.
If somebody have it and can share it with me.
Thank you

Hello @zaienk here is a link: https://file.io/iUANwgVq0Pb1

Thanks a lot !!!
Le lun. 29 janv. 2024, 19:25, EdWorth120 @.***> a
écrit :

Hello @zaienk https://github.com/zaienk here is a link:
https://file.io/iUANwgVq0Pb1
—
Reply to this email directly, view it on GitHub
https://github.com/osresearch/airbreak/issues/62#issuecomment-1915318091,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BFCZGI4MINVKRFLQJPO6AU3YQ7SSZAVCNFSM6AAAAABBLPWC5KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJVGMYTQMBZGE
.
You are receiving this because you were mentioned.Message ID:
@.***>

I see the link has been deleted. Care to repost? Here is vauto firmware, without the trigger parameter. https://fastupload.io/yp1SXPNKCu3bYo5/file

I see the link has been deleted. Care to repost? Here is vauto firmware, without the trigger parameter. https://fastupload.io/yp1SXPNKCu3bYo5/file

This is the link to Vauto version 401 with the trigger parameter: https://fastupload.io/en/To6uZ2TGrwHqjJp/file

I see the link has been deleted. Care to repost? Here is vauto firmware, without the trigger parameter. https://fastupload.io/yp1SXPNKCu3bYo5/file

This is the firmware of Vauto with the trigger parameter enabled: https://fastupload.io/en/To6uZ2TGrwHqjJp/file

There are no rights to redistribute vendor firmware, please do not ask or use this repository to do so if you want the project to continue to be hosted here.


Fix for android default browser

Hi,
first of all, thanks for this cool plugin, I really like it :)
Are you planing to give some support for the default android browser too?
I did some tests and from some reasons only the body has scrolled instead of the initialized element.
I can send you example if you need..
Thank you in advance for your reply!

I guess this should be redirected to #255.
Closed.


Question about dataset

Hello. nando.metzger.
Thank you for provide your code about nice idea.
Can you share your dataset？
Thank you

Hi,
Thanks for the message.
We used the three publically available datasets as described in the readme.
Best
Nando


Sync Site Trends with EPCHC Currents

Sync up site trend plots with current year data from EPCHC and hard-code the attainment/annual/seasonal trend plots to show annual to the previous year.

Done here 4292a4d0e907f9294a2f1d63e557666a4153ee36 and here 73e74cc4c8c33d0c7883e69e8c300663ebee94a5.  The site selection data on the map will always be synced with EPC data (within 24 hours), the rest of the plots are fixed to the last year with complete data.


Strange problem with elm-test --watch

Some relevant versions:

vscode 1.29.1, 1.30.2
vscode elm extension 0.23.0, 0.24.0, 0.25.0 (no problem with 0.22.0)
arch linux
elm 0.19.0
elm-test 0.19.0

Take the following elm.json, src/Foo.elm and tests/FooTest.elm (nothing weird,
just a package with an exposed Foo module with a constant foo and a test for it):
{
    "type": "package",
    "name": "sscce/foo",
    "summary": "TODO",
    "license": "BSD-3-Clause",
    "version": "0.0.1",
    "exposed-modules": [
        "Foo"
    ],
    "elm-version": "0.19.0 <= v < 0.20.0",
    "dependencies": {
        "elm/core": "1.0.2 <= v < 2.0.0"
    },
    "test-dependencies": {
        "elm-explorations/test": "1.2.0 <= v < 2.0.0"
    }
}

module Foo exposing (foo)

foo : String
foo =
    "foo"

module FooTest exposing (testFoo)

import Expect
import Foo
import Test exposing (..)

testFoo : Test
testFoo =
    test "foo" <|
        \_ ->
            Foo.foo
                |> Expect.equal "foo"

Run elm-test --watch. Then go to vscode and make a non-change to FooTest.elm
(e.g. add and remove a space), and save. Modifying Foo.elm doesn't seem to have
any effect. Now elm-test says:
FooTest.elm changed. Rebuilding!
-- MISSING DEPENDENCIES ----------------------------------------------- elm.json

Your elm.json is missing some "indirect" dependencies:

    "elm/html": "1.0.0"
    "elm/virtual-dom": "1.0.2"

This usually means you are editing elm.json by hand. It is much more reliable to
use the elm install command instead.

Compilation failed while attempting to build /home/nonpop/projects/elm/sscce/tests/FooTest.elm
Watching for changes...

It's as if elm-test suddenly thinks it's testing an application instead of a
package (because of the mention of indirect dependencies). Re-starting elm-test
fixes the problem. Also, there is no problem when running elm-test without --watch.
I found it really surprising that an editor extension would have anything to do
with the problem, but downgrading the elm extension to 0.22.0 fixed it.

I'm getting this too

I'm getting this too. When it happens I'm seeing various different errors: either the one about html and virtual-dom as in the report above, or right now:
Example.elm changed. Rebuilding!
I couldn't find any exposed values of type Test in files matching "/mnt/c/git/elm-fuckit/tests/Example.elm"

Maybe try running elm-test with no arguments?

Sometimes it's about the imported module.

Just to be clear, this only happens when the code is edited from VS Code with vscode-elm enabled. Repeating the test but editing from vim does not exhibit this problem.

So I've managed to establish that it happens

only when you're developing a package
something runs elm-test make while elm-test --watch is rebuilding (which exactly what vscode-elm does, of course)

I made this repo to help repro the issue: https://github.com/n3dst4/elm-parp


HTML lang attribute

The language attribute
<html lang="en">

is essential for hyphenation.
I didn't find any documentation about an API method or configuration property to enable dynamic lang attribute changes.
Is it implemented but undocumented? If not, is there a reason?

At the moment we don't support this. You can add this for your own just subscribing the appropiate event. However, you must be sure to match the correct language format.
And yes of course: A contribution is welcome.

That shouldn't be so much complicated, refer: https://github.com/julmot/jmBoilerplate/commit/36a5e96065334e746d044652962f268b7227b84a
$rootScope.language = $translate.use();
$rootScope.$on("$translateChangeSuccess", function(){
	$rootScope.language = $translate.use();
});

Usage in HTML:
<html lang="{{ $root.language }}">

An implementation should not be fixed for the html-tag. You could set the attribute also on e.g. <div>-tags.


Cannot repeat convolutionneuralnetwork.lua experiment when using same random_seed

If I set random_seed at https://github.com/nicholas-leonard/dp/blob/master/examples/convolutionneuralnetwork.lua#L235 to some constant, I expect when I run th convolutionneuralnetwork.lua multiple times to get the same accuracies at each respective epoch. However this is not happening.
Any idea why?

@ilija139 Because it is reset after the model is created which is when the weights get initialized. Sorry about that.


User cannot navigate to previous directory from the one they started

As of now if user starts from ~/abc then they can navigate forward in this path (~/abc/def/....), they can also navigate backward but only till point ~/abc after which user cannot go to the previous path of ~/abc.

I dont know if this is intended but I still cant go back using keybinds, only using ... It makes it inconsistent in my opinion

It is intentional. You can navigate to previous directory using ...
The key bindings are only for navigating through the list and not directories.


It would be nice to have the heatpump sliders grouped together in the services sector

See https://github.com/quintel/etmodel/pull/3785#discussion_r683490072

Closed by https://github.com/quintel/etmodel/pull/3802


Added tooling for testing UniswapV3 FraxFarm functionality.

Added in the UniV3 Frax Farm child, the uniswap price calculator per lp token - includes hardcoded FRAX & USDC prices obtained from onchain at time of writing.
This was useful when testing the available functionality of the Uniswap V3 Frax Farm staking contract interactions.

thanks! looking great 👍🏻


Image efficiency scanning

I believe it's worth it to make image efficiency scanning (e.g. dive) a step in CI to make sure we don't bloat the images later down the road.
WDYT?

This looks cool. It's a benchmark of sorts. these types of tasks I've put in bench.yaml workflows and they do not block CI. I like running these checks and not blocking on them as a way to measure stats over time.
See https://github.com/artichoke/boba/blob/55124bf7d3e82ef274ceb6dbffe9e6a8a53adbc2/.github/workflows/bench.yaml for an example.
How does one fix a failed check here?

dive scans for inefficiencies by looking at whether the files get overwritten in multiple layers, wasting overall space.
It does give you a list of files to look at, e.g.:
λ dive --ci  haugene/transmission-openvpn
Using config file: /Users/temikus/.dive.yaml
  Using default CI config
Image Source: docker://haugene/transmission-openvpn
Fetching image... (this can take a while for large images)
Analyzing image...
  efficiency: 96.9607 %
  wastedBytes: 18154395 bytes (18 MB)
  userWastedPercent: 6.7145 %
Inefficient Files:
Count  Wasted Space  File Path
    2        3.2 MB  /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.25
    2        1.3 MB  /var/cache/debconf/templates.dat
    2        834 kB  /lib/x86_64-linux-gnu/libfdisk.so.1.1.0
    2        742 kB  /var/lib/dpkg/info/libstdc++6:amd64.symbols
    2        680 kB  /lib/x86_64-linux-gnu/libmount.so.1.1.0
    2        623 kB  /lib/x86_64-linux-gnu/libblkid.so.1.1.0
    2        562 kB  /var/cache/apt/pkgcache.bin
    2        484 kB  /var/log/dpkg.log
    2        425 kB  /var/cache/apt/srcpkgcache.bin
    2        392 kB  /lib/x86_64-linux-gnu/libsmartcols.so.1.1.0
    2        336 kB  /var/lib/dpkg/status
    2        296 kB  /var/log/lastlog
    2        250 kB  /sbin/fdisk
    2        217 kB  /sbin/sfdisk
    2        193 kB  /sbin/cfdisk
    2        193 kB  /lib/x86_64-linux-gnu/libgcc_s.so.1
    2        185 kB  /sbin/zramctl
    2        184 kB  /sbin/fsck.minix
    2        176 kB  /sbin/blkid
    2        176 kB  /usr/bin/partx
    2        168 kB  /sbin/losetup
    2        168 kB  /bin/lsblk
    2        160 kB  /sbin/mkfs.minix
    2        160 kB  /sbin/mkswap
    2        144 kB  /bin/dmesg
    2        144 kB  /usr/bin/lsipc
    2        144 kB  /usr/bin/lscpu
    2        136 kB  /usr/share/gcc-8/python/libstdcxx/v6/printers.py
    2        130 kB  /bin/findmnt
    2        128 kB  /usr/share/doc/gcc-8-base/copyright
    2        127 kB  /usr/bin/lslogins
 ...
    2           0 B  /usr/share/doc/mount/mount.txt
    2           0 B  /sbin/getty
    2           0 B  /usr/share/doc/util-linux/changelog.Debian.gz
    2           0 B  /usr/share/doc/fdisk/changelog.Debian.gz
Results:
  PASS: highestUserWastedPercent
  SKIP: highestWastedBytes: rule disabled
  PASS: lowestEfficiency
Result:PASS [Total:3] [Passed:2] [Failed:0] [Warn:0] [Skipped:1]

We can run it both as a benchmark and a gate (e.g. prevent us from wasting 50% image space or something high like that).

Sounds great let's do it.


v13.1.0 image crashes on startup

Describe the bug
I can't upgrade to the newest version of the image, as v13.1.0 crashes at startup.
Steps to reproduce the bug

podman run --rm -e "UPSTREAM_URL=https://eu.app.unleash-hosted.com/test" ghcr.io/unleash/unleash-edge:v13.1.0 edge

Expected behavior
No response
Logs, error output, etc.
The container exits with:

/unleash-edge: error while loading shared libraries: libssl.so.3: cannot open shared object file: No such file or directory

### Screenshots

_No response_

### Additional context

_No response_

### Unleash version

_No response_

### Subscription type

None

### Hosting type

None

### SDK information (language and version)

_No response_

I'm experiencing this as well. On an OSX host:
$ echo "{}" > /tmp/flags.json
$ docker run -e BOOTSTRAP_FILE=/tmp/flags.json -v /tmp/flags.json:/tmp/flags.json unleashorg/unleash-edge:v13.1.0 offline
/unleash-edge: error while loading shared libraries: libssl.so.3: cannot open shared object file: No such file or directory

We're experiencing it, too; I temporarily changed the production edge images base image to debian:12-slim with libssl-dev installed on it.

Hi. Thanks @snosratiershad, @JonasBak and @chrishepner for confirming this. Seems like we've had an issue with the main builder. We'll rebuild and replace the images.
Sorry for the trouble.

Images are rebuilt and replaced, v13.1.0 should again be running. When run locally after repulling. I now get
$ docker run -e UPSTREAM_URL=https://app.unleash-hosted.com/demo -p 3063:3063 unleashorg/unleash-edge:v13.1.0
Usage: unleash-edge [OPTIONS] <COMMAND>

Commands:
  edge     Run in edge mode
  offline  Run in offline mode
  health   Perform a health check against a running edge instance
  ready    Perform a ready check against a running edge instance
  help     Print this message or the help of the given subcommand(s)

@JonasBak can I trouble you to reconfirm before I close this?

And actually pulling the one from github package registry which I spotted you doing:
$ docker run -e UPSTREAM_URL=https://app.unleash-hosted.com/demo -p 3063:3063 ghcr.io/unleash/unleash-edge:v13.1.0 edge
2023-10-16T12:07:25.794050Z  INFO actix_server::builder: starting 8 workers
2023-10-16T12:07:25.794118Z  INFO actix_server::server: Actix runtime found; starting in Actix runtime
^C2023-10-16T12:07:27.329227Z  INFO actix_server::server: SIGINT received; starting forced shutdown

I can confirm that it works now @chriswk, thanks 🙌


Camera is zoomed in using Scanning feature

I am running the app on Android Pie with a Pixel 2. Anytime I use the scan button the camera is zoomed all the way which does not allow me to scan QR codes. I tried reinstalling the app with no luck.

Thanks for reporting, it is a problem we know about in v5.4-
The developers are working on fix to this problem, and will release an update as soon as possible.


Add "Path" to ssh variable names in tests for clarity

Because the SSH stuff is documented with the tests at the moment it helps out if the var names are a bit clearer.

Thanks @kokarn


add kwargs

fix https://github.com/missionpinball/mpf/issues/490

Coverage increased (+0.02%) to 64.273% when pulling 85c4779086e21951c5ebe39bff3c7c5dcc528de3 on check_kwargs_in_event_handlers into 3d25bea141805389899a79c7ea15e36a48b00498 on dev.

Coverage increased (+0.02%) to 64.273% when pulling 85c4779086e21951c5ebe39bff3c7c5dcc528de3 on check_kwargs_in_event_handlers into 3d25bea141805389899a79c7ea15e36a48b00498 on dev.


No Proxy Settings

When opening Radiant Player I get "an SSL error occurred and a secured connection to the server cannot be made." As my work requires a proxy I am guessing this is the cause. I checked the program settings and cannot find anything relating to proxy  settings.

The system proxy settings on OSX in the network manager will apply to Radiant as well as all your other apps - Radiant doesn't do anything different from Safari in that regard. Are you able to access Google Play Music in Safari?

Except the system proxy settings are not working for Radiant Player.

Does Google Play Music work in Safari for you?  Radiant does nothing special with proxies, so you may have to adjust your system configuration to allow Radiant to use the global proxy settings.

Yes, google play music works everywhere except Radiant, including Google Play Music Desktop Player. How would I change settings to allow Radiant to use the global proxy settings?

You're going to have to check with your work on that one.  The proxy settings built in to OSX apply to all applications, and I just verified on my local machine that they apply to Radiant as well.  There's one of at least two things going on in your case:

The way the proxy was configured is not standard and your work will need to do something to allow Radiant
Your proxy is working, but it is performing a man-in-the-middle certificate replacement on Google's domain, which is causing Radiant to throw a SSL warning

Both would require your work to look at what's going on as your setup is specific to that environment.


Demo 1 Ready to Share [Epic]

This issue will be used track all outstanding tasks required to complete demo 1. The purpose of this demo is to provide an example and a guide for new users on how to use ODH and OPF to perform data engineering; from collection and ingestion to visualization.
Demo 1 will include its own directory with a set of notebooks and pipelines needed to ingest data into Trino and Ceph, perform queries and exploration of the data, use pipelines to run recurring ETL, and set up a superset dashboard. It should also include a readme that serves as a walkthrough of the content and workflow. This demo will also include a video recording of the content walkthrough.
Issues:

[x] Demo notebooks complete #4
[x] Elyra pipeline defined #13
[x] Create Superset Dashboard #14
[x] Readme finished #48
[x] Video Walkthrough done  #57

All tasks complete!
Video can be seen here https://www.youtube.com/watch?v=TFgsR7UlcHA
Thanks @aakankshaduggal and @oindrillac :partying_face: Good job!

https://github.com/AICoE/okr/issues/3


[WFCORE-2321]: ProcessStateListenerTestCase from wf-core fails intermittently

The future is canceled in case of error.
Jira: https://issues.jboss.org/browse/WFCORE-2321
JBEAP: https://issues.jboss.org/browse/JBEAP-8595

Core - Full Integration Build 4416 outcome was FAILURE using a merge of 5a3d0337d1333739c2b0efa71c9cc72d0c1efe14
Summary: Tests failed: 1 (1 new), passed: 3510, ignored: 182 Build time: 00:50:53
Failed tests
org.jboss.as.test.integration.deployment.dependencies.ear.InterDeploymentDependenciesEarTestCase.test: javax.ejb.NoSuchEJBException: No such EJB: app2/hello/LogAccessBean
	at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:354)
	at org.jboss.ejb.client.TransactionInterceptor.handleInvocationResult(TransactionInterceptor.java:75)
	at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:357)
	at org.jboss.ejb.client.EJBClientInvocationContext.awaitResponse(EJBClientInvocationContext.java:608)
	at org.jboss.ejb.client.EJBInvocationHandler.lambda$invoke$0(EJBInvocationHandler.java:164)
	at org.jboss.ejb.client.EJBClientContext.discoverAffinityNone(EJBClientContext.java:428)
	at org.jboss.ejb.client.EJBClientContext.performLocatedAction(EJBClientContext.java:387)
	at org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:150)
	at org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:100)
	at com.sun.proxy.$Proxy65.getLog(Unknown Source)
	at org.jboss.as.test.integration.deployment.dependencies.ear.InterDeploymentDependenciesEarTestCase.test(InterDeploymentDependenciesEarTestCase.java:142)
------- Stdout: -------
 [0m06:02:46,733 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0028: Stopped deployment test.jar (runtime-name: test.jar) in 1ms
 [0m [0m06:02:46,738 INFO  [org.jboss.as.repository] (management-handler-thread - 2) WFLYDR0002: Content removed from location /store/work/tc-work/5768cf3a0bee5b47/full/testsuite/integration/basic/target/jbossas/standalone/data/content/e1/12edcabd870ec5190c58115ab70a7508b780ca/content
 [0m [0m06:02:46,738 INFO  [org.jboss.as.server] (management-handler-thread - 2) WFLYSRV0009: Undeployed "test.jar" (runtime-name: "test.jar")
 [0m [0m06:02:46,760 INFO  [org.jboss.as.repository] (management-handler-thread - 3) WFLYDR0001: Content added at location /store/work/tc-work/5768cf3a0bee5b47/full/testsuite/integration/basic/target/jbossas/standalone/data/content/6d/d64d89fc3a565f4cdb8e1d1cbc93807ffd8d71/content
 [0m [0m06:02:46,760 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) WFLYSRV0027: Starting deployment of "app2.ear" (runtime-name: "app2.ear")
 [0m [0m06:02:46,762 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) WFLYSRV0207: Starting subdeployment (runtime-name: "hello.jar")
 [0m [31m06:02:46,763 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 3) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "app2.ear")]) - failure description: {
    "WFLYCTL0412: Required services that are not installed:" => ["jboss.deployment.unit.\"app1.ear\".deploymentCompleteService"],
    "WFLYCTL0180: Services with missing/unavailable dependencies" => [
        "jboss.deployment.unit.\"app2.ear\".PARSE is missing [jboss.deployment.unit.\"app1.ear\".deploymentCompleteService]",
        "jboss.deployment.subunit.\"app2.ear\".\"hello.jar\".PARSE is missing [jboss.deployment.unit.\"app1.ear\".deploymentCompleteService]"
    ]
}
 [0m [31m06:02:46,763 ERROR [org.jboss.as.server] (management-handler-thread - 3) WFLYSRV0021: Deploy of deployment "app2.ear" was rolled back with the following failure message:
{
    "WFLYCTL0412: Required services that are not installed:" => ["jboss.deployment.unit.\"app1.ear\".deploymentCompleteService"],
    "WFLYCTL0180: Services with missing/unavailable dependencies" => [
        "jboss.deployment.unit.\"app2.ear\".PARSE is missing [jboss.deployment.unit.\"app1.ear\".deploymentCompleteService]",
        "jboss.deployment.subunit.\"app2.ear\".\"hello.jar\".PARSE is missing [jboss.deployment.unit.\"app1.ear\".deploymentCompleteService]"
    ]
}
 [0m [0m06:02:46,763 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-8) WFLYSRV0208: Stopped subdeployment (runtime-name: hello.jar) in 0ms
 [0m [0m06:02:46,764 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-7) WFLYSRV0028: Stopped deployment app2.ear (runtime-name: app2.ear) in 0ms
 [0m [0m06:02:46,764 INFO  [org.jboss.as.controller] (management-handler-thread - 3) WFLYCTL0183: Service status report
WFLYCTL0184:    New missing/unsatisfied dependencies:
      service jboss.deployment.subunit."app2.ear"."hello.jar" (missing) dependents: [service jboss.deployment.unit."app2.ear".PARSE]
      service jboss.deployment.subunit."app2.ear"."hello.jar".STRUCTURE (missing) dependents: [service jboss.deployment.unit."app2.ear".PARSE]
      service jboss.deployment.unit."app1.ear".deploymentCompleteService (missing) dependents: [service jboss.deployment.subunit."app2.ear"."hello.jar".PARSE, service jboss.deployment.unit."app2.ear".PARSE]

 [0m [0m06:02:46,769 INFO  [org.jboss.as.repository] (management-handler-thread - 1) WFLYDR0001: Content added at location /store/work/tc-work/5768cf3a0bee5b47/full/testsuite/integration/basic/target/jbossas/standalone/data/content/9e/a6332f8fa0bca1892dedcb89018a4ff5a29613/content
 [0m [0m06:02:46,770 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-7) WFLYSRV0027: Starting deployment of "app1.ear" (runtime-name: "app1.ear")
 [0m [0m06:02:46,781 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) WFLYSRV0207: Starting subdeployment (runtime-name: "hello.jar")
 [0m [0m06:02:46,781 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-5) WFLYSRV0207: Starting subdeployment (runtime-name: "staller.war")
 [0m [33m06:02:46,787 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-2) WFLYSRV0018: Deployment "deployment.app1.ear.hello.jar" is using a private module ("org.wildfly.security.manager") which may be changed or removed in future versions without notice.
 [0m [33m06:02:46,788 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-2) WFLYSRV0018: Deployment "deployment.app1.ear" is using a private module ("org.wildfly.security.manager") which may be changed or removed in future versions without notice.
 [0m [33m06:02:46,790 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-2) WFLYSRV0018: Deployment "deployment.app1.ear.staller.war" is using a private module ("org.wildfly.security.manager") which may be changed or removed in future versions without notice.
 [0m [0m06:02:46,790 INFO  [org.jboss.weld.deployer] (MSC service thread 1-2) WFLYWELD0003: Processing weld deployment app1.ear
 [0m [0m06:02:46,808 INFO  [org.jboss.weld.deployer] (MSC service thread 1-8) WFLYWELD0003: Processing weld deployment staller.war

retest this please


Windows missing pdata for $ss22_ContiguousArrayBufferV19firstElementAddressSpyxGvgyp_Tg5

Stepping through hello world on Windows with cdb I see missing pdata.
I build codeview and have a pdb, but that isn't relevant. pdata is a runtime non-optional feature for stackwalk, independent of symbols.
C:\s\sw1>more sw1.swift
print("hello")
0:000> .fnent .
No function entry for 00007ffd`1cf987c6
0:000> k
Child-SP          RetAddr               Call Site
00000058`c618f830 00000000`00000000     swiftSwiftOnoneSupport!$ss22_ContiguousArrayBufferV19firstElementAddressSpyxGvgyp_Tg5+0x16

The problem is not universal by far. Many other functions I stepped through do have pdata and xdata.

What's the Swift version?

I had just downloaded the current binaries within a day. Sorry that isn’t precise, yet, more later.

Is this x86-64 or ARM Windows?

Hmmm. Checking the Microsoft documentation, it says:

Leaf functions are functions that don't change any non-volatile registers. A non-leaf function may change non-volatile RSP, for example, by calling a function. Or, it could change RSP by allocating additional stack space for local variables. To recover non-volatile registers when an exception is handled, non-leaf functions are annotated with static data.

(emphasis mine).
It seems to me that Swift._ContiguousArrayBuffer.firstElementAddress is a leaf function, so I wouldn't expect it to have pdata or xdata.

If you much as push, then you change rsp, then you are not a leaf.
pdata/xdata is all about recovering nonvolatile registers and return addresses and stack.
Things are specified, such that, stackwalk works from any instruction.
It doesn't work here.
This function is not a leaf, and lacks pdata/xdata.
0:000> k9
Child-SP          RetAddr               Call Site
00000077`b92ff7a8 00007ffd`2b4414fa     swiftSwiftOnoneSupport!$ss22_ContiguousArrayBufferV19firstElementAddressSpyxGvgyp_Tg5+0x10
00000077`b92ff7b0 00007ff7`0f1216ef     swiftSwiftOnoneSupport!$ss27_allocateUninitializedArrayySayxG_BptBwlFyp_Tg5+0x1a
00000077`b92ff820 00007ff7`0f122bfc     sw1!sw1::main+0xf
(Inline Function) --------`--------     sw1!invoke_main+0x22
00000077`b92ff880 00007ffd`5c4d26ad     sw1!__scrt_common_main_seh+0x10c
00000077`b92ff8c0 00007ffd`5d22aa68     KERNEL32!BaseThreadInitThunk+0x1d
00000077`b92ff8f0 00000000`00000000     ntdll!RtlUserThreadStart+0x28
0:000> .fnent .
No function entry for 00007ffd`2b4587c0
0:000> u .
swiftSwiftOnoneSupport!$ss22_ContiguousArrayBufferV19firstElementAddressSpyxGvgyp_Tg5+0x10:
00007ffd`2b4587c0 55              push    rbp
00007ffd`2b4587c1 56              push    rsi
00007ffd`2b4587c2 4883ec28        sub     rsp,28h

0:000> t
swiftSwiftOnoneSupport!$ss22_ContiguousArrayBufferV19firstElementAddressSpyxGvgyp_Tg5+0x11:
00007ffd`2b4587c1 56              push    rsi
0:000> k
Child-SP          RetAddr               Call Site
00000077`b92ff7a0 00000000`00000000     swiftSwiftOnoneSupport!$ss22_ContiguousArrayBufferV19firstElementAddressSpyxGvgyp_Tg5+0x11

This is definitely a bug. Maybe it is LLVM and not Swift, but it is a bug.

Some versions of the Microsoft documentation have confused leaf and non-leaf. I have tried to get it corrected and clarified, but it is possible things only got more confusing.

C:\s\sw1>swiftc --version
Swift version 5.9.1 (swift-5.9.1-RELEASE)
Target: x86_64-unknown-windows-msvc

ps: I have seen esp. assembly programmers get this wrong repeatedly.
Even memcpy in the C runtime had it wrong, but it got fixed.
Specifically, people think that a "leaf" function is one that doesn't call.
They think only about the callgraph/tree.
But that isn't what a leaf vs. non-leaf. A leaf function is one that does not ever change any nonvolatile registers, including rsp. Using call does make a non-leaf, but other operations do too.

Microsoft does say

Leaf functions are functions that don't change any non-volatile registers.

and they clearly give the example of rsp right after as well. So I think maybe you are right, but in that case it would be an LLVM bug (since it's LLVM that's making this decision, not Swift).
It's a bit unhelpful of them to define leaf function this way, because that isn't the usual definition (normally it's a function that doesn't call anything). I can well imagine that someone might also argue that since the function doesn't call anything and doesn't itself throw any exceptions, there's no reason to provide unwind data for it — but of course that will affect debugging, which is what you're complaining about here.


Export Select component from core

I saw the Select component on storybook and went to use it but it seems it's not exported. Any chance it could be exported?
Hey, I just made a Pull Request!

:heavy_check_mark: Checklist

[x] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)

linking to a related issue just for context
https://github.com/backstage/backstage/issues/4198


[Relay]Allow every runtime module to handle constants

Per discussion in #5884, this PR makes the following improvements:

Allow any runtime with get_symbol and get_const_vars to use the unified mechanism of constant processing.
We will have a JSON runtime PR later this week to demonstrate how a customized runtime works with this mechanism.

cc @zhiics @mbaret

Given some modules don't use this mechanism, should we find a way to suppress this warning?
https://github.com/apache/incubator-tvm/blob/b94e8b7290c5ced98728e730634ec73727c53c51/src/runtime/graph/graph_runtime.cc#L93
I'm noticing that I'm getting spammed with it now.

@mbaret this should be handled later by changing the way to initialize graph runtime in different PRs.

thanks @comaniac @mbaret @junrushao1994


Uncaught ReferenceError: map_attr_style is not define.

Is it the correct way to access to map attributes?

Yes, map_attrs[id].some_attribute is the current way how I access the map's attributes. Of course, these attributes are defined before in map_input.html file.

However, I don't see the point of this pull request. Asking questions should rather take place in the issues section. Pull requests are preferably for some changes that you want to contribute to my repository.

If I were you and wanted to catch up with changes in my repository, I would merge this repository's master branch into your fork. That's how your forked repository would be up-to-date. So basically, I don't the purpose of your commit (05c7ba0). It does not contribute anything, so I just close this PR. You can reopen it if I didn't get your intent correctly.

I have this same issue when upgrading this package via pip from version 1.5.0 to 2.0.0 on Django 3.2, only on production though. So I have to stick to 1.5.0, while I can't replicate the problem locally with Django's development server. The maps shows correctly there


Unexpose DocCache class

Closes #78647.

I tested and did not notice any issues. Perhaps this class was exposed by mistake?
CC @RandomShaper

Note that to test this change you'd need to revert #78614 locally, as currently the doc cache won't be used anyway.

Note that to test this change you'd need to revert #78614 locally, as currently the doc cache won't be used anyway.

Tested with that change, it triggers this error:
ERROR: No loader found for resource: /home/akien/.cache/godot/editor.doc_cache.
   at: _load (./core/io/resource_loader.cpp:281)

I'm OK with this one, while the cache is disabled. I'm working on a post-4.1 PR that will fix this properly.

Thanks!


can't access container from javascript

Hi,
I try to access the map container in order to add filters on markers.
i configured the map variable:
$map->setVariable('my_map');
but when i try to access it :
map = my_map_container;
i get a ReferenceError: my_map_container is not defined
Any idea how to solve this ?
Thanks in advance,
Olivier

Solved...
I had to wrap it in window.onload function to make it work.


Consider adding KeyboardEvent.keyCode as fully supported

See https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/keyCode#Browser_compatibility

Added at http://caniuse.site/#search=keycode


[Bug] K线图数据渲染错误

Version
5.2.2
Link to Minimal Reproduction
No response
Steps to Reproduce
import * as echarts from 'echarts';

var chartDom = document.getElementById('main');
var myChart = echarts.init(chartDom);
var option;

option = {
  xAxis: {
    data: ['2017-10-24', '2017-10-25', '2017-10-26', '2017-10-27']
  },
  yAxis: {},
  series: [
    {
      type: 'candlestick',
      data: [
        ['0.000000000012', '0.000000000034', '0.000000000010', '0.000000000038']
      ]
    }
  ]
};

option && myChart.setOption(option);

Current Behavior
当数据值过小时K线无法解析，导致变为一条直线。
Expected Behavior
K线正常展示
Environment
操作系统：windows10
浏览器：Chrome
框架vue2.0

Any additional comments?
No response

Seems related to the precision in our round method.

似乎与我们round方法的精度有关。

Can it be repaired

似乎与我们round方法的精度有关。

Can it be repaired

It's scheduled in 5.4. Please be patient and wait or learn to help to fix it.

Well, thank you


Add labels to comments by OP

This adds labels similar to GitHub's existing labels (Owner/Contributor/Collaborator) to comments by the user who submitted the issue/PR.
Timeline comments:
With multiple labels:
Review comments:
Fixes #365

Also, see https://github.com/sindresorhus/refined-github/pull/375#issuecomment-294385505
Thanks for another PR! 🙌

Any comments on this PR or are we OK to 🚢 ?

I don't think we should add "Original Poster" to the initial issue/PR as it's already obvious, but rather only on additional comments by OP.
Merge conflicts needs resolving.
@jgierer12 Can you add it to the readme, like I did here: https://github.com/sindresorhus/refined-github/commit/b695fc43a86965f31f55f740974608d4073dba1c

Merge conflicts needs resolving.

@jgierer12 Can you please resolve this? I think we're good otherwise. Thanks!

I've also noticed now that if you switch between the "Conversation" tab and "Files" tab in a pull request, it will re-add the OP badge each time you go to "Conversation".

Could we change document.addEventListener('DOMContentLoaded', () => {...} in this line to jQuery's $(document).ready(() => {...})/$(() => {...}) instead? Or would that break something?

Just add a custom class to the HTML you inject and check for that before injecting. We do that with many of the other features. Could be .refined-github-op.

@sindresorhus anything else?

Really good work @jgierer12 :)


18.09 merge

WIP: Transfer learning + sentiment analysis (IMDB + SST)

I believe new PRs should be based on 18.10-dev now since 18.09 is "released". Please check with @vsl9 or @borisgin

Sure, our current development branch is 18.10-dev. So please make your PR against 18.10-dev.


Expr::TrySuffix expression was not completely removed in desugar_value_def_suffixed

roc command.roc
An internal compiler expectation was broken.
This is definitely a compiler bug.
Please file an issue here: <https://github.com/roc-lang/roc/issues/new/choose>
a Expr::TrySuffix expression was not completely removed in desugar_value_def_suffixed
Location: crates/compiler/can/src/expr.rs:1254:40

If I do these steps it works fine

jump-start.sh
roc build.roc
cd examples
roc command.roc

If I update the command.roc first line to app [main!] { pf: platform "https://github.com/roc-lang/basic-cli/releases/download/0.17.0/lZFLstMUCUvd5bjnnpYromZJXkQUrdhbva4xdBInicE.tar.br" } I get this error

This will probably be fixed with the 0.18 release, which should be released soon, I just need to look into the CI failure here.

Yes, I've confirmed this is fixed with the basic-cli 0.18.0 pre-release.


Error: Could not bind on

starting the server normally run.sh +exec xyz.cfg all is good, server starts and players can connect
but if i try starting the server from withing txadmin
Error: Could not bind on <IP_ADDRESS>:27069 - is this address valid and not already in use?
am running the latest fivem server build for Linux (and it reports txadmin is outdated and to update)

Please use our discord for support.


'Document.add' should support lists

This is similar to https://github.com/SynBioDex/pySBOL3/issues/301, but different enough to warrant its own issue.
It would be helpful if we could add TopLevels to a Document as a batch instead of one at a time, eg.
doc.add([b0034, e0040, b0015])

And I believe that one could still call it with a list using the *args convention:
components = [b0034, e0040, b0015]
doc.add(*components)


[ORA-1091] Tokens to Mint Each Block (inflation schedule)

implement section 5.1 of the paper

I'm going to replace all the XNumerator XDenominator code with LegacyDec code, fuck it yolo we basically have to use the deprecated class anyways for other parts of the codebase at this point
if and when it becomes a problem we can move to cockroach DB's apd Decimal types like me and @kpeluso talked about, for now using legacyDec should be fine, I think (other cosmos-sdk modules like /x/staking are still using it soooooo)

Thank you for entertaining my comments that were primarily concerned with go works. Ill take another pass today to get more into the details of what you wrote @relyt29

observing 45% inflation in the first few blocks with parameters tweaked where they are


Add option to validate snapshot after download

Validate the snapshot and compare the calculated merkle roots to the latest commitment.
This is related to #707

This is not directly related to validating a single snapshot but still worth considering so users can make sure they're downloading a "correct" snapshot: It would be great if we could compare the (claimed) hashes of different snapshot sources before downloading. And if they differ let the user decide which one should be downloaded. + verifying that the downloaded snapshot actually corresponds to the claimed hash.

@polinikita is implementing a feature in #707 to verify ledger state agains the latest commitment in the database. This will allow verifying that the ledgerstate loaded from the snapshot matches the latest commitment in the snapshot. There is still risk that the latest commitment is forged.


New search (tab) opens existing search tab instead of a new one

Check for existing issues

[X] Completed

Describe the bug / provide steps to reproduce it

Open a global search tab
Click on the + in the tab row
Click new search
=> Existing tab opens instead of a new one and my clipboard content is pasted over the existing search query.

Environment
Zed: v0.115.3 (preview)
OS: macOS 14.0.0
Memory: 16 GiB
Architecture: aarch64
If applicable, add mockups / screenshots to help explain present your vision of the feature
https://github.com/zed-industries/community/assets/19362696/13c9e41a-ef5f-46b6-9a13-8fff12a1061a
If applicable, attach your ~/Library/Logs/Zed/Zed.log file to this issue.
If you only need the most recent lines, you can run the zed: open log command palette action to see the last 1000.
No response

Hey @N8th8n8el, yeah, our experience here is a bit weird and needs to be improved. I know if you type in the existing project search and hit cmd-enter, a new search is launched off, and the old one is left untouched. This has confused other users as well, especially when the + button can't actually launch a new one itself. We will need to revisit this I think.

This is fixed in v0.117.0-pre, thanks @SomeoneToIgnore 🙏


Refactor/value renderer modify inputs

Replace inputs with FormField versions

currently I am lacking the functionality of styling the ValueRenderer and giving the styling options down to the FormFields. Can you add this please?


Do not disturb mode stops working

After using my Mac for a while in Do Not Disturb mode (like in a long meeting) with occasionally the display going to sleep, go in and out of fullscreen apps, etc - Stretchly starts showing even when DnD mode is still on. The menubar menu says "On Do Not Disturb mode", but the breaks still appears. I am not 100% sure what triggers this, but it happens fairly often.

Ah well, I was afraid this would come one day 😃 It's rather complex thing....
I will try to reproduce.

One more thing: could you try to go to About, hit Cmd/Ctrl+D and paste here? Also, do you have any specific settings?

Oh man. That text was not possible to copy on Mac. :-/
breakPlanner: {reference: startMicrobreakNotification, timeleft: 3 minutes left, breakNumber: 2, postponesNumber: 0, Do Not Disturb: false}
settingsFile: /Users/hpe001/Librar/Application Support/stretchly/config.json
Node.js: 8.9.3, Chromium: 61.0.3163.100, Electron: 2.0.17

I don't remember what I chaned in the settings. I have 20 sec microbreaks every 10 miuntes, 3 minutes break every 5 microbreaks. Both can be postponed and skipped. On the misc page everything is on except silent notifications and monochrome tray icon.
Just realized you might want the about-debug-text from when it's misbehaving, which it wasn't now. I can repost next time it does.

Yeah when it happens ;]
It's copy-able from linux but I'll check on mac when I am there

Ah, it's selectable but not copyable. Rather weird, I'll have to investigate.

Got it.
breakPlanner: {reference: startMicrobreakNotification, timeleft: 10 minutes left, breakNumber: 3, postponesNumber: 0, Do Not Disturb: true}
settingsFile: /Users/hpe001/Librar/Application Support/stretchly/config.json
Node.js: 8.9.3, Chromium: 61.0.3163.100, Electron: 2.0.17

@fuzzy76 is it still happening with new version? It has newer electron, v5. I was not able to replicate so far.

Stretchly triggers. I'm in a meeting.
I choose to postpone by clicking the bottom of the screen immediately.
I enable DnD using SnoozeBar (which should not make a difference theoretically, but it does).
Info (Do Not Disturb is on at this point):

          breakPlanner: {reference: startMicrobreakNotification,
          timeleft: 10 minutes left,
          breakNumber: 1,
          postponesNumber: 0,
          Do Not Disturb: false}

          settingsFile: /Users/hpe001/Library/Application Support/stretchly/config.json
          Node.js: 12.0.0
          Chromium: 73.0.3683.121,
          Electron: 5.0.6
        ```
5. Stretchly triggers while DnD is on.

I tried reproduce with manually switching DnD, but could not on first try. Will try again.

Yeah you're right, with that app the dnd is not detected. I created issue here: https://github.com/banderson623/SnoozeBar/issues/2

I did get a break now:
          breakPlanner: {reference: startMicrobreakNotification,
          timeleft: 2 minutes left,
          breakNumber: 1,
          postponesNumber: 1,
          Do Not Disturb: true}

          settingsFile: /Users/hpe001/Library/Application Support/stretchly/config.json
          Node.js: 12.0.0
          Chromium: 73.0.3683.121,
          Electron: 5.0.6
        ```
I am at a conference. DnD is set manually on. The Mac has been in and out of hibernation a couple of times since I enabled DnD.

Just to be sure:  manually means without SnoozeBar?

Yes. And it just triggered again. Debug info still shows that dnd is detected.

Looks like SnoozeBar is not maintained anymore and there are new versions of macOS with different way for DND, so I am closing this.


AWS Secret names with slash '/'

I have a secret in AWS Secret manager with this name dev/debezium/mysql/testservice/password
I tried to use this name in my source connector.
 "database.password": "${aws:dev/debezium/mysql/testservice/password:mysql_pass}",

In my worker properties, the file.dir=/etc/kafka
And the error I got is,
java.nio.file.AccessDeniedException: /etc/kafka/dev

But when I created empty folders in the same SECRET NAME, then its resolved.
mkdir -p /etc/kafka/dev/debezium/mysql/testservice/password

I know the fact it makes an internal file and doesn't let you disable this functionality is an issue, the following is a workaround.
But for others having the same issue, the workaround is to make sure your specified file.dir in the config provider has the correct permissions. For example if you gave the following config.providers.aws.param.file.dir=/connector-files/aws then make sure you have the permission to write within the /connector-files/aws directory.
As long as you have the correct permissions within that folder you have specified, then it will create the full path in the background and it wont produce an error.

#19 (no longer storing secret files by path) and #50 (toggling on/off storing secrets using file.write property) should resolve this problem.  Both will be included in the next release.

This is released in https://github.com/lensesio/secret-provider/releases/tag/2.3.0


[Dubbo -fix annotation bug] Fix @Reference bug

What is the purpose of the change
fix issue: https://github.com/apache/incubator-dubbo/issues/2522 & https://github.com/apache/incubator-dubbo/issues/2194
Brief changelog

org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceAnnotationBeanPostProcessor#generateReferenceBeanCacheKey fix caching issues

Verifying this change
All test should be passed.
Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Make sure there is a GITHUB_issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a GITHUB issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[x] Format the pull request title like [Dubbo-XXX] Fix UnknownException when host config not exist #XXX. Each commit in the pull request should have a meaningful subject line and body.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add integration-test in test module.
[x] Run mvn clean install -DskipTests & mvn clean test-compile failsafe:integration-test to make sure unit-test and integration-test pass.
[ ] If this contribution is large, please follow the Software Donation Guide.

Codecov Report

Merging #2649 into master will increase coverage by <.01%.
The diff coverage is 80%.

@@            Coverage Diff             @@
##           master    #2649      +/-   ##
==========================================
+ Coverage   63.25%   63.25%   +<.01%
==========================================
  Files         574      574
  Lines       25609    25654      +45
  Branches     4524     4538      +14
==========================================
+ Hits        16198    16227      +29
- Misses       7264     7277      +13
- Partials     2147     2150       +3

Impacted Files
Coverage Δ

...notation/ReferenceAnnotationBeanPostProcessor.java
76.76% <80%> (-0.36%)
:arrow_down:

...che/dubbo/remoting/transport/mina/MinaChannel.java
42.25% <0%> (-11.27%)
:arrow_down:

.../apache/dubbo/remoting/transport/AbstractPeer.java
58.69% <0%> (-4.35%)
:arrow_down:

...bo/remoting/transport/netty/NettyCodecAdapter.java
53.12% <0%> (-1.57%)
:arrow_down:

...apache/dubbo/rpc/protocol/dubbo/DubboProtocol.java
67.5% <0%> (+0.83%)
:arrow_up:

...ubbo/rpc/protocol/dubbo/ChannelWrappedInvoker.java
45.83% <0%> (+4.16%)
:arrow_up:

...org/apache/dubbo/rpc/filter/ActiveLimitFilter.java
88.88% <0%> (+5.55%)
: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 393ffce...07deaa2. Read the comment docs.


Can I transmute &mut [f32] to &mut f32x8?

I'm looking into abstracting the iteration over a 64-byte-aligned slice in f32x8 chunks and I need the item for both mutation and calculation.
This is my code, so far:
#[repr(align(64))]
struct AlignedF32Slice([f32]);

struct F32x8ChunksExactMut<'a>(ChunksExactMut<'a, f32>);

impl<'a> F32x8ChunksExactMut<'a> {
    pub fn into_remainder(self) -> &'a mut [f32] {
        self.0.into_remainder()
    }
}

impl<'a> Iterator for F32x8ChunksExactMut<'a> {
    type Item = &'a mut f32x8;

    #[inline]
    fn next(&mut self) -> Option<Self::Item> {
        unsafe {
            Option::Some(&mut *(self.0.next()?.as_mut_ptr() as *mut f32x8))
        }
    }
}

What I'm currently doing:
fn vectorized_lgc_assign_same(slice: &mut [f32]) {
    let mut scalars = slice.chunks_exact_mut(8);

    for scalar in &mut scalars {
        lgc_f32x8(f32x8::from_slice_unaligned(scalar)).write_to_slice_unaligned(scalar);
    }

What I hope to do:
fn vectorized_lgc_assign_same(slice: &mut AlignedF32Slice) {
    let mut chunks = slice.f32x8_chunks_exact_mut();

    for vector in &mut chunks {
        *vector = lgc_f32x8(*vector);
    }

In particular, I need to know if &mut *(self.0.next()?.as_mut_ptr() as *mut f32x8) is UB or not for my aligned slice. Also, if there's any better solution than what I'm doing, I'll gladly accept any tips.

Assuming that the slice is suitably aligned and of the correct length, you can transmute references like this, yes.

We're trying to triage this repo's issues a bit so I'll close this up, but you can post in the Zulip for the Portable SIMD Project if you have more questions.


Implement disabledFeatures and remove old flags

This commit implements the disabledFeatures List and removes some old options. The deprecated way of disabling the learning dashboard and breakout rooms will still work in the role. But the resulting bbb-web.properties file will already comply with the new method.
This solves at least a part of #335
Closes #318

Perhaps we could add a list of allowed features and check whether bbb_disabled_features contains only those on that list? That way the deployment would fail in Ansible and not in BBB in case of e.g. a typo.

Nitpicking, but whatever is false could be written as just whatever in most places.

Hmm... Sorry for re-animating this thread - I just tried to only disable "LearningDashboard" but it also disabled "breakoutrooms"... Have to investigate - anyone else with this issue?

This line has inverted logic:
https://github.com/ebbba-org/ansible-role-bigbluebutton/blob/299fb20a24506cd3f69329f862bb6f6022076a55/defaults/main.yml#L190
It puts "breakoutrooms" into disabled features when the deprecated "enable breakoutrooms"-Flag is set to true.
Same with "learning dashboard"...


New zwave-js config version available: 7.7.2-20210602.  Mind that some changes may require a re-interview of affected devices

Problem/Motivation

(Why the issue was filed)

Expected behavior

(What you expected to happen)

Actual behavior

(What actually happened)

Steps to reproduce

(How can someone else make/see it happen)

Proposed changes

(If you have a proposed change, workaround or fix,
describe the rationale behind it)

Empty issue.


Overall Refactoring: Types/Inheritance vs. Methods/API

Task: Ensure that the following holds for all Javaslang classes, interfaces and methods.
When defining interfaces or classes, say
interface IO<T> {
        T run();
}

we might make it reusable in other functional contexts, like method calls. In the example above we have a type with one method which (produces a side effect and) returns a value. Java has a type for supplying a value, Supplier. To make IO reusable in different contexts, we may define:
@FunctionInterface
interface IO<T> extends Supplier<T> {
        T run() {
        default T get() {
                return run();
        }
}

We can do better. Instead of extending the interface Supplier we should make IO applicable in a broader way by extending the most specific interface which makes sense, here: Function0 (which extends Function/Serializable and Supplier).
@FunctionInterface
interface IO<T> extends Function0<T> {
        T run() {
        default T apply() {
                return run();
        }
}

However, programs should (as we know) always expect the most general type which makes sense in the given context, i.e we would define
T getValue(Supplier<T> valueSupplier);

instead of
T getValue(Function0<T> valueSupplier);

because this makes getValue() available for more clients.

LGFM


PR: Migrate Working Directory plugin to new API

Description of Changes

[x] Wrote at least one-line docstrings (for any new functions)
[x] Added unit test(s) covering the changes (if testable)

Issue(s) Resolved

Fixes #12760
Affirmation
By submitting this Pull Request or typing my (user)name below,
I affirm the Developer Certificate of Origin
with respect to all commits and content included in this PR,
and understand I am releasing the same under Spyder's MIT (Expat) license.

I certify the above statement is true and correct: @goanpeca

Hello @goanpeca! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file spyder/api/plugins.py:

Line 640:24: W291 trailing whitespace

In the file spyder/app/mainwindow.py:

Line 325:80: E501 line too long (80 > 79 characters)
Line 371:45: E128 continuation line under-indented for visual indent
Line 378:29: E128 continuation line under-indented for visual indent
Line 1232:80: E501 line too long (86 > 79 characters)

In the file spyder/plugins/explorer/plugin.py:

Line 112:80: E501 line too long (80 > 79 characters)

In the file spyder/plugins/workingdirectory/plugin.py:

Line 27:80: E501 line too long (82 > 79 characters)

In the file spyder/plugins/workingdirectory/widgets/toolbar.py:

Line 65:80: E501 line too long (81 > 79 characters)
Line 81:1: W293 blank line contains whitespace
Line 166:1: W293 blank line contains whitespace
Line 172:1: W293 blank line contains whitespace
Line 178:1: W293 blank line contains whitespace

Rebased and ready for review @ccordoba12

This requires a new rebase to fix the merge conflicts.

Rebases @ccordoba12

Thanks @dalthviz

Updated with the requested fixes @ccordoba12.

Added the fixes and a question @ccordoba12


Error when trying to integrate Angular/material

I'm submitting a ...  (check one with "x")
[ X ] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, instead see use [gitter](https://gitter.im/mgechev/angular2-seed) or [stackoverflow](https://stackoverflow.com/questions/tagged/angular2)

Current behavior

I added angular material  as the site instructs https://material.angular.io/guide/getting-started but then, I got this error
(index):318 SyntaxError: Unexpected token <     at eval (<anonymous>)     at evaluate (http://localhost:5555/node_modules/systemjs/dist/system.src.js?1506310767982:2821:16)     at http://localhost:5555/node_modules/systemjs/dist/system.src.js?1506310767982:3620:21     at dynamicExecute (http://localhost:5555/node_modules/systemjs/dist/system.src.js?1506310767982:1144:26)     at doEvaluate (http://localhost:5555/node_modules/systemjs/dist/system.src.js?1506310767982:1091:13)     at ensureEvaluate (http://localhost:5555/node_modules/systemjs/dist/system.src.js?1506310767982:999:13)     at http://localhost:5555/node_modules/systemjs/dist/system.src.js?1506310767982:1017:20     at Object.eval (http://localhost:5555/app/home/home.module.js:16:18)     at eval (http://localhost:5555/app/home/home.module.js:38:4)     at eval (http://localhost:5555/app/home/home.module.js:39:3) Not expecting this error? Report it at https://github.com/mgechev/angular-seed/issues
Expected behavior

The site should display without error in the console
Minimal reproduction of the problem with instructions

What is the motivation / use case for changing the behavior?

Please tell us about your environment:

Windows 10, Visual Code, npm,

Angular Seed Version: 60b4f54

Node: node --version = 6.11.2

Have you read this tutorial yet? https://github.com/mgechev/angular-seed/wiki/Integration-with-AngularMaterial2

Sorry that I missed the documentation.

I have the same problem, and the documentation not working, please help me.


Question: How can override the ManageFirewallIps

I created a page to extend the original in Filament 2.
namespace App\Filament\Pages;

...

class ManageFirewallIps extends ManageFirewallIpsOriginal
{
    protected static string $resource = FirewallIpResource::class;

...

But instead of completely overriding it, it created a duplicate.
Would you happen to know of a way I can remove the original one from the routes and have it read only the page I am overriding?
Thank you

Got it


Norwegian publishers

Added 4 Norwegian publishers:
VG, Dagbladet, Nettavisen and NRK
Ran black src, isort src as per the guide which did change some files that were not mine.

@mhaugestad I will merge this into the master branch and make a new release 🚀

Amazing! Thank you @MaxDall . Will keep comments and changes in mind for my next pull request. Hoping to add some more Scandinavian publishers over the next month!

@mhaugestad Sounds Awesome!


Fixing JointCollisionEvents.js to support more than one Object3D in the scene

It seems that the JointCollisionEvents.js would only work for the last loaded Object in the scene.
After several hours of digging I noticed that the skeleton was not available inside the update method and was exiting the loop straight away.
if(!skeleton) return;
I resolved this by attempting to get the Skeleton repeatedly inside the update loop until it is successful.
I will be honest, I am unsure if this is the correct fix, I would be happy to hear some input. But it does seem to resolve the issue.
You can demo the behaviour using the new example:
joint-collision-push-two-cubes.html

Hey @Fasani, upon further investigation, this issue seems to have been caused by an internal problem with getThreeJSTrackingSkeleton. The first promise fails to resolve if you request the skeleton more than once in quick succession.
So it turns out your fix will be unnecessary once the root cause is fixed. So please go ahead an undo your changes to JointCollisionEvents.
Your example is still very useful so I'd like to merge it, but I'd ask that you delete the old example (since the new one is mostly identical) and instead add a reset button to your new one, so that we still have that function.
If you can do those two things, I'd be happy to merge.

The fix for getThreeJSTrackingSkeleton is active so this issue should not be occurring now.

Yup, I'll still try to merge the examples in though.

@brianpeiris I will look into if this example, if it is still needed or if the code would make sense still. If not I will close the PR.

Examples need reworking, I will close the PR for now.


Mbuild imports

PR Summary:
Fixes #271 .
Adds some pytest skips for has_mbuild=False
Also, before this PR, import mbuild as well as mbuild.Alkanes was located at the top of the function. This could be unsafe for testing? Although my first guess is that importing mbuild could be dangerous and circular. If we're careful in mbuild, mbuild shouldn't be importing foyer anywhere, so foyer could haphazardly import mbuild (though we should try to clean away any foyer-importing-mbuild)
PR Checklist

[ ] Includes appropriate unit test(s)
[ ] Appropriate docstring(s) are added/updated
[ ] Code is (approximately) PEP8 compliant
[ ] Issue(s) raised/addressed?

do we want to use mb = import_('mbuild') instead of import mbuild as mb?

I think:

This is a good thing to do in principle
It shouldn't make a difference in these tests if the skipif works

so I don't have a strong opinion on it


Load JWT public key from auth service

We don't have to store the public key in our configuration. We can load it from Auth service - https://github.com/fabric8-services/fabric8-auth/issues/30

It was fixed sometime ago.


Add README

I think this is fine, personally. People are likely to be looking at our package if they don't want to embed it.

I've spoken with @djones6 and I have removed the note about embedding the package.


bug: fails to init --setup

Describe the bug
Initialisation fails.
Steps to reproduce

Install from pip
run archivebox init --setup in a new directory.

Screenshots or log output
$ pip3.9 install archivebox
Defaulting to user installation because normal site-packages is not writeable
Collecting archivebox
...
Successfully installed archivebox-0.6.2
$ cd /tmp/b
$ ~/.local/bin/archivebox init --setup
[i] [2022-09-01 10:19:38] ArchiveBox v0.6.2: archivebox init --setup
    > /tmp/b

Traceback (most recent call last):
  File "/home/edd/.local/bin/archivebox", line 8, in <module>
    sys.exit(main())
  File "/home/edd/.local/lib/python3.9/site-packages/archivebox/cli/__init__.py", line 140, in main
    run_subcommand(
  File "/home/edd/.local/lib/python3.9/site-packages/archivebox/cli/__init__.py", line 74, in run_subcommand
    setup_django(in_memory_db=subcommand in fake_db, check_db=cmd_requires_db and not init_pending)
  File "/home/edd/.local/lib/python3.9/site-packages/archivebox/config.py", line 1136, in setup_django
    django.setup()
  File "/home/edd/.local/lib/python3.9/site-packages/django/__init__.py", line 24, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "/home/edd/.local/lib/python3.9/site-packages/django/apps/registry.py", line 122, in populate
    app_config.ready()
  File "/home/edd/.local/lib/python3.9/site-packages/django/contrib/admin/apps.py", line 24, in ready
    self.module.autodiscover()
  File "/home/edd/.local/lib/python3.9/site-packages/django/contrib/admin/__init__.py", line 24, in autodiscover
    autodiscover_modules('admin', register_to=site)
  File "/home/edd/.local/lib/python3.9/site-packages/django/utils/module_loading.py", line 47, in autodiscover_modules
    import_module('%s.%s' % (app_config.name, module_to_search))
  File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 850, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/home/edd/.local/lib/python3.9/site-packages/archivebox/core/admin.py", line 26, in <module>
    from config import OUTPUT_DIR, SNAPSHOTS_PER_PAGE
ImportError: cannot import name 'OUTPUT_DIR' from 'config' (/home/edd/.local/lib/python3.9/site-packages/config/__init__.py)

My guess: module name clash config. That is a very generic name. Will try in a virtualenv next.
ArchiveBox version
Latest from pip

Works in a virtualenv


Update critical value for chi-square test

Codecov Report

Merging #1125 (156264d) into master (29f3678) will decrease coverage by 0.01%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #1125      +/-   ##
============================================
- Coverage     92.16%   92.15%   -0.01%
+ Complexity     7593     7592       -1
============================================
  Files           200      200
  Lines         15902    15902
  Branches       2925     2925
============================================
- Hits          14656    14655       -1
  Misses          675      675
- Partials        571      572       +1

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


co2_eq_emissions clearer doc + formatting

from user feedback

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


PHPDoc on all methods for better IDE integration

Would be nice with PHPDoc on all methods for integration with IDEs.

I agree, also PSR-4 compliance with proper namespaces would be nice. You could also go for Guzzle while you are at it. Borrow some ideas from here: https://github.com/nordsoftware/paytrail-php :smirk:

@lucasgranberg  adding namespaces would require PHP 5.3.0 we still have a lot of merchants running 5.2.0 at this point so I cannot add that at this point I am afraid.

You could just create a new branch. PHP 5.2 is end of life since almost 5 years ago. http://php.net/eol.php

@lucasgranberg thank you, I have heard about these things called branches ;-) but at this time I will not do this.


Energy Usage and back to grid not calculating correctly

Set up this integration, solar panel data is coming in fine. total solar production is fine but back to grid and home energy usage aren't being calculated correctly in HA.
Example data from yesterday HA is adding grid + solar production.

HA
mySunPower app

HA Energy Config. I do noticed both devices end with a c but they are the only options I have.

In FAQs I see you wrote

If your consumption is just wrong (the most common failure is seeing the solar production count as consumption) then the PVS is configured wrong Sunpower Training is what they should follow to resolve this.

Is this one of those issues?
 So I found how kwh to gird and kwh to home are set. https://github.com/krbaker/hass-sunpower/blob/main/custom_components/sunpower/const.py#L353-L367
For me looking at the same above my neg_ltea_3phsum_kwh is always 0 but comparing my output to those posted by others and the sames it almost looks like neg_ltea_3phsum_kwh equals the production meter net_ltea_3phsum_kwh and that pos_ltea_3phsum_kwh equals consumption meter net_ltea_3phsum_kwh. Those fields map to the meters lifetime power so I updated HA to use those fields.

At least I see consumption and production now but the energy distribution for the day, self consumed solar, and self-sufficiency charts now don't work. HA things all solar energy is sent to grid and then all energy comes from the grid. Overall seems like a step in the right direction but still not working as expected.

Do you not have a value under your Consumption sensor that details out KWH to the home and KWH to the grid?

those are the values i use to set grid and return to grid values.

KWH to grid always shows 0 for me.

Also the sunpower app works fine and shows energy going back to the grid.

I think this might need to be a computed 'net' between the two meters

Could you explain that a little more. Do you mean I need to use add current/volt meter to my panel or since you marked it enhancements is this something that can be fixed in the plugin?


StreamingDataFrame method parameters no longer recognized

This bug was introduced in version 2.9.0.
With sinks, SDF "locking" was introduced, blocking any additional operations being added to one after SDF.sink() was called.
Unfortunately, this caused some function arguments to not be recognized correctly (for things like autocomplete/type hinting). Example:
sdf.drop("col_a", error="raise") will now say that error is an unknown parameter.
This is confirmed to show in Pycharm, but may occur in other IDE's.

Thanks for the report!
I'll have a look.
Probably the @_ensure_unlocked decorator messed up the typings.
Also, after #419 we'll need to update this code anyway.

handled in #419


Write a C# program to print diamond pattern

Description
Write a C# program to print diamond pattern
Input  : 5

Output :
    *
   ***
  *****
 *******
*********
 *******
  *****
   ***
    *

How to contribute

Save the solution in program/PrintDiamondPattern.cs file
Add PrintDiamondPattern.cs file in print-diamond-pattern folder

can i do this one

Hey @Premjeet1804
You can comment !assign on any good first issue you want to contribute to, to be auto-assigned
!assign

!assign please sir

!assign

[https://github.com/codinasion/program/pull/4784](C# program to print diamond pattern)

C# program to print diamond pattern


Feature: Make Channel url configurable

We recently upgraded our Sentry instance and found your fork that made the plugin compatible again, thanks for that!
I cherry-picked my original PR for NDrive's repo with this repo.
I makes the channel name configurable, so it is very convenient to configure one Mattermost webhook for a variety of Mattermost channel/repo configurations.

Dear @zealot128
Thank you very much for contributing. I am sorry I didn't answer earlier, seems the notification slipped through.
I checked and all looks good and working.
Thank you very much again :pray:


Trivial cleanup of getDistanceToBaseline

Turns out we don't need 'parent' outside the assert at all.

LGTM


Allow to create unit tests from AST parts

These tests should be able to target specific functions in the compiler and provide the proper OCaml value to it
Example of unit test for CSE:
x = a ^ b
y = x ^ c
z = (a ^ b) ^ c

ought to produce
x = a ^ b
y = x ^ c
z = y

https://github.com/janestreet/ppx_inline_test

forall i in [1,10] {
  state[i] = DR(state[i-1])
}
state[0] = plain;
cipher = state[10]

Fails in linearize_arrays (does it work in pre_schedule?)

We're currently looking at the behaviours of all passes to know what they're supposed to do and see if we spot some strange behaviours. Every time we see something that we need to ensure will behave correctly, we'll write it here to keep it stored somewhere. The current unit tests go through a parsing phase and are a bit "hacky" so we're exploring other possibilities ;-)

Fixed by #76


added disableDayPressed option

Added the option to disable the onDayPressed function and as a result it also removes the ripple effect. The option defaults to false to keep the original functionality of the calendar.
I personally didn't want the ripple effect for my app (and didn't need the onDayPressed Function), also issue #136 was closed without adding the option, even though it was a suggestion in the comments.

This ripple effect is being disabled to all days or only to blocked days?
Because I believe it can be something like
widget.onDayPressed == null ? null : _onDayPressed(value),

It's currently blocking the ripple effect and onDayPressed function for all days

@TomTruyen Would you kindly rebase this and write extra changelog.md with version updates to 2.0.1?

Merged with the newest version (2.0.0)
Changelog has been updated to contain my contribution


Create readme.md

@bd808 could u please review this.

@yuvipanda please review.

Thank you for this! I looked at the full PR in terms of the file it would create, and I think there are a couple more things needed.

filename: It should be README.md (all caps) to follow the usual convention https://en.wikipedia.org/wiki/README
formatting: You need a space after the # in the first line, and there should be some sub-headings.  I'll make some suggestions inline.

So aside from the inline comments, please make subheadings where you think it makes sense with "## title"
Then I think this will make a great start on in-repo documentation.

@crookedstorm could you please check if its now correct, Thank you.

There are things we can improve on, but this is a great start that will make it a lot easier to improve going forward.  Thanks!


Static analyzer (PVS Studio) fixes

Some fixes from PVS Studio static analyzer.
Product page: https://www.viva64.com/en/pvs-studio/
How to use for free: https://www.viva64.com/en/b/0600/

Thanks for the fixes. I think I ran into that first [overrun] one recently while working on WASM support.

Thank you @dimhotepus! That's very precious. :+1:
I remember Daemon#24, Unvanquished#1013 and Unvanquished#1014, :wink:. Good job! That's nice to see you around. :smiley:


Removes SSH and GCP command builders

Description
The SSH and GCP command builders are no longer used. This PR simply removes them. CI testing should be sufficient.

Do we still have a use of Host.Kind ?

We do, because it's used to differentiate between local tests and k8s tests, but the rest of the HostInfo config values I think are unused, so I've removed them.

Do we still have a use of Host.Kind ?

We do, because it's used to differentiate between local tests and k8s tests, but the rest of the HostInfo config values I think are unused, so I've removed them.

Not something to do as part of this PR, but given that tests are meant to either run on docker of k8s (at least the way they are put together now), we can probably delegate the decision of what kind of runner to use to the tests themselves, instead of making it configurable and risk someone attempting to run tests on a system they are not meant to work on.
If we ever put together a test that is able to run on docker or k8s independently we might need to put some mechanism for this back in place, but I don't think we have plans to do this any time soon.

we can probably delegate the decision of what kind of runner to use to the tests themselves

Yeah good point. I'll do that in a follow up.


ci(*): try making sync_closed_tasks add labels

[ ] depends on: #35
[ ] depends on: #3

bors r+


Fix dialyzer errors

This fixes all dialyzer errors on elixir 1.3.2 and erlang 19.
I have not yet added dialyxir to travis because dialyxir currently requires elixir 1.3. If you'd like to build only 1.3+ I'd be happy to add it to travis like this: https://github.com/riverrun/comeonin/pull/91/commits/fc7a38262377d0cd49c5a0a8a1cc9306c67eb67c

Thank you @aaronjensen!  @hassox any thoughts?

Thank you @aaronjensen 👍