oss-fuzz: Move oss-fuzz test harnesses and fuzzer configs to ovs source repo

This PR does the following:

Moves oss-fuzz test harnesses to this repo
Moves oss-fuzz config (options and dictionary) to this repo
More abstractly, helps maintain fuzzing tests and config along side source code

Once PR is approved and merged, I will change build script and Dockerfile in oss-fuzz/openvswitch accordingly (CC @blp)

Thanks for the patch!
I've got some feedback but I'm more accustomed to sending this kind of feedback by email, so I'll post it in this thread I've started: https://mail.openvswitch.org/pipermail/ovs-dev/2018-July/349058.html

Closing PR since this patch was sent via mailing list.


Added patterns and new items

Type of Change

[ ] Bug fix (non-breaking change, fixes #)
[X] New feature (non-breaking change, adds functionality)
[ ] Breaking change (effects multiple commands or functionality)
[ ] Ran manual Pester test and has passed (`.\tests\manual.pester.ps1)
[ ] Adding code coverage to existing functionality
[ ] Pester test is included
[ ] If new file reference added for test, has is been added to github.com/sqlcollaborative/appveyor-lab ?
[ ] Nunit test is included
[ ] Documentation
[ ] Build system

Purpose
Adding extra options to the known names and patterns
Approach
N/A
Commands to test
New-DbaDbMaskingConfig
Screenshots
Learning

thanks sander! 🙇


Emacs Intero can not start on Mac but it works on Linux

OS: Mac
emacs --version
GNU Emacs 24.5.1

 stack --version
Version 1.3.2 x86_64 hpack-0.15.0

Error:

The following GHC options are incompatible with GHCi and have not been passed to it: -threaded
Configuring GHCi with the following packages: duckling
GHCi, version 8.0.2: http://www.haskell.org/ghc/  :? for help

<interactive>:1:6-66: error: Not in scope: ‘>>’

<interactive>:1:70-131: error: Not in scope: ‘>>’

<interactive>:1:135-196: error: Not in scope: ‘return’

Steps to reproduce:

checkout duckling
run stack build
run stack build intero
start REPL

That's GHCi not Intero. See the start message?


Profile Page Mobile View

Please create the mobile view for the profile page and update the modals to follow the Figma design.

/cib Profile Page Mobile View

Branch 115-profile-page-mobile-view created!


_.pluck is not a function error on v 1.3.0

I installed version 1.3.0 and getting this error:
Verifying property string-replace.development exists in config...OK
Reading src/index.html...OK
Warning: An error occurred while processing a template (_.pluck is not a function). Use --force to continue

Lodash is on 4.16.1 and what I can see _pluck is removed from lodash
Can you please fix this issue?

@Crysalist I am sorry but at first glance this issue is not related with grunt-string-replace, neither underscore nor lodash are dependencies and I am not using them at all.
I might need more details to help you identify the problem.

It happens only on string-replace. When I run grunt string-replace I get the above mentioned warning. I know I can run with --force but I would rather not do that because of unit testing.

The replacement options looks like this :
development: {             'files': {                 '<%= base.dest_folder %>/index.html': '<%= base.dest_folder %>/index.html'             },             'options': {                 'replacements': [{                     'pattern': /APP_NAME_VAR/g,                     'replacement': '<%= package.name %>'                 }, {                     'pattern': /APP_TITLE_VAR/g,                     'replacement': '<%= package.title %>'                 }, {                     'pattern': /APP_CONTENT_VAR/g,                     'replacement': '<%= package.content %>'                 }, {                     'pattern': /APP_VERSION_VAR/g,                     'replacement': '<%= package.version %>'                 }, {                     'pattern': /APP_LOGO_VAR/g,                     'replacement': '<%= package.logo %>'                 }, {                     'pattern': /APP_ID_VAR/g,                     'replacement': '<%= package.appid %>'                 }, {                     'pattern': /APP_APIKEY_VAR/g,                     'replacement': '<%= package.apikey %>'                 }, {                     'pattern': /APP_DEBUG_VAR/g,                     'replacement': false                 }, {                     'pattern': /APP_APIURL_VAR/g,                     'replacement': function(match, p1) {                         var pkg = grunt.config.get("base");                         var env = (grunt.option('env') || 'DEVELOPMENT').toLowerCase();                         return pkg.env[env];                     }                 }, ]             }         }

Seems like you are using Grunt 1.0. I just ran the tests cases using grunt 1.0.1 and grunt-cli 1.2.0 and everything works without problems.
I'll take a look at your options.

Looked into it a bit further and I see you depend on async that in turn depends on lodash. I suspect that the issue might come in there.

Good eye. Async is marked as deprecated in the latest docs. Could be the root cause.

I am still not sure though why the tests cases still run without problems. I'll release a beta version in a bit with these changes.

thanx

Ok, I think I know why the tests are nor breaking. One of the main deprecations upgrading from Grunt 0.4 to 1.0 was this:

lodash was upgraded to ~4.3.0. Many changes have occurred. Some of which that directly effect Grunt are grunt.util..template() returns a compile function and grunt.util..flatten no longer flattens deeply. grunt.util._ is deprecated and we highly encourage you to npm install lodash and var _ = require('lodash') to use lodash.

All your replacements are using lodash templates <% foo %> and I have exactly 0 tests covering that scenario.
Working on the fix.

... and I am back to ground 0. I have added tests cases for template strings and functions and still cannot reproduce this error.
Did you update grunt recently to 1.0 from a previous version? What this working before?

Also, can you try to run only the string-replace task? if possible by adding --debug to your command line.
Another breaking change I am looking at is related to Grunt internals. Before you could do --foo bar and get bar assigned to foo, but now this will set foo to true. You might be doing something like grunt --env development when you now actually need to do grunt --env=development.

nopt is upgraded to ~3.0.6 which has fixed many issues, including passing multiple arguments and dealing with numbers as options. Be aware previously --foo bar used to pass the value 'bar' to the option foo. It will now set the option foo to true and run the task bar.

Yes it was a clean install with these settings in package.json:
"bower": "^1.7.9",         "grunt": "^1.0.1",         "grunt-concat-in-order": "^0.2.6",         "grunt-contrib-clean": "^1.0.0",         "grunt-contrib-concat": "^1.0.1",         "grunt-contrib-copy": "^1.0.0",         "grunt-contrib-imagemin": "^1.0.1",         "grunt-contrib-jshint": "^1.0.0",         "grunt-contrib-less": "^1.3.0",         "grunt-contrib-sass": "^1.0.0",         "grunt-contrib-uglify": "^1.0.1",         "grunt-contrib-watch": "^1.0.0",         "grunt-jsdoc": "^2.1.0",         "grunt-karma": "^2.0.0",         "grunt-push-svn": "^0.2.2",         "grunt-string-replace": "^1.2.1",         "jasmine": "^2.4.1",         "karma": "^1.1.1",         "karma-chrome-launcher": "^1.0.1",         "karma-coverage": "^1.1.0",         "karma-jasmine": "^1.0.2",         "karma-junit-reporter": "^1.1.0",         "karma-ng-html2js-preprocessor": "^1.0.0",         "load-grunt-config": "^0.19.2",         "time-grunt": "^1.3.0"

The debug :
`grunt string-replace:development --debug
Running "string-replace:development" (string-replace) task
[D] Task source: D:\Development..\node_modules\grunt-string-replace\tasks\string-replace.js
[D] working on file src/index.html
[D] unixified path is src/index.html
[D] replacing function with augmented one
[D] decorating replace function with extra arguments
[D] replacing function with augmented one
[D] decorating replace function with extra arguments
[D] working on file src/_templates/config.js
[D] unixified path is src/config.js
[D] replacing function with augmented one
[D] decorating replace function with extra arguments
[D] replacing function with augmented one
[D] decorating replace function with extra arguments
[D] working on file src/assets/js/MyFile-0.0.1.js
[D] unixified path is src/assets/js/MyFile-0.0.1.js
[D] replacing function with augmented one
[D] decorating replace function with extra arguments
[D] replacing function with augmented one
[D] decorating replace function with extra arguments
3 files created
Done.
Execution Time (2016-09-22 11:49:58 UTC+2)
loading tasks               1.7s	95%
string-replace:development  79ms	4%
Total 1.8s`

currently running grunt --env=development

Well, seems string-replace is actually working. I'd recommend running each plugin independently to find out more details, probably some other plugin is not ready to run with Grunt 1.x.

will do - thanx for the help though

Unrelated. When adding text to github issues, instead of just doing 1 backtick, you can use 3 (see the updated comments on this thread) you can add fancy things like color syntax ;)

No problem. Please do let me know if you find which plugin is giving you problems, or, if it ends up being string-replace ping me again so I can return to the debugging.
I don't like bugs, specially if they are on my code.

Found the culprit : 'APIURL: "APP_APIURL_VAR",' in my index file as soon as I remove it - I no longer get the issue.
in my index.html template:
''

Still don't get why that would break in such way. I'll create a blank project trying to mimic what you are doing here to do some more testing.

I'm trying to do exact same...

Recreated it and it is definitely the function replacement that causes it:
{
                    'pattern': /APP_APIURL_VAR/g,
                    'replacement': function(match, p1) {
                        var pkg = grunt.config.get("base");
                        var env = (grunt.option('env') || 'DEVELOPMENT').toLowerCase();
                        return pkg.env[env];
                    }
                }

I even tried it with :
{
                    'pattern': /APP_APIURL_VAR/g,
                    'replacement': function(match, p1) {
                        return 'SOMEVALUE';
                    }
                }

It still breaks with the above error

Did you recreated it on a new testing project or on your same project?

From scratch - plain template and just installed same versions of the files above

Can you upload it as a gist or in a temporal project so I have the exact same files for testing?
I also noticed you are using Windows, but I do not think that is related at all.

I'll continue with this later, thanks for the help!

Finally found the issue - where I used get the package.json config with grunt.config.get("base") I now need to do it with grunt.config.get("package.env") to get the env settings from package.json

Thanks for the follow up @Crysalist; So, is it safe to say the error is not related to the plugin?

Btw, if all you want to do is read a JSON file you can also require() it and node will give you back a JavaScript object.

Yep - it is to do with setup and usage.


warning when upgrading from 0.50 -> 0.51

What version of rules_go are you using?
0.51.0
What version of gazelle are you using?
0.40.0
What version of Bazel are you using?
7.4.1
Does this issue reproduce with the latest releases of all the above?
yes
What operating system and processor architecture are you using?
linux
x64
Any other potentially useful information about your toolchain?

What did you do?
bazel_dep(name = "gazelle", version = "0.40.0", repo_name = "bazel_gazelle")
bazel_dep(name = "rules_go", version = "0.51.0", repo_name = "io_bazel_rules_go")

go_sdk = use_extension("@io_bazel_rules_go//go:extensions.bzl", "go_sdk")
go_sdk.download(version = "1.22.1")

go_deps = use_extension("@bazel_gazelle//:extensions.bzl", "go_deps")
go_deps.from_file(go_mod = "//:go.mod")

What did you expect to see?
no warning
What did you see instead?
DEBUG: /mnt/code/bazel/out/base/external/gazelle~/internal/bzlmod/go_deps.bzl:571:40:

Mismatch between versions requested for module github.com/bazelbuild/rules_go
Bazel dependency version requested in MODULE.bazel: 0.51.0
Go module version requested in go.mod: 0.50.1
Please resolve this mismatch to prevent discrepancies between native Go and Bazel builds

What's the version for github.com/bazelbuild/rules_go in your go.mod file? Does the warning go away if you match the version of rules_go in your module file?

What's the version for github.com/bazelbuild/rules_go in your go.mod file? Does the warning go away if you match the version of rules_go in your module file?

there is no rules_go mentioned anywhere in my go.mod file..

i am not running with isolate = True.
in fact i just now tried adding isolate=true and build  --experimental_isolated_extension_usagesflag
go_deps = use_extension("@bazel_gazelle//:extensions.bzl", "go_deps",isolate = True)
go_deps.from_file(go_mod = "//:go.mod")

still getting the same warning


Fixes issue #42: ORCA Redesign

After further discussions with the client scheduled for Wednesday, I'll be enhancing the ORCA webpage in accordance to the prototype created for the new frontend plan.

The changes I made to the code:

shows tag for input file
Search bar for search terms
Search bar for cycles
Dropdown for data extracted with hardcoded values
Dropdown for lines with hardcoded values
Changed the name of the download button from convert

Need to fix errors for:

tags shown for the search terms

@mkalal6 - I have implemented the following changes for this PR. Please review and let me know your comments.

Added a tag for the filename with an option to delete it.
Made the Lines to be extracted field as dropdown. The Line number input field will be displayed only when FIRST and LAST values are selected.
Removed total lines and use of total lines.
Search query card will be displayed only when there is an Uploaded file and a Search term.


use default cmd args when starting service

Following changes are being done to the AsService API:

Runs the DefaultCmd by default. This can be overwritten by passing optional Args option to the AsService API.
Entrypoint is disabled by default. This can be enabled using the option UseEntrypoint option to the AsService API. If this is enabled, then we prepend the "Entrypoint" to the default args.

fixes #8140

Hi @helderco @shykes @marcosnils,
I think this PR is ready for review now.
Thanks

Just checking on the status of this?

depends on https://github.com/dagger/dagger/pull/9073 (which updates the version to v0.15.0).

there are a couple of failures after rebasing and resoving the conflict. I am fixing those.

I think this PR is ready for merge now. I believe I have addressed all the review comments, and the CI looks happy as well.


Improve BatchedArray

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (6cfe000) 100.00% compared to head (b24ed02) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #515   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           23        23
  Lines         1796      1797    +1
  Branches       265       263    -2
=========================================
+ Hits          1796      1797    +1

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


Click on the upper right corner but cannot close

iPhone 12 Pro Max
iOS 16.0

Sorry for being late!
I felt a bit like that myself, but it worked sometimes when I aimed carefully, so I left it alone. I will address it in the next release!
Thank you for your report!


Make sure that project.description is always set

long_description must be specified since setuptools 62.2+
either set it to summary or to project name
fixes #852

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 5 (0.0%)  changed or added relevant lines in 1 file are covered.
86 unchanged lines in 11 files lost coverage.
Overall coverage decreased (-1.2%) to 80.138%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/main/python/pybuilder/plugins/python/distutils_plugin.py
0
5
0.0%

Files with Coverage Reduction
New Missed Lines
%

src/main/python/pybuilder/plugins/python/coverage_plugin.py
1
53.27%

src/main/python/pybuilder/plugins/python/_coverage_util.py
1
9.89%

src/main/python/pybuilder/plugins/python/remote_tools/init.py
1
29.33%

src/main/python/pybuilder/plugins/python/vendorize_plugin.py
1
95.11%

src/main/python/pybuilder/extern/init.py
2
86.25%

src/main/python/pybuilder/remote/init.py
3
76.83%

src/main/python/pybuilder/reactor.py
4
92.83%

src/main/python/pybuilder/plugins/python/test_plugin_helper.py
5
76.19%

src/main/python/pybuilder/utils.py
6
79.66%

src/main/python/pybuilder/python_env.py
13
69.85%

Totals

Change from base Build<PHONE_NUMBER>:
-1.2%

Covered Lines:
4996

Relevant Lines:
6131

💛  - Coveralls


chore: release main

:robot: I have created a release beep boop
dev-dependencies-common: 3.2.6
3.2.6 (2024-04-06)
Bug Fixes

bump types and common dependencies (0e295ff)

dev-dependencies-types: 1.1.9
1.1.9 (2024-04-06)
Bug Fixes

bump types and common dependencies (0e295ff)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/aversini/dev-dependencies/releases/tag/dev-dependencies-types-v1.1.9 :sunflower:


Add support for nested task lists

Add support for nested task lists to comply with the rendering of GFMs task lists.

Fixed with change to markdig


migrate CI testing to travis-ci.com

follow instructions at https://docs.travis-ci.com/user/migrate/open-source-repository-migration

done, https://travis-ci.com/github/rerobots/py


WAR cards do not have image_url data

image_url attribute is empty (returns None) for WAR cards.

This should be fixed.


Improve safety section on Style/SymbolProc

Since Symbol#to_proc is a bit difficult concept to understand in Ruby and is often tripped up by beginners, I thought it would be better to document it more precisely.
The original text explains it as follows:

procs and blocks work differently

but this is not a very appropriate explanation I think, since both equally create an instance of the Proc class, so it is not reasonable to explain them as opposites. And worse, Ruby also has a keyword proc, so it is better to avoid using this word in a way that could be misinterpreted as a keyword as much as possible.

Before submitting the PR make sure the following are checked:

[x] The PR relates to only one subject with a clear title and description in grammatically correct, complete sentences.
[x] Wrote good commit messages.
[ ] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[ ] Added tests.
[x] Ran bundle exec rake default. It executes all tests and runs RuboCop on its own code.
[ ] Added an entry (file) to the changelog folder named {change_type}_{change_description}.md if the new code introduces user-observable changes. See changelog entry format for details.

Thanks!


Generating Swagger Documentation

Hello I am new to Swagger, is there a way to auto generate the yaml file in order to get the swagger documentation, I was referred to this page in order to accomplish this. After reading the documentation I had no success. I just don't really know anything about creating the yaml file so if I need to learn it I will, just wanted to see if there was an easier way first.

What do you mean by autogenerate yaml file? I think you mean I already have a node.js API project and I want to generate Swagger API for that.
This project is about design first API development workflow where you design your API in Swagger using bundled Swagger editor, implement your logic in controllers so that your implementation and documentations are always in synch. See more details at https://github.com/swagger-api/swagger-node/blob/master/docs/introduction.md

Yea that is what I mean, and I followed that but I couldn't seem to get it to create documentation from there, especially being that I am new to the API's in general any tips would be great.


No module named 'annotated_text' in streamlit_app.py

I was trying to run streamlit app, but encountered this error:
ModuleNotFoundError: No module named 'annotated_text'
Traceback:
File "C:\.........\lib\site-packages\streamlit\script_runner.py", line 333, in _run_script
    exec(code, module.__dict__)
File ".........\Gramformer\streamlit_app.py", line 1, in <module>
    from annotated_text import annotated_text

And I couldn't find annotated_text anywhere in this repo.
Please how to solve this problem?
Thank you in advance.

Try
pip install st-annotated-text


Modeling: Artemis fails to parse activity diagram

Describe the bug
See log below. The Artemis server fails to parse an activity diagram.
I think this functionality would be used otherwise to give recommendations where to place feedback for the tutors (compass subsystem)?
To Reproduce
Not sure. Model JSON that can be imported into Apollon standalone:
{"id":"f9e58574-1c81-4027-8a58-6fca00c5fad7","title":"artemis-bug-report-activity","model":{"version":"2.0.0","type":"ActivityDiagram","size":{"width":780,"height":520},"interactive":{"elements":[],"relationships":[]},"elements":[{"id":"a6facac4-ba6a-41ae-9dc5-98a527f5cd14","name":"a","type":"ActivityActionNode","owner":null,"bounds":{"x":180,"y":0,"width":160,"height":80}},{"id":"c779c3b9-79b4-4611-bb92-af01fad99eb2","name":"b","type":"ActivityActionNode","owner":null,"bounds":{"x":560,"y":0,"width":160,"height":80}},{"id":"b68f1723-ac50-4a2d-83ab-9fc3353a9dcb","name":"c","type":"ActivityActionNode","owner":null,"bounds":{"x":570,"y":390,"width":160,"height":80}},{"id":"f55ea711-04da-4e8d-98e0-f69fb8ce53a4","name":"","type":"ActivityInitialNode","owner":null,"bounds":{"x":0,"y":30,"width":36,"height":36}},{"id":"bc848241-aa47-4adc-a6f4-acbcd0375f37","name":"d","type":"ActivityActionNode","owner":null,"bounds":{"x":150,"y":380,"width":160,"height":80}},{"id":"4a59b45e-5b81-47da-a349-ac77b7ed8bf3","name":"e","type":"ActivityMergeNode","owner":null,"bounds":{"x":140,"y":180,"width":160,"height":80}},{"id":"c66cf2f4-31e5-4491-9219-e47884197410","name":"g","type":"ActivityActionNode","owner":null,"bounds":{"x":380,"y":310,"width":160,"height":80}},{"id":"d3a522e3-f0ab-4cca-a952-3eea22569308","name":"f","type":"ActivityActionNode","owner":null,"bounds":{"x":380,"y":80,"width":160,"height":80}},{"id":"1e870adb-36f2-44e6-9b59-c3c1872a5d77","name":"","type":"ActivityFinalNode","owner":null,"bounds":{"x":570,"y":200,"width":36,"height":36}}],"relationships":[{"id":"a7eacbbd-05cb-4d62-ae14-e5bc591053a2","name":"","type":"ActivityControlFlow","owner":null,"bounds":{"x":36,"y":50,"width":144,"height":1},"path":[{"x":0,"y":0},{"x":144,"y":0}],"source":{"direction":"Right","element":"f55ea711-04da-4e8d-98e0-f69fb8ce53a4"},"target":{"direction":"Left","element":"a6facac4-ba6a-41ae-9dc5-98a527f5cd14"},"isManuallyLayouted":false},{"id":"f6718aa0-090c-42d8-9abf-89f27119fd09","name":"","type":"ActivityControlFlow","owner":null,"bounds":{"x":340,"y":40,"width":220,"height":1},"path":[{"x":0,"y":0},{"x":220,"y":0}],"source":{"direction":"Right","element":"a6facac4-ba6a-41ae-9dc5-98a527f5cd14"},"target":{"direction":"Left","element":"c779c3b9-79b4-4611-bb92-af01fad99eb2"},"isManuallyLayouted":false},{"id":"036796e8-010e-4b49-ac38-c6d4e5b3261f","name":"","type":"ActivityControlFlow","owner":null,"bounds":{"x":645,"y":80,"width":1,"height":310},"path":[{"x":0,"y":0},{"x":0,"y":310}],"source":{"direction":"Down","element":"c779c3b9-79b4-4611-bb92-af01fad99eb2"},"target":{"direction":"Up","element":"b68f1723-ac50-4a2d-83ab-9fc3353a9dcb"},"isManuallyLayouted":false},{"id":"f1f56a7f-ee6c-4e31-b0db-cb77d4cb384c","name":"","type":"ActivityControlFlow","owner":null,"bounds":{"x":310,"y":425,"width":260,"height":1},"path":[{"x":260,"y":0},{"x":0,"y":0}],"source":{"direction":"Left","element":"b68f1723-ac50-4a2d-83ab-9fc3353a9dcb"},"target":{"direction":"Right","element":"bc848241-aa47-4adc-a6f4-acbcd0375f37"},"isManuallyLayouted":false},{"id":"d789f921-6e4f-49fb-9c21-7cc62de9f7c4","name":"","type":"ActivityControlFlow","owner":null,"bounds":{"x":225,"y":260,"width":1,"height":120},"path":[{"x":0,"y":120},{"x":0,"y":0}],"source":{"direction":"Up","element":"bc848241-aa47-4adc-a6f4-acbcd0375f37"},"target":{"direction":"Down","element":"4a59b45e-5b81-47da-a349-ac77b7ed8bf3"},"isManuallyLayouted":false},{"id":"0bad0612-55e9-43e7-8518-b523de5aaa6e","name":"[x]","type":"ActivityControlFlow","owner":null,"bounds":{"x":240,"y":80,"width":21.899999618530273,"height":100},"path":[{"x":0,"y":100},{"x":0,"y":0}],"source":{"direction":"Up","element":"4a59b45e-5b81-47da-a349-ac77b7ed8bf3"},"target":{"direction":"Down","element":"a6facac4-ba6a-41ae-9dc5-98a527f5cd14"},"isManuallyLayouted":false},{"id":"fbac13c9-769c-4e80-b6d2-87ed0c8a4f05","name":"[y]","type":"ActivityControlFlow","owner":null,"bounds":{"x":300,"y":120,"width":80,"height":100},"path":[{"x":0,"y":100},{"x":40,"y":100},{"x":40,"y":0},{"x":80,"y":0}],"source":{"direction":"Right","element":"4a59b45e-5b81-47da-a349-ac77b7ed8bf3"},"target":{"direction":"Left","element":"d3a522e3-f0ab-4cca-a952-3eea22569308"},"isManuallyLayouted":false},{"id":"456956a6-2bec-4969-8578-2cb0d80c0ad9","name":"[z]","type":"ActivityControlFlow","owner":null,"bounds":{"x":300,"y":220,"width":80,"height":130},"path":[{"x":0,"y":0},{"x":40,"y":0},{"x":40,"y":130},{"x":80,"y":130}],"source":{"direction":"Right","element":"4a59b45e-5b81-47da-a349-ac77b7ed8bf3"},"target":{"direction":"Left","element":"c66cf2f4-31e5-4491-9219-e47884197410"},"isManuallyLayouted":false},{"id":"3dfdb826-b1c8-49b7-aab7-51fdd09e6edf","name":"","type":"ActivityControlFlow","owner":null,"bounds":{"x":540,"y":120,"width":48,"height":80},"path":[{"x":0,"y":0},{"x":48,"y":0},{"x":48,"y":80}],"source":{"direction":"Right","element":"d3a522e3-f0ab-4cca-a952-3eea22569308"},"target":{"direction":"Up","element":"1e870adb-36f2-44e6-9b59-c3c1872a5d77"},"isManuallyLayouted":false},{"id":"cbffe6b3-4426-4d70-8342-a1cd1a5641b9","name":"","type":"ActivityControlFlow","owner":null,"bounds":{"x":540,"y":236,"width":48,"height":114},"path":[{"x":0,"y":114},{"x":48,"y":114},{"x":48,"y":0}],"source":{"direction":"Right","element":"c66cf2f4-31e5-4491-9219-e47884197410"},"target":{"direction":"Down","element":"1e870adb-36f2-44e6-9b59-c3c1872a5d77"},"isManuallyLayouted":false}],"assessments":[]},"lastUpdate":"2023-07-04T15:17:00.222Z","diagramType":"ActivityDiagram"}

Seems to have start and end nodes:

Expected behavior
No error.
Screenshots
No response
Which version of Artemis are you seeing the problem on?
6.3.2
What browsers are you seeing the problem on?
Other (specify in "Additional context")
Additional context
No response
Relevant log output
d.t.i.w.a.s.c.c.ModelClusterFactory      : Error while building and adding model!

java.io.IOException: Control flow source or target not part of model!
        at de.tum.in.www1.artemis.service.compass.umlmodel.parsers.ActivityDiagramParser.parseControlFlow(ActivityDiagramParser.java:124)
        at de.tum.in.www1.artemis.service.compass.umlmodel.parsers.ActivityDiagramParser.buildActivityDiagramFromJSON(ActivityDiagramParser.java:75)
        at de.tum.in.www1.artemis.service.compass.umlmodel.parsers.UMLModelParser.buildModelFromJSON(UMLModelParser.java:40)
        at de.tum.in.www1.artemis.service.compass.controller.ModelClusterFactory.getModelElements(ModelClusterFactory.java:101)
        at de.tum.in.www1.artemis.service.compass.CompassService.getSuggestionResult(CompassService.java:89)
        at de.tum.in.www1.artemis.service.ModelingSubmissionService.assignResultWithFeedbackSuggestionsToSubmission(ModelingSubmissionService.java:208)
        at de.tum.in.www1.artemis.service.ModelingSubmissionService.findRandomSubmissionWithoutExistingAssessment(ModelingSubmissionService.java:175)
        at de.tum.in.www1.artemis.web.rest.ModelingSubmissionResource.getModelingSubmissionWithoutAssessment(ModelingSubmissionResource.java:258)

I just created a server test in Artemis to load the attached diagram using the UMLModelParser.buildModelFromJSON and the test passes. Are you sure this is the exact model that leads to the exception?

Thanks for checking.

Are you sure this is the exact model that leads to the exception?

Not 100% sure, from the server log I could only get the student who submitted, but they might have saved another slightly different model between the error and when I downloaded the model.
But the exception occurred multiple times for different submissions. I don’t have the old logs any more and therefore can’t really check it again.
If there is more logging now it might be easier to debug if it happens again in the future.

Might have been some spurious error that cannot be reproduced now. Will open another issue in case this appears again in the future.


Issues 3.8 and 3.8.1 merged. Checking the user on eligibility to register for an event.

Problem: The volunteer must be able to register for an event. The user must be able to fill out the required forms. In order to register for an event, the volunteer must be eligible to do so. The volunteer must not be banned and must complete the prerequisite(s) for the event prior to registering.
Solution: We created a function for Issue 3.8.1 that checks if the user is not banned and if the user attended any required prerequisites for the event. If the user passes through these requirements, they must be able to register for the event. We created another function for that. It checks if the user is eligible for the event, and lets the user register for the event. We also renamed the file "ProgramEvent" to " preqForEvent" so that we can check what event belongs to what program. An event can only belong to one program, but the program can require multiple events as prerequisites, so it makes more sense to have the file "preqForEvent".
Tests: We have 4 files to test the functions described above. One of them is called test_events.py and it checks if the event is valid and if the event is in any program or has any trainings. Another test, test_data.py, checks terms, programs, events, preqForProgram, Users, and EventParticipants and if they exist, it executes them. The other test, test_program_eligibility.py, checks if the user is eligible for the event, if they attended prerequisites, if the username and eventId match, and the test suite also has some tests that are supposed to fail because the code can be broken. And another test suite, test_volunteerRegisterEvent, checks username, event id, rsvp, and it also has some broken code to check if it will break the function. In the database, we will have to go to eventParticipant to check if the row was inserted once we run the test suites with all the data in them. We will need to change the column "attended" from 1 to 0 and vice versa in case we change it in the code to see if it will work and not let the user register for the event if prerequisites are not completed or the user is not eligible.

PR updated: Fixed the merge conflict


fix ci

I add ci for Windows

The code can be compiled in the Windows OS, of course, But I am not tested it


Output of individual losses (classification and localization) during training

Hi @pierluigiferrari
First of all thanks for this wonderful repo! Very well written and nicely documented.
I'm working on adding a third loss to the classification and localization loss: I want to train continuous values in the network, with a mean square loss. Every bounding box has then one or more continuous values attached, next to the classification.
In your implementation the classification and localization loss are combined in keras_ssd_loss.py, with a weighing factor alpha. I've added my third loss function there now and it seems to work. But I don't see a straightforward way of showing the individual losses during training to properly finetune the weighing between the three losses, and get more information during training.
In Keras it is possible to define multiple outputs, and combine multiple losses using the Keras API (https://keras.io/getting-started/functional-api-guide/#multi-input-and-multi-output-models). That way the individual loss values are exposed and you can see them during training.
I was wondering if you considered implementing the loss using a multi-output model? One big downside I see there is that I currently don't see a way of avoiding calculating positives and negatives three times then. I don't see a way to share that information over the three loss functions.
Would there be an other way of knowing the three losses individually during training?

Thanks for the kinds words, I'm glad you find this implementation useful.
You don't need a multi-output model to solve your problem. Since you don't actually care about separate outputs but only about measuring the individual loss components to the overall loss, you can use the device that is intended for this purpose: TensorFlow variable summaries. They allow you to log the states our outputs of arbitrary TensorFlow operations and visualize them in TensorBoard.


[9.x] Adds to_route helper

This pull request proposes the addition of the to_route helper exactly as described here: https://github.com/laravel/framework/pull/38145.

sneaky 👀

I need str() helper more than a helper that redirects.
Look at this:

I imported Str class in more than 40 files

@foremtehan take a look at: https://github.com/laravel/framework/pull/40520
Also you can always define your own helper function.

@Jubeki that's was fast tbh 😅


test(@toss/utils): Add getViewportSize Test Code

Overview
I wrote a simple test code for thegetViewportSize function in toss/utils.
References

Set Size of Window in Jest

Object.defineProperty(window, 'innerWidth', { writable: true, configurable: true, value: 300 });

jsdom default Value (innerWidth: 1024, innerHeight: 768)

PR Checklist

[ ] I read and included theses actions below

I have read the Contributing Guide
I have written documents and tests, if needed.

It is similar with #359!

@okinawaa
Oh, right..!!!!
Please refer to my pull request if needed (ex. jsdom default value)
I'm going to close the pull request.


IGAPP-746: Set textColor to input field

This pull request belongs to an issue on our bugtracker.
You can find it there by looking for an issue with the key which is mentioned in the title of this pull request.
It starts with the keyword IGAPP.
Please test on native device, since for the the bug only occurs there.
Hopefully also works on ios native device.
Tested on: Android native device, Emulator(android+ios)

AFAICT via browserstack: iOS seems to work fine before this fix already.


Do you take into account national formatting?

Iphone formats Ukrainian number as: +380 (66) 123 45 67. Looks fine.
But libphonenumber formats it as +380 66 369 5172. That looks weird.
Is there a way to force national formatting flavour?

See: https://github.com/googlei18n/libphonenumber/blob/master/java/libphonenumber/src/com/google/i18n/phonenumbers/PhoneNumberUtil.java#L369
public enum PhoneNumberFormat {
E164,
INTERNATIONAL,
NATIONAL,
RFC3966
}


pdf Document Crash

Soon as I choose a pdf file the app crashes.  Samsung TabA7 with android 12 stock rom and latest github release.

Looking into it.


Update lib_statistics.f90

function mean: When mask'ed, divide by count(mask) instead of size(x)
function variance: When mask'ed, divide by count(mask) instead of size(x). Also a bug: variance = sum((x-mean(x))**2), was sum(x-mean(x)**2).

@eev2 - thanks for the fixes! Will try and review and test this this week :)


pip-tools fails

Trying to spawn a shell with pip-tools in a requirements file fails.
requirements.txt:
pip-tools==5.3.1

shell.nix:
let
  mach-nix = import (builtins.fetchGit {
    url = "https://github.com/DavHau/mach-nix";
    ref = "refs/tags/2.2.0";
  });
in mach-nix.mkPythonShell {
  requirements = builtins.readFile ./requirements.txt;
}

Output of nix-shell:
$ nix-shell
building '/nix/store/z92n40yigwgmbyf8mfjx6pzpf8mag5c7-mach_nix_file.drv'...

### Resolved Dependencies ###

pip-tools - 5.3.1 - wheel - py2.py3-none-any
├── click - 7.1.2 - wheel - py2.py3-none-any
├── pip - 20.2.1 - wheel - py2.py3-none-any
└── six - 1.15.0 - wheel - py2.py3-none-any

error: --- EvalError ---------------------------------------------------------------- nix-shell
at: (63:34) in file: /nix/store/pz3w468p7ig3zj8fy5xsbrjn95dwiiwj-nixpkgs/pkgs/development/python-modules/bootstrapped-pip/default.nix

    62|     description = "Version of pip used for bootstrapping";
    63|     license = stdenv.lib.unique (pip.meta.license ++ setuptools.meta.license ++ wheel.meta.license);
      |                                  ^
    64|     homepage = pip.meta.homepage;

attribute 'license' missing
(use '--show-trace' to show detailed location information)

Thanks for the report. Seems like somewhere in the python package builder of nixpkgs the license of pip is accessed.
Since the pip package in your example is generated by mach-nix it doesn't have this attribute.
You can simply fix that by forcing pip to be taken directly from nixpkgs via the provider settings:
let
  mach-nix = import (builtins.fetchGit {
    url = "https://github.com/DavHau/mach-nix/";
    ref = "2.2.1";
  });
in mach-nix.mkPython {
  requirements = ''
     pip-tools==5.3.1
  '';
  providers = {
    pip = "nixpkgs";
  };
}

I will add pip="nixpkgs" to the default provider settings in the next version
If you really need that newer version of pip, you could alterntively add themeta.license attribute to pip by using overrides_pre


Fixes issue #6872, #6821 by adding finite control loops with flags

Summary
Fixes issue #6872 and #6821 by adding finite control loops
Details and comments

This PR aims to eliminate the while True: loops in the qiskit.utils.run_circuits.py file and replaces them with a finite loop with to check whether the task executed correctly or not.
The main functions which were changed are _safe_submit_qobj, _safe_get_job_status, run_qobj , run_circuits and _safe_submit_circuits.
A parameter max_tries is introduced in the functions so that the user can provide the maximum tries for a job before it fails to execute.
The two points where the while True: loops were left unchanged were the instances in run_qobj and run_circuits. Since these instances were present to actually check and update the status of a job, it was assumed that a job may take a long amount of time in a queue and thus this status check needs to have a while True: present.
Note that a finite controlled while loop has been provided in the actual status acquiring function i.e. _safe_get_job_status and if we are unable to get the status correctly, an exception would anyway be raised.

The idea of changing to a for loop was that lines like if attempts == 9 could move outside the loops, and become an else: block instead. That way we don't have duplication of the magic number of loop iterations (in the range at the top, and in the if check); things in the else: branch of a loop will only be run if the loop exited "normally" (i.e. without break).

Okay @jakelishman , that makes sense and makes the code independent of the iters in the for loop. Thanks for reviewing!

Hey @woodsp-ibm , just checking in to see if the new changes were okay. Thanks!

Since this augments the API and changes how algorithms will behave I think a reno release note is needed.

In this case, I made the release note a feature, rather than a bug fix - we could probably have called it either, but people will notice a new parameter more if we make it a feature, and then they'll be more likely to use it.  Beyond that, it's good to describe things from a user's perspective, rather than a maintainers - users usually don't know (or care!) which files were changed, but they care a lot about what it means for them, and how they can use the new things/what might have been broken, but now works.  When behaviour changes as well, we want to document it very clearly and shortly, because people won't look at the code, and we can provide a link to fixed issues so they can find things if something new has gone wrong.  You don't usually need to describe how a bug fix was made, only the effects it has, unless it has really serious repercussions elsewhere.
The code changes I made when I pushed were just normalising the indentation in docstrings - what you'd done was already fine, I was just removing some unnecessary whitespace from that docstring, some of which already existed.


fixes #858 crashes when adding base pair lines

Design.dart line 2050 and base_pairs_test.dart are the only files with code changes.
Everything else is formatting squashed in it


FollowerLayer (CompositedTransformFollower) has null pointer error when using with some kinds of Layers

Steps to Reproduce
I have found the cause and will PR.
Run the minimal reproducible sample on flutter beta.
Expected results:
no error
Actual results:
has error

Code sample

import 'dart:ui' as ui;

import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter_test/flutter_test.dart';

void main() {
  testWidgets('FollowerLayer has bug', (tester) async {
    final link = LayerLink();
    await tester.pumpWidget(
      CompositedTransformTarget(
        link: link,
        child: CompositedTransformFollower(
          link: link,
          child: MyWidget(),
        ),
      ),
    );
  });
}

class MyWidget extends SingleChildRenderObjectWidget {
  const MyWidget({Key? key, Widget? child}) : super(key: key, child: child);

  @override
  MyRenderObject createRenderObject(BuildContext context) => MyRenderObject();

  @override
  void updateRenderObject(BuildContext context, MyRenderObject renderObject) {}
}

class MyRenderObject extends RenderProxyBox {
  MyRenderObject({RenderBox? child}) : super(child);

  @override
  void paint(PaintingContext context, Offset offset) {
    if (layer == null) {
      layer = MyLayer(
        computeSomething: _computeSomething,
      );
    } else {
      (layer as MyLayer?)?.computeSomething = _computeSomething;
    }

    context.pushLayer(layer!, super.paint, Offset.zero);
  }

  void _computeSomething() {
    // indeed, use `globalToLocal` to compute some useful data
    globalToLocal(Offset.zero);
  }
}

class MyLayer extends ContainerLayer {
  MyLayer({required this.computeSomething});

  VoidCallback computeSomething;

  @override
  void addToScene(ui.SceneBuilder builder) {
    computeSomething(); // indeed, need to use result of this function
    super.addToScene(builder);
  }
}

Logs

flutter stable
══╡ EXCEPTION CAUGHT BY SCHEDULER LIBRARY ╞═════════════════════════════════════════════════════════
The following _CastError was thrown during a scheduler callback:
Null check operator used on a null value

When the exception was thrown, this was the stack:
#0      FollowerLayer.getLastTransform (package:flutter/src/rendering/layer.dart:2435:66)
#1      RenderFollowerLayer.getCurrentTransform (package:flutter/src/rendering/proxy_box.dart:5286:19)
#2      RenderFollowerLayer.applyPaintTransform (package:flutter/src/rendering/proxy_box.dart:5355:24)
#3      RenderObject.getTransformTo (package:flutter/src/rendering/object.dart:2532:24)
#4      RenderBox.globalToLocal (package:flutter/src/rendering/box.dart:2580:31)
#5      MyRenderObject._computeSomething (file:///Users/tom/RefCode/flutter_portal/test/hello_test.dart:50:5)
#6      MyLayer.addToScene (file:///Users/tom/RefCode/flutter_portal/test/hello_test.dart:61:21)
#7      Layer._addToSceneWithRetainedRendering (package:flutter/src/rendering/layer.dart:545:5)
#8      ContainerLayer.addChildrenToScene (package:flutter/src/rendering/layer.dart:1105:13)
#9      FollowerLayer.addToScene (package:flutter/src/rendering/layer.dart:2567:7)
#10     Layer._addToSceneWithRetainedRendering (package:flutter/src/rendering/layer.dart:545:5)
#11     ContainerLayer.addChildrenToScene (package:flutter/src/rendering/layer.dart:1105:13)
#12     LeaderLayer.addToScene (package:flutter/src/rendering/layer.dart:2270:5)
#13     Layer._addToSceneWithRetainedRendering (package:flutter/src/rendering/layer.dart:545:5)
#14     ContainerLayer.addChildrenToScene (package:flutter/src/rendering/layer.dart:1105:13)
#15     TransformLayer.addToScene (package:flutter/src/rendering/layer.dart:1680:5)
#16     ContainerLayer.buildScene (package:flutter/src/rendering/layer.dart:937:5)
#17     RenderView.compositeFrame (package:flutter/src/rendering/view.dart:228:37)
#18     AutomatedTestWidgetsFlutterBinding.drawFrame (package:flutter_test/src/binding.dart:1138:26)
#19     RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:363:5)
#20     SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1144:15)
#21     SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1081:9)
#22     AutomatedTestWidgetsFlutterBinding.pump.<anonymous closure> (package:flutter_test/src/binding.dart:995:9)
#25     TestAsyncUtils.guard (package:flutter_test/src/test_async_utils.dart:71:41)
#26     AutomatedTestWidgetsFlutterBinding.pump (package:flutter_test/src/binding.dart:982:27)
#27     WidgetTester.pumpWidget.<anonymous closure> (package:flutter_test/src/widget_tester.dart:548:22)
#30     TestAsyncUtils.guard (package:flutter_test/src/test_async_utils.dart:71:41)
#31     WidgetTester.pumpWidget (package:flutter_test/src/widget_tester.dart:545:27)
#32     main.<anonymous closure> (file:///Users/tom/RefCode/flutter_portal/test/hello_test.dart:10:18)
#33     main.<anonymous closure> (file:///Users/tom/RefCode/flutter_portal/test/hello_test.dart:8:40)
#34     testWidgets.<anonymous closure>.<anonymous closure> (package:flutter_test/src/widget_tester.dart:170:29)
<asynchronous suspension>
<asynchronous suspension>
(elided 5 frames from dart:async and package:stack_trace)
════════════════════════════════════════════════════════════════════════════════════════════════════
00:02 +0 -1: FollowerLayer has bug [E]
  Test failed. See exception logs above.
  The test description was: FollowerLayer has bug

flutter beta
══╡ EXCEPTION CAUGHT BY SCHEDULER LIBRARY ╞═════════════════════════════════════════════════════════
The following _CastError was thrown during a scheduler callback:
Null check operator used on a null value

When the exception was thrown, this was the stack:
#0      FollowerLayer.getLastTransform (package:flutter/src/rendering/layer.dart:2397:66)
#1      RenderFollowerLayer.getCurrentTransform (package:flutter/src/rendering/proxy_box.dart:5286:19)
#2      RenderFollowerLayer.applyPaintTransform (package:flutter/src/rendering/proxy_box.dart:5355:24)
#3      RenderObject.getTransformTo (package:flutter/src/rendering/object.dart:2534:24)
#4      RenderBox.globalToLocal (package:flutter/src/rendering/box.dart:2577:31)
#5      MyRenderObject._computeSomething (file:///Users/tom/RefCode/flutter_portal/test/hello_test.dart:50:5)
#6      MyLayer.addToScene (file:///Users/tom/RefCode/flutter_portal/test/hello_test.dart:61:21)
#7      Layer._addToSceneWithRetainedRendering (package:flutter/src/rendering/layer.dart:546:5)
#8      ContainerLayer.addChildrenToScene (package:flutter/src/rendering/layer.dart:1106:13)
#9      FollowerLayer.addToScene (package:flutter/src/rendering/layer.dart:2560:7)
#10     Layer._addToSceneWithRetainedRendering (package:flutter/src/rendering/layer.dart:546:5)
#11     ContainerLayer.addChildrenToScene (package:flutter/src/rendering/layer.dart:1106:13)
#12     LeaderLayer.addToScene (package:flutter/src/rendering/layer.dart:2252:5)
#13     Layer._addToSceneWithRetainedRendering (package:flutter/src/rendering/layer.dart:546:5)
#14     ContainerLayer.addChildrenToScene (package:flutter/src/rendering/layer.dart:1106:13)
#15     TransformLayer.addToScene (package:flutter/src/rendering/layer.dart:1681:5)
#16     ContainerLayer.buildScene (package:flutter/src/rendering/layer.dart:938:5)
#17     RenderView.compositeFrame (package:flutter/src/rendering/view.dart:228:37)
#18     AutomatedTestWidgetsFlutterBinding.drawFrame (package:flutter_test/src/binding.dart:1138:26)
#19     RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:363:5)
#20     SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1144:15)
#21     SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1081:9)
#22     AutomatedTestWidgetsFlutterBinding.pump.<anonymous closure> (package:flutter_test/src/binding.dart:995:9)
#25     TestAsyncUtils.guard (package:flutter_test/src/test_async_utils.dart:71:41)
#26     AutomatedTestWidgetsFlutterBinding.pump (package:flutter_test/src/binding.dart:982:27)
#27     WidgetTester.pumpWidget.<anonymous closure> (package:flutter_test/src/widget_tester.dart:548:22)
#30     TestAsyncUtils.guard (package:flutter_test/src/test_async_utils.dart:71:41)
#31     WidgetTester.pumpWidget (package:flutter_test/src/widget_tester.dart:545:27)
#32     main.<anonymous closure> (file:///Users/tom/RefCode/flutter_portal/test/hello_test.dart:10:18)
#33     main.<anonymous closure> (file:///Users/tom/RefCode/flutter_portal/test/hello_test.dart:8:40)
#34     testWidgets.<anonymous closure>.<anonymous closure> (package:flutter_test/src/widget_tester.dart:170:29)
<asynchronous suspension>
<asynchronous suspension>
(elided 5 frames from dart:async and package:stack_trace)
════════════════════════════════════════════════════════════════════════════════════════════════════
00:11 +0 -1: FollowerLayer has bug [E]
  Test failed. See exception logs above.
  The test description was: FollowerLayer has bug

00:11 +0 -1: Some tests failed.

no errors

flutter 2.10 and flutter beta both has bug

This seems to be occurring on latest master and stable too.

 console error log

flutter: (The following exception is now available via WidgetTester.takeException:)
flutter: ══╡ EXCEPTION CAUGHT BY SCHEDULER LIBRARY ╞═════════════════════════════════════════════════════════
flutter: The following _CastError was thrown during a scheduler callback:
flutter: Null check operator used on a null value
flutter:
flutter: When the exception was thrown, this was the stack:
flutter: #0      FollowerLayer.getLastTransform (package:flutter/src/rendering/layer.dart:2397:66)
flutter: #1      RenderFollowerLayer.getCurrentTransform (package:flutter/src/rendering/proxy_box.dart:5318:19)
flutter: #2      RenderFollowerLayer.applyPaintTransform (package:flutter/src/rendering/proxy_box.dart:5387:24)
flutter: #3      RenderObject.getTransformTo (package:flutter/src/rendering/object.dart:2534:24)
flutter: #4      RenderBox.globalToLocal (package:flutter/src/rendering/box.dart:2577:31)
flutter: #5      MyRenderObject._computeSomething (package:testdemo/main.dart:50:5)
flutter: #6      MyLayer.addToScene (package:testdemo/main.dart:61:21)
flutter: #7      Layer._addToSceneWithRetainedRendering (package:flutter/src/rendering/layer.dart:546:5)
flutter: #8      ContainerLayer.addChildrenToScene (package:flutter/src/rendering/layer.dart:1106:13)
flutter: #9      FollowerLayer.addToScene (package:flutter/src/rendering/layer.dart:2560:7)
flutter: #10     Layer._addToSceneWithRetainedRendering (package:flutter/src/rendering/layer.dart:546:5)
flutter: #11     ContainerLayer.addChildrenToScene (package:flutter/src/rendering/layer.dart:1106:13)
flutter: #12     LeaderLayer.addToScene (package:flutter/src/rendering/layer.dart:2252:5)
flutter: #13     Layer._addToSceneWithRetainedRendering (package:flutter/src/rendering/layer.dart:546:5)
flutter: #14     ContainerLayer.addChildrenToScene (package:flutter/src/rendering/layer.dart:1106:13)
flutter: #15     TransformLayer.addToScene (package:flutter/src/rendering/layer.dart:1681:5)
flutter: #16     ContainerLayer.buildScene (package:flutter/src/rendering/layer.dart:938:5)
flutter: #17     RenderView.compositeFrame (package:flutter/src/rendering/view.dart:228:37)
flutter: #18     RendererBinding.drawFrame (package:flutter/src/rendering/binding.dart:505:18)
flutter: #19     WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:883:13)
flutter: #20     RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:367:5)
flutter: #21     SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1145:15)
flutter: #22     SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1082:9)
flutter: #23     LiveTestWidgetsFlutterBinding.handleDrawFrame (package:flutter_test/src/binding.dart:1546:13)
flutter: #24     SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:996:5)
flutter: #28     _invoke (dart:ui/hooks.dart:151:10)
flutter: #29     PlatformDispatcher._drawFrame (dart:ui/platform_dispatcher.dart:308:5)
flutter: #30     _drawFrame (dart:ui/hooks.dart:115:31)
flutter: (elided 3 frames from dart:async)
flutter: ════════════════════════════════════════════════════════════════════════════════════════════════════
flutter: (If WidgetTester.takeException is called, the above exception will be ignored. If it is not, then the above exception will be dumped when another exception is caught by the framework or when the test ends, whichever happens first, and then the test will fail due to having not caught or expected the exception.)
flutter: ══╡ EXCEPTION CAUGHT BY SCHEDULER LIBRARY ╞═════════════════════════════════════════════════════════
flutter: The following _CastError was thrown during a scheduler callback:
flutter: Null check operator used on a null value
flutter:
flutter: When the exception was thrown, this was the stack:
flutter: #0      FollowerLayer.getLastTransform (package:flutter/src/rendering/layer.dart:2397:66)
flutter: #1      RenderFollowerLayer.getCurrentTransform (package:flutter/src/rendering/proxy_box.dart:5318:19)
flutter: #2      RenderFollowerLayer.applyPaintTransform (package:flutter/src/rendering/proxy_box.dart:5387:24)
flutter: #3      RenderObject.getTransformTo (package:flutter/src/rendering/object.dart:2534:24)
flutter: #4      RenderBox.globalToLocal (package:flutter/src/rendering/box.dart:2577:31)
flutter: #5      MyRenderObject._computeSomething (package:testdemo/main.dart:50:5)
flutter: #6      MyLayer.addToScene (package:testdemo/main.dart:61:21)
flutter: #7      Layer._addToSceneWithRetainedRendering (package:flutter/src/rendering/layer.dart:546:5)
flutter: #8      ContainerLayer.addChildrenToScene (package:flutter/src/rendering/layer.dart:1106:13)
flutter: #9      FollowerLayer.addToScene (package:flutter/src/rendering/layer.dart:2560:7)
flutter: #10     Layer._addToSceneWithRetainedRendering (package:flutter/src/rendering/layer.dart:546:5)
flutter: #11     ContainerLayer.addChildrenToScene (package:flutter/src/rendering/layer.dart:1106:13)
flutter: #12     LeaderLayer.addToScene (package:flutter/src/rendering/layer.dart:2252:5)
flutter: #13     Layer._addToSceneWithRetainedRendering (package:flutter/src/rendering/layer.dart:546:5)
flutter: #14     ContainerLayer.addChildrenToScene (package:flutter/src/rendering/layer.dart:1106:13)
flutter: #15     TransformLayer.addToScene (package:flutter/src/rendering/layer.dart:1681:5)
flutter: #16     ContainerLayer.buildScene (package:flutter/src/rendering/layer.dart:938:5)
flutter: #17     RenderView.compositeFrame (package:flutter/src/rendering/view.dart:228:37)
flutter: #18     RendererBinding.drawFrame (package:flutter/src/rendering/binding.dart:505:18)
flutter: #19     WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:883:13)
flutter: #20     RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:367:5)
flutter: #21     SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1145:15)
flutter: #22     SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1082:9)
flutter: #23     LiveTestWidgetsFlutterBinding.handleDrawFrame (package:flutter_test/src/binding.dart:1546:13)
flutter: #24     SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:996:5)
flutter: #28     _invoke (dart:ui/hooks.dart:151:10)
flutter: #29     PlatformDispatcher._drawFrame (dart:ui/platform_dispatcher.dart:308:5)
flutter: #30     _drawFrame (dart:ui/hooks.dart:115:31)
flutter: (elided 3 frames from dart:async)
flutter: ════════════════════════════════════════════════════════════════════════════════════════════════════
flutter: 00:00 +0: FollowerLayer has bug [E]
flutter:   Test failed. See exception logs above.
  The test description was: FollowerLayer has bug
flutter:
flutter: 00:00 +0 -1: Some tests failed.

 stable, master flutter doctor -v

[✓] Flutter (Channel stable, 2.10.3, on macOS 12.2.1 21D62 darwin-x64, locale
    en-GB)
    • Flutter version 2.10.3 at /Users/dhs/documents/fluttersdk/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 7e9793dee1 (11 hours ago), 2022-03-02 11:23:12 -0600
    • Engine revision bd539267b4
    • Dart version 2.16.1
    • DevTools version 2.9.2

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

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

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

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

[✓] Flutter (Channel master, 2.13.0-0.0.pre.232, on macOS 12.2.1 21D62
    darwin-x64, locale en-GB)
    • Flutter version 2.13.0-0.0.pre.232 at
      /Users/dhs/documents/fluttersdk/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 703d8a0685 (2 hours ago), 2022-03-23 23:07:19 -0400
    • Engine revision 4fd8f7d068
    • Dart version 2.17.0 (build 2.17.0-231.0.dev)
    • DevTools version 2.11.4

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

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

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

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

@darshankawar Hi I have made the PR and new tests are added and passed


Review Menu item templates

[Bug] ItemTemplate doesn't have any effect on Menu, but DataTemplates does.
[Feature request] TreeDataTemplate doesn't work on Menu, it has the same behaviour as DataTemplate, but it should create a hierarchy, like TreeView, that's how it works on WPF.

Sample projects (Avalonia and WPF): AvaloniaMenu.zip

Workaround:
<Menu Items="{Binding MenuItems}">
            <Menu.Styles>
                <Style Selector="MenuItem">
                    <Setter Property="Command" Value="{Binding Command}" />
                    <Setter Property="Items" Value="{Binding Items}" />
                </Style>
            </Menu.Styles>
            <Menu.DataTemplates>
                <DataTemplate>
                    <TextBlock Text="{Binding Name}" />
                </DataTemplate>
            </Menu.DataTemplates>
        </Menu>

but not idea

Is this fixed by #1891?

Still not fixed.

Afair the problem with MenuItem, ItemTemplate and HierarchicalDataTemplate in WPF is that these templates work on the content of the menu item and the Command property is a property of the container (the MenuItem) meaning that they're not that useful.
Because of this you still need a Style to bind the Command so you might as well add setters for the Items and Header properties in the style too.


Complete PyTorch alternative path

#4 added a PyTorch-based alternative for the NLP example. It'd be really helpful to have the same available for the migration challenge section, so users can choose which framework to run through with.

This was first fixed in #11 and has now been tested for the merges of #17 and #18 - so closing this issue


Won't open! Crash!!!! Helppppp

I am trying to play Minecraft with mods of course but every time I press the app it crashes
It goes from my home screen to a black screen to a white screen then its back to my home screen
Please fix this soon
My device is a Samsung Galaxy Note edge

And i downloaded the latest update from google play


Settings-Password-Admin-App - Sprint 1

Description:

Build the Screen using the style guide.
Integrate Screen with the Backend

@sheyi103 can I take this on, as it is still related to authentication

@sheyi103 and @sookwalinga I mistakenly worked on the first screen of this task so maybe I should just complete the task since I already started it


Tree explorer sample

Merging for now. Will add doc for API usage here later, if we decide to do so.


Question!

I'm 99% of the way there. I've got comments working.
I've edited my config file as follows:
staticman:
api: "https://staticman3.herokuapp.com/v3/entry/github/derykmakgill/derykmakgill.github.io/master/comments"
path: "_data/comments/:path"
But I can't figure out how to make this all work with the includes file. The hard-coding means that all comments show on all pages. How can I adapt the following code in the includes file to reference only comments on a specific page?
{% assign comments = site.data.comments.test-slug | sort %}
Also, how can I tip you to support your project?

You've got the idea in https://github.com/derykmakgill/derykmakgill.github.io/commit/c983c5316f8d349b5d310e898f3365d08651ec1b#diff-052a8f26d3152dd036184afc8d8c6581R3.  In a multi-page site, the comments is an array and it's elements has to be accessed by sth page-specific, like the page slug.
Sorry that I've left this aside for months, so I'm not sure about the syntax.  For a Jekyll example, you may refer to https://github.com/daattali/beautiful-jekyll/blob/54ca4023738b77d3b7c64f7aded7fc404f00fec7/_includes/staticman-comments.html#L6-L17.  For a Hugo one, I invite you to the original work in https://github.com/halogenica/beautifulhugo/blob/6f54c9a15985a776f68c4662f556183b1ea7170e/layouts/partials/staticman-comments.html.

Also, how can I tip you to support your project?

I'm glad of your generosity, but I don't have any ways now.  I'm just an amateur in writing codes.  Actually @eduardoboucas created Staticman, and @ntsim helped me a lot during my testing of his merged PR for native GitLab support.

Thank you! Looks like I finally figured it out.
Next up nested comments!
I appreciate your help.


Conflict with metadata menu plugin

https://github.com/mdelobelle/metadatamenu/issues/295#issue-1595524808

This issue will be closed for now, as there is a workaround, https://github.com/mdelobelle/metadatamenu/issues/295#issuecomment-1446213171


tracking Special Functions' support

This is a follow-up of #232. Right now I would be interested in LV's support of the whole erf family (erfc and erfcx in particular), but since we are at it maybe it is useful to track the whole special functions'  family:

[ ] gamma(z)	gamma function \Gamma(z)Γ(z)
[ ] loggamma(x)	accurate log(gamma(x)) for large x
[ ] logabsgamma(x)	accurate log(abs(gamma(x))) for large x
[ ] logfactorial(x)	accurate log(factorial(x)) for large x; same as loggamma(x+1) for x > 1, zero otherwise
[ ] digamma(x)	digamma function (i.e. the derivative of loggamma at x)
[ ] invdigamma(x)	invdigamma function (i.e. inverse of digamma function at x using fixed-point iteration algorithm)
[ ] trigamma(x)	trigamma function (i.e the logarithmic second derivative of gamma at x)
[ ] polygamma(m,x)	polygamma function (i.e the (m+1)-th derivative of the loggamma function at x)
[ ] gamma(a,z)	upper incomplete gamma function \Gamma(a,z)Γ(a,z)
[ ] loggamma(a,z)	accurate log(gamma(a,x)) for large arguments
[ ] gamma_inc(a,x,IND)	incomplete gamma function ratio P(a,x) and Q(a,x)
[ ] beta_inc(a,b,x,y)	incomplete beta function ratio Ix(a,b) and Iy(a,b)
[ ] gamma_inc_inv(a,p,q)	inverse of incomplete gamma function ratio P(a,x) and Q(a,x)
[ ] beta(x,y)	beta function at x,y
[ ] logbeta(x,y)	accurate log(beta(x,y)) for large x or y
[ ] logabsbeta(x,y)	accurate log(abs(beta(x,y))) for large x or y
[ ] logabsbinomial(x,y)	accurate log(abs(binomial(n,k))) for large n and k near n/2
[ ] expint(ν, z)	exponential integral
[ ] expinti(x)	exponential integral
[ ] expintx(x)	scaled exponential integral
[ ] sinint(x)	sine integral
[ ] cosint(x)	cosine integral
[x] erf(x)	: ref. #232
[ ] erf(x,y)
[ ] erfc(x)	complementary error function,
[ ] erfcinv(x)	inverse function to erfc()
[ ] erfcx(x)	scaled complementary error function
[ ] logerfc(x)	log of the complementary error function
[ ] logerfcx(x)	log of the scaled complementary error function
[ ] erfi(x)	imaginary error function defined as -i \operatorname{erf}(ix)−ierf(ix)
[ ] erfinv(x)	inverse function to erf()
[ ] dawson(x)	scaled imaginary error function, a.k.a. Dawson function,
[ ] airyai(z)	Airy Ai function at z
[ ] airyaiprime(z)	derivative of the Airy Ai function at z
[ ] airybi(z)	Airy Bi function at z
[ ] airybiprime(z)	derivative of the Airy Bi function at z
[ ] airyaix(z), airyaiprimex(z), airybix(z), airybiprimex(z)	scaled Airy Ai function and kth derivatives at z
[ ] besselj(nu,z)	Bessel function of the first kind of order nu at z
[ ] besselj0(z)	besselj(0,z)
[ ] besselj1(z)	besselj(1,z)
[ ] besseljx(nu,z)	scaled Bessel function of the first kind of order nu at z
[ ] sphericalbesselj(nu,z)	Spherical Bessel function of the first kind of order nu at z
[ ] bessely(nu,z)	Bessel function of the second kind of order nu at z
[ ] bessely0(z)	bessely(0,z)
[ ] bessely1(z)	bessely(1,z)
[ ] besselyx(nu,z)	scaled Bessel function of the second kind of order nu at z
[ ] sphericalbessely(nu,z)	Spherical Bessel function of the second kind of order nu at z
[ ] besselh(nu,k,z)	Bessel function of the third kind (a.k.a. Hankel function) of order nu at z; k must be either 1 or 2
[ ] hankelh1(nu,z)	besselh(nu, 1, z)
[ ] hankelh1x(nu,z)	scaled besselh(nu, 1, z)
[ ] hankelh2(nu,z)	besselh(nu, 2, z)
[ ] hankelh2x(nu,z)	scaled besselh(nu, 2, z)
[ ] besseli(nu,z)	modified Bessel function of the first kind of order nu at z
[ ] besselix(nu,z)	scaled modified Bessel function of the first kind of order nu at z
[ ] besselk(nu,z)	modified Bessel function of the second kind of order nu at z
[ ] besselkx(nu,z)	scaled modified Bessel function of the second kind of order nu at z
[ ] jinc(x)	scaled Bessel function of the first kind divided by x. A.k.a. sombrero or besinc
[ ] ellipk(m)	complete elliptic integral of 1st kind K(m)K(m)
[ ] ellipe(m)	complete elliptic integral of 2nd kind E(m)E(m)
[ ] eta(x)	Dirichlet eta function at x
[ ] zeta(x)	Riemann zeta function at x
[ ] binomial(n, p)

VectorizationBase.jl may be a better place for this issue, but this is fine too.
erf only gets partial credit at the moment.
If someone wants to work on it, some of these can probably be translated fairly directly from SpecialFunctions.jl to handle VectorizationBase.AbstractSIMD arguments.
Some may require functions like SLEEFPirates.cot, which could be moved to VectorizationBase.

However it isn't always possible, e.g. when implementations are broken up to behave differently depending on range, e.g. Taylor series for small values vs recurrences for large ones.
Also of interest:
https://github.com/JuliaMath/openspecfun/blob/master/Faddeeva/Faddeeva.cc
SpecialFunctions doesn't have Julia implementations for all of these yet.
I'd be happy to answer any questions that I can if you (or anyone else) wants to take a stab at it.

If for many functions it is just a matter of broadening the allowed input types, would it make sense to just have SpecialFunctions depend on VectorizationBase?

If possible, it would be helpful to add a more specific warning when one uses a special function. I came here after spending an hour before realizing that what makes me get "LoopVectorization.check_args on your inputs failed" is using logfactorial.


Getting error with some of videos

An error occurred: Optional(Error Domain=AVFoundationErrorDomain Code=-11832 "Cannot Open" UserInfo={NSUnderlyingError=0x17464aaa0 {Error Domain=NSOSStatusErrorDomain Code=-12431 "(null)"}, NSLocalizedFailureReason=This media cannot be used., NSLocalizedDescription=Cannot Open}), image is nil
fatal error: unexpectedly found nil while unwrapping an Optional value

Hi @sanjukhunt any fix to this issue?

Hello @eliot1019 yes got the issue from the pull requests.
Please refer the following instruction and it will solved crash issues.
https://github.com/matthewpalmer/Regift/pull/37/files

hello @eliot1019 did you manage to fix this?

Thank you @sanjukhunt . I tried the solution you suggested. It actually saves the gif now, even though the error still appears. Could you explain why this happens?

any update?


write int not strings for compactness, and some refactorings

move (de)serializer out of storage for simplicity, adapt init order
treat empty and non-existent storage files the same

note: contains https://github.com/ShiftLeftSecurity/overflowdb/pull/169 - review/merge that one first

two hours later...


infinite scroll stops after element is selected

I am using 4.0.0 version and I want to populate a select with data returned by an Ajax call, using infinite scrolling.
New elements are loaded each time I reach the end of the scrollbar, and everything works fine until I select an element.
After an element has been selected, if I open again the dropdown menu and I scroll to the bottom of the list, nothing happens and the load no longer starts (Ajax url is not called).
When I initialize the plugin for the first time, I add some elements in the dropDown and preselect an element automatically, but doing that does not cause the issue described above (which seems to be generated only when an element is selected manually)

This appears to be more of a usage question than a bug report or common feature request.  As we continue to keep the Select2 issue tracker geared towards these two areas, bug reports and common feature requests, we are redirecting usage questions to other communities such as the mailing list, IRC, or Stack Overflow.

This issue does not appear to conform to our contributing guidelines.
Please re-read the contributing guidelines carefully and then edit your question.  Once your issue complies with the guidelines, we can reopen it.


Fix push buttons with internal pull-up resistor

Previously, this was handled on the application (invert the value whenever its shown). This functionality was not optimal and was removed in a recent revision of how the device interface buttons work. This PR allows the device to track if a digital GPIO pin has a pull-up resistor enabled, and invert the value prior to sending it to Adafruit IO.
Resolves https://github.com/adafruit/Adafruit_Wippersnapper_Arduino/issues/284

@kattni  Could you test this on one of the boards you were having an issue with? UF2 files should be available from the GitHub runner (https://github.com/adafruit/Adafruit_Wippersnapper_Arduino/actions/runs/2665282961) under "build files".


[docs]: Added instructions for using npm to run the Docusaurus site locally

Pull Request Template
Description
This pull request adds instructions for using npm to run the Docusaurus site locally. This addition will help users who prefer to use npm over yarn, making the documentation more inclusive.
Fixes # (issue)
#2094 (https://github.com/keploy/keploy/issues/2094#event-13560375003)
Type of change
Documentation Enhancement
Please delete options that are not relevant.

[x] This change requires a documentation update.

Checklist:

[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have made corresponding changes to the documentation.
[ ] I have added corresponding tests.
[ ] Any dependent changes have been merged and published in downstream modules.

@GauriBhandari one thing can be done here. We did had a plan to migrate to npm package manager in roadmap for the docs repo, as other ui based repo also work with npm. Can you migrate the docs repo from yarn to npm.
Things that would be need update are yarn.lock file, workflows, build checks, package*.json and such with guide on how to run it locally.

okay i can , but i didn't get what exactly is needed, could you please elaborate a little ?

okay i can , but i didn't get what exactly is needed, could you please elaborate a little ?

Migration from using yarn to npm on docs website.

okay i will do it .

hii @Sonichigo , i am getting this Lint Codebase error , i have tried troubleshooting but still the error persists, could you please help ?

Hey @GauriBhandari, (Updated documentation to reflect npm migration) you can resolve the issue by rewording your commits and adding a type to the commit subject. Additionally, for one of your commits (docs: update npm migration instructions), you need to either shorten the commit body or break it into points.
Reference: https://github.com/conventional-changelog/commitlint/#what-is-commitlint

hii @Sonichigo , i am getting this Lint Codebase error , i have tried troubleshooting but still the error persists, could you please help ?

Hey @GauriBhandari, (Updated documentation to reflect npm migration) you can resolve the issue by rewording your commits and adding a type to the commit subject. Additionally, for one of your commits (docs: update npm migration instructions), you need to either shorten the commit body or break it into points.
Reference: https://github.com/conventional-changelog/commitlint/#what-is-commitlint

okay will do , thankyou

LGTM! @GauriBhandari the changes will also take place here : - https://github.com/keploy/docs?tab=readme-ov-file#installation
Once done let me know. have tested it locally worked for me.

okay i will do the necessary changes and will let you know

hi @GauriBhandari you can add issue related to this pr and pr itself here - .github/kroc'24 at main · keploy/.github and with the rest of your contributions

hi @GauriBhandari you can add issue related to this pr and pr itself here - .github/kroc'24 at main · keploy/.github and with the rest of your contributions

Sure , will do , Thankyou

Hi @Sonichigo , I've made the necessary changes to include instructions for using npm. It's been about two weeks since I last followed up, and I apologize for the delay. If you find everything in order, could you please consider merging it? Although the KRoC program has ended, I’m still happy to contribute and support the project.
Thank you!

Merging the PR! Was updating the rest to make sure those doesn't fail. Thanks for the contribution and participating in the KROC program @GauriBhandari ! We have multiple issues still available please feel free to pick them up :)


Consider wrapping text inscriptions to 80 characters

I don't think this is a good idea, since it would make super large ascii art impossible.


[pt-br] Adds docs/tasks/administer-cluster/network-policy-provider/cilium-network-policy.md

Adds docs/tasks/administer-cluster/network-policy-provider/cilium-network-policy.md

/cc @edsoncelio

/uncc yagonobre femrtnz

/cc stormqueen1990

/label tide/merge-method-squash

Hi, @stormqueen1990!
Changes committed 😄

Hi, @stormqueen1990! Changes committed 😄

Thank you very much! 🙏🏻
@edsoncelio this is good to go on my end
/lgtm
/pony salute

Thank you folks!
/approve


Add telemetry to capture use of global python interpreter

This is currently missing from telemetry

Let's also distinguish between "unknown" and "none selected"


Support for oidc provider

Looks like the shell doesn't support the oidc auth provider which can be defined in ~/.kube/config.
Error message
Error creating clientset
Error creating QueryExecutor instance: no Auth Provider found for name "oidc"
Cyphernetes Interactive Shell
Type 'exit' or press Ctrl-D to exit
Type 'help' for information on how to use the shell
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xefa8f21]

goroutine 1 [running]:
main.runShell(0xc0000b5d00?, {0xefad708?, 0x4?, 0xefad70c?})
        /Users/mishrab/Work/cyphernetes/cmd/cyphernetes/shell.go:215 +0x381
github.com/spf13/cobra.(*Command).execute(0x10274480, {0x102ac500, 0x0, 0x0})
        /Users/mishrab/go/pkg/mod/github.com/spf13/cobra@v1.8.1/command.go:989 +0xa91
github.com/spf13/cobra.(*Command).ExecuteC(0x10273ec0)
        /Users/mishrab/go/pkg/mod/github.com/spf13/cobra@v1.8.1/command.go:1117 +0x3ff
github.com/spf13/cobra.(*Command).Execute(...)
        /Users/mishrab/go/pkg/mod/github.com/spf13/cobra@v1.8.1/command.go:1041
main.Execute()
        /Users/mishrab/Work/cyphernetes/cmd/cyphernetes/root.go:23 +0x1a
main.main()
        /Users/mishrab/Work/cyphernetes/cmd/cyphernetes/main.go:7 +0xf

Possible solution
If using client-go, I think you just have to do
import _ "k8s.io/client-go/plugin/pkg/client/auth/oidc"
in pkg/parser/k8s_client.go

Resolved in the v0.11.1 release


New Azure Web App resources can't be created

re: the Build low code chat bots section

Once your knowledge base is edited, publish the knowledge base to a working Azure Web App bot without writing any code. Test your bot in the Azure portal or download it and continue development.

The Azure Bot Service no longer supports the creation of new Bot Channels Registration or Web App Bot resources. Users should create an Azure Bot resource, instead.
The link to azure.microsoft.com/services/bot-service is for the marketing site, and is probably not helpful. Perhaps some of these links would be better:

How to Use QnA Maker
Quickstart: Create an Azure Bot resource
What is the Bot Framework SDK?
Bot Framework SDK documentation landing page.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 7cb10c01-db1f-1c61-f5cd-857df2b7fbd8
Version Independent ID: 3ef184f7-6288-caec-ea33-f3d5dadd8965
Content: What is QnA Maker service? - Azure Cognitive Services
Content Source: articles/cognitive-services/QnAMaker/Overview/overview.md
Service: cognitive-services
Sub-service: qna-maker
GitHub Login: @jboback
Microsoft Alias: jboback

Thank you for your feedback! We have assigned this issue to the author to review further and take the next course of action.

#please-close


Support HTTP feature-policy for Chrome and Safari

User story
As an MDN visitor using Chrome or Safari, I want to continue to use embedded examples on MDN that use features like the camera and microphone.
References

bug 1482159
https://wicg.github.io/feature-policy/
https://goo.gl/EuHzyv - Google error page
https://github.com/WICG/feature-policy/blob/master/features.md - List of features
https://developer.mozilla.org/en-US/docs/Web/API/Media_Streams_API/Constraints#Result - A broken example

Production Pull Requests
These pull requests are required to fix production and staging:

[x] https://github.com/mozilla/kuma/pull/4956 (Allow <iframe allow=> attribute)
[x] https://github.com/mdn/kumascript/pull/786 (Set <iframe allow=> attribute), which includes

https://github.com/mdn/kumascript/pull/777 (Configure sample server URL)
https://github.com/mdn/kumascript/pull/785 (Test EmbedLiveSample)

[x] https://github.com/mdn/infra/pull/46 (Configure sample server URL)

Development Pull Requests
These related pull requests are required to fix development:

[x] https://github.com/mozilla/kuma/pull/4940 (Refactor iframe allow list)
[x] https://github.com/mozilla/kuma/pull/4950 (SSL configuration)
[x] https://github.com/mozilla/kuma/pull/4951 (Configure sample server URL)
[x] https://github.com/mozilla/kuma/pull/4952 (Refactor content cleaning)
[x] https://github.com/mozilla/kuma/pull/4953 (Disable iframe filtering, or extend patterns)

Acceptance criteria

[x] Extent of issue is understood
[x] Embedded example works on Chrome in staging
[x] Embedded example works on Safari in staging
[x] Embedded example works on Firefox in staging
[x] Embedded example works on Chrome in production
[x] Embedded example works on Safari in production
[x] Embedded example works on Firefox in production
[x] Additional PRs are merged and deployed

Thanks to @escattone for reviews.


Possible typo in cloudflare_certificate_pack example

I suspect that it should be "lets_encrypt" instead of "lets_encrypot".

Cheers!


Snuba, Glara and Tallor Label function generators

In your paper you mention that Label Functions are critical to the overall performance of a WS system. Have you implemented this automated label function generators to compare these approaches to other approaches of creating Labeling functions automatically?

Hey @devashish-khatwani
We do have implementations of our own labeling func generators in WRENCH, but we do not implement and compare them with other approaches because our generators are for studying the effect of labeling func. Thus, we could use all the ground truth labels to generate different types of LFs, while Snuba, Glara, and Tallor are all practical systems that aim for the real use cases where we would like to automate the generation of labeling func with still limited labeled data.


Error starting Netflix plugin

I'm submitting a ...

[x] support request

General infomration
Prerequisites

[x] Are you running the latest version?

Description
Since a few weeks Netflix does not load anymore on my Raspberry Pi 3
Steps to Reproduce

Open Netflix
Click on the profile (the correct list appears)

Expected behavior: [What you expected to happen]
List of categories appears
Actual behavior: [What actually happened]
Error message to check logs
Context (Environment)
Installation

[x] I´m using the Netflix Repo

Operating System

[x] Linux (ARM)

Additional informatin on the environment
Tested with several LibreElec releases. Current release:
#0708, 08-Jul-2019
But tested it with several June releases too.
Debug log
Here's the log when clicking a profile:
http://sprunge.us/RAJiyG

You're not running the latest version (it's 0.13.23). I had the same issue and installed the zip from the releases instead from the repo and the error disappeared.

You were right, downloaded it manually and it worked fine. Where should we post bug reports about the repo? Why wasn't the repo updated or doesn't it work from the repo?

using the johtru repo btw... website seems down? Repo is mentioned in install instructions and used to work fine :)
https://github.com/asciidisco/plugin.video.netflix#installation--updates

Thanks I was having the same problem, downloaded the latest direct from here and it fixed it.
https://github.com/asciidisco/plugin.video.netflix/archive/0.13.23.zip


structureCheck.py not working for RNA

I'm trying to evaluate secondary structor of RNA sequences with rna1995 (as defined in the NUPACK user guide http://www.nupack.org/downloads/serve_public_file/nupack_user_guide_3.1.pdf?type=pdf).
 python structureCheck.py -f my.bed -F 13 -s 780 -T 50 -R -m rna1995
However, I'm getting the error
Traceback (most recent call last):
  File "/mnt/home/stephen.williams/Apps/OligoMiner/structureCheck.py", line 552, in <module>
    main()
  File "/mnt/home/stephen.williams/Apps/OligoMiner/structureCheck.py", line 544, in main
    startTime,
  File "/mnt/home/stephen.williams/Apps/OligoMiner/structureCheck.py", line 384, in runStructureChecker
    sc.run()
  File "/mnt/home/stephen.williams/Apps/OligoMiner/structureCheck.py", line 154, in run
    p = self.prob_check(probeSeq, struct_in)
  File "/mnt/home/stephen.williams/Apps/OligoMiner/structureCheck.py", line 124, in prob_check
    prob_val = float(p.stdout.readlines()[14])
ValueError: could not convert string to float: % Magnesium concentration: 0.0000 M

I assume structureCheck.py is trying to convert -m rna1995 to a float.
Thanks for your advice on how to move forward.

Thanks for bringing this to our attention. It looks like the cause of this issue was that NUPACK adds this warning message to its output when run in RNA mode:
% ************************************************************************  %
% WARNING: No salt corrections availabe for RNA.  Using 1 M Na and 0 M Mg.  %
% ************************************************************************  %

and so the resulting prob value was not on the line of stdout where the python code was expecting to find it.
I've updated the stdout parsing logic so that it finds the prob value and also alerts the user to this caveat about salt corrections being ignored in RNA mode.
Let me know if you run into any other issues!

Thanks for bringing this to our attention. It looks like the cause of this issue was that NUPACK adds this warning message to its output when run in RNA mode:
% ************************************************************************  %
% WARNING: No salt corrections availabe for RNA.  Using 1 M Na and 0 M Mg.  %
% ************************************************************************  %

and so the resulting prob value was not on the line of stdout where the python code was expecting to find it.
I've updated the stdout parsing logic so that it finds the prob value and also alerts the user to this caveat about salt corrections being ignored in RNA mode.
Let me know if you run into any other issues!

Thanks you @conorcamplisson!

Thanks you @conorcamplisson!


Add alternative elevation provider

Because Google Maps is not free, and the monthly 200$ budget does not even cover fetching node elevations for one big city, I looked for alternative REST-style APIs that provide elevation data.
Airmap (https://developers.airmap.com/docs/elevation-api) weirdly seems to be free, permanent and without quotas.
I was able to add node elevation for three different network types (walk, bike, drive) for multiple cities without running into limitations. The biggest network was >80.000 nodes and fetching elevation data in batches of 1000 took less than two minutes.
I am happy to prepare a pull request with the minor changes necessary to the elevation module such that one can use something like a provider=Airmap function parameter (defaulting to Google Maps?) when calling add_node_elevations.
Note though, that the elevation resolution is not as good as with GMaps (elevation is in integer meters). The spatial resolution seems to be similar to SRTM30m datasets. A limitation is that the elevation dataset "is limited to latitudes from 56ºS to 60ºN" (another hint at SRTM30m).
These limitations, however seem like a fair trade-off for everyone that willingly uses the alternative provider.

Thanks @janiksudo. I'm potentially open to reviewing a PR for this if the code changes are relatively simple. Rather than a new provider parameter, I'd suggest adding elevation_api_endpoint to the settings module and utils.config function, similar to how custom nominatim API endpoints are handled.
One note:

the monthly 200$ budget does not even cover fetching node elevations for one big city

You can attach elevations to 16 million nodes per month given the free allowance. A big city like New York's urban area has on the order of 250,000 nodes, if you are working with a simplified graph.
So, given a $200 monthly free allowance (equating to 40,000 API calls), the 8192 URL character limit, and max_locations_per_batch=400, I have attached the node elevations to every node in the entire US. With $600 (i.e., spread the free allowance across either 3 months or 3 API keys) I have attached all the node elevations for every urban area worldwide in the global human settlements layer.

given a $200 monthly free allowance (equating to 40,000 API calls), the 8192 URL character limit, and max_locations_per_batch=400

Something new every day... Thanks for making me look again at the cost structure of the Maps API - I was assuming 0.005$ per single Elevation Point. (facepalm)
I will still prepare a small pull request because I think the option of a completely free provider next to GMaps is useful.


JupyterLab dependency incorrectly specified

I think there is a mistake with specifying JupyterLab as a dependency incorrectly.
When I install jupyterlab-code-formatter = "==2.2.1" with juypterlab = "==3.1.13" using pipenv, I receive no warning at all, that these versions are not compatible. In fact, I see JupyterLab being wrongly specified here https://github.com/ryantam626/jupyterlab_code_formatter/blob/4b68e0c4ee45b1a4c985bbd8d6ebc1a138e2cc82/pyproject.toml#L40, while JupyterLab itself tells me, that jupyterlab-code-formatter at version 2.2.1 is incompatible, when I run jupyter labextension list:
<EMAIL_ADDRESS>is not compatible with the current JupyterLab
Conflicting Dependencies:
JupyterLab                  Extension       Package
>=3.1.12 <3.2.0             >=3.6.0 <4.0.0||>=4.0.0 <4.1.0@jupyterlab/application
>=3.1.12 <3.2.0             >=3.6.0 <4.0.0||>=4.0.0 <4.1.0@jupyterlab/fileeditor
>=3.1.12 <3.2.0             >=3.6.0 <4.0.0||>=4.0.0 <4.1.0@jupyterlab/mainmenu
>=3.1.12 <3.2.0             >=3.6.0 <4.0.0||>=4.0.0 <4.1.0@jupyterlab/settingregistry

This package should specify its dependency properly, so that users notice this mismatch in dependencies as early as possible, which is when installing the Python package from PyPI.
Now I also cannot easily figure out, which version of jupyterlab-code-formatter I have to use instead, because I first have to create a complete setup, install the extension etc. and then run jupyter labextension list again, to find out, whether I installed a compatible version.

Closing as fixed by https://github.com/jupyterlab-contrib/jupyterlab_code_formatter/pull/346 (released in v3.0.0).


Add persistence layer in the application

We need to add a data persistence library in the application.
We should have a discussion over which one to add
I recommend DBFlow, it's quite fast, easy to work with and plays nice with RxJava

Yeah. DBFlow seems good. And it is well documented.

@iamareebjamal What's the progress on this? I think this should be done part-wise in sub issues. Please create sub issues for the same if possible.

The progress can be seen here https://github.com/iamareebjamal/open-event-orga-app/tree/dbflow
Was a little busy between reviewing samples and fixing some crucial bugs in Open Event Android
The problem I was facing was in creating one to many relation. I know the solution but the approach is giving issues. I don't want app to be refactored again and again, so focusing on best principle here
About sub-issues, yeah that's the point, but first, at least the event should be persisted. Then, for next parts, I'll create sub-issues


When hiding color bar the color bar slider remains visible

Commit: higlass.io
Steps to reproduce

Show colorbar
Hide colorbar

Observed behavior

Expected behavior

Colorbar should hide too

Fixed in 0.8.35.


Added missing header commands in the package.json

This PR fixes #14 - it adds missing header command contribs to the package.josn file.
I did not include icons for headers, because:

I'm sooooo terrible with images :D
That would add 6 buttons to the toolbar by default, and that's actually quite a few :)

Nah, this doesn't strike me as something that needs a dedicated icon. Thanks!


Calculkation with too much points

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.
[X] Refer to the FAQ.
[X] Refer to Differences between Windows PowerShell 5.1 and PowerShell.

Steps to reproduce
For example typing in
14.7 + 78.98.8
or
87.548.74 + 98.7 + 78.98.8
or
87.548.74 + 98.7 + 78.98.8 + 78.7
Expected behavior
An errer message, like typing in
14.7 + a

Actual behavior
There comes no error. The number with too much points is only ignored.
Problematical, if you add a list of number as have mistyped.

Error details
The problem is, that no error comes

Environment data
Name                           Value
----                           -----
PSVersion                      7.4.0-preview.1
PSEdition                      Core
GitCommitId                    7.4.0-preview.1
OS                             Microsoft Windows 10.0.19043
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Visuals
Visuals are not needed, but Github wants it.

14.7 + 78.98.8 is equivalent to 14.7 + $null, and the $null is treated like 0, so the result is the LHS value (14.7)
The problem is that .8 is treated as an attempt o access a property named 8 on the [double] value 78.98, and - given that there is no such property - $null is returned by default.
If you want to prevent such malformed number literals, use Set-StrictMode -Version 2 or higher, which causes a (statement-terminating) error on any attempt to access a nonexistent property.
# -> ERROR: "PropertyNotFoundException: The property '8' cannot be found on this object. Verify that the property exists."
& { Set-StrictMode -Version 2; 14.7 + 78.98.8 }


Add badges

Note that the version badge also includes prerelease version, as we have no stable releases for now. This should be changed later to display only stable releases.

Thanks @alexesprit   👍 🙂


Page Title is Get-CsOnlineUser

Super minor feedback, the page title for this page is Get-CsOnlineUser. I believe that page must have been used as a template at some stage, because both this page and the page for Get-CsOnlineVoiceRoutingPolicy have "Get-CsOnlineUser" as a title in the web browser.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 33f5162e-0e2d-6e12-046b-ac209e0a43e6
Version Independent ID: 43cbbe7b-d4d4-a0d9-f096-2e1f87f9860b
Content: Get-CsOnlineVoiceRoute (skype)
Content Source: skype/skype-ps/skype/Get-CsOnlineVoiceRoute.md
Service: skypeforbusiness-powershell
GitHub Login: @tomkau
Microsoft Alias: tomkau

@officedocsbot assign @yogkumgit

Thanks for noticing @VladimirGluten47  , created the pr that fixes it.

@tomkau Please merge this PR #4826 Thanks

@get-itips  Thank you very much for the contribution and updating the documentation with PR. @VladimirGluten47 Hope this update is helpful for you. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


ci(travis): fixes issue where travis fails to get codacy dependency.

ISSUES CLOSED: #90

Codecov Report

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

@@            Coverage Diff            @@
##             master     #110   +/-   ##
=========================================
  Coverage     47.09%   47.09%
  Complexity      901      901
=========================================
  Files            58       58
  Lines          9747     9747
  Branches       1593     1593
=========================================
  Hits           4590     4590
  Misses         4691     4691
  Partials        466      466