Swagger changes for a new feature which is to generate LOA for expressRoutePorts resource.

…sRoutePorts resource
Latest improvements:
MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Contribution checklist:

[ ] I have reviewed the documentation for the workflow.
[ ] Validation tools were run on swagger spec(s) and have all been fixed in this PR.
[ ] The OpenAPI Hub was used for checking validation status and next steps.

ARM API Review Checklist

[ ] Service team MUST add the "WaitForARMFeedback" label if the management plane API changes fall into one of the below categories.
adding/removing APIs.
adding/removing properties.
adding/removing API-version.
adding a new service in Azure.

Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.

[ ] If you are blocked on ARM review and want to get the PR merged urgently, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
Please follow the link to find more details on API review process.

/azp run automation - sdk

/azp run automation - sdk

Can one of the admins verify this patch?

/azp run automation - sdk

/azp run automation - sdk

/azp run automation - sdk

/azp run automation - sdk

/azp run automation - sdk

/azp run automation - sdk

/azp run automation - sdk

/azp run automation - sdk

I will make this PR against the may release branch. Closing this for now


In workspaces, cargo fmt only works in the top-level directory #8724

Describe the bug

$ cargo fmt
Failed to find targets
cargo-fmt 1.4.18
This utility formats all bin and lib files of the current crate using rustfmt.

USAGE:
    cargo fmt [FLAGS] [OPTIONS] [-- <rustfmt-options>...]

FLAGS:
        --all        Format all packages (only usable in workspaces)
    -q, --quiet      No output printed to stdout
    -v, --verbose    Use verbose output
        --version    Print rustfmt version and exit

OPTIONS:
        --manifest-path <manifest-path>      Specify path to Cargo.toml
        --message-format <message-format>    Specify message-format: short|json|human
    -p, --package <package>...               Specify package to format (only usable in workspaces)

ARGS:
    <rustfmt-options>...    Options passed to rustfmt

To Reproduce

cargo new outer && cd outer
cargo new inner
printf '[workspace]\nmembers = ["inner"]' >> Cargo.toml
cd src
cargo fmt

Expected behavior
cargo fmt should format all packages in the workspace, like it does from the top-level directory.
Meta

rustfmt version: rustfmt 1.4.21-nightly (01f2ead 2020-09-04), but the problem is also present on rustfmt 1.4.18-stable (8157a3f 2020-07-15)
From where did you install rustfmt?: rustup
How do you run rustfmt: cargo fmt

You need to include the --all if you want to run against the entire workspace from a sub directory. Some more info here

It should say that in the error message, then. Right now it just looks like a bug.

It should say that in the error message, then. Right now it just looks like a bug.

I just wanted to clarify that the expected behavior you provided in the issue description was not in alignment with the expected cargo fmt behavior. Full workspace formatting from a subdirectory is supposed to be an opt-in via the flag so that folks have the ability to format just the local member as well as the entire workspace.
That being said, I do agree there's a bug and suspect it's a regression of an older one

@calebcartwright it is unclear to me what is considered the bug in this scenario and what the expected behavior since it sounds like some of the behavior is expected.
Personally, I would expect it to behave like cargo build and when run inside of a src directory, it would format that crate.  Also worth noting that this behavior is different, depending on if you are in a workspace or not.
(came across this issue when looking at #5010)

This also happens if you're not inside of any package inside the workspace, e.g. a .github folder. I would expect that to format the whole workspace since it's unambiguous.

See also #2280.

What are the updates on this?


OLS-165: Response sanity check

Validate any deviation in LLM response.
A stand alone python script to check responses for different scenario / different models. The json file must contain question/answer pair for given scenario & model.

Load pre-defined question/answer pair from json file.
Call API with question/query
Check similarity between answer from file & llm response.

Type of change

[ ] Refactor
[ ] New feature
[ ] Bug fix
[ ] CVE fix
[ ] Optimization
[ ] Documentation Update
[ ] Configuration Update
[ ] Bump-up dependent library

Related Tickets & Documents

Related Issue # OLS-165
Closes #

Checklist before requesting a review

[ ] I have performed a self-review of my code.
[ ] PR has passed all pre-merge test jobs.
[ ] If it is a core feature, I have added thorough tests.

Testing

Please provide detailed steps to perform tests related to this code change.
How were the fix/results from this change verified? Please provide relevant screenshots or results.

I remember we were running some job weekly once.. We can run the whole script there. And only few questions regularly when we raise PR. We can do this when we have enough Q/A pair and improvised validation.

at present we're running a couple e2e jobs every day, but we can definitely setup an "llm evaluation" job to run weekly.

/approve
/lgtm


Codebase Clean up

I removed unused 'using statements' from the code base. just a clean-up.

let us not remove the exception variable in this PR

let us not remove the exception variable in this PR

okay, reverting ASAP

let us not remove the exception variable in this PR

This is done.

👍🏻closing this. Thanks


Test against benchmark data

need to find some benchmark data to test this against! So far it runs for both DIS R1200 and B1200 gratings with good S/N.
How does it do with low-res? Medium S/N?
Can I find some example DIS data I trust to test it on? Maybe binary star stuff from SLH's class?

I've got gobs of low-res asteroid spectra as well as a bunch of solar analog stars using DIS R300 and B400.  The solar analogs should be bog-standard spectra reduction but the asteroids require normalization by a solar spectrum to produce a reflectance spectra, else they pretty just look like a slightly funny sun-like star.

Awesome! Two options:

send me some raw data & final results from your own IRAF reductions
maybe try running SPECTRA for me on your data! (or a student, perhaps)

The latter has the added benefit of testing my documentation and default settings
Thoughts?

Sounds good, I'll try to give it a whirl this weekend and let you know what happens.

be sure to get the latest version, still tweaking lots of things!!
i'll try to add some more comments if i get time, and am hoping to write a short "how to use" on the github wiki page

Would be great also if @tdwilkinson could help with this :)

Weekend trip report: Almost got it to work, pretty sure I fixed all the dependency issues on my end, but wasn't able to push it through all the way to extraction. Once I get through the Monday madness at work I'll give it another run.  If i'm still hung up @jradavenport do you want the error dump or the files that I'm trying to get to reduce?

almost working! hah!
I would love a sense for the dependency issues you found, and yes the error dump would be awesome.
The files themselves would be super useful too. Each time i've tried new data i find new... challenges. :) It might be a case of setting various parameters that i have under-doccumented.

Seems to be working on test data that I have on hand.
If @solontoi or @tdwilkinson have any more they want to try (either by themselves or send to me to try) I am happy to do so, but closing issue for now


Allow "next" to modify a message's payload

It would be great to have VerneMQ allowing for the auth_on_publish hook to return something like
{next, ModifiedPayload}

in addition to the current possible return values. That would allow people to write plugins which modify a message's contents without performing authorization (effectively delegating authorizations on plugins sitting later in the chain).
Currently, the way I read and experience it, if an auth_on_publish returns {ok, ModifiedPayload}, the PUBLISH is automatically authorized and no further plugins are queried.

Thanks, this sounds very interesting. One thing to think about is the hook, i.e is auth_on_publish really the best hook to go with here.
We'll discuss this.

@ioolkos Yes, I agree that it may not be the best hook (the name will sound a bit misleading). Anyway, it would be great to have this feature in an upcoming version.

@ioolkos I second this request. It would be very useful in our setup too. :-)

Hi there,
thanks for your patience guys.
Chaining plugins exists for one reason, to find the specific plugin that implements the business logic of the plugin. The chaining itself should not be part of the business logic (it's not forbidden, but it isn't a design goal).
If you require a workaround for this please get in touch over email.
Cheers,
Andre


fix switch variable scope

From my understanding, each case or default statement needs it's own new environments under the switch new environment.
Also, could you add some more tests? Make sure anything under the switch, case, or default environments are gone after the switch. That anything in the switch environment is usable under the case or default. Plus to make sure anything under a case environment is not usable under another case or the default environment.

Was looking for a test case something like
a=1; switch b = 2; b { case 2: a = 2; }; a

LGTM

Was doing some parser work and switch got pulled into what I was working on. Ending up redoing how switch worked, so the changes in this PR were manually pulled into that work:
https://github.com/mattn/anko/pull/271
This PR should be able to be closed, if the other PR is approved.

This can closed now because of PR https://github.com/mattn/anko/pull/271


Move local .sos to ~/.sos/path

We have .sos with a bunch of stuff. They are placed there mostly because we had a pack/unpack feature that was supposed to contain files and their signatures.
With the at least temporary removal of the pack/unpack feature, I think it is better to move .sos to ~/.sos/encoded_path to stop the creation of .sos directory all over the places.

@BoPeng may I suggest that the global directory be named as ~/.sos/basename(path_of_sos_script)_encoded_path? That can help us delete traces of obsolete projects. I get complaints from users from time to time that ~/.sos folder gets too big and my only suggestion to them is to rm -rf ~/.sos. It would be nice if we can do something to help with it. An improved path name is a good start.

how big was too big? The files over there are generally small but can accumulate.
We can

development something like sos clean to remove all project related files.
develop some auto-cleanup strategy that removes files that are, say, more than 30 days old.
Of course needs to know the cause of "too big", some big files or too many files....

Here is the message i got from the user:
 .sos directory takes 23G, so my home directory run out of storage limit. In .sos , tasks takes 11G, transcript.txt  takes 7.4G.

so definitely it is small files accumulated over time beacuse transcript.txt is huge. Option 1 sounds very reasonable.

ok,

.sos/tasks can be big because it contains all task information, including logs (input/output), results, and signatures, and old tasks are supposed to be removed automatically (I believe 30 days).
.transcript can be big because it records all commands executed. Perhaps it makes sense to clear .transcript for any new sos run?

