Migrate frontend to ESM

This is related to  #6651, in particular https://github.com/badges/shields/pull/6651#discussion_r666389443.
Problem
Gatsby does not support ESM. See https://github.com/gatsbyjs/gatsby/issues/23705 and linked discussions for more information.
In particular, when running npm start midway through migrating the whole code to ESM, I was getting errors similar to the following:

[frontend] TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension "" for C:...\workspace\shields.cache\tmp-5248-0orlJ0tI72FY

npm run build was also producing different kinds of errors.
Current workaround
The solution was to break the frontend down into a separate module with its own frontend/package.json. Unlike Shields' top-level package.json, frontend/package.json does not contain the mention "type": "module", in other words it is still a CommonJS module.
In addition to mandating the extra frontend/package.json, the solution has the following caveats:

the Babel configuration must be specified in frontend/package.json.
the gatsby dependency must be specified in both package.json and frontend/package.json, Gatsby will otherwise complain that the frontend package is not a Gatsby project.
the  start and build scripts from package.json have an extra cd frontend step so that Gatsby is run from frontend/package.json.
in line with the directory where Gatsby is now run, gatsby-browser.js, gatsby-config.js and gatsby-node.js have been moved to the frontend directory.
the supported-features.json and service-definitions.yml files are now produced in the frontend directory. This is only a minor detail to make relative paths simpler.
the result of the build script, i.e. the public folder, is moved up one level back into the project's root. Gatsby produces public in the frontend directory where it's run and that can't be changed (https://github.com/gatsbyjs/gatsby/discussions/1878), and Heroku expects public to be in the project's root and that can't be changed (
https://github.com/heroku/heroku-buildpack-nodejs/issues/385). Additionally, our Cypress end-to-end setup will expect public to be in the root as well.
the require-hacker dependency and the mocha-ignore-pngs.js file were removed, as not compatible with ESM. These probably aren't needed anymore, as the ESM loader ignores PNGs anyway if my understanding is correct.
the import statements in make-badge-url.js must be carefully tested, as they are used both by the ESM loader and Typescript loader, which have slightly different behaviours. For example, import { URL } from 'url' won't work there.

Future work
Once Gatsby becomes compatible with ESM, we would simply need to revert all aforementioned workarounds (apart from the require-hacker one), and potentially convert  gatsby-browser.js, gatsby-config.js and gatsby-node.js to ESM formats as well.  Additionally, it is my understanding that we will need to add js file extensions to the existing relative imports in the frontend code.

This issue is kind of still relevant but has changed substantially.
Now that we are off of Gatsby, most of the detail above, but having migrated to Docusaurus, we do still have some CommonJS frontend code (but a lot less). See https://github.com/badges/shields/pull/9014#discussion_r1142330196
The relevant upstream issues are now:

https://github.com/facebook/docusaurus/issues/6520
https://github.com/facebook/docusaurus/issues/5379


[Event Request] Table 5050 Contact - function TypeChange

Hi,
We need a new event in function TypeChange from table Contact.
...
if Cont.Get("No.") then begin
            if Type = Type::Company then
                CheckDuplicates
            else
                DuplMgt.RemoveContIndex(Rec, false);
        end;

        OnAfterTypeChangeOnContact(Rec); -- >> New Event Place

[IntegrationEvent(false, false)]
local procedure OnAfterTypeChangeOnContact(var Contact: Record Contact)
begin
end;

Thanks,
Cosmina

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 42636.


Fix bugs found by static analysis

These PR fixes a number of bugs found by Svace static analyzer:

BUFFER_OVERFLOW at summary_db_writer.cc:
Function 'tensorflow::(anonymous namespace)::IdAllocator::MakeRandomId' generates id using 'tier_' as index for 'kIdTiers[]' array which of size 3. The value of 'tier_' starts from 0 and increments in a loop while 'tier_ < kMaxIdTier', and kMaxIdTier = 3. So there is possible out of bounds acces to 'kIdTiers[]' by index 3.
BUFFER_UNDERFLOW at hlo_parser.cc:
Value 'nest_level' is of type int64_t and initialized with 0. The value may become negative If '}' is parsed on the first iteration of do-while loop. That would lead to the out of bounds access of both 'elems_seen_per_dim' and 'shape'.
DEREF_AFTER_NULL at grpc_worker_service.cc:
After having been compared to NULL value at grpc_worker_service.cc:647, pointer 'hook' is dereferenced at grpc_worker_service.cc:651.
DEREF_AFTER_NULL at hlo_module_util.cc
After having been compared to NULL value at hlo_module_util.cc:111, pointer 'execution_options' is dereferenced at hlo_module_util.cc:119.
DEREF_AFTER_NULL at hlo_legalize_to_lhlo.cc:
After having been compared to NULL value at hlo_legalize_to_lhlo.cc:59, pointer 'result_type.impl' is passed in call to function 'mlir::RankedTensorType::getShape' at hlo_legalize_to_lhlo.cc:64, where it is dereferenced at BuiltinTypes.cpp.inc:232.
DEREF_OF_NULL at xla_launch_util.cc:
After having been assigned to NULL value at xla_launch_util.cc:461, pointer 'stream' is dereferenced at xla_launch_util.cc:487.

CC @pak-laura @learning-to-play @izuk
@apach301 can you describe the static analysis framework you have used? Thank you very much for the PR

@mihaimaruseac We used Svace static analysis tool. It integrates into the project build system, creates IR and performs a number of checks. More details in paper and slides.

Rebased on current master to resolve merge conflicts, @pak-laura @gbaned @r4nt could you please review these changes?

@apach301 Thank you for the update. Sure thing.

Is it possible to break up those into individual PRs?

Yeah, how should I split them? By changed files or group them by some condition?

By files is good I think, or by folder.

This PR was split into several PRs


perf(coverage): cache current HitMap, reserve when merging

Avoid one of the two hashmap lookups in CoverageCollector::step() by caching the current contract's hashmap in a separate field. This unfortunately has to use a raw pointer and unsafe because self-referential structs are not possible.
Additionally, add some reserve calls and initialize with some initial capacity to reduce the impact of reserve(1) in entry calls.
10-20% faster forge coverage on solmate.

Addressed in https://github.com/foundry-rs/foundry/pull/9474


Where is https://github.com/frictionlessdata/tableschema-sql-py

From README.md:

A list of officially supported plugins:
BigQuery Storage - https://github.com/frictionlessdata/tableschema-bigquery-py
Pandas Storage - https://github.com/frictionlessdata/tableschema-pandas-py
SQL Storage - https://github.com/frictionlessdata/tableschema-sql-py

But all of these URLs are 404s.

Covered by https://github.com/frictionlessdata/implementations/issues/11.


Update wrapper.md

Grammar fix!
Before submitting a pull request, make sure it's targeting the right branch:

For fixes to Ink 1.0, use master.
For fixes to Foundation for Emails 2, use v2.0.

Happy coding! :)

Thanks @TacticalSneeze !


Multi-scale test is not complete

Glad to see your work, it's so great : )
But when i try to use multi-scale to test the model, it comes two problems:

the name of param is not the same as REDEME says, may be the SACLE_FACTOR;
i try to change value of SCALE_FACTOR, if scale num greater than 1, there would be an error that the dim is mismatch.
So i guess that the multi-scale test is not complete, or i didn't find the proper way to use it.
Looking forward for your reply, Thanks : )

Hi mengfan,
Thanks for your kind issue. I have fixed the bugs of README and code.


Remove lingering hypershift-preview resources on upgrade

Description
on upgrading MCE from 2.6 to 2.7 the chart name changes for the hyper shift component by removing the preview flag. Several rbac resources use the chart name in their resource name and so are duplicated or left lingering when disabling the component
Related Issue
https://issues.redhat.com/browse/ACM-15425
Changes Made
When pruning the hyper-shift-preview component the controller now explicitly looks for the lingering resources and deletes them if they exist

/retest

/retest

/retest

/hold


rose-pine-cursor: init at 1.1.0

Description of changes

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[x] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

Closes #287123

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

I by mistake did a force push deleting the commit that added the runhook, so I just redid it and moved it where it was

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-already-reviewed/2617/1509


fire() seems not to work

https://github.com/bwu-dart/polymer_elements_demos/blob/6f21c3acdea85b5e7c98494951e23475bc15dd22/web/prism_element/prism_demo.dart#L38
The <prism-highlighter> (in the local DOM) listens for syntax-highlight on the parent (<prism-demo>) but doesn't receive the event.
When I add an event handler in <prism-demo> itself, it also doesn't receive the event.
Should this work this way?

There is a basic test here which is passing https://github.com/dart-lang/polymer_interop/blob/1.0.0-rc.5/test/polymer_base_test.dart#L152. Seems like an issue with the element?

It's often helpful to talk to someone about the problem ;-)
I added async(...) and now it's working.
This is the 2nd time I run into this issue.
It seems to work in JS but not in Dart when code is run from a property observer.
There seems to be some timing difference.

And thanks for looking into it :+1:

Definitely weird, I will look into this a bit.

Hmm I actually don't see the error? Tried regular server in dartium as well as pub serve in dartium/chrome.

Now I can't anymore either  :disappointed: or better :smile:
Maybe it worked all the time, but I have no idea why the breakpoint didn't hit previously, but then with async() it did.
I now run into another issue. Maybe this tricked me into thinking that the event wasn't processed.
When I call
var result = fire('syntax-highlight', detail: {'code': code, 'lang': lang});

result.detail['code']

should return the highlighted result but I get the result only with this code
(result as CustomEventWrapper).original.detail['code'];

Actually I still need async()

Could this depend on the performance of the used machine?
Mine is a bit outdated. It was a powerful notebook once, but is now several years old.

It certainly could, although I would hope its not haha. I think its more likely different dartium versions or something along those lines.

Ok, I'll monitor it and try to find a way to make it reproducable.
What do you think about the detail not being updated on the return value of fire(...)?

What do you think about the detail not being updated on the return value of fire(...)?

Not sure on that one, definitely should work. I can investigate it shortly.

hmm I just tried
var event = fire('my-event', detail: {'foo': 'bar'});
print(event.detail['foo']);

and that printed bar as expected?

In the demo where I run into this, an event handler updates the detail content, and this updated data is not available (only in event.original.detail).
The value I passed to fire() was there, but that's not what's needed.

