Animation does not work fluent

I tried the following animation:
First I created a view:
    self.phoneScreen = UIImageView(image: UIImage(named: "screenBlank")!)
    self.phoneScreen?.frame = CGRectMake(0, 0, self.phoneScreen!.frame.width/2, self.phoneScreen!.frame.height/2)
    self.phoneScreen?.center = self.view.center
    self.scrollView.addSubview(self.phoneScreen!)

Then I created the animation:
let phoneScreenAnimation: IFTTTFrameAnimation = IFTTTFrameAnimation(view: self.phoneScreen!)
    self.animator.addAnimation(phoneScreenAnimation)

    phoneScreenAnimation.addKeyFrame(IFTTTAnimationKeyFrame(time: timeForPage(1), andFrame: self.phoneScreen!.frame))
    phoneScreenAnimation.addKeyFrame(IFTTTAnimationKeyFrame(time: timeForPage(2), andFrame: CGRectOffset(self.phoneScreen!.frame, self.view.frame.size.width, 0)))

The function timeForPage is based on your example.
Here is the problem. The animation is running correctly from page 1 to page 2. The problem is that is not very smooth. It shakes a bit, or lets say it vibrates a bit while running. The shaking is around the x axis while the translation is running. It looks like there is a lot of computation and that the rendering of the view could not handle painting that fast. Is there something wrong with my code or is there a better way to move a view from page 1 to page 2?

+1 I have the same problem. Is this a bug or does a workaround exist?

Probably worth trying just doubling your keyframes: multiply your return value from timeForPage by 2 and double the values you pass into -[IFTTTAnimator animate:]

Does this mean I should double the pages as well?

@jhersh Could you please explain how to solve this issue. I have the same problem. When I make a frame animation, e.g., move a big UIView from page one to page two in a UIScrollView. The animation does not seem to be smooth. How can this be solved?

Here is a good example: https://github.com/confile/Intro-Guide-View-for-Talk.ai
Look at the view at the top. When you move from page to page. While the animation is running the view at the top is slightly moving from left to right. The animation appears a bit fuzzy.

I still struggle with this issue too. Could anyone from the JazzHands team please make a comment on this.
I also raised a bounty: http://stackoverflow.com/questions/30656470/key-frame-animation-appears-fuzzy-when-moving-frames

+1

@lauraskelton Could you please take a look at this issue. Thanks!

@steffimueller I'll look into it!

