Update README.md

duplicate

Thanks for the MR, but I think I just accepted a MR that solves the same problem.


Unexpected regression in kss-node from twig 1.11.0

I have an unexpected regression in Kss-node project since twig.js 1.11.0.
Include of relative path are not correctly resolved.
https://github.com/kss-node/kss-node/issues/467
I don’t see relative notice about that in twig.js changelog.

Probably https://github.com/twigjs/twig.js/pull/492 ?

@dave-irvine probably.
@JorgenEvens do you have an idea ?

@dave-irvine @ryuran Will have a look later this evening

@JorgenEvensn did you find anything to help about it?

@ryuran Sorry, forgot about this. I've put it on my todo for tonight

@ryuran I'm going to need more information or a specific testcase. I've added a test that includes a file relative to another and it resolves the file as expected.
See https://github.com/twigjs/twig.js/pull/552

I have try with v1.12.0 and the problem seems solved. I don’t know what fixed it.


Stable logcumsumexp | feat(torchlib)

Stable logcumsumexp with the subtract-max trick. I tried to use Scan unsuccessfully and it proved to be not needed. Thanks @gramalingam for his help with math & Scan

@gramalingam I must be doing something wrong but I am not sure what it was. Could you help take a look? Thanks!

log-sum-exp trick! ❤

Still a little sad not being able to get Scan to work


Opening menu and dismissing closes an open detail view

Select an app, the editor opens.
Open the menu, click the gray area is dismiss it.
The list re-renders and the open editor closes.
The re-render should only happen if the active BrowserConfig changes. Also consider if we can avoid the re-render entirely.

Also note that this showed up after selection$ stopped resetting and became an indicator of which editor was open. selection is probably being reset, which closes the editor. Selection must remain!


GNUInstallDirs.cmake included() too early

Because GNUInstallDirs is included before the call to project(), it doesn't actually work (except when using the CMake binaries from Ubuntu).
GNUInstallDirs uses CMAKE_SYSTEM_NAME, which is defined only after project().
It works in Ubuntu, because they add a local hack which ends up bypassing the relevant bits of GNUInstallDirs.cmake, but when using CMake from source, or when using any other distribution, the way GNUInstallDirs is used in the AWS C++ SDK doesn't work.

Could you please elaborate which purpose you want to achieve by using CMAKE_SYSTEM_NAME? If it is empty, cmake script just go into different branch after if condition