oh... ya that is just not going to work today :(

been debating this for a while.... but we could just implement a wrapper around JsObject instead of converting them to a Map. That is probably the safer choice but definitely a breaking change. Could do the same for List/JsArray as well.

closing as a dupe of https://github.com/dart-lang/polymer-dart/issues/586


Add "useful links/resources" section

Could contain links to e.g. code refinery gitlab
We have to be aware of link rot. maybe an issue to check for broken and outdated links and advicewith a due date as reminder every year.
Could also solve #12

We can also check links in each workflow run so that's not so much a problem.

Done in #16


[BUG] {How to publish rectified streams}

Check if issue already exists

Per request made in https://github.com/luxonis/depthai-ros/issues/54
I also started a discussion on https://discuss.luxonis.com/d/2246-how-to-publish-the-rectified-streams-of-the-cameras-in-ros

Describe the bug
Not sure how the rectified streams are published in ROS2. But it seems not to publish
Minimal Reproducible Example
changed /opt/ros/humble/share/depthai_ros_driver/config/camera.yaml ( I had trouble making a separate yaml file to run so I adapted the base file directly.):
/oak:
  ros__parameters:
    camera:
      i_enable_imu: false
      i_enable_ir: true
      i_nn_type: none
      i_pipeline_type: Stereo
    stereo:
      i_publish_left_rect: false
      i_publish_right_rect: false
      i_publish_synced_rect_pair: false

run  ros2 launch depthai_ros_driver camera.launch.py
run ros2 topic list :
ros2 topic list
/diagnostics
/joint_states
/oak/left/camera_info
/oak/left/image_raw
/oak/left/image_raw/compressed
/oak/left/image_raw/compressedDepth
/oak/left/image_raw/theora
/oak/right/camera_info
/oak/right/image_raw
/oak/right/image_raw/compressed
/oak/right/image_raw/compressedDepth
/oak/right/image_raw/theora
/parameter_events
/robot_description
/rosout
/tf
/tf_static

Changed  /opt/ros/humble/share/depthai_ros_driver/config/camera.yaml:
/oak:
  ros__parameters:
    camera:
      i_enable_imu: false
      i_enable_ir: true
      i_nn_type: none
      i_pipeline_type: Stereo
    stereo:
      i_publish_left_rect: true
      i_publish_right_rect: true
      i_publish_synced_rect_pair: true

run ros2 launch depthai_ros_driver camera.launch.py
run ros2 topic list :
/diagnostics
/joint_states
/oak/left/camera_info
/oak/left/image_raw
/oak/left/image_raw/compressed
/oak/left/image_raw/compressedDepth
/oak/left/image_raw/theora
/oak/right/camera_info
/oak/right/image_raw
/oak/right/image_raw/compressed
/oak/right/image_raw/compressedDepth
/oak/right/image_raw/theora
/parameter_events
/robot_description
/rosout
/tf
/tf_static

It seems nothing has changed in the published topics.
Expected behavior
I was expecting to see topics that show the rectified stream. Unless the image_raw now contains the rectified stream
Screenshots
If applicable, add screenshots to help explain your problem.
Pipeline Graph
I renamed the 12761857/1844301031DB391300_pipeline.json to .txt to be able to paste it here.
the pipeline has been taken with the i_publish_xx_rect set to true.
1844301031DB391300_pipeline.txt
Attach system log
I renamed the log_system_information.json to .txt to be able to paste it here.
log_system_information.txt
Additional context
I am not sure what other parameters have to be set to make the rectified streams work.
I there documentation for all the parameters in this file? What their values can be and what their impact is?

Hi, could you try setting pipeline type to depth and see if that works?

Hi @Serafadam,
This worked, thanks! I appologise for using the wrong settings. Is there documentation on how the different parameters can be set and what the effects are
?

Glad that it worked, it seems that the pipeline type section in the documentation needs some additional information. In short - Stereo is creating a pipeline for two separate sensors and Depth additionally creates Depth publishing node which can output rectified stereo streams.


Order subtotal performance

I want to merge this change because it increases performance for order subtotal field.
⚠ Contains changes from https://github.com/mirumee/saleor/pull/7166 will be rebased and reviewers assigned after it's merged.

Impact

[ ] New migrations
[ ] New/Updated API fields or mutations
[ ] Deprecated API fields or mutations
[ ] Removed API types, fields, or mutations
[ ] Documentation needs to be updated

Pull Request Checklist

[ ] Privileged queries and mutations are guarded by proper permission checks
[ ] Database queries are optimized and the number of queries is constant
[ ] Database migration files are up to date
[ ] The changes are tested
[ ] GraphQL schema and type definitions are up to date
[ ] Changes are mentioned in the changelog

Task linked: SALEOR-2896 Optimize subtotal resolver in Order type

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


NuGet package for ClientKit

From a request in this issue:
https://github.com/OSVR/OSVR-Unity/issues/6
Task:

Create a NuGet package for Managed-OSVR.

Open questions:

What to name it? Perhaps "OSVR.ClientKit"?
Does the NuGet package include the OSVR-Core native binaries, or should those be distributed in a separate NuGet package?
Do we need post-install scripts to get the native dlls added to the target project as content so that they are copied to the output directory correctly?

OK, it's a bit late, and I'm still a little woozy from some flu medicine, but I made a couple of failed attempts at this. Documenting:
Attempt 1: From ClientKit.csproj:

Followed directions here listed under "For a project": https://docs.nuget.org/Create/Creating-and-Publishing-a-Package
Used the method involving the .csproj file, e.g. nuget pack ClientKit.csproj

Results:

Only the .net 2.0 framework version of the managed dll was packaged.
No native dlls were packaged.

Attempt 2: Copying files into convention-based directory structure

Using the conventions documented here: https://docs.nuget.org/Create/Enforced-Package-Conventions copied files into a new /test folder.
Copied ClientKit.nuspec from attempt 1 above into /test.
Filled in all of the token values in ClientKit.nuspec with static values (because otherwise it complains that it has no values for them).
Put files from /build/bin/net20/Release (excluding sample app binaries) into /test/lib/net20, including a subfolder /test/lib/net20/x64 (probably not the right thing to do, but we'll go with it for now and see what happens).
Put files from /build/bin/net45/Release (excluding sample app binaries) into /test/lib/net45, again including the x64 subfolder.
nuget pack from /test as CWD.

Results:
Package was created successfully without warnings/errors. When opening up the nupkg all the binaries for net20 and net45 seemed to be there. However, this is the error I got when attempting to install the package into a .net 4.5 project:
Installing 'OSVR.ClientKit 0.1.5570.40638'.
Successfully installed 'OSVR.ClientKit 0.1.5570.40638'.
Adding 'OSVR.ClientKit 0.1.5570.40638' to ConsoleApplication1.
Uninstalling 'OSVR.ClientKit 0.1.5570.40638'.
Successfully uninstalled 'OSVR.ClientKit 0.1.5570.40638'.
Install failed. Rolling back...
Failed to add reference to 'msvcp120'.

Next steps:

research packaging of native DLLs with NuGet packages for best practices/etc... This seems to be where it's breaking down.
Write a batch file that 1) builds net20 and net45 release binaries, 2) copies all files into /test in their proper place (probably name it something other than /test), and 3) packs the nupkg file.

Thanks for looking into this - I was hoping you would.
Not sure how cross-platform-usable msbuild files are, but the main root one (that is an alternative to using the .sln file) is where I anticipated a "make a NuGet-convention directory structure" target/script would go. The other item is that we could make a target in that file that overrides properties so that it builds directly into the correct directory structure.
The 'msvcp120' and the other similarly named file is just the VS2013 C/C++ runtime DLLs - we bundled it with the native library to keep people from needing to install the redist, but it can be left out and just simply state "hey, you have to have the redist".  That might be all it takes to get that package working properly
Note that the line here: https://github.com/OSVR/Managed-OSVR/blob/master/ClientKit/ClientKit.cs#L111 and the one a bit later for 32-bit gives some flexibility in where the native libraries are w.r.t. the managed assembly.

OK, I have this working:
https://github.com/JeroMiya/Managed-OSVR/commit/bb76dc0285df646e8ed70d7bbe3fd1106c2b3bd7
I was able to install this NuGet package locally into a console application project and copy any of the command line sample code into the new project and they run. I'm basing my implementation on how libgit2 packages their native library, except I'm not separating the managed and native assemblies into two NuGet packages. Not sure why we'd need to do that.
I do need some things from the OSVR team:

Your preferred metadata for the package:

title (Currently "OSVR ClientKit (.NET 2.0)" though should probably just be "OSVR ClientKit")
authors (currently "OSVR/Sensics, Inc.")
owners (currently "OSVR/Sensics, Inc.")
licenseURL (Currently https://raw.githubusercontent.com/OSVR/Managed-OSVR/master/LICENSE but you will need to host this someplace more permanent).
projectURL (currently https://github.com/OSVR/Managed-OSVR)
iconURL (currently https://avatars2.githubusercontent.com/u/10343613 but you will need to host this someplace more permanent)
description (currently the placeholder value ".NET 2.0/Debug")
releaseNotes (currently "Initial version.")
copyright (currently "Copyright 2015 Sensics, Inc.")
tags (currently "VR")

The metadata is specified in the NuGetPackaging/OSVR.ClientKit.nuspec file.

FYI: I have that section of NuGetPackaging/build/OSVR.ClientKit.props commented out, but this method would hypothetically allow us to distribute native binaries for Mac/Linux on mono as well as for Windows.

Thanks! I do think eventually we would want to separate out the native binaries, for either convenience (not having to rev the managed OSVR package with every revision of the native binaries) and/or NuGet for C++ (which is even more of a mysterious unicorn to me but sounded like a good idea when I read about it in some MSVC blog).
Will add a few commit comments inline, but go ahead and open a pull request, and/or let me know when you're ready for me to merge that.

I'll look into updating the metadata per your line notes and submit a pull request this evening.
As for the icon, 32x32 will do, but I see most packages are using 64x64. I think it shows 32x32 in the Visual Studio UI but 64x64 in the web site listing on nuget.org. Also, the one you pointed to will do for now, but you may want to copy it somewhere and name it something with 'nuget' in the name. Otherwise if you're editing that site you may not know that the icon is being used for the NuGet package and move/delete/change it by mistake.

So the NuGet docs said 32x32, which is why I did that. I've since committed a 64x64 to the repo and used rawgit.com to generate a stable, CDN-backed URL for it.
Thanks!

Hmm, I was basing it off of some examples from NuGet.org. Apparently the spec says 32x32, but if the image is larger the UI is supposed to scale down to 32x32. Meanwhile the NuGet.org website itself displays it at several resolutions, even up to 128x128:
https://nuget.codeplex.com/workitem/2453

Pull request made: https://github.com/OSVR/Managed-OSVR/pull/4


Apps: clean up x509 extension generation and cert signing

In preparation of a solution for #13603 I found that the code preparing X.509 signing and handling specifications for X.509 extensions should be cleaned up.
Otherwise it would add to the mess that already has started there.
I do this as a separate up-front PR in order to make reviewing easier.

apps/x509.c: Factor out common aspects of X509 signing
apps/{req,x509,ca}.c: Cleanup: move shared X509{,_REQ,_CRL} code to apps/lib/apps.c
apps/{req,x509,ca}.c: Clean up setting X.509 cert version v3
x509v3_config.pod: Clarify the semantics of subjectKeyIdentifier and authorityKeyIdentifier
apps/req.c: Improve diagnostics on duplicate -reqext keys etc.
`apps{ca,req,x509}.c: Improve diagnostics and doc, in particular on X.509 extensions
openssl-ca.pod.in: Clarify the -extensions/-crlexts option vs. x509_extensions/crl_extensions
openssl_hexstr2buf_sep(): Prevent misleading 'malloc failure' errors on short input
v2i_AUTHORITY_KEYID(): Correct out-of-memory behavior and avoid mem leaks
X509V3_EXT_add_nconf_sk(): Improve description and use of sk arg, which may be NULL

It turns out there was more stuff to clean up with the implementation and documentation of the ca, req, and x509 extension options.

I don't understand why suddenly various CI tests fail.
I cannot reproduce them locally and they appear to be not related to this PR.
I tried getting rid of them by rebasing on an older version of master (namely commit abdd3fa04f3401c4a542257fdd803ff4c4daf8ef), but this did not help.

Master should be OK again, please rebase again.

Approval is pending on rerun of the CI on clean rebase.

Thanks - after a fresh rebase the CI works fine again.

24 hours has passed since 'approval: done' was set, but as this PR has been updated in that time the label 'approval: ready to merge' is not being automatically set.  Please review the updates and set the label manually.

Merged - thanks again @t8m for the swift handling.


[9.x] Add pivot default columns

Currently, loading columns for a Pivot class in a many-to-many relation requires manually adding all column names on the relation method. This is slightly confusing sometimes, and moreover leads to some code duplication if you want to query the same pivot columns from both sides of the relation.
This PR adds a withColumn property to the Pivot class, where one can mark columns that should be loaded on all relations referencing the pivot.
Alternative approaches:

use the attributes property, though this would require adding a default value for all columns
use the casts property, though this would require adding a cast-type for all columns

Seems tests fail here. Please resend this with passing tests. Thanks


There should be in-app "crash report" option which i don't see.

i can help to find bugs.

Crash report is available at kiwi://crashes


Keyboard support

I used your nice library to create a kml viewer: http://thesz.diecru.eu/tmp/view/
I would like to add keyboard support. The Camera.prototype.update is not yet called. What I'm missing?
Steffen

This was a bug that's now been fixed.


Compatibility issue between parse.y and Prism on the string returned by Hash#inspect

I noted different results from Hash#inspect when switching to Ruby 3.4 (example here).
Ruby 3.3
> {foo: "bar"}.inspect
=> "{:foo=>\"bar\"}"

Ruby 3.4
> {foo: "bar"}.inspect
=> "{foo: \"bar\"}"

That has nothing to do with Prism, it's an intentional change by the core team. Please see the Ruby 3.4 release notes https://www.ruby-lang.org/en/news/2024/12/25/ruby-3-4-0-released/.


'escape': can't convert Pathname to String (TypeError)

I installed with gem install yardstick, then I tried running yardstick 'lib/**/*.rb' (per your readme), and I was greeted with

`escape': can't convert Pathname to String (TypeError)

Full error message here: https://gist.github.com/863209
I'm running ruby 1.9.2, rails 3.0.5, rubygems 1.6.2.

@dkubb any hint on it was fixed? I have a similar issue...

@nikosd it should be fixed in edge. Try installing from the repo and let me know if it's working or you.


Create Frontend With React and Redux

Create the frontend for this app using either Preact or react and Redux for state management.

Initialised the Frontend with React. Idk if i wanna use Redux though.


WebApp to book turns for the washing machine

A web or mobile app (or both) with the following features:

As soon as someone dumps their washing into the machine they update the status of that machine     as busy or occupied and once they are done change it to vacant.
It will keep tabs on all the machines in the hostel showing which ones are vacant and which ones are
occupied.
There will also be an option to book the time slot for which the machine will be functional

Stretch Goal: To verify whether the user has actually occupied the machine or is just messing with their floormates we would need to integrate it with some kind of IoT. Some sound or motion sensor can be used to verify whether the machines are actually in use or not.
Originally proposed by:  @nayonika1999

@swap1108 can you mentor @nayonika1999 on this? It might require some knowledge of IoT

@palash25 ya I can help @nayonika1999 if she needs. It requires application of IoT as you have already mentioned, and we need to link it to the mobile app with the help of cloud computing.  It can be an interesting project !

Ofcourse @swap1108 I'd need your help..  I m totally a newbie in this field and would love to be mentored by you in knowing new concepts and implementing them in the project.

You two discuss the approach required to complete this project. @nayonika1999 will write most of the initial code as she needs to learn once she has an MVP ready @swap1108 you could start coding with her.
I think the IOT stuff would need to discussed in person I'm not sure if it can be discussed remotely (if it can be then that's great) but till then I think @nayonika1999 should get started on the app. Or if you @nayonika1999 feel you are not ready yet you can take your time to learn the technologies required for this and pick it up after the vacations.

Though I have good experience of coding,yet concepts like IOT and app development are totally new..But I assure you i'm gonna pick up the slack very soon this summer.

Ya sure from next sem. If people with common skills flock together, something better can be done. I'm open to any help from my side.

Just a suggestion guys(this probably is a later part of the project and maybe just a minor add-on).....
@nayonika1999 mentioned using a "book time-slot feature". I'm suggesting limiting the maximum no. of bookings to something like "twice per person per week".  To reduce traffic maybe.

He would kill the app maker.

He would kill the app maker.

Woah woah woah do you want to scare the 1st years away? @knrt10

Maybe we can provide @ayush1999 with some special privileges, so that he spares the app-makers' lives :P
**no offence intended :)

:laughing:


ForwardRef cannot be evaluated

Initial Checks

[X] I confirm that I'm using Pydantic V2 installed directly from the main branch, or equivalent

Description
I have two models.
One model is BaseContent model. This model has a set containing a set of RelationshipData model. In the RelationshipData model, there is an attribute which is BaseContent.
This worked in Pydantic v1. However, when I switched to pydantic v2 a3, This no longer works, and I get the following traceback:
Traceback (most recent call last):
  File "/builds/xsoar/content/.venv/lib/python3.10/site-packages/pydantic/_internal/_generate_schema.py", line 296, in _generate_schema
    obj = _typing_extra.evaluate_fwd_ref(obj, globalns=self.types_namespace)
  File "/builds/xsoar/content/.venv/lib/python3.10/site-packages/pydantic/_internal/_typing_extra.py", line 465, in evaluate_fwd_ref
    return ref._evaluate(globalns=globalns, localns=localns, recursive_guard=frozenset())
  File "/usr/local/lib/python3.10/typing.py", line 694, in _evaluate
    eval(self.__forward_code__, globalns, localns),
  File "<string>", line 1, in <module>
NameError: name 'RelationshipData' is not defined. Did you mean: 'RelationshipType'?
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
  File "/builds/xsoar/content/.venv/lib/python3.10/site-packages/pydantic/_internal/_model_construction.py", line 179, in complete_model_class
    schema = cls.__get_pydantic_core_schema__(cls, gen_schema.generate_schema)
  File "/builds/xsoar/content/.venv/lib/python3.10/site-packages/pydantic/main.py", line 246, in __get_pydantic_core_schema__
    return __handler(__source)
  File "/builds/xsoar/content/.venv/lib/python3.10/site-packages/pydantic/_internal/_generate_schema.py", line 172, in generate_schema
    schema = self._generate_schema(obj, from_dunder_get_core_schema=True)
  File "/builds/xsoar/content/.venv/lib/python3.10/site-packages/pydantic/_internal/_generate_schema.py", line 308, in _generate_schema
    from_property = self._generate_schema_from_property(obj, obj)
  File "/builds/xsoar/content/.venv/lib/python3.10/site-packages/pydantic/_internal/_generate_schema.py", line 265, in _generate_schema_from_property
    return get_schema(source, handler)
  File "/builds/xsoar/content/.venv/lib/python3.10/site-packages/pydantic/main.py", line 246, in __get_pydantic_core_schema__
    return __handler(__source)
  File "/builds/xsoar/content/.venv/lib/python3.10/site-packages/pydantic/_internal/_generate_schema.py", line 262, in handler
    return self._generate_schema(source, False)
  File "/builds/xsoar/content/.venv/lib/python3.10/site-packages/pydantic/_internal/_generate_schema.py", line 315, in _generate_schema
    return self.model_schema(obj)
  File "/builds/xsoar/content/.venv/lib/python3.10/site-packages/pydantic/_internal/_generate_schema.py", line 221, in model_schema
    {k: self._generate_td_field_schema(k, v, decorators) for k, v in fields.items()},
  File "/builds/xsoar/content/.venv/lib/python3.10/site-packages/pydantic/_internal/_generate_schema.py", line 221, in <dictcomp>
    {k: self._generate_td_field_schema(k, v, decorators) for k, v in fields.items()},
  File "/builds/xsoar/content/.venv/lib/python3.10/site-packages/pydantic/_internal/_generate_schema.py", line 482, in _generate_td_field_schema
    common_field = self._common_field_schema(name, field_info, decorators)
  File "/builds/xsoar/content/.venv/lib/python3.10/site-packages/pydantic/_internal/_generate_schema.py", line 524, in _common_field_schema
    schema = apply_annotations(generate_schema, field_info.metadata, self.definitions)(field_info.annotation)
  File "/builds/xsoar/content/.venv/lib/python3.10/site-packages/pydantic/_internal/_generate_schema.py", line 519, in generate_schema
    schema = self.generate_schema(source)
  File "/builds/xsoar/content/.venv/lib/python3.10/site-packages/pydantic/_internal/_generate_schema.py", line 172, in generate_schema
    schema = self._generate_schema(obj, from_dunder_get_core_schema=True)
  File "/builds/xsoar/content/.venv/lib/python3.10/site-packages/pydantic/_internal/_generate_schema.py", line 432, in _generate_schema
    return self._dict_schema(obj)
  File "/builds/xsoar/content/.venv/lib/python3.10/site-packages/pydantic/_internal/_generate_schema.py", line 783, in _dict_schema
    values_schema=self.generate_schema(arg1),
  File "/builds/xsoar/content/.venv/lib/python3.10/site-packages/pydantic/_internal/_generate_schema.py", line 172, in generate_schema
    schema = self._generate_schema(obj, from_dunder_get_core_schema=True)
  File "/builds/xsoar/content/.venv/lib/python3.10/site-packages/pydantic/_internal/_generate_schema.py", line 422, in _generate_schema
    return self._generic_collection_schema(set, obj, origin)
  File "/builds/xsoar/content/.venv/lib/python3.10/site-packages/pydantic/_internal/_generate_schema.py", line 730, in _generic_collection_schema
    'items_schema': self.generate_schema(get_first_arg(type_)),
  File "/builds/xsoar/content/.venv/lib/python3.10/site-packages/pydantic/_internal/_generate_schema.py", line 172, in generate_schema
    schema = self._generate_schema(obj, from_dunder_get_core_schema=True)
  File "/builds/xsoar/content/.venv/lib/python3.10/site-packages/pydantic/_internal/_generate_schema.py", line 298, in _generate_schema
    raise PydanticUndefinedAnnotation.from_name_error(e) from e
pydantic.errors.PydanticUndefinedAnnotation: name 'RelationshipData' is not defined
For further information visit <TODO: Set up the errors URLs>/undefined-annotation
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/builds/xsoar/content/.venv/bin/demisto-sdk", line 5, in <module>
    from demisto_sdk.__main__ import main
  File "/builds/xsoar/content/.venv/lib/python3.10/site-packages/demisto_sdk/__main__.py", line 34, in <module>
    from demisto_sdk.commands.content_graph.interface.neo4j.neo4j_graph import (
  File "/builds/xsoar/content/.venv/lib/python3.10/site-packages/demisto_sdk/commands/content_graph/interface/neo4j/neo4j_graph.py", line 20, in <module>
    from demisto_sdk.commands.content_graph.content_graph_commands import (
  File "/builds/xsoar/content/.venv/lib/python3.10/site-packages/demisto_sdk/commands/content_graph/content_graph_commands.py", line 15, in <module>
    from demisto_sdk.commands.content_graph.content_graph_builder import ContentGraphBuilder
  File "/builds/xsoar/content/.venv/lib/python3.10/site-packages/demisto_sdk/commands/content_graph/content_graph_builder.py", line 5, in <module>
    from demisto_sdk.commands.content_graph.interface.graph import ContentGraphInterface
  File "/builds/xsoar/content/.venv/lib/python3.10/site-packages/demisto_sdk/commands/content_graph/interface/graph.py", line 11, in <module>
    from demisto_sdk.commands.content_graph.objects.base_content import BaseContent
  File "/builds/xsoar/content/.venv/lib/python3.10/site-packages/demisto_sdk/commands/content_graph/objects/__init__.py", line 36, in <module>
    from demisto_sdk.commands.content_graph.objects.classifier import Classifier
  File "/builds/xsoar/content/.venv/lib/python3.10/site-packages/demisto_sdk/commands/content_graph/objects/classifier.py", line 6, in <module>
    from demisto_sdk.commands.content_graph.objects.content_item import ContentItem
  File "/builds/xsoar/content/.venv/lib/python3.10/site-packages/demisto_sdk/commands/content_graph/objects/content_item.py", line 23, in <module>
    from demisto_sdk.commands.content_graph.objects.base_content import BaseContent
  File "/builds/xsoar/content/.venv/lib/python3.10/site-packages/demisto_sdk/commands/content_graph/objects/base_content.py", line 58, in <module>
    class BaseContent(ABC, BaseModel, metaclass=BaseContentMetaclass):
  File "/builds/xsoar/content/.venv/lib/python3.10/site-packages/demisto_sdk/commands/content_graph/objects/base_content.py", line 49, in __new__
    super_cls: BaseContentMetaclass = super().__new__(cls, name, bases, namespace)
  File "/builds/xsoar/content/.venv/lib/python3.10/site-packages/pydantic/main.py", line 166, in __new__
    _model_construction.complete_model_class(
  File "/builds/xsoar/content/.venv/lib/python3.10/site-packages/pydantic/_internal/_model_construction.py", line 190, in complete_model_class
    raise UserWarning(config_warning_string)

I tried to switch between the classes, making the BaseContent the ForwardRef, but got a similar issue.
This is not related to the Metaclass, as it happens even if I remove the metaclass or switch between the forward ref annotation.
Example Code
class BaseContent(ABC, BaseModel, metaclass=BaseContentMetaclass):
    database_id: Optional[int] = Field(
        None, exclude=True, repr=False
    )  # used for the database
    object_id: str = Field(alias="id")
    content_type: ClassVar[ContentType] = Field(include=True)
    node_id: str
    marketplaces: List[MarketplaceVersions] = list(MarketplaceVersions)

    relationships_data: Dict[RelationshipType, Set["RelationshipData"]] = Field(
        defaultdict(set), exclude=True, repr=False
    )

class RelationshipData(BaseModel):
    relationship_type: RelationshipType

    # These are the database ids of the relationships
    source_id: int
    target_id: int

    # this is the attribute we're interested in when querying
    content_item_to: BaseContent

Python, Pydantic & OS Version
pydantic version: 2.0a3
        pydantic-core version: 0.25.0 release build profile
                 install path: .venv/lib/python3.10/site-packages/pydantic
               python version: 3.10.9 (main, Mar 28 2023, 15:50:10) [Clang 14.0.0 (clang-14<IP_ADDRESS>)]
                     platform: macOS-13.3.1-x86_64-i386-64bit
     optional deps. installed: ['typing-extensions']

When you share example code, please ensure the code can be run as-is (this is missing all imports).

@dmontagu Am I understanding this right dict(undefined_types_warning=False) is required for models with postponed field types?

@suharnikov currently yes though I think we are planning to eliminate that warning before the official v2 release, and behave more like v1 where you'll just get the error when you first attempt to do validation if there are still undefined types.


How to display the initial boot screen

Hey, i want to make an initial application loading screen (Beautiful picture).
I've been to change the first screen and put its change after N seconds. But this seems like a very bad solution to me. Because after N seconds it will show the Turbo screen with page loading.
I wanted very much that the display of the first image would be tied to the loading of the page on the network. Since I can't just add the image to the screen with a visual builder. I created a very simple controller:
import UIKit

class SplashController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        navigationController?.setNavigationBarHidden(true, animated: true)

        let image = UIImage(named: "Splash")
        let imageView = UIImageView(image: image)

        imageView.frame = UIScreen.main.bounds
        self.view.addSubview(imageView)
    }

}

But where to return it correctly and link it to the content download in the demo? I would be grateful for any help

I have a not perfect solution. In the idea, I was supposed to use the observer to track the wkwebview.
But I did through a timer:
var needShowSpash: Bool = true

final class ViewController: VisitableViewController, ErrorPresenter {

    public var startTimerLoader: Timer?
    public var spashImage: UIImageView?

    override func viewDidLoad() {
        super.viewDidLoad()

        self.startLoadingAnimate()
    }

    func startLoadingAnimate() {
        if needShowSpash == false {
            return
        }

        let image = UIImage(named: "Splash")
        self.spashImage = UIImageView(image: image)
        self.spashImage!.frame = UIScreen.main.bounds

        self.view.addSubview(self.spashImage!)

        self.startTimerLoader = Timer.scheduledTimer(timeInterval: 0.3, target: self, selector: #selector(ViewController.checkLoadingPageForHiddenSpash), userInfo: nil, repeats: true)
    }

    @objc func checkLoadingPageForHiddenSpash() {
        if visitableView.webView?.estimatedProgress ?? 0.0 < 0.9 {
            return
        }

        self.startTimerLoader?.invalidate()
        self.startTimerLoader = nil
        needShowSpash = false

        UIView.transition(with: self.spashImage!,
                          duration: 0.5,
                          options: .transitionCrossDissolve,
                          animations: {self.spashImage!.alpha = 0},
                          completion: {_ in self.spashImage!.removeFromSuperview()}
        )
    }
}

If anyone has any suggestions on how to improve this would be great.

Can you hook into the SessionDelegate to learn when the first network request has completed? For example:
extension ViewController: SessionDelegate {
    func sessionDidFinishRequest(_ session: Session) {
        if view.subviews.contains(splashImage) {
            splashImage.removeFromSuperview()
        }
    }
}

Closing the issue as it hasn't been commented on in over a year.


[Bug Report] github.io broken link due to org repo migration

Describe the bug
FIX: https://tenstorrent-metal.github.io/tt-metal/latest/ttnn
FIX: https://tenstorrent-metal.github.io/tt-metal/latest/tt-metalium
works: https://tenstorrent.github.io/tt-metal/latest/ttnn
works: https://tenstorrent.github.io/tt-metal/latest/tt-metalium
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Please complete the following environment information:

OS: [e.g. Ubuntu 20.04]
Version of software (eg. commit)

Additional context
Add any other context about the problem here.

Done, reopen if new issues pop up pls


cassandra monitor: exception in case of DN node with ?

Test and Verified
Tested manually by killed CAS (over 24/48 hours, exit code -9) + tested with different exit codes.
Close & Moving to Done


Delete packages/react-testing/src/tests/setup directory

I believe this was added for loom but @BPScott nuked it.
Description
Fixes (issue #)

This file is still needed. It is referenced by the jest.config.js. Removing just the file, as per this PR causes yarn test to refuse to run. Removing it this file file and the reference to it causes a boatload of  Warning: The current testing environment is not configured to support act(...) console output when running tests.


Some enhancements and new fetures

Bumped node packages to the latest
Added tags to manifest
Added ts-node to run locally for dev testing
Moved strings to messages section to use with loc
Added predefined - GitleaksUdmCombo.toml (Gitleaks defaults + UDM)
Added support for report format

If report format is sarif then upload to artifact to CodeAnalysisLogs - nice report presentation with SARIF SAST Scans Tab extension

Added support for depth
Fixed typo in tests contsole -> console
Tests adjusted to report format
Added tests for sarif report format upload and end with warring
Codebase lint with ts-standard

Awesome, very nice! Will check this out this weekend.
Thank you for contributing

You are my hero this weekend @DariuszPorowski. Never really learned about those Sarif reports but this Is a great asset. Thank you.

@JoostVoskuil you're welcome. I have some more ideas. If I find time, I'll suggest PR. Your project was inspiration for me and created this one: https://github.com/DariuszPorowski/github-action-gitleaks because official one (https://github.com/marketplace/actions/gitleaks) has very limited capabilities.

@DariuszPorowski I am honoured ;)
Can you share your thoughts on your ideas? My ideas:

Include the option that gitleaks can be found on the agent itself (for agents that do not have internet access)
Do some tweaking regarding fetching the commits between this build and previous.


Add GitHub workflow/actions

Will add GitHub actions/workflow to test configuration not by Travis CI (or not only by Travis CI) but also with GitHub CI.
Possible enhancement could be to add testing against BETA and DEV version too - similar what @frenck has in his repository.

OK, I've been fighting with this for some time now...
The problem is paths...
/usr/bin/docker run --name homeassistanthomeassistantstable_b54071 --label aac2aa --workdir /github/workspace --rm -e INPUT_ARGS -e HOME -e GITHUB_JOB -e GITHUB_REF -e GITHUB_SHA -e GITHUB_REPOSITORY -e GITHUB_REPOSITORY_OWNER -e GITHUB_RUN_ID -e GITHUB_RUN_NUMBER -e GITHUB_ACTOR -e GITHUB_WORKFLOW -e GITHUB_HEAD_REF -e GITHUB_BASE_REF -e GITHUB_EVENT_NAME -e GITHUB_SERVER_URL -e GITHUB_API_URL -e GITHUB_GRAPHQL_URL -e GITHUB_WORKSPACE -e GITHUB_ACTION -e GITHUB_EVENT_PATH -e GITHUB_PATH -e GITHUB_ENV -e RUNNER_OS -e RUNNER_TOOL_CACHE -e RUNNER_TEMP -e RUNNER_WORKSPACE -e ACTIONS_RUNTIME_URL -e ACTIONS_RUNTIME_TOKEN -e ACTIONS_CACHE_URL -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/Home-Assistant_Config/Home-Assistant_Config":"/github/workspace" homeassistant/home-assistant:stable python -m homeassistant --config ./ --script check_config --info all
Testing configuration at /github/workspace/./
Failed config
  homeassistant:
    - not a directory @ data['allowlist_external_dirs'][0]
    - allowlist_external_dirs: [source /github/workspace/./configuration.yaml:10]
        - /config/tmp

Tried following:
          sudo mkdir -p /config/tmp
          sudo mkdir -p config/tmp
          sudo mkdir -p ./config/tmp

And none of that is working.
The "easy" fix would be to completely redo my Home Assistant and GitHub repository, change all paths, move everything to /config folder... But that's easy in theory in practice I would have to redo all from scratch.
Probably easy fix, but I have no clue what to do next...

A neat little trick / workaround is to put those folders into your secrets file. While not a secret, they can be swapped out during CI using a secrets stub file

Wow, that really is a great trick! Never thought of that!

Thanks to the great tip, this is now fixed. Added a bit of complexity, but now both Travis CI and GitHub CI are working, with GitHub one also checking against Beta and Dev versions!


Teams developer portal bot configured only for Teams is available for outlook

In the Developer Portal, I configured my bot's channel settings to enable only Microsoft Teams and did not select Microsoft 365 extensions. However, when I upload my app package to Partner Center, it indicates that my app will be available not only in Teams but also in Office (web and Windows) and Outlook (web and Windows).
Is there something I might be missing in the configuration? My app/bot is intended to be available exclusively for Microsoft Teams.

Partner center screenshot:

@NandhiniArcher - Thank you for reporting this, we will check this and get back to you.

@NandhiniArcher - Please note that v.1.13 or later versions auto-extends support of Teams apps to run in other Microsoft 365 host applications, including Outlook and Office.
https://github.com/OfficeDev/microsoft-teams-app-schema/releases#:~:text=Support for apps running across Microsoft 365

@NandhiniArcher - Please note that v.1.13 or later versions auto-extends support of Teams apps to run in other Microsoft 365 host applications, including Outlook and Office.
https://github.com/OfficeDev/microsoft-teams-app-schema/releases#:~:text=Support for apps running across Microsoft 365

@Meghana-MSFT
Thank you for the clarification regarding version 1.13 and the auto-extension of Teams apps to Outlook and Office. I have a follow-up question:
When my app is listed on the Teams store, will it indicate compatibility with Outlook and Office, or will it only display compatibility with Teams?

It will display compatibility with Outlook and Office as well.

It will display compatibility with Outlook and Office as well.

But it will be functional only on teams? Despite showing compatibility with Outlook and office as well?

If your Teams app is using the app manifest version 1.13 or later, ensure that your app meets the criteria to extend your app to run across Microsoft 365 or Outlook.

If your Teams app is using the app manifest version 1.13 or later, ensure that your app meets the criteria to extend your app to run across Microsoft 365 or Outlook.

@Meghana-MSFT Thank you for your quick response.
We have not made any changes to extend our app to work across Microsoft 365 or Outlook. Currently, the app is functional only in Microsoft Teams. Will this impact the publishing process in Partner Center?

Could you please visit the publishers support page to search for your issue. If the guidance isn't helpful, please create a Partner Center support ticket.

Could you please visit the publishers support page to search for your issue. If the guidance isn't helpful, please create a Partner Center support ticket.

Thank you for responding to my previous query. I appreciate your assistance.
As a follow-up, I would like to ask:
How can I identify the minimum and recommended Microsoft Teams versions that ensure full support for all features and functionalities of a Teams app using manifest versions 1.17?
Your clarification on this matter would be greatly helpful.

It is suggested to use the latest version. You can refer to the app manifest reference documentation.
For detailed information on the changes made in each version, you can check the app manifest change log.

It is suggested to use the latest version. You can refer to the app manifest reference documentation.
For detailed information on the changes made in each version, you can check the app manifest change log.

I appreciate your response and the reference to the app manifest documentation. However, I noticed that the documentation primarily discusses the compatibility between the TeamsJS version and the app manifest version.
I am specifically looking to understand how to determine the Microsoft Teams desktop or web application software version compatibility with app manifest version.
Could you please clarify:
Is there a reference or documentation that maps Microsoft Teams software versions to their compatibility with app manifest versions?
This information will help us to ensure our app functions seamlessly with the supported Teams client versions.

@NandhiniArcher - Unfortunately there is no such documentation that maps Microsoft Teams software versions to their compatibility with app manifest versions. And there is no dependency of app manifest version on the Microsoft Teams. It is suggested to use the latest version of Microsoft Teams desktop or web application.

@NandhiniArcher - I will inform team to look into it.


Cancel navigation when user presses ESC

Regular navigation in the browser can be stopped by clicking the browser’s "Stop loading" button or by hitting the ESC key. Turbo does not handle this and requests cannot be cancelled after fetch is made.
I looked into the code and I have not found a way to implement this myself outside Turbo:

cancellation is only possible before the fetch
request.cancel is present but not accessible from the event

I wish Turbo would either:

exposed event.detail.cancel() on one of the early events, like click (since history events cannot be cancelled) so that it can be called at any time before render, or
automatically registered an ESC listener

Prior art

https://github.com/refined-github/refined-github/issues/2118

I like the idea of matching the browser here. Making in-flight requests cancelable with esc. Please do explore.


Improve compatibility with Rails 6 and Citus 7.3

This PR improves compatibility with Rails 6 and citus 7.3.0. I was wondering whether you would be willing to accept such a patch. If so, then I would be more than happy to take your suggestions on how to improve the PR. Below I describe the problem and leave a few questions.
In Rails 5 update_all and delete_all with joins generate SQL statements with a subquery and the tenant clause.
For example this test
bundle exec appraisal rails-5.2 rspec ./spec/activerecord-multi-tenant/query_rewriter_spec.rb:10
has this statement:
Project.joins(:manager).update_all(name: "New Name")
that generates the following SQL:
UPDATE "projects"
SET "name" = 'New Name'
WHERE "projects"."id" IN (
  SELECT "projects"."id"
  FROM "projects"
  INNER JOIN "managers"
  ON "managers"."project_id" = "projects"."id"
  AND "managers"."account_id" = 1
  WHERE "projects"."account_id" = 1
)
AND "projects"."account_id" = 1
AND "projects"."account_id" = 1

However in Rails 6 the behaviour changes and the same test and statement generates a slightly different SQL query:
bundle exec appraisal rails-6.0 rspec ./spec/activerecord-multi-tenant/query_rewriter_spec.rb:10
UPDATE "projects"
SET "name" = 'New Name'
WHERE "projects"."id" IN (
  SELECT "projects"."id"
  FROM "projects"
  INNER JOIN "managers"
  ON "managers"."account_id" = 1
  AND "managers"."project_id" = "projects"."id"
  WHERE "projects"."account_id" = 1
  AND "projects"."account_id" = 1
)

the multi-tenant clauses are now inside the sub-query.
This works fine with citus >= 7.4, I believe it is thanks to this commit: https://github.com/citusdata/citus/commit/32bcd610c10e2ad354e5e9457e3f8227bff4ac8e
Unfortunately in citus 7.3 the following error is raised:
ActiveRecord::StatementInvalid
(PG::FeatureNotSupported: ERROR:  cannot perform distributed planning for the given modification)
DETAIL:  Joins are not supported in distributed modifications.

This PR monkey-patches Arel::Visitor::ToSql (only in Rails 6) so that the tenant clause is not added inside the subquery.
Few questions:

regarding testing: would you prefer a unit test? or you would prefer to run the entire suite against a citusdata/citus:7.3.0 image?

if the latter, then I am not sure what to do with the following 2 tests, since they just would not work with citus 7.3.0:

updates the records without a current tenant https://github.com/citusdata/activerecord-multi-tenant/blob/4512aeeb72504d401f4ed3a869039ee075a2208e/spec/activerecord-multi-tenant/query_rewriter_spec.rb#L18
delete_all the records without a current tenant https://github.com/citusdata/activerecord-multi-tenant/blob/4512aeeb72504d401f4ed3a869039ee075a2208e/spec/activerecord-multi-tenant/query_rewriter_spec.rb#L55

since the change is only required for citus 7.3 I thought of only enabling the patch said version, however this would require me to add the concept of a "citus version", therefore increasing the complexity of the gem. I am not sure this is a good idea since adding (again) the multi-tenant clause is harmless.

closed, replaced by https://github.com/citusdata/activerecord-multi-tenant/pull/102


Need strict mode for debounce.js?

I upgraded from 2.6.0 to 2.6.1 and started getting the following error:
/usr/local/lib/node_modules/elm-live/source/debounce.js:4
let timeout;
^^^
SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
I appears that debounce.js was added in 2.6.1.

Hey @clarkware, thanks a lot for the report! May I ask what version of node you’re running on? After merging this change, I also updated the heads-up note – you now need node 6+ to run elm-live natively.
Sorry for the surprise – and let me know if it helped 🙂

Thanks for the quick response, @tomekwi. I was getting the error using Node v5.4.0. Upgrading to Node 6 indeed fixed it. Thanks!

To prevent such things in the future, I just released a patch fixing the engines field in the package.json. Unfortunately, npm has some convoluted logic which causes that setting to be ignored, but yarn does the job perfectly:
$ yarn global add elm-live
yarn global v0.16.1
warning No license field
[1/4] 🔍  Resolving packages...
[2/4] 🚚  Fetching packages...
error<EMAIL_ADDRESS>The engine "node" is incompatible with this module. Expected version ">= 6.0.0".
error Found incompatible module
info Visit https://yarnpkg.com/en/docs/cli/global for documentation about this command.

Fixed in 2.6.2 🙂


Update gradle plugin configuration doc

The existing configuration results in a gradle error with a cryptic message. After diffing around I realized that schemaFiles is not a property but rather a ConfigurableFileCollection so we should use a setFrom method instead and provide the list of paths

@adubovkin: Thank you for submitting a pull request! Before we can merge it, you'll need to sign the Apollo Contributor License Agreement here: https://contribute.apollographql.com/


[#1950] Adds support for TRANSACTION_CURSOR_STABILITY and TRANSACTION_LAST_COMMITTED

TRANSACTION_LAST_COMMITTED - This allows a readonly user to access a row and read the last commited data while Informix has an open lock against the data.
Unlike TRANSACTION_READ_UNCOMMITTED which would also accomplish the same but would end up allowing dirty reads. This would lead to us reading data that's potentially either rolledback or never actually commited.
TRANSACTION_CURSOR_STABILITY - Cursor stability will place a lock on a row as it's fetched which ensures that the data doesn't change while the program reads the data.
Documentation for cursor stability can be found here https://www.ibm.com/docs/en/informix-servers/12.10?topic=level-informix-cursor-stability-isolation
Documentation on Informix transaction isolation levels are here https://www.ibm.com/docs/en/informix-servers/12.10?topic=database-informix-environment-variables-informix-jdbc-driver

@brettwooldridge This seems reasonable to me, but presumably there are other isolation levels as well. Why stop here, is there a way to support everything without HikariCP having to know?

As the Ifxconnection extends java.sql.connection and I suspect most of them would. It might be possible to just expect an instance of java.sql.connection to be passed in. That would likely result in a breaking change though.
https://javadoc.io/static/com.ibm.informix/jdbc/4.10.9/com/informix/jdbc/IfxConnection.html


Improve handling of activity context on redirectToSignIn

Currently, a BlockstackSession is created with a context parameters. The context is used to redirect the user to the blockstack browser via startActivity, therefore, the context needs to be an activity. However, for all other use cases the application context would be sufficient (to lookup resources mainly). If only the application context is needed the same BlockstackSession could be used across activities.
(this continues the discussion on #151 with @sdsantos )

@sdsantos

why would the user experience suffer with 1)?
Going back would close the browser and not back to the app.

And why should the BlockstackSession only belong to a  single activity? Isn't it meant to be used throughout the app? I feel  like belonging to the Application Context makes more sense.
My understanding of the app architecture is that some components (activities, services) of the app deal with blockstack, others don't. Therefore, it makes sense to just keep it local to the component. Maybe that is a not valid for all apps, more blockstack focused apps. I would argue that all the gaia communications should be handled in one service component.

Just for completeness again:
The application context is used

to lookup resources (for javascript files)
to retrieve default shared preferences (via SessionStore)

The activity context is required

to redirect the user to sign in

A way to solve this issue could be to move redirectToSignIn to a new object BlockstackSignIn.

@friedger Just to follow-up on

Going back would close the browser and not back to the app.

From what I tried, when calling context.startActivity with the flag Intent.FLAG_ACTIVITY_NEW_TASK the back button still returns to app. I believe this is a method used by other libraries to only require the application context.

This works only because you didn't do anything in between. Press home, open another app (e.g. answer the phone) then come back to the app and press back.

Version 0.5.0 introduces a BlockstackSignIn object that use an activity context and is only used for sign in.


0% Code coverage

I am currently having an issue with another project reporting 0% code coverage with jacoco. So, I tried another app of mine which is reporting the same thing. Then, I downloaded this repo and tried it, same results.
Steps to reproduce:
Clone repo
./gradlew connectedCheck
Open up 'example-android/sample-app/build/reports/coverage/free/debug/index.html' in chrome.

What's confusing about this, is I am using codecov for a Workout Application I am building. My codecoverage is merged and shows fine on codecov.io (79%). But when I run ./gradlew connectedCheck from cmd and check the html report, I am getting 0% test coverage. Am I the only one running into this issue? It's happening on 3 of my projects.


Damage update causes an error when it cannot find the damage

Seems like your before action which finds the object should short-circuit with a 404 if it can't.


Map creation with the new dashboard

Fixes #2257

Frontend tests were OK :+1: (details)

@juanignaciosl CR please

Frontend tests were OK :+1: (details)

Frontend tests were OK :+1: (details)


Unexpected token - GZipped responses cause Eureka interactions to fail

When the server returns GZipped responses, they are parsed to JSON before being unzipped.  This produces an error:
REQUEST emitting complete http://<IP_ADDRESS>:8080/eureka/v2/apps/
retrieved registry successfully
SyntaxError: Unexpected token
at Object.parse (native)
at Request._callback (/Users/brandongk/Desktop/old-freshgrade/eureka-js-client/lib/EurekaClient.js:370:41)
at Request.self.callback (/Users/brandongk/Desktop/old-freshgrade/eureka-js-client/node_modules/request/request.js:200:22)
at Request.emit (events.js:98:17)
at Request. (/Users/brandongk/Desktop/old-freshgrade/eureka-js-client/node_modules/request/request.js:1067:10)
at Request.emit (events.js:117:20)
at IncomingMessage. (/Users/brandongk/Desktop/old-freshgrade/eureka-js-client/node_modules/request/request.js:988:12)
at IncomingMessage.emit (events.js:117:20)
at _stream_readable.js:944:16
at process._tickCallback (node.js:458:13)

PR #55.

Fixed in #55 and available in v2.5.1. Thanks!

For posterity... It looks like in later versions of Eureka it ignores the Accept-Encoding header and always sends gzipped content down no matter what. This was added in August of 2015 due to the size of the response and most modern clients/browsers supporting gzip. So, that's probably why this is an issue now, because even though we weren't sending Accept-Encoding: gzip, later Eureka versions send gzipped data. More info here if you want to check it out.


Convenience improvements to v3 retry logic

This PR does three things:

Adds an example of how to use v3 retries
Doesn't log out every time we run a command without v3 retries
Updates the changelog

I ran our e2e tests and checked that the example code works as expected for version 2.9.1.


updated the port number

updated the port number

Thanks for the PR but the port is correct as the default Vite preview port is 4173: https://vitejs.dev/config/preview-options#preview-port


Support AWS Aurora Storage (via zipkin-storage-mysql if possible)

Aurora reports: Server version: 5.6.10 MySQL Community Server (GPL)
It seems that there is some issue utilizing aws rds auroroa mysql as a store for zipkin server, while regular mysql rds works fine.  From the logs it looks like it is trying to do the inserts but maybe auroroa doesn't ack properly?
With aurora:
2017-06-08 18:38:14.285 DEBUG 10633 --- [nMySQLStorage-1] org.jooq.tools.LoggerListener            : Executing batch query    : insert into `zipkin_spans` (`trace_id`, `id`, `parent_id`, `name`, `debug`, `start_ts`, `duration`) values<PHONE_NUMBER>546571833,<PHONE_NUMBER>546571833, null, 'getcustomerbyid', null,<PHONE_NUMBER>222000, 21000) on duplicate key update `zipkin_spans`.`name` = 'getcustomerbyid', `zipkin_spans`.`start_ts` =<PHONE_NUMBER>222000, `zipkin_spans`.`duration` = 21000
2017-06-08 18:38:14.289 DEBUG 10633 --- [nMySQLStorage-1] org.jooq.tools.LoggerListener            : Executing batch query    : insert ignore into `zipkin_annotations` (`trace_id`, `span_id`, `a_key`, `a_type`, `a_timestamp`, `endpoint_service_name`, `endpoint_ipv4`, `endpoint_port`) values<PHONE_NUMBER>546571833,<PHONE_NUMBER>546571833, 'sr', -1,<PHONE_NUMBER>222000, 'customer',<PHONE_NUMBER>, 10004)
2017-06-08 18:38:14.289 DEBUG 10633 --- [nMySQLStorage-1] org.jooq.tools.LoggerListener            : Executing batch query    : insert ignore into `zipkin_annotations` (`trace_id`, `span_id`, `a_key`, `a_type`, `a_timestamp`, `endpoint_service_name`, `endpoint_ipv4`, `endpoint_port`) values<PHONE_NUMBER>546571833,<PHONE_NUMBER>546571833, 'ss', -1,<PHONE_NUMBER>243000, 'customer',<PHONE_NUMBER>, 10004)
2017-06-08 18:38:14.289 DEBUG 10633 --- [nMySQLStorage-1] org.jooq.tools.LoggerListener            : Executing batch query    : insert ignore into `zipkin_annotations` (`trace_id`, `span_id`, `a_key`, `a_value`, `a_type`, `a_timestamp`, `endpoint_service_name`, `endpoint_ipv4`, `endpoint_port`) values<PHONE_NUMBER>546571833,<PHONE_NUMBER>546571833, 'ca', X'01', 0,<PHONE_NUMBER>222000, 'customer',<PHONE_NUMBER>, -25626)
2017-06-08 18:38:14.291 DEBUG 10633 --- [nMySQLStorage-1] org.jooq.tools.LoggerListener            : Executing batch query    : insert ignore into `zipkin_annotations` (`trace_id`, `span_id`, `a_key`, `a_value`, `a_type`, `a_timestamp`, `endpoint_service_name`, `endpoint_ipv4`, `endpoint_port`) values<PHONE_NUMBER>546571833,<PHONE_NUMBER>546571833, 'sa', X'01', 0,<PHONE_NUMBER>222000, 'customer',<PHONE_NUMBER>, 10004)
2017-06-08 18:38:14.296 DEBUG 10633 --- [nio-9411-exec-2] o.apache.catalina.core.AsyncContextImpl  : Req: 15ce65cd  CReq: 20d55d15  RP: 16f5372d  Stage: 3  Thread: http-nio-9411-exec-2  State:                  N/A  Method: recycle      URI: /api/v1/spans
2017-06-08 18:38:14.299 DEBUG 10633 --- [nio-9411-exec-2] o.a.tomcat.util.net.SocketWrapperBase    : Socket: [org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper@12cab12b:org.apache.tomcat.util.net.NioChannel@1832da5b:java.nio.channels.SocketChannel[connected local=/<IP_ADDRESS>:9411 remote=/<IP_ADDRESS>:58378]], Read from buffer: [0]

