Remove asyncio from requirements

Background
Conflicting setup requirement with standard library for Python 3.7 / 3.8

This library supports an integration in Home Assistant.
One or more of the requirements of this library (see below) conflicts with one or more standard library modules for Python 3.7 and/or 3.8.
To avoid issues it would be good if this library would remove these conflicting requirements from your library setup requirements or use a condition to only install the requirements when using a lower Python version.
If a setup.py file is used it means updating the install_requires list and removing or updating the conflicting requirements.

See this blog for how to use a condition in install_requires: https://hynek.me/articles/conditional-python-dependencies/

Found conflicts:

asyncio

Thanks for your support of Home Assistant!
Solution

Since this library requires Python 3.7 as minimum version, asyncio is not required to be installed from PyPI.

@OnFreund Hi! Just wanted to check if you've seen this. Cheers!

Thanks, somehow missed this.


Remove ImageMode

Objective
Delete ImageMode. It doesn't do anything except mislead people into thinking it controls the aspect ratio of images somehow.
Fixes #3933 and #6637
Solution
Delete ImageMode
Changelog
Removes the ImageMode enum.
Removes the image_mode field from ImageBundle
Removes the With<ImageMode> query filter from image_node_system
Renames image_node_system to update_image_calculated_size_system

bors r+


DPJTH-1 Make HSM manager state aware

Changes in this pull request

Add connection state functionality to the HsmManager and check those states in the HSM sample.

Fulfills  DPJTH-1
Checklist for approving this pull request
(PR creator amends this with more conditions if necessary)

[ ] There are unit tests for new/changed code, or a good explanation why this was not possible.
[ ] All CI builders have indicated success (Give them a few minutes to notice the pull request.)
[ ] The Pull request title has the JIRA issue numbers separated by spaces (if any), space, and then a short, but descriptive summary.
[ ] Commit messages are well formed: A note about Git commit messages
[ ] New public packages, classes, and methods are documented. (Strongly consider documenting private classes and methods.)

Blockers
Add a checkbox for yourself with your @name to this list if you are holding this PR open for review. PR Shepherd, please hold off merging this PR until these are all checked:

[x] <add your name here with an @>

Build failed.

Build failed.

Build failed.

Build succeeded.

Build succeeded.

Build succeeded.

Much improved. Thank you, @jrowden8 !


SpeechToTextV1 not an option when using via Swift Packages.

The title pretty much says it. If I install the swift-sdk into my project as a swift package the SpeechToTextv1 isn't listed. I see other packages.

This omission was intentional. Until very recently (just announced at the recent WWDC), Swift Package Manager did not support importing binary packages into a package, and STT requires binary packages (actually C/C++ packages that are "pre-built") to function.
With the new support for binary dependencies in SPM, we could make STT available in a Swift package, but the amount of work needed is unknown.  Of course, we'd be happy for a contribution (PR) in this area.


Fix CVEs

What is the current behavior?
There are the following security alterts:
https://github.com/DigitalDataChainConsortium/vdi2770/security/dependabot/4
https://github.com/DigitalDataChainConsortium/vdi2770/security/dependabot/5
https://github.com/DigitalDataChainConsortium/vdi2770/security/dependabot/6
What is the expected behavior?
Update to patched packages

Updating to commons-text to 1.10.0 (see https://github.com/DigitalDataChainConsortium/vdi2770/security/dependabot/5) and updating jackson to 2.14.0 (see https://github.com/DigitalDataChainConsortium/vdi2770/security/dependabot/4 and https://github.com/DigitalDataChainConsortium/vdi2770/security/dependabot/6)


fix(material/badge): automatically set aria-hidden

This PR solves issue #27705 by automatically setting aria-hidden=true if mat-icons have a visible badge.
Previously, badges on mat-icons caused a warning, instructing the developer to set this attribute appropriately.

Hello @wagnermaciel, is there anything I can do to help you with the review? :)

Hello Reviewers, could you please provide me with an update of the review status?

Good Morning @wagnermaciel , any updates? The issue persists.

Hello @crisbeto, I see you are the most active contributor in this project. Could you please provide me with an status of the current state of development in this repository? Are you still actively developing this and accepting PRs?

@AlexanderMelde Hi Alexander, I'm not sure how I've missed your previous messages but I wanted to apologize for the delay here. We've been heads down on some other work and this PR has gone unnoticed for way too long
I'm not sure if automatically setting aria-hidden for the user is the desired fix so I will reach out to the rest of the team to see if this change is accepted. I'll post an update here once I have a response. Thank you so much for your patience

@AlexanderMelde Hi Alexander, I'm not sure how I've missed your previous messages but I wanted to apologize for the delay here. We've been heads down on some other work and this PR has gone unnoticed for way too long
I'm not sure if automatically setting aria-hidden for the user is the desired fix so I will reach out to the rest of the team to see if this change is accepted. I'll post an update here once I have a response. Thank you so much for your patience

Thank you for the response and describing your situation, I'm happy to hear that you are discussing the topic!

Meeting recap
Ok, just got done speaking with the team on this. The final verdict was that we will need to go with a different route for this fix. The reason we can't go with this route is that making the mat-icon aria-hidden="false" is bad for a11y since the mat-icon text is not meaningful
The correct solution
The correct solution for this will be to remove the warning altogether and then change the mat-badge behavior as follows:

If the matBadgeDescription is applied, and the element that has the badge on it is interactive (not aria-hidden), then the mat-badge should use aria-describedBy to communicate with screen readers.
Otherwise, if the matBadgeDescription is applied, and the element that has the badge on it is not interactive (is aria-hidden), then the mat-badge should append a span with the description as the next sibling to the element that has the badge on it.

@AlexanderMelde would you be interested in making this change?

@wagnermaciel Thank you for the detailed recap!
I discussed this with my team and while supporting your proposal, unfortunately we are unable to prioritize this topic at the moment.
I will try to work on an initial draft during my available free time, however, I cannot provide you with a specific timeline yet.


ComboBox - @deephaven/jsapi-components

We need a ComboBox component in the @deephaven/jsapi-components package to provide support for table data sources. This depends on the ComboBoxNormalized component in #2071

duplicate of #2073


chore: adding ci

This features:

GitHub Actions: lint, test (with 100% code coverage), and build
Fixes some lint issues
Adds lint support to VSCode settings.json

Welcome to Codecov :tada:
Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.
:information_source: You can also turn on project coverage checks and project coverage reporting on Pull Request comment
Thanks for integrating Codecov - We've got you covered :open_umbrella:


[SPARK-8634][Streaming][Tests]Fix flaky test StreamingListenerSuite "receiver info reporting"

As per the unit test log in https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/35754/
15/06/24 23:09:10.210 Thread-3495 INFO ReceiverTracker: Starting 1 receivers
15/06/24 23:09:10.270 Thread-3495 INFO SparkContext: Starting job: apply at Transformer.scala:22
...
15/06/24 23:09:14.259 ForkJoinPool-4-worker-29 INFO StreamingListenerSuiteReceiver: Started receiver and sleeping
15/06/24 23:09:14.270 ForkJoinPool-4-worker-29 INFO StreamingListenerSuiteReceiver: Reporting error and sleeping

it needs at least 4 seconds to receive all receiver events in this slow machine, but timeout for eventually is only 2 seconds.
This PR increases timeout to make this test stable.

/cc @tdas