If you look at GNUInstallDirs.cmake (the original version, not Ubuntu's modified version), it uses CMAKE_SYSTEM_NAME to determine if it is compiling for Linux at all https://github.com/Kitware/CMake/blob/master/Modules/GNUInstallDirs.cmake#L220 . After that, it determines the OS, debian and derivates https://github.com/Kitware/CMake/blob/master/Modules/GNUInstallDirs.cmake#L222 or something else https://github.com/Kitware/CMake/blob/master/Modules/GNUInstallDirs.cmake#L232
Given CMAKE_SYSTEM_NAME is empty if GNUInstallDirs is included before project(), the AWS C++ SDK is installed into the wrong location.


Processor layout

The code to automatically fill in the processor layout in the MOM_layout file does not work for me with a non-square layout. For example, if I set my layout as 11x10 (expt.FRE_tools(layout=(11,10)) then I will get an error message at run time:
FATAL from PE     0: fms2_io(parse_mask_table_2d): layout in file INPUT/mask_table.16.11x10does not match size of maskmap for ice model
I can fix this by manually swapping the order of the processor layout in the MOM_layout file (on line23: LAYOUT = 10,11), but I’m posting here to see if others also get this issue. I am happy to investigate this one further.

Oh oops looks like a bug to me!! Good spotting


fix: allow initialowner to be set directly to wallet address

Allow --initialowner to be directly set to wallet address in mint-dft command. Like:
yarn cli mint-dft quark --initialowner bc1p...

Should be a duplicate of #177. :)

Should be a duplicate of #177. :)

Well, I didn't notice it.


Exception when processing progit book

Trying to use the latest tag on the progit book (https://github.com/progit/progit2), there is a crash
$ bundle exec asciidoctor-pdf -b pdf --verbose --trace progit.asc
/home/user/.gems/gems/asciidoctor-pdf-1.5.0.alpha.16/lib/asciidoctor-pdf/converter.rb:191:in `convert_document': undefined method `sections?' for #<Asciidoctor::Document:0x00000002261450> (NoMethodError)
Did you mean?  sections
        from /home/user/.gems/gems/asciidoctor-pdf-1.5.0.alpha.16/lib/asciidoctor-pdf/converter.rb:118:in `convert'
        from /home/user/.gems/gems/asciidoctor-1.5.0/lib/asciidoctor/document.rb:1010:in `convert'
        from /home/user/.gems/gems/asciidoctor-1.5.0/lib/asciidoctor.rb:1459:in `convert'
        from /home/user/.gems/gems/asciidoctor-1.5.0/lib/asciidoctor/cli/invoker.rb:93:in `block in invoke!'
        from /home/user/.gems/gems/asciidoctor-1.5.0/lib/asciidoctor/cli/invoker.rb:85:in `each'
        from /home/user/.gems/gems/asciidoctor-1.5.0/lib/asciidoctor/cli/invoker.rb:85:in `invoke!'
        from /home/user/.gems/gems/asciidoctor-pdf-1.5.0.alpha.16/bin/asciidoctor-pdf:31:in `<top (required)>'
        from /home/user/.gems/bin/asciidoctor-pdf:23:in `load'
        from /home/user/.gems/bin/asciidoctor-pdf:23:in `<main>'

Forget it. Upgrading asciidoctor gem as well...


Brewing flavors - tools installing but not seen in tool panel.

Thanks for all of the contributions to this repo. This is a great resource for learning Galaxy and Docker.
I am trying to create a custom image of Galaxy using Galaxy-stable as the base. I'm following what was done to generate the docker-galaxy-NGS-preprocessing flavor to install additional tools.
When I start the custom image, the additional tools that were specified seem to be installed when I look through the Admin panel, but they don't appear in the Tool panel of the Galaxy UI. Are there additional arguments that need to be provided for these tools to appear in the Tool panel?
Building an image from this repo with docker build -t ngs-preprocessing:20.05 . will reproduce this behavior.
Thanks in advance for any insight!

Thanks to @jyotipm29 we are back on track :smile:
The new 24.1 image contains a lot of changes and reflects the latest developments in Galaxy. I would like to close this PR, but please feel free to reopen and rebase against the latest version.
Please give it a try:
docker run -p 8080:80 -p 8021:21 -p 4002:4002 --privileged=true -e "GALAXY_DESTINATIONS_DEFAULT=slurm_cluster_docker"   -v /tmp/galaxy-data/:/export/ quay.io/bgruening/galaxy:24.1

... or any other combination. The readme has been updated. Please add any useful tip to it.
For a list of changes, see the Changelog.


Enable jshint on grunt test tasks

Enabling the lint task when running tests so we can identify coding convention issues on Pull-Requests in the CI
Addresses issue https://github.com/meanjs/mean/pull/645

LGTM

Thanks, merging.

Also #635 no?

Yes, thanks @ilanbiala , it's closed now.


fix(deps): update dependency web-vitals to v3

This PR contains the following updates:

Package
Type
Update
Change

web-vitals
dependencies
major
^2.1.4 -> ^3.0.0

Release Notes

GoogleChrome/web-vitals (web-vitals)
v3.4.0
Compare Source

Make bindReporter generic over metric type (#359)
Update INP status in README (#362)
Fix Metric types for better TypeScript support (#356)
Fix selector for SVGs for attribution build (#354)

v3.3.2
Compare Source

Fix attribution types (#348)
Safe access navigation entry type (#290)

v3.3.1
Compare Source

Export metric rating thresholds in attribution build as well.

v3.3.0
Compare Source

Export metric rating thresholds, add explicit MetricRatingThresholds type (#323)
Trim classname selector (#328)
Add link to CrUX versus RUM blog post (#327)
Prevent LCP being reported for hidden prerendered pages (#326)
Add Server Timing information to docs (#324)
Fix link in onINP() thresholds comment (#318)
Update web.dev link for onINP() (#307)
Add a note about when to load the library (#305)

v3.1.1
Compare Source

Defer CLS logic until after onFCP() callback (#297)

v3.1.0
Compare Source

Add support for 'restore' as a navigationType (#284)
Report initial CLS value when reportAllChanges is true (#283)
Defer all observers until after activation (#282)
Ignore TTFB for loads where responseStart is zero (#281)
Defer execution of observer callbacks (#278)

v3.0.4
Compare Source

Clamp LCP and FCP to 0 for prerendered pages (#270)

v3.0.3
Compare Source

Ensure attribution object is always present in attribution build (#265)

v3.0.2
Compare Source

Set an explicit unpkg dist file (#261)

v3.0.1
Compare Source

Use the cjs extension for all UMD builds (#257)

v3.0.0
Compare Source

[BREAKING] Add a config object param to all metric functions (#225)
[BREAKING] Report TTFB after a bfcache restore (#220)
[BREAKING] Only include last LCP entry in metric entries (#218)
Update the metric ID prefix for v3 (#251)
Move the Navigation Timing API polyfill to the base+polyfill build (#248)
Add a metric rating property (#246)
Add deprecation notices for base+polyfill builds (#242)
Add a new attribution build for debugging issues in the field (#237, #244)
Add support for prerendered pages (#233)
Rename the ReportHandler type to ReportCallback, with alias for back-compat (#225, #227)
Add support for the new INP metric (#221, #232)
Rename getXXX() functions to onXXX() (#222)
Add a navigationType property to the Metric object (#219)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

⚠ Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

any of the package files in this branch needs updating, or
the branch becomes conflicted, or
you click the rebase/retry checkbox if found above, or
you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:
File name: frontend/package-lock.json
/usr/local/bin/npm: line 4: .: filename argument required
.: usage: . filename [arguments]
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving<EMAIL_ADDRESS>npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/react
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!   peer react@">= 16.14.0" from<EMAIL_ADDRESS>npm ERR!   node_modules/@aws-amplify/ui-react
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!   54 more (@aws-amplify/ui-react-core, @xstate/react, ...)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>|| ^15.0.0 || ^16.0.0" from<EMAIL_ADDRESS>npm ERR! node_modules/react-lottie
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Conflicting peer dependency<EMAIL_ADDRESS>npm ERR! node_modules/react
npm ERR!   peer<EMAIL_ADDRESS>|| ^15.0.0 || ^16.0.0" from<EMAIL_ADDRESS>npm ERR!   node_modules/react-lottie
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR!
npm ERR! For a full report see:
npm ERR! /tmp/renovate/cache/others/npm/_logs/2023-08-15T17_48_50_469Z-eresolve-report.txt

npm ERR! A complete log of this run can be found in: /tmp/renovate/cache/others/npm/_logs/2023-08-15T17_48_50_469Z-debug-0.log


CubeMX2EAGLE Can't open '\tmp\foo.txt'

When trying to run CubeMX2EAGLE.ulps I get the error Can't open '\tmp\foo.txt'. I tried creating the directory tmp and file foo.txt inside my ulps directory, but this didn't help.

Managed to fix it by changing
output("/tmp/foo.txt", "wt") {
to
output("C:\\Users\\<MY_USER_NAME>\\temp\\foo.txt", "wt") {
Unfortunately, my project file is not recognized. Maybe because it was created with STM32CubeIde instead of pure CubeMX?

Hi Jim,
It looks like that you are the first one who using my ULP on Windows :).
The file in question is just used for debugging purposes only, I should have removed that.
After your change in the ULP it should just work.
Could you share your ioc file and the library part you are added to the EAGLE design? If the ioc is not public you could send it via email.

Something else seems to be wrong, I'm getting this error.

I'll email you an example ioc file, would be great to get this working on Windows!


SRW lens script

Create a python script demonstrating the issues encountered in using srw lenses for our laser systems.

Once the thin lens is in place for the LCT algorithm, comparison with SRW will be possible.

This will have to wait until new resources have been identified.


Teams Page

Summary
The Teams Page presents the executive members of the club from all departments along with their contact information.
For Main Issue

Task List

[ ] For each executive member, add a link/icon that direct to their LinkedIn page (will be provided)

[ ] Adjust the layout of all the executive members' Cards on the webpage

Additional Info

wdym by adjust the layout like what kinds of layout are expected to be implemented


Add OCaml Cohttp Lwt examples

This PR adds support for OCaml version that uses Lwt and Cohttp.
I also plan to submit a version that uses Eio. (as a separate PR)

Wow! This is awesome!  It looks great - very clean.  Really appreciate you doing this.  Also excited to see an Eio version. Will that use Algebraic Effects (just curious)?

Thank you for doing this! What a great addition :)

Thanks for the merge and sharing your excitement!

Also excited to see an Eio version. Will that use Algebraic Effects (just curious)?

Yes. "Eio provides an effects-based direct-style IO stack for OCaml 5."
OCaml 5 added support for "effects". The OCaml  developers call them effects (no algebraic). Eio uses these features to implement direct-style IO.
Also, @jamesward you mind adding a LICENCE file to the project?

Thanks! It'll be interesting to see the differences with Eio :)
LICENSE has been added.


v7.x Update - Add ability to append repo configurations, and user supplied configurations to the specified or default configuration

Description:
Note: this is an update of https://github.com/zricethezav/gitleaks/pull/458 with changes that are compatible with v7.x version of Gitleaks.
Currently, users can either define a configuration, or define a repo config, but not both as one would be overwritten by the other. Now users can merge configurations together. For example, a repo can be ran against a master configuration, but say there is a one-off false positive in that repo. Instead of changing the master config, users can now include a repo config and merge it with the master config, allow listing the file in question. Additionally, users can define an additional config outside or inside of the context of a repo. This allows for merging up to three configurations at once.
New Options:
--append-repo-config: appends config stored in repo with the config located at --config-path , or the default config if one is not specified.
--additional-config: path to an additional config to be appended to the config located at --config-path , and/or the repo config , and/or the default config.
Checklist:

[x] Does your PR pass tests?
[x] Have you written new tests for your changes?
[x] Have you lint your code locally prior to submission?

resolves: #429

@eddie-northcutt-wfp0 thanks for opening a new MR for v7.x.x. Hopefully the code was a little easier to understand.
I agree with the ability to merge in a repo-config, that seems useful. But I'm failing to see the need for --additional-config. Can you give me a specific use case where that would be needed? I'm hesitant to add 2 more config options as that would bring the total to 4.
I can see how --config-path=/path/to/main/config --repo-config-path=/repo/specific/config --merge-repo-config makes sense but not really seeing where --additional-config would be useful.
I'm also wondering if maybe --merge-repo-config should be renamed --append-repo-config as it doesn't actually resolve merge conflicts like name rule description collisions

@zricethezav Thanks for taking some time to review this! The --additional-config option was added to enable the option of applying an extra configuration on top of the default config, or the config supplied to --config-path. This also allows for combining config files outside of the context of a repo since it is read from the file system. This idea came from #429. If you think the cli complexity is too much of a trade off for this feature, I am not opposed to removing it as I understand where you are coming from. Let me know what you think.
As for the --append-repo-config suggestion, you make a good point. I will get that verbiage corrected, in addition to your other suggestions.

@eddie-northcutt-wfp0 sorry for taking so long on this. Approved and merged, this will be shipped in the next release, v7.3.0


Blog/dbt semantic layer

Description
A blog on how to use dlt and dbt to make sure you define models and metrics easily throughout the company and not have your "Chinese whisper of data" get lost in translation!

I really like your articles, it's always so interesting to read, and it is always very neat and good quality :+1:
We didn't merge yet fix for zendesk snippet test, so you can fix it yourself, just change it from 24 to 16


Longest Increasing Subsequence in C++

This issue is about [Algo/DS Name/Question Name](link to resource for the Algo/DS/Question)

[x] I searched or browsed the repo’s other issues to ensure this is not a duplicate

[x] Issue Title is in form [Algo/DS Name] in [Language] (ex:- BubbleSort in Java)

[x] I will send my PR only after I'm assigned to this issue by any maintainer

[x] Assign this issue to me (I want to work on this)

[x] I ensure that I am not already assigned to 2 or more issues

Hi Sobhan,
https://github.com/SobhanBera/algorithms/pull/25 please find merge request.


Gap analysis [NP-1023]

Contains the following changes from the gap analysis:

Visited links should have link-visited-colour from colour language, including sidebar navigation
Find out what happens in Contentful for bold text, update Storybook component so it’s not using  tag
Page review: Remove margin-bottom (it’s making the space between main content and footer 96px instead of 80px as design)

@davidrapson Are you able to take on this ticket or work out what we need to do for this ticket to complete it / close it e.t.c.?

@luke-hill Yep, I'm happy to pick this up

Have reverted "Find out what happens in Contentful for bold text, update Storybook component so it’s not using tag" as it needs a little more exploration. Other changes look good though.


Aug 26 - Getting Started with the Mixed Reality Toolkit

Event Information

Category
Details

Reactor Topic
Mixed Reality

Monthly Topic (if applicable)
Powerful APIs and Power Platform

Weekly Topic (if applicable)

Stream Topic
<2-5 words describing the topic>

Stream Date
August 26, 2020

Stream Time
9am PT

Stream Duration
60 Min

Title
Getting Started with the Mixed Reality Toolkit

Description
The Mixed Reality Toolkit (MRTK) gives you the components and features to speed up cross-platform MR app development in Unity. In this session, we’ll import MRTK into Unity mixed reality projects and create interactions with the UX building blocks.

Speaker
April Speight

Moderator

Event ID
7855

Additional Resources:

Event Checklist
10 Weeks Prior

[x] Reactor Content Team (RCT) or Speaker opens a new issue for an upcoming stream filling in the Event Information table. Both RCT and Speaker are marked as assignees.
[x] RCT and Speaker discuss details of the event in the comments of this issue. RCT adds a confirmed-event label and global-twitch-event tag to the issue and adds event to the Global Live Streams project. Issue will appear in the Upcoming Streams column
[x] Speaker adds a ready-for-marketing-edit label so the RCT can review title and description

8 Weeks Prior

[x] RCT does a review of title and description and removes the ready-for-marketing-edit label
[x] RCT moves the issue to the Ready for SharePoint column
[x] RCT informs the Reactor Marketing Team of the new event information
[ ] RCT provides speaker with assets (e.g. slides, overlays) and the survey data for the event
[x] RCT moves the issue to the MONTH Streams Prep column (according to the month it will be streamed in)

2 Weeks Prior (Done in /microsoft/Reactors)

[ ] Speaker opens a PR with the new content for the stream on the customer-facing Reactor repository and adds the content-development and global-twitch-event tag to the PR.
[ ] Speaker adds to the same PR a modification to the Streaming README to include their stream information.
[ ] Speaker adds the RCT assigned to the issue as the reviewer when it is ready for review/merge
[ ] RCT reviews, approves, and merges the changes

1 Week Prior

[ ] Speaker and Moderator test setup for streaming (instructions coming soon)
[ ] RCT checks in with the speaker and moves the issue to the Ready to Stream column

During and After Stream

[ ] Speaker and Moderator run the stream
[x] RCT submits recording to be uploaded to the Reactor YouTube and to be made available on LearnTV
[x] RCT moves issue to the Stream Complete column

Session recorded and uploaded to YouTube: https://youtu.be/9j1nuYYwghU. Issue closed.


Building pure C binaries

cc_* rules such as cc_library and cc_binary will build pure C binaries if the file extensions of the source files are .c rather than one of the standard C++ file extensions. While these build rules are listed under "C/C++" in the Build Encyclopedia, it would be helpful to add a note to clarify that these rules will do the right thing when compiling only C code.
It may also be good to provide macros such as c_library and c_binary and a CROSSTOOL config for C that set the correct flags for building C binaries.

Also:
being able to switch easily between different sets of cc binaries and flags would be nice: I routinely want to test my code with, say, clang, gcc, g++, and if I could be bothered to get a license, also icc.
But while the flags available between even these closely-related compilers intersect a lot, there are incompatibilities: clang has -Weverything, gcc has not, some -W flags do not make sense for C++ or they make sense only for C++, certain -fflags only work for some subset, etc.

they are already called "C/C++ rules" in the header. I'm not sure what to do here.
For @jhi 's comment - you can switch compilers by switching the crosstool. See eg
https://github.com/bazelbuild/examples/blob/master/android-prebuilts/README.md
for an example of how to configure and use an alternate compiler.  I suppose you could use select() to make the flags depend on the compiler.


unfreed memory

GCanvasState do not release memory for mStrokeStyle & mFillStyle on operator =.
mStrokeStyle is not freed on GCanvasState destruction.

fixed it , and will release soon


php: Run nixpkgs-fmt on all php related files

Motivation for this change
Just reformatting all the files for consistency.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Relase notes)

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

[ ] Fits CONTRIBUTING.md.

Rebased on master to fix conflict


standalone_2/io/large_file_read_small_file_test flaky -> Timeout on dartk-win-release-x64

CQ results: https://ci.chromium.org/ui/p/dart/builders/ci.sandbox/vm-kernel-win-release-x64/15889/overview

This test went from flaky to Timeout on dartk-win-debug-x64 as well.

Today again on release: https://dart-ci.appspot.com/log/vm-kernel-win-release-x64/dartk-win-release-x64/16719/standalone_2/io/large_file_read_small_file_test

Again today on release: https://dart-ci.appspot.com/log/vm-kernel-win-release-x64/dartk-win-release-x64/16933/standalone_2/io/large_file_read_small_file_test

Again today on debug: https://dart-ci.appspot.com/log/vm-kernel-win-debug-x64/dartk-win-debug-x64/13107/standalone_2/io/large_file_read_small_file_test

Happened once again on dartk-win-release-x64: https://dart-ci.appspot.com/log/vm-kernel-win-release-x64/dartk-win-release-x64/17084/standalone_2/io/large_file_read_small_file_test.

Somehow after the failure was approved it went Timeout -> Pass and then Pass -> Timeout again: https://dart-ci.appspot.com/log/vm-kernel-win-release-x64/dartk-win-release-x64/17101/standalone_2/io/large_file_read_small_file_test


New search model (Algolia) spike draft PR for visibility

Jira ticket URL:
https://dfedigital.atlassian.net/browse/TEVA-615
Changes in this PR:
To see Vacancy index, including examples of records: https://www.algolia.com/apps/QM2YE0HRBW/explorer/browse/Vacancy
You will need to be invited to Todd's Algolia team. One record copied below.
{
  "first_supporting_subject": null,
  "job_description": "We are seeking an inspirational and experienced Business Studies teacher from September 2020. You will be joining a well-resourced department with a relentless focus on raising attainment and recruiting successful students to KS5. Our Academy is on a ra...",
  "job_roles": null,
  "job_title": "Business Studies Teacher",
  "newly_qualified_teacher": false,
  "second_supporting_subject": null,
  "slug": "business-studies-teacher-whitley-academy",
  "status": "published",
  "working_patterns": [
    "full_time"
  ],
  "school": {
    "name": "Whitley Academy",
    "address": "Abbey Road",
    "county": "West Midlands",
    "local_authority": "Coventry",
    "phase": "secondary",
    "postcode": "CV3 4BD",
    "region_name": "West Midlands",
    "town": "Coventry"
  },
  "subject": "Business Studies",
  "expires_on":<PHONE_NUMBER>,
  "publish_on":<PHONE_NUMBER>,
  "starts_on":<PHONE_NUMBER>,
  "updated_at":<PHONE_NUMBER>,
  "_geoloc": {
    "lat": 52.38614499118846,
    "lng": -1.486365476684278
  },
  "objectID": "fff5bc2f-7b7e-48f1-b7bf-c80f85a1d399"
}

Index Vacancy attributes for consumption by Algolia.
To index Vacancy for the first time, run this in the console:
Vacancy.reindex

To reindex Vacancy, use the method with bang:
Vacancy.reindex!
which indexes Vacancy without deleting removed objects.

Next steps:

[ ]

If you want to see more details on which attributes are kept and why: https://docs.google.com/document/d/14hf17sSuQu7N0cBa6tvdC_WwiHHBVJ5aA7xDPQghTT0/edit#heading=h.elvmhss9ye4y

Suggestions for renaming fields to be maximally legible by non-devs using Algolia dashboard. This is motivated by Chris being unclear on what the attributes in the dashboard for the demo search actually meant.
It's easier for iteration purposes to put this as a comment rather than a commit. Any issues?
"expires_on" → "expiry_date"
"starts_on" → "start_date"
"updated_at" → "last_updated_at"
"publish_on" → "publication_date"
"job_description" → "job_summary" (This is to match a recent change in the UI which replaces 'Job description' with Job summary'.)
"newly_qualified_teacher" → "newly_qualified_teacher_status"
"school.region_name" → "school region"
"status" → "listing_status"
"slug" → "url_slug"

Suggestions for renaming fields to be maximally legible by non-devs using Algolia dashboard. This is motivated by Chris being unclear on what the attributes in the dashboard for the demo search actually meant.
It's easier for iteration purposes to put this as a comment rather than a commit. Any issues?
"expires_on" → "expiry_date"
"starts_on" → "start_date"
"updated_at" → "last_updated_at"
"publish_on" → "publication_date"
"job_description" → "job_summary" (This is to match a recent change in the UI which replaces 'Job description' with Job summary'.)
"newly_qualified_teacher" → "newly_qualified_teacher_status"
"school.region_name" → "school region"
"status" → "listing_status"
"slug" → "url_slug"

I think url_slug is a bit redundant. permalink might be a better choice.
job_description can just be dropped altogether.  We can add the summary back in when it's ready (but probably won't want to as it will likely turn out to mostly be low value for search results).

@david-mears-dfe @tatyree   :man-raising-hand::skin-tone-2:
Is this still the spike?

@david-mears-dfe @tatyree   :man-raising-hand::skin-tone-2:
Is this still the spike?

The work was done for the spike, hence the branch name. We're planning to merge it to master to be built on.

@david-mears-dfe You sure you want to merge this into master even if it's a spike?
wouldn't that be confusing?

@david-mears-dfe You sure you want to merge this into master even if it's a spike?
wouldn't that be confusing?

Not to Nuremberg my way out of this one, but my decision to do it is downstream of Todd's recommendation to do it.

@david-mears-dfe @tatyree
Mine was a genuine question not a blocker. Happy to discuss this separately if you want.


Task/sc 7903 deleted user is not visible in class anymore

Description
This is a deletion concept ticket. Deleted user should not be in class anymore. Second scenario tests if deleted teacher is not visible in class anymore.

Links to Tickets or other pull requests
https://ticketsystem.hpi-schul-cloud.org/browse/SC-7903

Changes

Deployment

New Repos, NPM pakages or vendor scripts

Approval for review

[ ] All points were discussed with the ticket creator, support-team or product owner. The code upholds all quality guidelines from the PR-template.

Notice: Please remove the WIP label if the PR is ready to review, otherwise nobody will review it.

Link to Definiton of Done
More and detailed information on the definition of done can be found on Confluence

Will fail because NAT don't work


feature: add logout command

Signed-off-by: Ace-Tang<EMAIL_ADDRESS>
Ⅰ. Describe what this PR did
add a logout command, use for logout from a registry
Ⅱ. Does this pull request fix one issue?

Ⅲ. Describe how you did it
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

Codecov Report

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

@@            Coverage Diff            @@
##           master    #776      +/-   ##
=========================================
- Coverage   13.79%   13.7%   -0.09%
=========================================
  Files         107     108       +1
  Lines        6451    6492      +41
=========================================
  Hits          890     890
- Misses       5502    5543      +41
  Partials       59      59

Impacted Files
Coverage Δ

cli/main.go
0% <0%> (ø)
:arrow_up:

credential/credential.go
0% <0%> (ø)
:arrow_up:

cli/logout.go
0% <0%> (ø)

credential/file_store.go
0% <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 3450a4e...4d13596. Read the comment docs.

LGTM


Questions about implementation details

As introduced in the paper, TransTrack takers composite features (from different frames) as input for transformer during inference.
But I find TransTrack take features from the same frame during training (only supports static-picture training). Moreover, when train current-frame decoder, it doesn't take pre-feature (combine the same features). Am I right?

Does self.decoder trained in forward_once and self.track_decoder trained in forward_train? In forward_once, we change image with shift but keep annotation unchanged. Does that make sense when make loss?

Does self.decoder trained in forward_once and self.track_decoder trained in forward_train? In forward_once, we change image with shift but keep annotation unchanged. Does that make sense when make loss?

It seems that self.decoder_track is trained under torch.randn(1).item() > 0.0 condition, self.decoder is trained otherwise. There are two questions:

when we train self.decoder, the two part feature maps are the same which different from testing stage.
when we train self.decoder_track, we match outputs of modified images with unchanged annotation to get indices.

I think it's hard to understand. Do I miss something important?
Hi~

We tried to train self.decoder with two feature from different images, the result is similar(even a little worse).
We are verifying now changing annotations accordingly, and to see whether it helps. Once we get the result, we will update the result here

It seems that self.decoder_track is trained under torch.randn(1).item() > 0.0 condition, self.decoder is trained otherwise. There are two questions:

when we train self.decoder, the two part feature maps are the same which different from testing stage.
when we train self.decoder_track, we match outputs of modified images with unchanged annotation to get indices.

I think it's hard to understand. Do I miss something important?
Hi~

We tried to train self.decoder with two feature from different images, the result is similar(even a little worse).
We are verifying now changing annotations accordingly, and to see whether it helps. Once we get the result, we will update the result here

It seems that self.decoder_track is trained under torch.randn(1).item() > 0.0 condition, self.decoder is trained otherwise. There are two questions:

when we train self.decoder, the two part feature maps are the same which different from testing stage.
when we train self.decoder_track, we match outputs of modified images with unchanged annotation to get indices.

I think it's hard to understand. Do I miss something important?

Hi~

We tried to train self.decoder with two feature from different images, the result is similar(even a little worse).
We are verifying now changing annotations accordingly, and to see whether it helps. Once we get the result, we will update the result here

Thank you for your reply~

About training self.decoder with different features, I got the same result (a little worse). But I wonder why different training strategy can get improvement.
Looking forward for your updating.

It seems that self.decoder_track is trained under torch.randn(1).item() > 0.0 condition, self.decoder is trained otherwise. There are two questions:

when we train self.decoder, the two part feature maps are the same which different from testing stage.
when we train self.decoder_track, we match outputs of modified images with unchanged annotation to get indices.

I think it's hard to understand. Do I miss something important?

Hi~

We tried to train self.decoder with two feature from different images, the result is similar(even a little worse).
We are verifying now changing annotations accordingly, and to see whether it helps. Once we get the result, we will update the result here

Thank you for your reply~

About training self.decoder with different features, I got the same result (a little worse). But I wonder why different training strategy can get improvement.
Looking forward for your updating.


Open/close colorpicker programmatically

How can I open and close the colorpicker programmatically when it's embedded in another directive?
I've tried using colorpicker-is-open but I always get a $diget error.

Should be solved by replacing $digest with $evalAsync in the library.


Leaflet / openstreet map links only identified by colour

The maps have 'leaflet' link which is identified only by color.
Criteria 1.4.1
Compliance success level A

[x] I've looked at the documentation to make sure the behavior is documented and expected
[x] I'm sure this is a Leaflet code issue, not an issue with my own code nor with the framework I'm using (Cordova, Ionic, Angular, React…)
[x] I've searched through the issues to make sure it's not yet reported

Steps to reproduce
Steps to reproduce the behavior:

View a map
Look at the link text in the bottom right
No visual indication that text is a link other than the colour difference

Expected behavior
When the link has focus or hover it should show an underline or some other visual indicator to pass WCAG compliance.
See https://www.w3.org/TR/UNDERSTANDING-WCAG20/visual-audio-contrast-without-color.html
Current behavior
Only identified by a colour.
See https://www.w3.org/TR/2016/NOTE-WCAG20-TECHS-20161007/F73 for an example failure.
Environment

Leaflet version: all
Browser (with version): all
OS/Platform (with version): all

Success Criterion 1.4.1 Use of Color:

Color is not used as the only visual means of conveying information, indicating an action, prompting a response, or distinguishing a visual element.

There is text-decoration on :hover, so the only issue is that when links/buttons receive focus the outlines aren't persistent, that problem is mainly covered in https://github.com/Leaflet/Leaflet/issues/6986, I think this can be closed in favor of that issue.
P.S. @minorOffense you're referring to WCAG 2.0 documentation, latest recommendation is 2.1.

See https://www.w3.org/TR/UNDERSTANDING-WCAG20/visual-audio-contrast-without-color.html

The latest published version is https://www.w3.org/WAI/WCAG21/Understanding/use-of-color.html (WCAG 2.2 is around the corner).

No visual indication that text is a link other than the colour difference

As long as the difference in lightness (contrast) is 3:1 or greater with the surrounding text they still pass SC 1.4.1 Use of Color. That contrast ratio is currently 2.56.

Expected behavior
When the link has focus or hover it should show an underline

WCAG 2.1 Technique F73 states:
If the non-color cue only happens when the mouse hovers over the link or when the link receives focus, it is still a failure.
so that wouldn't be sufficient, it'd need to always have an underline.
It also states: If the link is a different color and bold it would not fail because the boldness is not color dependent.

In other words, for links not to fail they should meet at least 1 of the following:

Preserve the default text-decoration underline (in the default state, not only on hover/focus)
Use font-weight: bold
Have a contrast ratio of 3:1 with the surrounding text

OTOH, attribution can still be hard to see due to the applied alpha transparency on the attribution container, depending on the underlying graphic. But that's a separate issue.


chore(docs-gen): create plnkr examples with the correct version

What is the current behavior? (You can also link to an open issue here)
Currently, plnkrs are opened with the cdnVersion of the built docs app, which means
that snapshot plunkers might not work because they use the cdn (stable version).
Please check if the PR fulfills these requirements

[x] The commit message follows our guidelines: https://github.com/angular/angular.js/blob/master/CONTRIBUTING.md#commit-message-format

Other information:
Should we update this info for the other deployments too?

One comment, otherwise LGTM

Other than the snapshhot fix it LGTM

@Narretz , shouldn't this be backported to v1.5.x?

I think I didn't backport since the change only affects the snapshot anyway. At least on angularjs.org. But we can backport for consistency

You are right, it is not necessary to backport it (theoretically). I'll backport it anyway for consistency :grin:


Using element(by.xpath)-> is causing FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - process out of memory

Using element(by.xpath)-> is causing FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - process out of memory.

Node Version: `:- V4.3.1

Protractor Version: `:- 3.3.0

Browser(s): Chrome

Operating System and Version :- Windows 10, Windows server 2012 R2

Your protractor configuration file

A relevant example test

Steps to reproduce the bug

locate a element using xpath
` Var el=element(by.xpath("//tcc-banner//div[@class='banner-right']//div[text()='NEW QORDERI2 CASE']"));``

Use JS to scroll into view to that element. Below is the function for that.

scrollAndClick(el);

this.scrollAndClick = function(element) {
        browser.executeScript(arguments[0].scrollIntoView(), element);
        element.click();
    };

Run the tests.

Output from running the test:-

Exceptions:-
Started
<--- Last few GCs --->
113789 ms: Mark-sweep 1325.3 (1456.9) -> 1329.5 (1456.9) MB, 3702.4 / 0 ms [allocation failure] [GC in old space requested].
117537 ms: Mark-sweep 1329.5 (1456.9) -> 1329.5 (1456.9) MB, 3747.9 / 0 ms [allocation failure] [GC in old space requested].
121527 ms: Mark-sweep 1329.5 (1456.9) -> 1325.3 (1456.9) MB, 3988.4 / 0 ms [last resort gc].
125012 ms: Mark-sweep 1325.3 (1456.9) -> 1325.3 (1456.9) MB, 3484.2 / 0 ms [last resort gc].
<--- JS stacktrace --->
==== JS stack trace =========================================
Security context: 000001E8ABBB4639
3: addCallback_ [C:\Users\pkajale\AppData\Roaming\npm\node_modules\protractor\node_modules\selenium-webdriver\lib\promise.js:~1278] [pc=000000293803D99B] (this=0000008E6D24F199 <a Promise with map 0000003BDF2C5CF1>,callback=0000031C0CEF2CE1 <JS Function toWireValue (SharedFunctionInfo 00000235E9E55919)>,errback=000001E8ABB041B9 ,name=000001E8ABB671F9 <String[4]: then>,fn=000002...
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - process out of memory.
If we locate the element with browser.findElement(by.xpath()); This works.

Hi there,
Please follow the Issue Template when opening new issues. Otherwise it's unclear what the issue is and how we can actually help.
I'm going to close this issue, please re-open a new one following the issue template linked above. Thanks! 😄

Updated the description


Allow Drive to submit a form when spot-enabled but submitter is null

Fixes #392
When you disable Turbo Drive wholesale with Turbo.session.drive = false and spot enable it on a form without a submit button with data-turbo=true Turbo Drive still wouldn't fire because it couldn't verify that the submitter (which was null) had a container where turbo was enabled.
This pulls in the fix @willcosgrove recommends as it's wise to never assume the DOM placement and logic for a submitter that is null.

Would be good with a test for this.

Would be good with a test for this.

I agree. Working on it.

@dhh Ok I have a working test that simulates @willcosgrove's initial situation. Let me know if you need anything else.

Boom!


Updated stock price prediciton

Removed classification metrics such as accuracy, precision, recall, F1 score, and confusion matrix from the evaluation of a regression model.
I have uploaded the updated notebook under the Python File Folder.
Fixes #22 #64

The conflict is arising because of the invalid file of Stock_price_prediction which is not getting opened also


A new 'Could not find "store" in context or props' issue

I'm testing out react-redux on react-native and can't seem to get past this issue. I have it set up exactly as shown in the docs and continue to get the context error.
const React = require('react-native');
const {
    View,
    Text
} = React;
const {
    Provider,
    connect,
} = require('react-redux/native');
const Redux = require('redux');
const reducers = require('./reducers');

const engine = Redux.combineReducers(reducers);
const store = Redux.createStore(engine);
// store.getState() returns the object i'd expect { test: 'foo' }

class Test extends React.Component {
    render() {
        return (
            <View>
                // injected from state
                <Text>{this.props.test}</Text>
            </View>
        );
    }
}

class Foo extends React.Component {
    render() {
        return (
            <Provider store={store}>
                {() => <Test />}
            </Provider>
        );
    }
}

module.exports = connect(state => state)(Foo);

Looks like you need pass Test to connect, not Foo.

Yes, you probably wanted this instead
const React = require('react-native');
const {
    View,
    Text
} = React;
const {
    Provider,
    connect,
} = require('react-redux/native');
const Redux = require('redux');
const reducers = require('./reducers');

const engine = Redux.combineReducers(reducers);
const store = Redux.createStore(engine);
// store.getState() returns the object i'd expect { test: 'foo' }

class Test extends React.Component {
    render() {
        return (
            <View>
                // injected from state
                <Text>{this.props.test}</Text>
            </View>
        );
    }
}

Test = connect(state => state)(Test);

class Foo extends React.Component {
    render() {
        return (
            <Provider store={store}>
                {() => <Test />}
            </Provider>
        );
    }
}

module.exports = Foo;

UGH.

:+1: Ran into the same thing. Thanks, @gaearon & @theaqua.


Update to reflect changes in creating Azure Function Apps

Category

[x ] Content fix
[ ] New article
Related issues: fixes #X, partially #Y, mentioned in #Z

What's in this Pull Request?
Updates document to reflect changes in creating a Function app in Azure

:x: Validation status: errors

File
Status
Preview URL
Details

:x:Error

Details

[Error] Cannot sync git repo to specified state. Please make sure the pull request is mergeable. Details: Git merge results in conflict, repository remote url: https://github.com/SharePoint/sp-dev-docs, working directory: W:\4zkl-s, target branch: master, target branch commit: 393cc6938b390533b48a59b9a0cc108d317f465f, source branch: 4d3811c4d5cf45c488e724f5670644f3/functionappupdates, source branch commit: .
Learn more: https://help.github.com/articles/resolving-a-merge-conflict-using-the-command-line/

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Publish 08/11/2021, 10:30 AM

Docs Build status updates of commit f78e52b:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

close/reopen to effect build

Docs Build status updates of commit f78e52b:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/Set-VivaInsightsSettings.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Test-IRMConfiguration.md
:white_check_mark:Succeeded
View (exchange-ps)

teams/teams-ps/teams/New-CsTeamsShiftsPolicy.md
:white_check_mark:Succeeded
View (teams-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


[opentitantool] add a command to export a public key to header file

The "show" command can be used to display a key but the output formats supported are only json, json5, etc. It does not make sense to add an output format just for the ROM since it is so specific to this particular command. Instead I created another command that output the header that can be used in the ROM/ROM_EXT.

I forgot to mention: looks like you just need to re-run rustfmt to make CI happy.

I have updated the PR. I also added a comment about bazel stamping since it might not be obvious (it definitely was not to me when I first looked into running the unittest).


Don't require SPHINX_BUILD to import packages

Note: This is the first of a series of preparatory PRs to get #517 merged. I'm trying to split out all not strictly related commits to make sure we run all the tests and are able to back out individual parts as needed. @themperek please double-check the commit messages and let me know if they are wrong/misleading or too short to explain the change in sufficient detail.
Previously, the SPHINX_BUILD environment variable was required to import
the cocotb packages without the corresponding simulation extensions
being present. This behavior breaks when documenting code, e.g. with
Sphinx, but it also breaks when creating a cocotb package, as setuptools
rely on introspection of the package.
This commit turns things around: In the default case, cocotb can be
imported without the simulator extensions. Only if COCOTB_SIM is set,
the simulator extensions are being included as well.
In all simulator Makefiles we now set COCOTB_SIM.

as setuptools
rely on introspection of the package

I'm not sure I agree with this rationale. Setuptools should not be trying to import the package it's installing.
Change is probably a good idea anyway though.

@eric-wieser Some things are loaded in __init__.py so always.  We want to have a script like cocotb-config (that does not require simulator) this need to change.

@themperek Ah ok, so the motivation for this change (apart from sphinx) is cocotb-config, not setuptools? Then I'll update the commit message in this regard.

@imphil Both. Setup tools will try to make executable and import cocotb (this will fail) also calling cocotb-config would fail (for this would be a workaround to set SPHINX_BUILD but this is ugly).

I wasn't really able to reproduce the setuptools/distutils case, always importing the simulator library doesn't cause setup.py sdist or setup.py bdist to fail on Python 2.7 or 3.7. Anyways, it's not really a critical whether we have two or three reasons to do this change. I've updated the commit message to not state false facts, and will merge this after Travis completes.


vite build take a long time when Automatically introduce some custom components

When I use unplugin Vue components to automatically import my custom components, vite packaging is very slow, with a time of 80 seconds, but when I manually import it, the packaging time is 20 seconds

I would need to reproduction to have a closer look

demo
page: src/views/NewTask.vue
line: 54 55

Was there a resolution for this?


unit type is not abi encodable at crates/abi/src/elements.rs:109:27 (another 'unit type encoding' variant)

Compiling this file:
contract o
 event t
  e:()

thread 'main' panicked at 'unit type is not abi encodable', crates/abi/src/elements.rs:109:27
stack backtrace:
   0:     0x563d37ce0280 - std::backtrace_rs::backtrace::libunwind::trace::h63b7a90188ab5fb3
                               at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5
   1:     0x563d37ce0280 - std::backtrace_rs::backtrace::trace_unsynchronized::h80aefbf9b851eca7
                               at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
   2:     0x563d37ce0280 - std::sys_common::backtrace::_print_fmt::hbef05ae4237a4d72
                               at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/sys_common/backtrace.rs:67:5
   3:     0x563d37ce0280 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h28abce2fdb9884c2
                               at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/sys_common/backtrace.rs:46:22
   4:     0x563d37cf8fcf - core::fmt::write::h3b84512577ca38a8
                               at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/core/src/fmt/mod.rs:1092:17
   5:     0x563d37cddba2 - std::io::Write::write_fmt::h465f8feea02e2aa1
                               at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/io/mod.rs:1572:15
   6:     0x563d37ce2415 - std::sys_common::backtrace::_print::h525280ee0d29bdde
                               at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/sys_common/backtrace.rs:49:5
   7:     0x563d37ce2415 - std::sys_common::backtrace::print::h1f0f5b9f3ef8fb78
                               at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/sys_common/backtrace.rs:36:9
   8:     0x563d37ce2415 - std::panicking::default_hook::{{closure}}::ha5838f6faa4a5a8f
                               at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/panicking.rs:208:50
   9:     0x563d37ce1ec3 - std::panicking::default_hook::hfb9fe98acb0dcb3b
                               at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/panicking.rs:225:9
  10:     0x563d37c2bd16 - fe_common::panic::DEFAULT_PANIC_HOOK::{{closure}}::{{closure}}::h0c65fa1148ba1b12

You've hit an internal compiler error. This is a bug in the Fe compiler.
Fe is still under heavy development, and isn't yet ready for production use.

If you would, please report this bug at the following URL:
  https://github.com/ethereum/fe/issues/new
Aborted

Using
[profile.dev]
debug = true
panic = "abort"

for fuzzing.  Using https://github.com/agroce/afl-compiler-fuzzer

fixed in https://github.com/ethereum/fe/pull/676


Late reset

Rebased on top of master.

Here's another take along the lines you suggested, which I think looks nicer anyway.


Possible regression with custom reducers

Are you submitting a bug report or a feature request?

Bug
What is the current behavior?

I think there was a regression in the latest release. Prior to 7.1.0, custom reducers defined by reducer.plugin would receive app actions. In 7.1.0, they only receive redux-form actions.
What is the expected behavior?
That custom reducers provided through reducer.plugin receive app actions, like AUTH_LOGIN_FAIL in the example on https://redux-form.com/7.1.0/docs/api/reducerplugin.md/
Sandbox Link

What's your environment?

redux-form 7.1.0
Other information

Many thanks for the library. Always a pleasure to work with.

Excellently described. Thanks!

Published fix in v7.1.1.


[task] Upgrade vulnerable system asset jquery 3.3.1

Hi,
while scanning my website there was found a vulnerability. Jquery3 library should be upgraded to new minor.
Reference:
https://snyk.io/vuln/npm:jquery?lh=3.3.1
Best wishes

This was already updated in Grav 1.7, but i've also upgraded in 1.6/develop branch already.

@rhukster Thanks and sorry I thought that develop is the latest branch.


Benefits : sections removed

The original "benefits" page from the "deep dive" included 5 sections.
Two of these sections were taken from another page from the "official guide".
Let's discuss how/if they could be written

Those 5 sections and title 'Benefits of OMG Network' appear to come from website homepage: https://omisego.network/
So, in current 'benefits.md' we have the website's title 'Benefits of....' kinda confusingly mixed with the Official Guide's longer statements on 'Security' and 'Scalability' - - I found the missing reference to 'Mainstream adoption' at bottom of guide/docs/network/adoption.md.
For now, I will revise benefits.md to simply include the missing 'Mainstream adoption' reference from Guide. Let me know if you think we should add the websites' short statements on "Interoperability" and "Decentralized" - - not sure if we are including anything else from website.

Deleted separate benefits page; closing this issue - see https://github.com/OMGnetwork/guide/pull/12


Regarding the problem of the "plot_model" reporting an error under the Anaconda environment.

I've already used the command "conda install pydot" to install pydot. Besides, graphviz has been installed too, and I've also set the PATH.

os->windows 11
pydot=3.0.2
graphviz=12.2.1

dot -V
dot - graphviz version 12.2.1 (20241206.2353)

However, the following errors will still occur when using plot_model.
---------------------------------------------------------------------------
FileNotFoundError                         Traceback (most recent call last)
File D:\ProgramData\miniconda3\envs\python39\lib\site-packages\pydot\core.py:1851, in Dot.create(self, prog, format, encoding)
   1850 try:
-> 1851     stdout_data, stderr_data, process = call_graphviz(
   1852         program=prog,
   1853         arguments=arguments,
   1854         working_dir=tmp_dir,
   1855     )
   1856 except OSError as e:

File D:\ProgramData\miniconda3\envs\python39\lib\site-packages\pydot\core.py:211, in call_graphviz(program, arguments, working_dir, **kwargs)
    209 program_with_args = [program] + arguments
--> 211 process = subprocess.Popen(
    212     program_with_args,
    213     env=env,
    214     cwd=working_dir,
    215     shell=False,
    216     stderr=subprocess.PIPE,
    217     stdout=subprocess.PIPE,
    218     **kwargs,
    219 )
    220 stdout_data, stderr_data = process.communicate()

File D:\ProgramData\miniconda3\envs\python39\lib\subprocess.py:951, in Popen.__init__(self, args, bufsize, executable, stdin, stdout, stderr, preexec_fn, close_fds, shell, cwd, env, universal_newlines, startupinfo, creationflags, restore_signals, start_new_session, pass_fds, user, group, extra_groups, encoding, errors, text, umask)
    948             self.stderr = io.TextIOWrapper(self.stderr,
    949                     encoding=encoding, errors=errors)
--> 951     self._execute_child(args, executable, preexec_fn, close_fds,
    952                         pass_fds, cwd, env,
    953                         startupinfo, creationflags, shell,
    954                         p2cread, p2cwrite,
    955                         c2pread, c2pwrite,
    956                         errread, errwrite,
    957                         restore_signals,
    958                         gid, gids, uid, umask,
    959                         start_new_session)
    960 except:
    961     # Cleanup if the child failed starting.

File D:\ProgramData\miniconda3\envs\python39\lib\subprocess.py:1420, in Popen._execute_child(self, args, executable, preexec_fn, close_fds, pass_fds, cwd, env, startupinfo, creationflags, shell, p2cread, p2cwrite, c2pread, c2pwrite, errread, errwrite, unused_restore_signals, unused_gid, unused_gids, unused_uid, unused_umask, unused_start_new_session)
   1419 try:
-> 1420     hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
   1421                              # no special security
   1422                              None, None,
   1423                              int(not close_fds),
   1424                              creationflags,
   1425                              env,
   1426                              cwd,
   1427                              startupinfo)
   1428 finally:
   1429     # Child is launched. Close the parent's copy of those pipe
   1430     # handles that only the child should have open.  You need
   (...)
   1433     # pipe will not close when the child process exits and the
   1434     # ReadFile will hang.

FileNotFoundError: [WinError 2] 系统找不到指定的文件。

During handling of the above exception, another exception occurred:

FileNotFoundError                         Traceback (most recent call last)
File D:\ProgramData\miniconda3\envs\python39\lib\site-packages\keras\utils\vis_utils.py:57, in check_graphviz()
     54 try:
     55     # Attempt to create an image of a blank graph
     56     # to check the pydot/graphviz installation.
---> 57     pydot.Dot.create(pydot.Dot())
     58     return True

File D:\ProgramData\miniconda3\envs\python39\lib\site-packages\pydot\core.py:1860, in Dot.create(self, prog, format, encoding)
   1859     args[1] = f'"{prog}" not found in path.'
-> 1860     raise OSError(*args)
   1861 else:

FileNotFoundError: [WinError 2] "dot" not found in path.

During handling of the above exception, another exception occurred:

AttributeError                            Traceback (most recent call last)
Cell In[21], line 1
----> 1 utils.plot_model(model,show_shapes=True)

File D:\ProgramData\miniconda3\envs\python39\lib\site-packages\keras\utils\vis_utils.py:436, in plot_model(model, to_file, show_shapes, show_dtype, show_layer_names, rankdir, expand_nested, dpi, layer_range, show_layer_activations)
    429 if not model.built:
    430     raise ValueError(
    431         "This model has not yet been built. "
    432         "Build the model first by calling `build()` or by calling "
    433         "the model on a batch of data."
    434     )
--> 436 if not check_graphviz():
    437     message = (
    438         "You must install pydot (`pip install pydot`) "
    439         "and install graphviz "
    440         "(see instructions at https://graphviz.gitlab.io/download/) "
    441         "for plot_model to work."
    442     )
    443     if "IPython.core.magics.namespace" in sys.modules:
    444         # We don't raise an exception here in order to avoid crashing
    445         # notebook tests where graphviz is not available.

File D:\ProgramData\miniconda3\envs\python39\lib\site-packages\keras\utils\vis_utils.py:59, in check_graphviz()
     57     pydot.Dot.create(pydot.Dot())
     58     return True
---> 59 except (OSError, pydot.InvocationException):
     60     return False

AttributeError: module 'pydot' has no attribute 'InvocationException'

By analyzing the error messages and the source code, the causes of the errors are found as follows:
1.  vis_utils.py   plot_model()
2.   vis_utils.py   model_to_dot()
3.   vis_utils.py   _check_pydot()
4.   vis_utils.py   pydot.Dot.create(pydot.Dot())

test
import pydot
pydot.Dot.create(pydot.Dot())

---------------------------------------------------------------------------
FileNotFoundError                         Traceback (most recent call last)
File D:\ProgramData\miniconda3\envs\python39\lib\site-packages\pydot\core.py:1851, in Dot.create(self, prog, format, encoding)
   1850 try:
-> 1851     stdout_data, stderr_data, process = call_graphviz(
   1852         program=prog,
   1853         arguments=arguments,
   1854         working_dir=tmp_dir,
   1855     )
   1856 except OSError as e:

File D:\ProgramData\miniconda3\envs\python39\lib\site-packages\pydot\core.py:211, in call_graphviz(program, arguments, working_dir, **kwargs)
    209 program_with_args = [program] + arguments
--> 211 process = subprocess.Popen(
    212     program_with_args,
    213     env=env,
    214     cwd=working_dir,
    215     shell=False,
    216     stderr=subprocess.PIPE,
    217     stdout=subprocess.PIPE,
    218     **kwargs,
    219 )
    220 stdout_data, stderr_data = process.communicate()

File D:\ProgramData\miniconda3\envs\python39\lib\subprocess.py:951, in Popen.__init__(self, args, bufsize, executable, stdin, stdout, stderr, preexec_fn, close_fds, shell, cwd, env, universal_newlines, startupinfo, creationflags, restore_signals, start_new_session, pass_fds, user, group, extra_groups, encoding, errors, text, umask)
    948             self.stderr = io.TextIOWrapper(self.stderr,
    949                     encoding=encoding, errors=errors)
--> 951     self._execute_child(args, executable, preexec_fn, close_fds,
    952                         pass_fds, cwd, env,
    953                         startupinfo, creationflags, shell,
    954                         p2cread, p2cwrite,
    955                         c2pread, c2pwrite,
    956                         errread, errwrite,
    957                         restore_signals,
    958                         gid, gids, uid, umask,
    959                         start_new_session)
    960 except:
    961     # Cleanup if the child failed starting.

File D:\ProgramData\miniconda3\envs\python39\lib\subprocess.py:1420, in Popen._execute_child(self, args, executable, preexec_fn, close_fds, pass_fds, cwd, env, startupinfo, creationflags, shell, p2cread, p2cwrite, c2pread, c2pwrite, errread, errwrite, unused_restore_signals, unused_gid, unused_gids, unused_uid, unused_umask, unused_start_new_session)
   1419 try:
-> 1420     hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
   1421                              # no special security
   1422                              None, None,
   1423                              int(not close_fds),
   1424                              creationflags,
   1425                              env,
   1426                              cwd,
   1427                              startupinfo)
   1428 finally:
   1429     # Child is launched. Close the parent's copy of those pipe
   1430     # handles that only the child should have open.  You need
   (...)
   1433     # pipe will not close when the child process exits and the
   1434     # ReadFile will hang.

FileNotFoundError: [WinError 2] 系统找不到指定的文件。

During handling of the above exception, another exception occurred:

FileNotFoundError                         Traceback (most recent call last)
Cell In[22], line 1
----> 1 pydot.Dot.create(pydot.Dot())

File D:\ProgramData\miniconda3\envs\python39\lib\site-packages\pydot\core.py:1860, in Dot.create(self, prog, format, encoding)
   1858     args = list(e.args)
   1859     args[1] = f'"{prog}" not found in path.'
-> 1860     raise OSError(*args)
   1861 else:
   1862     raise

FileNotFoundError: [WinError 2] "dot" not found in path.

The reason for the error of pydot.Dot.create() lies right here. An exception is thrown when call_graphviz is called within the create function. It can be seen that the program parameter of call_graphviz has prog = self.prog = 'dot' passed in.
After Graphviz is installed in Windows, there is only the dot program with the .exe suffix. However, in core.py, when determining whether it's in the Windows and Anaconda environments, the suffix ultimately obtained is .bat.

Please look into what the specific reason is. Currently, I can use it normally by modifying the source code of Pydot to force the reading of dot.exe. For the Windows version provided on the Graphviz official website, whether it's the source code version or the EXE version, after installation, there is dot.exe in the bin directory.

I'm not a conda expert and I don't have access to it currently, but have you tried installing dot through conda:
(What I see is: conda install graphviz or conda install -c anaconda graphviz) ?

I think that might solve the issue. But I fully agree, we have to check both for .bat and .exe for Windows users.
Related: https://github.com/pydot/pydot/issues/205


Chemotactic response of marine bacteria

Add a model of chemotaxis for marine bacteria following Xie, L., Lu, C. & Wu, X.-L. Marine Bacterial Chemoresponse to a Stepwise Chemoattractant Stimulus. Biophys. J. 108, 766–774 (2015).
They develop the analytical form and provide parameters for V. alginolyticus.
Numerical implementation of the model requires an approach similar to that adopted for the Celani model (#13), where by the dynamics of the instantaneous tumbling rate is regulated by internal Markovian variables.

Just noticed this might need a rewrite of Motility types.
I am not 100% satisfied with how they work right now but still it's not obvious to me how to improve them without overcomplicating things.
The important factor here is that the Xie model applies to V.alg. which moves by run-reverse and has different response amplitudes for forward vs backward swimming; so the turnrate function must know whether the microbe is moving forward or backward, an information which does not exist currently in the RunReverse type.


[Hold for payment 2024-10-16] Public room - "Use the + button to or split an expense." is not consistent and incomplete

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 9.0.46-1
Reproducible in staging?: Y
Reproducible in production?: N/A - new feature, doesn't exist in prod
Email or phone of affected tester (no customers<EMAIL_ADDRESS>Issue reported by: Applause Internal Team
Action Performed:

Go to staging.new.expensify.com
Create a public room.
Note that there is no "Use the + button to or split an expense." message.
Navigate to the public room anonymously in incognito window.
Note that there is "Use the + button to or split an expense." message and it is incomplete.

Expected Result:
In Step 3 and 5, the appearance of the message "Use the + button to or split an expense." should be consistent.
The message should be complete.
Actual Result:
In Step 3, the message does not appear after the room is created.
In Step 5, the message only appears after it is visited anonymously.
The message "Use the + button to or split an expense." is also not complete (Use the + button to ..)
The same incomplete message also appears in group chat.
The message does not appear after relogin for public room.
Workaround:
Unknown
Platforms:

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

Screenshots/Videos
https://github.com/user-attachments/assets/5117b217-3a9d-4939-9398-b68754e29f06

View all open jobs on GitHub

Fixed with this PR https://github.com/Expensify/App/pull/50384

This was fixed and CPed. All that's required left here is C+ payment for review to @jayeshmangwani

not overdue, payment on Wednesday

Payment summary:

@jayeshmangwani $250 for C+ review - please request in ND

$250 approved for @jayeshmangwani


Installing on AKS fails to pull image from GHCR

I'm trying to install Flux V2 using the terraform provider on a AKS cluster.  However, it fails to pull image from the GitHub container registry
AKS Version : 1.19.7
Error : Failed to pull image "ghcr.io/fluxcd/helm-controller:v0.9.0": rpc error: code = Unknown desc = failed to pull and unpack image "ghcr.io/fluxcd/helm-controller:v0.9.0": failed to resolve reference "ghcr.io/fluxcd/helm-controller:v0.9.0": failed to do request: Head https://ghcr.io/v2/fluxcd/helm-controller/manifests/v0.9.0: EOF
Note :  Kubernetes v1.19 or greater default to containerd for its container runtime.

This sounds like a networking issue as I am running multiple 1.19.7 AKS clusters with Fluxv2 on them. Have you deployed other applications in the cluster which pull images from the public internet? One suggestion is that you deploy podinfo manually to see if that works as it will also pull its image from ghcr.

@phillebaba you are right there was firewall rule blocking GHCR. This is good to close.

Great! Happy to hear that the problem is solved :smile:


Fully test the suite

[x] Require full coverage
[x] Include coverage report by default
[x] Add missing tests for new Maybe functions
[x] Use describe to organize Maybe tests
[x] Add tests for Result


ResponseRecorder for easy to unit test handler function

I created ResponseRecorder for unit test handler function. I think it useful when create handler without settings App before.
This is example
package test

import (
	"net/http"
	"testing"

	"github.com/ant0ine/go-json-rest/rest"
)

func helloHandler(w rest.ResponseWriter, r *rest.Request) {
	w.WriteJson(map[string]string{"hello": r.PathParam("name")})
}

func TestRecorder(t *testing.T) {
	var (
		recorder = NewRecorder()
		req, _   = http.NewRequest("GET", "http://localhost/hello/yourname", nil)
		r        = &rest.Request{
			Request:    req,
			PathParams: map[string]string{"name": "yourname"},
		}
	)

	helloHandler(recorder, r)

	if recorder.Code != http.StatusOK {
		t.Error("expect status 200")
	}
	if recorder.Body.String() != `{"hello":"yourname"}` {
		t.Error("expect body", recorder.Body.String())
	}
}

please review
Thanks.

Hi @wingyplus, thanks for your pull request!
What is the benefit of this ResponseWriter comparing to the recorder already provided here: https://github.com/ant0ine/go-json-rest/blob/master/rest/test/util.go ?

@ant0ine Recored in util.go must be make http.Handler before. I think it's good when we want to integration test (example test middleware is work when NewApp), but ResponseRecorder make for test logic in handler function no more setup App before.
Thanks

@ant0ine did you have any comment about this feature?

:+1: for this


storage.saveFile failed to run correctly when string contains double quote

if markdownFile contains "something" it will interfere with the sql syntax.
The content will be saved. No error is thrown for this issue too.
alasql.promise([stringManipulator.stringConcat('UPDATE ', constants.ENTITIES_FILE_MANAGER,
                                                                   ' SET ', constants.HEADER_FILE_MANAGER_FILE_MARKDOWN,
                                                                   ' = "', markdownFile,
                                                                   '" WHERE ', constants.HEADER_FILE_MANAGER_FILE_ID,
                                                                   ' = ', fileId)])

Possible solution is to encode the string to base64 before the content get passed to this function.
Then decode the base64 when loading the file back.

done in commit 8d608a7d6fbc5303902ef28fb4a62cf0097b88c9 and f0fb236309d9d605ec3679a46d19c4f90e2a9ec7


Error when building librealsense from source with python3.11

Required Info

Operating System & Version
Linux (Ubuntu 20.04)

Kernel Version (Linux Only)
5.4.0-131-generic

Platform
PC

SDK Version
2.42.0

Issue Description
I've run into an error when building librealsense from source with python3.11. The command used to build:
cmake .. -DBUILD_EXAMPLES=true -DBUILD_PYTHON_BINDINGS=true -DPYTHON_INCLUDE_DIRS=/usr/local/include/python3.11 -DPYTHON_LIBRARIES=/usr/local/lib/python3.11/site-packages

make install

Resulting error:
[ 43%] Linking CXX shared library librealsense2.so
[ 43%] Built target realsense2
Scanning dependencies of target pybackend2
[ 43%] Building CXX object wrappers/python/CMakeFiles/pybackend2.dir/pybackend.cpp.o
In file included from /home/arb/py311-librealsense/build/third-party/pybind11/include/pybind11/attr.h:13,
                 from /home/arb/py311-librealsense/build/third-party/pybind11/include/pybind11/pybind11.h:45,
                 from /home/arb/py311-librealsense/wrappers/python/pybackend.cpp:4:
/home/arb/py311-librealsense/build/third-party/pybind11/include/pybind11/cast.h: In function ‘std::string pybind11::detail::error_string()’:
/home/arb/py311-librealsense/build/third-party/pybind11/include/pybind11/cast.h:446:36: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’}
  446 |                 "  " + handle(frame->f_code->co_filename).cast<std::string>() +
      |                                    ^~
In file included from /usr/local/include/python3.11/Python.h:42,
                 from /home/arb/py311-librealsense/build/third-party/pybind11/include/pybind11/detail/common.h:122,
                 from /home/arb/py311-librealsense/build/third-party/pybind11/include/pybind11/pytypes.h:12,
                 from /home/arb/py311-librealsense/build/third-party/pybind11/include/pybind11/cast.h:13,
                 from /home/arb/py311-librealsense/build/third-party/pybind11/include/pybind11/attr.h:13,
                 from /home/arb/py311-librealsense/build/third-party/pybind11/include/pybind11/pybind11.h:45,
                 from /home/arb/py311-librealsense/wrappers/python/pybackend.cpp:4:
/usr/local/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’}
   22 | typedef struct _frame PyFrameObject;
      |                ^~~~~~
In file included from /home/arb/py311-librealsense/build/third-party/pybind11/include/pybind11/attr.h:13,
                 from /home/arb/py311-librealsense/build/third-party/pybind11/include/pybind11/pybind11.h:45,
                 from /home/arb/py311-librealsense/wrappers/python/pybackend.cpp:4:
/home/arb/py311-librealsense/build/third-party/pybind11/include/pybind11/cast.h:446:75: error: expected primary-expression before ‘>’ token
  446 |                 "  " + handle(frame->f_code->co_filename).cast<std::string>() +
      |                                                                           ^
/home/arb/py311-librealsense/build/third-party/pybind11/include/pybind11/cast.h:446:77: error: expected primary-expression before ‘)’ token
  446 |                 "  " + handle(frame->f_code->co_filename).cast<std::string>() +
      |                                                                             ^
/home/arb/py311-librealsense/build/third-party/pybind11/include/pybind11/cast.h:448:29: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’}
  448 |                 handle(frame->f_code->co_name).cast<std::string>() + "\n";
      |                             ^~
In file included from /usr/local/include/python3.11/Python.h:42,
                 from /home/arb/py311-librealsense/build/third-party/pybind11/include/pybind11/detail/common.h:122,
                 from /home/arb/py311-librealsense/build/third-party/pybind11/include/pybind11/pytypes.h:12,
                 from /home/arb/py311-librealsense/build/third-party/pybind11/include/pybind11/cast.h:13,
                 from /home/arb/py311-librealsense/build/third-party/pybind11/include/pybind11/attr.h:13,
                 from /home/arb/py311-librealsense/build/third-party/pybind11/include/pybind11/pybind11.h:45,
                 from /home/arb/py311-librealsense/wrappers/python/pybackend.cpp:4:
/usr/local/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’}
   22 | typedef struct _frame PyFrameObject;
      |                ^~~~~~