I never see the org.jooq.tools.StopWatch show up after this.  Zipkin still accepts requests, but it doesn't go anywhere.
Hikari claims that the connections or idle so im not sure what's going on
com.zaxxer.hikari.pool.HikariPool        : HikariPool-1 - Pool stats (total=10, active=1, idle=9, waiting=0)

when i do show processlist, i see my connections as either "delayed send ok done" or "delayed commit ok done"

What happens if you try one of those sql queries manually? Wondering if
there is something in this syntax aurora doesnt like.

edited issue title. once we get to the bottom of this, we can figure out whether to do detection (like we do with AWS elasticsearch vs normal elasticsearch) or if we can get by with just a small adjustment or some library compat stuff here.

This should be sorted in 1.26.1 which has corrected the mysql dialect setting in the client. If doesn't work, please re-open!


Attempting to use imported components that use SVG fails in Jest

Hi there, another question if you have a second! I have components that render imported SVG files as components. These components are then imported into the jest test files. When running my test, I receive the following error:
Cannot create styled-component for component: [object Object].

My test code looks like this:
it('should render an icon', () => {
  const IconToRender = styled(getIcon('Copy'))`` // this is supposed to return an imported SVG icon, but instead throws the error below.
  const {container} = render(<IconToRender />)
  const iconSVG = container.querySelector('svg')
  expect(iconSVG).toBeTruthy()
})