@steffimueller The problem is due to Retina screen displays. I'll work on getting JazzHands updated, but in the meantime, you need to double the frame rate that JazzHands is using to animate the scroll view. Here's an example of the changes you'd need to make in the example that @confile posted: https://gist.github.com/lauraskelton/11cec6a14a963a912e7f
(original version demonstrating the jiggling: https://github.com/confile/Intro-Guide-View-for-Talk.ai/blob/master/talkIntro/ViewController.m)

@lauraskelton thanks for help. I look forward to see your update.

@lauraskelton You improved it but is is still jiggling a bit.

@steffimueller @confile I just released JazzHands 2.0, which fixes this issue entirely by using CGFloat values in animate:, and lazily finding the in-between values as they're requested, which should completely eliminate the jiggling.

@lauraskelton Thank you. Great job.

@lauraskelton Works great.


Show error if activation with override fails

Previously, errors that happened after the user confirms overriding an existing device, were not shown to the user.

You could try to activate the same card twice.
Then, once the dialog appears about asking to override the previous activation, shut down the backend server. Then confirm the dialog, and check whether an error is shown to the user.


Testing...

Coverage remained the same at 73.118% when pulling f92618963fd7400c956833c8aad50949211f896f on testbranch into 835fbb9ef6cb918f7066b1b644c5e8e6a25608fc on master.

Coverage remained the same at 73.118% when pulling f92618963fd7400c956833c8aad50949211f896f on testbranch into 835fbb9ef6cb918f7066b1b644c5e8e6a25608fc on master.


[PAIShare] Load upload dockerimage form from json-editor schema

Coverage increased (+0.01%) to 51.273% when pulling b954525e1137a91e8d00fc60843bab10a5bf71b6 on yanli2017:paishare2 into b4844994fd7714e2ca8c805deb799d5e5c1310cd on Microsoft:paishare.

CI shows your code has style issue at https://travis-ci.org/Microsoft/pai/jobs/423864263.


Fix Mac/Linux instructions for importing client profiles

This PR fixes an issue I observed with the Mac/Linux instructions on the OpenVPN and Wireguard pages. Specifically, it fixes the scp command to add a reference to a target directory, which is required as per the scp man page.

Looks like there's an issue with the build pipeline. I see other PRs have had the same issue.

yes there is an issue with the build pipeline i havent had yet time to dive into i will look at your PR as soon as i have a bit to check it.

Change the target branch to test please.

Changed the target branch to test. If that should be part of the standard PR process, I would be happy to add it to README.md and submit another PR.

Changed the target branch to test. If that should be part of the standard PR process, I would be happy to add it to README.md and submit another PR.

the goal is that it should be fine to just have it to master ... but lets have it like this for now until i have time to properly adjust the pipeline

Thanks a lot for your contribution and I am Sorry for taking some time to take a look a this!
This has been now deployed.


Patch 1 - Hostname and Filepath issue fixes

Fixes hostname, should be nil instead of default.
Fixes filepath issues, hardcoded @file_1 instead of filepath in function

Thanks Tarun!


Fix truncate() function

Fix truncate() function

Signed-off-by: Margarit Hakobyan<EMAIL_ADDRESS>Signed-off-by: Margarit Hakobyan<EMAIL_ADDRESS>Description
Fixes truncate() returning incorrect results for some input data issue.
Example of a query result after the proposed fix:
opensearchsql> SELECT ddouble.key, ddouble.val, TRUNCATE(ddouble.val, 1) AS `EXPR$2` FROM ddouble;
fetched rows / total rows = 20/20
+----------------------------+------------------------+------------------------+
| key                        | val                    | EXPR$2                 |
|----------------------------+------------------------+------------------------|
| null                       | null                   | null                   |
| 001: min long              | -9.223372036854776e+18 | -9.223372036854776e+18 |
| 002: min int minus one     | -2147483649.0          | -2147483649.0          |
| 003: min int               | -2147483648.0          | -2147483648.0          |
| 004: min short minus one   | -32769.0               | -32769.0               |
| 005: min short             | -32768.0               | -32768.0               |
| 006: pgtest float8 value 2 | -34.84                 | -34.8                  |
| 007: -two                  | -2.0                   | -2.0                   |
| 008: -1.2                  | -1.2                   | -1.2                   |
| 009: -one                  | -1.0                   | -1.0                   |
| 010: zero                  | 0.0                    | 0.0                    |
| 011: one                   | 1.0                    | 1.0                    |
| 012: 1.3                   | 1.3                    | 1.3                    |
| 013: two                   | 2.0                    | 2.0                    |
| 014: pgtest float8 value 1 | 1004.3                 | 1004.3                 |
| 015: max short             | 32767.0                | 32767.0                |
| 016: max short plus one    | 32768.0                | 32768.0                |
| 017: max int               |<PHONE_NUMBER>.0           |<PHONE_NUMBER>.0           |
| 018: max int plus one      |<PHONE_NUMBER>.0           |<PHONE_NUMBER>.0           |
| 019: max long              | 9.223372036854776e+18  | 9.223372036854776e+18  |
+----------------------------+------------------------+------------------------+

Issues Resolved
https://github.com/opensearch-project/sql/issues/1043
Check List

[x] New functionality includes testing.

[x] All tests pass, including unit test, integration test and doctest

[x] New functionality has been documented.

[x] New functionality has javadoc added
[x] New functionality has user manual doc added

[x] Commits are signed per the DCO using --signoff

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

Codecov Report

Merging #1197 (2fea6e6) into main (c923e80) will decrease coverage by 35.54%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##               main    #1197       +/-   ##
=============================================
- Coverage     98.31%   62.76%   -35.55%
=============================================
  Files           342       10      -332
  Lines          8700      658     -8042
  Branches        554      119      -435
=============================================
- Hits           8553      413     -8140
- Misses          142      192       +50
- Partials          5       53       +48

Flag
Coverage Δ

query-workbench
62.76% <ø> (?)

sql-engine
?

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

Impacted Files
Coverage Δ

...ssion/operator/arthmetic/MathematicalFunction.java

...theus/data/constants/PrometheusFieldConstants.java

...ript/filter/lucene/relevance/SingleFieldQuery.java

...va/org/opensearch/sql/monitor/ResourceMonitor.java

...alysis/DataSourceSchemaIdentifierNameResolver.java

...ensearch/sql/analysis/NamedExpressionAnalyzer.java

...protocol/response/format/RawResponseFormatter.java

...org/opensearch/sql/analysis/HighlightAnalyzer.java

...in/java/org/opensearch/sql/data/type/ExprType.java

...rch/sql/executor/streaming/DefaultMetadataLog.java

... and 342 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


[BackEnd] doesn't work with github.

this Error when  click SIGNUP WITH GITHUB button.
Is this working normally? If don't go to the main page with github user information, I will need to rewrite the code for the Chrome extension.
Plz when signin our service with github, send to the main page if users are already signed up.
Could this be because of a problem with github's server today?

Solved now


Convert Zuora extractor to new architecture

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/74
Originally created by @joshlambert on 2018-08-21 18:04:23

View 10 previous comments from the original issue on GitLab


Bubbles reply issues

Bug or feature request?
Let me know what type of issue this is.
When I click between the bubbles (somewhere at the top space between the two bubbles, then all bubbles disappears and chatbot can't move forward.
If it's a bug, please provide the full method to reproduce.
How did you end up seeing the bug? What steps did you take to see it?
Please see the image below, you can test it yourself

Hmm that's odd. Do you see any errors in browser console?

Hi Dmitrizzle/Chat-Bubble,
I'll check it out and get back to you
With kind regards,
Tahir
On Fri, Jan 3, 2020, 21:23 dmitrizzle<EMAIL_ADDRESS>wrote:

Hmm that's odd. Do you see any errors in browser console?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/dmitrizzle/chat-bubble/issues/67?email_source=notifications&email_token=ABWOCOEKTNDGL3UUB6NBVCDQ36NCPA5CNFSM4I4WCQE2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEICABMY#issuecomment-570687667,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABWOCOFCRO2UP2LP7MAOLTTQ36NCPANCNFSM4I4WCQEQ
.

Hi Dmitrizzle/Chat-Bubble,
I did not see anything in the console when the bubbles disappear.
with kind regards,
Tahir

Same issue here.

The issue seems to be this function that's evoked once the user clicks the container .bubble. This function cleans up all the answer bubbles. It is meant to be fired at the same time as the onclick event of the actual bubble spans (constructed here).
So essentially, there are two different function called, one when the user click the bubble, and one when the user clicks the container span for the bubble. Normally, this happens at the same time, as the event propagate down the DOM tree. However, when you click in the area show in the screenshot above, you are only calling one of those functions, the one attached to the container.
The solution is to refactor this logic to have the containers' function called on the answer bubbles and not have to rely on even propagation.
I currently don't have bandwidth to make this change but I am open to PRs.

Fixed the issue by checking if the user clicked on a button or not. Created a pull request too.


Cu 8693z4817 list annotations

This PR updates the type annotations for list types to encase the XML field declarations inside Annotated blocks, which should ensure that they play nice with Pylint.

Task linked: CU-8693z4817 MMS API service


python3Packages.deal-solver: fix issue with pyton-runtime-deps-check

Description of changes
Due to the newly introduced python-deps-check-hook (https://github.com/NixOS/nixpkgs/commit/8f3162f83fcccf26bf50c55ff960fd2dee5264b2) deal-solver failed (https://hydra.nixos.org/build/245350224/nixlog/2). This was due to z3-solver not providing a dist-info folder and importlib.metadata not finding the package in the environment (although it is installed and can be imported).
Therefore the dependency is now removed. All tests still pass.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
Result of nixpkgs-review pr 281578 run on x86_64-linux 1

2 packages marked as broken and skipped:

python312Packages.deal-solver
python312Packages.deal-solver.dist

8 packages built:

python311Packages.deal
python311Packages.deal-solver
python311Packages.deal-solver.dist
python311Packages.deal.dist
python311Packages.icontract
python311Packages.icontract.dist
python311Packages.pylddwrap
python311Packages.pylddwrap.dist

@gador -- FYI: due to NixOS/ofborg#577 commits using python3Packages will not get built. commits need to be named python311Packages.deal-solver or python312Packages.deal-solver for ofborg to automatically generate test builds based off of the PR.

Thanks, I didn't know. Will use python311Packages from now on 👍


Assertion in test using Japanese Windows XP / Ruby Installer

Hi Charlie,
after fix reported in issue #4 I can run the test suite but still have 2 assertions as shown below.
I understand that windows might not be in focus on this early stage of development but any ideas?
Thanks, Thomas
...................................
test/exceptions.js
FAIL  finally still executes if catch throws an exception and the exception keeps bubbling up
Assertion failed after 0 assertions:
....................................................
test/semicolon_insertion.js
FAIL  return is greedily semicolon inserted
Assertion failed after 0 assertions:  !== <1>
.............................................................................................Coverage report generated for test.rb  to D:/Rails/twostroke/coverage. 2621 / 2742 LOC (95.59%) covered.

I shouldn't say that those failures are supposed to be happening, but I do know about them and it isn't any of your fault.
One's for an edge case with exceptions that I have to fix, the other is a reminder for me to implement semicolon insertion.
I'll leave this ticket open until I fix that

All tests are passing now!


Added validation to require name for new room

This is a nice fix.. I didn't know about the required field! Unfortunately I no longer have the permissions to merge this so you will have to ping someone from Pusher.

@ChristianRoper Thank you for this!


Speech To Text - Remote HTTP problem

Hi,
I have connected my Snips Satellite with Rharppy instance, but I have problem with Speech To Text - Remote HTTP component. As SST I'm using DeepSpeech server https://hub.docker.com/r/romainsah/deepspeech-server/ which is based on https://github.com/MainRo/deepspeech-server. It converts my speech to text properly (as i see it in DeepSpeech server log) and returns it as plain text, but SST throws error:
[ERROR:2021-06-15 18:54:03,800] rhasspyremote_http_hermes: handle_stop_listening Traceback (most recent call last):   File "/usr/lib/rhasspy/rhasspy-remote-http-hermes/rhasspyremote_http_hermes/__init__.py", line 606, in handle_stop_listening     transcription_dict = await response.json()   File "/usr/lib/rhasspy/.venv/lib/python3.7/site-packages/aiohttp/client_reqrep.py", line 1103, in json     headers=self.headers, aiohttp.client_exceptions.ContentTypeError: 0, message='Attempt to decode JSON with unexpected mimetype: application/octet-stream', url=URL('http://<IP_ADDRESS>:7123/stt?siteId=kitchen')
Same thing in MQTT:
{"error": "0, message='Attempt to decode JSON with unexpected mimetype: application/octet-stream', url=URL('http://<IP_ADDRESS>:7123/stt?siteId=kitchen')", "siteId": "kitchen", "context": "url='http://<IP_ADDRESS>:7123/stt', command='None'", "sessionId": "kitchen-default-cb1a95ad-1c00-49f2-bb16-af76b066df8e"}
Full log is here.
As I see the problem is that DeepSpeech server responses with application/octet-stream mimetype header. Can that be fixed on SST module-side by ignoring mimetype header?

This should be fixable on the Rhasspy side, The relevant code is here: https://github.com/rhasspy/rhasspy-remote-http-hermes/blob/5184f86079961507e8d19fb06d0b56dd9a5b0dcb/rhasspyremote_http_hermes/init.py#L598
Another option might be to use the "Local Command" option for STT. It takes WAV audio on stdin and is expected to just return plain text. So you could just use curl for the program and for the arguments: -X POST --data-binary - --output -

Thanks,
I was able to create my own DeepSpeech server with nodejs: https://github.com/ChrisB85/rhasspy-remote-http-server
I think there is a mistake in docs, because it tells that mimetype should be text/plain
https://rhasspy.readthedocs.io/en/latest/speech-to-text/#remote-http-server


[DTS 1716250] DTS [Pipelines]: Task CopyFilesOverSSH SSH service connection Unsupported key format

Please look at DTS 1716250 that has been opened here:
https://dev.azure.com/mseng/_workitems/edit/1716250

Duplicate of #12


Add inner_join, left_join, right_join, full_join, etc

These are verbs in dplyr

Now added with #57


Kadane's Algorithm

The algorithm is available is the following language:

C
C++
Python
Java

Assign this to me , i will can code it in C++ and C and Python.

Kindly Assign it to me , I can add the algo in all the languages

Assign this to me , I can code it in C++ with all comments

Assigned!
@MaYaNkKashyap681 : C
@goyalh4164 : C++
@akshatjainei : Python

@Kumar-laxmi Could you assign this to me for the Java code?

Could you assign me the C++ code?

@goyalh4164 are we supposed to take a test case as an example or we have to take input?

@akshatjainei In my case you have to pass the size of the Array and then the elements then it returns the answer.

@Kumar-laxmi  please assign this issue in cpp to me as its been more than three days.

@Kumar-laxmi please assign this issue in cpp to me as its been more than three days.

The issue is active as PR on C++ is open (refer #107)

@Kumar-laxmi please assign this issue in cpp to me as its been more than three days.

The issue is active as PR on C++ is open (refer #107)

Okay

@Kumar-laxmi ,As the PR for Java code implementation still has not been made,can I be assigned for it?

Due to inactivity I am unassigning @aradhya-10 @MaYaNkKashyap681 @akshatjainei this issue

Assigned!
@GouravDutta-01 : Java
@Soham-Chakraborty-8455 : C
@vijay-kumar-yadav : Python

@Kumar-laxmi  some one already written in pyhton and put it in math section
Check this
what should I do ??

I have already made pull request for c code #327, and made changes you want, then why you have unassigned me.

@Kumar-laxmi some one already written in pyhton and put it in math section Check this link
what should I do ?? Change its position please tell And I think the person who uploaded this was not assigned on this issue. I have done the required changes ready for pr.

Now check..

I have already made pull request for c code #327, and made changes you want, then why you have unassigned me.

@MaYaNkKashyap681 That PR is for KMP algorithm and not Kadane Algo

@Soham-Chakraborty-8455 Due to your inactivity I am unassigning you this issue


Enable GPU Usage

Story

As user I want to run GPU-dependent applications, so that I can use libraries such as Theano or Tensorflow on GPUs.

Motivation
See above.
Acceptance Criteria

[x] Users can require nodes with GPUs
[x] The GPU is actually available to (non-privileged) containers
[x] CUDA usage for ML is possible
[x] Theano or Tensorflow can consume available node GPUs

Open Questions

[ ] While CPUs are well compressible, how about GPUs (shader cores)?
[ ] How do we provision the drivers into the OS images (image is fixed, so would daemon sets help)?

Resources
See https://vishh.github.io/docs/user-guide/gpus for details. See also https://blog.openshift.com/use-gpus-with-device-plugin-in-openshift-3-9.
Definition of Done

[ ] Knowledge is distributed: Have you spread your knowledge in pair programming/code review?
[ ] Unit Tests are provided: Have you written automated unit tests or added manual NGPTT tickets?
[ ] Integration Tests are provided: Have you written automated integration tests?
[ ] Minimum API exposure: If you have added public API, was it really necessary/is it minimal?

Duplicate of https://github.com/gardener/gardener/issues/24.

wrong user :P

We could integrate it into the Gardener as new addon and bind the daemon sets to worker pools with GPUs (we know that from the cloud profiles that list the number of GPUs; prerequisite: we transport that information into labels; @rfranzke and @dkistner). Or we do nothing and describe it only in the HowTos/FAQ (@freegroup).

So I renamed the repo now [0].
One thing to add here is:

NodeLabeling and NodeSelector + Tolerations and Taints should be added to the manifests.

I might make helm chart out of it.
https://github.com/afritzler/kubernetes-gpu

Btw. we just successfully applied this to an OpenStack based setup with NVIDIA V100. The whole thing worked out of the box without any modification!

Great news!

I guess, the last thing missing is a HowTo in https://github.wdf.sap.corp/pages/kubernetes/gardener/howtos and then we can consider this done, at least as a first iteration, right?

https://github.wdf.sap.corp/pages/kubernetes/gardener/doc/2017/01/16/howto-gpu.html
tutorial is written.

Internal documentation link :'(
Is it possible to push the tutorial to github repo?
On Thu, Jun 28, 2018, 11:45 Andreas Herz<EMAIL_ADDRESS>wrote:

https://github.wdf.sap.corp/pages/kubernetes/gardener/doc/2017/01/16/howto-gpu.html
tutorial is written.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/gardener/gardener/issues/24#issuecomment-400993806,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AACx21p6C1dbLRGQz3h6nXbqiOIFiQuCks5uBLPbgaJpZM4RdXvY
.

@marwinski @vasu1124 Any concrete/actionable plans to get the HowTos out into the public?

Looking at facilitating HowTos for community ... stay tuned.


OSS registration consent form

We want to change the signup process in lakeFS open source to as follows:
Communication Preferences:
Please provide your email below:
Email*
<EMAIL_ADDRESS>         ]
[x] I'd like to receive security, product, and feature updates
[Continue]
@eladlachmi I'll also touch base with you about this in person
@iddoavn for your reference the changes we discussed

@itaiad200 any status on when this will be implemented?
thanks!

Soon :)


feat: add project member models

I will also add model tests if you agree with this structure.

Need to rethink this.


Consider not using Scriban for templating in Serializer Generator

Pros of templating engine:

Easy to parse what the generated result will be from the template.

Cons of templating engine:

It doesn't know about your code, so if you change something's name you have to remember to change the template as well.

Child of #32


Toggle between modals makes the backdrop too dark

Prerequisites

[X] I have searched for duplicate or closed issues
[X] I have validated any HTML to avoid common problems
[X] I have read the contributing guidelines

Describe the issue
Toggle between modals makes the backdrop too dark during a short time because there are 2 div modal-backdrop with opacity 0.5 which adds up and becomes opacity 1.0.

https://user-images.githubusercontent.com/643434/159191366-f4afb8e6-370d-4e4d-be01-78132cf64d6c.mov
Can be verified with 5.1.3 and also using main.
Reduced test cases
https://getbootstrap.com/docs/5.1/components/modal/#toggle-between-modals
Can be best seen by slowing down the animation:
.fade {
  transition: opacity 1s linear; // instead of 0.15s
}

What operating system(s) are you seeing the problem on?
macOS
What version of Bootstrap are you using?
v5.1.3 and main

I don't think this is worth fixing

How is this not worth fixing? I believe 200% it is, it looks like a glitch. I propose that if a backdrop already exists, do not populate a new one, re-use the old already existing one instead.
Or are there any solution to this yet?


Auto-review required dependency matching in composer.json

Description
This introduces "auto-review tests". Automate the boring task of self-reviewing your own code through GHA.
In this first iteration, this tests the composer.json in root against in admin/framework to check if the "require" sections are the same.
This needs #5531 to go green.
Checklist:

[x] Securely signed commits
[ ] Component(s) with PHPDoc blocks, only if necessary or adds value
[x] Unit testing, with >80% coverage
[ ] User guide updated
[x] Conforms to style guide

Good.
There was 1 failure:

1) CodeIgniter\AutoReview\ComposerJsonTest::testFrameworkRequireIsTheSameWithDevRequire
The framework's "require" section is not updated with the main composer.json.
Failed asserting that two arrays are identical.
--- Expected
+++ Actual
@@ @@
     'ext-intl' => '*'
     'ext-json' => '*'
     'ext-mbstring' => '*'
-    'kint-php/kint' => '^4.0'
+    'kint-php/kint' => '^3.3'
     'laminas/laminas-escaper' => '^2.9'
     'psr/log' => '^1.1'
 )

/home/runner/work/CodeIgniter4/CodeIgniter4/tests/AutoReview/ComposerJsonTest.php:35

Agree with @MGatner. Making another .yml seems to be better.
And rebase to pass GA, please.


Kube golang client InContainer fails in Telepresence session due to file mounts of SA Token

Kube client is hardcoded to read  /var/run/secrets/kubernetes.io/serviceaccount which can't be found under TP as everything is mounted under $TELEPRECENSE_ROOT.
Possible fixes:

Fix Kube client
chroot tp?

Workaround:
Rely on ENV KUBERNETES_CONFIG and point to a Kube Config file pointing to the cluster/user/context. Requires sharing prod tokens on the local machine.
https://github.com/kubernetes/client-go/blob/6134db91200ea474868bc6775e62cc294a74c6c6/rest/config.go#L401

Potential upstream TP fixing around volume mounts.


Attribute 'color' has already been defined

Hello,
I was trying to include the calligraphy dependencies (uk.co.chrisjenx:calligraphy:2.1.0) into my project, when I encountered this particular error.
It appears that somewhere in the Calligraphy dependency, the attribute color is being defined, and this causes a conflict later in the build stage. The tag in question looks to be:
<declare-styleable name="DrawerArrowToggle">
    <attr format="color" name="color"/>
    <attr format="boolean" name="spinBars"/>
    <attr format="dimension" name="drawableSize"/>
    <attr format="dimension" name="gapBetweenBars"/>
    <attr format="dimension" name="topBottomBarArrowSize"/>
    <attr format="dimension" name="middleBarArrowSize"/>
    <attr format="dimension" name="barSize"/>
    <attr format="dimension" name="thickness"/>
</declare-styleable>

I'm using the following config in my build file:
compileSdkVersion 22
buildToolsVersion '23.0.1'

compile 'com.google.android.gms:play-services:8.1.0'
compile 'com.android.support:support-v4:23.1.0'
compile 'uk.co.chrisjenx:calligraphy:2.1.0'

If I try to build by removing the calligraphy dependency, everything works just fine.
Is there something I can do to fix this issue?
Thanks so much,
Anirban

I don't define the color attribute, I only mark the support lib stuff as provided in the lib.
The output of the arr is like so:
<resources>
    <!-- From: file:/Users/chris/Git/chrisjenx/Calligraphy/calligraphy/src/main/res/values/attrs.xml -->
    <eat-comment/>
    <attr format="string" name="fontPath"/>
    <!-- From: file:/Users/chris/Git/chrisjenx/Calligraphy/calligraphy/src/main/res/values/ids.xml -->
    <eat-comment/>
    <item name="calligraphy_tag_id" type="id"/>
</resources>

I would guess you have a dependency conflict. I would "force" your play services and support-v4.

@chrisjenx — my deepest apologies, but I've been able to resolve this issue, and it is NOT related to Calligraphy. The actual issue was triggered by incorporating the app-compat-v7 library (surprisingly support-v4 had no issues with it!).
I've detailed out the solution in this StackOverflow post.
Once again, my apologies for needlessly taking up your mindspace.

Haha, no worries glad you fixed it :)
On Sat, 7 Nov 2015, 07:14 anirvan<EMAIL_ADDRESS>wrote:

@chrisjenx https://github.com/chrisjenx — my deepest apologies, but
I've been able to resolve this issue, and it is NOT related to
Calligraphy. The actual issue was triggered by incorporating the
app-compat-v7 library (surprisingly support-v4 had no issues with it!).
I've detailed out the solution in this StackOverflow post
http://stackoverflow.com/questions/33551324/android-migration-to-appcompat-v7-causes-error-attribute-color-has-already-be
.
Once again, my apologies for needlessly taking up your mindspace.
—
Reply to this email directly or view it on GitHub
https://github.com/chrisjenx/Calligraphy/issues/222#issuecomment-154647575
.

compile('uk.co.chrisjenx:calligraphy:2.1.0') {
exclude module: 'appcompat-v7'
}
appcompat-v7 or DesignLibrary or ....

I thought it would be along those lines.
On Sat, 7 Nov 2015, 11:01 arash<EMAIL_ADDRESS>wrote:

compile('uk.co.chrisjenx:calligraphy:2.1.0') {
exclude module: 'appcompat-v7'
}
appcompat-v7 or DesignLibrary or ....
—
Reply to this email directly or view it on GitHub
https://github.com/chrisjenx/Calligraphy/issues/222#issuecomment-154691350
.


Feature Suggestion: Pipez Energy Pipe Integration

Describe the feature you'd like to have added
When trying to construct an energy transfer system it would be very useful to combine the features of Pipez's energy pipes as well as the laser nodes energy transfer system. For example using a laser node to extract from a flux cell and transfer it long distances, which works fine, and then using a Pipez energy pipe to cover shorter distances that would not be worth it to cover using laser nodes.
An example of the type of setup shown below.

As it is there seems to be no interaction between the two blocks whatsoever.
For reference there is an energy card set to insert in the laser node on the left, as well as on the right.
Additional information
No response

I assume pipez, like my nodes, don’t actually store any energy in themselves just transfer it.  This is why it didn’t connect currently. Sorry not planned :).

Very understandable. Thanks for the quick response.


python38Packages.pygit2: 1.6.0 -> 1.6.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python38Packages.pygit2 is: "A set of Python bindings to the libgit2 shared library"
meta.homepage for python38Packages.pygit2 is: "https://pypi.python.org/pypi/pygit2"
meta.changelog for python38Packages.pygit2 is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

Warning: a test defined in passthru.tests did not pass

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 1.6.1 with grep in /nix/store/54bnpfxk67iaxp3d5rx5kaxbaw52qych-python3.8-pygit2-1.6.1

found 1.6.1 in filename of file in /nix/store/54bnpfxk67iaxp3d5rx5kaxbaw52qych-python3.8-pygit2-1.6.1

directory tree listing: https://gist.github.com/3adad0fe2e2a63a3ea6ddb3d1532eaae

du listing: https://gist.github.com/2cbe9e45a5b3b010ed3dda331cf635aa

Rebuild report (if merged into master) (click to expand)

55 total rebuild path(s)

14 package rebuild(s)

14 x86_64-linux rebuild(s)
14 i686-linux rebuild(s)
13 x86_64-darwin rebuild(s)
14 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
git-annex-metadata-gui
gitfs
gitless
mercurialFull
powerline
python38Packages.git-annex-adapter
python38Packages.powerline
python38Packages.pygit2
python39Packages.git-annex-adapter
python39Packages.powerline
python39Packages.pygit2
sourcehut.gitsrht
sourcehut.listssrht
sourcehut.mansrht

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/54bnpfxk67iaxp3d5rx5kaxbaw52qych-python3.8-pygit2-1.6.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python38Packages.pygit2 https://github.com/r-ryantm/nixpkgs/archive/4a2482b353e25625eddc282563a4c513f04d3139.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/54bnpfxk67iaxp3d5rx5kaxbaw52qych-python3.8-pygit2-1.6.1
ls -la /nix/store/54bnpfxk67iaxp3d5rx5kaxbaw52qych-python3.8-pygit2-1.6.1/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
nixpkgs-review took longer than 45m and timed out

Maintainer pings

https://github.com/libgit2/pygit2/blob/v1.6.1/CHANGELOG.rst#161-2021-06-19
Built all reverse dependencies. LGTM.


cast send duplicate field status error

Component
Cast
Have you ensured that all of these are up to date?

[ ] Foundry
[ ] Foundryup

What version of Foundry are you on?
cast 0.2.0 (b1e9365 2024-10-24T00:21:41.886066162Z)
What command(s) is the bug in?
cast send
Operating System
Linux
Describe the bug
I noticed an issue with cast send since nightly-b1e93654348a0f31effa34790adae18865b14aa8 (2024-10-24).
Steps to reproduce:

Start anvil in a terminal window.
Install the problematic version in another terminal window.

$ foundryup --version nightly-b1e93654348a0f31effa34790adae18865b14aa8
$ cast --version
cast 0.2.0 (b1e9365 2024-10-24T00:21:41.886066162Z)

Send a transaction with cast send.

$ cast send --private-key 0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 0x70997970C51812dc3A010C7d01b50e0d17dc79C8
Error: deserialization error: duplicate field `status` at line 1 column 1084

Note that it works well for the previous version (2024-10-23).
$ foundryup --version nightly-2044faec64f99a21f0e5f0094458a973612d0712
$ cast --version
cast 0.2.0 (2044fae 2024-10-23T00:22:09.552173897Z)
$ cast send --private-key 0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 0x70997970C51812dc3A010C7d01b50e0d17dc79C8

blockHash               0x1c070686034ab3e423883e16c52bcbf7ead3417b5b6e74952d823a66b980f808
blockNumber             2
contractAddress
cumulativeGasUsed       21000
effectiveGasPrice       875175001
from                    0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266
gasUsed                 21000
logs                    []
logsBloom               0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
root                    0x8190ed4a3f3d8c188542eefad5bd696d5d9f976f03603c477e8ed156127fe586
status                  1 (success)
transactionHash         0x883c4126a26a6125e21315a7d51dfa86345f229171a4ffa59b2c6934398ab36f
transactionIndex        0
type                    2
blobGasPrice            1
blobGasUsed
authorizationList
to                      0x70997970C51812dc3A010C7d01b50e0d17dc79C8

yep, that's a known issue that will be fixed with alloy update, see https://github.com/foundry-rs/foundry/issues/9239#issuecomment-2453005357
Closing as dupe, we will prio the update. thanks!


wd data crash reading aliases of 46k items

I have 46k item IDs in foo and give this command:
wd data --simplify --props aliases <foo >bar.json