In file included from /home/arb/py311-librealsense/build/third-party/pybind11/include/pybind11/attr.h:13,
                 from /home/arb/py311-librealsense/build/third-party/pybind11/include/pybind11/pybind11.h:45,
                 from /home/arb/py311-librealsense/wrappers/python/pybackend.cpp:4:
/home/arb/py311-librealsense/build/third-party/pybind11/include/pybind11/cast.h:448:64: error: expected primary-expression before ‘>’ token
  448 |                 handle(frame->f_code->co_name).cast<std::string>() + "\n";
      |                                                                ^
/home/arb/py311-librealsense/build/third-party/pybind11/include/pybind11/cast.h:448:66: error: expected primary-expression before ‘)’ token
  448 |                 handle(frame->f_code->co_name).cast<std::string>() + "\n";
      |                                                                  ^
/home/arb/py311-librealsense/build/third-party/pybind11/include/pybind11/cast.h:449:26: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’}
  449 |             frame = frame->f_back;
      |                          ^~
In file included from /usr/local/include/python3.11/Python.h:42,
                 from /home/arb/py311-librealsense/build/third-party/pybind11/include/pybind11/detail/common.h:122,
                 from /home/arb/py311-librealsense/build/third-party/pybind11/include/pybind11/pytypes.h:12,
                 from /home/arb/py311-librealsense/build/third-party/pybind11/include/pybind11/cast.h:13,
                 from /home/arb/py311-librealsense/build/third-party/pybind11/include/pybind11/attr.h:13,
                 from /home/arb/py311-librealsense/build/third-party/pybind11/include/pybind11/pybind11.h:45,
                 from /home/arb/py311-librealsense/wrappers/python/pybackend.cpp:4:
/usr/local/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’}
   22 | typedef struct _frame PyFrameObject;
      |                ^~~~~~
In file included from /home/arb/py311-librealsense/wrappers/python/pybackend.cpp:4:
/home/arb/py311-librealsense/build/third-party/pybind11/include/pybind11/pybind11.h: In function ‘pybind11::function pybind11::detail::get_type_override(const void*, const pybind11::detail::type_info*, const char*)’:
/home/arb/py311-librealsense/build/third-party/pybind11/include/pybind11/pybind11.h:2218:49: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘frame’; did you mean ‘cframe’?
 2218 |     PyFrameObject *frame = PyThreadState_Get()->frame;
      |                                                 ^~~~~
      |                                                 cframe
/home/arb/py311-librealsense/build/third-party/pybind11/include/pybind11/pybind11.h:2219:41: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’}
 2219 |     if (frame && (std::string) str(frame->f_code->co_name) == name &&
      |                                         ^~
In file included from /usr/local/include/python3.11/Python.h:42,
                 from /home/arb/py311-librealsense/build/third-party/pybind11/include/pybind11/detail/common.h:122,
                 from /home/arb/py311-librealsense/build/third-party/pybind11/include/pybind11/pytypes.h:12,
                 from /home/arb/py311-librealsense/build/third-party/pybind11/include/pybind11/cast.h:13,
                 from /home/arb/py311-librealsense/build/third-party/pybind11/include/pybind11/attr.h:13,
                 from /home/arb/py311-librealsense/build/third-party/pybind11/include/pybind11/pybind11.h:45,
                 from /home/arb/py311-librealsense/wrappers/python/pybackend.cpp:4:
/usr/local/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’}
   22 | typedef struct _frame PyFrameObject;
      |                ^~~~~~
