Date picker validation accepts nonsensical answers

Describe the bug
I can type invalid dates into the Catalog app like 40/0/2 into the date picker with no validation error.
Component
SDC Library / Catalog
To Reproduce
Steps to reproduce the behavior:

Open a questionnaire with a datepicker, e.g. Catalog app which says it wants M/d/yy
Enter 40/0/2

Expected behavior
Nonsense values should not pass validation
Screenshots
If applicable, add screenshots to help explain your problem.
https://user-images.githubusercontent.com/7772901/192644308-f062952f-1c4a-40bc-bba6-6e8b50aff921.mp4
Smartphone (please complete the following information):

Device: Any

Additional context
40/0/2 seems to translate to 4/2/05 if you tap the calendar icon?

I can take a look at this!

@shelaghm @williamito proposed fix in PR #1687
Copied the description from the PR below as to what the issue was:
By default, the DateFormat.parse method parsing is lenient: If the input is not in the form used by this object's format method but can still be parsed as a date, then the parse succeeds.
So in the case of 40/0/2, with leniency set to true, it would convert this to March 31, 5. Not 2005. 05. FIVE! Mind blowing haha. I didnt dig into the implementation, but I assume it does 2 + 40//12 = 5 for the year, and then the remainder becomes the month and day.


Create VM from snapshot

It is necessary to increase timeout between "snapshot successfully created" and start to clone VM. I set 180

It is necessary to increase timeout between "snapshot successfully created" and start to clone VM. I set 180

./backup.py -c config_webserver.cfg -d >> webserver.log
2019-08-13 02:14:40,352: Start backup for: 36650
2019-08-13 02:14:40,666: Snapshot creation started ...
2019-08-13 02:14:40,666: Snapshot created
2019-08-13 02:14:50,863: !!! No snapshot found !!!
2019-08-13 02:14:50,863: All backups done
2019-08-13 02:14:50,863: Backup failured for:
2019-08-13 02:14:50,863:   36650
2019-08-13 02:14:50,863: Some errors occured during the backup, please check the log file

I’m closing this issue because it has been inactive for a few months. This probably means that it is not reproducible or it has been fixed in a newer version.


[Package Issue]: Bambulab.Bambustudio <IP_ADDRESS>

Please confirm these before moving forward

[X] I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
[X] I have not been informed if the issue is resolved in a preview version of the winget client.

Category of the issue
Installation issue.
Brief description of your issue
Old version of Bambulab.Bambustudio <IP_ADDRESS> was 404 when downloading. Bambulab seems to have replaced the binary with <IP_ADDRESS>.
Steps to reproduce
Try to install Bambustudio.
Actual behavior
(1/1) Found Bambu Studio [Bambulab.Bambustudio] Version <IP_ADDRESS>
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://github.com/bambulab/BambuStudio/releases/download/v<IP_ADDRESS>/Bambu_Studio_win_public-v<IP_ADDRESS>-20240511203248.exe
An unexpected error occurred while executing the command:
Download request status is not success.
0x80190194 : Not found (404).

Expected behavior
Download works
Environment
Windows Package Manager v1.7.11261
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22631.3593
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.22.11261.0

Screenshots and Logs
No response

Fixed in #155219

Fixed in #155219


Error When Trigger Action.Execute From Adaptive Card in Teams Message

Github issues should be used for bugs and feature requests. Use Stack Overflow for general "how-to" questions.
Version
What package version of the SDK are you using.
4.14.2
Spring Boot 2.7.1
Describe the bug
Give a clear and concise description of what the bug is.
When a button with "Action.Execute" is clicked, the request sends to Bot SDK. When SDK is reading the "value" from activity, it asumes it's a JsonNode, but in fact, it's LinkedHashMap, hence it sends error to Teams
see node = (JsonNode) obj; starting line 705 of ActivityHandler
        Object obj = activity.getValue();
        JsonNode node = null;
        if (obj instanceof JsonNode) {
            node = (JsonNode) obj;
        } else {
            AdaptiveCardInvokeResponse response = createAdaptiveCardInvokeErrorResponse(
                HttpURLConnection.HTTP_BAD_REQUEST, "BadRequest", "Value property instanceof not properly formed");
            throw new InvokeResponseException(HttpURLConnection.HTTP_BAD_REQUEST, response);
        }

To Reproduce
Steps to reproduce the behavior:

Send an adaptive card to message, with action:

    {
      "type": "Action.Execute",
      "title": "Update Card",
      "id": "updateCard"
    }

Click on the button "Update Card"
Teams client gets response: {"errorCode":1008,"message":"<BotError>Bot returned unsuccessful status code BadRequest"}
An error shows up "Unable to reach app. Please try again."
No error logging in the backend

Expected behavior
Backend processes activity.getValue() as LinkedHashMap or whatever it could be (depending on the code deserializing activity json)
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
If I somehow convert activity.value into JsonNode, everything works.
Two ways:

Write a class extends BotController, and after Activity is passed in as controller parameter, substitute actitivy.value with a JsonNode activity.setValue(new ObjectMapper().convert(activity.getValue(), JsonNode.class))
Write a class replacing the default BotController, where specifies Jackson to treat value as JsonNode

  private static class SFActivity extends Activity {
    @JsonDeserialize(as = JsonNode.class)
    @JsonProperty("value")
    private Object value;

    @Override
    public Object getValue() {
      return value;
    }

    @Override
    public void setValue(Object value) {
      this.value = value;
    }
  }

@johnmiroki, your assessment seems to be on point. We are deciding what the next steps should be and will respond once that has been decided.

@stevkan Thank you for your confirmation!


Incorrect End Date Validation

Issue:
When a user is updating existing Test Data or adding new Test Data, the system throws a validation error or check that the end year is not applicable even when the end year is within the applicable range of 1993-2022. This is happening even when the End Date is correct or within the specified range. See below for more information and screenshots:
Steps to recreate:

Log in to ecmps
Go to the QA module
Select Glen lyn (3776) configuration 51
Select Rata as a test type
Select a Test Data record you wish to update, make any updates and keep the End Date as is
Click Save and Close. Review the validation that is displayed about the Year

Scenario 2:

Log in to ecmps
Go to the QA module
Select Glen lyn (3776) configuration 51
Select Rata as a test type
Add a Test Data record. Make sure you add information correctly
Click Save and Close. Review the validation that is displayed about the Year

Screenshots:

backend issue. endDate in swagger is in correct format, but it is not picking up the payload

Bug Fixed


Colors on Android 4.X.X and 5.X.X differs