What I get (version is 11.3.1):
...
Q22320799
Q22320786
Q54809672
Q14864645
Q22313914
Q21122479
Q827489
    at ids.forEach.id (/usr/local/lib/node_modules/wikibase-cli/lib/fetch_and_log_ids_data.js:20:32)
    at Array.forEach (<anonymous>)
    at module.exports.ids (/usr/local/lib/node_modules/wikibase-cli/lib/fetch_and_log_ids_data.js:19:7)
    at Stream.end (/usr/local/lib/node_modules/wikibase-cli/lib/read_ids_from_stdin.js:22:5)
    at _end (/usr/local/lib/node_modules/wikibase-cli/node_modules/through/index.js:65:9)
    at Stream.stream.end (/usr/local/lib/node_modules/wikibase-cli/node_modules/through/index.js:74:5)
    at Stream.onend (internal/streams/legacy.js:44:10)
    at emitNone (events.js:111:20)
    at Stream.emit (events.js:208:7)
    at drain (/usr/local/lib/node_modules/wikibase-cli/node_modules/through/index.js:34:23)

Ah sry, I completely missed the start of stderr output:
/usr/local/lib/node_modules/wikibase-cli/lib/fetch_and_log_ids_data.js:20
    if (!isEntityId(id)) throw new Error(`invalid entity id: ${id}`)
                         ^

Error: invalid entity id: Q14762267
...

I can see the problem where to log the list of items, maybe make the output of the list to stderr optional, so that by default errors are more visible?

I see this is not intended to work? But putting the ids on one line was too much as well. I can give you the exact error tomorrow, afk now

I found two ways to do this more efficiently on my side so I'm not dependent on this atm. When I happen to stumble over it again I'll file a ticket more to the point.


Single Round AES Key Schedule - Bad vrs/vrt usage.

There are two small problems with the vector AES single round key schedule instructions for AES 128/192.
Currently, the instructions specify use of vrt, vrs1 and rnd, where rnd is a 4-bit immediate.

This should be changed to vrt, vrs2 and rnd, since in other vector instructions, vrs1 is mutually exclusive to any small immediate.

The current specification (v0.6.2) says that the current round key and previous round key are stored in vrt and vrs1 respectively.

This should be swapped, so that vrt=previous and vrs1=current.
This is because for the next round, we need to preserve the current round key. The current spec as written would destroy it.

Changes:

[x] Fix the English language spec to reflect use of vrs2 rather than vrs1.

[x] Make sure the mock SAIL code reflects this.

[x] Fix the English language spec to reflect which registers store the current and previous round keys.

[x] Make sure the mock SAIL code reflects this.

Closed with  e1c04e1.


Can't set an NFS Share to read only

Looks like an error in plugins/modules/sharing_nfs.py
Existing code
            if readonly is not None and export_info['ro'] != readonly:
                arg['ro'] = readonly

Corrected code
            if readonly is not None and export_info['readonly'] != readonly:
                arg['ro'] = readonly

Do you have these two blocks of code reversed?
Also, since it looks as though you have a fix, would you mind putting in a pull request?

Done. And fixed the comment above

Fixed in v1.9.3.


Add transform and enable options to attribute class

Background
Since we introduced the partial update feature, it has become increasingly complex for layers to implement their own attribute updaters.
This PR removes the need for a custom updater of the instancePositions64xyLow attribute, and will also make it easier when we move to use 3d 64-bit positions in the next major release.
Change List

Add enable and transform options to Attribute class
Add new core utility positionFp64LowPart
Update primitive layers to use the new API
Documentation
Unit tests

Coverage increased (+2.6%) to 83.013% when pulling b344bbc8258cd63166e6a71afc148d60ab7e246d on x/attribute-transform into 9b45f2b78cac7757fe4716df06f1e2e9e158ae2a on master.

I would have started from a different angle, looking at 64bit values and 4x4 matrices as two examples of "logical" attributes that need to be represented as multiple actual attributes and I would have tried to create a general solution for a one-to-many mapping.

I have been tinkering with this in the past few days - for our users, being able to use logical values for attributes (e.g. Float64Array for positions) will be a huge usability improvement. It however does require significant change to what the Attribute class is. I will continue to experiment and maybe open another PR soon.


Guard against bad quality in trackInfo

Should we reject the illegal AddTrackRequest ?

I think we should @cnderrauber . But, wanted to do a quick fix.
Will have a look at validating request and ignoring if it is not valid. As we do not send back error, it is going to be tricky.


UI to create controlled keys

BEFORE SUBMITTING AN ISSUE CHECK THE FOLLOWING:

[X] I checked existing issues.
[X] This is not a support question (which can be answered on Slack).
[X] This issue is on the web client (not API, Lambda, or Bots)

FEATURE REQUEST
- Describe the feature you would like to see
Basic UI for creating a beta key
- Why you need it
For controlled release
- How it should work
keys are:

unique
user defined "uva hackathon" not guid
contain metadata: a description of why the key has been created, event description
configurable limit on # of users that can use the key
expiration date

Create a key if event coordinator. Perhaps in Config? See other keys that have been created?

Blocked by https://github.com/willowtreeapps/wombats-api/issues/325 @oconn


tls/dtls: fix handle timeout

DTLSv1_handle_timeout is called when a DTLS handshake timeout expires. If no timeout had expired, it returns 0. Otherwise, it retransmits the previous flight of handshake messages and returns 1. If too many timeouts had expired without progress or an error occurs, it returns -1.
https://commondatastorage.googleapis.com/chromium-boringssl-docs/ssl.h.html#DTLSv1_handle_timeout

A client had this timeout after some minutes during a call:
call: mediaenc 'dtls_srtp' error: Operation timed out
dtls_srtp: dtls-connection closed (Operation timed out)

According to the borringssl doc and the openssl code I would say we should only return ETIMEDOUT if DTLSv1_handle_timeout returns -1:
https://github.com/openssl/openssl/blob/master/ssl/d1_lib.c#L388-L408
@alfredh Can you verify this?


Passing state option in navigate doesn't seem to work

When state option is provided to navigate, it is not available in the props.location.state object for the matched components.
Example sandbox: https://codesandbox.io/s/l27754822m
Steps to reproduce:

Click on 'Invoices' link.
Add some ID in the input field.
Click on 'create' button.
Watch console which is logging props.location.state for Invoice and Invoices components.

I have taken the example from documentation and updated the Invoices component to have state option { invoiceID: provided_id } for the navigate function.
props.location.state seems to only have key and no other information for the matched Invoice and Invoices components.
Is it a bug or am I not using the option correctly? 😕

I think the documentation is wrong.
You can add a state by providing navigate with an options object with a state property, the data under the state property will then be merged with the key.
This means your code should look like this:
<form
      onSubmit={event => {
        event.preventDefault();
        const id = event.target.elements[0].value;
        event.target.reset();

        // Adding state option along with navigation.
        navigate(`/invoices/${id}`, { state: {invoiceID: id }});
      }}
    >

I replaced
navigate(`/invoices/${id}`, { invoiceID: id });

with
navigate(`/invoices/${id}`, { state: {invoiceID: id }});

Hope that helps

Awesome, yes that was it. Many thanks!

This needs to be opened as a defect because the docs are just plain wrong - still. I spent hours trying to work this out only to eventually find this post that fixed it in an instant.

The documentation was fixed via: https://github.com/reach/router/pull/80
Problem is that the new documentation hasn't been deployed yet. We can keep this issue open until the documentation is updated.

May I suggest docs fixes be deployed regularly. It's not like they need rigorous testing and it would really help.
I would also like better docs in general. As I'm quite new to react et al I found that the docs just assumed I knew a lot more than I did, without really pointing me to where to learn more. I had a nightmare trying to figure out why props.location didn't exist in one of my components until I found  and I had to put that somewhere up the hierarchy to get props.location. Was a pain to be honest because some components have props.location and some don't and I really don't know why it is this way.
Note, I'm using Gatsby which uses @reach-router.

Please update the docs.

I had this issue today. The documentation is still incorrect.

Can confirm the docs are still incorrect.
https://reach.tech/router/api/navigate option  section.

please correct the wrong documentation, it costed me a day
https://reach.tech/router/api/navigate

The documentation is still incorrect

Can confirm that I also lost some time to this today, kindly help fix this for others.

🎉docs have been updated to reflect the proper way to pass state into navigate. 🎉

I'm afraid the issue is still there:
https://reach.tech/router/api/navigate
navigate("/todos", { newId: id })

@mtliendo @ryanflorence This issue has been fixed over a year ago in https://github.com/reach/router/commit/e8325ae7a2d7be0a4e1de266ee15929f85fc2d94 - but still confuses people. May I ask why?

@mtliendo I'm afraid I ran into this issue today, luckily I stumbled on this link pretty quickly but the documentation is still showing the wrong syntax.

@ryanflorence I checked the document's source to see if I can contribute. It is already fixed in the source markdown. I may just have not been published yet for some reason.
https://github.com/reach/router/blob/master/website/src/markdown/api/navigate.md#option---state

I think we should open another issue. docs are still wrong

Can you please re-open. The docs are still incorrect. Similar to @RifRaf44, I'm glad I found this issue.

@blainekasten , as the most active in this repo since the beginning of this year, can you take a look at this issue?

I'm pinging Ryan for this. I don't have website admin. I'll try to get this fixed

The docs have been updated! Sorry for the delay everone!

Hi!
So I'm doing this props.navigate('code', { state: { test: confirmationResult } }) and it navigates correctly, but state is null. Anyone any idea why?

@odalysadam How do you "read" the state? An example code snippet would be helpful to answer.

@jacekk Of course, sorry. Currently just logging location out of props in the route component for /code. It shows the correct pathname as well, but it looks as though the whole app gets reloaded. ( app as in base path for my client side routes)

@odalysadam I dunno why the whole app might gets realoded when using navigate, but please bear in mind that naviate('code') is a relative route. Maybe try /code... or maybe even just a slash /. Those are absolute routes - starting with a slash. Relative routes might be sometimes troublesome, especially when basePath is not the top-level one.
Just guessing though, as I've never had a problem with missing state while using navigate :/

@jacekk Thanks, I'll try an absolute path and see if the full reload still happens.

@jacekk Using an absolute path changed nothing, but state is most likely null because on reload everything gets lost.
Is triggering a full reload something that navigate even does or should I be looking elsewhere for the problem?

@odalysadam It works for me -->
Can you replicate? Or share your project/code? Simple props.navigate('/code', { state: { test: 'confirmationResult' } }); should be working correctly.

@jacekk Ok, then the problem lies elsewhere. Thank you very much!

I can see the state, but it only has key...nothing more
navigate("/auth", { test: "test"})

I can see the state, but it only has key...nothing more
navigate("/auth", { test: "test"})

@HenryKenya Try this:
navigate("/auth", { state: { fooKey: "fooValue" }});

@jacekk done that. Still having the same issue of seeing only keys

I can see the state, but it only has key...nothing more
navigate("/auth", { test: "test"})

@HenryKenya Try this:
navigate("/auth", { state: { fooKey: "fooValue" }});

@HenryKenya Then try to replicate in some other component or in a separate project. This definitely works:

@jacekk checked out the sandbox. It has the same issue of just showing keys and no value

I think it's a bug. cc @ryanflorence

@jacekk checked it out again. The issue must be somewhere else. Let me try debug it

could the issue be that I am trying to access state using the useLocation hook?

checked out the sandbox. It has the same issue of just showing keys and no value

@HenryKenya
You saaay WUT? Please, just point out what is NOT working here:

checked out the sandbox. It has the same issue of just showing keys and no value

@HenryKenya
You saaay WUT? Please, just point out what is NOT working here:

The sandbox works..confirmed 😂
Still not sure what it is I have done wrong. Are props the only way to access the same or can someone use useLocation hook too?