Perhaps it makes sense to clear .transcript for any new sos run?

Definitely that will help.
I think 30 days removal for tasks is good enough. Then what's left is step and workflow signatures. We may want to keep them until users want to remove them. I can still imagine that a "clean" feature can help -- that cleans up tasks and also step and workflow signatures for a project.

I am removing transcript file if it is more than 30 days old.


OSFUSE-391: f-m-p annotates services with prometheus.io annotations by default

Yes, I think it would be nice to have Prometheus related stuff in a single place but this could be generic enough so that if we add new stuffs, they can be handled the same way.
I'm wondering if it could make sense to have a programmatic way to hook enrichers to a phase/event/object so that an enricher is triggered just after a service has been created.

Added some small unit tests

Added minimal dock

Thanks ! will merge it that evening.
w.r.t to enricher hooks: This is definitely something to consider. Up to now a lot of responsibility is put on the enricher to not mess up things. Maybe a bit more controlled flow would help, e.g. by splitting up into to phases as said, and then, when thing get created maybe some hooks. However, when enricher are modifying or 'enriching' existing objects, they possible want to do this on freshly created or already existing/configured objects.

[merge]

thanks !


When I execute the demo.py command, something goes wrong

Because I can't connect to https://huggingface.co, I replaced model_prefix: 'hf-hub:laion' with model_prefix: 'D:/pycharm/py-project/clip_dinoiser-main/clip_dinoiser-main', but AssertionError: CLIP_DINOiser: MaskClip: No valid model config found for  D:/pycharm/py-project/clip_dinoiser-main/clip_dinoiser-main/CLIP-ViT-B-16-laion2B-s34B-b88K. How do I solve this problem？

resolved


Autoclose doesnt work after moving last file

i enabled the option "origami_auto_close_empty_panes" in my settings, so if i close the last file in a pane, it close, but if i move the last file to an other pane by drag&drop the pane doesn't close. And using the command carry_file_to_pane also doesn't trigger the auto close.

Here to vote for the close-empty-pane-on-carry feature, it would be super nice to have :smiley:
That said, does anyone know of a setting deep in sublime to auto-close any empty panes? I feel like there should be an option for it by now but google and the default preferences page aren't giving me much to go on

I think this could also be done for drag-n-drop, by watching on_activated. We get a view activation at the end of a drag-n-drop sequence. The trick then becomes figuring out whether a new view got opened or if you moved something around.

Was carry_file_to_pane implemented? Must one enable this feature manualy?

This feature is implemented for carry_file_to_pane. You need to turn on origami_auto_close_empty_panes in your Sublime prefs. Something like:
"origami_auto_close_empty_panes": true

Unfortunatelly that doesn't work for me. I have that setting enabled and when I carry_file_to_pane the pane without any files doesn't automatically close.

Shall I open a new issue with the above description @adzenith?

It works fine for me - are you sure you have that setting correct? If I carry a file with that setting enabled, the pane closes as expected.

I am 100% sure, maybe it is in conflict with some other plugin? I will do a fresh install of sublime3 with just Origami and see if it works, then slowly re-add all custom settings and plugins. Will keep you updated :)

Ok, let me know! Thanks!

I stripped my sublime3 and installed only origami, enabled the auto_close functionality and experianced the same behaviour. I started debugging your package and the AutoCloseEmptyPanes does not interact with carry_file_to_pane with direction right. It does how ever trigger AutoCloseEmptyPanes for direction left. I will further debug.

I have decided to fork the package and modify it to satisfy my needs. See here if interested how I wanted the pane management to work: "patch". Non the less, great work!

I still can't reproduce - I'm able to carry any file to any pane and have the empty pane close correctly. What version of Sublime Text do you have...?

Latest 3, using windows or linux produces the same results.
On Tue, Jul 9, 2019, 03:35 Nikolaus Wittenstein<EMAIL_ADDRESS>wrote:

I still can't reproduce - I'm able to carry any file to any pane and have
the empty pane close correctly. What version of Sublime Text do you have...?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/SublimeText/Origami/issues/54?email_source=notifications&email_token=AADZDXRWR5QNQJQGMGV4Q4DP6PTONA5CNFSM4ALRJNU2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZOZ6XY#issuecomment-509452127,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AADZDXTK5QUMAGJTTJ6HUCTP6PTONANCNFSM4ALRJNUQ
.


Refactored the README, pushing lots of stuff to the wiki.

Codecov Report

Merging #294 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #294   +/-   ##
=======================================
  Coverage   90.92%   90.92%
=======================================
  Files          49       49
  Lines        4352     4352
=======================================
  Hits         3957     3957
  Misses        395      395

Continue to review full report at Codecov.

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


Fixes blank screen issue with crosswalk

For issue #638. Same PR as #778 but way more simple.
The white screen is due to running root.setBackgroundColor(Color.WHITE) and view.setZOrderOnTop(true) (modification for crosswalk). The setZOrderOnTop cause the root to come first until refreshed by pulling the view from it.
The setZOrderOnTop must be called only when the map is added, so it should not be added to XWalkWebViewEngine.java. The Transluced theme seems not necessary to as it cause the app to be fully transparent when the map is inserted.
What i tried :

map creation at startup (on deviceready) then hide splashscreen on map ready or even later
no map at startup. Then getMap(...) called later manually
reduce the app and reopen id
close the app with back button and reopen it
kill the app and reopen it
navigator.app.exitApp() and reopen it

What i have not tried : ideas are welcome ;)
Tested with and without crosswalk using cordova 5.3.3 and 5.4.1 with these pugins
cordova-plugin-crosswalk-webview 1.4.0 "Crosswalk WebView Engine"
cordova-plugin-device 1.1.0 "Device"
cordova-plugin-splashscreen 3.0.0 "Splashscreen"
cordova-plugin-whitelist 1.2.0 "Whitelist"
plugin.google.maps 1.3.8 "phonegap-googlemaps-plugin"

Thank you so much! Will check today and merge after

This will make many people very happy. I've made a few tests, all of them worked fine. Just added crosswalk-plugin without patching anything on codeside (ANIMATABLE_WALK_VIEW is also false by default, no need to change that anymore)
It just works. Thanks for your time investment!


Stringformat - Display as hex not working

No matter what I try, I cannot get an int/long/ulong value to show as hex decimal in Avalonia:
<DataGridTextColumn Binding="{Binding Value, StringFormat={}{0:x}}" Header="Abc" />
<DataGridTextColumn Binding="{Binding Value, StringFormat='{}{0:x}'}" Header="Abc" />
<DataGridTextColumn Binding="{Binding Value, StringFormat='{0:x}'}" Header="Abc" />
<DataGridTextColumn Binding="{Binding Value, StringFormat='\{0:x\}'}" Header="Abc" />
<DataGridTextColumn Binding="{Binding Value, StringFormat=X}" Header="Abc" />

What am I doing wrong?

This works in version 0.10
         <TextBlock>
            <TextBlock.Text>
              <MultiBinding StringFormat="{}{0} {1:x4}">
                <Binding Path="Name" />
                <Binding Path="Address" />
              </MultiBinding>
            </TextBlock.Text>
          </TextBlock>

Yours is different than mine (1. x4 is different format than just x and 2. you have a multibinding). Have you tried if what I wanted to achieve is possible?
Perhaps it makes sense to check that first before we blindly close an issue @kekekeks ?!

We should make sure DataGridTextColumn correctly handles StringFormat