Same code, same bitmaps, but if you're to open app on android up to 4.4 and android 5.0 and more, achieved colors would differs a lot.

@WINTEX Do you have an example image?

I'm retrieving cover-bitmap through .mp3 file via metadataretriever, i'm using default windows 7 music files from C:\Users\Public\Music\Sample Music (Kalimba, Maid with the Flaxen Hair, Sleep Away). And only after that retrieve background color and text color. As you can see, result differs on 4.4 and 5.0.


Generate mapping returns new class without mapping - support for field mapping

Hi, is there some requirements of the map to work? I tried on my class, the "Generate mapping" part just shows new Class () without mapping the members. E.g.
public static  YYY   CreateYYYFromXXX (XXX x)
{
  // nothing is mapped
   returns new YYY ();
}

Hi @imtrobin,
Can you show YYY and XXX classes' definitions?

public class XXX
 {
        public string Name             = null;
        public string Description      = null;
        public HashSet <string> Hashes            = null;
}

public class YYY
    {
        public string ID    = null;
        public string Name             = null;
        public string Description      = null;

        public HashSet <string> Hashes            = null;
         public DateTime TimeCreated      = DateTime.MinValue;
}

Currently, MappingGenerator is using properties to determine the source and destination of mapping. Is there any particular reason why do you prefer fields over properties?

I see. I do not need c# properties get/set so I chose with simple fields since it is always public get/set

Since C# 3.0, when auto-implemented properties had been introduced, they should be a default choice.
I can't see any specific reason why this language relict should be supported - of course, PR with the implementation of this functionality is welcome.

These are just simple classes to map rest requests. I do use properties in other places, where needed.  Will add it to my todo list. I presume you are using reflection so it should fairly easy to get member vars.

MappingGenerator is not using reflection. It's completely based on the  Roslyn and SyntaxTree analysis.

Oh bummer, not familiar with that.

I'm working on it but I can't promise when this will be released (I need to refactor a couple of things before to keep the codebase still maintainable).

A new version 1.16.393 with this feature has been released. @imtrobin could you test it and let me know if this works as expected?

Hi cezary, seems to be working well, thanks!


I am a paid Gemini Enterprise customer. I STILL get Frequent google.api_core.exceptions.InternalServerError: 500 An internal error has occurred

