Include "provider" in encrypted session

Currently in the login system "provider" is not in the encrypted session cookie, while username and password are.  Move "provider" into the session hash also.

Excellent! Thank you.


Tomorrow and yesterday functions, fix #4

Fixes #4

Thanks! 😊
I just changed how the functions are exported and made some other changes. What do you think?


Allow testcontainers to have custom labels

This may be useful for tools such as traefik which use docker labels for configuration

Created as part of the Gr8ConfEU 2018 Hackergarten :slightly_smiling_face:

Not sure why it failed on Travis - can you trigger it again? @bsideup

@mgansler triggered! There is a flaky test, sorry :)

And they passed - finally :D


BusinessLogicSyscallHandler - Implement emit_event syscall

https://github.com/starkware-libs/cairo-lang/blob/master/src/starkware/starknet/core/os/syscall_handler.py#L568

Being solved in https://github.com/lambdaclass/starknet_in_rust/pull/323


Docs: Typo Fix

Corrected "evant" to "event" in [README.md].
This pull request addresses a minor typo found in repository. The typo has been corrected to improve clarity and maintain the quality of the documentation.
This change is purely cosmetic and does not affect functionality.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Thanks, @Dnyanu76! Could you please sign the CLA?


Improve compilation time

Currently, building our resource takes about 6m 40s on github. This is because everything is re-compiled, not just the files that changed. Speeding up the compilation would be useful.
Normally, the whole point of using a Makefile is that only the files that have been changed triggers a re-compilation. This is what happens if you use the Makefile locally (i.e., if you build the resource locally), but this is not the way it happens when our workflows are triggered.
There may be some ways of caching some dependencies, maybe using docker could also improve the efficiency, too. There may be some useful information buried here as well, but it is not clear that a makefile can be used "the right way" with github actions.

A possible way would be to

download the latest release ( https://github.com/csci-1301/csci-1301.github.io/releases )
extract it,
use it as the build/ folder.

However, for that to work properly, all the dependencies have to be correctly listed in all the rules.

It (looks like) I got it right, but the dependencies must not work as intended, as the compile time went from 4m 28s  to  4m 42s (probably the time required to download & unzip the release).
Or maybe since the action is using a "fresh" copy, all the files are always marked as "touched" and need to be re-compiled?

https://github.com/csci-1301/csci-1301.github.io/commit/7fa86a6aee961100aab8a36415078150fdbce2ea tried using https://stackoverflow.com/a/55609950/
https://github.com/csci-1301/csci-1301.github.io/commit/7699022fd41e9d9a4687d49c88dfe946afef36f3 is trying using https://github.com/MestreLion/git-tools#install

Success!
https://github.com/csci-1301/csci-1301.github.io/actions/runs/8573116488/job/23497155057

succeeded Apr 5, 2024 in 1m 20s

This log will need to be read in more details, to understand what needed to be re-compiled (the lab zip files, apparently), but it's a nice first step!

Ok, some marginal gain could come from solving https://github.com/csci-1301/csci-1301.github.io/issues/163 and by caching a docker image, but other than that I believe this issue can be closed (the compilation time is now 1m 24s , most of it spend setting things up).


Highlight of nodes when label is not present

The highlight of a node show a tag with the left part rounded .
But if there is no label, it can be better to have an other style, like a circle for example.

@jacomyal  & @Yomguithereal  What do you think about this ?
Code => https://github.com/jacomyal/sigma.js/blob/v2-issue-1118/src/rendering/canvas/hover.ts

Only tiny update I will add to this issue:

Display the node halo as you developed it for nodes with label as null
Display the node halo as it was before (with the weird square corners on the right) for nodes with label as ""


Additions by spelling - if term was previously linked, add an option to link with the previous URI

In GitLab by @nwalczak on Jul 3, 2019, 10:21
It's possible for the user to add a link to a previous instant of the current term.  In this case, it could be good to have a button that will link the current term with the previous URI.

In GitLab by @nwalczak on Aug 7, 2019, 15:01
created branch 71-additions-by-spelling-if-term-was-previously-linked-add-an-option-to-link-with-the-previous-uri

In GitLab by @nwalczak on Aug 7, 2019, 15:01
mentioned in merge request !39

In GitLab by @nwalczak on Aug 8, 2019, 12:43
closed via commit 92e0ae4763343fd105dbe9928ce6252add7f1e97

In GitLab by @nwalczak on Aug 8, 2019, 12:43
closed via merge request !39

In GitLab by @nwalczak on Sep 16, 2019, 11:47
mentioned in commit 92e0ae4763343fd105dbe9928ce6252add7f1e97


Editor role is not supported

Calling command with editor role
mergin --url https://app.dev.merginmaps.com --username tme1 --password <password> share-add --permissions editor tme1/Djdj tme5

produces "Unsupported permission level" error
Traceback (most recent call last):
  File "/home/jozef/.local/bin/mergin", line 8, in <module>
    sys.exit(cli())
  File "/home/jozef/.local/lib/python3.10/site-packages/click/core.py", line 1130, in __call__
    return self.main(*args, **kwargs)
  File "/home/jozef/.local/lib/python3.10/site-packages/click/core.py", line 1055, in main
    rv = self.invoke(ctx)
  File "/home/jozef/.local/lib/python3.10/site-packages/click/core.py", line 1657, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/jozef/.local/lib/python3.10/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/jozef/.local/lib/python3.10/site-packages/click/core.py", line 760, in invoke
    return __callback(*args, **kwargs)
  File "/home/jozef/.local/lib/python3.10/site-packages/click/decorators.py", line 26, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/home/jozef/.local/lib/python3.10/site-packages/mergin/cli.py", line 309, in share_add
    mc.add_user_permissions_to_project(project, usernames, permissions)
  File "/home/jozef/.local/lib/python3.10/site-packages/mergin/client.py", line 703, in add_user_permissions_to_project
    raise ClientError("Unsupported permission level")
mergin.common.ClientError: Unsupported permission level

#202 - this is resolved in PR


[Improve][Connector-V2][DataHub] Refactor DataHub connector e2e test cases

sub-task of #3601

@TaoZex Please comment here.

Please assign to me.

How about the process of this work?

closed because of #3866


"Unknown custom element " on

Version
2.6.11
Reproduction link
https://codesandbox.io/s/adoring-golick-fin5k?file=/src/App.vue
Steps to reproduce
Create a default Vue project.
Enter code <component :is="'v-checkbox'" />
What is expected?
I expect it to create a v-checkbox.
What is actually happening?
I get an error:

[Vue warn]: Unknown custom element:  - did you register the component correctly? For recursive components, make sure to provide the "name" option.

This also happens with v-select and v-combobox, maybe others, but those are the ones I've run into. This seems similar or related to Issue #8461, but I'm not sure it's the same root cause, so I decided to open a new issue.
I encountered this while trying to implement a custom component: https://github.com/wotamann/vuetify-form-base
At first, I assumed it was a bug in that component, but, as I dug into it, I couldn't find any problems, so I stripped down to the bare essentials and still got the error, which means it has to either be a bug in Vue or in my code, though with something as basic as this, I don't know how I got it wrong.

The error is telling you there is no component named v-checkbox, you must register one with that name for it to work. This is an expected error.
I don't know the actual you are running this into, but if it's Vuetify and you are using on-demand components, you will have to make sure the component is registered: https://vuetifyjs.com/en/customization/a-la-carte/#limitations

Remember to use the forum or the Discord chat to ask questions!

Ah. That's the info I needed. Thank you.


Error when launching Simple Sample scene

Anyone upgrades to latest SteamVR Plugin (v2.4.3) from Unity Asset Store experiencing below error message?
[SteamVR] No pose action set for this component
UnityEngine.Debug:LogError(Object)
Valve.VR.SteamVR_Behaviour_Pose:Start() (at Assets/SteamVR/Input/SteamVR_Behaviour_Pose.cs:76)
And, Interactions_Example scene black out due to Player > SteamVRObjects is disabled while playing.

I am using Unity Editor 2019.2.0f1, I follow the quick start from GitHub, but it turns on Simulator? How could I turn it off?

@chengnay  I had the same issue at runtime, switch off no steam Vr fallback, and turn on Steam Vr object this worked for me.

Here's an additional datapoint:  I'm also having trouble with 2.4.3.  I am having issues even in a totally new Unity project.  Things were working for me with the previous plugin (version 2.3.2), so I don't suspect a system or hardware issue.
Environment:

Windows 10
Unity 2019.2.5f1
Unity Hub 2.1.2
SteamVR 1.7.15
SteamVR Unity Plugin 2.4.3 from Unity Asset Store (downloaded 2019-10-08)
HTC Vive headset and controllers

Procedure:

Created new 3D Unity project in Unity Hub
Opened new project in Unity
Imported SteamVR from Unity Asset Store
Opened SteamVR Input window, clicked Save and Generate
Selected SteamVR/Simple Sample as current scene
Pressed Play in Editor

Observed:

Bouncing ball is visible in headset
Controllers/hands are not visible
Console displays:[SteamVR] Interface Not Found (105)
[SteamVR] Interface Not Found (105)

Other observations:

When I run the Interactions_Example, I get the WASD fallback, no image in the headset, and three 105 messages:[SteamVR] Interface Not Found (105)
[SteamVR] Interface Not Found (105)
[SteamVR] Interface Not Found (105)

With the Interactions_Example scene I tried what @limaoscar1 said, and I did get a VR headset display, but still no controllers.

I'm getting the same behaviour where it reports that [SteamVR] Interface Not Found (105) and my Vive is not tracking in the same (SteamVRObjects disables).

This is a version mismatch issue with openvr. We’ll get it fixed and a new
version up in a couple hours.
On Tue, Oct 8, 2019 at 10:22 AM local306<EMAIL_ADDRESS>wrote:

I'm getting the same behaviour where it reports that [SteamVR] Interface
Not Found (105) and my Vive is not tracking in the same (SteamVRObjects
disables).
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ValveSoftware/steamvr_unity_plugin/issues/544?email_source=notifications&email_token=AABQQMDTELRMOLQBWCRMTULQNS6WZA5CNFSM4I6OCO2KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAU6L2Q#issuecomment-539616746,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AABQQMFCWZ4BYW46EKS7CDDQNS6WZANCNFSM4I6OCO2A
.

Fix should be up with version 2.4.5. Let me know if there's still an issue.

Hello,
I have switched form 2.3 to 2.45 and today to 2.5 of the SteamVR Plugin.
For development I use currently a mixed reality setup.
With 2.3 there was no problem. However now I also get the error "Interface not found (105)", if I use the Player prefab.
The sample Scene (onyl camera rig) however is working?
Anybody has the same Problem?
Best regards

Interface Not Found means you’re probably running an older version of
SteamVR. Make sure you’re on at least 1.8.19.
On Thu, Nov 7, 2019 at 6:42 AM spro1976<EMAIL_ADDRESS>wrote:

Hello,
I have switched form 2.3 to 2.45 and today to 2.5 of the SteamVR Plugin.
For development I use currently a mixed reality setup.
With 2.3 there was no problem. However now I also get the error "Interface
not found (105)", if I use the Player prefab.
The sample Scene (onyl camera rig) however is working?
Anybody has the same Problem?
Best regards
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/ValveSoftware/steamvr_unity_plugin/issues/544?email_source=notifications&email_token=AABQQMAAIUKJKI23QI42ZDLQSQSNXA5CNFSM4I6OCO2KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDMT6GA#issuecomment-551108376,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABQQMACMEXFZDVGWREQOBTQSQSNXANCNFSM4I6OCO2A
.

Still see this exact same issue
Running Unity 2018.4.25f1
SteamVR 1.15.19
OpenVR package 1.0.5

Still see this exact same issue
Running Unity 2018.4.25f1
SteamVR 1.15.19
OpenVR package 1.0.5

+1 on the same issue. Was working yesterday, but today, when importing the "Player" prefab and clicking "Play", I get the fallback with "WASD" controls in the "Play" preview.
Running Unity 2019.4.18f1
SteamVR Unity Plugin v. 2.7.2
SteamVR Version 1.15.19
Would updating to steamVR beta branch help?

This is still happening. Steam VR 1.9.16, Unity 2019.4.3+ and plugin 2.7.+ tests have all shown this issue. I had to go back to Unity 20198.4.3 and plugin 2.2.0 to get it working.

You'll need to use the latest version of SteamVR, we don't support using versions that are not available through Steam.

I can't use the latest because its not currently approved for enterprise use on a closed network at my workplace. It would be great to have a list of compatibility with software versions between SteamVR Unity and the SteamVR Plugin.


Update pull_project.yml

Replace pull_request to pull_request_target event  since pull_request_target has access to the secrets.

No problem, we'll merge and see if it works!


Bug: issue with drag sliders and iframes

See https://jsfiddle.net/2w0jmq8v/ (using current version on github)

Start drag a slider and go outside of current iframe
Stop mouse click
Go back to iframe with slider and move only mouse

Result: Sliders are still moving without mouse click (dragging)
This happen in production, when you move mouse over iframes like videos or advertisments or leaving browser window.
You can detect this with event.which==0 in onSliderMove, but how I can stop sliding? This should be a default behavior.

This bot is strange to mark a not answered report as inactive.

is there any solutions for this?

That's what happened to me, too......

The same problem , are there any solutions?

I have same problem. I think swiper should provide a function let user give document object

same problem and this issues ahs been ignored since 2018
https://github.com/nolimits4web/Swiper/issues/2411

This issue exists in v9 too. See demo page https://swiperjs.com/demos#pagination
If you hold down on the slider and move the mouse into the left iFrame and end the mouse click there and move the mouse over the slider again, the mouse click is still active there and the slider moves, which it should not.

@nolimits4web Its still reproducible on https://swiperjs.com/demos#pagination in version 11.0.1. as I described in my last post,

Up

I am still facing the issue. Any updates on this?


no dates

as you can see I do not get any dates checked
this is my code
               <DateRangePicker
                    startDate={null}
                    startDateId="date_start"
                    startDatePlaceholderText="С"
                    endDate={null}
                    endDateId="date_end"
                    endDatePlaceholderText="По"
                    onDatesChange={(v: any) => this.onDateChange(v)}
                    onFocusChange={focusedInput => this.setState({focus: focusedInput})}
                    focusedInput={this.state.focus}
                    block={true}
                    reopenPickerOnClearDates={true}
                    showClearDates={true}
                />

It is very basic so I can't get what is the problem.
I've tried to disable all my stylesheets/ other components
I am new to this community, so maybe this is my bad.

Hi @Yar-R, the problem is that your startDate and endDate are always set to null. You need those values to update based on whatever happened in your onDateChange method.

@majapw , thanks a lot. I've got frustrated with "or null" in docs.
It works, thanks again.

I am triyng to get default values work. But if i set as  startDate={moment('2018-01-02')}
I get this if I try to open the picker.
Am I missing something again?


Updating static docs

This PR replaces #993 to address task 3 of this issue: https://github.com/gpt-engineer-org/gpt-engineer/issues/990
The focus of this PR is on:

Addressed all errors and warnings in the sphinx build  - we now get a clean build!
Removing a lot of the outdated static documentation since we want to rely mostly on the automatically generated API reference
Created a cleaner structure to the static docs that we can build on top of
Updated docs to ensure it is consistent with  the main repo readme

@ATheorell and @AntonOsika I would love to get a review on this one so that we can get it merged.

Great work, we are now down to only 3 warnings! That is a massive improvement.
From my point of view, you could cut down on static docs even harder. In particular, I would kill the part about "customizing steps", which is outdated. I would probably also remove the part about the "core components" since they are relatively understandable in the API reference too, but this part is now correct so, it could also stay for now :)