I think this is an issue with the svgr functionality. My config looks like this:
options: {
  enableSvgr: true,
}

But I don't think that matters, because upon inspecting this plugin's code, enableSvgr is only active inside the overrideWebpackConfig codepath. It might also be worth mentioning that these icons render just fine in the browser.
Any ideas?

Nvm, I think this issue is specific to how we're importing SVGs in the project.


Add support for Atlas LDAP UserToDNMapping flags

Proposed changes
This adds three new flags in support of this feedback idea I submitted:
https://feedback.mongodb.com/forums/930808-mongodb-cli/suggestions/43443876-support-setting-usertodnmapping-in-ldap-config

Jira ticket: None
Checklist

[x] I have signed the MongoDB CLA
[x] I have added tests that prove my fix is effective or that my feature works
[x] I have added any necessary documentation (if appropriate)
[] I have updated e2e/E2E-TESTS.md (if a new command or e2e test has been added)
[x] I have run make fmt and formatted my code

Further comments
I didn't see an obvious way to add validation that only one of the substitution or query flags are included but the backend returns this error if both or neither are submitted. I'm open to ideas for how/where to add validation if it would be appropriate.
Error: PATCH https://cloud.mongodb.com/api/atlas/v1.0/groups/xxxxx/userSecurity: 400 (request "INVALID_ATTRIBUTE") Invalid attribute userToDNMapping specified.