NAVER - http://www.naver.com/
<EMAIL_ADDRESS>님께 보내신 메일 <[spark] [SPARK-8634][Streaming][Tests]Fix flaky test StreamingListenerSuite "receiver info reporting" (#7017)> 이 다음과 같은 이유로 전송 실패했습니다.

받는 사람이 회원님의 메일을 수신차단 하였습니다.

NAVER - http://www.naver.com/
<EMAIL_ADDRESS>님께 보내신 메일 <Re: [spark] [SPARK-8634][Streaming][Tests]Fix flaky test StreamingListenerSuite "receiver info reporting" (#7017)> 이 다음과 같은 이유로 전송 실패했습니다.

받는 사람이 회원님의 메일을 수신차단 하였습니다.

Merged build triggered.

Merged build started.

Test build #35785 has started for   PR 7017 at commit 719cae4.

Test build #35785 has finished for   PR 7017 at commit 719cae4.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

retest this please

Merged build triggered.

Merged build started.

Test build #35793 has started for   PR 7017 at commit 719cae4.

Test build #35793 has finished for   PR 7017 at commit 719cae4.

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

Merged build finished. Test PASSed.

Merging into master 1.4...


Add /core architecture, using tsconfig-paths

All updates made here will be merged in the last PR (#211), in this nested chain of collection execution PRs.


[Documentation] Convert legacy issue templates to web forms

Our issue templates were created using the legacy method using YAML frontmatter.  We should use the new issue form syntax to allow for prettier issues
https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-issue-forms

@therzka I see that this issue isn't currently assigned to anyone. Can I take a stab at this?

@ghostinhershell here are where the templates live, thank you 🌻 https://github.com/ProgramEquity/amplify/tree/main/.github/ISSUE_TEMPLATE

@therzka Hi, could I try to work on this issue as well? Thanks so much.


Issue with lora.py on mlx version 0.0.7 - Adapter Loading Failure

I've encountered an issue with lora.py when using mlx version 0.0.7. The issue arises during the model fine-tuning process. It seems to be related to loading adapters. The issue does not occur with mlx version 0.0.6. It seems there might be compatibility issues with the new mlx version and the adapter loading process in lora.py.
Steps to Reproduce
Install mlx version 0.0.7.
Run lora.py to fine-tune the model, such as llama2.
Observe the error during the execution.
Behavior
The process raises a ValueError indicating missing parameters in various layers. Here's the traceback for reference:
Traceback (most recent call last):
  File "/Users/XXX/mlx-examples/lora/lora.py", line 392, in <module>
    model.load_weights(args.adapter_file)
  File "/Users/XXX/.venv/lib/python3.11/site-packages/mlx/nn/layers/base.py", line 149, in load_weights
    raise ValueError(f"Missing parameters: {missing}.")
ValueError: Missing parameters: [list of missing parameters]

Actually you need to run training first --train. There is a more helpful error message coming in #219

Thank you for the help. I tried the qlora branch b2dc8f3 with MLX version 0.0.7, but the issue still persists. Here's the command I used to fine-tune the model: python lora.py --model ./llama2-7b-mlx --train --iters 1. Additionally, I dumped the model using command: python convert.py --torch-path llama-2-7b --mlx-path llama2-7b-mlx
The program still generates an error message like this: Traceback (most recent call last):   File "/Users/XXX/mlx-examples/lora/lora.py", line 397, in <module>     model.load_weights(args.adapter_file)   File "/Users/XXX/.venv/lib/python3.11/site-packages/mlx/nn/layers/base.py", line 149, in load_weights     raise ValueError(f"Missing parameters: {missing}.")

Sorry I just added the fix to the branch. Try again?


[14.0.x]  ISPN-15151 Unable to upgrade if a backup has been restored on the older server

https://issues.redhat.com/browse/ISPN-15151

Image pushed for Jenkins build #3:
quay.io/infinispan-test/server:PR-11267

Image pushed for Jenkins build #4:
quay.io/infinispan-test/server:PR-11267

Image pushed for Jenkins build #5:
quay.io/infinispan-test/server:PR-11267

Merged, thanks


Question: Motivation for using nightly Rust

I've started contributing to ruff and was surprised why the clippy and rustfmt jobs failed on my PR, but they both passed locally. I then studied the CI logs and noticed that the CI uses the Rust nightly channels for clippy and formatting. I should have known to use the nightly channel because the CONTRIBUTING.md that states clearly the use of the nightly channel for linting and formatting. Nevertheless, having to use the nightly channels made it harder for me to contribute because I had to figure out how to update my outdated nightly channel installation, and I also didn't know which version to install (nightly is a moving target).
That's why I wanted to raise the question of the motivation behind using the nightly channel. Is there a plan to move off nightly after certain features lands in stable? Are these features so important to us (e.g. missing some rustfmt options) to justify the added burden for contributors?

Great question and something I'd love to get more input on.
The use of nightly, to me, is entirely about the availability of the various rustfmt options:

condense_wildcard_suffixes
format_strings
group_imports
hex_literal_case
imports_granularity
normalize_comments
normalize_doc_attributes
reorder_impl_items
wrap_comments

(Off the top of my head, I don't know if we rely on any clippy checks that aren't in stable (do any such checks exist?). The decision to use nightly was entirely motivated by rustfmt.)
Some of these are nice-to-haves, some I find very useful and would, admittedly, be sad to lose -- most of all, I think, is the comment wrapping and normalization. But, I'm willing to be convinced that these aren't worth the added burden. (The good thing here is that removing these options wouldn't trigger any formatting changes to the existing code; they'd just prevent them from being applied going forward.)
To make them explicit, here are a few things to consider as we make this decision:

How much do we care about these extra rustfmt options?
Is there any sense for when we'd expect these to arrive in stable? (Not your responsibility to answer -- if anything, it's mine as the person that introducer the changes.)
Would we ever use nightly Rust "everywhere", to avoid the distinction between build and dev targets? (This likely introduces a lot of the same problems, but it's worth asking.)

For now, I'm leaning on reverting given that this isn't the first time it's come up, and we can always reintroduce them later when they stabilize.

Maybe you meant toolchain rather than targets?

Yup, that's what I meant.

I can vouch that the nightly formatters have broken my code before. It split a string in between the '' and 'n', turning a newline character into an 'n'. Not the end of the world of course, but it was annoying.

Alright, let's nix it! I can remove later today, but anyone is welcome to beat me to it.
(I assume @MichaReiser has no objections but would be great to have his thumbs-up as the original author of the issue.)

Sounds good to me. Not having group_imports and imports_granularity will certainly result in messier use statements but can be easily solved once the options become stable.

Closed by #2278.


Performance issue on multiple Data_Project methods

This is causing a number of delays on tests when there are 150+ projects
Will become an issue as more projects are added, and it is making some tests unstable in wallaby (which seems to have more of a problem vs mocha)
Here is the test that replicates the problem
  require 'fluentnode'

  it.only 'Performance issue on multiple Data_Project methods #167', ->
    start = Date.now()

    using new Data_Project(), ->
      @.projects()._keys().size().assert_Is 2                          # there are 2 projects
      (Date.now() - start).assert_Smaller_Than 3                       # @.projects() is sub 3 ms

      for i in [1..10]                                                 # call @.project_Files 10 times
        @.project_Files('bsimm')[0].size().assert_In_Between 140,160   # there are about 150 projects
      (Date.now() - start).assert_In_Between 250,500                   # 10x @.project_Files() takes more than 250ms
                                                                       #   this becomes a problem for actions like
                                                                       #   calculate scores which will call @.project_Files
                                                                       #   once per project (i.e. 150+ times)```

Note how @wallabyjs is 3x slower than mocha

Similar problem has occurred in the past (see #108)

Done (after refactoring of #168 which uses a in memory cache now)
Here is the performance gain  (note that we are now testing 500x calls)


Feature (Backend): Show log in console by annotation

Codecov Report

Merging #161 (9d9413c) into main (3cfe656) will decrease coverage by 0.13%.
The diff coverage is 25.00%.

@@             Coverage Diff              @@
##               main     #161      +/-   ##
============================================
- Coverage     75.41%   75.27%   -0.14%
- Complexity      129      130       +1
============================================
  Files            42       42
  Lines           362      364       +2
  Branches          7        7
============================================
+ Hits            273      274       +1
- Misses           84       85       +1
  Partials          5        5

Impacted Files
Coverage Δ
Complexity Δ

...edev/kakebo/services/impl/ExpensesServiceImpl.java
82.35% <ø> (ø)
6.00 <0.00> (ø)

...va/pl/dicedev/kakebo/aspects/LoggedUserAspect.java
40.00% <25.00%> (+6.66%)
2.00 <1.00> (+1.00)

Continue to review full report at Codecov.

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


Must set/verify ACL permissions

WellKnownSID   http://wixtoolset.org/documentation/manual/v3/customactions/osinfo.html
http://wixtoolset.org/documentation/manual/v3/xsd/util/permissionex.html
https://blogs.msdn.microsoft.com/cjacks/2008/12/04/how-to-set-directory-permissions-at-install-time-using-an-msi-created-using-windows-installer-xml-wix/
http://stackoverflow.com/questions/4272406/wix-how-to-set-permissions-for-folder-and-all-sub-folders
Idea from https://github.com/saltstack/salt/issues/38756

https://blogs.msdn.microsoft.com/cjacks/2008/12/04/how-to-set-directory-permissions-at-install-time-using-an-msi-created-using-windows-installer-xml-wix/
http://stackoverflow.com/questions/4272406/wix-how-to-set-permissions-for-folder-and-all-sub-folders

http://wix-users.narkive.com/zEE0R5fw/setting-permissions-when-creating-folder
<Fragment>
  <Property Id="WIX_ACCOUNT_ADMINISTRATORS" Secure="yes" />
  <CustomActionRef Id="WixQueryOsWellKnownSID" />
</Fragment>

http://wixtoolset.org/documentation/manual/v3/customactions/osinfo.html
<PropertyRef Id="WIX_SUITE_SINGLEUSERTS" />

Closed with https://github.com/markuskramerIgitt/salt-windows-msi/commit/f8dd459b108ae697eeeeaaaabd087ef9a04abcf5


Docs: admin_ui change backend to frontend

Docs: admin_ui change backend to frontend

Codecov Report

Merging #1211 (c24c75c) into main (931ecef) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #1211   +/-   ##
=======================================
  Coverage   49.88%   49.88%
=======================================
  Files         255      255
  Lines       14715    14715
=======================================
  Hits         7340     7340
  Misses       7375     7375

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Caching DoH proxy for ENS/UD TLD resolution

Until it is possible to do it trustlessly, we need to be able to reliably resolve ENS DNSLinks in web browser via DoH HTTP endpoint.
Problem
Right now, we don't really have a reliable endpoint that has liberal CORS and works in web browser, which makes Helia example/demo work blocked.
Example: both resolver.cloudflare-eth.com/dns-query and eth.link/dns-query are missing CORS headers:
$ curl -s -H "accept: application/dns-json" "https://resolver.cloudflare-eth.com/dns-query?name=_dnslink.vitalik.eth&type=TXT" -i
HTTP/2 200
date: Thu, 01 Feb 2024 16:08:52 GMT
content-type: application/dns-json
content-length: 539
cf-ray: 84eb749d5bd63bbb-WAW
cf-cache-status: HIT
accept-ranges: bytes
age: 282
cache-control: s-maxage=3600
last-modified: Thu, 01 Feb 2024 16:04:10 GMT
server: cloudflare

{"AD":true,"CD":false,"RA":true,"RD":true,"TC":false,"Status":0,"Question":[{"name":"_dnslink.vitalik.eth.","type":16}],"Answer":[{"name":"_dnslink.vitalik.eth","type":16,"TTL":3600,"data":"\"dnslink=/ipfs/bafybeictzkdhq2pgttegnhofoerz2txevkfz3tudrgdxuebplxn6sw6n2y\""},{"name":"_dnslink.vitalik.eth","type":16,"TTL":3600,"data":"\"contenthash=0xe3010170122053ca867869e69cc8669dc571239d4ee4aa8b9dce8389877a102f5ddbe95bcdd6\""},{"name":"_dnslink.vitalik.eth","type":16,"TTL":3600,"data":"\"a=0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045\""}]}

$ curl -s -H "accept: application/dns-json" "https://eth.link/dns-query?name=_dnslink.vitalik.eth&type=TXT" -i
HTTP/2 200
date: Thu, 01 Feb 2024 16:09:42 GMT
content-type: application/dns-json
content-length: 539
cf-ray: 84eb75d7d9f434d4-WAW
cf-cache-status: HIT
accept-ranges: bytes
age: 3
cache-control: s-maxage=3600
last-modified: Thu, 01 Feb 2024 16:09:39 GMT
server: cloudflare

{"AD":true,"CD":false,"RA":true,"RD":true,"TC":false,"Status":0,"Question":[{"name":"_dnslink.vitalik.eth.","type":16}],"Answer":[{"name":"_dnslink.vitalik.eth","type":16,"TTL":3600,"data":"\"dnslink=/ipfs/bafybeictzkdhq2pgttegnhofoerz2txevkfz3tudrgdxuebplxn6sw6n2y\""},{"name":"_dnslink.vitalik.eth","type":16,"TTL":3600,"data":"\"contenthash=0xe3010170122053ca867869e69cc8669dc571239d4ee4aa8b9dce8389877a102f5ddbe95bcdd6\""},{"name":"_dnslink.vitalik.eth","type":16,"TTL":3600,"data":"\"a=0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045\""}]}%

While we work with Cloudflare / ENS community to fix this, we should have a temporary resolved under our control that has correct CORS and caching set up.
Proposed solution
Add Nginx config that sets up Caching Proxy at https://delegated-ipfs.dev/dns-query that proxies requests to resolver.cloudflare-eth.com/dns-query and adds liberal CORS.
It can have the same caching policy as /routing/v1.
If/Once Cloudflare fixes CORS, we can replace proxying with simple HTTP 301.

This is short-term band-aid that will unblock Helia demos and examples @SgtPooki/@achingbrain/@aschmahmann want to do for EthDenver, and will allow delegated trustd .eth resolution work in browser while ENS community works on truly trustless ENS verification, to witch we will switch if/once it is ready.
@ns4plabs are you able to help with this? Or point me where the config for delegated-ipfs.dev lives so I can PR? Should be pretty simple to add /dns-query route to existing server.


Ability to replace the default material texture

Materials use the default white texture until textures are loaded.  We should be able to replace this with an already loaded texture or just delay the material until the texture is loaded.
For example, in EarthKAMExplorer, as a hack, we replaced the default 2D texture in Context.js (_defaultTexture) with a "loading" texture.
CC #1123

Duplicate with #1640


Build failed in ubuntu 18.04

Hello! Thank you for this project. I have trouble building this gem.
Build with docker failing with the following scenario:
$ cat Dockerfile
FROM ubuntu:18.04

RUN apt-get update && apt-get install -y ruby-dev bundler

RUN gem install http -v4.2.0

$ docker build .
...

Successfully installed ffi-compiler-1.0.1
Building native extensions. This could take a while...
ERROR:  Error installing http:
        ERROR: Failed to build gem native extension.

    current directory: /var/lib/gems/2.5.0/gems/http-parser-1.2.1/ext
/usr/bin/ruby2.5 -rrubygems /usr/share/rubygems-integration/all/gems/rake-12.3.1/exe/rake RU
BYARCHDIR=/var/lib/gems/2.5.0/extensions/x86_64-linux/2.5.0/http-parser-1.2.1 RUBYLIBDIR=/va
r/lib/gems/2.5.0/extensions/x86_64-linux/2.5.0/http-parser-1.2.1
/usr/bin/ruby2.5: No such file or directory -- /usr/share/rubygems-integration/all/gems/rake
-12.3.1/exe/rake (LoadError)

rake failed, exit code 1

Gem files will remain installed in /var/lib/gems/2.5.0/gems/http-parser-1.2.1 for inspection
.
Results logged to /var/lib/gems/2.5.0/extensions/x86_64-linux/2.5.0/http-parser-1.2.1/gem_ma
ke.out

$ docker run --rm -it ubuntu:18.04 bash
root@179ab131b3be:/# apt-get update && apt-get install -y ruby-dev bundler

...

root@179ab131b3be:/# gem install http-parser -v1.2.1
Fetching: ffi-1.11.1.gem (100%)
Building native extensions. This could take a while...
Successfully installed ffi-1.11.1
Fetching: ffi-compiler-1.0.1.gem (100%)
Successfully installed ffi-compiler-1.0.1
Fetching: http-parser-1.2.1.gem (100%)
Building native extensions. This could take a while...
ERROR:  Error installing http-parser:
        ERROR: Failed to build gem native extension.

    current directory: /var/lib/gems/2.5.0/gems/http-parser-1.2.1/ext
/usr/bin/ruby2.5 -rrubygems /usr/share/rubygems-integration/all/gems/rake-12.3.1/exe/rake RUBYARCHDIR=/var/lib/gems/2.5.0/extensions/x86_64-linux/2.5.0/http-parser-1.2.1 RUBYLIBDIR=/var/lib/gems/2.5.0/extensions/x86_64-linux/2.5.0/http-parser-1.2.1
/usr/bin/ruby2.5: No such file or directory -- /usr/share/rubygems-integration/all/gems/rake-12.3.1/exe/rake (LoadError)

rake failed, exit code 1

Gem files will remain installed in /var/lib/gems/2.5.0/gems/http-parser-1.2.1 for inspection.
Results logged to /var/lib/gems/2.5.0/extensions/x86_64-linux/2.5.0/http-parser-1.2.1/gem_make.out

root@179ab131b3be:/# cat /var/lib/gems/2.5.0/extensions/x86_64-linux/2.5.0/http-parser-1.2.1/gem_make.out
current directory: /var/lib/gems/2.5.0/gems/http-parser-1.2.1/ext
/usr/bin/ruby2.5 -rrubygems /usr/share/rubygems-integration/all/gems/rake-12.3.1/exe/rake RUBYARCHDIR=/var/lib/gems/2.5.0/extensions/x86_64-linux/2.5.0/http-parser-1.2.1 RUBYLIBDIR=/var/lib/gems/2.5.0/extensions/x86_64-linux/2.5.0/http-parser-1.2.1
/usr/bin/ruby2.5: No such file or directory -- /usr/share/rubygems-integration/all/gems/rake-12.3.1/exe/rake (LoadError)

rake failed, exit code 1

It's an Ubuntu gems packaging issue. See https://github.com/httprb/http/issues/572 for details.


bitrise-step-nowsecure-auto-analysis 0.1.3

What to do if the build fails?
At the moment contributors do not have access to the CI workflow triggered by StepLib PRs. In case of a failed build, we ask for your patience. Maintainers of Bitrise Steplib will sort it out for you or inform you if any further action is needed.
New Pull Request Checklist
Please mark the points which you did / accept.

[X] I will not move an already shared step version's tag to another commit
[X] I read the Step Development Guideline
[X] I have a test for my Step, which can be run with bitrise run test (in the step's repository)
[X] I did run bitrise run audit-this-step (in the step's repository - note, if you don't have this workflow in your bitrise.yml, you can copy it from the step template.)
[X] I read and accept the Abandoned Step policy

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


Holidays effect does not work when predicting with weekly frequency

I train a model with daily data and specify holidays explicitly. This was learned by the model and works well with daily prediction. However when I make weekly predictions, the model does not seem to extrapolate for future holidays. For example on the graph above, there should be a spike around Nov 2017 due to the holiday.
One quick fix is  to predict on daily level and roll them up into weeks, but it's better to have the correct predictions automatically.

Can you give some more detail on what you mean by weekly predictions? Are you fitting the model to weekly roll-up data? And then what dates are you passing to the predict method, the first day of the week for the future weeks?

@trungngv So, are you training using daily data and making weekly prediction? If yes, then specifying future holiday using weekly date might be helpful than giving exact date of holiday.
Also, its much better to train using weekly data and predict using weekly data, as there will not be any mis-match between holiday window effect, whereas when using daily data for training and predicting at weekly level, the window mismatch might over-estimate the effect of the holiday.
Do, let me know if this helps.

I'm going to close this for now but please re-open if you still have questions about working with weekly data.

Hi, I am working with weekly data. I want to show impact of easter holiday (just one day) on my entire week. For eg. 20th April 2014 was a easter and I noticed a spike in my data for the previous week (week ending 19th April 2014 - I have Saturday ending)
Creating a list of dataframe with easter holiday for every year is not capturing any impact.


Code convention & linting rules for imports

Description
Would it make sense to agree on a convention for the go imports and maybe set the code style job to verify them? I follow the goimports style and have three blocks each sorted:

std
3rd party
local package

import (
	"context"
	"fmt"

	"github.com/kelseyhightower/envconfig"
	"go.uber.org/zap"
	"k8s.io/apimachinery/pkg/types"

	"knative.dev/eventing-kafka/pkg/apis/messaging/v1beta1"
	"knative.dev/eventing-kafka/pkg/channel/consolidated/status"
)

right now the imports are generally all over the place and varies from one component to another, between PRs, and different committers.
This will make it easier to use some default editor config to do proper imports ordering and formatting, and pay more attention to it in our PRs.

sounds good!

Sounds good, but is there some tooling for doing this grouping?

This will make it easier to use some default editor config to do proper imports ordering and formatting, and pay more attention to it in our PRs.

Which editor? :smile:

is there some tooling for doing this grouping?
goimports does the "std lib packages" on top, and custom, empty lines separated groups below. then it automatically imports those groups.

which editor?
most decent editors have them :smile: goimports

goimports is already checked by our linting gh actions script

not sure if there is to be done here specifically (and personally I don't care much as my IDE hides the import from me anyway). I think it's more important to align on conventions about import aliases (if at all). Strangely, the older I get the less I care about code styles or syntactic convention (had too many such battles in my life, won't pick another one if not absolutely needed).

We already have a standard codestyle github action that runs and will report linting errors. https://github.com/knative-sandbox/.github/blob/main/workflow-templates/knative-style.yaml


bug: unit not render in PDF for OtherMechanicalTests

Description
What keywords did you search in schema-tools issues before filing this one ?
Is this a BUG REPORT or FEATURE REQUEST ?
BUG
Environment:
EN 10168 Schema version 0.4.1 on https://app.s1seven.com
What you expected to happen:
The unit given for key-value objects in the object OtherMechanicalTests is not rendered in PDFs. It is rendered correctly in HTML.
"OtherMechanicalTests": {
  "C50": {
    "Key": "Verfestigungsversuch",
    "Value": "0.223",
    "Unit": "n-Wert",
    "Type": "number"
  }
}

Rendering HTML:

Rendering PDF:

How to reproduce it:
The used JSON can be shared private on request.

The OtherMechanicalTests properties are rendered in renderOtherMechanicalTests and obviously the units are missing.
We could refactor the renderKVObjectTests function to make it usable in renderOtherMechanicalTests as well.


JavaScript: Add new query UnusedIndexVariable.

A cheap and cheerful query inspired by this PVS Studio check. It flags loops of the form
for(...; i < a.length; ...) {
  ... a[c] ...
}

where all index operations on a inside the loop body use a constant index c and not the loop variable i.
 The alerts on ChakraCore are false positives (the tests do this on purpose), but they are filtered away by default anyway.
Testing on LGTM.com, I also found this plausible-looking result in the source code for the Angular.js homepage. (There are a few copies of the same code in some other projects.)

LGTM. I have nothing to add.
Interestingly, the rdf-store alert is in code from a parser generator (https://github.com/pegjs/pegjs).

Ping @Semmle/doc for query help review.


Build Error in Objective-c++

Env: xcode 10.1
c++ setting:

I added the test code to main.mm file, and builded failed. Error as follow:
"Cannot initialize a member subobject of type 'void *' with an lvalue of type 'int (int)'"

Should wrote like this:
{"close", (void *)my_close, (void **)&orig_close},
{"open", (void *)my_open, (void **)&orig_open},

Converting type  must be explicit.


leaf segment still loaded when parent segment caught response in catch boundary already

What version of Remix are you using?
1.10.0
Steps to Reproduce
Here is the example case: there are two routes, which is /routes/$parent.tsx and /routes/$parent/leaf.tsx
for /routes/$parent.tsx, the code is:
import { Outlet } from "@remix-run/react";

export async function loader() {
    // this is just for example
    throw new Response("Not Found", { status: 404 });
}

export default function Parent() {
    return

$parent

        <Outlet />

}

export function CatchBoundary() {
    return
Caught in $parent
;
}

for /routes/$parent/leaf.tsx, the code is:
export default function Leaf() {
    return
Leaf

}

export async function loader() {
    console.log("leaf");
    return null;
}

Expected Behavior
The loader of leaf segment, which is /routes/$parent/leaf.tsx, should not be loaded since the loader in /routes/$parent.tsx already thrown a 404 Response and caught the 404 in catch boundary, so it shouldn't load the leaf segment
Actual Behavior
The loader of leaf segment still loaded and logged leaf in the console

Loading happens in parallel, to avoid the network waterfall.
This is why leaf gets called even if parent fails or throws.


Design the plugin icon image for the WordPress.org plugin page

As part of the release of the plugin to the WordPress.org plugin repository we will need to provide a number of assets to ensure that the plugin landing page is attractive & captivating.
example of such pages are:
https://wordpress.org/plugins/google-site-kit/
https://wordpress.org/plugins/amp/
Please provide the plugin icon image for the plugin
from: https://developer.wordpress.org/plugins/wordpress-org/plugin-assets/#plugin-icons

Plugin Icons #Plugin Icons
Plugin icons are square images that show on the side of the plugin in searches on WordPress.org but also on the back-end of WordPress.org.
Akismet with it's Plugin Icon
In addition to JPG and PNG formats, you can also use SVG. Vectors are perfect for icons, as they can be scaled to any size and the file itself is small. If you chose to use SVGs, you must also use a PNG icon as a fallback, otherwise your plugin icon will not display properly in older browsers or on Facebook.
If you do not use an icon, an auto-generated one will be made for you. Some examples are the circled icons below:
Example of auto-generated icons
Top ↑
Filenames #Filenames
Normal: icon-128x128.(png|jpg)
High-DPI (Retina): icon-256x256.(png|jpg)
SVG: icon.svg
There are no plans to change these sizes.

Link to SVG since it's not a supported file

@samitron7 Sweet, thanks! I suppose we could use that for the WordPress admin menu icon as well (without the background color of course)?

moved to RFS

@samitron7 yes, svg please


Restore of brand new db fails when use -ReuseSourceFolderStructure option

Is this:
Just place "x" to indicate selection (e.g. "[x]")

[ ] feature
[X] bug:

System Details

Operating system name and version: Windows Server 2016 Standard 6.3  (Build 14393
Output from $PSVersionTable:

PSVersion                      5.1.14393.1066
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.14393.1066
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>

Output of dbatools version:

Major  Minor  Build  Revision
-----  -----  -----  --------
0      8      951    -1

SQL Server version for source/target
SQL Server 2016 SP1 CU2 13.0.4422.0 (X64) / SQL Server 2016 SP1 CU2 13.0.4422.0 (X64)

Steps to Reproduce
Example:

Setup a sample database:
IF NOT EXISTS (SELECT * FROM sys.databases WHERE name = 'TestRestore')
CREATE DATABASE  TestRestore
GO

-- Make a backup
EXEC dbo.DatabaseBackup
@Databases                 = N'TestRestore'
, @Directory                = N'\db-mag-prod\Backups'
, @BackupType               = N'Full'
2. Run Command:
Get-DbaBackupHistory -SqlServer "SourceServer" -Databases DbName -LastFull | Restore-DbaDatabase -SqlServer "DestinationServer" -WithReplace -ReuseSourceFolderStructure

Received following error

WARNING: Restore-DBFromFilteredArray - Microsoft.SqlServer.Management.Smo.FailedOperationException: Restore failed for Server 'DestinationServer'.  ---> Microsoft.SqlServer.Management.Smo.SmoException: System.Data.SqlClient.SqlError: The operating system returned the error '5(Access is
 denied.)' while attempting 'RestoreContainer::ValidateTargetForCreation' on 'H:\Program Files\Microsoft SQL Server\MSSQL13.MSSQLSERVER\MSSQL\Data\TestRestore.mdf'.
   at Microsoft.SqlServer.Management.Smo.ExecutionManager.ExecuteNonQueryWithMessage(StringCollection queries, ServerMessageEventHandler dbccMessageHandler, Boolean errorsAsMessages, Boolean retry)
   at Microsoft.SqlServer.Management.Smo.BackupRestoreBase.ExecuteSql(Server server, StringCollection queries)
   at Microsoft.SqlServer.Management.Smo.Restore.SqlRestore(Server srv)
   --- End of inner exception stack trace ---
   at Microsoft.SqlServer.Management.Smo.Restore.SqlRestore(Server srv)
   at CallSite.Target(Closure , CallSite , Object , Object )

Action Results
Example:
The Restore operation creates folders matching the target file names. And fails to restore the database because it can't create file name with matching the folder:

Expected Results
Example:
Restore should succeed. No folders with names matching target files should be created.
Attached screen shots/console output

Use of Start-Transcript can help collection of console output and exceptions
Provide screen shots of the output from your console if available.

Import - Attach dbatools logs

Latest release of dbatools now includes a messaging and logging system. You can find this information via the Get-DbaConfig function. Use of the Set-DbaConfig controls the configuration of the system.
Ensure this returns true: (Get-DbaConfig -Name errorlogenabled).value
Locate the log path for the error logs using this command: (Get-DbaConfig -Name dbatoollogpath).Value
Attach the latest xml and log files found in the path shown.

Please rerun with outputscriptonly
Pretty sure this is an issue with the get-dbabackuphistory output I've
raised in another issue.
If it is need Fred to fix the output types
Well find that no file name is issued after the folder path in the restore
statement
Cheers
Stuart
On Mon, 8 May 2017, 21:59 Alexander Sharovarov<EMAIL_ADDRESS>wrote:

Is this:
Just place "x" to indicate selection (e.g. "[x]")

feature
bug:

System Details

Operating system name and version: Windows Server 2016 Standard 6.3
(Build 14393
Output from $PSVersionTable:

PSVersion                      5.1.14393.1066
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.14393.1066
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>

Output of dbatools version:

Major  Minor  Build  Revision

0      8      951    -1

SQL Server version for source/target
SQL Server 2016 SP1 CU2 13.0.4422.0 (X64) / SQL Server 2016 SP1 CU2
13.0.4422.0 (X64)

Steps to Reproduce Example:

Setup a sample database:
IF NOT EXISTS (SELECT * FROM sys.databases WHERE name = 'TestRestore')
CREATE DATABASE TestRestore
GO

-- Make a backup
EXEC dbo.DatabaseBackup
@Databases https://github.com/Databases = N'TestRestore'
, @Directory https://github.com/Directory = N'\db-mag-prod\Backups'
, @BackupType = N'Full'
2. Run Command:
Get-DbaBackupHistory -SqlServer "SourceServer" -Databases DbName -LastFull | Restore-DbaDatabase -SqlServer "DestinationServer" -TrustDbBackupHistory -WithReplace -ReuseSourceFolderStructure

Received following error

WARNING: Restore-DBFromFilteredArray - Microsoft.SqlServer.Management.Smo.FailedOperationException: Restore failed for Server 'SourceServer'.  ---> Microsoft.SqlServer.Management.Smo.SmoException: System.Data.SqlClient.SqlError: The operating system returned the error '5(Access is denied.)' while attempting 'RestoreContainer::ValidateTargetForCreation' on 'H:\Program Files\Microsoft SQL Server\MSSQL13.MSSQLSERVER\MSSQL\Data\TestRestore.mdf'.
at Microsoft.SqlServer.Management.Smo.ExecutionManager.ExecuteNonQueryWithMessage(StringCollection queries, ServerMessageEventHandler dbccMessageHandler, Boolean errorsAsMessages, Boolean retry)
at Microsoft.SqlServer.Management.Smo.BackupRestoreBase.ExecuteSql(Server server, StringCollection queries)
at Microsoft.SqlServer.Management.Smo.Restore.SqlRestore(Server srv)
--- End of inner exception stack trace ---
at Microsoft.SqlServer.Management.Smo.Restore.SqlRestore(Server srv)
at CallSite.Target(Closure , CallSite , Object , Object )
Action Results Example:
The Restore operation creates folders matching the target file names. And
fails to restore the database because it can't create file name with
matching the folder:
[image: badfolder]
https://cloud.githubusercontent.com/assets/12534471/25825086/96d393e4-340f-11e7-94e3-6c6bed8cc982.png
Expected Results Example:
Restore should succeed. No folders with names matching target files should
be created.
Attached screen shots/console output

Use of Start-Transcript can help collection of console output and
exceptions
Provide screen shots of the output from your console if available.

Import - Attach dbatools logs

Latest release of dbatools now includes a messaging and logging
system. You can find this information via the Get-DbaConfig function.
Use of the Set-DbaConfig controls the configuration of the system.
Ensure this returns true: (Get-DbaConfig -Name
errorlogenabled).value
Locate the log path for the error logs using this command: (Get-DbaConfig
-Name dbatoollogpath).Value
Attach the latest xml and log files found in the path shown.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/sqlcollaborative/dbatools/issues/1159, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AFWoZpGAr-o52CANkic-VUuhNm0-rWNUks5r34JGgaJpZM4NUfcL
.

The issue is in Restore-DBFromFilteredArray.ps1. Line 157
if ((New-DbaSqlDirectory -Path $File -SqlServer:$SqlServer -SqlCredential:$SqlCredential).Created -ne $true)
New directories created using the file name, while the file name itself should be removed.
It should be (Split-Path -Path $File -Parent) instead of $File
if ((New-DbaSqlDirectory -Path (Split-Path -Path $File -Parent) -SqlServer:$SqlServer -SqlCredential:$SqlCredential).Created -ne $true)
I can fix myself, but I need figure out how to contribute.

Ah... I don't have permissions to Publish my fix... Could you please advise how to get permissions?
Thank you in advance.

Needs fixing on 155 as well:
                if ((Test-SqlPath -Path (Split-path -path $File -parent) -SqlServer:$SqlServer -SqlCredential:$SqlCredential) -ne $true) {
					if ((New-DbaSqlDirectory -Path (Split-path -path $File -parent) -SqlServer:$SqlServer -SqlCredential:$SqlCredential).Created -ne $true)

Have you used git/github before?
you'll need to clone/fork the repo, create a new branch, do your work, commit it, push it and then create a Pull request.
Don't worry if that doesn't make sense, we have some documentation - https://dbatools.io/join-us/github/

Yes. I fixed 155 at my local copy. Tested. It works.
No. I didn't use git before. Thanks. I joined Slack and CK gave me some advice on that.

👍

Created a pull request. Let see how it goes. ;)

I've signed off the review (Restores are my little piece), so should get merged in when once of  the controllers next comes online.

Thank you Stuart

Issue is fixed. Thank you @Stuart-Moore, @ConstantineK and @potatoqualitee for help.


Create microsoft_logo.py

Would this work?

#113

Your PR is under review.
Do star ⭐ the repository & Happy Coding 😎!

Don't forget to give a ⭐ & Happy coding!. 😊


Query refactor to handle query plan parameter

Refactor query to have an interface that can accept query plan as a parameter. This will allow the query plan to be cached to avoid the service interop or gateway call to parse the query.

We currently support this through either the continuation token or an internal API. Main usecase will be in compute gateway where we serialize the query plan in the continuation token (if it's not too large) and resume with it instead of making another call to service interop.


INFO: error on creating script link

hi,
Would you be able to guess what could be causing the following error when I try to install traccar 3.8 on an Ubuntu 64 bit machine. Btw I don't see the 32/64 bit naming like you used to do for earlier versions. I guess 32 bit is now out? Btw thanks for 3.8 - the new features are cool :+1:
root@testingpc-a1:/home# sudo ./traccar.run
Verifying archive integrity... All good.
Uncompressing traccar  100%
/usr/bin/java
++++++++++ YAJSW SET ENV ++++++++++
java version "1.8.0_111"
Java(TM) SE Runtime Environment (build 1.8.0_111-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.111-b14, mixed mode)
wrapper home : /opt/traccar
configuration: /opt/traccar/conf/wrapper.conf
java version "1.8.0_111"
Java(TM) SE Runtime Environment (build 1.8.0_111-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.111-b14, mixed mode)
---------- YAJSW SET ENV ----------
++++++++++ YAJSW SET ENV ++++++++++
java version "1.8.0_111"
Java(TM) SE Runtime Environment (build 1.8.0_111-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.111-b14, mixed mode)
wrapper home : /opt/traccar
configuration: /opt/traccar/conf/wrapper.conf
java version "1.8.0_111"
Java(TM) SE Runtime Environment (build 1.8.0_111-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.111-b14, mixed mode)
---------- YAJSW SET ENV ----------
YAJSW: yajsw-beta-12.07
OS   : Linux/4.8.3-x86_64-linode76/amd64
JVM  : Oracle Corporation/1.8.0_111//usr/lib/jvm/java-8-oracle/jre/64
Nov 19, 2016 5:53:21 PM org.apache.commons.vfs2.VfsLog info
INFO: Using "/tmp/vfs_cache" as temporary files store.
************* INSTALLING traccar ***********************

Nov 19, 2016 5:53:21 PM org.rzo.yajsw.os.posix.PosixService getPid
INFO: wrapper pid file: /run/wrapper.traccar.pid
Nov 19, 2016 5:53:21 PM org.rzo.yajsw.os.posix.PosixService install
WARNING: created daemon script: /etc/init.d/traccar
Nov 19, 2016 5:53:21 PM org.rzo.yajsw.os.posix.PosixService install
INFO: error on creating script link /etc/init.d/rc5.d/S20traccar
Nov 19, 2016 5:53:21 PM org.rzo.yajsw.os.posix.PosixService install
INFO: error on creating script link /etc/init.d/rc5.d/K20traccar
Service traccar installed

Regards

What is your ubuntu version?
It is universal package for both 32/64

It Ubuntu 14.04 LTS - 64 bit

Looks like Traccar is not added to autostart. Otherwise everything should work fine.
I have created a thread on YAJSW forum to check if there is any solution for the problem:
https://sourceforge.net/p/yajsw/discussion/810311/thread/6a04ab3c/

The solution is to add following line to the wrapper.conf file:
wrapper.daemon.run_level_dir=/etc/rcX.d

Note from YASW documentation
NOTE: uninstall the daemon using /opt/traccar/bin/uninstallDaemon.sh before changing the property wrapper.daemon.run_level_dir property  or wrapper.daemon.update_rc. If you change any of these properties while the daemon is installed or running, you will not be able to start, stop, install or uninstall the daemon.
Also want to add that I did not have such warnings on my Ubuntu 14.04

By default it uses /etc/rc.d/rcX.d folder. Do you have it on Ubuntu 14.04? Do you have /etc/rcX.d on Ubuntu 14.04?

thanks a lot for the fix. About to try re-installing it. And I just upgraded to Ubuntu 16.04 xenial. As for the folders let me check if those exist in 16.04 cos 14.04 is now history for me :-)
Just checked ... I have a bunch of these folders on 16.04 64 bit
rc0.d
rc0.d
rc0.d
rc0.d
rc0.d

I have only /etc/rcX.d folders on my Ubuntu 14.04

Here is quote from wrapper.conf.default
# Directory in which to create K... and S... links.
# Default: <wrapper.daemon.dir>/rcX.d
# For Ubuntu set to /etc/rcX.d
# The following grooy script should set it correctly for most distros
wrapper.daemon.run_level_dir=${if (new File('/etc/rc0.d').exists()) return '/etc/rcX.d' else return '/etc/init.d/rcX.d'}

I have several version of Ubuntu and some older CentOS. All of them have /etc/rcX.d. CentOS have symbolic links from /etc/rcX.d to /etc/rc.d/rcX.d.

I could quickly spin up a stock Ubuntu 14.04 and test this withing minutes ... on the job now

@m-menon, can you please this version and see if it has the same problem as the original installer:
https://www.dropbox.com/s/mo7thza1d52s36p/traccar-linux-3.9.zip?dl=0

Sure thanks :+1:  Doing it rightaway

On Ubuntu 16.04.1, After reading your posts, I did as follows:

I have stopped the daemon.  (/opt/traccar/bin/stopDaemon.sh)
I have uninstalled the daemon (/opt/traccar/bin/uninstallDaemon.sh)
I added the line provided by Anton (wrapper.daemon.run_level_dir=/etc/rcX.d) in /opt/traccar/conf/wrapper.conf
I installed again the daemon (/opt/traccar/bin/installDaemon.sh)
I started the daemon (/opt/traccar/bin/startDaemon.sh)

Then, I did "shutdown -r now" and after the reboot everything is up and running.
Thanks all of you for the info!
@tananaev: The new features of 3.8 are awesome!
Federico.-

hi @tananaev I just tried the 3.9 zip. Has the same error
sudo ./traccar.run
Verifying archive integrity... All good.
Uncompressing traccar  100%
/usr/bin/java
++++++++++ YAJSW SET ENV ++++++++++
java version "1.8.0_111"
Java(TM) SE Runtime Environment (build 1.8.0_111-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.111-b14, mixed mode)
wrapper home : /opt/traccar
configuration: /opt/traccar/conf/wrapper.conf
java version "1.8.0_111"
Java(TM) SE Runtime Environment (build 1.8.0_111-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.111-b14, mixed mode)
---------- YAJSW SET ENV ----------
++++++++++ YAJSW SET ENV ++++++++++
java version "1.8.0_111"
Java(TM) SE Runtime Environment (build 1.8.0_111-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.111-b14, mixed mode)
wrapper home : /opt/traccar
configuration: /opt/traccar/conf/wrapper.conf
java version "1.8.0_111"
Java(TM) SE Runtime Environment (build 1.8.0_111-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.111-b14, mixed mode)
---------- YAJSW SET ENV ----------
YAJSW: yajsw-beta-12.07
OS   : Linux/4.8.3-x86_64-linode76/amd64
JVM  : Oracle Corporation/1.8.0_111//usr/lib/jvm/java-8-oracle/jre/64
Nov 20, 2016 3:43:11 AM org.apache.commons.vfs2.VfsLog info
INFO: Using "/tmp/vfs_cache" as temporary files store.
************* INSTALLING traccar ***********************

Nov 20, 2016 3:43:11 AM org.rzo.yajsw.os.posix.PosixService getPid
INFO: wrapper pid file: /run/wrapper.traccar.pid
Nov 20, 2016 3:43:11 AM org.rzo.yajsw.os.posix.PosixService install
WARNING: created daemon script: /etc/init.d/traccar
Nov 20, 2016 3:43:11 AM org.rzo.yajsw.os.posix.PosixService install
INFO: error on creating script link /etc/init.d/rc5.d/S20traccar
Nov 20, 2016 3:43:11 AM org.rzo.yajsw.os.posix.PosixService install
INFO: error on creating script link /etc/init.d/rc5.d/K20traccar
Service traccar installed

Btw it's a VM on Linode. Guess doesn't make much of a difference though

I followed what @fbitonte mentioned and it did seem to install properly. I had a quick glance at the logs and I noticed something
INFO|4318/0|Service traccar|16-11-20 04:53:28|INFO 11/20/16 4:53 AM: liquibase: ./schema/changelog-master.xml: changelog-3.8::changelog-3.8-dropuniquetoken::author: Change set changelog-3.8::changelog-3.8-dropuniquetoken::author failed, but failOnError was false.  Error: Constraint "UK_USER_TOKEN" not found; SQL statement:
INFO|4318/0|Service traccar|16-11-20 04:53:28|ALTER TABLE PUBLIC.users DROP CONSTRAINT uk_user_token [90057-193] [Failed SQL: ALTER TABLE PUBLIC.users DROP CONSTRAINT uk_user_token]
INFO|4318/0|Service traccar|16-11-20 04:53:28|INFO 11/20/16 4:53 AM: liquibase: Successfully released change log lock

Thanks

@m-menon, that error is expected. You can safely ignore it.
Please try this installer:
https://www.dropbox.com/s/mo7thza1d52s36p/traccar-linux-3.9.zip?dl=0
It should work this time.

Bet it did work :100: %
Here's the bottom few lines for the record :)
Nov 20, 2016 10:35:07 AM org.rzo.yajsw.os.posix.PosixService getPid
INFO: wrapper pid file: /run/wrapper.traccar.pid
Nov 20, 2016 10:35:08 AM org.rzo.yajsw.os.posix.PosixService install
WARNING: created daemon script: /etc/init.d/traccar
Nov 20, 2016 10:35:08 AM org.rzo.yajsw.os.posix.PosixService install
INFO: created link : /etc/rc2.d/S20traccar
Nov 20, 2016 10:35:08 AM org.rzo.yajsw.os.posix.PosixService install
INFO: created link : /etc/rc3.d/S20traccar
Nov 20, 2016 10:35:08 AM org.rzo.yajsw.os.posix.PosixService install
INFO: created link : /etc/rc5.d/S20traccar
Nov 20, 2016 10:35:08 AM org.rzo.yajsw.os.posix.PosixService install
INFO: created link : /etc/rc4.d/S20traccar
Nov 20, 2016 10:35:08 AM org.rzo.yajsw.os.posix.PosixService install
INFO: created link : /etc/rc6.d/K20traccar
Nov 20, 2016 10:35:08 AM org.rzo.yajsw.os.posix.PosixService install
INFO: created link : /etc/rc0.d/K20traccar
Nov 20, 2016 10:35:08 AM org.rzo.yajsw.os.posix.PosixService install
INFO: created link : /etc/rc1.d/K20traccar
Service traccar installed

Thanks once again :+1:

Perfect, thanks.

Thanks @tananaev  and @Abyss777, @fbitonte too :+1:

Thanks also from me to all involved in solving this problem. Now it also runs on me Rasperry Pi 2 perfect


Build denormalised archive relationships in the pipeline

Implement a new pipeline stage, which will build relationships from data and properly store it in the index (e.g. parts etc).

Closed as this is really broad and includes lots of work done.


Can I see in live picks and bans ?

I want to see logs of game, when teams choose heroes

I think it's possible to fetch this data from the replay but haven't done it yet. It's available for Captains Mode games.


remove HACBS_TEST_OUTPUT result

The result has been deprecated and now is removed.

Codecov Report

Merging #478 (e8db01a) into main (95139f5) will not change coverage.
The diff coverage is 100.00%.

Additional details and impacted files

@@            Coverage Diff            @@
##              main      #478   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           67        67
  Lines         1928      1919    -9
=========================================
- Hits          1928      1919    -9

Impacted Files
Coverage Δ

policy/pipeline/required_tasks.rego
100.00% <ø> (ø)

policy/release/lib/attestations.rego
100.00% <100.00%> (ø)

policy/release/lib/attestations_test.rego
100.00% <100.00%> (ø)


A few RE3R VR Issues

Been playing through RE3R and had some issues in VR, decided to try to be helpful and report since this mod is awesome.

Fire during rooftop fight with Nemesis freaks out and does some insane graphical glitch at one point in the fight.
Black screen after Jill is in the train crash and it's supposed to go to Carlos at the police station. Have to disable 1st person mode and progress in flat screen.
Black screen after Carlos is done at the police station and it's supposed to go back to Jill after the train crash. Have to disable 1st person mode and progress in flat screen.

Can't report any bugs after the hospital yet since I'm going back to RE2R now but I'm surprised how few issues I've had with it so far.
On pd-upscaler branch commit 0dcf061 although I don't really know if any of these issues exist on previous versions since I haven't played on older versions.
Logs will likely be unuseful since I'm not reporting right away, bugs I'm reporting happened a few hours ago in my playthrough.

Windows 11
Nvidia GeForce RTX 3060
AMD Ryzen 7 3800X
32GB DDR4
Nothing overclocked
HTC Vive with Valve Index Controllers on OpenVR

Have you downgraded re3 in beta to dx11?  Also you get much better performance, deleting openvr in mod and better picture  using virtual desktop's vdxr instead of steam as it gives 10% performance increase.

No performance issues here. Not going to switch to OpenXR/VDXR as these are mainly meant for non HTC/Valve headsets and will likely see a performance decrease over OpenVR on HTC Vive.


Exposing a method to send a non-fatal error

I'm exposing the CrashlyticsPlugin sendNonFatalCrash for javascript access.

I've tested it, the error only appears at the crashlytics dashboard after some time before the app restart.


Fix subject being overwritten with null

Not using crypto-provider passes null as plaintextSubject. saveDraft already has protection against overwriting subject with null. This change adds the same check to sendMessage.
Fixes #3811.
There was an alternative solution of returning subject for all messages, but that would also add the X_SUBJECT_DECRYPTED flag (making it useless it if was set for all messages).
The fix is consistent with checks in other methods.

Follows our existing codestyle. :heavy_check_mark:
Does not break any unit tests. :heavy_check_mark:
Contains a reference to the issue that it fixes. :heavy_check_mark:
For cosmetic changes add one or multiple images, if possible. N/A

@morckx, would you be so kind to test this fix? Thank you in advance!

Is it just me or builds fail with some mysterious reason?
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':app:k9mail'.
> Failed to notify project evaluation listener.
   > java.lang.reflect.InvocationTargetException (no error message)

@morckx, would you be so kind to test this fix? Thank you in advance!

Your solution works for me with and without encryption. Thank you!

Thanks for the fix! The code was indeed confusing there, plaintextSubject didn't imply that this is indeed a "specially cached, non-encrypted" subject obviously enough.


grid Creator - Web design

https://images01.nicepagecdn.com/page/34/24/html-template-3424171.jpg Design a grid like the above image
Create a file "grid_NUM_by_(YourName).html" in the modules/grid folder.
Use simple HTML and CSS and JAVASCRIPT to create the grid animation. You can use the interface development https://kwickerhub.com/ (This project) or you can write the lines of code yourself.
Step by Step Guide.
Fork this project(Use the 'fork' button in the top right corner) and Clone your Fork.
git clone https://github.com/YOUR_USERNAME/frontend
Open your code Editor and Create a file "grid_NUM_YOUR_NAME_.html" in the "modules/grid" folder of this project you just cloned. No need to create head, title and body tags, Just Add a div tag with some embedded style(i.e use the style tag) and the script tag where necessary.
If you want to add an image resource, please add it in the folder ••
"modules/grid/images_and_icons"
We recommend you use an svg for your image/icon.
Push your Code: You need to push your recent changes back to the cloud. Use the command below in the main directory of this Repository
git push origin dev
or use a GUI tool to avoid mistakes or complexity. LOL.
Then make you Pull Request...
Below is a example of the code structure we need:
'''

'''
For more examples:
modules->buttons
modules->cards
for examples of contributions or Pull request accepted in to the project.
And please do not wait for this issue to be assigned to you as we have limited hands but have a lot to do/cover. Please send in your PR.
Good-luck.

Hi @NtemKenyor
I'm interested in contributing to this project and I will send the PR within a week.


fix: adding request.field() fails if value is not Blob (#1680)

Codecov Report

Merging #1726 (303afad) into master (9ed2916) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #1726   +/-   ##
=======================================
  Coverage   94.08%   94.09%
=======================================
  Files          14       14
  Lines        1133     1134    +1
=======================================
+ Hits         1066     1067    +1
  Misses         67       67

Impacted Files
Coverage Δ

src/request-base.js
93.06% <100.00%> (+0.02%)
: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 9ed2916...303afad. Read the comment docs.


Deployment on OpenShift

Hi @RainLoop ,
Have you consider to add the openshift(a free PAAS) support in it?
So that users can run rainloop much more easier.

come up
its my request too


Update to 4.1 Gdextension (Include Truc4 PR #2)

I updated and everything works correctly
However, disconnecting and reconnecting to the same server is still a problem, which will only be solved using SteamNetworkingSockets:
https://partner.steamgames.com/doc/api/ISteamNetworkingSockets

I went back to commit 4.3 because update 4.4 (With steamworks 1.5.8) changed the initialization callbacks.


getting "duplicated key" warning when i start the server

this is the server log after running "rails s":
=> Booting Puma
=> Rails 4.1.5 application starting in development on http://<IP_ADDRESS>:3000
=> Run rails server -h for more startup options
=> Notice: server is listening on all interfaces (<IP_ADDRESS>). Consider using <IP_ADDRESS> (--binding option)
=> Ctrl-C to shutdown server
/Users/username/.rvm/gems/ruby-2.2.0@myapp/gems/rack-rewrite-1.5.0/lib/rack/rewrite/rule.rb:172: warning: duplicated key at line 173 ignored: "Content-Type"
Puma 2.10.2 starting...

Min threads: 0, max threads: 16
Environment: development
Listening on tcp://<IP_ADDRESS>:3000

pull request made: https://github.com/jtrupiano/rack-rewrite/pull/66

thanks. released in 1.5.1

thanks. released in 1.5.1

nice, thanks!


Show label fields dynamically or localization

Let's say I have a textbox with label as User Name, I want to change this label dynamically based on user browser settings. If it is en-US, I need to display 'User Name' and if it is 'fr-ca', I need to display in french.
I already have an API which does translation but I am having difficulty in how to call API method for textbox labels before even form renders to user.
Can you please help me with this.

@swathitallam There is i18n on formio, you could check this example:
http://formio.github.io/formio.js/app/examples/language.html
Please, let us know if it works for you.

I am facing a similar issue. Is there any way to take the label translations input directly from the user while adding any component to the form.

Closed due to no activity. If the issue is still relevant, please reopen


fixed search bar icon; changed search bar color and shape; make everything beside two plots scoll with the page

I tried other colors (i.e black, grey) for the search bar, but it looks horrible.... so I decided to keep it white and square for now. if you come up with other ideas in the future, I will change it then.
p.s, make the axis locked is harder than I thought :)

I think you added all the files by mistake into a folder labeled covizu-dev.
Please migrate your changes from MomomomoLiu:front-end to your local clone of PoonLab:dev.
Pull from dev to make sure that your changes are compatible with the current commit.
Re-issue pull request to dev


Changed to select

Net::IMAP#examine is select mail box with read-only attributes, so we could not delete mails in the box.
To delete mails, changed to Net::IMAP#select.

v2.6.6からブランチを切りなおすのでこのPRは閉じます


Add support for GrandPa warp sync in the node template

GrandPa warp sync is quite an important protocol nowadays, for both light clients and for https://github.com/paritytech/substrate/pull/8884.
This PR adds GrandPa warp sync in the node template, as it was missing.

The node-template is basically a thousand lines of completely undocumented code that nobody understands, and you want me to write a tutorial or an explanation specifically for these specific 9 lines of code that I'm adding?

The node-template is basically a thousand lines of completely undocumented code

Fair enough. Those thousand lines of undocumented code probably came into existence by merging one 'it's just those few lines" PR after another.

Those thousand lines of undocumented code probably came into existence by merging one 'it's just those few lines" PR after another.

The code in the node-template is initially just the same code as the regular node that we have copy-pasted. It has changed very little since then, and is just kept up to date with the rest of the node from time to time.
Nobody has ever bothered to document anything because even today we're still not sure about what the API of the service stuff should look like. Everyone agrees that this code should change in a major way, and nobody documents anything because they anticipate that the API will change in a major way anyway.

Needs a master merge

Obsoleted by #9284 anyway


Add custom animation of scrolling fab behavior

Add custom animation of scrolling fab behavior by extending abstract class AbsScrollingFABBehavior, and we only need to provide two animation resources of hiding fab and showing fab. Also we provide two simple samples of behavior_bottom_in.xml and behavior_bottom_out.xml, behavior_fade_in.xml and behavior_fade_out.xml.
I change the method onNestedScroll of class ScrollAwareFABBehavior.
@Override
    public void onNestedScroll(final CoordinatorLayout coordinatorLayout, final FloatingActionButton child,
                               final View target, final int dxConsumed, final int dyConsumed,
                               final int dxUnconsumed, final int dyUnconsumed) {
        super.onNestedScroll(coordinatorLayout, child, target, dxConsumed, dyConsumed, dxUnconsumed, dyUnconsumed);

        if (dyConsumed > SCROLL_DISTANCE && !scrollingDown) {
            // User scrolled down and the FAB is currently visible -> hide the FAB
            scrollingDown = true;
            child.startAnimation(AnimationUtils.loadAnimation(child.getContext(), getFABHideAnimationRes()));
        } else if (dyConsumed < -SCROLL_DISTANCE && scrollingDown) {
            // User scrolled up and the FAB is currently not visible -> show the FAB
            scrollingDown = false;
            child.startAnimation(AnimationUtils.loadAnimation(child.getContext(), getFABShowAnimationRes()));
        }
    }

    protected abstract int getFABHideAnimationRes();

    protected abstract int getFABShowAnimationRes();

Thanks for the pull request, but the default hide/show animation is in line with the Floating Action Button behaviors


Erroneus labels in ggseg.plot_aseg()

Good evening,
Thanks again for the great plotting tool ! I think I also found some bugs in ggseg.plot_aseg().
Shouldn't the brain stem, cerebellum white matter and cerebellum gray matter appear in light gray when not specified in the dictionary ? In the example plot for instance, the 3 structures appear in some very dark gray. Might be related to the fact that they are also labeled with this same dark color when specifying a value for them in the dictionary ? Here is the plot I get when I set them to 1, 2, and 3 respectively:

Otherwise, labelling the Left-Caudate creates a figure with the Right-Caudate:

and labelling the Right-Caudate creates a figure with the Left-Caudate:

It's a small detail, but you probably want the input regions to map to the correct structures in the plot ;)
Cheers !
David
PS: here's some code in case you want to replicate the plots:
import ggseg
ggseg.plot_aseg({'Brain-Stem': 1, 'Cerebellum-Cortex': 2, 'Cerebellum-White-Matter': 3.0}, cmap='Spectral', background='k', edgecolor='w', bordercolor='gray', ylabel='Volume (mm3)', title='Title of the figure')
ggseg.plot_aseg({'Left-Caudate': 1.0}, cmap='Spectral', background='k', edgecolor='w', bordercolor='gray', ylabel='Volume (mm3)', title='Title of the figure')
ggseg.plot_aseg({'Right-Caudate': 1.0}, cmap='Spectral', background='k', edgecolor='w', bordercolor='gray', ylabel='Volume (mm3)', title='Title of the figure')

Actually, nevermind for the cerebellum and brain stem, just saw this is made on purpose
https://github.com/ggseg/python-ggseg/blob/c0558be23fa815d698d6a610cffa0e0950ce5429/ggseg/__init__.py#L299
You can probably fix the Caudate issue by renaming the files right ?


Service:org.apache.skywalking.apm.collector.storage.ttl.ITTLConfigService not provided

After I started in stand-alone deployment mode, I found an error message in the log. Is there any problem?
2018-11-02 13:51:14,352 - org.apache.skywalking.apm.collector.boot.CollectorBootStartUp -2702 [main] ERROR [] - Service:org.apache.skywalking.apm.collector.storage.ttl.ITTLConfigService not provided
org.apache.skywalking.apm.collector.core.module.ServiceNotProvidedException: Service:org.apache.skywalking.apm.collector.storage.ttl.ITTLConfigService not provided
	at org.apache.skywalking.apm.collector.core.module.ModuleProvider.requiredCheck(ModuleProvider.java:110) ~[apm-collector-core-5.0.0-GA.jar:5.0.0-GA]
	at org.apache.skywalking.apm.collector.core.module.BootstrapFlow.start(BootstrapFlow.java:59) ~[apm-collector-core-5.0.0-GA.jar:5.0.0-GA]
	at org.apache.skywalking.apm.collector.core.module.ModuleManager.init(ModuleManager.java:68) ~[apm-collector-core-5.0.0-GA.jar:5.0.0-GA]
	at org.apache.skywalking.apm.collector.boot.CollectorBootStartUp.main(CollectorBootStartUp.java:45) [apm-collector-boot-5.0.0-GA.jar:5.0.0-GA]

Yes, on the Windows platform, I got the installation package from the download page.

Because of the first issue, you backend starts up failure. So UI is meaningless.

I just download and run the release on my laptop, nothing wrong. If you are in windows, please make sure you unzip file right. We have received a lot times, windows block unzip with long file path or file name, so you will miss some jar file. Check your collector-libs folder, should have 159 jar files in it.

I have tested it in the CentOS environment and found the same problem in the logs.

[root@oms-java-dev /home/apache-skywalking-apm-incubating]# cd collector-libs/
[root@oms-java-dev /home/apache-skywalking-apm-incubating/collector-libs]#  ls -l | grep "^-" | wc -l
159

This interface has been implmented in org.apache.skywalking.apm.collector.storage.es.StorageModuleEsProvider#prepare

this.registerServiceImplementation(ITTLConfigService.class, new TTLConfigService(config));

Due to stand-alone deployment, I chose to use H2DB

You should read the document. H2 storage is not provided in 5.x. No one contributes that feature.

got it


Default head no inner kleisli

Removes the use and allocation of extra Kleisli in the private method.
Avoids use of instance MonoidK[F] => MonoidK[Kleisli[F, A, B]

Trivial conflict to resolve and it's ready.


LoginProvisionedDevice off of LoginState

clean it up to use ProvisionalLoginContext and ActiveDevice
do the passphrase login in a sandbox that we commit only at the end of the engine Run

ping @patrickxb on this one

I gotta give you a break from all of these. Ok, last one for a while...

thanks @patrickxb. going to rebase, let CI run, and then merge on green.


Doesn't work on Android 13

Since Android 13 (API 33)  -  "startActivityForResult" doesn't work anymore
So if Excuse me need to show settings nothing happen

I'm also having the same issue. Not working in Android 13

same issue


Use auto-format constraints for better compatibility between different screen sizes.

The original prototype had a lot of hard-coded/static constraints for iPhone 11 screens. @SkylerBRN pointed out these don't render well on iPhone 8 viewports. Using auto-format constraints should make the views more portable.

@XiaZhenchao We can discuss this one, in case you're interested in iOS view development.

@tylerfranklin sure, of course. I will try my best to deal with this

@XiaZhenchao Here's what @SkylerBRN was talking about in the standup.

Got it!


Clean up all warnings in Java client test

Cleans up all warnings in the Java/Client test folder.

spotless hates you


Improve helm chart

Hi, this PR adds two small changes:

Make extraManifest independant from UI. Sometimes It is necessary to add extra resources like ExternalSecret or IngressRoute even when UI is not needed (Exposing REST API from one cluster to a centralized policy-reporter UI on another cluster)
Avoid adding empty string username: and password: to the secret policy-reporter-ui-default-cluster when they are not defined in the values. This causes Argocd to show the app as OutOfSync because kube API removes this field at admission

Pull Request Test Coverage Report for Build<PHONE_NUMBER>3
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 80.887%

Totals

Change from base Build<PHONE_NUMBER>5:
0.0%

Covered Lines:
6454

Relevant Lines:
7979

💛  - Coveralls


XPC Service hits 100% CPU and stops responding

Hi,
I'm still trying to get this to work. Suggestions start appearing, but immediately the XPC service hits 100% CPU and completely stops responding.
This happens every single time, I have no idea why. Any ideas?

Which version are you using? It's a known issue in 0.8.1 but should have been fixed in 0.8.2

I guess it's 0.8.3 base on the screenshot.
Does it crash after stop responding? If so you can get a crash report from the Console.app.
If not, please let me know:

Where is the file located?
How big is the project you are opening in Xcode? Will it freeze if you run the command on a swift playground at ~/Desktop?
Would you mind sharing a copy of the file you were editing?

Does it happen in comment mode?

No, only floating.

Where is the file located?

Locally

How big is the project you are opening in Xcode? Will it freeze if you run the command on a swift playground at ~/Desktop?

Yes, it still freezes.

Would you mind sharing a copy of the file you were editing?
It happens with every file, unfortunately.

Does it crash after stop responding? If so you can get a crash report from the Console.app.

Sadly no, it doesn't crash, it just hangs.

I can't reproduce the bug, so I need your help to locate it. I have prepared a modified version of the app, wherein I have disabled some features that may cause the problem. I have also added a few toggles in the host app, which you can use to turn these features back on. Please turn these toggles on one by one, and then run the ‘get suggestions’ command after making each change. Once you identify the toggle that causes the app to freeze, please let me know. Thanks.
Copilot for Xcode.app.zip

It seems like, real-time suggestion with floating widget will cause the app freeze.
xcode version: 14.2
copilot for Xcode version: 0.8.2

It seems like, real-time suggestion with floating widget will cause the app freeze.
xcode version: 14.2
copilot for Xcode version: 0.8.2

I can't reproduce it, would you mind installing the modified version mentioned above to help me locate the bug?
It would be better if you can do a time profiling on the app.

The pictures above are a combination of the toggles, it looks like the suggestion panel and syntax highlighting will cause the freeze. I would love to keep testing it when I get free.

@cr2s367067 Do you mean all these combinations can cause freeze?

Turn every toggle on, but try to generate suggestions for a file that is not in Swift, for example a markdown file. Swift has its own syntax highlighter.
B:
Markdown also hangs

Only turn off "Enable SuggestionPanelView code block". And would you mind telling me your macOS version?
It works if you disable the SuggestionPanelView code block. But it doesn't work if you only disable syntax highlighting.

So the problem is with the code block, but not the syntax highlighting.

@timwredwards Thank you! I think we are pretty close to the real cause, I would guess it's some kind of SwiftUI bug. Here is a new version that changes the code block from LazyVGrid to VStack, and adds a new toggle to enable the code part in the code block view. Would you mind giving it a try? If it's still not working, I think I will have to make it a web view. Copilot for Xcode.app.zip

@cr2s367067 Oops I thought it was some Apple bug fixed in 13.2.1, but looks like it's not because I am also at 13.2.1. Please also give the following version a try! Thank you.

@timwredwards Thank you! I think we are pretty close to the real cause, I would guess it's some kind of SwiftUI bug. Here is a new version that changes the code block from LazyVGrid to VStack, and adds a new toggle to enable the code part in the code block view. Would you mind giving it a try? If it's still not working, I think I will have to make it a web view. Copilot for Xcode.app.zip

@timwredwards Thank you! I think we are pretty close to the real cause, I would guess it's some kind of SwiftUI bug. Here is a new version that changes the code block from LazyVGrid to VStack, and adds a new toggle to enable the code part in the code block view. Would you mind giving it a try? If it's still not working, I think I will have to make it a web view. Copilot for Xcode.app.zip

This seems to work, with all toggles activated! I'll keep testing and get back to you if I experience another hang.

[Tears on my face]


Propagate resources across all Tenant Namespace using the TenantResource custom resource

Current design
Alice would like to create several resources on each of their Namespaces. Upon the creation of each Namespace, they have to create the desired resources on each Namespace. Any automation cannot be put in place here.
Desired design
A new CRD could be crafted as follow.
apiVersion: capsule.clastix.io/v1beta2
kind: TenantResource
metadata:
  name: database
  namespace: solar-management
spec:
  resyncPeriod: 60s
  additionalResources:
    namespaceSelector:
      matchLabels:
        tier: one
    items:
    - apiVersion: presslabs.io/v1beta1
      kind: MySQL
      spec:
        foo: bar
  clusterRoles:
    namespaceSelector:
      matchLabels:
        tier: one
    items:
      - name: database-admin
        subjets:
        - kind: Group
          name: developers

The Namespace-scoped resource TenantResource would allow alice to create on each Tenant namespace resource declared in the /spec/additionalResources key.
These resources (like a DB CRD) would require RBAC to developers, granted using the /spec/clusterRoles specification key.
Replication of these resources could be furthermore fine-grained using a namespaceSelector, allowing to define on which Namespace these should be replicated.
A reconciliation to ensure the selected status is expected is controlled by the resyncPeriod, a time-based value that allows to poll the current state of the resources and ensure the desired one.
This new custom resource definition is going to be defined as Namespace-scoped in order to allow Tenant owners to create their resources in a fashion automated way.
Proposal contributors

@MaxFedotov
@prometherion
@carpenterm

Looking for contributors for this feature!

Looks pretty good - would this also allow specifying pre-existing resources to be created in namespaces? Or would the spec of the item to be created in the namespaces have to be defined within TenantResource?
I'm imagining this could also be used to solve this issue? https://github.com/clastix/capsule/issues/222 - my only concern is if we specify secrets on this spec (although maybe we can use a CRD to retrieve them from elsewhere)

Sure thing, that's a great proposal and would certainly help with #416.
For the selector it would be awesome if we could also use matchExpressions instead of only namespaceSelector. This would allow more generic assignments, eg:
apiVersion: capsule.clastix.io/v1beta2
kind: TenantResource
metadata:
  name: database
  namespace: solar-management
spec:
  clusterRoles:
    namespaceSelector:
      matchExpressions:
        - key: "production"
          operator: Exists
    items:
      - name: production-view-only
        subjets:
        - kind: Group
          name: developers

Sorry if it's already implied with the namespaceSelector that this should work as well.

For the selector it would be awesome if we could also use matchExpressions instead of only namespaceSelector. This would allow more generic assignments

@oliverbaehler we're going to support it using the metav1.LabelSelector, so yes, end-user will be able to pick the preferred selection of items.

Looks pretty good - would this also allow specifying pre-existing resources to be created in namespaces? Or would the spec of the item to be created in the namespaces have to be defined within TenantResource?

Referring to an external object could be tricky, mostly due to a precondition regarding its existence: what should we do if the referred object doesn't exist? Should we block reconciliation, or just log it out or broadcast event about it?
Let's start the discussion about it: from the simplicity standpoint, referring bare resources in the TenantResource manifest is the best choice; on the other side, having the chance to specify external resources would provide more flexibility.
We could mix the two scopes: if the object in the items array is a k8s.io/api/core/v1/ObjectReference, we'll resolve it and render it.
Could it work, @slushysnowman?

@prometherion even if it is a good and smart design, I’m having some concerns about this approach. Who’s in charge of creating the TenantResource object? If we leave the tenant owner the duty of creating additional resources in such way, we’re breaking the Capsule rule of native Kubernetes experience since the tenant owners have to create custom resources specific of Capsule as they were forced to do with OpenShift or Rancher. WDYT?

@oliverbaehler my bad, missed this notification.
Since #644, we're planning this for the v0.2.0 release, and landing in the v1beta2 Tenant specification, too.

After a chat with the maintainer, we decided to go in a direction where two new CRDs are introduced, a cluster-scoped one named GlobalTenantResource, and a Namespaced one, TenantResources.
apiVersion: capsule.clastix.io/v1beta2
kind: GlobalTenantResource
metadata:
  name: green-production
spec:
  tenantSelector:
    matchLabels:
      energy: green
  resyncPeriod: 60s
  pruningOnDelete: true
  resources:
    - namespaceSelector:
        matchLabels:
          environment: production
      additionalMetadata:
        labels:
          labels.energy.io: green
        annotations:
          annotations.energy.io: green
      namespacedItems:
        - apiVersion: v1
          kind: Secret
          namespace: default
          selector:
            matchLabels:
              replicate: green
      rawItems:
        - apiVersion: v1
          kind: Secret
          metadata:
            name: raw-secret-1
        - apiVersion: v1
          kind: Secret
          metadata:
            name: raw-secret-2
        - apiVersion: v1
          kind: Secret
          metadata:
            name: raw-secret-3

apiVersion: capsule.clastix.io/v1beta2
kind: TenantResource
metadata:
  name: wind-objects
spec:
  resyncPeriod: 60s
  pruningOnDelete: true
  resources:
    - namespaceSelector:
        matchLabels:
          environment: production
      additionalMetadata:
        labels:
          labels.energy.io: wind
        annotations:
          annotations.energy.io: wind
      namespacedItems:
        - apiVersion: v1
          kind: Secret
          namespace: wind-production
          selector:
            matchLabels:
              replicate: solar
      rawItems:
        - apiVersion: v1
          kind: Secret
          metadata:
            name: wind-secret-1
        - apiVersion: v1
          kind: Secret
          metadata:
            name: wind-secret-2
        - apiVersion: v1
          kind: Secret
          metadata:
            name: wind-secret-3

The last PR attached to this issue contains all the required information, along with the CRDs documentation.


request.form empty for certain form POST request payloads

I have a weird one, and I admit I am not entirely sure if it's a problem in Werkzeug or maybe somewhere deeper:
I have an ecowitt weather station and am happily getting data pushed to a python script that works great. Recently someone else wanted to do the same, installed my script but... it just didn't work. We found that the only difference was that I was still on python 3.6.9 and Werkzeug 2.0.3, whereas he was on Python 3.9.2 and Werkzeug 2.3.6
What happens is that in the route handler, request.form is empty depending on how the form request looks in detail.
Here's the code snippet:
@app.route('/weather/report', methods=['POST'])
def receiveEcoWitt():
    print("Data size: " + str(len(request.form)))
    data = request.form
    for key in data:
        print(f"{key}: {data[key]}\n")

So far so easy, right? Now sending a POST request using a simple html form works fine as long as it looks like this:
POST /weather/report HTTP/1.1
Host: <IP_ADDRESS>:8100
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/114.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Content-Type: application/x-www-form-urlencoded
Content-Length: 20
Origin: null
Connection: keep-alive
Upgrade-Insecure-Requests: 1

fname=John&lname=Doe

With that request, request.form is filled and the data can be parsed normally.
However, the Ecowitt station sends requests that have a different set of header fields, which looks like this:
POST /weather/report HTTP/1.1
HOST: <IP_ADDRESS>
Connection: Close
Content-Type: application/x-www-form-urlencoded
Content-Length:502

PASSKEY=78D8DCE861B2164BAD38A473167ACFD2&stationtype=GW2000A_V2.2.4&runtime=1247&dateutc=2023-06-17+10:34:52&tempinf=87.98&humidityin=43&baromrelin=29.158&baromabsin=29.158&tempf=71.60&humidity=57&winddir=44&windspeedmph=0.00&windgustmph=0.00&maxdailygust=1.12&solarradiation=5.52&uv=0&rrain_piezo=0.000&erain_piezo=0.000&hrain_piezo=0.000&drain_piezo=0.000&wrain_piezo=0.000&mrain_piezo=0.000&yrain_piezo=0.000&ws90cap_volt=2.2&ws90_ver=132&wh26batt=0&wh90batt=2.98&freq=868M&model=GW2000A&interval=16

Sending that request results in an empty request.form. It's also no use to try and use request.get_data() or stuff like that. The method in both requests is POST.
What should happen: Both requests should work and request.form should be filled in both cases.
This works fine in Python 3.6.9 and Werkzeug 2.0.3
Environment:
Python v3.9.2
Werkzeug v2.3.6

Update: I recently updated the already-running weather station and now it has the same problem there with Werkzeug v2.3.6.
I don't know exactly which headers Ecowitt used to send back then, but there's clearly been a change in their headers in the latest firmware. Still, I don't think the form data should be empty in such cases, especially considering the request is otherwise accepted just fine.

In your second request example, you have Content-Length:502 without a space, is that a typo? I don't think it should matter (and Werkzeug isn't the thing parsing the headers at that point), but it's the only thing that looks weird.
I can't reproduce this issue, although I don't have a way to reproduce that typo. request.form is populated correctly.

I have the same issue (which I logged here https://github.com/pallets/flask/issues/5168 and also discussed with another weather station hacker here https://github.com/bentasker/Ecowitt_to_InfluxDB/issues/1).
I'm on Python v3.11.3, Flask v2.3.2 and Werkzeug v2.3.6.
It seems we can deduce that something has changed with the format that the Ecowitt is sending in, but it also looks like this should be parsed correctly by Flask/Werkzeug
I'm running an Ecowitt WS2910 with firmware version v5.1.1, and the top item in the firmware changelog is "Optimize the http server" :man_facepalming:

Just to add, I've worked around this issue by placing an NGINX reverse proxy in front of Flask, with no special config, and it seems to magically fix the dodgy header in flight.
Both NGINX and the http echo server I used for testing were able to accept and correct the header, so it feels like Flask should be able to, too.

You still haven't provided a way to reproduce the issue locally, so I still can't do anything. Saying you "feel like Flask should be able" to handle it isn't enough.
It sounds like you might be running the development server, and assuming that is "Flask". This would only be an issue with Werkzeug if it also happens when running a production server such as Gunicorn, Waitress, or uWSGI. And you'd still need to provide a reproducible example.
The development server is a thin wrapper around Python's built-in http.server, issues with how it parses headers should be reported (again with a minimal reproducible example) to https://github.com/python/cpython.

I'll look at raising a PR for the first in a bit.
@davidism let me know if you'd be willing to accept a PR for the second

Considering this regex is meant to remove stuff that's allowed in int() but not in a plain number, I think allowing surrounding whitespace makes perfect sense

PR to fix that is fine, probably just do value = value.strip() before the regex check.

PR posted here: https://github.com/pallets/werkzeug/pull/2738
I'll look at getting one into Python for the root cause soon (or possibly tomorrow)

Closed by #2764


Inconsistent behavior when classes implement partial index signatures

🔎 Search Terms
"class implements index signature", "class implements partial index signature", "partial index signature class"
🕗 Version & Regression Information
This is the behavior in every version I tried, and I reviewed the FAQ for entries about classes
⏯ Playground Link
https://www.typescriptlang.org/play?ts=5.2.2&ssl=12&ssc=69&pln=12&pc=1#code/C4TwDgpgBAkgdgEwgDwCrmgXigBQIYBOwAlngDYA8A3lANoDWEIAXFAM7AHFwDmAuqwAUASiiYAfO07ceUAL7iA3ACgAxmTxs2sRCjIQtUYgFsw+4xDjBt8JGgxQqcqAHoXUAPIBpNRsO2UECNTc0trHTt0SEdXdwBRAgIAewJlAEg7EBFHdLSCCGAAVwI4KAByTLKVNLllWvVNG11kABliYGgTMwgLKybIhxo3Tx801SS4DgJC1WAU7Kc65WVQaIBlSFViADNiVQDkMVxCEnJqOkYWKAADAAEAEiopmTlrgShsiSkuXnklX0aUA2EC2u3UBm0XVCfSBmx2ewOjmcw28AMMAFVJnCwcFur1wsDQQjmjFhglkqk0iAkgtcvkiiVqrV6n5tIT4apcdCCdjiXZSfFEil0mVbmxeRAEGVaWk8gViqUyuKQfDJVV0sy0WzeapyGQQJjlUTOVCemFtSqwYihoKKekAG7kQpYKAAIkdZGdrqWKwc+CIpDI+oAIhBdnBJUd-adKFR0ngRKx7UliAhqgAjRNQZOp6qqLM5tN1f4NQyh8N4YD6zFIcOR0347TRwMhsPcSNOWIjLVAsjEHgACyrBt0dYQXLNMObepA5fb45t3bSCdEcdl40mSX0ADoyEkeIJXXhXcImekEDK5QzSq6EK6z3IgA
💻 Code
type IndexType = Partial<{ [key: string]: () => string }>;
class Indexless implements IndexType {} // OK
class Indexy implements IndexType { // Error
	dexy() {
		return 'dexy';
	}
}
class IndexLite implements IndexType { // OK
	constructor() {}
}

type SpecificIndex = Partial<{ [key: `@${string}`]: () => string }>;
class Unspecific implements SpecificIndex { // Error
	yo() {
		return;
	}
}
class SpecificallyUnspecific implements SpecificIndex { // Error
	value = "value"
}

🙁 Actual behavior
A class implementing a partial type with includes an index signature is marked as an error if it has any method or value defined. If nothing is defined, or only a constructor is defined, it is without error.
🙂 Expected behavior
A class should either be marked as an error when implementing any partial type that includes an index signature, regardless of what's defined on the class – or TypeScript should allow and support partial index signature types.
There should be a consistent way with which TypeScript deals with index signatures being part of a type that a class implements.
Additional information about the issue
No response

The consistent rule on display here is that when a target type is all-optional, which Partial<T> is for all T, then a source type must either be empty, or have at least one member in common with the target type. See https://github.com/microsoft/TypeScript/pull/16047

If I understood the principle correctly this would be an example of intended behaviour:
type Foo = {
  bar: boolean;
  zot: string;
  other: number;
}

class Baz implements Partial<Foo> { // OK
  bar: boolean;
  zot = "string";
  constructor() {
    this.bar = true;
  }
}
class Wrong implements Partial<Foo> { // Error – ts(2559)
  log() {}
}

But when an index signature is involved it seems to result in an error, even when two out of three properties are in common:
type Foo = {
  bar: boolean;
  zot: string;
  [key: `@${string}`]: () => void;
}

class Baz implements Partial<Foo> { // Error – ts(2420)
  bar: boolean;
  zot = "string";
  constructor() {
    this.bar = true;
  }
}

class Baz2 implements Partial<Foo> { // Error – ts(2420)
  bar: boolean;
  zot = 'string';
  constructor() {
    this.bar = true;
  }

  "@test"() {}
}


terminates with zip: not a valid zip file when it fails to open an input attachment

PAIN:
After having processes the same 17G three times in a row with 'fetch-emails' and 'fetch-attachments' and 'fetch-private-channels' it fails on step 'fetch-profile-pictures' with a random error.
The log/stdout only shows 2 lines and just terminates.
LOGS:
Failed to open file in input archive: __uploads/F05PSASRNLX/AIPRM - ChatGPT Code Interpreter -2023-08-19.mov

zip: not a valid zip file

SCREENSHOTS:

OTHER NOTES/IDEAS/HINTS:

this behavior is not unique to 'fetch-profile-pictures'
the code related is copy/pasted in a redundant way between 4 commands, so could happen anytime somewhere else

the same immediate termination would happen with any kind of output file error

IDEAL SOLUTION:
Combined tasks
General approach so far is to read thru many Gigabytes every time, for every step. That costs a lot of time and resources, and is just wasteful.

File ops like this needs to be made central/non-redundant code for maintenance on refactoring
tasks like 'fetchProfilePics' and 'fetch-attachments' are very similar and can be run in one go

Parallel tasks
The code seems to be strictly single-threaded.
Multithreading with rate control and exponential back-offs can improve performance further
Log output
Approach to logging is trivial with fmt.Printfs but still acceptable for a little CLI tool, but could and should be better reporting details.
Resiliance
Approach to errors and stability is non-existent. Terminating an hour-long job in the first file/os error shows the in-maturity of this project, certainly unready for production use.

Defect reproduced some hours later on 2nd job running, same fetch profile pics task

The file number 3 - i.e. after 1 pass of adding attachments, but then going thru it all again per inefficient design leads to a "possible zip bomb"
reproducable consistent with
unzip -t export3-with-emails-and-attachments-private-channels.zip

pigz even rejects to test it due to "unknown compression method"
pigz -t export3-with-emails-and-attachments-private-channels.zip
pigz: skipping: export3-with-emails-and-attachments-private-channels.zip unknown compression method

the source archive used to create that doesn't have that problem, and tests fine.
and a grep hints at the files "surrounding" - not sure if the order is kept

there are hints at other problems with german Umlaus and "local" filenames not matching on that Ubuntu box.
testing the "last shown file" in the defect archive doesn't lead to an error though,
so it's the files "around"

So it looks like the same version of the same .mov but with different sizes are the hotspot in these 10000s of files

Also odd - the dates in the defect export3* archive are all 1979-11-30
while input was all 1980-00-00 which is even an invalid date.
Both dates don't make sense at all, fwiw. We didn't have ChatGPT in 1980.


Feature: Invisibility in python

A program to make anything under a particular color(red for example) to become invisible

I would use opencv module of python for the same along with numpy

I would like to make a pr for this issue under Hacktoberfest 2021. Kindly assign me this issue .

Can I work on this issue?

Can I work on it ?


HTM-317: Scale bar instead of scale line

Codecov Report

Merging #85 (068feba) into main (8229e62) will increase coverage by 0.01%.
The diff coverage is 80.00%.

@@            Coverage Diff             @@
##             main      #85      +/-   ##
==========================================
+ Coverage   64.98%   64.99%   +0.01%
==========================================
  Files         125      125
  Lines        2610     2611       +1
  Branches      402      402
==========================================
+ Hits         1696     1697       +1
  Misses        838      838
  Partials       76       76

Flag
Coverage Δ

unittests
64.99% <80.00%> (+0.01%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...openlayers-map/tools/open-layers-scale-bar-tool.ts
6.25% <0.00%> (ø)

...ponents/toolbar/scale-bar/scale-bar.component.html
100.00% <100.00%> (ø)

...omponents/toolbar/scale-bar/scale-bar.component.ts
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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