This line --> https://github.com/reach/router/blob/master/src/index.js#L69 get location from history prop, but the following line does not pass it --> https://github.com/reach/router/blob/master/src/index.js#L43
@HenryKenya
I guess you've found a bug, but it is not related to this very ticket :smile: Please, report a separate one.


Community Image Overflow

Package version (if known): v9
Describe the bug
Community image overflowing in header.
Steps to Reproduce

Register user
Login
Create community and upload narrow image (height:width relation ~4:1)
Create new draft and select previously created community
Click on "Save draft"

Expected behavior
Screenshots (if applicable)

Additional context

i linked my PR which should fix this problem too :sweat_smile:, as part of changes to several places using community logos.

Then let's go with the changes of your PR @NRodriguezcuellar. I will close this issue, when your PR is merged


reset neuron data on dereg

reviving: https://github.com/opentensor/subtensor/pull/522
Description
On neuron registration the trust, emission, consensus, incentive, dividends values as well as axon info associated with the assigned neuron_uid are inherited from the previous neuron. Thus for the first few blocks after registration these values will be wrong, then reset to zero and then get populated with the correct values for the newly registered neuron. This change resets these values on neuron registration.

@andreea-popescu-reef also changed the base against devnet-ready , so you need to resolve conflicts , or fork off devnet-ready

rebased this pr


[x] reduce the run frequency or consider compacting the log when an entry is added
[x] QA testing
[ ] publish to pub.dev and release

Released code to production where the compaction job to run every one hour on commit log and access log.
Further, we have a version where compaction check triggers after every insert into the commit-log. If the criteria is met, compaction runs. The changes are currently in-development. Completed the implementation for commit-log compaction. and following is the PR: https://github.com/atsign-foundation/at_server/pull/412

PR-412 changes are deployed into canary atsign's

Tested the new changes with canary atsigns and came across issues. Attaching the logs and screenshots below.
jittery5justfriends
SEVERE|2021-12-13 11:24:22.888746|AtLookup|Error in remote verb execution Exception: unable to connect to secondary
I/flutter (27539): _onSuccessCallback 2021-12-13 11:24:22.903596Sync status: SyncStatus.failure lastSyncedOn: 2021-12-13 05:54:22.903424Z Exception: AT0025: ErrorCode: AT0021 - Exception: Unable to connect to secondary true
I/flutter (27539): SEVERE|2021-12-13 11:24:23.007125|AtMeService|Fetching @ jittery5justfriends throws AT0014: Decryption failed. Encrypted value is null
I/flutter (27539): INFO|2021-12-13 11:24:23.007662|DashboardWidget|loading first atsign throws AT0014: Decryption failed. Encrypted value is null
2
17robust
_onSuccessCallback 2021-12-13 11:35:04.416804Sync status: SyncStatus.success lastSyncedOn: 2021-12-13 06:05:04.416778Z Exception: null true
I/flutter (27539): INFO|2021-12-13 11:35:04.554619|EncryptionService|isEncrypted is set to false, Returning the original value without decrypting
I/flutter (27539): SEVERE|2021-12-13 11:35:04.565798|AtMeService|Fetching @17robust throws AT0014: Decryption failed. Encrypted value is null
I/flutter (27539): INFO|2021-12-13 11:35:04.566668|DashboardWidget|loading first atsign throws AT0014: Decryption failed. Encrypted value is null.

The changes are deployed to canary servers, Among the issue mentioned by @purnimavenkatasubbu

Decryption failed is because of value being null.
The jitter5justfriend atsign crashes during initial sync. Debugged and turned out to be a memory issue. Pulled the hive storage directory to local and sync works fine,.


Not an issue, just a question

Is it possible to change the command to start the bot? Whoever has logs will be a bit suspicious if they see a /spam and then you suddenly level up a lot.

Just found out that you can change it, all good.


[docs] Update table of contents in Readme.md

Fix the table of contents section in the Readme by removing unnecessary line spaces. Sorry about that.

@jgbarah ^


I got the same problem.

I got the same problem. I solve it by not using the '--pretrained_resource' parameter, because in the code metric_depth/zoedepth/models/base_models/depth_anything.py l341, it loads './checkpoints/depth_anything_vitl14.pth' by default.

Hi, which line of code results in this error? Our pre-trained model should be loaded in this line:
https://github.com/LiheYoung/Depth-Anything/blob/af277a33fa9a6955715f912e68e7dd8963942708/metric_depth/zoedepth/models/base_models/depth_anything.py#L341

Hi @LiheYoung
I got the same error while running "evaluate" on KITTI. When I used python evaluate.py -m zoedepth --pretrained_resource="local::./checkpoints/depth_anything_metric_depth_outdoor.pt" -d kitti I get the following error:
FileNotFoundError: [Errno 2] No such file or directory: './checkpoints/depth_anything_vitl14.pth'
When I used python evaluate.py -m zoedepth --pretrained_resource="" -d kitti, I get the same error. The only difference: in the second case, the pretrained_resource is a URL in log data.
Is there any fix for this issue?

Hi @hgolestaniii, please also download the checkpoint here and put it under checkpoints.


Extend FAR Readme

Includes better and up to date information regarding background, installation, usage, and tests.

/lgtm


Invalid numeric value