As requested in the meeting, here comes the full build log. I'm running Ubuntu 22 LTS
$ make html
Running Sphinx v7.2.6
making output directory... done
[autosummary] generating autosummary for: DOCS_BUILDING.md, api_reference.rst, code_conduct_link.rst, contributing_link.rst, custom_steps.md, disclaimer_link.rst, index.rst, installation.rst, introduction.md, open_models.md, quickstart.rst, roadmap_link.rst, terms_link.rst, tracing_debugging.md, windows_readme_link.rst
[autosummary] generating autosummary for: /home/axel/Software/gpt-engineer-dev/docs/applications/gpt_engineer.applications.cli.cli_agent.CliAgent.rst, /home/axel/Software/gpt-engineer-dev/docs/applications/gpt_engineer.applications.cli.collect.collect_and_send_human_review.rst, /home/axel/Software/gpt-engineer-dev/docs/applications/gpt_engineer.applications.cli.collect.collect_learnings.rst, /home/axel/Software/gpt-engineer-dev/docs/applications/gpt_engineer.applications.cli.collect.send_learning.rst, /home/axel/Software/gpt-engineer-dev/docs/applications/gpt_engineer.applications.cli.file_selector.DisplayablePath.rst, /home/axel/Software/gpt-engineer-dev/docs/applications/gpt_engineer.applications.cli.learning.ask_collection_consent.rst, /home/axel/Software/gpt-engineer-dev/docs/applications/gpt_engineer.applications.cli.learning.ask_for_valid_input.rst, /home/axel/Software/gpt-engineer-dev/docs/applications/gpt_engineer.applications.cli.learning.check_collection_consent.rst, /home/axel/Software/gpt-engineer-dev/docs/applications/gpt_engineer.applications.cli.learning.extract_learning.rst, /home/axel/Software/gpt-engineer-dev/docs/applications/gpt_engineer.applications.cli.learning.get_session.rst, ..., /home/axel/Software/gpt-engineer-dev/docs/core/gpt_engineer.core.default.steps.setup_sys_prompt_existing_code.rst, /home/axel/Software/gpt-engineer-dev/docs/core/gpt_engineer.core.diff.count_ratio.rst, /home/axel/Software/gpt-engineer-dev/docs/core/gpt_engineer.core.diff.is_similar.rst, /home/axel/Software/gpt-engineer-dev/docs/core/gpt_engineer.core.files_dict.FilesDict.rst, /home/axel/Software/gpt-engineer-dev/docs/core/gpt_engineer.core.files_dict.file_to_lines_dict.rst, /home/axel/Software/gpt-engineer-dev/docs/core/gpt_engineer.core.version_manager.BaseVersionManager.rst, /home/axel/Software/gpt-engineer-dev/docs/tools/gpt_engineer.tools.custom_steps.clarified_gen.rst, /home/axel/Software/gpt-engineer-dev/docs/tools/gpt_engineer.tools.custom_steps.get_platform_info.rst, /home/axel/Software/gpt-engineer-dev/docs/tools/gpt_engineer.tools.custom_steps.lite_gen.rst, /home/axel/Software/gpt-engineer-dev/docs/tools/gpt_engineer.tools.custom_steps.self_heal.rst
myst v2.0.0: MdParserConfig(commonmark_only=False, gfm_only=False, enable_extensions={'colon_fence'}, disable_syntax=[], all_links_external=True, url_schemes=('http', 'https', 'mailto', 'ftp'), ref_domains=None, fence_as_directive=set(), number_code_blocks=[], title_to_header=False, heading_anchors=0, heading_slug_func=None, html_meta={}, footnote_transition=True, words_per_minute=200, substitutions={}, linkify_fuzzy_links=True, dmath_allow_labels=True, dmath_allow_space=True, dmath_allow_digits=True, dmath_double_inline=False, update_mathjax=True, mathjax_classes='tex2jax_process|mathjax_process|math|output_area', enable_checkboxes=False, suppress_warnings=[], highlight_code_blocks=True)
building [mo]: targets for 0 po files that are out of date
writing output...
building [html]: targets for 15 source files that are out of date
updating environment: [new config] 76 added, 0 changed, 0 removed
reading sources... [100%] windows_readme_link
/home/axel/Software/gpt-engineer-dev/docs/index.rst:21: WARNING: toctree contains reference to nonexisting document 'docs_building'
/home/axel/Software/gpt-engineer-dev/docs/introduction.md:6: WARNING: Non-consecutive header level increase; H1 to H3 [myst.header]
looking for now-outdated files... none found
pickling environment... done
checking consistency... /home/axel/Software/gpt-engineer-dev/docs/DOCS_BUILDING.md: WARNING: document isn't included in any toctree
done
preparing documents... done
copying assets... copying static files... done
copying extra files... done
done
writing output... [100%] windows_readme_link
generating indices... genindex py-modindex done
highlighting module code... [100%] gpt_engineer.tools.custom_steps
writing additional pages... search done
dumping search index in English (code: en)... done
dumping object inventory... done
build succeeded, 3 warnings.
The HTML pages are in _build/html.

Hi @ATheorell, thanks for your comment + sharing the output of the build.
As followed your suggestion and removed:

The core components section
The custom steps section

Regarding the three remaining warnings, its strange, some of the warnings you shared make references to files that have been renamed.
I have pasted the output I see locally, clean of any errors.
make_html_output.txt
Do you see the same error if you:

Delete all the folders with generated docs (_build, applications, benchmark, core, tools)
Run the python create_api_rst.py
Run the make html

Thanks for the fixes!
I'm now left with 2 warnings
/home/axel/Software/gpt-engineer-dev/docs/index.rst:20: WARNING: toctree contains reference to nonexisting document 'docs_building'
looking for now-outdated files... none found
pickling environment... done
checking consistency... /home/axel/Software/gpt-engineer-dev/docs/DOCS_BUILDING.md: WARNING: document isn't included in any toctree
..and I also have a fix for it! There is a reference to docs_building.md, whereas the files is called DOCS_BUILDING.md in all caps. I guess that you are running windows? Unix is case sensitive. Renaming the file removes the warning. I will merge your PR and fix this myself.
Thanks a lot for saving the docs. Now they are both useful and easy to maintain.


Update dependences

There are a lot of dependences to update:

babel-core  ^6.5.2  →      ^6.7.2
babel-loader  ^6.2.1  →      ^6.2.4
babel-plugin-transform-react-display-name  ^6.3.13  →      ^6.5.0
babel-plugin-transform-runtime    ^6.3.13  →      ^6.6.0
babel-polyfill   ^6.3.14  →      ^6.7.2
babel-preset-es2015  ^6.3.13  →      ^6.6.0
babel-preset-react    ^6.3.13  →      ^6.5.0
babel-preset-stage-0      ^6.3.13  →      ^6.5.0
babel-register    ^6.3.13  →      ^6.7.2
babel-runtime    ^6.3.19  →      ^6.6.1
body-parser   ^1.14.1  →     ^1.15.0
compression    ^1.6.0  →      ^1.6.1
express   ^4.13.3  →     ^4.13.4
express-session     ^1.12.1  →     ^1.13.0
hoist-non-react-statics     ^1.0.3  →      ^1.0.5
http-proxy     ^1.12.0  →     ^1.13.2
invariant   ^2.2.0  →      ^2.2.1
less   ^2.5.3  →      ^2.6.1
less-loader  ^2.2.1  →      ^2.2.2
lru-memoize  ^1.0.0  →      ^1.0.1
react   ^0.14.2  →     ^0.14.7
react-bootstrap    ^0.28.1  →     ^0.28.3
react-dom   ^0.14.1  →     ^0.14.7
react-helmet    ^2.2.0  →      ^2.3.1
react-inline-css   ^2.0.0  →      ^2.1.0
react-redux   ^4.0.0  →      ^4.4.1
redux    ^3.0.4  →      ^3.3.1
redux-async-connect   ^1.0.0-rc2  →  ^1.0.0-rc4
scroll-behavior  ^0.3.2  →      ^0.3.3
serialize-javascript   ^1.1.2  →      ^1.2.0
socket.io   ^1.3.7  →      ^1.4.5
socket.io-client  1.3.7  →      ^1.4.5
superagent   ^1.4.0  →      ^1.8.1
webpack-isomorphic-tools    ^2.2.18  →     ^2.2.31
autoprefixer-loader   ^3.1.0  →      ^3.2.0
babel-eslint  ^5.0.0-beta6  →      ^5.0.0
babel-plugin-react-transform   ^2.0.0  →      ^2.0.2
babel-plugin-typecheck   ^3.6.0  →      ^3.8.0
bootstrap-sass    ^3.3.5  →      ^3.3.6
bootstrap-sass-loader   ^1.0.9  →     ^1.0.10
chai    ^3.3.0  →      ^3.5.0
clean-webpack-plugin   ^0.1.6  →      ^0.1.8
eslint-loader   ^1.0.0  →      ^1.3.0
font-awesome   ^4.4.0  →      ^4.5.0
karma       ^0.13.10  →    ^0.13.22
karma-cli   ^0.1.1  →      ^0.1.2
karma-mocha   ^0.2.0  →      ^0.2.2
karma-sourcemap-loader   ^0.3.5  →      ^0.3.7
mocha   ^2.3.3  →      ^2.4.5
react-addons-test-utils    ^0.14.0  →     ^0.14.7
react-transform-catch-errors  ^1.0.0  →      ^1.0.2
react-transform-hmr    ^1.0.1  →      ^1.0.4
redbox-react      ^1.1.1  →      ^1.2.2
redux-devtools     ^3.0.0-beta-3  →      ^3.1.1
redux-devtools-dock-monitor   ^1.0.0-beta-3  →      ^1.1.0
redux-devtools-log-monitor    ^1.0.0-beta-3  →      ^1.0.5
sass-loader  ^3.1.2  →      ^3.2.0
sinon   ^1.17.2  →     ^1.17.3
strip-loader    ^0.1.0  →      ^0.1.2
webpack    ^1.12.9  →    ^1.12.14
webpack-dev-middleware   ^1.4.0  →      ^1.5.1
webpack-hot-middleware  ^2.5.0  →     ^2.10.0

These are all using ^ for versioning, so the changes you mention (that I can see) are only superficial, both range specifications will install the same versions.

Also note that we are using https://david-dm.org for dependency tracking: https://david-dm.org/davezuko/react-redux-starter-kit

Ah okey, just I checked with npm-check-updates before use this project. Thank you! Is not possible to get conflicts in the future if all the dependences are with ^ for versioning?
By the way, good job with react-redux-starter-kit :+1:

There is risk with it, since packages can always accidentally release breaking changes in a non-major version, but this is how many projects operate. Even if I locked all of the dependencies it wouldn't be completely safe since those dependencies don't lock their dependencies' versions (i.e. we could lock eslint to 2.4.0 but it may define its dependencies using ^).
The only way to guarantee safety is to use shrinkwrap, but that's a bit too much for this project.
Hope that helps
Sent from my iPhone

On Mar 15, 2016, at 3:19 PM, Aral Roca Gomez<EMAIL_ADDRESS>wrote:
Ah okey, just I checked with npm-check-updates before use this project. Thank you! Is not possible to get conflicts in the future if all the dependences are with ^ for versioning?
By the way, good job with react-redux-starter-kit
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub

Thanks for the notice, but going to close this for now since there isn't any action required.


Use case study.

This is an implementation of an EC library over brainpoolP256r1.  Goals ECDSA and key derivations borrowing from Bitcoin HD wallets/bip-0032.
https://gitlab.com/cheako/jtm-rs/-/blob/8de6da4c648b9bca3351991673831feb111aa3dc/src/lib.rs
I found some things a little overwhelming.  mod_inv() in particular, I ended up copying a Python implementation.
This is an example of how things come out if you just toss equations up into the air and see where they land.  There is a lot to learn from here and I'm in a position to learn new things from a review as well.
Thanks!

hey, happy to hear this is being useful for others :)
Did you find anything missing in particular?

I latched onto BigInt::from_biguint() and I think a section of documentation describing the other methods for converting to BigInt from BigUint would be worthwhile.  I think into_bigint/to_bigint may be simpler ways covering what's needed here.  For the storage of Point information it became critical that these were always positive, but that meant that a conversion was needed prior to doing the math.
I don't know if it's missing, but ModInverse didn't behave the way I needed.  I ended up using the following(taken from Python's tinyec) and I have no idea why this worked for me.  I can dig a little more here to see what it is I need.  For example I can say that the modulus will always be a "positive" prime number, but the dividend can be either positive or negative and I believe it's the negative case where ModInverse wasn't returning the correct values.
use num_bigint_dig::{BigInt, BigUint, Sign::Plus};
fn egcd(a: BigInt, b: BigInt) -> (BigInt, BigInt, BigInt) {
    if a == 0.into() {
        (b, 0.into(), 1.into())
    } else {
        use num_integer::Integer;
        let (g, y, x) = egcd(b.mod_floor(&a), a.clone());
        (g, x - (b / a) * y.clone(), y)
    }
}

fn mod_inv(a: BigInt, p: BigUint) -> BigUint {
    if a < 0.into() {
        p.clone() - mod_inv(-a, p.clone())
    } else {
        let p = BigInt::from_biguint(Plus, p);
        let (g, x, _y) = egcd(a, p.clone());
        if g == 1.into() {
            use num_integer::Integer;
            x.mod_floor(&p).to_biguint().unwrap()
        } else {
            panic!()
        }
    }
}

There are some in the crypto field that think generic_array is the path forward, but I don't see any math support there.
I think there is a use case for optimisations over/given a finite field.  Though any implementation would share a lot of code with bigint, so I feel it would be best to work in cooperation.
I don't know how well the trick used in generic_array would scale to say implement a generic_finite_field type...  If there can just be vast numbers of generics.  I know I'm not explaining well, but for generic_finite_field the number of generics would literally extend a generic_array many times past a size in exabytes.


Updating the README

Clean up the README a little bit and adding some charm to it.

@rluders great idea to clean the README


Canvas-Capture doesn't have framerate/fps functionality for PNG capture

I'm not sure what this means, can you clarify?

I want to download still images of an animation in PNG format at 30 frames per second, CCapture,js lets me do that but my project is in React and I can't install CCapture thru npm so I used Canvas-Capture.

You can either CanvasCapture.takePNGSnapshot() inside your render loop each time you want to save a frame, or you can save a series of pngs as a zip with CanvasCapture.beginPNGFramesRecord().  See the demo for more info:
https://github.com/amandaghassaei/canvas-capture/blob/main/demo/src/index.ts
https://apps.amandaghassaei.com/canvas-capture/demo/
You can control the framerate by how often you call  CanvasCapture.takePNGSnapshot() or CanvasCapture.recordFrame() in your render loop.  I believe this is the same way it works in CCapture.


Clean up and update Live Tuner

Cleaned up and updated Live Tuner. Tested working fine on GM, but please test on Honda to make sure everything works fine.

I'll check it out thx kish

No worky - won't compile

Traceback (most recent call last):
File "./manager.py", line 506, in
main()
File "./manager.py", line 485, in main
manager_prepare(spinner)
File "./manager.py", line 417, in manager_prepare
prepare_managed_process(p)
File "./manager.py", line 252, in prepare_managed_process
importlib.import_module(proc)
File "/data/data/com.termux/files/usr/lib/python3.7/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1006, in _gcd_import
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "/data/openpilot/selfdrive/controls/controlsd.py", line 13, in
from selfdrive.car.car_helpers import get_car, get_startup_alert
File "/data/openpilot/selfdrive/car/car_helpers.py", line 51, in
interfaces = load_interfaces(_get_interface_names())
File "/data/openpilot/selfdrive/car/car_helpers.py", line 23, in load_interfaces
CarInterface = import(path + '.interface', fromlist=['CarInterface']).CarInterface
File "/data/openpilot/selfdrive/car/chrysler/interface.py", line 4, in
from selfdrive.controls.lib.drive_helpers import EventTypes as ET, create_event
File "/data/openpilot/selfdrive/controls/lib/drive_helpers.py", line 4, in
from selfdrive.kegman_conf import kegman_conf
ImportError: cannot import name 'kegman_conf' from 'selfdrive.kegman_conf' (/data/openpilot/selfdrive/kegman_conf.py)

I missed converting 1 file during the 0.6.6 -> 0.7 code update. Force-pushed with the latest changes and tested working on GM.
I also reverted lateral Kp/Ki/steerRateCost tuning to stock for Volt as I think they were added by mistake. (they were never used anyway).


ECC-216 - optional feedback link

One test failed: unit.controllers.subscription.SignInWithDifferentDetailsControllerSpec

Can you re-approve @PatrykRudnicki - I had a failing test to fix.


c.s.d.c.m.HostConfig.Bind.Builder: add support for automatic SELinux labeling

As specified at https://docs.docker.com/engine/admin/volumes/bind-mounts/#configure-the-selinux-label
I am proposing builder method selinuxLabeling(boolean sharedContent). When shared is true lower case letter "z" is added to mount options. Otherwise, label is considered as unshared and upper case letter "Z" is used instead.

Codecov Report

Merging #883 into master will decrease coverage by 0.08%.
The diff coverage is 0%.

@@             Coverage Diff              @@
##             master     #883      +/-   ##
============================================
- Coverage     66.04%   65.96%   -0.09%
  Complexity      769      769
============================================
  Files           171      171
  Lines          3240     3244       +4
  Branches        369      371       +2
============================================
  Hits           2140     2140
- Misses          940      943       +3
- Partials        160      161       +1

@psefranek Thanks for your PR. Could you also write a unit test for this in DefaultDockerClientUnitTest?


Remove dependency to rt-crates

First change for what was discussed in https://github.com/esp-rs/esp-hal/issues/382
For Xtensa it still needs xtensa-lx but that is less of a problem since it changes not that frequently. Would be better to not need it but that's how svd2rust generates the code currently. (I don't think we need that in our HALs but not a big deal IMHO)

Is the rt feature actually required, or can we just drop it altogether?