This also works (where DataContext is an int.
<TextBlock Text="{Binding StringFormat={}{0:x}}" />

@Symbai just checked in control catalog:
<DataGridTextColumn Header="Population" Binding="{Binding Population, StringFormat={}{0:x}}" Width="3*" />

Works fine:

What am I doing wrong?

@Symbai I suggest you to create a simple repro.


python3Packages.sentry-sdk: 1.5.1 -> 1.5.2

Motivation for this change
cherry-picked from #154947
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

failures broken on master
https://github.com/NixOS/nixpkgs/pull/154955

3 packages failed to build:
python310Packages.django-rq python310Packages.sentry-sdk python310Packages.wandb

11 packages built:
alerta-server cura gns3-gui gns3-server moodle-dl moz-phab octoprint python39Packages.django-rq python39Packages.sentry-sdk python39Packages.wandb tribler


WebSocketServer.shutDown() does not trigger connection close events.

It appear that shutDown does not trigger connection close events. Is this expected behaviour?
How should one handle connection closes when they are initiated from WebSocketServer?
Also, the closure of connections appear to be asynchronous, but there appears to be no way to detect its completion.
BTW, the reason I am asking this is that I am attempting to gracefully shutdown the webserver, and therefore want to handle each connection closure.

If you know when you want to shutdown the server you can also call close() and all your connections. No need for an event that tells you "hey, you have called server.close()". You already know it.
Yes, there are different approaches but this is quite valid too.


how to compile decoder_main

Do I need to enable libtorch to compile decoder main now? I tried both Server /x86 and libtorch compilations and encountered the above problem. The last err shown is:

indside the libtorch/build/CMakeFiles/CMakeError.log is:
Source file was:
__declspec(selectany) int a;
int main(void) { return 0; }
Performing C++ SOURCE FILE Test STL_NO_NAMESPACE failed with the following output:
Change Dir: /dataset/chunxinxiao/wenet/runtime/libtorch/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make -f Makefile cmTC_eb4ff/fast && /usr/bin/make  -f CMakeFiles/cmTC_eb4ff.dir/build.make CMakeFiles/cmTC_eb4ff.dir/build
make[1]: Entering directory '/dataset/chunxinxiao/wenet/runtime/libtorch/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_eb4ff.dir/src.cxx.o
/usr/bin/c++ -DSTL_NO_NAMESPACE  -std=c++14 -pthread -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -DC10_USE_GLOG  -o CMakeFiles/cmTC_eb4ff.dir/src.cxx.o -c /dataset/chunxinxiao/wenet/runtime/libtorch/build/CMakeFiles/CMakeTmp/src.cxx
/dataset/chunxinxiao/wenet/runtime/libtorch/build/CMakeFiles/CMakeTmp/src.cxx:3:1: error: ‘vector’ does not name a type
3 | vector t; int main() { }
| ^~~~~~
make[1]: *** [CMakeFiles/cmTC_eb4ff.dir/build.make:78: CMakeFiles/cmTC_eb4ff.dir/src.cxx.o] Error 1
make[1]: Leaving directory '/dataset/chunxinxiao/wenet/runtime/libtorch/build/CMakeFiles/CMakeTmp'
make: *** [Makefile:127: cmTC_eb4ff/fast] Error 2
Source file was:
#include
vector t; int main() { }
Performing C++ SOURCE FILE Test HAVE_MSVC_TLS failed with the following output:
Change Dir: /dataset/chunxinxiao/wenet/runtime/libtorch/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make -f Makefile cmTC_9e42e/fast && /usr/bin/make  -f CMakeFiles/cmTC_9e42e.dir/build.make CMakeFiles/cmTC_9e42e.dir/build
make[1]: Entering directory '/dataset/chunxinxiao/wenet/runtime/libtorch/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_9e42e.dir/src.cxx.o
/usr/bin/c++ -DHAVE_MSVC_TLS  -std=c++14 -pthread -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -DC10_USE_GLOG  -o CMakeFiles/cmTC_9e42e.dir/src.cxx.o -c /dataset/chunxinxiao/wenet/runtime/libtorch/build/CMakeFiles/CMakeTmp/src.cxx
/dataset/chunxinxiao/wenet/runtime/libtorch/build/CMakeFiles/CMakeTmp/src.cxx:2:11: error: expected constructor, destructor, or type conversion before ‘(’ token
2 | __declspec(thread) int tls;
|           ^
make[1]: *** [CMakeFiles/cmTC_9e42e.dir/build.make:78: CMakeFiles/cmTC_9e42e.dir/src.cxx.o] Error 1
make[1]: Leaving directory '/dataset/chunxinxiao/wenet/runtime/libtorch/build/CMakeFiles/CMakeTmp'
make: *** [Makefile:127: cmTC_9e42e/fast] Error 2
It seems related to the env, my friends computer worked!

Just follow https://github.com/wenet-e2e/wenet/tree/main/runtime/libtorch#run-with-local-build to build. It seems it works on your friend's computer, so please check your env. I have no idea from the log, I think you can align the env with your friend's


Change yamllint image details

This change contains:

Dockerfile and README for yamllint image at quay.io/powercloud/yamllint:1.34.0
Correct image name for pull-test-infra-yamllint presubmit job
Correct the manifests deck_ingress.yaml and hook_ingress.yaml to avoid error from yamllint tool wrong new line character: expected \n  (new-lines)

@Rajalakshmi-Girish not sure why PR is not getting merged!

@Rajalakshmi-Girish not sure why PR is not getting merged!

Not sure why labels are not added too. Will check.

/meow

/meow

/meow


API improvements

This PR allows /api/ and /api/config to be accessed without authorizing. If /api/config is accessed without auth, only show minimal information.
It also improves comments in api.py.

why?

Exposing /api/config allows using UPnP mappings to discover HA and then determine version, name and requires auth without needing to authorize or provide the hostname of HA

This is good to go. I undid changes to /api/config and moved them to /api/discovery_info (which doesn't require auth)


How to build with Sphinx Collections?

Is there an example package where 'Sphinx Collections' is used? Inside conf.py, I set 'collections' with a dict for copying a folder but it doesn't seem to do anything during the build. Should I add sphinx_collections to the list of extensions in conf.py? In general, what changes should I make on my original repository to use 'Sphinx Collections'?

@anugrahjo Hi, can you share the project repository that you are working on?
Yes, you should be adding sphinx.collections to your conf.py file similar to here.

Hi @jgarte,
I see, thanks. It should be sphinx_contrib.collections by the way. I have tried all possible names for the extension before raising this issue. It would be nice to add it to the Introduction in the documentation. Everything else was pretty clear in the docs, but the extension name to be used in conf.py couldn't be found anywhere.
I am working on template repository for documentation and testing for my lab. It does not do much. Do you still need it?

@danwos
See @anugrahjo 's comment regarding sphinxcontrib.collections. What do you think?

I am working on template repository for documentation and testing for my lab. It does not do much. Do you still need it?

If you end up finishing the example feel free to share it. Any examples of how people are using sphinx-collections would be great.

@jgarte
Sure, once the documentation template is final, I will share it here.


Tracking Issue - Node Core API

About tracking issues
Tracking issues are used to record the overall progress of implementation.
They are also uses as hubs connecting to other relevant issues, e.g., bugs or open design questions.
A tracking issue is however not meant for large scale discussion, questions, or bug reports about a feature.
Instead, open a dedicated issue for the specific matter.
Steps

For now I think we should implement the following routes, focusing on the GET requests only:
blocks

[x] /api/v2/blocks/{blockId}

[x] JSON response
[x] Binary response

[x] /api/v2/blocks/{blockId}/metadata
[x] /api/v2/blocks/{blockId}/children (will be removed from the Core Node API, but kept in Chronicle)

UTXO

[x] /api/v2/outputs/{outputId}
[x] /api/v2/outputs/{outputId}/metadata
[x] /api/v2/receipts
[x] /api/v2/receipts/{migratedAt}
[x] /api/v2/treasury
[x] /api/v2/transactions/{transactionId}/included-block

milestones

[x] /api/v2/milestones/{milestoneId}
[x] /api/v2/milestones/{milestoneId}/utxo-changes
[x] /api/v2/milestones/by-index/{index}
[x] /api/v2/milestones/by-index/{index}/utxo-changes

Unresolved Questions

Should we use the response types from bee-rest-api once https://github.com/iotaledger/bee/pull/1239 is merged? For now I think we can just copy them over from the PR and adapt them to the Message -> Block rename.
Implementation history

This has been implemented apart from some minor issues: #316 and #320.


Automatic cleanup

This PR fixes https://github.com/microsoft/azuredatastudio/issues/11424
I've not been able to repro the "remove account not working" yet, i'll try to see why thats failing.
Removing accounts should happen no matter what.

Coverage decreased (-0.1%) to 37.532% when pulling c673fb6f17a83eb735cd9f98974108be7c123993 on amir/azureAuth/automaticCleanup into 66632e6262bb01108f785c7d82d216abbfeb540d on main.

This isn't going to work for us, not every auth claim gets an oid :/


⚠ SolarOscp has degraded performance

In 07bf079, SolarOscp ($SOLAROSCP_URL) experienced degraded performance:

HTTP code: 200
Response time: 401 ms

Resolved: SolarOscp performance has improved in 55246a0 after 10 minutes.


Update control_plane_template.md

Have to create a PR as I didn't have write access to this repo. GH overseers - why aren't my changes contributing to a colleague's user base (I chose instead of main).
Data Plane API - Pull Request

API Info: The Basics
Most of the information about your service should be captured in the issue that serves as your API Spec engagement record.

Link to API Spec engagement record issue:

Is this review for (select one):

[ ] a private preview
[ ] a public preview
[ ] GA release

Change Scope
This section will help us focus on the specific parts of your API that are new or have been modified. Please share a link to the design document for the new APIs, a link to the previous API Spec document (if applicable), and the root paths that have been updated.

Design Document:
Previous API Spec Doc:
Updated paths:

❔Got questions? Need additional info?? We are here to help!

 Contact us!
The Azure API Review Board is dedicated to helping you create amazing APIs. You can read about our mission and learn more about our process on our wiki.

💬 Teams Channel
💌 email

Click here for links to tools, specs, guidelines & other good stuff
Tooling

Open API validation tools were run on this PR. Go here to see how to fix errors
Spectral Linting
Open API Hub

Guidelines & Specifications

Azure REST API Guidelines
OpenAPI Style Guidelines
Azure Breaking Change Policy

Helpful Links

Azure DevTools Wiki

@Frantastic-74 what is this PR about? It looks like you only added a space at the end of the one line. I'm going to close this PR and if you wish to update the template in some way please open a new PR with a description of what you are trying to do.


Darga azure cache

Purpose or Intent
Back porting https://github.com/ManageIQ/manageiq/pull/10171 to Darga.
The code changes were a clean cherry-pick.
The cassette files needed to be re-recorded for the Darga environment.

@chessbyte As we discussed. Please review.


Retrieve priority in Peek/Dequeue

Sometimes the priority is a part of information. It would be nice to have overloaded First element lookup and Dequeue which let the user to retrieve it.

In FastPriorityQueue, Priority is a property of the Node
In SimplePriorityQueue, you're correct that there is currently no way to do this.  Good suggestion :+1:

Sorry, I've only just downloaded your library via nuget and without looking at FastPriorityQueue assumed they have the same abstraction. You could add Priority to SimplePriorityQueue's nodes if that makes it any easier.

Completed in v4.1.1
SimplePriorityQueue can now take a IComparer<TPriority> or Comparison<TPriority> in its constructor.


[Android] TextField with set maxLengthEnforcement and maxlength has issue with characters removal

Steps to Reproduce
Reproduced on Pixel3a and Pixel5. Works fine on iOS
Actual results:

Expected results:
After entering as much as doubled amount of maxLength value characters user should be able to delete text from TextField in the number of maxLength clicks on remove button.
Code sample:
TextEditingController? _textController;
  String savedText = '';

  @override
  void initState() {
    _textController = TextEditingController();
    _textController!.addListener(() {
      setState(() {
        savedText = _textController!.text;
      });
    });
    super.initState();
  }

@override
  Widget build(BuildContext context) {
    // This method is rerun every time setState is called, for instance as done
    // by the _incrementCounter method above.
    //
    // The Flutter framework has been optimized to make rerunning build methods
    // fast, so that you can just rebuild anything that needs updating rather
    // than having to individually change instances of widgets.
    return Scaffold(
      appBar: AppBar(
        // Here we take the value from the MyHomePage object that was created by
        // the App.build method, and use it to set our appbar title.
        title: Text(widget.title),
      ),
      body: Padding(padding: EdgeInsets.all(20), child: Center(
        // Center is a layout widget. It takes a single child and positions it
        // in the middle of the parent.
        child:
          Column(children: [
            Text(savedText),
            SizedBox(height: 25),
            TextField(
              enabled: true,
              maxLengthEnforcement: MaxLengthEnforcement.enforced,
              maxLines: 1,
              maxLength: 12,
              minLines: 1,
              autocorrect: false,
              controller: _textController,
              enableInteractiveSelection: true,
              textCapitalization: TextCapitalization.characters,
              keyboardType: TextInputType.text,
              textInputAction: TextInputAction.send,
              style: const TextStyle(
                  fontSize: 17, fontWeight: FontWeight.w600, color: Colors.lightBlueAccent),
              decoration: InputDecoration(
                  contentPadding: const EdgeInsets.fromLTRB(0, 20, 0, 0),
                  alignLabelWithHint: true,
                  hintText: 'Your text'
              ),
              onSubmitted: (value) {
                print(value);
              }
          )
        ]
      )
      ))
    );
  }

Repetitive debug output:
W/IInputConnectionWrapper(20110): beginBatchEdit on inactive InputConnection
W/IInputConnectionWrapper(20110): getTextBeforeCursor on inactive InputConnection
W/IInputConnectionWrapper(20110): endBatchEdit on inactive InputConnection
W/IInputConnectionWrapper(20110): beginBatchEdit on inactive InputConnection
W/IInputConnectionWrapper(20110): getTextBeforeCursor on inactive InputConnection
W/IInputConnectionWrapper(20110): endBatchEdit on inactive InputConnection
W/TextInputPlugin(20110): Changing the content within the the composing region may cause the input method to behave strangely, and is therefore discouraged. See https://github.com/flutter/flutter/issues/78827 for more details
W/ListenableEditingState(20110): a listener was added to EditingState while a batch edit was in progress
W/IInputConnectionWrapper(20110): endBatchEdit on inactive InputConnection
W/TextInputPlugin(20110): Changing the content within the the composing region may cause the input method to behave strangely, and is therefore discouraged. See https://github.com/flutter/flutter/issues/78827 for more details
W/ListenableEditingState(20110): a listener was added to EditingState while a batch edit was in progress
I/flutter (20110):
W/IInputConnectionWrapper(20110): getTextBeforeCursor on inactive InputConnection
W/IInputConnectionWrapper(20110): getTextAfterCursor on inactive InputConnection
W/IInputConnectionWrapper(20110): getSelectedText on inactive InputConnection
W/IInputConnectionWrapper(20110): endBatchEdit on inactive InputConnection
W/IInputConnectionWrapper(20110): beginBatchEdit on inactive InputConnection
W/IInputConnectionWrapper(20110): getTextAfterCursor on inactive InputConnection
W/IInputConnectionWrapper(20110): getTextBeforeCursor on inactive InputConnection
W/IInputConnectionWrapper(20110): endBatchEdit on inactive InputConnection
W/IInputConnectionWrapper(20110): beginBatchEdit on inactive InputConnection
W/IInputConnectionWrapper(20110): getTextBeforeCursor on inactive InputConnection
W/IInputConnectionWrapper(20110): endBatchEdit on inactive InputConnection

Flutter analyse:
Analyzing textfieldsample...
No issues found! (ran in 16.7s)

Flutter doctor
[✓] Flutter (Channel stable, 2.2.1, on macOS 11.4 20F71 darwin-x64, locale en-GB)
    • Flutter version 2.2.1 at /Users/zestu/flutter
    • Framework revision 02c026b03c (3 months ago), 2021-05-27 12:24:44 -0700
    • Engine revision 0fdb562ac8
    • Dart version 2.13.1

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/zestu/Library/Android/sdk
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Users/zestu/Library/Android/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.5, Build version 12E262
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)

[✓] IntelliJ IDEA Ultimate Edition (version 2017.2.5)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 21.2.2
    • Dart plugin version 172.4343.25

[✓] Connected device (2 available)
    • Pixel 3a (mobile) • 99RAY1BCVL • android-arm64  • Android 11 (API 30)
    • Chrome (web)      • chrome     • web-javascript • Google Chrome 92.0.4515.159

• No issues found!

Hi @GRyabkin, Thanks for filing the issue I ran your sample code and I could not reproduce the issue on the latest stable channel on Xioami k20 Pro, could you please try upgrading to the latest stable by running
flutter upgrade
flutter clean

and see if this fixes the issue.

output
https://user-images.githubusercontent.com/31410839/130741429-26286526-448e-4947-aa4c-8fa2ecffbdb7.mov

flutter doctor -v
[✓] Flutter (Channel stable, 2.2.3, on macOS 11.5.2 20G95 darwin-arm, locale en-GB)
    • Flutter version 2.2.3 at /Users/mahesh/Documents/flutter
    • Framework revision f4abaa0735 (8 weeks ago), 2021-07-01 12:46:11 -0700
    • Engine revision 241c87ad80
    • Dart version 2.13.4

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.5.1, Build version 12E507
    • CocoaPods version 1.10.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)

[✓] VS Code (version 1.58.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.25.0

[✓] Connected device (3 available)
    • Redmi K20 Pro (mobile) • d9dac45d • android-arm64  • Android 11 (API 30)
    • macOS (desktop)        • macos    • darwin-arm64   • macOS 11.5.2 20G95 darwin-arm
    • Chrome (web)           • chrome   • web-javascript • Google Chrome 92.0.4515.159

• No issues found!

@maheshmnj  I can confirm, not reproducible on 2.2.3, thanks


[BUG] arguments and results is shown with empty/Null although I am sure they have values

Describe the bug
I have a configuration where redis is working as broker and results backend.
I can see the tasks when I trigger/clients but I always see the Arguments and results with Empty/None in the tasks view.
e.g. http://localhost:8555/tasks/
the tasks has a result and/or arguments, I can see this in the (Tasks explorer)
To Reproduce
Steps to reproduce the behavior:

Start a celery chain where the tasks has arguments and return vaules
click from the tasks explorer on a task
Scroll down to see Arguments and Results in the tasks view
See that arguments is empty and results has None

Expected behavior
Arguments / Kwargs will have values
Results will have values
Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
the result backend and the broker are both redis.

Hey, just to make sure - have you enabled result_extended=True in your Celery app?
https://docs.celeryq.dev/en/stable/userguide/configuration.html#result-extended
It is recommended here in the README.md, this potentially could be added to the UI as well.
https://github.com/danyi1212/celery-insights?tab=readme-ov-file#enabling-celery-events

yeah, I enabled result_extended
Here is the configuration block
app.conf.worker_send_task_events = True app.conf.task_send_sent_event = True app.conf.task_track_started = True app.conf.result_extended = True

Interesting, did you take that state.json from the Debug Bundle? Can you please share what is responded from the /api/tasks/{task_id}/result call in the task details from the browser's network tab?

yes, I did take the state.json out of the Debug Bundle.
The output of the /api/tasks/{task_id}/result is :
{     "id": "d8aaba40-38af-4661-9a56-64aaf8196f62",     "type": null,     "state": "PENDING",     "queue": null,     "result": null,     "traceback": null,     "ignored": false,     "args": [],     "kwargs": {},     "retries": 0,     "worker": null }

Is there a way to solve this? I have the same issue - empty args

@pedrodevoto Not that I know of, I haven't got the time yet to fix that 😔
From my observation, the args are not returned from the Redis (or other Result Backend), but is available as string on the state, that you can observe in the DevTools network responses.
For more details -
This endpoint have them as Pickle String (coming from Events) - https://github.com/danyi1212/celery-insights/blob/main/server/tasks/router.py#L22
This endpoint does have them (coming from Result Store) - https://github.com/danyi1212/celery-insights/blob/main/server/tasks/router.py#L34
If you can, your help in debugging it and contributing a fix will be appreciated a lot, I would love to guide you on doing that 🌟


GROK-12526: Bio: Top menu structurization

Set nested structured top menu for Bio (+Peptides).
Typing for Similarity/Diversity search viewers tests.

Duplicate


When I quit app, it cannot resume-download

When I quit app, it cannot resume-download.

Try the Demo https://github.com/vaenow/cordova-plugin-pause-resume-download-demo

Or provide more details

look the  config.xml     <hook src="hooks/appBeforeBuild2MakePRD.js" type="before_build"/>,
notice  before_build,you  must  cmd  cordova  build  or ionic run !

Can this plugin also available for background download like this plugin


Add in openshift storage setup to ocp reference arch

When the playbook for GCP installation runs, the node storage setup is not done. This causes the playbook to fail.
The playbook has been tested against the 3.6 commit tag and is able to setup a cluster.
cc: @tomassedovic @bogdando

In GCP ref. arch. we are doing storage setup with cloud-init here [1]. What error did you see?
[1] https://github.com/openshift/openshift-ansible-contrib/blob/master/reference-architecture/gcp/deployment-manager/core.jinja#L149

@pschiffe The /dev/sdc volume was not mounted and was causing the origin-node service to fail, there were no entries in /etc/fstab either. Looking through the node now, I see /dev/disk/by-id/google-openshift symlinked to ../../sdc properly. Will investigate this further day after tomorrow.

I am not able to replicate the issue, tried it two times, not sure why it happened in the first place. In the newer cluster the fstab file contains the proper references. Will reopen if I run into an issue with proper logs etc.


Retire some of the old servlet permutations

Definitely  servlet-afterburner and servlet-cjs. They show a little worse results than the common Jackson implementation.
https://www.techempower.com/benchmarks/#section=test&runid=57202d09-6dc3-4606-8f8e-af8091daab41&hw=ph&test=json&l=zik0vz-v&p=zik0zb-zik0zj-zik0zj-zik0zj-v

PR is submitted.

Merged.


Support multiple configs

It would be nice for a test to be able to start a stub server with a different set of request/responses based on a different config.

Thanks, I've merged your change. You can check it out in
compile 'com.byoutline.androidstubserver:stubserver:2.0.0-SNAPSHOT'

Thanks!


[FLOC-3391] Docs feedback

The form works the same way as the ones on the marketing website do.
When a user submits a form it sends an HTTP request with Javascript to Formstack. We have a formstack form made for documentation feedback and the fields are the IDs defined in the html file.
If the user doesn't have Javascript, the form will just post as normal.
Once the entry is at Formstack, Zapier detects this and creates a new Zendesk ticket.
Fixes FLOC-3391

:+1: Thanks!


Scaffold.of(context).showBottomSheet crashes

Steps
1, Show the bottom sheet first
2, Tap the back arrow and the show bottom sheet button at the same time
3, Repeat step 2 many times and observe the log output, which can be reproduced with a high probability
Code
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Flutter Demo'),
        ),
        body: const MyHomePage(),
      ),
      // home : SizedBox.shrink(),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({Key? key}) : super(key: key);

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  void bottomSheet() {
    Scaffold.of(context).showBottomSheet((BuildContext context) {
      return const FractionallySizedBox(
        heightFactor: .2,
        child: Center(child: Text('This is a bottom sheet')),
      );
    }, backgroundColor: Colors.amber);
  }

  @override
  Widget build(BuildContext context) {
    return ElevatedButton(
      child: const Text('Show bottom sheet'),
      onPressed: bottomSheet,
    );
  }
}