In file included from /home/arb/py311-librealsense/wrappers/python/pybackend.cpp:4:
/home/arb/py311-librealsense/build/third-party/pybind11/include/pybind11/pybind11.h:2220:14: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’}
 2220 |         frame->f_code->co_argcount > 0) {
      |              ^~
In file included from /usr/local/include/python3.11/Python.h:42,
                 from /home/arb/py311-librealsense/build/third-party/pybind11/include/pybind11/detail/common.h:122,
                 from /home/arb/py311-librealsense/build/third-party/pybind11/include/pybind11/pytypes.h:12,
                 from /home/arb/py311-librealsense/build/third-party/pybind11/include/pybind11/cast.h:13,
                 from /home/arb/py311-librealsense/build/third-party/pybind11/include/pybind11/attr.h:13,
                 from /home/arb/py311-librealsense/build/third-party/pybind11/include/pybind11/pybind11.h:45,
                 from /home/arb/py311-librealsense/wrappers/python/pybackend.cpp:4:
/usr/local/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’}
   22 | typedef struct _frame PyFrameObject;
      |                ^~~~~~
In file included from /home/arb/py311-librealsense/wrappers/python/pybackend.cpp:4:
/home/arb/py311-librealsense/build/third-party/pybind11/include/pybind11/pybind11.h:2223:18: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’}
 2223 |             frame->f_locals, PyTuple_GET_ITEM(frame->f_code->co_varnames, 0));
      |                  ^~