I tested this against a few live clusters where I needed to set their full configuration and wanted to avoid copying and pasting in the GUI.

Hi @ehershey I would like to do a mongocli release this week an include this improvement let me know if you need any help here to get tests green again
Also about this

I didn't see an obvious way to add validation that only one of the substitution or query flags are included

If only one of
mappingMatch          string
mappingLdapQuery      string
mappingSubstitution   string

can be set it would be nice to validate at the client side,
you can define something like
func (opts *SaveOpts) validate() error {
	// a && (b || c) || (b && c): check if at least two are true
	if opts.mappingMatch != "" && (opts.mappingLdapQuery != "" || opts.mappingSubstitution  != "") || (opts.mappingLdapQuery != "" && opts.mappingSubstitution  != "") {
		return errors.New("can't supply more than one userToDNMapping")
	}
}

and add it to the list of validations that run in the command
PreRunE: func(cmd *cobra.Command, args []string) error {
	return opts.PreRunE(
	opts.ValidateProjectID,
	opts.initStore,
	opts.validate,
	opts.InitOutput(cmd.OutOrStdout(), saveTemplate))
},

Okay! I’ll try to circle back around to this today.
On Mon, May 24, 2021 at 6:51 AM Gustavo Bazan @.***>
wrote:

Hi @ehershey https://github.com/ehershey I would like to do a mongocli
release this week an include this improvement let me know if you need any
help here to get tests green again
Also about this
I didn't see an obvious way to add validation that only one of the
substitution or query flags are included
If only one of
mappingMatch          stringmappingLdapQuery      stringmappingSubstitution   string
can be set it would be nice to validate at the client side,
you can define something like
func (opts *SaveOpts) validate() error {
// a && (b || c) || (b && c): check if at least two are true
if opts.mappingMatch != "" && (opts.mappingLdapQuery != "" || opts.mappingSubstitution  != "") || (opts.mappingLdapQuery != "" && opts.mappingSubstitution  != "") {
return errors.New("can't supply more than one userToDNMapping")
}
}
and add it to the list of validations that run in the command
PreRunE: func(cmd *cobra.Command, args []string) error {
return opts.PreRunE(
opts.ValidateProjectID,
opts.initStore,
opts.validate,
opts.InitOutput(cmd.OutOrStdout(), saveTemplate))
},
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mongodb/mongocli/pull/678#issuecomment-846959136, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AACF2OH4J44ERYZWPV4ISTTTPIVTJANCNFSM45A5RRZQ
.