Crash Log
E/flutter (22121): [ERROR:flutter/lib/ui/ui_dart_state.cc(198)] Unhandled Exception: 'package:flutter/src/material/scaffold.dart': Failed assertion: line 2366 pos 14: 'bottomSheetKey.currentState != null': is not true.
E/flutter (22121): #0      _AssertionError._doThrowNew (dart:core-patch/errors_patch.dart:51:61)
E/flutter (22121): #1      _AssertionError._throwNew (dart:core-patch/errors_patch.dart:40:5)
E/flutter (22121): #2      ScaffoldState._buildBottomSheet._removeCurrentBottomSheet (package:flutter/src/material/scaffold.dart:2366:14)
E/flutter (22121): #3      ScaffoldState._buildBottomSheet.<anonymous closure> (package:flutter/src/material/scaffold.dart:2384:13)
E/flutter (22121): #4      LocalHistoryEntry._notifyRemoved (package:flutter/src/widgets/routes.dart:472:15)
E/flutter (22121): #5      LocalHistoryRoute.didPop (package:flutter/src/widgets/routes.dart:665:13)
E/flutter (22121): #6      _RouteEntry.handlePop (package:flutter/src/widgets/navigator.dart:2896:16)
E/flutter (22121): #7      NavigatorState._flushHistoryUpdates (package:flutter/src/widgets/navigator.dart:3868:22)
E/flutter (22121): #8      NavigatorState.pop (package:flutter/src/widgets/navigator.dart:4910:7)
E/flutter (22121): #9      NavigatorState.maybePop (package:flutter/src/widgets/navigator.dart:4860:9)
E/flutter (22121): <asynchronous suspension>
E/flutter (22121):