Ahh too bad, just checking 😁


restrict pandas and matplotlib versions for conda CI

Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context.
Fixes #368
Checklist:

[x] I have performed a self-review of my own code
[x] My code is PEP8 compliant (flake8 anesthetic tests)
[x] My code contains compliant docstrings (pydocstyle --convention=numpy anesthetic)
[x] New and existing unit tests pass locally with my changes (python -m pytest)
[ ] I have added tests that prove my fix is effective or that my feature works
[x] I have appropriately incremented the semantic version number in both README.rst and anesthetic/_version.py

Can't say I like this at all. @williamjameshandley @lukashergt is there a better way of enforcing conda to use the correct package versions?

NAFAIK. conda just works™

Many thanks @AdamOrmondroyd. LTGM

Looks to good me? 😆


Allow different log levels, non-verbose info by default

Is your feature request related to a problem? Please describe.
We had the issue with indra/rest api client logs that they were too verbose by default, adding several GBs to the log file per week
Describe the solution you'd like
Different log levels: info, debug, trace. Defaulting to info which shouldn't add more than some 10MB/week and ideally also support roll over to new log files and automatically zip old ones, just like lnd does.
Describe alternatives you've considered
N/A

We already support these log levels in the node.config.json: https://connext.github.io/vector/node/configure/#node-configuration-api
We can look into the default log level and how much it logs and the rollover features.


Bug - PCS login failed with bug in publish/index.js

Type of issue

[X ] Bug
[ ] New feature
[ ] Enhancement

Description
Bug - PCS login failed with bug in publish/index.js
Steps to reproduce

pcs login