Description of the bug:
I am a paid Gemini Enterprise customer. I STILL get Frequent google.api_core.exceptions.InternalServerError: 500 An internal error has occurred
THIS IS NOT deterministic.
Sometimes things work and sometime sthings do NOT
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/google/ai/generativelanguage_v1beta/services/generative_service/client.py", line 566, in generate_content
response = rpc(
^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/google/api_core/gapic_v1/method.py", line 131, in call
return wrapped_func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/google/api_core/retry/retry_unary.py", line 293, in retry_wrapped_func
return retry_target(
^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/google/api_core/retry/retry_unary.py", line 153, in retry_target
_retry_error_helper(
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/google/api_core/retry/retry_base.py", line 212, in _retry_error_helper
raise final_exc from source_exc
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/google/api_core/retry/retry_unary.py", line 144, in retry_target
result = target()
^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/google/api_core/timeout.py", line 120, in func_with_timeout
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/google/api_core/grpc_helpers.py", line 78, in error_remapped_callable
raise exceptions.from_grpc_error(exc) from exc
google.api_core.exceptions.InternalServerError: 500 An internal error has occurred. Please retry or report in https://developers.generativeai.google/guide/troubleshooting
Actual vs expected behavior:
No response
Any other information you'd like to share?
I am a paid Gemini Enterprise customer.

i am having the same issue
the error :  message :InternalServerError: 500 POST https://generativelanguage.googleapis.com/v1beta/models/gemini-pro:generateContent?%24alt=json%3Benum-encoding%3Dint: An internal error has occurred. Please retry or report in https://developers.generativeai.google/guide/troubleshooting

Seems ok now


release 0.4.0

new dependency: tqdm
new SHA256

Checklist

[x] Used a fork of the feedstock to propose changes
n/a Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@kain88-de @richardjgowers  I just released 0.5.0 https://github.com/MDAnalysis/MDAnalysisData/issues/31. I think we can merge this for 0.4.0 and then let 0.5.0 be rendered automagically (it's on PyPi and no dependencies changed).

I would like to wait for the new MDAnalysis release on conda forge. Then we
can set this package to noarch and have quicker builds.
On Tue 6. Nov 2018 at 11:04, Oliver Beckstein<EMAIL_ADDRESS>wrote:

@kain88-de https://github.com/kain88-de @richardjgowers
https://github.com/richardjgowers I just released 0.5.0
MDAnalysis/MDAnalysisData#31
https://github.com/MDAnalysis/MDAnalysisData/issues/31. I think we can
merge this for 0.4.0 and then let 0.5.0 be rendered automagically (it's on
PyPi and no dependencies changed).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/conda-forge/mdanalysisdata-feedstock/pull/1#issuecomment-436197966,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEGnVv8sff5z1Nncofz8JuwkLaR3Vq7Kks5usV7AgaJpZM4YP2B-
.

Is this going to be live in time for the workshop?
--
Oliver Beckstein
email<EMAIL_ADDRESS>
Am Nov 6, 2018 um 04:41 schrieb Max Linke<EMAIL_ADDRESS>I would like to wait for the new MDAnalysis release on conda forge. Then we
can set this package to noarch and have quicker builds.
On Tue 6. Nov 2018 at 11:04, Oliver Beckstein<EMAIL_ADDRESS>wrote:

@kain88-de https://github.com/kain88-de @richardjgowers
https://github.com/richardjgowers I just released 0.5.0
MDAnalysis/MDAnalysisData#31
https://github.com/MDAnalysis/MDAnalysisData/issues/31. I think we can
merge this for 0.4.0 and then let 0.5.0 be rendered automagically (it's on
PyPi and no dependencies changed).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/conda-forge/mdanalysisdata-feedstock/pull/1#issuecomment-436197966,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEGnVv8sff5z1Nncofz8JuwkLaR3Vq7Kks5usV7AgaJpZM4YP2B-
.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Yeah these are fairly quick, I did mda proper this morning
On Tue, Nov 6, 2018 at 10:40 AM, Oliver Beckstein<EMAIL_ADDRESS>wrote:

Is this going to be live in time for the workshop?
--
Oliver Beckstein
email<EMAIL_ADDRESS>
Am Nov 6, 2018 um 04:41 schrieb Max Linke<EMAIL_ADDRESS>I would like to wait for the new MDAnalysis release on conda forge. Then
we
can set this package to noarch and have quicker builds.
On Tue 6. Nov 2018 at 11:04, Oliver Beckstein<EMAIL_ADDRESS>wrote:

@kain88-de https://github.com/kain88-de @richardjgowers
https://github.com/richardjgowers I just released 0.5.0
MDAnalysis/MDAnalysisData#31
https://github.com/MDAnalysis/MDAnalysisData/issues/31. I think we
can
merge this for 0.4.0 and then let 0.5.0 be rendered automagically
(it's on
PyPi and no dependencies changed).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<
https://github.com/conda-forge/mdanalysisdata-feedstock/pull/1#issuecomment-436197966
,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/AEGnVv8sff5z1Nncofz8JuwkLaR3Vq7Kks5usV7AgaJpZM4YP2B-

.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/conda-forge/mdanalysisdata-feedstock/pull/1#issuecomment-436320939,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AI0jB3vL54WS12lE-0ZpVklh5OO4i2kiks5usbuJgaJpZM4YP2B-
.


Unwanted Y axis offset seen on gizmo irrespective of position

If the object is at (0,0,0) the gizmo appears to be at something like (0,0.2,0) or something (assuming Y axis is up)

The cube is at origin but the gizmo doesn't appear at the origin. There seems to be an offset

Did you check setRect function? The only thing I can imagine here is the display rectangle is not correct and the 2D diplay of gizmo is a bit off. How did you come up with this (0,2,0) value?

What I doing with SetRect is this:
ImGui::Image(...);
ImVec2 imageSize = ImGui::GetItemRectSize();
ImVec2 imagePos = ImGui::GetItemRectMin();
ImGuizmo::SetRect(imagePos.x, imagePos.y, imageSize.x, imageSize.y);

Is there a better way to do this? This currently is giving me:

The ball is not coinciding with the intersection point of the grid lines

How did you come up with this (0,2,0) value

It is just an example, it looks like the offset would be like 0,0.2,0. Could be different but this is just an idea

To me, it still looks like wrong values for setrect. Can you try to set style ImGuiStyleVar_WindowPadding to ImVec2(0,0) and see if it changes something?

That does not seem to help. Still getting the offset. I pushed the window padding before drawing the window in which my image is and popped it after the window was submitted

Well, there's the window size (with the title bar and decorations) and then there's the content size.
I think in this case the ImGui::GetItemRectSize() was getting the window size.
Here's what I mean (excuse the crude drawing 😛):

In both versions the height is 1030 px, except the one on the right is off-center.

Yes this was the issue. I somehow fixed it by changing the height by the
titlebar height and then later I changed it to take the size of the correct
element (an ImGui::Image()), which just made everything fit perfectly.
Thank you for the explanation with the diagrams.
On Tue, Sep 15, 2020, 18:54 AndreiDespinoiu<EMAIL_ADDRESS>wrote:

Well, there's the window size (with the title bar and decorations) and
then there's the content size.
I think in this case the ImGui::GetItemRectSize() was getting the window
size.
Here's what I mean (excuse the crude drawing 😛):
[image: off-center]
https://user-images.githubusercontent.com/56735150/93215448-1bea6c80-f76f-11ea-8baa-0141b495c515.png
In both versions the height is 1030 px, except the one on the right is
off-center.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/CedricGuillemet/ImGuizmo/issues/109#issuecomment-692711941,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHSUAFDVEKLS4VE7LOL2FLTSF5TJXANCNFSM4MSLKP7Q
.


Bug? What is Signal.EaseInOut doing?

This is a reminder to self to check Signal.EaseInOut over (see tests?) as I'm seeing unexpected behaviour.

I'm going to fix this / remove doubt by replacing the current implementations of Signal's easeIn, easeOut and easeInOut with, for example, Signal.Time |> SignalFunction.easeInOut, as all the `SignalFunction versions were all recently tested with much consideration.

On testing, doing the above yielded almost identical results, so I'm doing the change above just for consistency but in fact the current implementation should be ok.


time: invalid duration

Select: Graph -> SwitchTime(1h-ago change to time format) -> Query, and click Expression, and then。。。

Expression link from graph page should always switch back to relative time

The query on the expression page did not specify a start time, e.g.
q("sum:linux_loadavg_1min", "1h", "")


Style only Drawer's Paper subcomponent

Better fix for weird invisible drawer shaped container that stays even when drawer is closed and prevents clicking on the map
Fixed regression in box shadows being on the wrong side after switching drawer from right to left

Before/after changes
https://user-images.githubusercontent.com/10445556/216808240-5fabfe93-2952-430e-8cb8-d79c249b63cb.mp4
Tested selecting trees on desktop. Tested mobile as well just in case, but code shouldn't touch mobile

Ping @Tijani-zainab @zoobot

Thanks for Attaching the little video, make it easy to see the changes without pulling the branch @mwpark2014

also, does testing trees selection on mobile breaks anything?

Nice work! @mwpark2014


Update instructions for href attribute in make dead links challenge

Pre-Submission Checklist

[x] Your pull request targets the staging branch of FreeCodeCamp.
[x] Branch starts with either fix/, feature/, or translate/ (e.g. fix/signin-issue)
[x] You have only one commit (if not, squash them into one commit).
[x] All new and existing tests pass the command npm run test-challenges. Use git commit --amend to amend any fixes.

Type of Change

[x] Small bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds new functionality)
[ ] Breaking change (fix or feature that would change existing functionality)
[ ] Add new translation (feature adding new translations)

Checklist:

[x] Tested changes locally.
[x] Closes currently open issue (replace XXXX with an issue no): Closes #10135

Description
Updated challenge instructions to help campers understand that the value of the href attribute needs to be changed to #, and not the href attribute itself.
Tested locally -
  total:     777
  passing:   777
  duration:  18.8s

Closes #10135

@Manish-Giri thanks for the fix, will fix the suggested changes in a pr myself.


feat: update component usage

Опишите проблему
Обновление статистики компонентов

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.006%) to 84.457%

Totals

Change from base Build<PHONE_NUMBER>:
-0.006%

Covered Lines:
9753

Relevant Lines:
10669

💛  - Coveralls


I have a library github.com/Noofbiz/go-card/smartcard that is in a repo with no go files in the root (go-card). When I try to import/add this library to another project with go get github.com/Noofbiz/go-card/smartcard it fails to build with an error. I've tried other fixes, such as running `go clean --modcache' but it doesn't help.
What did you see happen?
My results from go get:
$ go get -v github.com/Noofbiz/go-card/smartcard
go: downloading github.com/Noofbiz/go-card v0.0.0-20240314193412-f61d4e0f5cc5
go: module github.com/Noofbiz/go-card@upgrade found (v0.0.0-20240314193412-f61d4e0f5cc5), but does not contain package github.com/Noofbiz/go-card/smartcard

What did you expect to see?
The module to be added and usable.

Doesn't seem to be reproducible. In any case, I see it used @upgrade when you should probably use @latest.

using go run and letting it automatically add the dependencies worked just fine! Sorry for any inconvenience!


Added configurable date prefixes

The DateMessageParser provides flexibility through timestamp format strings, but then applies a hard-coded dt= prefix to the S3 path.  This configuration is actually already support through partitioner.granularity.date.prefix in secor.common.properties so I updated  DateMessageParser.extractPartitions() to leverage the existing functionality.
I also added testDatePrefix(), fixed existing tests that were now failing, and made minor formatting changes (e.g. indentation) to conform with the rest of the package.

Thanks for the contribution.

Not a problem, Henry.  I'm a big fan of the project!  Thank you for putting in the effort to maintain it.


Remove architecture dependent getter functions

Closes #93
I've checked using this branch as a dependency for the SDK and it passes tests with just minor changes. (SDK currently calls Version64 which in this branch can be accessed as Version)
cc @Liamsi

I've merged #92 (thanks again @jlandrews). Please rebase on (or merge in develop) and will merge this too.

I've resolved the merge conflicts and would merge into develop.

@jlandrews can you add an entry to the Changelog?


Fix generic return type inference

Fixes #31443.

@typescript-bot run dt
@typescript-bot test this

@typescript-bot test this again - afaik none of the auth tokens need to be refreshed for months, so maybe it was just a hiccup in the auth service?

@typescript-bot perf test

@typescript-bot test this but now I've refreshed the credentials so if you don't work I'll know something's wrong.

Monaco - node (v8.9.0, x64)/Emit Time was outside of the allowed range (9.32% worse than baseline).

@rbuckton this one platform/solution combination is consistently an outlier - do we know what's up with it yet? Its emit times (and only emit) are always mega high variance, comparatively speaking.


chore: remove deprecated scripts

1. Does this PR affect any open issues?(Y/N) and add issue references (e.g. "fix #123", "re #123".):

[x] N
[ ] Y

chore: remove deprecated scripts

2. What is the scope of this PR (e.g. component or file name):

Because we have a new KCL CLI, remove deprecated cli scripts in the repo.
3. Provide a description of the PR(e.g. more details, effects, motivations or doc link):

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[x] Other

4. Are there any breaking changes?(Y/N) and describe the breaking changes(e.g. more details, motivations or doc link):

[x] N
[ ] Y

5. Are there test cases for these changes?(Y/N) select and add more details, references or doc links:

[ ] Unit test
[ ] Integration test
[ ] Benchmark (add benchmark stats below)
[ ] Manual test (add detailed scripts or steps below)
[x] Other

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
2293

Relevant Lines:
2612

💛  - Coveralls


Badge section doesn't correspond with side nav

The Badges section should move to the bottom of the Components view.
https://www.evernote.com/l/ABetFD_2UWBIRYCmw_blW7PmqiD7vfTl41s

@RachelRVasquez This is #1

@fuhton Submitted a PR: https://github.com/JDRF/design-system/pull/375

Merged and pushed.


There are some files missed

Hi, thanks for your sharing. But there are some files not contained in this repo, such as rendering_pix3d.pkl, pix3d_train.json, pix3d_test.json and pretrained models. Can you submit these files if possible? Thanks!

Thanks!


fix: [Validation] JSON data may cause "Array to string conversion" error

Description
Fixes #6466
Checklist:

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

Rebased and squashed.
Added a check if the array is a list (in the meaning of array_is_list()).


Input latency of over a second for every key press

When using default example kwm and khd config files, every key press takes about a second before khd interprets it. For example, when pressing ctrl-f, nothing happens until one second later, after which the border changes color and switcher mode is activated. Typing during this delay yields keyboard input into the frontmost application (and not delayed input into khd or something like that).
/tmp/khd.err spams this twice for every time I press a key that khd interprets:
set: Warning: $PATH entry "/Library/Frameworks/Mono.framework/Commands /Users/nevyn/Library/Android/sdk/platform-tools /Users/nevyn/Dev/depot_tools /Users/nevyn/bin $PATH /usr/local/Cellar/khd/2.2.2/bin /usr/local/bin /usr/bin /bin /usr/sbin /sbin" is not valid (No such file or directory)

It is logged after the one-second delay.
Is it an incompatibility with the fish shell or something?

See #23


[18.03] Removed Archive Pages in Cloud, Store and Hub

Proposed changes
These pages are "live content" that should not live in the archive
images. Due to an error in the archiving process this was not done
correctly for docker-hub, docker-store and docker-cloud in the v18.03
archiving process.
ENGDOCS-21
Unreleased project version (optional)

Related issues (optional)

Deploy preview for docsdocker ready!
Built with commit 91639a702aac6a2a45500b36fd9f2858bf5082e5
https://deploy-preview-9269--docsdocker.netlify.com


[ADD TOKEN] - BitQueen

https://discord.com/channels/990271820101988362/1253772917326745702/1258779955307745340

Thank you


Includes definition for cslreferences environment

Pandoc 2.8 requires a cslreferences environment to be defined in a LaTeX template for CSL bibliographies. This PR includes some code copied from https://github.com/rstudio/rmarkdown/issues/1649, defining a cslreferences in the LaTeX template.
This will close issue #3.

Thanks for this contribution! I'll check it out after Christmas.


Change output format to report overview

This patch improves the leapp output format. The "REPORT" section is
renamed to "REPORT OVERVIEW" and in addition to high and medium priority
report titles it contains also inhibitor titles and actor and short
error message for errors.
The long (possibly thousands of lines) detailed errors messaged and
tracebacks are kept in the "ERRORS" section. The inhibitors section is
removed, because it's contents are now in the report overview.

Requires #838

Examples

Normal

Inhibitor

Errors (couldn't fit into one image)

NOTE: The "Stable Key report entry not provided, dynamically generating one ..." messages are only visible with --debug.

/rerun 1116

Tested manually, works as expected, see below.
error
============================================================
                           ERRORS
============================================================

2023-08-23 14:59:34.971322 [ERROR] Actor: pes_events_scanner
Message: Data file /etc/leapp/files/pes-events.json is invalid or could not be retrieved.
Summary:
    Details: Could not fetch pes-events.json from https://cert.cloud.redhat.com/api/pes/2/pes-events.json (error code: 401).
    Hint: Read documentation at: https://access.redhat.com/articles/3664871 for more information about how to retrieve the file.

============================================================
                       END OF ERRORS
============================================================

2023-08-23 14:59:35.109 WARNING  PID: 17795 leapp.reporting: Stable Key report entry not provided, dynamically generating one - 93b26ca870d07eabd42892a70ed8a91556d9b74c
Debug output written to /var/log/leapp/leapp-upgrade.log
2023-08-23 14:59:35.140 WARNING  PID: 17795 leapp.reporting: Stable Key report entry not provided, dynamically generating one - 93b26ca870d07eabd42892a70ed8a91556d9b74c

============================================================
                      REPORT OVERVIEW
============================================================

Following errors occurred and the upgrade cannot continue:
    1. Actor: pes_events_scanner
       Message: Data file /etc/leapp/files/pes-events.json is invalid or could not be retrieved.

Reports summary:
    Errors:                      1
    Inhibitors:                  0
    HIGH severity reports:       0
    MEDIUM severity reports:     0
    LOW severity reports:        0
    INFO severity reports:       1

Before continuing consult the full report:
    A report has been generated at /var/log/leapp/leapp-report.json
    A report has been generated at /var/log/leapp/leapp-report.txt

============================================================
                   END OF REPORT OVERVIEW
============================================================

============================================================
                      REPORT OVERVIEW
============================================================

Following errors occurred and the upgrade cannot continue:
    1. Actor: dnf_transaction_check
       Message: DNF execution failed with non zero exit code.

HIGH and MEDIUM severity reports:
    1. Packages available in excluded repositories will not be installed
    2. GRUB2 core will be automatically updated during the upgrade
    3. Packages not signed by Red Hat found on the system
    4. Difference in Python versions and support in RHEL 8
    5. Upgrade is unsupported
    6. Module pam_pkcs11 will be removed from PAM configuration
    7. chrony using default configuration

Reports summary:
    Errors:                      1
    Inhibitors:                  0
    HIGH severity reports:       5
    MEDIUM severity reports:     2
    LOW severity reports:        4
    INFO severity reports:       4

Before continuing consult the full report:
    A report has been generated at /var/log/leapp/leapp-report.json
    A report has been generated at /var/log/leapp/leapp-report.txt

# grep "(error)" -A1 /var/log/leapp/leapp-report.txt
Risk Factor: high (error)
Title: DNF execution failed with non zero exit code.

## snippet from json file:
   {
      "title": "DNF execution failed with non zero exit code.",
      "timeStamp": "2023-08-23T13:21:15.150183Z",
      "hostname": "localhost.localdomain",
      "actor": "dnf_transaction_check",
      "summary" ....,
      "audience": "sysadmin",
      "flags": [],
      "key": "1e26c8b86cec72c25c04ca045d2b0ed3e8ca2df5",
      "id": "e7c19634f1ab2e6887c69ea627b0ffc8d17dabbded26d5904934a81ef97ee26d",
      "tags": [],
      "severity": "high"
    }

For the schema v1.2.0:
============================================================
                      REPORT OVERVIEW
============================================================

Following errors occurred and the upgrade cannot continue:
    1. Actor: dnf_transaction_check
       Message: DNF execution failed with non zero exit code.

HIGH and MEDIUM severity reports:
    1. Packages available in excluded repositories will not be installed
    2. GRUB2 core will be automatically updated during the upgrade
    3. Difference in Python versions and support in RHEL 8
    4. Packages not signed by Red Hat found on the system
    5. Upgrade is unsupported
    6. Module pam_pkcs11 will be removed from PAM configuration
    7. chrony using default configuration

Reports summary:
    Errors:                      1
    Inhibitors:                  0
    HIGH severity reports:       5
    MEDIUM severity reports:     2
    LOW severity reports:        4
    INFO severity reports:       4

Before continuing consult the full report:
    A report has been generated at /var/log/leapp/leapp-report.json
    A report has been generated at /var/log/leapp/leapp-report.txt

============================================================
                   END OF REPORT OVERVIEW
============================================================

# grep "(error)" -A1 /var/log/leapp/leapp-report.txt
Risk Factor: high (error)
Title: DNF execution failed with non zero exit code.

Snippet from the json file
   {
      "groups": [
        "error"
      ],
      "title": "DNF execution failed with non zero exit code.",
      "timeStamp": "2023-08-23T13:40:04.309613Z",
      "hostname": "localhost.localdomain",
      "actor": "dnf_transaction_check",

The rest of entries looks good as I expected too. I forgot to put here inhibitors (will try to get outputs also later) but it seemed correct to me also.


Remove deployment ChangeBehavior.BLOCK_AND_REBUILD

This was broken since 2017 (commit 998d8f639f6b77ee57b8d66ae38ad80162f06b91)
and is not used by the only user of deployments (play application plugin).
Context
The RegisteredDeployment.create function has a switch-case without this value. As an alternative to deleting this option, we could also restore the implementation there (but as it's dead code right now anyway, I decided to propose to delete it instead).
Contributor Checklist

[x] Review Contribution Guidelines
[x] Make sure that all commits are signed off to indicate that you agree to the terms of Developer Certificate of Origin.
[x] Make sure all contributed code can be distributed under the terms of the Apache License 2.0, e.g. the code was written by yourself or the original code is licensed under a license compatible to Apache License 2.0.
[x] Check "Allow edit from maintainers" option in pull request so that additional changes can be pushed by Gradle team
[x] Provide integration tests (under <subproject>/src/integTest) to verify changes from a user perspective
[x] Provide unit tests (under <subproject>/src/test) to verify logic
[x] Update User Guide, DSL Reference, and Javadoc for public-facing changes
[x] Ensure that tests pass locally: ./gradlew <changed-subproject>:check

Gradle Core Team Checklist

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation
[ ] Recognize contributor in release notes

@bennofs looks like you have some failing tests

@JLLeitschuh sorry I don't understand how to interpret these failures. The second and third are simply 404 links, and the first links to a build which doesn't list any of many changes in the Changes tab

@Mergifyio rebase

I'll re-run once the rebase is complete

I manually rebased. @bot-gradle test this

OK, I've already triggered ReadyForMerge build for you.

This looks like it has introduced a compilation failure


Code samples look weird

The background only covers the text, not the whole div. Might be a problem with rouge highlighting library.
See image here

Browser and OS versions?

MacOS Catalina 10.15.5
Chrome Version 83.0.4103.116

Thanks I'm just dumb.
6709cb6dd8c67f378fd47e262d0af1fb5c6724f9


Fix edge cases in qual

Currently, the definition of qual does not make a ~~ b imply a ~~ a and b ~~ b.
Suggestion:
pub fn qual(a: u64, b: u64) -> u64 {
    and(eq(a, b), if a == b {qubit(a)} else {and(qual(a, a), qual(b, b))})
}

This seems to fix Creation Theorem!


read_english_dictionary.py uses words_alpha.txt as the example file.

The example for words_dictionary.json is read_english_dictionary.py, but that file uses words_alpha.txt

@Abhay-Katoch What is your question?
If you want to change the list of words used, simply edit the .py file.


Fixing info message in ValidateCredential

Codecov Report
Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Please upload report for BASE (main@d148bed). Learn more about missing BASE report.

Files with missing lines
Patch %
Lines

internal/server/server.go
0.00%
1 Missing :warning:

Additional details and impacted files
@@          Coverage Diff           @@
##             main     #93   +/-   ##
======================================
  Coverage        ?   9.77%
======================================
  Files           ?      22
  Lines           ?     696
  Branches        ?       0
======================================
  Hits            ?      68
  Misses          ?     622
  Partials        ?       6

Flag
Coverage Δ

unittests
9.77% <0.00%> (?)

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

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


Added onnx friendly merging

Added onnx friendly merging
Also, together with a test for correctness. NOTE: this only supports 'mean' and 'sum' reductions
fixes #31

Thanks for writing this! Do you know what the speed difference might be between this and the native pytorch solution (w/o onnx)?
Essentially, this is a native pytorch implementation of scatter_reduce, not an onnx-specific implementation (kinda like a polyfill). This might be useful for more than just onnx (e.g., any platform where scatter_reduce is not implemented, maybe like directml). If I accept this, I'd probably re-write it to test if reduce_scatter is available, and then if not use this implementation instead, rather than use a manual flag. (Also it looks like you left some autolinter changes in the commits, not sure if you meant to do that or not.)

Hi, I'll check the numbers and will update.
Re testing availability - I'm not sure if this can be done without actually converting to ONNX.
See this and this.

Hmm, would it be possible to just attempt to run the function and then fall back to the polyfill if there's an error? I see you suggested a try-except over the entire conversion process, but is it possible to just try-except the function itself?
Alternatively, maybe there's a way to detect whether an onnx / jit trace is currently being performed instead of a normal forward pass, and set the flag then.

Added onnx friendly merging Also, together with a test for correctness. NOTE: this only supports 'mean' and 'sum' reductions fixes #31

@NatanBagrov, did you able to export model to ONNX format with ONNX friendly code? I am getting assertion error due to below line.
dst = dst.scatter(-2, dst_idx.expand(n, r, c), src, reduce="add")
AssertionError: A mismatch between the number of arguments (5) and their descriptors (4) was found at symbolic function 'scatter'. If you believe this is not due to custom symbolic implementation within your code or an external library, please file an issue at https://github.com/pytorch/pytorch/issues/new?template=bug-report.yml to report this bug.


Added textarea stories

We should add tests for margins.
Add optional to the disabled tests (both in light and dark).
Add tests disabled with value (both in light and dark).
Maybe it is interesting to add an example with verticalGrow as 'auto' and value to see how it grows.
We could test helper text, optional and value in a same test to avoid repeated tests (as these elements do not affect each other).

We should add tests for margins. Done
We could add optional to the disabled tests (in light and dark). Done
We could add tests disabled with value (in light and dark). Done
Maybe it is interesting to add an example with verticalGrow as 'auto' and value to see how it grows. (Instead of adding the test for the verticalGrow as 'auto'(that doesn´t add anything else than the 'resizer icon' already tested in another scenario) I´ve added a test for the verticalGrow as 'manual', test case in which the scrollbar is displayed.)
We could test helper text, optional and value in a same test to avoid repeated tests (as these elements do not affect each other). Done


Instagram images not loading

Hi there,
Since this morning the Instagram images are not loading on SharePoint.
Please, advise.

I have the exact same issue. Is this a temporary issue? I just added the webpart.
Out of curiosity, have you enabled private & public CDN?

Exact same issue in different tenants.

Have the same issue

Same issue

Same story here!
0 response from the developer, what is this magic :(

I have looked in to this, for me it looks like Facebook (the small company behind instagram) is blocking now CORS ("Cross-Origin Resource Sharing")...
A normal browser tells a webserver from where the request is coming, and then the webserver can decide if he want to allow the request or not.
It looks like the webpart is using an internal interface that was developed only for internal-use and now facebook decided to block the interface for external request. Like Request that come from sharepoint.... If you directly access the link from the images you will be able to view the image, because then the request goes directly to instagram (facebook)...
There is not much you can do:

Pray that facebook opens the interface for external use again. (I think this will not happen, they have a reason for closing)
Change the API to work with the facebook graph API (https://developers.facebook.com/docs/instagram-api/?locale=de_DE) but I have not checked if the API give access to the images...

if someone has a better idea let us know ;)

is there any updates on this. I am also getting same error

Please help me on this.

Yes, Cors policy.
MedewerkersPortal?Mode=Edit:1 Access to XMLHttpRequest at 'https://images23-focus-opensocial.googleusercontent.com/gadgets/proxy?url=https%3A%2F%2Fwww.instagram.com%2Fthenikhilk%2F%3F__a%3D1&container=none' from origin 'https://newskool.sharepoint.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. MedewerkersPortal:1 Access to XMLHttpRequest at 'https://images6-focus-opensocial.googleusercontent.com/gadgets/proxy?url=https%3A%2F%2Fwww.instagram.com%2Fthenikhilk%2F%3F__a%3D1&container=none' from origin 'https://newskool.sharepoint.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

Does it solve the problem ?
Would need webpart updates to allow enter facebook token.
https://www.c-sharpcorner.com/blogs/instagram-feed-into-web-part-with-new-short-method

Was thinking CDN issue but alas same issue and from the long string above of comments, there is no update on this. Very annoying as it was working great until recently.


No time stamp is added for parameter measurements

For flux/pool (ratio) measurement groups no time stamp is added (getTimeStampSet returns an empty set). It would be better to add -1 to the set, because you can than generically get measurement data by iterating over the set. Right now, this works for all measurements but the parameter measurements.
Also, it does not make sense to even have such a set if it would supposed to be empty in every scenario.

Due to the steady state assumption fluxes and pool sizes are constant over time, hence a flux/poolsize (ratio) measurement is valid at any time point.
(side note: if FluxML is ever extended to the metabolically instationary case fluxes and pool sizes will become time dependent)
Returning -1 would imply the measurement is valid only for t = infinity, i.e. the isotopically stationary case.
(side note2: I actually do not like that -1 represents infinity, because there is std::numeric_limits::infinity which states that in a much more understandable way)
I would say that these measurements do not need the getTimeStampSet method at all, because it does not apply. It is inherited from MGroup and was actually there long before timestamps where supported at all.
So one way to solve it would be to move all timestamp related members and methods to the MetaboliteMGroup (with unknown side effects)
If we leave the method, I for one, am not that unhappy with it returning an empty set, because it kind of represents that this method does not really apply.
Could you elaborate, why exactly you would like to iterate over the timestamp set to get all measurements?
Alternatively, we could set a special value to represent that. Perhaps NaN, because that does not compare to anything? Or we could have a class on its own to represent timestamps, that ensures that values are always >=0 and has a way to represent infinity and a 'does not apply'.
In both cases there are some constraints to the set of timestamps. While infinity could be combined with any actual timestamp, a set that contains the 'does not apply' can not contain anything else.
Thoughts? Oppinions?

Ok, I understand why -1 would be inconsistent. I like your idea of using NaN as a "pseudo timestamp" for measurements of isotopically steady-state unknowns.
i must admit that the iteration example was not very though out. I had a little idea that I now see would have never worked out. When it comes to the availability of the getTimeStampSet method I think it should be only available when it can be applied. However, due to backward compatibility and the work of refactoring I think it is better to keep it and just add NaN (which would be an equivalent of "does not apply").

I'll have a look. At first glance this seems easy to do.


"Command execution timeout" for INFO replication

Hi @mrniko,
I am getting the Command execution timeout when my application comes up. Looks like the first INFO replication command is being timed out. Same command I have tried from the command and the same command works well in almost no time. Can you please suggest if there is any such open issue? I am using 2.2.24 of the library.
Following is the stack trace:
Aug 10 09:44:08 ip-<<masked>> docker/589d207f4a55[2574]: 2016-08-10 09:44:08.792 UTC ERROR rid=NA 5 --- [entExecutor-1-1] o.r.c.ElasticacheConnectionManager       : Command execution timeout for <<masked>>.0001.use1.cache.amazonaws.com/<<masked>>:6379
Aug 10 09:44:08 ip-<<masked>> docker/589d207f4a55[2574]:
Aug 10 09:44:08 ip-<<masked>> docker/589d207f4a55[2574]: org.redisson.client.RedisTimeoutException: Command execution timeout for <<masked>>.use1.cache.amazonaws.com/<IP_ADDRESS>:6379
Aug 10 09:44:08 ip-<<masked>> docker/589d207f4a55[2574]: #011at org.redisson.client.RedisConnection.await(RedisConnection.java:127) ~[<<masked>>:0.1.0-SNAPSHOT]
Aug 10 09:44:08 ip-<<masked>> docker/589d207f4a55[2574]: #011at org.redisson.client.RedisConnection.sync(RedisConnection.java:159) ~[<<masked>>:0.1.0-SNAPSHOT]
Aug 10 09:44:08 ip-<<masked>> docker/589d207f4a55[2574]: #011at org.redisson.client.RedisConnection.sync(RedisConnection.java:145) ~[<<masked>>:0.1.0-SNAPSHOT]
Aug 10 09:44:08 ip-<<masked>> docker/589d207f4a55[2574]: #011at org.redisson.connection.ElasticacheConnectionManager$1.run(ElasticacheConnectionManager.java:134) ~[<<masked>>:0.1.0-SNAPSHOT]
Aug 10 09:44:08 ip-<<masked>> docker/589d207f4a55[2574]: #011at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_60]
Aug 10 09:44:08 ip-<<masked>> docker/589d207f4a55[2574]: #011at io.netty.util.concurrent.ScheduledFutureTask.run(ScheduledFutureTask.java:126) [<<masked>>:0.1.0-SNAPSHOT]
Aug 10 09:44:08 ip-<<masked>> docker/589d207f4a55[2574]: #011at io.netty.util.concurrent.GlobalEventExecutor$TaskRunner.run(GlobalEventExecutor.java:237) [<<masked>>:0.1.0-SNAPSHOT]
Aug 10 09:44:08 ip-<<masked>> docker/589d207f4a55[2574]: #011at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144) [<<masked>>:0.1.0-SNAPSHOT]
Aug 10 09:44:08 ip-<<masked>> docker/589d207f4a55[2574]: #011at java.lang.Thread.run(Thread.java:745) [na:1.8.0_60]

Hi!
Such timeout occurs due to network delay.

Agreed, but there problem is that network is stable. I tried with running the same command from redis-cli and it works well.

Network delays could happen non permanently. Which timeout settings do you have?

@mrniko : We are using the following connection settings to connect to our elastic cache servers. This is coming very frequently. We have found that the command "info replication" gets timedout. Could this be a timeout issue or connection setup issue.
public RedissonClient redissonClient() {
Config config = new Config();
config.useElasticacheServers().setLoadBalancer(new RoundRobinLoadBalancer()).setScanInterval(5000).
setSlaveSubscriptionConnectionPoolSize(0).setSlaveSubscriptionConnectionMinimumIdleSize(0).setSubscriptionsPerConnection(0).
setMasterConnectionPoolSize(100).setSlaveConnectionPoolSize(100).
setSlaveConnectionMinimumIdleSize(10).setMasterConnectionMinimumIdleSize(10).
setIdleConnectionTimeout(60000).setReconnectionTimeout(30000).
setReadMode(ReadMode.MASTER_SLAVE).setConnectTimeout(30000).setTimeout(30000).addNodeAddress(redisHostName);
return Redisson.create(config);
}

@Himanshu4

Could this be a timeout issue or connection setup issue.

I don't think so. ElastiCacheManager uses RedisClient which used by Redisson for connection setup and command execution.

Command timeout = retryInterval * retryAttempts Try to increase retryInterval. ElastiCacheManager used hardcoded timeout = 60 seconds before I fixed it to correct timeout calculation formula.


CFN Syntax checker

Good to have a cloudformation syntax checker before deploying
The default cloudformation syntax checker is sufficient
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-validate-template.html

@mridhul I would like to take this up.


read_miriad padding data

This issue is an offshoot of #87. It was discovered that read_miriad assumes Nblts = Ntimes * Nant * (Nant-1)/2. If there are baselines that don't exist, they are padded with zeros. Functionally everything works fine as far as I can tell, but we probably want to remove unnecessary padding.

Note that test_ReadUVFitsWriteMiriad fails due to this issue. This was only realized after a bug fix in the eq function of uvbase (see issue #93).

I'm not sure that this is non-critical if it causes one of our standard tests to fail. I think we need to either fix this issue or the test before version 1.0

I believe I've fixed this issue. test_ReadUVFitsWriteMiriad is still broken, but not because the array lengths are different. I'm making a new issue for that test (issue #94).


haskellPackages.io-streams-haproxy: Disable version checks

Motivation for this change
Trying to build snap on haskell-updates io-streams-proxy was failing due to a restrictive upper bound on multiple dependencies.
Things done
Disable version checks using doJailbreak.

Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] 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/)
22.05 Release Notes (or backporting 21.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
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[X] Fits CONTRIBUTING.md.

LGTM, thanks!


Feature/expanding cache methods

onChange and getAndRemove added to ICache. Impls added to MemoryCache and RedisCache.
Method descriptions:
onChange
   * Monitors a key for potential changes to its value.
   * If key-value does not exist this method will wait for it to exist or return null at the end of the wait period.
   * If value is removed, the method will return null.

getAndRemove
   * Gets and removes a value asynchronously from the underlying cache.
   * This is an atomic operation. The value will not be modified or read by any other process between getting and removing.

What's the intention with the _lockMap it seems to be only used in the getAndRemove?

to ensure the atomicity of getAndRemove

This is an atomic operation. The value will not be modified or read by any other process between getting and removing.
lock map prevents any other threads from performing operations between get and remove. in the future, it could have other uses for locking a cache value from other threads.


Shuttle stops working after upgrade to  Big Sur

This is a fantastic app for MacOS especially for people who need frequently ssh with iterm to multiple hosts.
But since recently upgrade MacOS to Big Sur, it stops works. Icon can be launched in top bar but, stop working, and also cause external MS keyboard stop working.
Hopefully someone can upgrade it to compatible with the new MacOS.

System Preferences -> Security & Privacy -> Privacy -> Automation -> Check on shuttle

It can open only the first terminal tab after updated the preferences. nothing happens when I try to open the second connection in new terminal tab.

It can open only the first terminal tab after updated the preferences. nothing happens when I try to open the second connection in new terminal tab.

That is true, I didn't notice that before. The simple solution is to use 'new' instead of 'tab'.

It can open only the first terminal tab after updated the preferences. nothing happens when I try to open the second connection in new terminal tab.

That is true, I didn't notice that before. The simple solution is to use 'new' instead of 'tab'.

I have the same problem. I wander if the bug of terminal or th shuttle

It can open only the first terminal tab after updated the preferences. nothing happens when I try to open the second connection in new terminal tab.

That is true, I didn't notice that before. The simple solution is to use 'new' instead of 'tab'.

I have the same problem.

It seems I had solved the problem.  it seems the problem of terminal.
System Preferences -> Security & Privacy -> Privacy -> Assits  -> Check on terminal;

Doesn't work

It can open only the first terminal tab after updated the preferences. nothing happens when I try to open the second connection in new terminal tab.

That is true, I didn't notice that before. The simple solution is to use 'new' instead of 'tab'.

I have the same problem.

It seems I had solved the problem. it seems the problem of terminal.
System Preferences -> Security & Privacy -> Privacy -> Assits -> Check on terminal;

I cannot find this "Assits" , but FYI, I found iTerm2 works fine to create new tab.
hope this helps.

I changed my settings to
"terminal": "Terminal.app",
"open_in": "new",
and that seems to work for me.  It opens in a new tab, rather than a new window, but that's what I would prefer anyway.

the comments related to privacy settings helped for me: quit Shuttle, manually remove any old reference to Shuttle in Security & Privacy, then re-add them manually, start the app and accept any other prompts you might get.
hope it helps someone 🤷♂

the comments related to privacy settings helped for me: quit Shuttle, manually remove any old reference to Shuttle in Security & Privacy, then re-add them manually, start the app and accept any other prompts you might get.
hope it helps someone 🤷♂

the comments related to privacy settings helped for me: quit Shuttle, manually remove any old reference to Shuttle in Security & Privacy, then re-add them manually, start the app and accept any other prompts you might get.
hope it helps someone 🤷♂

Worked for me - thanks!


Partial hand ECS

About this PR
This PR moves a small amount of hands component logic into the hands systems. The main reason for doing this is in order to get hands predicted.
There's not much point to getting interactions predicted if hand-swapping, picking up, dropping, and pickup-animations are all initiated server-side. Now they should feel a lot better for laggy clients. To try that aspect out, if you launch the game, and run cvar net.fakelagmin 0.5 you should find that swap hands using 'X' or by clicking on the hands GUI shouldn't have a delay, and neither should dropping items. Because pick-up interactions are all initiated server side, picking up items will still feel laggy.
This is the first time I've properly messed around with trying to do this sort of thing, and is the second actual use of RaisePredictiveEvent, so I didn't have much code to use as a reference. I think I understand how predictions work, but maybe I've don't something silly somewhere. I for one, could do with a 101. I haven't tested out the other net options yet.
Edit:
After the great IEntity purge, this PR now also involves making some EntityUids nullable and removing the use of EntityUid.Invalid.
fixes #5749
Issues / Comments
For pickup animations, currently the server just tells all clients to play the animation. If you have predicted interactions you can get a situation where the user plays the pickup animation locally, and then plays it again when the server sends it to all clients. If all pickup interactions were predicted & client-initiated, then you could just never send the animation to the user that initiated that interaction. But initially there will eb a mix (e.g., predicted verbs, non-predicted standard interactions). So for now I've just added a animateUser bool that determines whether the pickup-animation is sent to the user that initiated the pickup.
I'm not sure why, but when an item is dropped while walking, there is a delay before the item is nudged in the direction the user was walking. I'm guessing that whatever applies that force is sever-side somewhere?
Video
Video with a laggy client on the right (net.fakelagmin 0.5). Picking items up is delayed, but swaping hands & dropping isn't
https://user-images.githubusercontent.com/60421075/144159565-29e94847-980f-41a4-9c0f-724a78e64ea3.mp4

Need to fix several issues after inventory refactor, DNM.

Need to fix several issues after inventory refactor, DNM.

Looks like they were mostly just general inv-refactor problems, not hands specific, and they've since been fixed. So seems fine to merge again.

Need to fix several issues after inventory refactor, DNM.

Looks like they were mostly just general inv-refactor problems, not hands specific, and they've since been fixed. So seems fine to merge again.