The root cause of this issue is that after the Scaffold.of(context).showBottomSheet adds a route entry, in the same frame, the onRemove of the route is triggered, and at this time, the new sheet has not been mounted on the tree.

I have fixed a similar issue by passing BuildContext as parameter.
Try this:
void showBottomSheet(BuildContext context) {
Scaffold.of(context).showBottomSheet((BuildContext context) {
return const FractionallySizedBox(
heightFactor: .2,
child: Center(child: Text('This is a bottom sheet')),
);
}, backgroundColor: Colors.amber);
}
@override
Widget build(BuildContext context) {
return ElevatedButton(
child: const Text('Show bottom sheet'),
onPressed: () => showBottomSheet(context),
);
}


Can't sign up for natural crit

it wont let me sign up for natural crit so i can save my homebrew
it just stays there with the idle waiting circle beside the username block and will not recognize any username so that i may sign up. i am very interested in using this for my custom dnd campaign but i cannot due to this issue please help me with this i would be most appreciative

Sorry your having some issues. My login server had some problems over the last few days and it looks like the issue has passed. You also don't need an account to create or share brews.


HTTP code when download finishes

This is a follow up on this issue https://github.com/tonyofrancis/Fetch/issues/244.
I've created a custom downloader and overridden onServerResponse.
public class CustomDownloader extends HttpUrlConnectionDownloader implements Downloader {

    public CustomDownloader(FileDownloaderType fileDownloaderType) {
        super(fileDownloaderType);
    }

    @Override
    public void onServerResponse(ServerRequest serverRequest, Response response) {
        System.out.println("Response: "+ response.getCode());
    }

}

By using this, I do get a status code (206) multiple times for each download, but not once the download finishes. How can that be retrieved ?

@cdn34 The status code is returned only when a new connection is opened. Why would you need to get the status code when the download finishes?. Is there a need for a new callback in the downloader to state when a download finishes??? Please give a use case.

@tonyofrancis Thanks for the reply. This may not be needed after all, I was having issues downloading certain files and the goal was to check whether or not it was actually succeeding. I was using an older version of the library, but after trying it on the latest one, it seems to be working correctly.


fix isEmpty

isEmpty was removed for reasons unknown to me. Unfortunately, it was still available because of Collection inheritance and was inconsistent with the initial purpose of the property. I just reverted property removal and added a test case.
All tests passed in Travis CI

Thanks for pitching it @bm842 ! Merging it in.


Removing an enum member is not caught as a breaking change

Describe the bug
Removing an enum member is not caught as a breaking change
To Reproduce
Steps to reproduce the behavior:

oasdiff breaking before.yaml after.yaml
before:

openapi: "3.0.0"
info:
  version: 1.0.0
  title: Swagger Petstore
paths:
  /pets:
    get:
      responses:
        "200":
          content:
            application/json:
              schema:
                type: string
                enum:
                  - GOOD_DOG
                  - BAD_DOG
                  - CAT

after:

openapi: "3.0.0"
info:
  version: 1.0.0
  title: Swagger Petstore
paths:
  /pets:
    get:
      responses:
        "200":
          content:
            application/json:
              schema:
                type: string
                enum:
                  - GOOD_DOG
                  - BAD_DOG

Output (changelog also run to show the tool working):