Expected behavior
To sign in, use a web browser to open the page https://aka.ms/devicelogin and enter the code HCRFFUY8P to authenticate.
Successfully logged in
Current behavior
/home/docker/pcs-cli/publish/index.js:165
.then(({ appId, domainName, objectId, servicePrincipalSecret }) => {
^
SyntaxError: Unexpected token {
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:374:25)
at Object.Module._extensions..js (module.js:417:10)
at Module.load (module.js:344:32)
at Function.Module._load (module.js:301:12)
at Function.Module.runMain (module.js:442:10)
at startup (node.js:136:18)
at node.js:966:3
Known workarounds
N/A
Possible solution
Remove { and } in line 165 of publish/index.js so that it becomes the following:
.then(( appId, domainName, objectId, servicePrincipalSecret ) => {
Context and Environment

Operating System: Linux Ubuntu
GitHub branch: Main
Node.js Runtime: v4.2.6

fixed


ZUI系统状态栏不显示

已测试ZUI12-ZUI14 系统下使用此软件  状态栏仅显示为一个图标  ， 无动态功耗信息

Which version are you using? When you say there is no power consumption information, are you saying it is always zero? Can you share a screenshot?

As shown, using the latest version of this software on ZUI system, the system taskbar only shows icons, no relevant dynamic power consumption information display

Interesting. I haven't seen this before, but https://stackoverflow.com/questions/54821109/android-notification-small-icon-not-working-on-some-devices seems to indicate your phone may be trying to "fall back" to a higher resolution icon. Would mind giving this build a try, and letting me know if it resolves your issue? It dynamically calculates the icon size based on the display density, instead of using a hard coded size.
wattz-1.10-a4818d7.zip

Interesting. I haven't seen this before, but https://stackoverflow.com/questions/54821109/android-notification-small-icon-not-working-on-some-devices seems to indicate your phone may be trying to "fall back" to a higher resolution icon. Would mind giving this build a try, and letting me know if it resolves your issue? It dynamically calculates the icon size based on the display density, instead of using a hard coded size.
有意思。我以前从未见过这种情况，但是 https://stackoverflow.com/questions/54821109/android-notification-small-icon-not-working-on-some-devices 似乎表明你的手机可能正试图“退回”到一个更高分辨率的图标。介意试一下这个版本吗? 如果它解决了你的问题，请告诉我？它根据显示密度动态计算图标大小，而不使用硬编码的大小。
wattz-1.10-a4818d7.zip
Wattz-1.10-a4818d7. zip

Unfortunately, the version you provide is the same, and still can not achieve dynamic power consumption information display in the status bar

We can try rounding up to the next whole density to mirror the way android picks icon resolutions. Can you try this build?
wattz-1.11-4c92b1a.zip

Just out of curiosity how does this affect the icon view?

It dynamically calculates the icon size based on the display density, instead of using a hard coded size.

@Anonymous2716 Depending on your device's pixel density, the icon might be a bit more clear and easier to read. In the context of this issue, the device in question has a higher pixel density than the hard coded value would be associated with. I was hoping the device wasn't showing the correct icon because it was too low resolution, but that did not seem to be the case.

I'm closing this for now as an upstream issue for now. @gbxm, if you get more info in the future, we can re-open this issue then.


How to use Takeout Session?

How to use .Account_InitTakeoutSession() in combination with .InvokeWithTakeout(), for example, for .Contacts_GetSaved() method?

https://github.com/wiz0u/WTelegramClient/blob/master/EXAMPLES.md#retrieve-the-current-users-contacts-list


[OPPRO-327] Add map type validation

What changes were proposed in this pull request?
(Please fill in changes proposed in this fix)
How was this patch tested?
(Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests)
(If this patch involves UI changes, please attach a screenshot; otherwise, remove this)

@rui-mo @zhztheplayer Can you help to review? Thanks.


Gracefully handle id parameter if passed as string

Change provides a minor convenience in case a registration id is passed as a string.
Relaxes our code from the responsibility to always pass an array.
Nothing ventured, nothing gained. :metal:

Kind reminder. Any reason not to close this PR?

so sorry @angelkar was super busy!

👍


Notebook tests are flaky?

The notebook tests in the CI seem to randomly fail every so often. Rerunning them seems to work. Any idea what's going on? Heres's a recent traceback:
[PosixPath('Adjoint.ipynb'), PosixPath('Autodoc.ipynb'), PosixPath('Controlled.ipynb'), PosixPath('Protocols.ipynb'), PosixPath('_infra/Bloqs-Tutorial.ipynb'), PosixPath('_infra/composite_bloq.ipynb'), PosixPath('_infra/gate_with_registers.ipynb'), PosixPath('bloqs/arithmetic/addition.ipynb'), PosixPath('bloqs/arithmetic/comparison.ipynb'), PosixPath('bloqs/arithmetic/conversions.ipynb'), PosixPath('bloqs/arithmetic/error_analysis_for_fxp_arithmetic.ipynb'), PosixPath('bloqs/arithmetic/multiplication.ipynb'), PosixPath('bloqs/arithmetic/sorting.ipynb'), PosixPath('bloqs/arithmetic/t_complexity_of_comparison_gates.ipynb'), PosixPath('bloqs/basic_gates/cnot.ipynb'), PosixPath('bloqs/basic_gates/global_phase.ipynb'), PosixPath('bloqs/basic_gates/hadamard.ipynb'), PosixPath('bloqs/basic_gates/rotation.ipynb'), PosixPath('bloqs/basic_gates/s_gate.ipynb'), PosixPath('bloqs/basic_gates/states_and_effects.ipynb'), PosixPath('bloqs/basic_gates/su2_rotation.ipynb'), PosixPath('bloqs/basic_gates/t_gate.ipynb'), PosixPath('bloqs/basic_gates/toffoli.ipynb'), PosixPath('bloqs/block_encoding.ipynb'), PosixPath('bloqs/chemistry/df/double_factorization.ipynb'), PosixPath('bloqs/chemistry/pbc/first_quantization/first_quantization.ipynb'), PosixPath('bloqs/chemistry/pbc/first_quantization/projectile/projectile.ipynb'), PosixPath('bloqs/chemistry/resource_estimation.ipynb'), PosixPath('bloqs/chemistry/sf/single_factorization.ipynb'), PosixPath('bloqs/chemistry/sparse/sparse.ipynb'), PosixPath('bloqs/chemistry/thc/thc.ipynb'), PosixPath('bloqs/chemistry/trotter/grid_ham/trotter.ipynb'), PosixPath('bloqs/chemistry/trotter/grid_ham/trotter_costs.ipynb'), PosixPath('bloqs/chemistry/trotter/hubbard/hubbard.ipynb'), PosixPath('bloqs/chemistry/trotter/ising/ising.ipynb'), PosixPath('bloqs/chemistry/trotter/trotterized_unitary.ipynb'), PosixPath('bloqs/chemistry/writing_algorithms.ipynb'), PosixPath('bloqs/data_loading/qrom.ipynb'), PosixPath('bloqs/factoring/factoring-via-modexp.ipynb'), PosixPath('bloqs/factoring/mod_exp.ipynb'), PosixPath('bloqs/factoring/mod_mul.ipynb'), PosixPath('bloqs/hamiltonian_simulation/hamiltonian_simulation_by_gqsp.ipynb'), PosixPath('bloqs/hubbard_model.ipynb'), PosixPath('bloqs/mcmt/and_bloq.ipynb'), PosixPath('bloqs/mcmt/multi_control_multi_target_pauli.ipynb'), PosixPath('bloqs/multiplexers/apply_gate_to_lth_target.ipynb'), PosixPath('bloqs/multiplexers/select_pauli_lcu.ipynb'), PosixPath('bloqs/multiplexers/unary_iteration.ipynb'), PosixPath('bloqs/phase_estimation/lp_resource_state.ipynb'), PosixPath('bloqs/phase_estimation/text_book_qpe.ipynb'), PosixPath('bloqs/phase_estimation_of_quantum_walk.ipynb'), PosixPath('bloqs/qft/approximate_qft.ipynb'), PosixPath('bloqs/qft/two_bit_ffft.ipynb'), PosixPath('bloqs/qsp/generalized_qsp.ipynb'), PosixPath('bloqs/qubitization_walk_operator.ipynb'), PosixPath('bloqs/reflection.ipynb'), PosixPath('bloqs/rotations/phasing_via_cost_function.ipynb'), PosixPath('bloqs/rotations/quantum_variable_rotation.ipynb'), PosixPath('bloqs/state_preparation/prepare_uniform_superposition.ipynb'), PosixPath('bloqs/state_preparation/state_preparation_alias_sampling.ipynb'), PosixPath('bloqs/state_preparation/state_preparation_via_rotation.ipynb'), PosixPath('bloqs/state_preparation/state_preparation_via_rotation_tutorial.ipynb'), PosixPath('bloqs/swap_network/swap_network.ipynb'), PosixPath('bloqs/util_bloqs.ipynb'), PosixPath('cirq_interop/cirq_interop.ipynb'), PosixPath('cirq_interop/t_complexity.ipynb'), PosixPath('drawing/drawing_call_graph.ipynb'), PosixPath('drawing/graphviz.ipynb'), PosixPath('drawing/musical_score.ipynb'), PosixPath('resource_counting/bloq_counts.ipynb'), PosixPath('simulation/classical_sim.ipynb'), PosixPath('simulation/tensor.ipynb'), PosixPath('simulation/xcheck_classical_quimb.ipynb'), PosixPath('surface_code/azure_cost_model.ipynb'), PosixPath('surface_code/msft_resource_estimator_interop.ipynb'), PosixPath('surface_code/thc_compilation.ipynb')]
Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/ipykernel_launcher.py", line 18, in <module>
    app.launch_new_instance()
  File "/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/traitlets/config/application.py", line 1074, in launch_instance
    app.initialize(argv)
  File "/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/traitlets/config/application.py", line 118, in inner
    return method(app, *args, **kwargs)
  File "/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/ipykernel/kernelapp.py", line 692, in initialize
    self.init_sockets()
  File "/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/ipykernel/kernelapp.py", line 346, in init_sockets
    self.init_iopub(context)
  File "/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/ipykernel/kernelapp.py", line 375, in init_iopub
    self.iopub_port = self._bind_socket(self.iopub_socket, self.iopub_port)
  File "/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/ipykernel/kernelapp.py", line 253, in _bind_socket
    return self._try_bind_socket(s, port)
  File "/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/ipykernel/kernelapp.py", line 229, in _try_bind_socket
    s.bind("tcp://%s:%i" % (self.ip, port))
  File "/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/zmq/sugar/socket.py", line 311, in bind
    super().bind(addr)
  File "_zmq.py", line 898, in zmq.backend.cython._zmq.Socket.bind
  File "_zmq.py", line 160, in zmq.backend.cython._zmq._check_rc
zmq.error.ZMQError: Address already in use (addr='tcp://[12](https://github.com/quantumlib/Qualtran/actions/runs/8899652503/job/24439489256#step:6:13)<IP_ADDRESS>:34607')
Exception ignored in atexit callback: <bound method IPKernelApp.close of <ipykernel.kernelapp.IPKernelApp object at 0x7f587f95b3a0>>
Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.10.[14](https://github.com/quantumlib/Qualtran/actions/runs/8899652503/job/24439489256#step:6:15)/x64/lib/python3.10/site-packages/ipykernel/kernelapp.py", line 422, in close
    self.context.term()
  File "/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/zmq/sugar/context.py", line 266, in term
    super().term()
  File "_zmq.py", line 545, in zmq.backend.cython._zmq.Context.term
  File "_zmq.py", line 141, in zmq.backend.cython._zmq._check_rc
KeyboardInterrupt:
Executing global_phase
Exported bloqs/basic_gates/global_phase.ipynb
Executing hadamard
Exported bloqs/basic_gates/hadamard.ipynb
Executing rotation
Exported bloqs/basic_gates/rotation.ipynb
Executing s_gate
Exported bloqs/basic_gates/s_gate.ipynb
Executing states_and_effects
Exported bloqs/basic_gates/states_and_effects.ipynb
Executing first_quantization
multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/multiprocessing/pool.py", line 125, in worker
    result = (True, func(*args, **kwds))
  File "/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/multiprocessing/pool.py", line 48, in mapstar
    return list(map(*args))
  File "/home/runner/work/Qualtran/Qualtran/dev_tools/qualtran_dev_tools/notebook_execution.py", line 200, in __call__
    err = execute_and_export_notebook(paths)
  File "/home/runner/work/Qualtran/Qualtran/dev_tools/qualtran_dev_tools/notebook_execution.py", line [15](https://github.com/quantumlib/Qualtran/actions/runs/8899652503/job/24439489256#step:6:16)6, in execute_and_export_notebook
    asyncio.run(executor.async_start_new_kernel_client())
  File "/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
Exported bloqs/chemistry/pbc/first_quantization/first_quantization.ipynb
Executing projectile
Exported bloqs/chemistry/pbc/first_quantization/projectile/projectile.ipynb
Executing resource_estimation
Exported bloqs/chemistry/resource_estimation.ipynb
Executing single_factorization
Exported bloqs/chemistry/sf/single_factorization.ipynb
Executing sparse
Exported bloqs/chemistry/sparse/sparse.ipynb
Executing reflection
Exported bloqs/reflection.ipynb
Executing phasing_via_cost_function
Exported bloqs/rotations/phasing_via_cost_function.ipynb
Executing quantum_variable_rotation
Exported bloqs/rotations/quantum_variable_rotation.ipynb
Executing prepare_uniform_superposition
Exported bloqs/state_preparation/prepare_uniform_superposition.ipynb
Executing state_preparation_alias_sampling
Exported bloqs/state_preparation/state_preparation_alias_sampling.ipynb
Executing error_analysis_for_fxp_arithmetic
Exported bloqs/arithmetic/error_analysis_for_fxp_arithmetic.ipynb
Executing multiplication
Exported bloqs/arithmetic/multiplication.ipynb
Executing sorting
Exported bloqs/arithmetic/sorting.ipynb
Executing t_complexity_of_comparison_gates
Exported bloqs/arithmetic/t_complexity_of_comparison_gates.ipynb
Executing cnot
Exported bloqs/basic_gates/cnot.ipynb
Executing trotterized_unitary
Exported bloqs/chemistry/trotter/trotterized_unitary.ipynb
Executing writing_algorithms
Exported bloqs/chemistry/writing_algorithms.ipynb
Executing qrom
Exported bloqs/data_loading/qrom.ipynb
Executing factoring-via-modexp
Exported bloqs/factoring/factoring-via-modexp.ipynb
Executing mod_exp
Exported bloqs/factoring/mod_exp.ipynb
Executing phase_estimation_of_quantum_walk
Exported bloqs/phase_estimation_of_quantum_walk.ipynb
Executing approximate_qft
Exported bloqs/qft/approximate_qft.ipynb
Executing two_bit_ffft
Exported bloqs/qft/two_bit_ffft.ipynb
Executing generalized_qsp
Exported bloqs/qsp/generalized_qsp.ipynb
Executing qubitization_walk_operator
Exported bloqs/qubitization_walk_operator.ipynb
Executing thc_compilation
Exported surface_code/thc_compilation.ipynb
Executing Adjoint
Exported Adjoint.ipynb
Executing Autodoc
Exported Autodoc.ipynb
Executing Controlled
Exported Controlled.ipynb
Executing su2_rotation
Exported bloqs/basic_gates/su2_rotation.ipynb
Executing t_gate
Exported bloqs/basic_gates/t_gate.ipynb
Executing toffoli
Exported bloqs/basic_gates/toffoli.ipynb
Executing block_encoding
Exported bloqs/block_encoding.ipynb
Executing double_factorization
Exported bloqs/chemistry/df/double_factorization.ipynb
Executing mod_mul
Exported bloqs/factoring/mod_mul.ipynb
Executing hamiltonian_simulation_by_gqsp
Exported bloqs/hamiltonian_simulation/hamiltonian_simulation_by_gqsp.ipynb
Executing hubbard_model
Exported bloqs/hubbard_model.ipynb
Executing and_bloq
Exported bloqs/mcmt/and_bloq.ipynb
Executing multi_control_multi_target_pauli
Exported bloqs/mcmt/multi_control_multi_target_pauli.ipynb
Executing t_complexity
Exported cirq_interop/t_complexity.ipynb
Executing drawing_call_graph
Exported drawing/drawing_call_graph.ipynb
Executing graphviz
Exported drawing/graphviz.ipynb
Executing musical_score
Exported drawing/musical_score.ipynb
Executing bloq_counts
Exported resource_counting/bloq_counts.ipynb
Executing composite_bloq
Exported _infra/composite_bloq.ipynb
Executing gate_with_registers
Exported _infra/gate_with_registers.ipynb
Executing addition
Exported bloqs/arithmetic/addition.ipynb
Executing comparison
Exported bloqs/arithmetic/comparison.ipynb
Executing conversions
Exported bloqs/arithmetic/conversions.ipynb
Executing thc
Exported bloqs/chemistry/thc/thc.ipynb
Executing trotter
Exported bloqs/chemistry/trotter/grid_ham/trotter.ipynb
Executing trotter_costs
Exported bloqs/chemistry/trotter/grid_ham/trotter_costs.ipynb
Executing hubbard
Exported bloqs/chemistry/trotter/hubbard/hubbard.ipynb
Executing ising
Exported bloqs/chemistry/trotter/ising/ising.ipynb
Executing apply_gate_to_lth_target
Exported bloqs/multiplexers/apply_gate_to_lth_target.ipynb
Executing select_pauli_lcu
Exported bloqs/multiplexers/select_pauli_lcu.ipynb
Executing unary_iteration
Exported bloqs/multiplexers/unary_iteration.ipynb
Executing lp_resource_state
Exported bloqs/phase_estimation/lp_resource_state.ipynb
Executing text_book_qpe
Exported bloqs/phase_estimation/text_book_qpe.ipynb
Executing state_preparation_via_rotation
Exported bloqs/state_preparation/state_preparation_via_rotation.ipynb
Executing state_preparation_via_rotation_tutorial
Exported bloqs/state_preparation/state_preparation_via_rotation_tutorial.ipynb
Executing swap_network
Exported bloqs/swap_network/swap_network.ipynb
Executing util_bloqs
Exported bloqs/util_bloqs.ipynb
Executing cirq_interop
Exported cirq_interop/cirq_interop.ipynb
Executing classical_sim
Exported simulation/classical_sim.ipynb
Executing tensor
Exported simulation/tensor.ipynb
Executing xcheck_classical_quimb
Exported simulation/xcheck_classical_quimb.ipynb
Executing azure_cost_model
Exported surface_code/azure_cost_model.ipynb
Executing msft_resource_estimator_interop
Exported surface_code/msft_resource_estimator_interop.ipynb
  File "/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
    return future.result()
  File "/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/nbclient/client.py", line 566, in async_start_new_kernel_client
    await ensure_async(self.kc.wait_for_ready(timeout=self.startup_timeout))
  File "/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/jupyter_core/utils/__init__.py", line [19](https://github.com/quantumlib/Qualtran/actions/runs/8899652503/job/24439489256#step:6:20)8, in ensure_async
    result = await obj
  File "/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/jupyter_client/client.py", line [20](https://github.com/quantumlib/Qualtran/actions/runs/8899652503/job/24439489256#step:6:21)7, in _async_wait_for_ready
    raise RuntimeError("Kernel didn't respond in %d seconds" % timeout)
RuntimeError: Kernel didn't respond in 60 seconds
"""

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/runner/work/Qualtran/Qualtran/dev_tools/execute-notebooks.py", line 34, in <module>
    parse_args()
  File "/home/runner/work/Qualtran/Qualtran/dev_tools/execute-notebooks.py", line 26, in parse_args
    execute_and_export_notebooks(
  File "/home/runner/work/Qualtran/Qualtran/dev_tools/qualtran_dev_tools/notebook_execution.py", line [22](https://github.com/quantumlib/Qualtran/actions/runs/8899652503/job/24439489256#step:6:23)6, in execute_and_export_notebooks
    results = pool.map(func, nb_rel_paths)
  File "/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/multiprocessing/pool.py", line 367, in map
    return self._map_async(func, iterable, mapstar, chunksize).get()
  File "/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/multiprocessing/pool.py", line 774, in get
    raise self._value
RuntimeError: Kernel didn't respond in 60 seconds

This is a consequence of #673 where notebooks are executed in parallel. We could try to disable this on the CI but it's useful locally where notebook execution can take a decent amount of time


Parse out common annotations stored in VCF format

We have a few commonly distributed annotation databases stored (and publicly available) as VCF fomats. This will parse out the additional annotation specific fields for a particular format.
It will most be an addition to the VCF parsing and extending the INFO field parsing to pick up annotations specific fields.

Closed by https://github.com/bigdatagenomics/adam/pull/243.


Select dir

If you download the prototype exe file and run it as an exe you can't change the dir.
So it won't place the video.
Please don't ask the user every time after the dir, the user should select it once and then never again.

Probably I can try to create a file where the dir location is saved and the .exe can read that and knows where to put the video

Probably I can try to create a file where the .exe writes in the info where to put the Videos.


NEW UI - Adjustable column width in Content section on resource landing page

We got quite a few files with long filenames in the czo project, which got cut off in the Content section.
Hover-over a single file icon can show its full name in a popup. But it would be more convenient to make the column width adjustable.

Try to keep communications like this actionable. that's a huge mailing list and nobody will take any action, because it's not clear who the intended audience is. Slack or a GH issue would have ensured this eventually gets picked up by someone
On Feb 13, 2019, at 11:39 AM, Zhiyu(Drew) Li <notifications<EMAIL_ADDRESS>wrote:
We got quite a few files with long filenames in the czo project, which got cut off in the Content section.
Hover-over a single file icon can show its full name in a popup. But it would be more convenient to make the column width adjustable.
[image]https://user-images.githubusercontent.com/10070599/52727381-5330e000-2f72-11e9-847e-95d7de7b00c7.png
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/hydroshare/hydroshare/issues/3147, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ArS3Ttrvsa_fI5g_BUnb7rS1Flue_cQHks5vND_KgaJpZM4a5ziB.

Whoops, I made the same mistake. Meant to send that just to Drew as we work through the CZO stuff and who's doing what.
Mark
On Feb 13, 2019, at 11:43 AM, Mark O'Brien <mobrien<EMAIL_ADDRESS>wrote:
Try to keep communications like this actionable. that's a huge mailing list and nobody will take any action, because it's not clear who the intended audience is. Slack or a GH issue would have ensured this eventually gets picked up by someone
On Feb 13, 2019, at 11:39 AM, Zhiyu(Drew) Li <notifications<EMAIL_ADDRESS>wrote:
We got quite a few files with long filenames in the czo project, which got cut off in the Content section.
Hover-over a single file icon can show its full name in a popup. But it would be more convenient to make the column width adjustable.
[image]https://user-images.githubusercontent.com/10070599/52727381-5330e000-2f72-11e9-847e-95d7de7b00c7.png
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/hydroshare/hydroshare/issues/3147, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ArS3Ttrvsa_fI5g_BUnb7rS1Flue_cQHks5vND_KgaJpZM4a5ziB.

Looks like CZOs manually adapted this data, so this GH Issue is pretty low priority.

One way to do this is by wrapping the "fb-file-name" span in an expandable div:
div.expandable {
    overflow: hidden;
    resize: horizontal;
    text-overflow: ellipsis;
    margin: 0px 10px;
    min-width: 300px;
    max-width: 5000px;
    direction: ltr;
    width: 972px;
}

    This-is-a-very-very-...-very-long-filename.zip

One way to do this is by wrapping the "fb-file-name" span in an expandable div:
div.expandable {
    overflow: hidden;
    resize: horizontal;
    text-overflow: ellipsis;
    margin: 0px 10px;
    min-width: 300px;
    max-width: 5000px;
    direction: ltr;
    width: 972px;
}

    This-is-a-very-very-...-very-long-filename.zip

Closing: cosmetic, low priority


With the trackpad scrolling does not stop at the bottom of the scrollable area it continues infinitely.

I have implemented react-perfect-scrollbar inside of a modal and I am experiencing a bug I have not been able to fix and seems to be a bug with react-perfect-scrollbar.
Expected behavior: When I scroll to the bottom of the content area and all content is in view, the scrolling should stop and I will no longer be able to scroll inside of this area.
Actual behavior: When I scroll to the bottom of the content area and all content is in view, I continue to be able to scroll the content. There seems to be no limit to how far I can scroll it seems to go on infinitely as I watch the content scroll further and further out of view.
If there is anything I can do on my end to resolve this issue please let me know.

Could you repro it on codesandbox.io to help me find out what happens?

Have same issue for horizontal scroll.

It happen on rtl direction
Sandbox

facing same issue


Doctors should be able to add a profile highlight for patients

These are prominent information like past medical histories, known conditions, pregnancy status, etc. that are always visible to the doctors.
It should be editable

The data entry for this should read "Past Medical/Surgical History" and it should be displayed under the proposed vital signs section in the activities summary of the doctor's consultation panel.
@Samshal


Withdrawing ONEs from Binance to 1wallet would always fail - the funds would be reverted back to Binance, but Binance would assume the transaction is successful and pocket the funds

A user reported his withdrawal from Binance never arrived 1wallet. Upon my investigations, the transaction is  https://explorer.harmony.one/tx/0x23a85ead531a1981f84d13911ff4d1424c2ac9ae31551e4ef9dbc8379ef16255
Although the transaction is reverted, Binance did not refund the user the balance. Therefore the 60 ONEs are deducted from the user's account and pocketed by Binance.
I tried to do the same by withdrawing ~165 ONEs from my Binance account to my own 1wallet account. Surprisingly, I encountered the same issue: Binance shows my transaction was successful, and deducted my 165 ONEs from my Binance account. In reality, the transaction was also reverted. The ONEs never reached my wallet. They went back to Binance's but they did not refund it to my account.
Here is the reason that withdrawal transactions from Binance are always reverted: Binance sets a gas limit of 21000 for the transaction. Since 21000 is precisely the amount of gas required to cover only the base transaction, it would not be enough for a smart contract wallet since the wallet needs to execute code when it receives the funds (e.g. emitting an event). It would not be a problem if you sent the payment from any other wallet (e.g. the Chrome extension wallet, or other 1wallet), since by default these wallets always set a slightly higher gas limit than 21000. For example the Chrome extension wallet sets a gas limit of 25000 by default.
I have reported this issue to Binance and Harmony. In the meantime, users are advised NOT to withdraw directly from Binance to 1wallet.

Note: I have also tried removing everything from receive function https://github.com/polymorpher/one-wallet/blob/c968ccf4e7d776b60b6d047200c08ca29ab52ddf/code/contracts/ONEWallet.sol#L76
It does not reduce the gas required to 21000. You will still need to use slightly more gas (e.g. 21100) to ensure the transaction is not reverted. Therefore, this problem has to be addressed on Binance's side.

Binance is aware of this and is working on a fix, but it may take some time.

I can confirm Binance fixed it. I tested withdrawal on both binance.com and binance.us and it worked for me.


fix image builder list behavior

Description
fix link dep to use the component and avoid conflict
Fixes # (issue)
Type of change
What is it?

[X] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Documentation update
[ ] Tests update

Checklist:

[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] 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
[ ] I run npm run lint:js:fix to check that my code is properly formatted

@acosferreira  what is the actual issue? What conflict are you trying to avoid? I can't tell from the ticket itself :/

@omaciel as @matoval  mentioned,  we can't use the components. So we are using the custom component to get the same result in all systems

My point was more about updating the ticket so that it clearly states what the issue is and, more importantly, how it was fixed. You can blame my QE brain :)

Codecov Report
Patch coverage: 50.00% and project coverage change: +0.06 :tada:

Comparison is base (4eaaac3) 27.68% compared to head (0acbfd3) 27.74%.

:exclamation: Current head 0acbfd3 differs from pull request most recent head 881c691. Consider uploading reports for the commit 881c691 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #688      +/-   ##
==========================================
+ Coverage   27.68%   27.74%   +0.06%
==========================================
  Files         129      129
  Lines        3161     3161
  Branches     1035     1035
==========================================
+ Hits          875      877       +2
+ Misses       2072     2071       -1
+ Partials      214      213       -1

Impacted Files
Coverage Δ

src/Routes/ImageManager/ImageSetsTable.js
35.13% <ø> (ø)

src/components/Empty.js
92.30% <50.00%> (ø)

... and 1 file with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Where is the Moreparts.pack file?

I cant find the moreparts.pack I looked everywhere on the folder

you did not search well. In the launch section


Ensure transaction nesting max depth is always consistent with length of segments

Overview
Transaction nesting_max_depth can get out of sync with segments length resulting in an exception when attempting to nest the initial segment which does not exist.
Related Github Issue
https://github.com/newrelic/newrelic-ruby-agent/issues/545
Testing
Existing test coverage ensures that the behaviour of nesting_max_depth is unchanged

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Thank you @warp for creating the related ticket and taking on creating this PR. The error you described in https://github.com/newrelic/newrelic-ruby-agent/issues/545 doesn't seem familiar to me, so thank you for bringing it to our attention.
It looks like this change has caused a failure in our agent_only test suite.  I was also able to see this failure locally as well by running this suite locally with the command
bundle exec rake test:multiverse[agent_only]
Also, to run just this one failing test in debug mode:
bundle exec rake test:multiverse[agent_only,name=test_transaction_names_rules,debug]
This is the test failure that is occurring:
  1) Failure:
RenameRuleTest#test_transaction_names_rules [/home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/multiverse/suites/agent_only/rename_rule_test.rb:47]:
Found unexpected metrics: [
  Controller/RenameRuleTest::TestWidget/txn (<unscoped>)
].
--- expected
+++ actual
@@ -1 +1 @@
-[]
+[#<NewRelic::MetricSpec 'Controller/RenameRuleTest::TestWidget/txn':''>]

245 tests, 1308 assertions, 1 failures, 0 errors, 0 skips
"agent_only" for Envfile entry 0 failed!

I spent some time looking at this and it wasn't immediately clear to me what would be causing this. I'll need to discuss this with other members of my team since i'm not quite sure, but, after spending some time with it, I suspect that nested_max_depth may be representing something different than the number of segments in this situation. I saw that this was related to an error you are experiencing, so we'll take a look at that and see how these things are interacting with each other and what to do next to resolve these test failures.

Thank you @warp for creating the related ticket and taking on creating this PR. The error you described in https://github.com/newrelic/newrelic-ruby-agent/issues/545 doesn't seem familiar to me, so thank you for bringing it to our attention.
It looks like this change has caused a failure in our agent_only test suite.  I was also able to see this failure locally as well by running this suite locally with the command
bundle exec rake test:multiverse[agent_only]
Also, to run just this one failing test in debug mode:
bundle exec rake test:multiverse[agent_only,name=test_transaction_names_rules,debug]
This is the test failure that is occurring:
  1) Failure:
RenameRuleTest#test_transaction_names_rules [/home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/multiverse/suites/agent_only/rename_rule_test.rb:47]:
Found unexpected metrics: [
  Controller/RenameRuleTest::TestWidget/txn (<unscoped>)
].
--- expected
+++ actual
@@ -1 +1 @@
-[]
+[#<NewRelic::MetricSpec 'Controller/RenameRuleTest::TestWidget/txn':''>]

245 tests, 1308 assertions, 1 failures, 0 errors, 0 skips
"agent_only" for Envfile entry 0 failed!

I spent some time looking at this and it wasn't immediately clear to me what would be causing this. I'll need to discuss this with other members of my team since i'm not quite sure, but, after spending some time with it, I suspect that nested_max_depth may be representing something different than the number of segments in this situation. I saw that this was related to an error you are experiencing, so we'll take a look at that and see how these things are interacting with each other and what to do next to resolve these test failures.

Thank you @warp for creating the related ticket and taking on creating this PR. The error you described in #545 doesn't seem familiar to me, so thank you for bringing it to our attention.
It looks like this change has caused a failure in our agent_only test suite. I was also able to see this failure locally as well by running this suite locally with the command
bundle exec rake test:multiverse[agent_only]
Also, to run just this one failing test in debug mode:
bundle exec rake test:multiverse[agent_only,name=test_transaction_names_rules,debug]
This is the test failure that is occurring:
  1) Failure:
RenameRuleTest#test_transaction_names_rules [/home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/multiverse/suites/agent_only/rename_rule_test.rb:47]:
Found unexpected metrics: [
  Controller/RenameRuleTest::TestWidget/txn (<unscoped>)
].
--- expected
+++ actual
@@ -1 +1 @@
-[]
+[#<NewRelic::MetricSpec 'Controller/RenameRuleTest::TestWidget/txn':''>]

245 tests, 1308 assertions, 1 failures, 0 errors, 0 skips
"agent_only" for Envfile entry 0 failed!

I spent some time looking at this and it wasn't immediately clear to me what would be causing this. I'll need to discuss this with other members of my team since i'm not quite sure, but, after spending some time with it, I suspect that nested_max_depth may be representing something different than the number of segments in this situation. I saw that this was related to an error you are experiencing, so we'll take a look at that and see how these things are interacting with each other and what to do next to resolve these test failures.

Perhaps a less invasive change would be to

Thank you @warp for creating the related ticket and taking on creating this PR. The error you described in #545 doesn't seem familiar to me, so thank you for bringing it to our attention.
It looks like this change has caused a failure in our agent_only test suite. I was also able to see this failure locally as well by running this suite locally with the command
bundle exec rake test:multiverse[agent_only]
Also, to run just this one failing test in debug mode:
bundle exec rake test:multiverse[agent_only,name=test_transaction_names_rules,debug]
This is the test failure that is occurring:
  1) Failure:
RenameRuleTest#test_transaction_names_rules [/home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/multiverse/suites/agent_only/rename_rule_test.rb:47]:
Found unexpected metrics: [
  Controller/RenameRuleTest::TestWidget/txn (<unscoped>)
].
--- expected
+++ actual
@@ -1 +1 @@
-[]
+[#<NewRelic::MetricSpec 'Controller/RenameRuleTest::TestWidget/txn':''>]

245 tests, 1308 assertions, 1 failures, 0 errors, 0 skips
"agent_only" for Envfile entry 0 failed!

I spent some time looking at this and it wasn't immediately clear to me what would be causing this. I'll need to discuss this with other members of my team since i'm not quite sure, but, after spending some time with it, I suspect that nested_max_depth may be representing something different than the number of segments in this situation. I saw that this was related to an error you are experiencing, so we'll take a look at that and see how these things are interacting with each other and what to do next to resolve these test failures.

I will take a look at the failing spec and see if I can figure out the cause. Perhaps a less invasive change would be to only change the condition  nest_initial_segment if nesting_max_depth == 1 to nest_initial_segment if segments.length == 1 and leave nesting_max_depth alone.

Thank you @warp for creating the related ticket and taking on creating this PR. The error you described in #545 doesn't seem familiar to me, so thank you for bringing it to our attention.
It looks like this change has caused a failure in our agent_only test suite. I was also able to see this failure locally as well by running this suite locally with the command
bundle exec rake test:multiverse[agent_only]
Also, to run just this one failing test in debug mode:
bundle exec rake test:multiverse[agent_only,name=test_transaction_names_rules,debug]
This is the test failure that is occurring:
  1) Failure:
RenameRuleTest#test_transaction_names_rules [/home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/multiverse/suites/agent_only/rename_rule_test.rb:47]:
Found unexpected metrics: [
  Controller/RenameRuleTest::TestWidget/txn (<unscoped>)
].
--- expected
+++ actual
@@ -1 +1 @@
-[]
+[#<NewRelic::MetricSpec 'Controller/RenameRuleTest::TestWidget/txn':''>]

245 tests, 1308 assertions, 1 failures, 0 errors, 0 skips
"agent_only" for Envfile entry 0 failed!

I spent some time looking at this and it wasn't immediately clear to me what would be causing this. I'll need to discuss this with other members of my team since i'm not quite sure, but, after spending some time with it, I suspect that nested_max_depth may be representing something different than the number of segments in this situation. I saw that this was related to an error you are experiencing, so we'll take a look at that and see how these things are interacting with each other and what to do next to resolve these test failures.

Perhaps a less invasive change would be to

Thank you @warp for creating the related ticket and taking on creating this PR. The error you described in #545 doesn't seem familiar to me, so thank you for bringing it to our attention.
It looks like this change has caused a failure in our agent_only test suite. I was also able to see this failure locally as well by running this suite locally with the command
bundle exec rake test:multiverse[agent_only]
Also, to run just this one failing test in debug mode:
bundle exec rake test:multiverse[agent_only,name=test_transaction_names_rules,debug]
This is the test failure that is occurring:
  1) Failure:
RenameRuleTest#test_transaction_names_rules [/home/runner/work/newrelic-ruby-agent/newrelic-ruby-agent/test/multiverse/suites/agent_only/rename_rule_test.rb:47]:
Found unexpected metrics: [
  Controller/RenameRuleTest::TestWidget/txn (<unscoped>)
].
--- expected
+++ actual
@@ -1 +1 @@
-[]
+[#<NewRelic::MetricSpec 'Controller/RenameRuleTest::TestWidget/txn':''>]

245 tests, 1308 assertions, 1 failures, 0 errors, 0 skips
"agent_only" for Envfile entry 0 failed!

I spent some time looking at this and it wasn't immediately clear to me what would be causing this. I'll need to discuss this with other members of my team since i'm not quite sure, but, after spending some time with it, I suspect that nested_max_depth may be representing something different than the number of segments in this situation. I saw that this was related to an error you are experiencing, so we'll take a look at that and see how these things are interacting with each other and what to do next to resolve these test failures.

I will take a look at the failing spec and see if I can figure out the cause. Perhaps a less invasive change would be to only change the condition  nest_initial_segment if nesting_max_depth == 1 to nest_initial_segment if segments.length == 1 and leave nesting_max_depth alone.

I have reduced the scope of the change to ensure nest_initial_segment is only called when a single segment is present. This does not really address the root cause of the issue that nesting_max_depth can get out of sync with segments.length but should be sufficient to prevent an exception if this does occur.


Container BoxDecoration Shape does not clip BackgroundImage

If you set a shape to a Container's BoxDecoration, that shape will not clip the BackgroundImage (if set).
It does, however, clip the BackgroundColor for the BoxDecoration.
It probably makes the most sense for the BoxDecoration shape to clip the BackgroundImage if it clips the BackgroundColor already.

I feel like @HansMuller looked at this at one point?
Would be nice if we had some simple sample code/repro here.

Is this still broken? It should work fine...
I'll take a look at whether this still happens.

If this is not fixed, it's not a current milestone priority. But I'll verify if it's fixed.


load_secure does not work as expected

Steps to reproduce:

Make any changes that will set changes_made = True (For example, add John<PHONE_NUMBER>)
Make sure the changes have taken place (all in the case with John)
Type save_secure and enter password
Type exit to close the bot
Run the bot again
Type load_secure and enter your password
Check your changes (all in the case with John)

Current behavior:
John is absent
Actual behavior:
All the changes, including John, restored
@vgdevie - FYI

Closed in 2fffc8eb023fcd9abbed1dc804d4834177bbbb3a


2021-01-06 Version 3.6.1: Added DB export test

Codecov Report

Merging #52 (5e31f9b) into master (c50a8bb) will not change coverage.
The diff coverage is n/a.

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

Codecov Report

Merging #52 (5e31f9b) into master (c50a8bb) will not change coverage.
The diff coverage is n/a.

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


openroad should write it's commands into the log

Description
Revisiting a year old log files, it would have been very helpful to have the CMD's that were issued to be in the log file.
Suggested Solution
write CMD's into the log file
Additional Context
No response

To implement: tcl's trace can be used to call into the logger

I'd to work on this.

Great!

This is taking me a bit longer than I expected. Commands are entered directly to the embedded TCL interpreter, so the logger would need to be invoked within the interpreter. I have considered two approaches to do this.
One way would be to create a custom alias for the TCL eval command using Tcl_CreateAlias(). This way we can assign our own C++ function to this alias for logging the command name, then call the original eval so the command is still executed. A potential problem is that eval might be called by the interpreter in more cases then with our custom commands, so we may need to check that we are only logging the commands we want. We would need to maintain a list of all commands we want to log and search this list before logging any command from our new function.
Another way would be to create a new TCL function that is called before any of our custom commands. Perhaps there is a way to prepend this function to each TCL commands upon initialization. I am not sure how this would work yet, but maybe we could change sta/etc/TclEncode.tcl to include this.
I don't know how feasible either approach is, but the first one sounds simpler so I plan to try that first. If I can actually get the arguments of eval to be logged, then I will see if there is extra output that we don't need.

Just want to jump in that the other thing we could try is to add this functionality to TCL. It wouldn't immediately be available to users on standard distros, but the pre-built binaries could take advantage of it.
https://core.tcl-lang.org/tcl/wiki?name=Index

@QuantamHD the tcl_trace functionality is there. I briefly looked at this (adding a trace to utl) and it's possible to get the commands, but depending on the entry method (gui vs non-gui, cmd arg file vs command line) changes how the tracing worked so I didn't go any further.  I don't think there is anything to add to Tcl, I think the solution is to fix how we interface with Tcl to make this possible.

I am too busy to work on this right now unfortunately.
I need to prioritize some other projects for a few months. If this still hasn't been resolved by then I can take another look at it.

Hello @Iyury1 @gadfort @stefanottili @QuantamHD @maliberty, I would like to work on this issue. Do you know if anyone is already working on it?

@dav77227 I don't know about the others, but I am not working on this. Good luck.

To add features to this request: every “long running” command should report how long it took to run it.
The goal would be to be able to easily compare log files from different runs.
E.g.
vimdiff dir[12]/log
or
grep runtime dir2/log > dir2/runtime
diff dir[12]/runtime

@stefanottili that feels like a separate feature request. Plus that would be better if it can be implemented in the C code so it is available to the python interface too.

@gadfort you're right, separate feature request https://github.com/The-OpenROAD-Project/OpenROAD/issues/5003

Hello. Currently, I have implemented the following solution, which I would like to discuss before creating a PR. @maliberty @QuantamHD @gadfort @stefanottili could you please provide your feedback on this matter?
The concept of the solution is the following:

The TCL script passed to the OpenROAD is substituted with a tracing script that adds tracing functionality and calls the source command with the original TCL script. The script substitution is done in the OpenROAD main function.
I'm attaching the 2_2_floorplan_io.log log files with and without my changes for your review.
2_2_floorplan_io_before.log
2_2_floorplan_io_after.log

Does your solution work if the user is simply typing commands at the interactive prompt and not executing a script?

The current tracing functionality is called through TCL script, thus the solution works only when working with the script and not from the interactive mode.

Is it possible to setup the tracing on the interpreter so it doesn't matter what the input source is?

@maliberty yes it's possible. I think I still have the code I put together earlier, it might be possible to avoid the depth issue I ran into previously by using the commands registered in sta (similar to what we do in the GUI) to create a list of commands to echo back.

There are log_begin and log_end commands in OpenROAD used to initiate logging during an interactive session. I tried to use them, but somehow it didn't work: the file is created, but nothing is written (I have called different commands to get the result into a log file). Is there something incorrect ?
Here are the command sequence that I have used:
openroad> log_begin myfile.log
openroad> read_lef path_to_OpenROAD/flow/platforms/nangate45/lef/NangateOpenCellLibrary.tech.lef
openroad> read_verilog path_to_OpenROAD/flow/results/nangate45/gcd/base/1_synth.v
openroad> report_units
openroad> write_db file.db
openroad> log_end
openroad> exit

log_begin is an sta command and won't work across all of OR.  Its more relevant in the context of standalone sta.

@dav77227 yes, that is correct.

Greetings. I've implemented a solution using the Tcl_CreateObjTrace function. It performs trace for prompt mode and in case of script execution. However, a lot of things can be printed in the case of batch mode: a procedure can call other procedures in their body, and this can reach a certain level recursively. So I'd like to clarify which commands/procedures are best to print to have a balanced output. One option is to print only top level commands, however this will imply that if the underlying implementation of the top level command is changed over the time it will not be noticeable from the logs, on the other hand if we print all levels then, we will have pretty big logging only for a single top level command.
I think it's best to decide on a real example. So the io_placement_random.tcl script is the following:
source $::env(SCRIPTS_DIR)/load.tcl
load_design 2_1_floorplan.odb 1_synth.sdc

if {[info exists ::env(FLOORPLAN_DEF)]} {
    puts "Skipping IO placement as DEF file was used to initialize floorplan."
} else {
  if {[info exists ::env(IO_CONSTRAINTS)]} {
    source $::env(IO_CONSTRAINTS)
  }
  place_pins -hor_layer $::env(IO_PLACER_H) \
           -ver_layer $::env(IO_PLACER_V) \
           -random \
           {*}$::env(PLACE_PINS_ARGS)
}

write_db $::env(RESULTS_DIR)/2_2_floorplan_io.odb

@maliberty @QuantamHD @gadfort @stefanottili could you please specify what should be printed for this exact script?

You could use this chunk of code : https://github.com/The-OpenROAD-Project/OpenROAD/blob/ad54bbe88b561d1c30451d8a3c85ad11c1692905/src/gui/src/tclCmdInputWidget.cpp#L392
To determine what command names are registered in openroad


Recent work on trust-dns-proto and RON

This feels kinda bare-bones but I suppose it's just a trophy case?

Yup, the titles are meant to just give a brief overview. The original issue should provide all the necessary detail.
Thanks!


[Site] Fixed unresponsive image

Signed-off-by: Nikhil Sharma<EMAIL_ADDRESS>Description

Fixed unresponsive image

Before

After

Signed commits

[x] Yes, I signed my commits.

@NikhilSharma03
https://user-images.githubusercontent.com/7570704/146934968-1834869d-047b-4fc8-ad97-900085d305ca.mov
one thing - - - the aspect ratio isn't maintained during one segment of the breakpoints.

This PR is related to and fixes, https://github.com/layer5io/getnighthawk/issues/212


C4GT Community: Basic Details of Vaibhav Gupta

Ticket Contents
Description
Please provide the following basic details to help us understand your background and context better.

Name: Vaibhav Gupta
GitHub Username: Vaibhavg4651
LinkedIn Profile: https://www.linkedin.com/in/vaibhav-gupta-7a2992227/
College/University: Maharaja Surajmal Institute of Technology
_ Hello everyone I'm a third year undergrad with keen interest in building Full-stack applications having knowledge of MERN stack but not limited to it , Also have worked with Django , Nextjs. Looking forward to collaborate on projects and learn through the process.

Goals

[ ] Adding your basic details

Implementation Details
To implement the changes in the Community.md file on the GitHub repository (https://github.com/Code4GovTech/C4GT/blob/main/Community.md), follow these steps:

Fork the Repository:

Visit the repository (https://github.com/Code4GovTech/C4GT).
Click the "Fork" button in the upper right corner to create a fork of the repository in your GitHub account.

Clone Your Fork:

Open a terminal or command prompt.
Run the following command to clone your fork to your local machine:

     git clone https://github.com/your-username/C4GT.git

Navigate to the Repository:

Change into the repository directory:

    cd C4GT

Edit the Community.md File:

Open the Community.md file in a text editor. You can use any code editor or a simple text editor.
Locate the existing table and replace the details with your own:

        Name
        Your Name

        GitHub
        https://github.com/your-username

        LinkedIn
        https://www.linkedin.com/in/your-linkedin

        College
        Your College/University

Save Changes:

Save the changes to the Community.md file.

Click on the "New pull request" button.
Ensure the base repository is Code4GovTech/C4GT and the base branch is main.
Ensure the head repository is your fork and the compare branch is main.
Click "Create pull request" and provide a meaningful title and description.
Click "Create pull request" again to submit the pull request.
Your changes will now be submitted as a pull request to the original repository, and the maintainers can review and merge them.

Product Name
C4GT
Organisation Name
C4GT
Tech Skills Needed
Markdown
Mentor(s)
@Shruti3004
Complexity
Beginner
Category
Documentation

Updated


added new badges

Codecov Report

Merging #338 into develop will decrease coverage by 0.01%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop     #338      +/-   ##
===========================================
- Coverage    29.22%   29.21%   -0.02%
===========================================
  Files           55       55
  Lines         6036     6049      +13
  Branches      1378     1379       +1
===========================================
+ Hits          1764     1767       +3
- Misses        3055     3064       +9
- Partials      1217     1218       +1

Flag
Coverage Δ

#rnvunittests
29.21% <ø> (-0.02%)
:arrow_down:

Impacted Files
Coverage Δ

packages/rnv/src/platformTools/firefox/index.js
26.56% <0%> (-1.78%)
:arrow_down:

packages/rnv/src/platformTools/electron/index.js
17.32% <0%> (-0.18%)
:arrow_down:

packages/rnv/src/constants.js
100% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

Could also add; https://github.com/lerna/lerna#readme-badge ?


@2x images not outputting when using 'theme//' stream

On a fresh install these steps should allow you to reproduce this error:

In the antimatter theme, duplicate images/logo.png and call it<EMAIL_ADDRESS>In the default.html.twig template output the image:

{% extends 'partials/base.html.twig' %}

{% block content %}
	 {{ media["theme://images/newlogo.png"].html() }}
	 {{ page.content }}
{% endblock %}

Load home page, no images show up.
Change template code to output logo.png instead of newlogo.png
5 Reload home page and the logo images will output, since it is just a 1x/normal image

On a side note, if you move the same image<EMAIL_ADDRESS>into the 01. Home page folder and then in your default.html.twig change the media output to: page.media["newlogo.png"].html() it ouputs as expected with the new images the grav creates, a 2x png and 1x png.

Does sound like a legit bug.  We'll look into it.  Cheers.

I had a look into this, and the short answer is that it's not something that is easily fixed.
Basically, Media functionality was intended to be used for pages only.  When a page is intialized, all the valid media types are iterated over and part of this process check for files such as<EMAIL_ADDRESS>that are in the @2x format.  If they are found, then they are intstantiated with 'alternative' references for the @1x sizes etc, the then 'prettyname' is set to myimage.jpg so they can be retrieved via the media object with both @2x and @1x formats available.
The stream reference approach simply looks for a file directly matching the stream provided. If it's found, a media object is created on the fly and you are able to use media functions for it.  However, if you have a stream for user://media/myimage.jpg it won't find it because the file is actually<EMAIL_ADDRESS> There's really no great way to know what the original file is called because we have no iterated over the files (as we do in pages), we are simply looking for a specific file using magic offsets.
As things stand the best way to handle this is to have a plugin that creates a new media object that points to the folder you want to use. This would then use the same process as pages, and iterate over the media files in the path provided. Then you could assign this media object to a twig variable and get the full functionality you wold in pages.  However, as this would be called manually each time, you would have to accept the performance penalties, or add your own caching (similar to how each page caches its media object)/

I think you can still use meta-file to define different media sizes?


Enable cascading / inheritance of Tags at the Environment level

Is your feature request related to a problem? Please describe.
Tagging is very important to most organisations and applying tags to resources can be a challenging and time consuming process,
In our use case, to be able to accurately cross-charge the business units for their consumption/usage costs, we have a tagging standard in place.
Describe the solution you'd like
When tags are added to resources in data.all , they could be optionally flagged as being "cascade" , then whenever a dataset or pipeline is created (or any other resource which belongs to the environment), the tags against the Environment are automatically applied to all child resources (e.g. S3 Buckets, CodeCommit Repo's, Lambda's, IAM roles, KMS keys and so on)
Describe alternatives you've considered
We can use Tag Editor and the API/CLI methods to apply tags. In our use case an Environment is typically for one business unit / project and being able to cascade them would save effort and simplify the tagging process.
Additional context

P.S. Please Don't attach files. Add code snippets directly in the message body instead.

Interesting feature, I think we can pick it together with #193

@gavclark-arriva This feature has been implemented and is currently under testing in the next minor release branch. The release was targeted for December 31st, however most probably it will be released before that date.


Rename "solr-extensions" Github org

As noted in #16 we refer to Solr plugins as packages, extensions and plugins. We should keep that straight and rename the Github org @solr-extensions. First ideas in my mind:

solr-plugins
solr.cool
solr-plugin-directory

Ideas welcome!

I like solr.cool!   We have the domain name, and it's fun.

BTW, we're @solr-cool now 😎

The future is so bright we need shades!


create a slimmer environment in docker

Following the discussion in https://github.com/hasadna/anyway/pull/1285

@dimakuz great work! closing this one


fix: Make Rust work better in Bazel

switch from cargo-raze to crate_universe
target WASI platform
optimize for execution speed
add logging to stdout for unit tests
[cleanup] set edition/crate-type to match rust_rules

[x] Tests pass
[x] Appropriate changes to documentation are included in the PR

(Sorry for late response) +1, looks like a great simplification!


Library capabilities

For the eye_tracker.py, is there no way to identify if a person is looking down? From what I see, the lib can only identify left, right or up eye movements.
For head_pose_estimation.py, is there no "neuter" head pose? For instance, when I am looking directly at the camera, the output keeps saying left.

No the eye tracker can't detect looking down as the movement of pupil with respect to the eye is minimal.
It should be neitral, but the model isn't pretty accurate. Maybe converting the two axis to roll, pitch and yaw may give better results or you can play around with the parameters and increase the threshold for left.

can you please send me the module version in detail for exhibiting this

@GuruNadh552 I am sorry, I didn't understand what you meant.

Can you please explain to me how to execute this project  and how to download the modules which are compatible to this project


Trading ui - withdrawal delay period for Vega

Description
When withdrawing Vega the interface is showing a message stating there is a 24h delay for withdrawing Vega, but it's not true... The delay only apply to other collaterals.

Not seeing this behaviour ... see screen shot where delay for VEGA is shown to be "None"?

See if this is covered by WAGMI changes Matt is doing ... bump into TEST

I have been testing alll the withdrawal stuff for a while and to me it all looks fine ... i'm getting the appropriate delay messages.
I am closing this