Thanks a lot for the reviews and tips @andreaangiolillo and @gssbzn! I believe I addressed all comments in the PR.


Add Harbor review

Harbor Graduation Recommendation is added.
Note: the review conclusion is Harbor is ready for the CNCF Graduation stage without further concerns.

/cc @AloisReitbauer @bryanl @caniszczyk

thank you @resouer for the review! we appreciate it!

@amye Seems I still can't merge PRs in SIG App Delivery repo :-/

@resouer you never accepted the invite :)? https://github.com/cncf/sig-app-delivery/invitations

@caniszczyk I see ... that should be the problem. Now "This invitation has expired", any chance to send it again? I will watch my inbox.

Done


Add jobs from Job boards

Adding jobs from the job boards mentioned in this blog https://blog.commclassroom.org/how-to-use-the-best-job-boards-to-find-a-software-engineering-job#write-comment

I would love to work on it can u please, assign this issue to me😄

@vish-han Please make sure that you create separate pr for each roadmap :)

Hello , sir I would like to add some job description for the visitors can please give me the permission to work on this .

@AnuragSharma5893 I think adding job descriptions will clutter the readme and make it hard to read as there will be 100s of jobs going to be listed there. You can go ahead and job portals for each of the respective domains

@kaiwalyakoparkar I want to add some jobs in Devops as well as blockchain please assign me this issue.

hey @Purva2803 this task is common across all job boards. Feel free to raise a PR for the same

Hello, Is anyone working on this issue, I would like to contribute to it, please assign it to me.

Can we use web scraping to find the jobs?

Link is not working : https://blog.commclassroom.org/how-to-use-the-best-job-boards-to-find-a-software-engineering-job#write-comment

@Dhanrajtamang This is the updated link
https://blog.wemakedevs.org/how-to-use-the-best-job-boards-to-find-a-software-engineering-job#write-comment


Create UI elements and backend for creating nodes at runtime in the editor

Create both ui and backend implementation to allow user to create their own nodes with the currently registered components.

Made good progress with the node creaator UI. Should be done tomorrow including the persiting of user created templates.

Feature is done now. UI is solid enough. Supports endless user created nodes and provides a visual editor where you can add or remove nodes. You can name and choose the type with a dropdown. They are saved seperately from exports.
Exports now only save the templates of used nodes


Merge remote-tracking branch 'CenturyLinkCloud/master' into ManagedOSAWSLaunch

Adding cloud optimization subfolder and adding content

closing as it contains no changed files


[Feature request]  A dialog box for selecting a specific media player when playing over the network

In my home network, there are two kodi players, one installed in the bedroom and the other in the living room, and both kodi players are also added to the kore app. When I share a YouTube link from my phone with the kore app, I can't choose where exactly the video will be played, kore always sends the video to the kodi player that was used last. It would be convenient if, when sending a youtube link to the kore application, a dialog box appeared with the selection of a specific player in kore.

Please open the feature request there: https://forum.kodi.tv/forumdisplay.php?fid=9 Github is only a bug tracker!


Viro is PWA or Native?

Hello,
I'm new to Viro and I would like to know if Viro can be use for PWA app?
I'm creating an application with React native targetting android & IOS devices.
My desire is that the app integrate Viro and also that the app is accessible and usable directly from a web url ( not downloaded from app store or play stores)
Is it possible?
Thanks you by advance
Franck

no it's android & IOS only

no it's android & IOS only

Thanks you very much.
What technology would you suggest me to do AR with web? (Need surface detection and place object)

@GUILLALAB Are you doing WebXR for both Android and IOS?

@GUILLALAB Are you doing WebXR for both Android and IOS?

Currently I've a prototype in native android using arcore.
webAR (webxr) could be a solution to my need  for PWA. it seems surface detection works well on android and ios.

sketchfab but $

@GUILLALAB There is an easy way and a hard way. The easy way: Unity. Unity can handle all of this: but the learning curve is steep. It's kind of webxr (web implementation won't work for iPhone), but you could just publish a native app, and try and use their new App Clips/ rig some functionality together using Quick Look on IOS (both App Clips and Quick look are brand new).
The hard way: Go full WebXR using three.js, AFrame (or maybe even React360). Your PWA will do all the animations/ view morphing client-side, and your backend will do all the sync/ upload/ multiplayer, etc. Here is the Structure for the hard way:

Android's WebXR and Apple's Quick look will be your front end. (However, Apple's quick look is only a model viewer -no real interactivity), however, on both you get surface tracking out of the box.
And then, you can render whatever models you like,e but your PWA needs to recognize Apple devices because they require a unique file format. (On paper, you are opening up a model viewer)
Now to add functionality: Then you create hidden HTML CSS masks that track taps, and swipes. Since your PWA on paper will not be allowed to listen to Apple/ Android interactions inside the model viewer.  (Honestly, it's like running a man in the middle attack for user action presses)
Now that you have input (the mask), and output (the viewer), you need to write a bridge (the in-between work). So that when you interact with your mask ("hidden" controls), it updates the model's properties ( orientation, size,e etc.).
On the model viewer's side, it thinks it is an animation.
On the developer, you have create a hidden joystick
On the user side, it is a cross-platform PWA that has the same functionality in IOS and android.

Anyways, there are other ways to do this also, using tensorflow.js, but it depends on your application. And as @Turtleted21 mentioned Sketchfab is an option if you want to create a model viewer.
If you are interested in continuing this convo, I recommend joining the Viro Slack: https://viromedia.com/
Feel free to start a thread, or reach out to me personally on the slack. I am closing this thread since it seams resolved.


chore: bdd-spring-1575452378 to 0.0.1

chore: Promote bdd-spring-1575452378 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


nbands setting in vasp SCF

Current default vasp SCF uses the same estimator to set nbands, which can result in thousands of bands. This is a high waste of computational resource. The nband keyword should not be set for SCF and we should let vasp decide it.

Resolved in #229.


is this project still activelly developed?

It would be great to have some indication of whether this project can be relied upon in the foreseeable future, specifically whether bugs will be actively resolved and development will continue.

This package is great and I too would like to know about its future.  Thanks for all of your efforts!

btw, I just found this issue which spells out the future.

I'll comment that I did have some changes, but I've not seen anything from @schlich in awhile.
@schlich any word on the support? Sounded like you were the primary person after @sdebruyn now

I switched jobs to a job that does not use SQL Server not too long after taking the lead on the last major upgrade, which means I don't have the capacity/motivation to actively maintain the repo. I can tend to pull requests to the best of my ability (i'm not sure if there's any other active contributors with the ability to do so), but I have definitely not been able to organize bug fixes and new updates, etc. I believe I also don't have the ability to name admins/maintainers in the github organization, but if someone is willing to take up the torch I can try to see what we need to do to pass it on.
for now, tagging me on here is probably the best way to get my attention if active help is needed (I have a little more time for side quests now that i've settled into the new job a bit, but not too much)
but I'm not aware of any active developments or maintenance work happening, to try to answer the original question.

@schlich I'm happy to pick up the mantle of admining this if its an option. We will be using for the foreseeable future.
I've got a branch implementing all the tests for the current version and fixing a few of the regressions. It will likely conflict with the #502 merge though

@cody-scott congratulations, you are now an admin 🙂


I can't go to the website of dlide.mybluemix.net

Is it some problem with the website? https://dlide.mybluemix.net/

@ParsonsZeng Thanks for the message.
we have moved DL-IDE into Watson Studio as Neural Network Modeller - https://dataplatform.cloud.ibm.com/docs/content/analyze-data/ml-canvas-nnd-intro.html
You can use Watson Studio here:  https://dataplatform.cloud.ibm.com/
Hope this helps.


Automatically support c:hidden_from_recipe_viewer for custom stack types

It would be useful if instead of just the builtin types EMI also would also check the hidden from recipe viewer tag for custom stack types when there is a corresponding registry adapter added so that EMI knows how tags of that type work.

This is implemented for stack types whose keys match an existing registry adapter as of 1.1.7, thanks for the suggestion!


Navigating to current location (the query parameter has changed) is not allowed

keyWordsChange() {
    const { keywords } = this
    const query: Query = get(this, '$route.query')
    if (keywords) {
        query.keywords = keywords
    } else {
        delete query.keywords
    }
    this.$router.replace({
        ...this.$route,
        query,
    })
}

Tye route object is read-only. Make sure to create a copy instead of deleting from query

let query  = Object.assign({}, this.$route.query)
// ...
this.$router.push({ query })


Need solution for render placemark balloon content

Need solution for rendering baloon content
i try make somethin like this
          <Placemark key={'placemark-' + uuid.v1()}
                geometry={{
                    coordinates: [item.latitude, item.longitude],
                }}
                properties={{
                    balloonContent: () =>  this.handleItemClick(item.id)}>item.name,
                    iconCaption: item.name
                }}
                options={{
                    preset: 'islands#greenDotIconWithCaption',
                    iconColor: '#aeca3b',
                    controls: []
                }}
            />

but ballon content no rendering correctly

Your balloonContent value is wrong. GeoObject properties props is just GeoObject feature.properties from yandex.maps, it doesn't support React components.
This library doesn't support rendering React components GeoObject contents of any kind.
You could use yandex.maps template factory to create custom balloon layout and add your events to it.


link_to :back does not work

I'm using Turbolinks 5.0.0.beta3 and = link_to 'Back', :back:  does not work for me. It generates a link to the current page instead of the previous one.

@jastkand,

= link_to 'Back', :back

, work! update Turbolinks 5.0.0.beta4 :+1:

@1989medium Great, it works, thanks!

For posterity, this was (unintentionally) fixed by #48, by starting the request before changing history.


Fix gun cursor popup spam

From review, stops it spamming every tick.

oh so that's how you do it


New version: ApproximateGPs v0.3.3

Registering package: ApproximateGPs
Repository: https://github.com/JuliaGaussianProcesses/ApproximateGPs.jl
Created by: @st--
Version: v0.3.3
Commit: fb3f410af6939117a6a1bfa4e102955564082fc2
Reviewed by: @st--
Reference: https://github.com/JuliaGaussianProcesses/ApproximateGPs.jl/commit/fb3f410af6939117a6a1bfa4e102955564082fc2#commitcomment-68922152
Description: Approximations for Gaussian processes: sparse variational inducing point approximations, Laplace approximation, ...

Added [compat] entry for LogExpFunctions for the following release, 0.3.4 - please merge this anyways if possible. [noblock]

If anyone from JuliaRegistries is seeing this and merges it with https://github.com/JuliaGaussianProcesses/ApproximateGPs.jl/pull/120 still open, please mention it! If https://github.com/JuliaGaussianProcesses/ApproximateGPs.jl/pull/120 is merged, please close this one instead. Sorry for the mess-up! [noblock]

Please close this PR


[BUG] Description: Application breaking in local environment

Description
What's the issue?
Because of the application breaking I created a fresh clone of the repo, & installed the dependencies again. After starting the server with npm run dev it starts the server but when I click on signup today buttonit doesn't take me there. If I type signup page url explicitly in my browser than it gives me the error.
Screenshots

@ykdojo give a look at it

@Gulshanaggarwal did you add Supabase URL and API keys?

@ykdojo I have already done with this. One more thing there is problem also on production side(just figured out). Gotohttps://defaang.vercel.app/ & click on signup today. If you already signed up then signin. Once you signin with your credentials, you will not be taken to the dashboard.

@Gulshanaggarwal what did you mean by the dashboard?

@Gulshanaggarwal what did you mean by the dashboard?

The page users see after signin.

@Gulshanaggarwal does it already exist in the current codebase? I'm just not sure what you mean by dashboard exactly.


[WIP] Fixed Orchestration Stack instance delete button

Purpose or Intent
When you navigate through Compute -> Clouds -> Stacks -> Instances -> Power -> Delete
https://bugzilla.redhat.com/show_bug.cgi?id=1347002

@miq-bot add_label wip

An instance from a stack is exactly the same as regular instances. So the menu should look exactly the same, and I assume they shall share the same code.

@bzwei so then these instances SHOULD implement vm_destroy then, correct?  Is that the bug, that they need that method?

@dclarizio The screenshots are confusing. The first one is for instance while the second one is for stack itself. For stack vm_destroy cannot be called.
For vm and instances, what does the delete menu do? Remove it from VMDB, provider, or both?

@bzwei confusing to me too, and I can't answer your questions.  We may need to discuss with some folks, but will give @PanSpagetka a chance to respond when he returns tomorrow morning.

@dclarizio: @PanSpagetka talked to @Ladas and I think he already knows what @bzwei is saying and was working on it, just didn't update the PR so far. He was also slow down because of bug #9969.

@bzwei Delete menu remove things from VMDM.
I think that all screenshots are showing the same thing.
I am still little bit confused. So Orchestration Stacks SHOULDNT have vm_destroy implemented and SHOULDNT have the delete button, but instance SHOULD have it? Am I right?
Now comes the confusing part, when you click trough Compute -> Clouds -> Stacks -> Select stack -> Instances you get to page on first screenshot. Entity displayed on this page seems to be Orchestration Stack. But also it should be instance because, you select instances before. So should we have the Delete button here?

@bzwei I think all the screenshots are for instances, the second screenshot should be when you click on instances in the detail of the stack.
There was some delegation I didn't really understand, seems like when Instance is under Service or Stack, it somehow delegates the vm_destroy call from those classes.
But yeah, I would expect instance will have the same action, regardless of list where it's displayed. There could be a warning though, that the Instance is a part of Stack or Service, therefore it should not be deleted directly, but as a part of a retirement process of the parent.

@bzwei we have this process_objects
`  def process_objects(objs, task, display_name = nil)
case get_rec_cls.to_s
when "OrchestrationStack"
objs, _objs_out_reg = filter_ids_in_region(objs, "OrchestrationStack")
klass = OrchestrationStack
when "Service"
objs, _objs_out_reg = filter_ids_in_region(objs, "Service")
klass = Service
when "VmOrTemplate"
objs, _objs_out_reg = filter_ids_in_region(objs, "VM") unless VmOrTemplate::POWER_OPS.include?(task)
klass = Vm
end
return if objs.empty?

options = {:ids => objs, :task => task, :userid => session[:userid]}
options[:snap_selected] = session[:snap_selected] if task == "remove_snapshot" || task == "revert_to_snapshot"
klass.process_tasks(options)

rescue => err
add_flash(("Error during '%{task}': %{error_message}") % {:task => task, :error_message => err.message}, :error)
else
add_flash(("%{task} initiated for %{model} from the CFME Database") %
{:task  => display_name ? display_name.titleize : task_name(task),
:model => pluralize(objs.length, ui_lookup(:model => klass.to_s))})
end`

@PanSpagetka Now I see all screenshots are for instances. The context menu should be the same no matter the screen was initially navigated from Orchestration Stack, Service, or Provider Instances.
The bug could be get_rec_cls in process_objects. In this case it should not return OrchestrationStack since the selected object is a VmOrTemplate.
If Delete menu item only removes the instance from VMDB, I don't see it is very useful because next refresh will add it back to VMDB. But since it is already in the menu as a feature, it probably needs to remain.

@bzwei @dclarizio I changed the behavior of get_rec_cls so now, when its on page which displays instances it returns VmOrTemplate insted of OrchestrationStack. I am not very satisfied with this change, but it seems to work...

@miq-bot remove_label wip

@PanSpagetka do you have a screenshot so that we can compare before and after the fix?

@bzwei what about your comment that removing it from the VMDB will only result in it returning on next refresh?  To me, that sounds like either we CAN'T remove it from just the VMDB or we should actually delete it on the provider.
Either way, I need to know when this is ready for merging, so please either make it WIP or let me know it's ready.
Thx, Dan

@dclarizio It see the option "remove from VMDB" is available to many objects. They will be pulled back at next refresh. So this is not a problem specific to this issue discussed here.
In summary, the instance resulting from an orchestration stack is not different from other directly provisioned instances. Therefore the operation menu should look like exactly the same regardless of the root. If this is true then this PR can be merged.

@h-kataria can you please get with @PanSpagetka as I see 3 BZs all linked together and some are ON_DEV, some ASSIGNED, etc?  They seem to deal with Terminate, not Delete, so I'm not sure what is being fixed and where.  Other PRs are mentioned in some of the BZs as well and I'm not sure how those tie in or what versions they apply to.
If you need help figuring it out, let me know.
Thx, Dan

@dclarizio Delete is Terminate. We just change button label, but it calls same action.


fix: upgrade ESLint to v7

:tada: This PR is included in version 1.3.3 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


need to improve the document due the security patch for ubuntu images

hi :
i am one of the support engineers of MS.
from the doc https://docs.microsoft.com/en-us/azure/hdinsight/hdinsight-os-patching,
the script  install-updates-schedule-reboots.sh
it looks like we need to access
http://security.ubuntu.com/ubuntu and script blob https://hdiconfigactions.blob.core.windows.net
if we don't allow these in udr/firewall. we will fail to patch the ubuntu image
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: f48eda35-f874-4ea3-27be-e49fd2767399
Version Independent ID: 8f683e01-020f-807a-624b-a4e971a6ce14
Content: Configure outbound network traffic restriction - Azure HDInsight
Content Source: articles/hdinsight/hdinsight-restrict-outbound-traffic.md
Service: hdinsight
GitHub Login: @JasonWHowell
Microsoft Alias: jasonh

@sunscorch  Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.

@sunscorch I'm not sure. Did you work with an ICM to confirm with the product team?

ok. will do that

@sunscorch did you get confirmation?
#reassign:sreekzz


Translate add-on control panel

As the title of the panel already says: this is about activating, not installing.

Looking for a german speaking reviewer, @tisto .

Closed in favor of https://github.com/plone/volto/pull/4620