I am trying to format LUKS partition by ykfde-format but getting an "Invalid numeric value" error from cryptsetup. I have enabled debug mode and can see the message:
Passing '8d969eef6ecad3c29a3a629280e686cf0c3f5d5a86aff3ca12020c923adc6c922d1c210a170356c9bab9ab18ecf0e2ae98e48316' to 'cryptsetup'
(don`t worry about the key, this is a dummy run)
I replaced the line:
printf '%s\n' "$YKFDE_PASSPHRASE" | cryptsetup luksFormat "$@"
To:
printf '%s\n' "$YKFDE_PASSPHRASE" | printf '%s\n' "$@"
The line above does not pass the key to cryptsetup, but only parameters come from ykfde-format:
root@archiso / # ykfde-format --cipher aes-xts-plain64 --key-size 512 --hash sha256 --iter-time 5000 --type luks2 /dev/nvme0n1p4

YubiKey slot status 'ykinfo -q -2': 1
WARNING: This script will run 'cryptsetup luksFormat --cipher aes-xts-plain64 --key-size 512 --hash sha256 --iter-time 5000 --type luks2 /dev/nvme0n1p4'.  If this is not what you intended, please abort.
Please provide the challenge.
Enter challenge: 123456

Please repeat the challenge.
Enter challenge: 123456
Running: 'ykchalresp -2 8d969eef6ecad3c29a3a629280e686cf0c3f5d5a86aff3ca12020c923adc6c92'...
Remember to touch the device if necessary.
Received response: '2d1c210a170356c9bab9ab18ecf0e2ae98e48316'
Passing '8d969eef6ecad3c29a3a629280e686cf0c3f5d5a86aff3ca12020c923adc6c922d1c210a170356c9bab9ab18ecf0e2ae98e48316' to 'cryptsetup'
--cipher
aes-xts-plain64
--key-size
512
--hash
sha256
--iter-time
5000
--type
luks2
/dev/nvme0n1p4
New LUKS device successfully formatted

Please advise (:

I think I have figured it out.
It needs to be something like this:
echo -n "$YKFDE_PASSPHRASE" | cryptsetup luksFormat "$@" --key-file=-
When I try to check the passphrase, it looks OK:
root@archiso / # cryptsetup luksOpen --test-passphrase --key-slot 0 /dev/nvme0n1p4
Enter passphrase for /dev/nvme0n1p4:
cryptsetup luksOpen --test-passphrase --key-slot 0 /dev/nvme0n1p4  18.89s user 0.20s system 85% cpu 22.375 total

That's weird, when I test it work as is:
ykfde-format --cipher aes-xts-plain64 --key-size 512 --hash sha256 --iter-time 5000 --type luks2 container.ct
 > YubiKey slot status 'ykinfo -q -2': 1
WARNING: This script will run 'cryptsetup luksFormat --cipher aes-xts-plain64 --key-size 512 --hash sha256 --iter-time 5000 --type luks2 container.ct'.  If this is not what you intended, please abort.
 > Please provide the challenge.
   Enter challenge: 123456

 > Please repeat the challenge.
   Enter challenge: 123456
   Running: 'ykchalresp -2 8d969eef6ecad3c29a3a629280e686cf0c3f5d5a86aff3ca12020c923adc6c92'...
   Remember to touch the device if necessary.
   Received response: 'e7c7429e9ce4da45b277947db8edbbaffe57806d'
 > Passing '8d969eef6ecad3c29a3a629280e686cf0c3f5d5a86aff3ca12020c923adc6c92e7c7429e9ce4da45b277947db8edbbaffe57806d' to 'cryptsetup'
   New LUKS device successfully formatted

Could you check if your command doesn't contain some unprintable characters, extra spaces, etc?

Could be worth checking tools versions, too - maybe some CLI stuff changed.

There wasn`t any typo because I used the command by copy-paste from the installation cheat sheet. I only changed the script, as I explained above.
I think the important thing was using "--key-file=-" at the end of the line. None of my other attempts worked.

It really sounds like a CLI change.
luksFormat <device> [<key file>]

Initializes  a  LUKS  partition  and sets the initial passphrase (for
              key-slot 0), either via prompting or via <key file>. Note that if the
              second  argument  is  present,  then the passphrase is taken from the
              file given there, without the need to use the --key-file option. Also
              note  that  for  both forms of reading the passphrase from a file you
              can give '-' as file name, which results in the passphrase being read
              from stdin and the safety-question being skipped.

@d066y50 are you up for an MR?

Please excuse my stupidity. What stands for MR? Meeting Request? (:

Merge request (a Pull Request in github terminology).
It's still to early for that - as I said I copied verbatim your ykfde-format command and it worked. I'm using latest commit from thus project github and latest cryptsetup available on Arch.
We need something reproducible.

INFO: 'Manual mode with secret challenge (2FA)' is enabled.
INFO: Testing 'ykfde-format' script.

YubiKey slot status 'ykinfo -q -2': 1
WARNING: This script will run 'cryptsetup luksFormat /dev/shm/ykfde-cWe0ds'.  If this is not what you intended, please abort.
Please provide the challenge.
Enter challenge: 123456

Please repeat the challenge.
Enter challenge: 123456
Running: 'ykchalresp -2 8d969eef6ecad3c29a3a629280e686cf0c3f5d5a86aff3ca12020c923adc6c92'...
Remember to touch the device if necessary.
Received response: 'ba6c08a717859011058008f79434e958a96f0870'
Passing '8d969eef6ecad3c29a3a629280e686cf0c3f5d5a86aff3ca12020c923adc6c92ba6c08a717859011058008f79434e958a96f0870' to 'cryptsetup'
New LUKS device successfully formatted
Test 'ykfde-format' script successfully passed.
INFO: Testing 'ykfde-enroll' script.
WARNING: Device /dev/shm/ykfde-cWe0ds already contains a 'crypto_LUKS' superblock signature.
INFO: Old LUKS passphrase is 'test'.
INFO: Setting device to '/dev/shm/ykfde-cWe0ds'.
INFO: Setting LUKS keyslot to '7'.
INFO: Debugging enabled
YubiKey slot status 'ykinfo -q -2': 1
WARNING: This script will utilize LUKS keyslot '7' on device '/dev/shm/ykfde-cWe0ds'.  If this is not what you intended, please abort.
Please provide the challenge.
Enter challenge: 123456

Please repeat the challenge.
Enter challenge: 123456
Running: 'ykchalresp -2 8d969eef6ecad3c29a3a629280e686cf0c3f5d5a86aff3ca12020c923adc6c92'...
Remember to touch the device if necessary.
Received response: 'ba6c08a717859011058008f79434e958a96f0870'
Please provide the old LUKS passphrase for the existing keyslot.
Enter passphrase: 123456
Passing '8d969eef6ecad3c29a3a629280e686cf0c3f5d5a86aff3ca12020c923adc6c92ba6c08a717859011058008f79434e958a96f0870' to 'cryptsetup'
Adding new LUKS passphrase with 'cryptsetup --key-slot=7 luksAddKey /dev/shm/ykfde-cWe0ds'...
WARNING: The --key-slot parameter is used for new keyslot number.
No key available with this passphrase.

Hold on, ykfde-format is in my bin folder. So, I used the fixed binary.
INFO: Testing 'ykfde-format' script.

YubiKey slot status 'ykinfo -q -2': 1
WARNING: This script will run 'cryptsetup luksFormat /dev/shm/ykfde-YA5rch'.  If this is not what you intended, please abort.
Please provide the challenge.
Enter challenge: 123456

Please repeat the challenge.
Enter challenge: 123456
Running: 'ykchalresp -2 8d969eef6ecad3c29a3a629280e686cf0c3f5d5a86aff3ca12020c923adc6c92'...
Remember to touch the device if necessary.
Received response: 'ba6c08a717859011058008f79434e958a96f0870'
Passing '8d969eef6ecad3c29a3a629280e686cf0c3f5d5a86aff3ca12020c923adc6c92ba6c08a717859011058008f79434e958a96f0870' to 'cryptsetup'
New LUKS device successfully formatted
Test 'ykfde-format' script successfully passed.
INFO: Testing 'ykfde-enroll' script.
WARNING: Device /dev/shm/ykfde-YA5rch already contains a 'crypto_LUKS' superblock signature.
INFO: Old LUKS passphrase is 'test'.
INFO: Setting device to '/dev/shm/ykfde-YA5rch'.
INFO: Setting LUKS keyslot to '7'.
INFO: Debugging enabled
YubiKey slot status 'ykinfo -q -2': 1
WARNING: This script will utilize LUKS keyslot '7' on device '/dev/shm/ykfde-YA5rch'.  If this is not what you intended, please abort.
Please provide the challenge.
Enter challenge: test

Please repeat the challenge.
Enter challenge: test
Running: 'ykchalresp -2 9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08'...
Remember to touch the device if necessary.
Received response: '88d0e2c15c045e1b6de18438f9f4db2866f4679e'
Please provide the old LUKS passphrase for the existing keyslot.
Enter passphrase: test
Passing '9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a0888d0e2c15c045e1b6de18438f9f4db2866f4679e' to 'cryptsetup'
Adding new LUKS passphrase with 'cryptsetup --key-slot=7 luksAddKey /dev/shm/ykfde-YA5rch'...
WARNING: The --key-slot parameter is used for new keyslot number.
New LUKS passphrase successfully added
Test 'ykfde-enroll' script successfully passed.
INFO: Testing 'ykfde-open' script.
INFO: Setting device to '/dev/shm/ykfde-YA5rch'.
INFO: Setting name to 'ykfde-test'.
INFO: Debugging enabled
YubiKey slot status 'ykinfo -q -2': 1
WARNING: This script will try to open the 'ykfde-test' LUKS encrypted volume on drive '/dev/shm/ykfde-YA5rch' . If this is not what you intended, please abort.
Please provide the challenge.
Enter challenge: test
Running: 'ykchalresp -2 9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08'...
Remember to touch the device if necessary.
Received response: '88d0e2c15c045e1b6de18438f9f4db2866f4679e'
Passing '9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a0888d0e2c15c045e1b6de18438f9f4db2866f4679e' to 'cryptsetup'
Decrypting with 'cryptsetup luksOpen /dev/shm/ykfde-YA5rch ykfde-test   '...
Device successfully opened as '/dev/mapper/ykfde-test'
Test 'ykfde-open' script successfully passed.
All tests successfully passed.

So everything looks good and there isn't Invalid numeric value error from cryptsetup.  I don't see other explanation than typo in your command.
Did you tried ykfde-format with different opts? i.e.
ykfde-format --key-size 512 <foo>
ykfde-format --type luks2 <foo>

No, I didn`t try.
However, I still insist there was no typo because I used the command from my installation cheatsheet (copy-paste). How it worked after changing the script if there was a typo?
Only the difference; I was getting this error while installing Arch by installation medium. But I tried your test script post-installation.
I am posting the same command by the same way:
ykfde-format --cipher aes-xts-plain64 --key-size 512 --hash sha256 --iter-time 5000 --type luks2 /dev/nvme0n1p4
Anyways, possibly my bad. Sorry for the inconvenience.

You may copied some trailing newline alongside the text and the actual command executed was different than what was expected.
If you try your initial command post-installation then does it still fail?

Here's the example how injecting unprintable newline character can break the command even when it looks legit in the WARNING log:
ykfde-format --cipher aes-xts-plain64 --key-size $'\n' 512 --hash sha256 --iter-time 5000 --type luks2 foo.luks
WARNING: This script will run 'cryptsetup luksFormat --cipher aes-xts-plain64 --key-size
 512 --hash sha256 --iter-time 5000 --type luks2 foo.luks'.  If this is not what you intended, please abort.
 > Please provide the challenge.
   Enter challenge:
 > Please repeat the challenge.
   Enter challenge:
   Remember to touch the device if necessary.
<...snip...>
cryptsetup: invalid numeric value

Spot on, @Vincent43. The good old unprintable characters.
That aside, maybe we should be "fixing" that to have the expected and documented --key-file.

I didn't mean to say that this would particularly solve anything but it might be a bit more robust in the future as the tool evolves. Maybe - what do you think?

I think both approaches should be equivalent yet since the current approach is bit simpler and was proven to work for years then I'm in favor of keeping it. There is always risk of regression when something changes.


[New Port Request]

Library name: uhd
Library description:
ettus uhd
Source repository URL: https://github.com/EttusResearch/uhd
Project homepage (if different from the source repository):
Anything else that is useful to know when adding (such as optional features the library may have that should be included):

I think this port can be built by cmake: https://files.ettus.com/manual/page_build_guide.html

yeah I tried it .. it worked but then I got the issue with the vcpkg_check_features .. actually this ports need boost for building and when I provide boost via vcpkg_check_features it shows the below issue :-
unknown feature: boost
This is how my portfile.cmake looks like :-
vcpkg_download_distfile(ARCHIVE
URLS "https://github.com/EttusResearch/uhd/archive/master.zip"
FILENAME "master.zip"
SHA512 f9bd76658000e6411ada087c4ea784424ad76cf7b1723fd4491389abbcedf3ec1400957ab44b098c9f97b1869f98c73e9eb9ecc3c16ea210997307586f767a8c
)
vcpkg_extract_source_archive_ex(
OUT_SOURCE_PATH /home/hkaur/Git_Repos/vcpkg/buildtrees/uhd/src/master-304908991b.clean/host
ARCHIVE ${ARCHIVE}
)
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "static" BUILD_STATIC)
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "dynamic" BUILD_SHARED)
vcpkg_check_features(
OUT_FEATURE_OPTIONS FEATURE_OPTIONS
boost WITH_LIBBOOST-ALL-DEV
)
message (STATUS "TESTING UHD ......")
vcpkg_configure_cmake(
message (STATUS /home/hkaur/Git_Repos/vcpkg/buildtrees/uhd/src/master-304908991b.clean/host)
SOURCE_PATH /home/hkaur/Git_Repos/vcpkg/buildtrees/uhd/src/master-304908991b.clean/host
PREFER_NINJA # Disable this option if project cannot be built with Ninja
)
vcpkg_install_cmake()
# Handle copyright
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/uhd RENAME copyright)

The vcpkg_check_features(key value) provides ${FEATURE_OPTIONS} is -Dvalue=ON or -Dvalue=OFF, so you need to write other code like:
if ("boost" IN_LIST FEATURES)
    set(BOOST_OPTS -ALL-DEV)
endif()
...
vcpkg_configure_cmake(
    ...
    OPTIONS
        ${BOOST_OPTS}
)

Now its saying this
the Cmakelists.txt is inside the host and have given that path but now its showing the below error .
CMake Error: The source directory "/vcpkg/buildtrees/uhd/src/master-304908991b.clean/host" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.

@HarvaneetKaur Could you please open a PR? I will help you on that PR.

Hi @JackBoosY ,
What does this line means..
[sanity check] The serialized binary paragraph was different from the original binary paragraph.
I am getting this after the installation of uhd .. is it some kind of error !!

Seems like your CONTROL or vcpkg.js has something wrong.

Thank you @JackBoosY ,
Installed the uhd port successfully .. :)

Hi @JackBoosY ,
I want to install libboost-all-dev in uhd .. when I do apt-get install inside vcpkg for libboost-all-dev .. then uhd is installed inside vcpkg .. but when i Only do ./vcpkg install boost and the do ./vckg install uhd .. then uhd shows missing boost ..
Have given the build-depends : boost-devel, boost-chrono, boost-context, boost-conversion, boost-crc, boost-date-time, boost-filesystem, boost-multi-index, boost-program-options, boost-regex, boost-system, boost-thread, boost-smart-ptr in the control file for uhd ...
Can you help me with this

After installing the boost component, you need to implement find_package()/ find_path / target_include_directories / target_link_libraries in CMakeLists.txt according to the console output.
Example:
The package boost-crc:x86-windows is header only and can be used from CMake via:

    find_path(BOOST_CRC_INCLUDE_DIRS "boost/crc.hpp")
    target_include_directories(main PRIVATE ${BOOST_CRC_INCLUDE_DIRS})

If you wish to add this port in the future, you can reopen this issue, but we're closing it for now, consider making a pull request instead.


Install problem

Plugin installation + NodeBB server restart according to the docs worked well. However accessing http://myserver/admin/plugins/ldap fails with an 500/Internal server error:
Internal Error.
Oops! Looks like something went wrong!
/admin/plugins/ldap
Failed to lookup view "admin/plugins/ldap" in views directory "/opt/nodebb/build/public/templates"

I'm using current NodeBB v1.5.x (fresh install).

@wirepatch There is a good chance that this got incompatbile somehow. Or the installation has just straight failed:
https://github.com/wzrdtales/nodebb-plugin-ldap-override/blob/master/templates/admin/plugins/ldap.tpl
The file it is missing, is actually included though.


Add other currencies for displaying bitcoin price

Which other currencies did you want to add? And did you want them to be displayed when you click the price multiple times?

A user requested this. I think how it should work is that a user sets their preferred currency in the settings page then we use that setting to request the price from Coinbase.


Is it possible to generate and load trainning data to the model at every epoch?

Its not a bug exactly, more like a doubt.
Is it possible to generate and pass training data to the model at every epoch? Increasing the training data_size using the Attention Model class(given below) is causing Out of memory issues for me:
model = AttentionModel(env,baseline="rollout", train_data_size=1000_000,val_data_size=10_000,optimizer_kwargs={"lr": 1e-4},).
Thanks in advance.

Hi @ujjwaldasari10!
Yes, this can be achieved in several ways. For example, by using the RL4COLitModule on_train_epoch_end callback, we generate a dataset for each epoch to train on here.
Note that the train_data_size (i.e., number of instances per epoch) can be adjusted. Keeping the total number of samples the same, you can do, say 10,000 instances/epoch for 1000 epochs or 100,000 for 100 epochs and if the dataset cannot fit into memory


Bug: Cannot decrypt cookie on chrome-beta and chrome-dev

Adding chrome-beta and its directory to the list
It can decrypt login data, but not cookies.
Getting Stored Details from chrome-beta
[!] Getting Login data
[*] Saved in chrome-beta/login_data.txt
------
     [!] Getting Credit cards
     [-] No Data Found!
    ------

     [!] Getting Cookies

Traceback (most recent call last):
File "C:\Users\env\cache\edge\stealer\chromium_based_browsers.py", line 169, in
data = get_data(browser_path, profile, master_key, data_type)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\env\cache\edge\stealer\chromium_based_browsers.py", line 131, in get_data
row[i] = decrypt_password(row[i], key)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\env\cache\edge\stealer\chromium_based_browsers.py", line 98, in decrypt_password
decrypted_pass = decrypted_pass[:-16].decode()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x9f in position 0: invalid start byte

It tried in my end for chrome beta it's i am able to decrypt cookies.


Implement struct value construction expressions

Given:
struct User { id: Int name: String }

You can construct it as follows:
let user = User{id: 1, name: "rightfold"}

Questions:

Should we allow User{name: "rightfold", id: 1}? I.e. different order.
Should we allow User{1, "rightfold"}? (In same order, of course.)

I vote 1) ok (maybe a style warning...) 2) no

I agree with 2. Let's leave 1 open for now.


Project dependencies should not be scanned multiple times

Occurs when dependencies have themselves dependencies which may be duplicated.
See attached patch for fix which reduces build time in my project from ~6mins to ~30s.
patch.diff.zip

Thank you.


feat(test): refactor all PolicyDefinitionStore implementors tests by using a base class

What this PR changes/adds
Add a common base test class for PolicyDefinitionStore which all implementors should extends
Why it does that
To have a common and consistent base specification test suite for all implementors of PolicyDefinitionStore
Further notes

The impl PolicyDefinitionStore#deleteById of CosmosPolicyDefinitionStore has been changed by returning null instead of throwing an exception if the PolicyDefinition is not found
The following base tests were ignored in InMemory and Comos impl since they do not support yet querying collections fields.

find_queryByDuties
find_queryByPermissions
find_queryByProhibitions

The following base tests were ignored in the Posgres impl since it does not support yet sorting.

findAll_whenSort
findAll_allFilters

In PolicyDefinitionMapping added id mapping for compatibility with InMemory implementation.

List other areas of code that have changed but are not necessarily linked to the main feature. This could be method signature changes, package declarations, bugs that were encountered and were fixed inline, etc.
Linked Issue(s)
Closes #1941
Checklist

[x] added appropriate tests?
[x] performed checkstyle check locally?
[ ] added/updated copyright headers?
[ ] documented public classes/methods?
[ ] added/updated relevant documentation?
[x] assigned appropriate label? (exclude from changelog with label no-changelog)
[x] formatted title correctly? (take a look at the CONTRIBUTING and styleguide for details)

Codecov Report

Merging #1959 (72b40b6) into main (67f3b8a) will increase coverage by 0.00%.
The diff coverage is 75.00%.

@@           Coverage Diff           @@
##             main    #1959   +/-   ##
=======================================
  Coverage   62.79%   62.79%
=======================================
  Files         782      782
  Lines       16612    16618    +6
  Branches     1080     1080
=======================================
+ Hits        10432    10436    +4
- Misses       5729     5731    +2
  Partials      451      451

Impacted Files
Coverage Δ

...osmos/policy/store/CosmosPolicyStoreExtension.java
0.00% <0.00%> (ø)

...smos/policy/store/CosmosPolicyDefinitionStore.java
91.30% <77.77%> (-6.32%)
:arrow_down:

...store/schema/postgres/PolicyDefinitionMapping.java
100.00% <100.00%> (ø)

.../policy/store/schema/SqlPolicyStoreStatements.java
92.30% <0.00%> (+7.69%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Pull Request Title: Enhance index.html for Better Accessibility, Performance, and Structure

Description
Summary:
This pull request enhances the index.html file by improving structure, accessibility, and performance.
Details:

Improved semantic structure with proper HTML tags.
Added ARIA attributes for better accessibility.
Optimized SEO metadata and font loading for performance.
Issues Identification

Closes: #188
Types of Changes

[ ] Bugfix (non-breaking change that fixes an issue)
[X] New feature (non-breaking change that adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update (Documentation content changed)
[ ] Other (please describe):

Checklist

[X] My code follows the style guidelines of this project
[X] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[X] My changes generate no new warnings
[X] My changes do not break the current system and pass all existing test cases
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

you removed the entire links and spoiled the entire website and why did you make inline css when there was already external css

you can check the deployment to see how you spoiled the entire website


inverse of forceClone

I usually have clone: true on on my collections, but there's one instance where I want to do a findOne (doing it separately via chain().find().data() is fine with me) where I want to not clone the results for performance reasons. Would it be OK to add an inverse of forceClone (sth like noClone: true) which skips cloning even if it is set on the collection?

Or alternately, if forceCloneMethod could be a function, I could make it a no-op


Global conversion for a custom type

It would be a nice if it will be possible to somehow once define a conversion for a type and it's later used in every model without explicitly setting conversion for each property.
For example, I have a custom Id type which needs to be converted to a string. I use this Id almost on every model, so it will be helpful to just define this conversion once.

Duplicate of #10784


Always build Python with spack in CI tests / update submodule pointer for spack (moving packages to builtin)

Description

Fix problem with CI runs not using the correct compilers by using the new-ish require syntax (hard requirements). Because the correct compilers are now enforced,
(a) We can't use gcc on macOS anymore (cpython doesn't build with gcc on macOS) - move to Linux
(b) We specify explicitly the compiler dependency for the MPI library (externally supplied)
Always build Python with spack in the CI tests (in preparation for doing the same on all user platforms in the future)
Add the mvapich2 MPI library to the CI tests.

The CI changes also clean up how version information is supplied (it is now all in the workflow yaml files, as opposed to buried inside the action files).
The PR also updates the submodule pointer for spack for the changes described in https://github.com/NOAA-EMC/spack/pull/212 (Move packages from jcsda-emc "repository" to builtin)
Issues
Fixes https://github.com/NOAA-EMC/spack-stack/issues/429
Testing

Tested locally on @climbfuji's macOS
CI tests currently running (need to change the "expected" tests in the repo/branch settings due to the changes described above)

I think the code changes look good. My preference is to remove the commented code in this PR, unless that commented code needs to remain for some purpose (such as debugging).
Thanks!

Thanks! We should keep the commented lines 250-262 in setup-spack-stack, because we need to get this to work as soon as possible. Otherwise I agree that comments should be removed.


Convert code returned by bundleMDX into HTML string for RSS

I want to convert code returned by bundleMDX to string for RSS reader I'm writing so I can use it with ReactDOMServer.renderToStaticMarkup(mdx) like:
https://github.com/tailwindlabs/blog.tailwindcss.com/blob/acb8dcfbc733e25c0e1f4e8af5323da421071cbc/scripts/build-rss.js#L36
The Tailwind Blog above uses next-mdx-remote where it works but I'm not sure how to do the similar thing in mdx-bundler.
I've tried wrapping code in MDXLayoutRenderer using mdxSource:
export const MDXLayoutRenderer = ({ mdxSource, ...rest }: IMDXLayoutRenderer): JSX.Element => {
	const MDXLayout = React.useMemo(() => getMDXComponent(mdxSource), [mdxSource])

	return <MDXLayout components={MDXComponents as any} {...rest} />
}
.
.
.

const mdx = (
	<MDXProvider>
		<MDXLayoutRenderer mdxSource={code} />
	</MDXProvider>
)

But this throws weird TS errors like:

'MDXProvider' refers to a value, but is being used as a type here. Did you mean 'typeof MDXProvider'?ts(2749)

If I make mdx a function & return the value from it, then also it doesn't work:
const mdx = () => (
			<MDXProvider>
				<MDXLayoutRenderer mdxSource={code} />
			</MDXProvider>
		)

All I need is to pass a html formatted string so that I can send it to RSS package feed.
My example is exactly similar to the Tailwind Blog with 1 difference: I'm using mdx-bundler instead of next-mdx-remote
How can I solve this problem?

Oopsie while making a repro, I again got this error:

'MDXProvider' refers to a value, but is being used as a type here. Did you mean 'typeof MDXProvider'?ts(2749)

This error is weird but as this file was small, I noticed the extension I had was .ts but I was using JSX in the mdx function.
So changed the extension to .tsx & it worked. Was stuck on this weird problem for like 2-3 weeks.

Where does MDXProvider and MDXLayoutRenderer come from? It appears that this is neither exported by mdx-bundler nor mdx-bundler/client :/

MDXLayoutRenderer

Nvm. I just saw that MDXLayoutRenderer is a custom component you created 😀


parse-eval.py find sentences to compare

We should not compare sentences by alphabetical order (sort), because they might not be the same... link-parser sometimes skips sentences, for example, or MST-parser might skip some (I'm not sure about this, but Curtis said that sometimes netcat ignored some commands passed to the cogserver). I think it's safer if we assume that not all sentences will be parsed by both codes. I proposed a solution for this in my code, but it's not efficient, as I reported before.

I take back my previous requirement. Doing what I wanted is quite time consuming, and makes it difficult to evaluate parses from sentences parsed partially by LG, which is now a requirement.


Support String and other formats for column names as function inputs

Currently, only Symbols are supported

Actually, I would recommend that we standardize on a single type for column names, to reduce confusion and ambiguity.
DataFrames.jl uses Symbols for column names, so for consistency with them, I would say that we should only support Symbols for column names.
If users have their column names in another type, they are responsible for converting those column names to Symbols.

DataFrames.jl supports column access by either Symbol or String. In pull request #101, I've removed the type restriction from the function definitions.
However, DataFrames.jl throws an ArgumentError if these are mixed, while this is handled under the hood by PreprocessMD.jl. This may or may not be a good thing, so I opened up issue #102 to discuss.

Let's do exactly what DataFrames does. So the user can give strings or symbols, but we throw an error if the two are mixed.

Sure, I'll go ahead with that.
https://github.com/bcbi/PreprocessMD.jl/issues/102#issuecomment-1145090115


[WIP] doc update

This is to add/update/reorganize doc for Gluon and for

[x] #7875: mobilenet api doc
[x] #7264: conv rnn doc and new contrib package
[x] #7067: var dropout doc
[x] #7892: dataset and modelzoo doc for env variables (taken care of in the other pr)
[ ] #7992 new fluent methods
[x] missed doc in #7910
[ ] missed doc in #7605
[x] missed doc in #7403
[x] dataset doc
[x] model zoo doc
[x] move the legacy rnn under symbol, since it only supports symbol
[ ] loss doc fix for #7918
[ ] fix broken links in NDArray API

executor api


/me called twice when loading the application

the endpoint /me is called twice when loading the application. it should only be called once when the app is loaded and then as needed asynchronously.

Here's a rundown of what's happening:

First /me is checking to see whether the user is authenticated and does some stuff based on that
Second /me is when we know the user is authenticated and setting some data based on that

Not entirely certain how we could overcome the double checks in the case that a user is not authenticated, but we might be able to remove one of these if a user is authenticated


Add Data.Monoid.Alternate from prelude v3.3.0

Fixes #9

CI is failing because we need to update control first.

Note: the control PR CI is failing because newtype hasn't been updated yet. Moreover, newtype's PR (purescript/purescript-newtype#23) can be merged, but might need to be adjusted later depending on whether we merge something in the purescript compiler repo.

I think CI will pass now if we restart it

:+1: I've just restarted the build. Just so you know, I think that if you sign in with github on travis-ci.org, you'll be able to restart builds too.

The only repo that shows up on travis-ci.org for me is spago.
CI is now failing with this error. I'll look into it as this PR was submitted using my spago-based approach:
* Building project in /home/travis/build/purescript/purescript-invariant

[1/1 TypesDoNotUnify] src/Data/Functor/Invariant.purs:51:41

  51    imap f _ (Alternate x) = Alternate (f x)

                                              ^

  Could not match type

    f3 a0

  with type

    a0

  while checking that type t1 t2

    is at least as general as type a0

  while checking that expression x

    has type a0

  in value declaration invariantAlternate

  where f3 is a rigid type variable

          bound at (line 0, column 0 - line 0, column 0)

        a0 is a rigid type variable

          bound at (line 0, column 0 - line 0, column 0)

        t1 is an unknown type

        t2 is an unknown type

           Src   Lib   All

Warnings   0     0     0

Errors     1     0     1

* ERROR: Subcommand terminated with exit code 1

The command "npm run -s build" exited with 1.
cache.2

store build cache


links don't work in public version, change eventually

2 links on the bottom of the page: https://github.com/nasa/concept-tagging-training/tree/master/src/dsconcept
Could either take off or replace with fuller docs on this version.
Not immediate need

Justin, just trying one of the tests: Traceback (most recent call last):
File "context.py", line 8, in
import app
File "/home/ubuntu/concept-tagging-api/service/app.py", line 6, in
import dsconcept.get_metrics as gm
ModuleNotFoundError: No module named 'dsconcept'
setting up via local python - will grabbing those from the training repo work?


Store more string variables but receive back only the last

This lib will be a great choose to my wifi radio project to store/change url-s, but i have trouble to store more String. I have altered example so:
#include <Effortless_SPIFFS.h>

eSPIFFS fileSystem;
String Station1;
String Station2;

void setup(){
    Serial.begin(115200);
    Station1 = "http://retro.dancewave.online/retrodance.mp3";
    Station2 = "http://live.topfm.hu:8000/radio.mp3";

    // Write the data back to the SPIFFS
    if (fileSystem.saveToFile("/configuration.txt", Station1)) {
        Serial.println("Successfully wrote data to file");
    }
    if (fileSystem.saveToFile("/configuration.txt", Station2)) {
        Serial.println("Successfully wrote data to file");
    }

}

void loop() {

    if (fileSystem.openFromFile("/configuration.txt", Station1)) {
        Serial.print("Station1 url:");
        Serial.println(Station1);
    }
    delay(1000);
    if (fileSystem.openFromFile("/configuration.txt", Station2)) {
        Serial.print("Station2 url:");
        Serial.println(Station2);
    }
    delay(1000);

}

I wait to receive both Station 1 and Station2, but just receive only the second one:
19:43:16.441 -> Station1 url:http://live.topfm.hu:8000/radio.mp3
19:43:17.430 -> Station2 url:http://live.topfm.hu:8000/radio.mp3
19:43:18.423 -> Station1 url:http://live.topfm.hu:8000/radio.mp3
19:43:19.428 -> Station2 url:http://live.topfm.hu:8000/radio.mp3
Library allows store only one String variable?

I think you may be a little confused how the library works and in general how file system works on the ESP's.
You are overriding all the contents in the file when you save back to configuration.txt from this line
if (fileSystem.saveToFile("/configuration.txt", Station1))

to this line
if (fileSystem.saveToFile("/configuration.txt", Station2))

which is why you are only seeing the string http://live.topfm.hu:8000/radio.mp3 when you read it back.
There are a couple of ways you can fix this, depending on your code architecture. If you really need the string to be dynamic as you may be changing them from a web interface and you would like to persist them through reboots, then simply have 2 configuration.txt files for both of your variables like so:
    if (fileSystem.saveToFile("/configuration1.txt", Station1)) {
        Serial.println("Successfully wrote data to file");
    }
    if (fileSystem.saveToFile("/configuration2.txt", Station2)) {
        Serial.println("Successfully wrote data to file");
    }

If these string remain the same regardless of what you do in your application, then I would suggest not using this library at all and just use the flash string helpers built into arduino (note this is untested code I wrote from the top of my head):
String Station1 = F("http://retro.dancewave.online/retrodance.mp3");
String Station2 = F("http://live.topfm.hu:8000/radio.mp3");

Sure, im not a advanced developer, just a hobby code writer.
I just think this libraray can handle more from same type variable and if im define more string will store as station 1 and station 2 ,,variable" in configuration.txt. This can be more perfect against the standard SPIFFS. My wifi radio project currently using the <Preferences.h> to store in struct the station / urls what working well, but because this was designed not store large variables fail using more than 10 channels. With SPIFFS was for me realy clear as hobby code writer, if i want handle 20 stations/url i need make 20 different txt and write/rewrite these, what maybe not a nice solution:
http://retro.dancewave.online/retrodance.mp3
http://live.topfm.hu:8000/radio.mp3
http://dancewave.online/dance.ogg
http://listen.hotget.net:810
http://icast.connectmedia.hu/5201/live.mp3
http://streaming.radiodancefloor.it:80/dancefloor.mp3
https://icast.connectmedia.hu/5001/live.mp3
http://mp3.ffh.de/ffhchannels/hqeurodance.mp3
http://mp3.hitradiort1.c.nmdn.net/rt1eurodancewl/livestream.mp3
http://streaming.radiodancefloor.it:80/dancefloor.mp3
http://streaming.radiodancefloor.it:80/dancefloor.mp3
https://icast.connectmedia.hu/5001/live.mp3
http://mp3.ffh.de/ffhchannels/hqeurodance.mp3
http://mp3.hitradiort1.c.nmdn.net/rt1eurodancewl/livestream.mp3
http://streaming.radiodancefloor.it:80/dancefloor.mp3
http://streaming.radiodancefloor.it:80/dancefloor.mp3
https://icast.connectmedia.hu/5001/live.mp3
http://mp3.ffh.de/ffhchannels/hqeurodance.mp3
http://mp3.hitradiort1.c.nmdn.net/rt1eurodancewl/livestream.mp3
http://streaming.radiodancefloor.it:80/dancefloor.mp3
For me was clear currently the second step rewrite the txt, i just think thats was worked not ok, but if im good understand, with this library i need do same what i dont want, making 20 txt for the 20 stations if i want less pain writing code, the libraray itself not working so what im thinking about first time. The only one help, i can call all station as variable and more this is easier as handle \n lines:
With the standard SPIFFS i can count if i have one configuration.txt the \n lines to handle the 20 line configuration.txt and read all line in a buffer.  But for change lookslike i dont have another way if i dont want create 20, 30 files, rebuild by any station url change the single configuration.txt:
maybe this is not part of this libraray section, but im share the test code:
#include "SPIFFS.h"

   int i = 0;
   char buffer[200];
   String line_1, line_2, line_3, line_4, line_5, line_6, line_7, line_8, line_9, line_10, line_11, line_12, line_13, line_14, line_15, line_16, line_17, line_18, line_19, line_20, line_21, line_22, line_23;

void setup() {
  Serial.begin(115200);
  SPIFFS.begin(true);
  File file = SPIFFS.open("/configuration.txt", "r");
  //File file = SPIFFS.open("/configuration.txt");
  while(file.available())
  {
    //Serial.write(file.read());

    int l = file.readBytesUntil('\n', buffer, sizeof(buffer));
    buffer[l] = 0;

   if (i == 0) {
    line_1 = buffer;
    Serial.println(line_1);
   }
   if (i == 1) {
    line_2 = buffer;
    Serial.println(line_2);
   }
   if (i == 2) {
    line_3 = buffer;
    Serial.println(line_3);
   }
      if (i == 3) {
    line_4 = buffer;
    Serial.println(line_4);
   }
   if (i == 4) {
    line_5 = buffer;
    Serial.println(line_5);
   }
   if (i == 5) {
    line_6 = buffer;
    Serial.println(line_6);
   }
      if (i == 6) {
    line_7 = buffer;
    Serial.println(line_7);
   }
   if (i == 7) {
    line_8 = buffer;
    Serial.println(line_8);
   }
   if (i == 8) {
    line_9 = buffer;
    Serial.println(line_9);
   }
   if (i == 9) {
    line_10 = buffer;
    Serial.println(line_10);
   }
    if (i == 10) {
    line_11 = buffer;
    Serial.println(line_11);
   }
   if (i == 11) {
    line_12 = buffer;
    Serial.println(line_12);
   }
   if (i == 12) {
    line_13 = buffer;
   }
      if (i == 13) {
    line_14 = buffer;
    Serial.println(line_14);
   }
   if (i == 14) {
    line_15 = buffer;
    Serial.println(line_15);
   }
   if (i == 15) {
    line_16 = buffer;
    Serial.println(line_16);
   }
      if (i == 16) {
    line_17 = buffer;
    Serial.println(line_17);
   }
   if (i == 17) {
    line_18 = buffer;
    Serial.println(line_18);
   }
   if (i == 18) {
    line_19 = buffer;
    Serial.println(line_19);
   }
   if (i == 19) {
    line_20 = buffer;
    Serial.println(line_20);
   }
   if (i == 20) {
    line_21 = buffer;
    Serial.println(line_21);
   }
   if (i == 21) {
    line_22 = buffer;
    Serial.println(line_22);
   }
     if (i == 22) {
    line_23 = buffer;
    Serial.println(line_23);
   }

   i++;

   if (i == 22){
    break;
   }
  }
  file.close();
delay(200);

//adding new station:
  File filea = SPIFFS.open("/configuration.txt", "a");
  filea.println("tesztszöveg");
  filea.close();

}

 void loop() {

     File file = SPIFFS.open("/configuration.txt");
     while(file.available())
  {
    Serial.write(file.read());
  }
  file.close();
   delay(2000);
 }

Thank you for the fast answer and sorry because i dont have other way in github ask question than added as bug. Maybe i will use 20 txt as solution, more easier like ahndle one file with the 20+ values.


jlab4 updates

updated README installation instructions
source code updates to support jupyter API & type changes
misc. doc updates
integrated playwright testing

Package built, but not pushed to testPyPi as I do not yet have permissions to do so.

@grallewellyn could you add me as an admin on the testpypi for maap-help?

Done


User menu can't be reopened after esc key trigger

Describe the bug
User menu can't be reopened after pressing escape key.
What is the expected behavior?
Click on User menu button should open it.
What are the steps to reproduce?

Click on User menu
Press escape key (menu disapear)
Click again on User menu

Screenshots or links to minimum reproduction example
Environment
Bug available on storybook

Thanks for opening this issue; we'll review it during our bug review meeting tomorrow.

Fixed in #436
There's a beta package published that can be used for testing<EMAIL_ADDRESS>