In file included from /usr/local/include/python3.11/Python.h:42,
                 from /home/arb/py311-librealsense/build/third-party/pybind11/include/pybind11/detail/common.h:122,
                 from /home/arb/py311-librealsense/build/third-party/pybind11/include/pybind11/pytypes.h:12,
                 from /home/arb/py311-librealsense/build/third-party/pybind11/include/pybind11/cast.h:13,
                 from /home/arb/py311-librealsense/build/third-party/pybind11/include/pybind11/attr.h:13,
                 from /home/arb/py311-librealsense/build/third-party/pybind11/include/pybind11/pybind11.h:45,
                 from /home/arb/py311-librealsense/wrappers/python/pybackend.cpp:4:
/usr/local/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’}
   22 | typedef struct _frame PyFrameObject;
      |                ^~~~~~
In file included from /usr/local/include/python3.11/Python.h:35,
                 from /home/arb/py311-librealsense/build/third-party/pybind11/include/pybind11/detail/common.h:122,
                 from /home/arb/py311-librealsense/build/third-party/pybind11/include/pybind11/pytypes.h:12,
                 from /home/arb/py311-librealsense/build/third-party/pybind11/include/pybind11/cast.h:13,
                 from /home/arb/py311-librealsense/build/third-party/pybind11/include/pybind11/attr.h:13,
                 from /home/arb/py311-librealsense/build/third-party/pybind11/include/pybind11/pybind11.h:45,
                 from /home/arb/py311-librealsense/wrappers/python/pybackend.cpp:4:
/home/arb/py311-librealsense/build/third-party/pybind11/include/pybind11/pybind11.h:2223:30: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’}
 2223 |             frame->f_locals, PyTuple_GET_ITEM(frame->f_code->co_varnames, 0));
      |                              ^~~~~~~~~~~~~~~~
In file included from /usr/local/include/python3.11/Python.h:42,
                 from /home/arb/py311-librealsense/build/third-party/pybind11/include/pybind11/detail/common.h:122,
                 from /home/arb/py311-librealsense/build/third-party/pybind11/include/pybind11/pytypes.h:12,
                 from /home/arb/py311-librealsense/build/third-party/pybind11/include/pybind11/cast.h:13,
                 from /home/arb/py311-librealsense/build/third-party/pybind11/include/pybind11/attr.h:13,
                 from /home/arb/py311-librealsense/build/third-party/pybind11/include/pybind11/pybind11.h:45,
                 from /home/arb/py311-librealsense/wrappers/python/pybackend.cpp:4:
/usr/local/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’}
   22 | typedef struct _frame PyFrameObject;
      |                ^~~~~~
In file included from /usr/local/include/python3.11/Python.h:38,
                 from /home/arb/py311-librealsense/build/third-party/pybind11/include/pybind11/detail/common.h:122,
                 from /home/arb/py311-librealsense/build/third-party/pybind11/include/pybind11/pytypes.h:12,
                 from /home/arb/py311-librealsense/build/third-party/pybind11/include/pybind11/cast.h:13,
                 from /home/arb/py311-librealsense/build/third-party/pybind11/include/pybind11/attr.h:13,
                 from /home/arb/py311-librealsense/build/third-party/pybind11/include/pybind11/pybind11.h:45,
                 from /home/arb/py311-librealsense/wrappers/python/pybackend.cpp:4:
/home/arb/py311-librealsense/build/third-party/pybind11/include/pybind11/pybind11.h:2223:30: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’}
 2223 |             frame->f_locals, PyTuple_GET_ITEM(frame->f_code->co_varnames, 0));
      |                              ^~~~~~~~~~~~~~~~