Expected behavior
The removal of an enum member should be listed as a breaking change.
Desktop (please complete the following information):
Tested running locally on Windows and Linux, also tested docker container.
Additional context
The issue is not present in the web app (https://www.oasdiff.com/diff-calculator):

Hi @mheguy,
If the enum value would have been removed from a request it would have been a breaking-change.
In your example above, the enum value was removed from the response.
Oasdiff reports this change as informational as can be seen with the changelog command:

By the way, you can use the oasdiff checks command to research the relevant checks.
`oasdiff checks -t remove | grep enum'
I hope that helps.

You're very right, removing an enum value is not a breaking change. Good catch.
In that case, where should I file a bug for the web version? Because one way or another: the tools don't agree with one another.

Fixed.
Thanks for reporting this.


Fill out Socials with icons (inline Icon followed by name of network)

use the icons we use in our module
Make the icons inline with social name next to them to the right

@AdamChlan I think this is the only thing missing now before I send to client.

@regisphilibert let's chat about this one

@budparr this is in place

Thanks!


Bluetooth shows devices but can't connect

Describe the bug
Bluetooth can be enabled and can scan for available devices but doesn't seem to be able to connect for some reason. Also it doesn't give a connection error message so I'm not sure of the issue.
Device

macOS Version: 11.5.1
EFI Version: 1.5.1
EFI type (regular or HeliPort): HeliPort

Hey! 👋
Does the issue still appear in Version 1.5.2?

Yes

os: big sur 11.5.1
I have the same problem.
I use bluetooth earphone but it can not connect, and try to connect my phone but it is intermittently.
no matter I use folder EFI-bigsur or EFI-HeliPort settings.
especially, the network speed is so slow (or disable?) when use EFI-HeliPort settings

try to
Intel WiFi/Bluetooth
OpenCore 0.7.8
Thinkpad T440p
The fix was:
UEFI -> ProtocolOverrides -> HashServices -> true
https://github.com/simprecicchiani/ThinkPad-T460s-macOS-OpenCore/issues/150#issuecomment-1328252628
no issues after going sleep


@click.prevent also prevents all child elements interactions

Version
2.3.3
Reproduction link
https://jsfiddle.net/50wL7mdz/39994/
Steps to reproduce

Click on the link, it will be prevented.
Try to open the input file, it will be prevented too.

What is expected?
The element with @click.prevent will be prevented, child elements with default actions shouldn't be prevented.
What is actually happening?
The element with @click.prevent is prevented, child elements with default actions prevented too.

I want to use elements with default actions inside a parent element that uses @click.prevent. @click.prevent.self doesn't help either.

try @click.self.prevent

you have to add self before the prevent as @JounQin said

I'm creating a PR for the docs.


feat: add (*td.T).Parallel() method

Add a Parallel() method to *td.T that calls Parallel() on the
underlying testing.TB if it supports the method. This will have no
effect on *testing.B or custom wrappers that do not support
Parallel().
Per #149, this implements this as a method rather than a top-level
td.Parallel(t) function because this is closer to what existing usage
of *testing.T looks like.
Resolves #149

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

5 of 5 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.0001%) to 99.837%

Totals

Change from base Build<PHONE_NUMBER>:
0.0001%

Covered Lines:
8567

Relevant Lines:
8581

💛  - Coveralls

Comments incorporated and commit message updated. Thanks for the review!


Adding Proxy Support in createDefaultImageryProviderViewModels.js

In ./Source/Widgets/BaseLayerPicker/createDefaultImageryProviderViewModels.js can Proxy support be added because I have installed Cesium on a non-Internet network and I want to be call a layer that needs a Proxy
This would require the addition after line 3
    '../../Core/DefaultProxy',

and after line 12
    DefaultProxy,

createDefaultImageryProviderViewModels is a private function meant to create the basic view models used by Viewer.  None of them rely on a proxy.  If you have your own set of imagery providers that you would like to use, you should be passing them into the Viewer constructor (or BaseLayerPicker constructor if you're calling it directly).  The default set is meant for out of the box demo purposes and shouldn't be used as is in a production application.
Perhaps I'm misunderstanding what you are trying to do?  Please explain in more detail.
Also, in the future, please use our forum for questions first instead of filing a GitHub issue, you'll get a faster response and it will help us keep our issue list clean.  Thanks.


Implement activity api

Depends on https://github.com/microsoft/vscode-azuretools/pull/1124, and https://github.com/microsoft/vscode-azuretools/pull/1125, which split up the deleteSite function into wizard steps.

Currently updating https://github.com/microsoft/vscode-azurefunctions/pull/3118 to use https://github.com/microsoft/vscode-azuretools/pull/1124, then we'll have a bunch of PRs to merge. 😄


Remove unused vars in destructuring assignments

// Before.
function foo() {
  const [$bar, $buzz] = qux();
  return $buzz;
}

// After
function foo() {
  const [, $buzz] = qux();
  return $buzz;
}

Do we have many of these? To me, this seems quite challenging because we need to check whether a given variable is used, which could happen in many different ways. I also am not a huge fan of the extra commas thing to get at the parts of an array you want, even though I understand why it is sometimes useful.

Yep, I'd say there <5, and this seems like a lot of effort for something that's easy to manually fix after the transforms are done.


Awk task

Another helpful cli tool is awk, especially for structured data.
Maybe have it so that the user needs to count the sum of lines if it has a certain value in another column?
 They have to count how many are slashing-based attack types?
Something like:
name, cost, type
halberd, 10, slashing
mace, 25, bashing
short sword, 3, slashing
long sword, 7, slashing
spear, 11, piercing
bow, 8, piercing

And then if column 3 == slashing, tally += column 2.

I have a similar idea for adding awk. A vendor who has a messy index of items, they have to be sorted and properly formated and written to a new file.


[Enhancement]: Type planner options as string

Some Planner options are always strings. For example, it's now impossible to create a plan, bucket, or whatever with name 123. CLI will interpret these values as number.
Let's enforce the string type for options that should always be interpreted as a string.

For all planner plan, planner bucket, planner roster, planner task commands, let's interpret following options always as string:
bucket:

id
name
planId
planTitle
ownerGroupName
orderHint
newName
rosterId (option coming soon)

plan:

id
title
ownerGroupName
rosterId
newTitle

task:

id
title
planId
planTitle
ownerGroupName
bucketId
bucketName
description
assigneePriority
orderHint
taskId
alias

Is the idea here that the users will always have to pass a string or that we'll by default format their input as a string?

The idea is that these options should always be interpreted as string. Right now Minimist decides for itself what the type of the option is. For example, if I want to create a planner plan with name 123, Minimist parses this value to a number resulting in this request body:
{
  title: 123
}

Graph will return an error because title should be of type string. Therefore we should type options that can be interpreted as a number by Minimist, but should be of type string.

Good suggestions. Let's do it

Can i work on this one?


Internal error triggered by ProphesizeDynamicReturnTypeExtension::getTypeFromMethodCall with phpspec/prophecy 1.18

Steps required to reproduce the problem

Start with a project using phpstan/phpstan 1.10.48, phpstan/phpstan-phpunit 1.13.15, phpspec/prophecy dev-master, phpspec-prophecy-phpunit dev-master, and some tests using Prophecy like (new Prophet())->prophesize(Some::class)
Upgrade phpspec/prophecy to 1.18 (from dev-master)

Expected Result

PHPStan finished without internal errors

Actual Result

PHPStan runs into an internal error

Xdebug analysis shows that the difference before/after is in ProphesizeDynamicReturnTypeExtension::getTypeFromMethodCall line 70 where the $returnType instanceof check used to be true but is not anymore:

before: GenericObjectType
after: ConditionalTypeForParameter

Definitely a regression in 1.18. Here's a full stacktrace: https://github.com/phpstan/phpstan/issues/10272#issuecomment-1847569372

Since this appears to be a breaking change in phpspec/prophecy, is it worth opening an issue there?

Hello @danepowell
is there an issue opened in phpspec/prophecy? I can't find it

I've not had time to open an issue with phpspec/prophecy

I think I've also hit this: https://github.com/phpstan/phpstan/issues/10582
Would you please confirm it's the same issue? Any chance of getting #316 merged soon?

Since this appears to be a breaking change in phpspec/prophecy, is it worth opening an issue there?

To be clear, I proposed opening an issue in phpspec/prophecy only to document (and to some degree, complain about :smile: ) the undocumented breaking change. But ultimately, I think this needs to be fixed via #316


feat: implement login page through WebView

Now when we press "LOGIN" button in Mine fragment, the app will open a Login Page through Casdoor SDK & auto close the login page when successfully logged in.
Through the method provided by Casdoor SDK, Home fragment would display the code obtained after successfully logging in

Now, we can:

listen webview
get code in callback url
post to obtain the access_token through okhttp3
create a new thread and set access_token after receiving response

In demo app, the Home fragment would use Casdoor SDK to get access_token and display it on screen


Match encrypts repo after failed clone

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I have read the Contribution Guidelines

Issue Description
When match fails to clone the certificate repo, it will still continue with encrypting it. Or at least that's what the output suggests:

But I think that action shouldn't be executed when the clone fails.

Thanks for submitting the issue @koenpunt! It looks like this might just be some erroneous output that got in there somehow and it was not in fact encrypting anything there. Hope this helps! 🚀 🐙 https://github.com/fastlane/fastlane/pull/8378


'synth_intel' command,synthesis result is wrong

Version
Yosys 0.32+51 (git sha1 6405bbab1, gcc 11.4.0-1ubuntu1~22.04 -fPIC -Os)
On which OS did this happen?
Linux
Reproduction Steps
execute : ./yosys -s /home/user/yosys/demo.ys -l /home/user/yosys/demo.log
demo.ys as followiing:
read_verilog /home/lcl/yosys/top1.v;
synth_intel -retime -family cycloneiv -top top1 -vqm top1.vqm;
top1.v as following:
module top1 (
in1,
clk1,
clk2,
aload,
aclr,
out1
);
input in1;
input clk1,clk2;
input aload,aclr;
output reg out1;
reg in1_reg;
always @(posedge clk1, posedge aload) begin
if (aload)
begin
in1_reg <= 1'b1;
end
else
begin
in1_reg <= in1;
end
end
always @(posedge clk2, negedge aclr) begin
if (!aclr)
begin
out1 <= 1'b0;
end
else
begin
out1 <= in1_reg && clk2;
end
end
endmodule
My input verilog is a $DFF_PP1 and a $DFF_PN0,but the output is $DFF_PN0 and $DFF_PP0. That's wrong.

Expected Behavior
I want to use the command for synthesis.
Actual Behavior
My input verilog is a $DFF_PP1 and a $DFF_PN0,but the output is $DFF_PN0 and $DFF_PP0. That's wrong.

I believe the output is still equivalent to your input. It is using different cells, but it adds comb logic around them so that the function is the same. Could you double check that you are actually seeing different behaviour before and after and not just different cells?
It may also be worth updating your Yosys, 0.32 is over a year old and I get different DFF representations with a more up to date version.


Switch to streams instead of cUrl

This gets rid of the need to install the cUrl extension. Make sure the same stream context can be reused.

Icebox until it's needed/requested. cUrl is widespread enough.


Grafana 10.4.0 ERROR End***

Hi, I'm getting this on our new z/OS 3.1 and Grafana 10.4.0
logger=plugin.ibm-rmf-datasource t=2024-04-10T07:03:41.282093291Z level=error msg="\n\nERROR @ Time (UTC): 2024-04-10 07:03:41.28184118 +0000 UTC*****\nError logged for error id: pvCxcScShJ, severity: S, err_code: ERR_DDS_ERROR, details: DDSError - GPM0507I (Sev: 3) DDS could not retrieve valid data for the specified date and time range, stackTrace: goroutine 26627 [running]:\nruntime/debug.Stack()\n\t/opt/hostedtoolcache/go/1.21.7/x64/src/runtime/debug/stack.go:24 +0xa0\ngithub.com/IBM/RMF/grafana/rmf-app/pkg/plugin/error_handler.(ErrHandler).LogErrorAndReturnErrorInfo(0xc000954348, {0xfbac08, 0x1}, {0xe4bb0e, 0xd}, {0xfc24e0, 0xc000725dc0})\n\t/home/runner/work/RMF/RMF/grafana/rmf-app/pkg/plugin/error_handler/error_handler.go:101 +0x35c\ngithub.com/IBM/RMF/grafana/rmf-app/pkg/plugin/client.(RMFClient).getErrorInternal(0xc0004ab4d8, {0xfc24e0, 0xc000725dc0})\n\t/home/runner/work/RMF/RMF/grafana/rmf-app/pkg/plugin/client/client.go:636 +0x182\ngithub.com/IBM/RMF/grafana/rmf-app/pkg/plugin/client.(RMFClient).query_tabledata(0xc0004ab4d8, 0xc000876700, 0xc001374cc0, 0xc00065b9e0)\n\t/home/runner/work/RMF/RMF/grafana/rmf-app/pkg/plugin/client/client.go:627 +0x308\ncreated by github.com/IBM/RMF/grafana/rmf-app/pkg/plugin/client.(RMFClient).query in goroutine 26616\n\t/home/runner/work/RMF/RMF/grafana/rmf-app/pkg/plugin/client/client.go:242 +0x622\n\nERROR End***\n"

Hi @JavaPerformance,
The error simply means that DDS has no data for the requested time range.
The same GPM0507I should be reported by frontend as well.
If the data is actually there in DDS (e.g. you can see it accessing DDS directly), then it may be a bug of the plugin.
Would you be able to check if the range you request in Grafana doesn't return data in DDS?
Please note that Grafana Web UI works with the browser local time, while DDS expects ranges in timezone on the z/OS system.

In the RMF WebUI it reports GPM0507I as you say "data missing" ... essentially we IPL'd this morning and therefore it fails reporting any time period that bounds the IPL rather that reporting 0.00 for the missing time period.
Any suggestions as to a fix?

I suspect that your z/OS Data Gatherer writes data only to storage buffer utilizing no VSAM data sets.
Those can be used to make it store collected data persistently.
That's a good starting point: https://www.ibm.com/docs/en/zos/3.1.0?topic=rmfgat-defining-vsam-data-sets

Is there a way I can write an exit program to write every SMF record to prometheus as it is cut?

Also.... the code should be able to cope with gaps and write zeroes....

Also.... the code should be able to cope with gaps and write zeroes....

But the whole UI fails when there are gaps in the data....  if I query 5 days of data and we had a 5 minute IP in day 3 then I get no data at all.. "ERROR End*******"

Also it can take up to 30 minutes to render a graph.

Okay, what version of the RMF Grafana plugin are you using?
GPM0507I and similar could break time series views in older versions.
The GPM0507I in the description is for table report due to stacktrace; it shouldn't break any UI in either version for full reports.

Also it can take up to 30 minutes to render a graph.

Well, if you requested 5 days of data for a time series, that's a heavy amount of data to fetch from DDS.

We should take this offline....

Closing it for the time being. We can re-open it once we get more details to work with.


Exception: "\xCE" from ASCII-8BIT to UTF-8

*** Error sending message through websocket: {"id"=>4<EMAIL_ADDRESS><EMAIL_ADDRESS>"subject"=>"TEST 123", "source"=>"Date: Wed, 2 Aug 2017 22:42:33 +0300\r\nTo: testing <testinggmail.com>\r\nFrom<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><info@testingcom>\r\nSubject: TEST 123\r\nMessage-ID<EMAIL_ADDRESS>NS Mailer\r\nMIME-Version: 1.0\r\nContent-Type: multipart/alternative;\r\n\tboundary=\"b1_2d0a611f48ad108caa6c70fc048acc5f\"\r\nContent-Transfer-Encoding: 8bit\r\n\r\nThis is a multi-part message in MIME format.\r\n\r\n--b1_2d0a611f48ad108caa6c70fc048acc5f\r\nContent-Type: text/plain; charset=utf-8\r\nContent-Transfer-Encoding: 8bit\r\n\r\na\xCE\xB1\r\n\r\n\r\n--b1_2d0a611f48ad108caa6c70fc048acc5f\r\nContent-Type: text/html; charset=utf-8\r\nContent-Transfer-Encoding: 8bit\r\n\r\na\xCE\xB1\r\n\r\n\r\n\r\n--b1_2d0a611f48ad108caa6c70fc048acc5f--\r\n\r\n", "size"=>"808", "type"=>"multipart/alternative", "created_at"=>#<DateTime: 2017-08-02T19:42:33+00:00 ((2457968j,70953s,0n),+0s,2299161j)>}     Exception: "\xCE" from ASCII-8BIT to UTF-8     Backtrace:        /usr/lib/ruby/2.1.0/json/common.rb:223:in encode'
/usr/lib/ruby/2.1.0/json/common.rb:223:in generate'        /usr/lib/ruby/2.1.0/json/common.rb:223:in generate'
mailcatcher (0.7.0.beta1) lib/mail_catcher/web/application.rb:67:in block (3 levels) in <class:Application>'        eventmachine (<IP_ADDRESS>) lib/em/channel.rb:43:in call'
eventmachine (<IP_ADDRESS>) lib/em/channel.rb:43:in block (3 levels) in push'        eventmachine (<IP_ADDRESS>) lib/em/channel.rb:43:in each'
eventmachine (<IP_ADDRESS>) lib/em/channel.rb:43:in block (2 levels) in push'        eventmachine (<IP_ADDRESS>) lib/em/channel.rb:43:in each'
eventmachine (<IP_ADDRESS>) lib/em/channel.rb:43:in block in push'        eventmachine (<IP_ADDRESS>) lib/eventmachine.rb:256:in call'
eventmachine (<IP_ADDRESS>) lib/eventmachine.rb:256:in schedule'        eventmachine (<IP_ADDRESS>) lib/em/channel.rb:43:in push'
mailcatcher (0.7.0.beta1) lib/mail_catcher/mail.rb:57:in block in add_message'        eventmachine (<IP_ADDRESS>) lib/eventmachine.rb:981:in call'
eventmachine (<IP_ADDRESS>) lib/eventmachine.rb:981:in block in run_deferred_callbacks'        eventmachine (<IP_ADDRESS>) lib/eventmachine.rb:978:in times'
eventmachine (<IP_ADDRESS>) lib/eventmachine.rb:978:in run_deferred_callbacks'        eventmachine (<IP_ADDRESS>) lib/eventmachine.rb:193:in run_machine'
eventmachine (<IP_ADDRESS>) lib/eventmachine.rb:193:in run'        mailcatcher (0.7.0.beta1) lib/mail_catcher.rb:190:in run!'
mailcatcher (0.7.0.beta1) bin/mailcatcher:5:in <top (required)>'        /usr/local/bin/mailcatcher:23:in load'
/usr/local/bin/mailcatcher:23:in '     Please submit this as an issue at http://github.com/sj26/mailcatcher/issues
When I include Greek characters in the body like "α" I get this crash report.
My html body is:
aα

My bad  same as #322
It would be nice to be able to read correctly the entire email ... but it is what it is :)


C++/Makefile template runs build steps as root. Autogenerated files are owned on the host by root

The C++/Makefile SDK container is running as root. This means that any files generated by the build process will be owned by root in the host system filesystem.  Specifically, I am testing rpcgen based applications and after generating the .c and .h files, they are owned by root and I cannot easily manipulate them.
My workaround is to add "USER 1000" just before the WORKDIR statement of Dockerfile.sdk.  That works but is hard coded to a user ID of 1000.  Ideally we would have a better way to handle this that automatically determined the UID or at least was more easily user configurable.
I assume any other templates that run builds inside containers will have similar issues.

Thanks for the report @drewmoseley
It appears that Torizon containers already define torizon user, so switching to it seems to solve this.


Some non-standard syntax has been used in the library

It seems that Dymola gives us more work by supporting non (yet) standard syntax (expression)[index].
This is not yet even allowed in Modelica spec 3.5, see:
https://github.com/modelica/ModelicaSpecification/issues/2659
See also #32

There is a problem. I just realized that Dymola 2021x automatically rewrite these expression from
MMb[1:nS-1] .* sV[1:nS-1]
to
(MMb.*sV)[1:nS-1])
So I apologize if it occurs anytime in future commit.  It will be hard to guard it.

Ok. Thanks for the heads up. We have another strategy to handle this in OpenModelica, support it and warn about it. We'll find a way.

You could add a CI check to parse the library using OpenModelica or moparser to prevent illegal syntax from being added (if you use pull requests). Or a precommit hook in git that tries to parse using one of the tools. Then you get an early error :)

Can I call you to learn how to "add this CI check" or "precommit hook". Or is it somewhere described?

https://github.com/features/actions
https://git-scm.com/book/en/v2/Customizing-Git-Git-Hooks
I can probably write some short example for a Github action (didn't try it myself since we setup or CI/CD a long time ago)

It looks good. Thank you Martin.


Feature request: More information on the status of the development

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
I'm always frustrated when I don't know when the project is going to be finished and how many steps are left. Milestones are not updated consistently. I thought the point of showing this repository to the public is to show the status of the on-going development.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Take some time out of your day to update some of the milestones, to at least show the estimate percentage of work being done in each of them. Currently they are showing 0%. Add more milestones if there is actually more work to be done.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
An alternative is to use other forms of communication to give an update on the progress of the development. You don't need to give specific ETAs. You can respond in the comments to this issue.
Additional context
Add any other context or screenshots about the feature request here.
There is a lot of people monitoring the development on a daily basis, but as the development of a blockchain is very complex, it is hard for outsiders to estimate the actual progress of the project from the raw code.

It's great to see something constructive coming from the community here, and yeah, it would be awesome if the devs could at least link commits to specific tickets from time to time. That would definitely make it easier for us to keep track of the project's progress. Given the current state of community mental health it's really not too much to ask for

I agree with the OP.
We would like to be more informed on the development of this software as fellow enthusiasts of data sovereignty and programming in general.

@robrosenthal
https://help.twitter.com/en/managing-your-account/forgotten-or-lost-password-reset

Seriously how is asking to provide a 60 second update too much for this team? One 60 second update to cover a year’s worth of “work”. A monkey could do this.
Is it because you are so embarrassingly behind schedule? Are you too ashamed that it’s been 4 years of development and there is still no main net in sight?
I will not stop until you update the community you abandoned.

Lying con artist scumbags


system tests are broken

Several recent changes in artemis, including adding new devices, have not been reflected in the system tests

Needs everyone to sit down and take a look at this together

@DominicOram review this with a view to get it merged ASAP

Closing as we merged associated issue. I think make new issues to fix any specific problems


Job status updates

Added a table with description of status
added a state transition diagram

For issue #33

Please update an merge @shark8me .
We need a cancelled status for future eventualities, even if current reference implementations do not support it.

Merged with the latest HEAD, and added a cancelled status.


GrabCut Dashboard

This PR demonstrates how the interactive visualizations developed and used in the notebooks can be made to work as dashboards served using bokeh server. It also demonstrates how a workflow can be made to work in stages using multiple browser tabs.
Stage 1:

Stage 2 (based on the region selected in stage 1):

(Obviously this is just showing that grab cut works as this is not a useful contour!)
The third stage (development in progress) will be to mesh the chosen contour into a trimesh.
Currently, my biggest obstacle for these first two stages is that I cannot slice the selected tile returned by quest (due to what look like incorrect coordinates) as described in https://github.com/pyviz/EarthSim/pull/174.

Need to add bounds to minimum_size = param.Integer(default=10, bounds=(0, 1000)) (line 145 in grabcut.py).  Re: https://github.com/pyviz/panel/issues/33

This error from above TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType happens when the zoom level is a really low number for an image that is highly zoomed in.

@kcpevey Thanks for reporting these issues! I trust that these errors appear in those particular edge cases (e.g that bbox and when zoomed in a lot) and is otherwise (mostly) working?

@jlstevens I'm not seeing any other errors, but I do suspect there is another tricky bug in there somewhere. Occasionally the update contour button doesn't work (nothing appears on the right). I know that it can take a lot of time with no feedback, but this is NOT that. Basically, the update contour button randomly decides to stop working no matter how long I wait. Usually if I pan around a bit, mess with the min size slider, and click the filter contour button a few times and maybe throw in one more update contour for kicks, then it will run properly again and polygons will appear on the right.
In summary - I think there's a bug, but its so elusive I haven't been able to even begin to track it down.

Also, a minor suggestion - I'd like the ability to instantiate the grabcut dashboard with drawn bbox. I'm working to have the workflows set up to be able to be run as-is if the user would just like to check things out. This is particularly important with the grabcuts tool because finding a land/water region which is appropriate can take effort (e.g.  coloration difference between land/water is significant)

It seems like the zoom level that's being selected is lower than what I anticipate. At one point, I drew a bbox and the resulting image was literally 6 giant pixels. I messed around a bit and redrew roughly the same box and I got a reasonable image (see below). I can't make the giant pixel (poor zoom level selection) happen again, but I did see something similar happen the other day as well.

I apologize for my vague reporting, I just can't seem to track anything down. Strange things are happening and I'm not sure why, but I will continue to try and figure it out and report back any findings. An example of strange behavior is this image below. I see no reason why grabcut doesn't pick up the left river bank.

Just did this:

And got this:

Then after running a cell with this:
rgb = grabcut.GrabCutDashboard.tiff_to_rgb(tiff_path)
grabcuts = grabcut.GrabCutDashboard(rgb, fg_data=[], bg_data=[], height=600,
                                              name='GrabCut Extractor', minimum_size=200)
panel.Column(grabcuts, grabcuts.view())

I immediately double checked selection.zoom_level and it had reset itself to 14 (which is what it should have been). So there is some issue with the zoom level not being set at the correct time.

I'll close in favor of #253 but won't delete the branch in case there's anything we want to reuse from this dashboard in the future.


createIconSetFromIcoMoon for web

[*] Review the documentation: https://github.com/oblador/react-native-vector-icons
[*] Search for existing issues (including closed ones): https://github.com/oblador/react-native-vector-icons/issues

Environment
npx react-native info
info Fetching system and libraries information...
System:
    OS: macOS 11.1
    CPU: (4) x64 Intel(R) Core(TM) i5-5350U CPU @ 1.80GHz
    Memory: 173.40 MB / 8.00 GB
    Shell: 3.2.57 - /bin/bash
  Binaries:
    Node: 15.2.1 - /usr/local/bin/node
    Yarn: Not Found
    npm: 7.4.3 - ~/node_modules/.bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.10.0 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 14.2, DriverKit 20.0, macOS 11.0, tvOS 14.2, watchOS 7.1
    Android SDK:
      API Levels: 29
      Build Tools: 28.0.3, 29.0.2
      System Images: android-29 | Intel x86 Atom_64, android-29 | Google Play Intel x86 Atom
      Android NDK: Not Found
  IDEs:
    Android Studio: 4.1 AI-201.87<IP_ADDRESS>53283
    Xcode: 12.2/12B45b - /usr/bin/xcodebuild
  Languages:
    Java: 1.8.0_275 - /usr/bin/javac
    Python: 2.7.16 - /usr/bin/python
  npmPackages:
    @react-native-community/cli: Not Found
    react: ^16.13.1 => 16.13.1
    react-native: ^0.63.4 => 0.63.4
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

"react-native-vector-icons": "^7.0.0"

Description
I use React native for an application for android and ios. now I want publish my app for web . So I use webpack to create bundle and use in react structure.
In one of my pages, there is list of icons that I create with icomoon with this code:
import { createIconSetFromIcoMoon } from 'react-native-vector-icons';
import icoMoonConfig from './selection.json';
export default createIconSetFromIcoMoon(icoMoonConfig);

It works well in ios and android. but in web, it just show square as icons!
how can show icons of icomoon correctly like android and ios in web?
##Demo

Anybody can help me?
I searched a lot!

Hi. I have the same issue.
Icons are being loaded correctly on iOS, Android, and even the web app when I run it in development mode but when I build and publish my web app all icons become squares.

Hi. Use react-icomoon
On Sat, Jul 17, 2021, 13:26 mohammadrahmanian @.***>
wrote:

Hi. I have the same issue.
Icons are being loaded correctly on iOS, Android, and even the web app
when I run it in development mode but when I build and publish my web app
all icons become squares.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/oblador/react-native-vector-icons/issues/1350#issuecomment-881861115,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANTD5NPOI5HTRL326HFXTH3TYFATTANCNFSM45LM24CQ
.

We’ve just released a major new version with significant changes and improvements. If you’re still experiencing this issue after upgrading, please open a new issue with updated details. We're closing all the very old issues to get on top of things. Thanks for your patience!


⚠ Bofrost.com has degraded performance

In bab7388, Bofrost.com (https://www.bofrost.com) experienced degraded performance:

HTTP code: 200
Response time: 1645 ms

Resolved: Bofrost.com performance has improved in 29cbd76.


Gives different results then latest Benchmark.js on a separate site or node.js

see:
http://jsperf.com/classes-es6-vs-babel  (gives incorrect results for the babel test)
vs.
http://jsbin.com/qadijo (gives same results as node.js correctly)
Also my comment here: https://bugs.chromium.org/p/v8/issues/detail?id=4106#c8

The difference is in the jsperf example you're jamming all of the code into the benchmark's setup while in the jsbin/node.js one you're not.

Right, so it's some kind of optimization of v8 (e.g. there's no 10x difference in Safari)
Declaration should always go into a script tag of the "Preparation code HTML" section?
(and only reseting values in setup?)

The a benchmark looks like this per sample:
<setup>
<start clock>
while (<loop count>) {
  < benchmark fn>
}
<end clock>
<teardown>

The setup is right before the clocked loop so sometimes things in the setup (if doing too much) can effect the loop.

Interesting. Historically I put almost everything in the Preparation HTML (just by habit), not sure why I defined the classes in Setup in this case (probably just a fast copy&paste)
But one thing it shows is that Preparation code HTML could use an additional line:

Also do any expensive declarations and initializations here instead of the Setup section below!

Cause the current one doesn't seem instructive enough:

(useful when testing DOM operations or including libraries)


JSON export format: put reference to the organigramming tool

As a tech-savvy person, if I stumble upon such a JSON file created with the organigramming tool, finding a hint where to find it (e.g. the domain or the GitHub repo) would help a lot!

https://github.com/technologiestiftung/organigramming-berlin/tree/feat/github-reference-in-json


Npm update - fix security vulnerabilities

Issue #:
Description of changes:
Fixes some security vulnerabilities including postcss, video.js, and url-parse.
Testing

How did you test these changes?
deployed a live event and did sanity checks.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Hmm, is there no package.json change at all?

I auto merged the github patch for these 3. Can you verify if we need to update something else here?

What about glob-parent and xmldom dps?


new BigInteger("340282366920938463463374607431768211455") incorrect format error

Strange error. There is nothing wrong with this number. Same error in System.Numerics namespace also.

The string as pasted in the PR title contains zero-width spaces (https://util.unicode.org/UnicodeJsps/character.jsp?a=200B), which are not valid decimal characters.


⚠ Bofrost.fr has degraded performance

In 96375a7, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 978 ms

Resolved: Bofrost.fr performance has improved in 851cf24 after 6 minutes.