In file included from /usr/local/include/python3.11/Python.h:42,
                 from /home/arb/py311-librealsense/build/third-party/pybind11/include/pybind11/detail/common.h:122,
                 from /home/arb/py311-librealsense/build/third-party/pybind11/include/pybind11/pytypes.h:12,
                 from /home/arb/py311-librealsense/build/third-party/pybind11/include/pybind11/cast.h:13,
                 from /home/arb/py311-librealsense/build/third-party/pybind11/include/pybind11/attr.h:13,
                 from /home/arb/py311-librealsense/build/third-party/pybind11/include/pybind11/pybind11.h:45,
                 from /home/arb/py311-librealsense/wrappers/python/pybackend.cpp:4:
/usr/local/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’}
   22 | typedef struct _frame PyFrameObject;
      |

I found a similar issue but not directly related to librealsense. They suggest using pybind11 v2.10 as a solution. I updated librealsense/third-party/pybind11/CMakeLists.txt to use pybind11 v2.10.1 like so.
#  minimum required cmake version: 3.1.0
cmake_minimum_required(VERSION 3.1.0)

project(pybind11-download NONE)

include(ExternalProject)
ExternalProject_Add(
        pybind11
        PREFIX .
        GIT_REPOSITORY "https://github.com/pybind/pybind11.git"
        GIT_TAG "80dc998efced8ceb2be59756668a7e90e8bef917" # v2.10.1
        SOURCE_DIR "${CMAKE_BINARY_DIR}/third-party/pybind11"
        # Override default steps with no action, we just want the clone step.
        UPDATE_COMMAND ""
        CONFIGURE_COMMAND ""
        BUILD_COMMAND ""
        INSTALL_COMMAND ""
)

After making the above change and building again the issue went away but another error occurred later in the build:
[ 47%] Built target pybackend2
Scanning dependencies of target pyrealsense2
[ 47%] Building CXX object wrappers/python/CMakeFiles/pyrealsense2.dir/python.cpp.o
[ 47%] Building CXX object wrappers/python/CMakeFiles/pyrealsense2.dir/c_files.cpp.o
[ 48%] Building CXX object wrappers/python/CMakeFiles/pyrealsense2.dir/pyrs_advanced_mode.cpp.o
[ 48%] Building CXX object wrappers/python/CMakeFiles/pyrealsense2.dir/pyrs_context.cpp.o
[ 48%] Building CXX object wrappers/python/CMakeFiles/pyrealsense2.dir/pyrs_device.cpp.o
/home/arb/py311-librealsense/wrappers/python/pyrs_device.cpp: In lambda function:
/home/arb/py311-librealsense/wrappers/python/pyrs_device.cpp:123:34: error: ‘cerr’ is not a member of ‘std’
  123 |                             std::cerr << "?!?!?!!? exception in python register_calibration_change_callback ?!?!?!?!?" << std::endl;
      |                                  ^~~~
/home/arb/py311-librealsense/wrappers/python/pyrs_device.cpp:8:1: note: ‘std::cerr’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
    7 | #include "../include/librealsense2/hpp/rs_record_playback.hpp" // for downcasts
  +++ |+#include <iostream>
    8 | //#include <iostream>
make[2]: *** [wrappers/python/CMakeFiles/pyrealsense2.dir/build.make:115: wrappers/python/CMakeFiles/pyrealsense2.dir/pyrs_device.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1120: wrappers/python/CMakeFiles/pyrealsense2.dir/all] Error 2
make: *** [Makefile:130: all] Error 2

I tried the suggested fix (adding #include  in librealsense/wrappers/python/pyrs_device.cpp) and the build was successful. I don't know if this fix masked some other unknown issue. Your input would be greatly appreciated.
Other similar issues:

seems like some changes were made to the PyFrameObject.

Thanks so much @chuyyy for your report of the solution that worked for you!
@maloel  Would you be able to assist @chuyyy with their questions at the bottom of this issue, please?  Thanks!

@maloel Would you be able to assist @chuyyy with their questions in this issue please? Thanks!

Hi @chuyyy
Thank you for the detailed report and fix.
Your instincts are good, and the changes you made seem fine, though we cannot make those changes ourselves yet:

Pybind 2.10.1 is the first version to fully support embedding the newly released Python 3.11
I have recently upgraded our internal version to 2.9.0 (2.9.2 fails)
Version 2.10 is no longer compatible with MSVC 2015, which is currently what we use in our CI (for various reasons), therefore we cannot make this change yet, and won't support the new Python until we do
I do have it on my list of things to change, and you should see many such changes coming in 2023

Thanks for the update @maloel. Would you be able to provide a more specific timeline for when this will be ready or is there a ticket that I can track?

This librealsense python3 / pybind11 issue is for the birds! Really annoying.

Our next release is scheduled for some time towards the end of the first quarter, but I have no idea if support for 3.11 will make it in there.
I'll bring your feedback to our priority review for this release :)
Cheers and happy New Year!

Cheers, and thank you for your diligence.
For anyone else following along, this worked for me:
diff --git a/third-party/pybind11/CMakeLists.txt b/third-party/pybind11/CMakeLists.txt
index eae671d8c..ed0cc31d3 100644
--- a/third-party/pybind11/CMakeLists.txt
+++ b/third-party/pybind11/CMakeLists.txt
@@ -8,7 +8,7 @@ ExternalProject_Add(
         pybind11
         PREFIX .
         GIT_REPOSITORY "https://github.com/pybind/pybind11.git"
-        GIT_TAG "8de7772cc72daca8e947b79b83fea46214931604" # v2.6.2
+        GIT_TAG "80dc998efced8ceb2be59756668a7e90e8bef917" # v2.10.1
         SOURCE_DIR "${CMAKE_BINARY_DIR}/third-party/pybind11"
         # Override default steps with no action, we just want the clone step.
         CONFIGURE_COMMAND ""
diff --git a/wrappers/python/pyrs_device.cpp b/wrappers/python/pyrs_device.cpp
index 711678171..79e4a022b 100644
--- a/wrappers/python/pyrs_device.cpp
+++ b/wrappers/python/pyrs_device.cpp
@@ -6,6 +6,7 @@ Copyright(c) 2017 Intel Corporation. All Rights Reserved. */
 #include <librealsense2/hpp/rs_device.hpp>
 #include <librealsense2/hpp/rs_record_playback.hpp> // for downcasts
 #include <../common/metadata-helper.h>
+#include <iostream>

 void init_device(py::module &m) {
     /** rs_device.hpp **/

This is the compile command that worked
+cmake ../ -DFORCE_LIBUVC=true -DCMAKE_BUILD_TYPE=release -DBUILD_WITH_CUDA=true -DBUILD_PYTHON_BINDINGS:bool=true -DPYTHON_EXECUTABLE=/usr/bin/python3.8 -DBUILD_EXAMPLES=true -DBUILD_GRAPHICAL_EXAMPLES=true -DBUILD_SHARED_LIBS=false

I also forcibly removed python2
sudo apt-get remove python2.7 python2

Thanks very much @chuyyy and @MAVProxyUser for sharing your solutions with the RealSense community!  As your problems have been resolved, I will close this case.  Thanks again!


[1.18.2+1.19.2] Mod Compatibility with Pigsteel

If possible it would be cool to have compatibility with the Pigsteel mod: https://www.curseforge.com/minecraft/mc-mods/pigsteel-forge
This mod adds a material to the nether that uses forge:iron_ingot & forge:iron_nugget for its item tags to function sort of like a nether iron. What makes this mod unique is that you can craft blocks of pigsteel & cut pigsteel blocks that "zombify" like how piglins or hoglins zombify if they happen to be in the overworld. The process is similar to how copper oxidizes in 4 stages using randomtickspeed.
I tested both your mod and pigsteel but unfortunately it requires native support for pigsteel blocks to zombify when placing the slabs or stairs sideways.

Implemented as of<PHONE_NUMBER>a070eea9f082b61c8b3dd9a988ade5 and 89a93666ba822708e62922a8eee2e4fbc3a3cab2 which should also solve this problem for any other modded weathering blocks as well.

Awesome! Thank you so much! :)


Updates user status on task update

Description:
When the task request is approved successfully and task is assigned to the user. User status state is updated to ACTIVE.
Date: 27 Oct 2023
Developer Name: @Ajeyakrishna-k
Issue Ticket Number:- - #1583
Backend changes
Yes
Frontend Changes
No
Is Under Feature Flag
Yes
Database changes
No
Breaking changes (If your feature is breaking/missing something please mention pending tickets)
No
Deployment notes
N/A
Test code coverage:

Hi @Ajeyakrishna-k, When user change task status in-progress from my-site then only user-status will be active. @heyrandhir did this change previously you discussed above changes with @ankushdharkar???
I read description then I am writing above...please correct me if I am wrong

Verified it with @ankushdharkar its needed.


Merge dev into master

It's hard to contribute to this library when the dev branch is 50 commits behind master.
Please merge these commits to master before we can contribute. There's not a large reason for there to be separate branches afaik.

@grant develop is under development. Planning to release today.

@grant please take a look in Gitflow.


[td] Reduce dynamic child block at any level

Description
No matter how levels down a dynamic child is, reduce the results.
How Has This Been Tested?

Checklist

[x] The PR is tagged with proper labels (bug, enhancement, feature, documentation)
[x] I have performed a self-review of my own code
[ ] I have added unit tests that prove my fix is effective or that my feature works
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation

cc:

Is it me or Reduce Output is still not selectable from the UI after the first level of dynamic blocks? I'm using v0.9.34


Suggestion: Disable tabbing behind the cookie banner

Its possible to tab behind the cookie banner, is there a way to disable it?

Essentially to make the cookie banner a modal? I'm not sure that's desirable. I suppose it could be an option.

Closing this as I don't think it's the done thing to enforce acceptance of the cookie banner.


Investigate support for Advanced Steel

See: https://speckle.community/t/dynamo-connector-for-advancesteel-civil3d/1420

Closing as stale


WIP: Create a Docker-Compose for the project

Creates a multi-stage Dockerfile
Creates a docker-compose.yml file for the project
Update makefile to use docker-compose
Update circle.yml
Update the example in the README file

All the hard job should be done, but I'll not be able to test it today, so I'll ask you to wait for a little before merging it.
Please give me the feedback if you guys liked the approach or if you want me to change something, and If there is anything else just let me know, I'll be happy to help.

Hi @DiSiqueira, We're really happy with your contributions 🚀


fix(helm): one last service update

Description
Seems operator webhook service was missed on this.
Issue reference

Please reference the issue this PR will close: #[issue number]
Checklist
Please make sure you've  completed the relevant tasks for this PR, out of the following list:

[ ] Code compiles correctly
[ ] Created/updated tests
[ ] Unit tests passing
[ ] End-to-end tests passing
[ ] Extended the documentation / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]
[ ] Specification has been updated / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]
[ ] Provided sample for the feature / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]

cc @artursouza @JoshVanL

one sec, let me update the branch

@holopin-bot @sicoyle Thanks Sam!


GOTO statment flagged as errors

Flagged as:
Found unexpected token 'GOTO'brs(1000)
v9990.0-languageserver-beta14

Thanks. This is an issue in the underlying parser, and is tracked here. When it lands in brs, it will be a simple nom update to fix it here.