Inline install instructions setup

Just adding the cli commands in setup if that makes it clear

Typo babel-preset-2015 => babel-preset-es2015. Also, I don't think we should be encouraging people to npm install babel-preset-es2015 -- they should at least be using the options to save it as a dep (though I never do that -- I just edit package.json).

Cool thanks for the catch haha

np. Hopefully people can figure out for themselves if they need --save|--save-dev.

Yeah hard to say but I assume most of the time people would do --save-dev. If they are making a library/dependency on it then they should know --save. Otherwise I would just do npm i babel-preset-es2015 -D haha


Cursor blips to end of editor for last two "groups" of queries

Describe the bug
When trying to click any text in the last two groups of queries in the left pane editor, the editing cursor will move to the end of the editor. This is only an issue in the desktop app, the web app is fine
To Reproduce
Steps to reproduce the behavior:

Open Surrealist (desktop app)
Paste the following snippet in the left pane editor:

-- Fine here

-- Also fine

-- But when trying to select text from the whiteline above (line 4), and then anything below that

-- The cursor will always end up at the end of this line

Try to select text as described by the comments
If this does not trigger the bug, try zooming in/out first, then back to the normal 100%. I have a feeling this might be related to #78.

Expected behavior
I would expect to be able to select any text I want throughout the whole editor.
Environment (you can view the current version under Settings):

Operating System [e.g. Windows]: macOS
Surrealist Version [e.g. 1.2.0]: 13.4.1 (Ventura)
SurrealDB Version [execute "surreal version"]: 1.0.0-beta.9+20230723.432a6cc for macos on aarch64

Fixed in the next release


Update ip-address-allow-list.md

Add a trouble shooting section to show how to configure tenant IP address access settings.

This pull request has been mentioned on SailPoint Developer Community. There might be relevant details there:
https://developer.sailpoint.com/discuss/t/enhancement-new-guide-for-implementing-an-ip-address-allow-list/20095/5


Fix layout for collection view with non-zero content inset.

All looks good. Just tried it out. Thanks for the contribution, @v-deriglazov!


Addroutes

Description:
feat(pkg/trafficpolicy): add routes to outbound traffic policy

adds AddRoute method + test to outbound traffic policy
part of #2034
Please mark with X for applicable areas.

-->
Affected area:

New Functionality      [ ]
Documentation          [ ]
Install                [ ]
Control Plane          [ ]
CLI Tool               [ ]
Certificate Management [ ]
Networking             [ ]
Metrics                [ ]
SMI Policy             [ ]
Security               [ ]
Tests                  [ ]
CI System              [ ]
Performance            [ ]
Other                  [ ]

Please answer the following questions with yes/no.

Does this change contain code from or inspired by another project? If so, did you notify the maintainers and provide attribution?

Codecov Report

Merging #2150 (ecc19a6) into main (e66668d) will increase coverage by 0.15%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #2150      +/-   ##
==========================================
+ Coverage   57.79%   57.94%   +0.15%
==========================================
  Files         144      145       +1
  Lines        6023     6047      +24
==========================================
+ Hits         3481     3504      +23
- Misses       2539     2540       +1
  Partials        3        3

Impacted Files
Coverage Δ

pkg/trafficpolicy/trafficpolicy.go
100.00% <100.00%> (ø)

pkg/envoy/route/config.go
95.23% <0.00%> (-0.80%)
:arrow_down:

Continue to review full report at Codecov.

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


Add EOD and TISH to the launcher

Want it done, do it yourself, as usual.
Adding EOD and TISH fork downloads to the launcher.
Fixes #93
Fixes #108
Tested the changes by successfully downloading EOD via the launcher and then launching it.
Note: text for Czech, French, Spanish, Turkish, Polish and Chinese were obtained by translating via a Google translator and may be incorrect, as I do not know any of those languages. Pointing out possible mistakes would be appreciated.

Hey mate, thanks for the PR! I'm new to using GitHub so I don't know if I can make a PR on a PR, but I fixed a few issues: like the broken "View Experimental Changelog" for EOD & TISH and installing TISH (Since they changed their naming for files). So I hope you're alright with me making a PR myself to help any other impatient people like me that can't wait for Catapult to update!

Hey mate, thanks for the PR! I'm new to using GitHub so I don't know if I can make a PR on a PR, but I fixed a few issues: like the broken "View Experimental Changelog" for EOD & TISH and installing TISH (Since they changed their naming for files). So I hope you're alright with me making a PR myself to help any other impatient people like me that can't wait for Catapult to update!

Noted, thanks for help.

Is anyone still working on this?

Suppressed by #148


Add model class and id to RecordNotFound error

Added model class and id attributes to ActiveHash::RecordNotFound error for some situations that need more specific handling, like ActiveRecord::RecordNotFound.

Looks like this is the same as #207
closing as a duplicate


Docs: minor ReadMe update, to use version 2 instead of 1

This PR updates ReadMe installation instruction for both packages to use version ^2.0.0 instead of one.

Codecov Report

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

@@           Coverage Diff           @@
##           master     #362   +/-   ##
=======================================
  Coverage   58.55%   58.55%
=======================================
  Files          32       32
  Lines        1274     1274
=======================================
  Hits          746      746
  Misses        528      528

Flag
Coverage Δ

#graphql_client
59.29% <ø> (ø)
:arrow_up:

#graphql_flutter
29.03% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

:tada: This PR is included in version 2.1.0-beta.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

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


Support custom model manager

Due this line there is no support for custom manager, which many not be an objects-named field, e.g. in situations like this:
class CitySlug(models.Model):
    ...
    slug_manager = CitySlugManager()

If this a bug, please provide more info. If this is a feature request, please provide more info or a PR.


fix dex bindings LO tests

Fix expected error for missing limit orders

https://github.com/neutron-org/neutron-tests/actions/runs/11297191183


About the pass value problem

The value of pagination and the value of sorting, I need to pass the value on my own, but there seems to be no in the API, what's the solution

Yes, there is. It's here.
If you're using Vuetable-2, you can go through the following tutorial to get yourself familiar with Vuetable-2 as well.

How does CurrentPage = 5 deliver it to the server

See here.


Add storage version info

Implement storage version info

When starting database, the catalog will check whether the storage version number stored in the file matches the one in the current build. If not, an exception will be thrown.
When writing catalog to disk, we also save the storage version number to the header of the catalog file.

Could we separate the storage version and the database version into two vars? Maybe it would be useful to upgrade the database version while maintaining the old storage version if it does not change?

Could we separate the storage version and the database version into two vars? Maybe it would be useful to upgrade the database version while maintaining the old storage version if it does not change?

One way to solve this might be to put multiple project versions pointing to the same storage version inside StorageVersionInfo.


Update layout to include an image for each section.

Make sure section image gets some bootstrap love for mobile


Update styling of nav

This PR adds a bunch of styling work of today.
Started out intending to do the navigation, but worked rolled over into the profile page.

Still struggling with getting the settings modal to pop up when the dropdown menu is activated. Or well, have it work properly and not close as soon as I try to do anything in the settings modal. To be continued...

If opening the modal from the dropdown is proving to be too troublesome, we could also add a gear icon to the menu bar and have it open from there.


Simple: Add epoch and slot to 'coda client status'

Current beginning of 'coda client status' looks like this.
Coda Daemon Status
-----------------------------------
Number of Accounts:       18
Block Count:              106
Uptime:                   63501s

I am able to poll current epoch and slot on the proposer log files:
"message":"systime:<PHONE_NUMBER>000, epoch-slot@systime: 127-2, starttime@epoch@systime:<PHONE_NUMBER>000"

But I can only get this on the proposer.
Ideally any node in the cluster ought to be able to report the current epoch and slot in client status.
Example:
Coda Daemon Status
-----------------------------------
Number of Accounts:       18
Block Count:              106
Uptime:                   63501s
Epoch:                    127
Slot:                     2

This would be extremely helpful in debugging test net synchronization and status.

done


zerodiff

normas, tolko diff ne rabotaet :(

Draftable response: {"detail":"Your trial has expired. If you want to extend your trial to continue testing Draftable's capabilities, please get in touch with<EMAIL_ADDRESS>Ыыыыыыы


C# code to check if string is pallindrome

Wrote C# code to check if entered string is palindrome or not as a solution to this issue: #321

@Kanhakhatri065 , could you please add the hacktoberfest topic to the repo to help other hacktoberfest participants and also hacktoberfest-accepted to this PR? Or is there an eligibility criteria?


Fix constraint type issue

Fixes https://github.com/Azure/azure-sdk-for-go/issues/13604

Hi @jhendrixMSFT could you please take a look at this PR?


Reform 2.0rc2: ActiveSupport NameError

I think it has something to do with line:
https://github.com/apotonick/reform/blob/v2.0.0.rc2/lib/reform/contract.rb#L60
After I included Reform 2.0rc2 in my Gemfile, this error started popping up. After a bit of digging, I found out this error was being thrown in the ActiveSupport 4.2.3 gem, in lib/active_support/dependencies.rb, line 610.
    # Determine if the given constant has been automatically loaded.
    def autoloaded?(desc)
      return false if desc.is_a?(Module) && desc.anonymous?
      name = to_constant_name desc  # desc == Reform::Form::ActiveModel::Validations::Validator
      return false unless qualified_const_defined? name
      return autoloaded_constants.include?(name)
    end

     # line number 664
     def to_constant_name(desc) #:nodoc:
       case desc
         when String then desc.sub(/^::/, '')
         when Symbol then desc.to_s
         when Module
           desc.name ||   # desc.name == 'ba'
             raise(ArgumentError, "Anonymous modules have no name to be referenced by")
         else raise TypeError, "Not a valid constant descriptor: #{desc.inspect}"
       end
     end

Here's the full stack trace:
NameError - wrong constant name ba:
  activesupport (4.2.3) lib/active_support/core_ext/module/qualified_const.rb:30:in `block in qualified_const_defined?'
  activesupport (4.2.3) lib/active_support/core_ext/module/qualified_const.rb:29:in `qualified_const_defined?'
  activesupport (4.2.3) lib/active_support/dependencies.rb:376:in `qualified_const_defined?'
  activesupport (4.2.3) lib/active_support/dependencies.rb:610:in `autoloaded?'
  activesupport (4.2.3) lib/active_support/descendants_tracker.rb:21:in `block in clear'
  activesupport (4.2.3) lib/active_support/descendants_tracker.rb:20:in `clear'
  railties (4.2.3) lib/rails/application/finisher.rb:89:in `block (2 levels) in <module:Finisher>'
  activesupport (4.2.3) lib/active_support/file_update_checker.rb:75:in `execute'
  railties (4.2.3) lib/rails/application/finisher.rb:105:in `block (2 levels) in <module:Finisher>'
  activesupport (4.2.3) lib/active_support/callbacks.rb:444:in `block in make_lambda'
  activesupport (4.2.3) lib/active_support/callbacks.rb:190:in `block in simple'
  activesupport (4.2.3) lib/active_support/callbacks.rb:502:in `block in call'
  activesupport (4.2.3) lib/active_support/callbacks.rb:502:in `call'
  activesupport (4.2.3) lib/active_support/callbacks.rb:88:in `run_callbacks'
  actionpack (4.2.3) lib/action_dispatch/middleware/reloader.rb:83:in `prepare!'
  actionpack (4.2.3) lib/action_dispatch/middleware/reloader.rb:71:in `call'
  actionpack (4.2.3) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
  better_errors (2.1.1) lib/better_errors/middleware.rb:84:in `protected_app_call'
  better_errors (2.1.1) lib/better_errors/middleware.rb:79:in `better_errors_call'
  better_errors (2.1.1) lib/better_errors/middleware.rb:57:in `call'
  rack-contrib (1.3.0) lib/rack/contrib/response_headers.rb:17:in `call'
  meta_request (0.3.4) lib/meta_request/middlewares/headers.rb:16:in `call'
  actionpack (4.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
  web-console (2.1.3) lib/web_console/middleware.rb:37:in `call'
  actionpack (4.2.3) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
  railties (4.2.3) lib/rails/rack/logger.rb:38:in `call_app'
  railties (4.2.3) lib/rails/rack/logger.rb:20:in `block in call'
  activesupport (4.2.3) lib/active_support/tagged_logging.rb:68:in `block in tagged'
  activesupport (4.2.3) lib/active_support/tagged_logging.rb:26:in `tagged'
  activesupport (4.2.3) lib/active_support/tagged_logging.rb:68:in `tagged'
  railties (4.2.3) lib/rails/rack/logger.rb:20:in `call'
  quiet_assets (1.1.0) lib/quiet_assets.rb:27:in `call_with_quiet_assets'
  request_store (1.1.0) lib/request_store/middleware.rb:8:in `call'
  actionpack (4.2.3) lib/action_dispatch/middleware/request_id.rb:21:in `call'
  rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
  rack (1.6.4) lib/rack/runtime.rb:18:in `call'
  activesupport (4.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
  rack (1.6.4) lib/rack/lock.rb:17:in `call'
  actionpack (4.2.3) lib/action_dispatch/middleware/static.rb:116:in `call'
  rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
  railties (4.2.3) lib/rails/engine.rb:518:in `call'
  railties (4.2.3) lib/rails/application.rb:165:in `call'
  rack (1.6.4) lib/rack/content_length.rb:15:in `call'
  thin (1.5.1) lib/thin/connection.rb:81:in `block in pre_process'
  thin (1.5.1) lib/thin/connection.rb:79:in `pre_process'
  thin (1.5.1) lib/thin/connection.rb:54:in `process'
  thin (1.5.1) lib/thin/connection.rb:39:in `receive_data'
  eventmachine (1.0.5) lib/eventmachine.rb:187:in `run'
  thin (1.5.1) lib/thin/backends/base.rb:63:in `start'
  thin (1.5.1) lib/thin/server.rb:159:in `start'
  rack (1.6.4) lib/rack/handler/thin.rb:19:in `run'
  rack (1.6.4) lib/rack/server.rb:286:in `start'
  railties (4.2.3) lib/rails/commands/server.rb:80:in `start'
  railties (4.2.3) lib/rails/commands/commands_tasks.rb:80:in `block in server'
  railties (4.2.3) lib/rails/commands/commands_tasks.rb:75:in `server'
  railties (4.2.3) lib/rails/commands/commands_tasks.rb:39:in `run_command!'
  railties (4.2.3) lib/rails/commands.rb:17:in `<top (required)>'
  bin/rails:4:in `<main>'

Aaah, I had this problem, too, and I think I know where it comes from.

@KurtRMueller Please test the master branch. It's a problem we had years ago, ActiveModel::Naming is everywhere and requires every class to has a name, otherwise autoloading breaks - it's horrible.
Please note that I will drop ActiveModel::Validations in favour of Lotus::Validations in the next half year. AM will still work, but I don't want to support this dependency madness anymore.


Skip installing isort when running the "lint" tox environment

isort is not a dependency to install & run flake8. Use the skip_install configuration option for a slightly faster build.
For details on skip_install, see:
https://tox.readthedocs.io/en/latest/config.html#confval-skip_install=BOOL

+1


Unsafe encryption scheme

Contrary to the readme.md this scheme is not safe and not unbreakable.

Applying a Base64-encoding before applying the Viginere cipher still leave the scheme vulnerable to attacks on the viginere-cipher as Base64 carries patterns into the encoded text. For example, if you encode the array [0, 0, 0, ...., 0] you'll get "AAAAA ... AAAA". While it's probable that it's harder to leverage typical pattern's used in human languages, I'm still reasonable confident that one would still be able to find an attack.
You suggest using a key that's longer than the message. This would in fact defeat all traditional attacks on the viginere-cipher as it turns into a One-Time-Pad which CAN be optimally secure, under the conditions that each key is uniformly random AND each key is only used once. As the key provided by the user it's safe to assume that neither one are met thus making it insecure.
It is not secure under the known-plaintext threat model. Let's assume that Alice uses your encryption scheme and send's the message "Send 10 Dollars to Bob" to her Bank but Eve intercept's it. Luckily for Eve, she also knows that Alice was about to send 10 Dollars to Bob so she can guess the plaintext. Now she can Base64-encode "Send 10 Dollars to Bob" and take the difference to the ciphertext and she now knows the key. She can even encrypt "Send 99 Dollars to Eve" using Alice key which obviously is not wanted.

So how does one fix this?
Firstly, one should notify everyone using this that this encryption is in-fact not secure. Secondly, one should use a widely adopted implementation of a widely adopted and well researched cipher like AES-GCM.

@Vinc0682 yes totally agree. The wording is not appropriate. When I made this ultra lightweight library, I had more in mind to obsfucate or make it harder to decipher than plain text. But I agree with you on every on your point. This code is not secure. I'm going to change the README. Thanks for again for pointing this out.

Done: https://github.com/philipperemy/easy-encryption/commit/35b34493d443688d234fbd0136ef9495d749f5db


fix(k8s): ensure PodSecurityPolicies are not checked for version >= 1.25

Description
Fixes a bug where PodSecurityPolicies were being queried for Kubernetes version greater than or equal to 1.25.
Motivation and Context
Resolves #47
Acknowledgment
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.

@bryantbiggs Please review at your earliest convenience


Outdated Library

Steps to Reproduce
add the following dependencies to pubspec.yaml:
image_picker: 0.1.1
google_sign_in: 0.3.1
firebase_analytics: 0.0.4
firebase_auth: 0.2.0
firebase_database: 0.0.12
firebase_storage: 0.0.5
How to fix
This is fixed if you change the image_picker dependency to ^0.3.0
It would help people if you change the dependencies added to pubspec.yaml in step five to:
image_picker: ^0.3.0
google_sign_in: 0.3.1
firebase_analytics: 0.0.4
firebase_auth: 0.2.0
firebase_database: 0.0.12
firebase_storage: 0.0.5

Can you elaborate on which codelab this refers to?


[AutoPR databricks/resource-manager] Databricks Python configuration

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/5670

This PR has been merged into https://github.com/Azure/azure-sdk-for-python/pull/4878

(message created by the CI based on PR content)

Codecov Report

Merging #4876 into restapi_auto_databricks/resource-manager will decrease coverage by 3.95%.
The diff coverage is n/a.

@@                             Coverage Diff                              @@
##           restapi_auto_databricks/resource-manager    #4876      +/-   ##
============================================================================
- Coverage                                     53.25%   49.29%   -3.96%
============================================================================
  Files                                         10679     6396    -4283
  Lines                                        223836   179362   -44474
============================================================================
- Hits                                         119200    88421   -30779
+ Misses                                       104636    90941   -13695

Impacted Files
Coverage Δ

...afactory/azure/mgmt/datafactory/models/__init__.py
50.67% <0%> (-49.33%)
:arrow_down:

...ights/azure/applicationinsights/models/__init__.py
51% <0%> (-49%)
:arrow_down:

...e/cognitiveservices/vision/face/models/__init__.py
51.08% <0%> (-48.92%)
:arrow_down:

...services/language/textanalytics/models/__init__.py
51.16% <0%> (-48.84%)
:arrow_down:

...iveservices/search/entitysearch/models/__init__.py
51.25% <0%> (-48.75%)
:arrow_down:

azure-eventgrid/azure/eventgrid/models/__init__.py
51.25% <0%> (-48.75%)
:arrow_down:

...ration/azure/mgmt/datamigration/models/__init__.py
51.27% <0%> (-48.73%)
:arrow_down:

...ure/mgmt/recoveryservicesbackup/models/__init__.py
51.46% <0%> (-48.54%)
:arrow_down:

...ce/azure/mgmt/containerinstance/models/__init__.py
51.8% <0%> (-48.2%)
:arrow_down:

...tiveservices/search/videosearch/models/__init__.py
52.08% <0%> (-47.92%)
:arrow_down:

... and 4368 more

Continue to review full report at Codecov.

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


datepicker-days not shown on creation

Behavior
When the datepicker is shown, the days are not shown because of bootstrap-editable.css file, which i can't remove.
Context
It worked the last time i tried it because we weren't on npm and didn't have the latest versions. I dived deep into your code and saw that with Jquery latest version (3.2.1), the shown() method called in your setViewMode sets the display property to "" which is overritten by bootstrap-editable to none.
Datepicker version used
1.7.1
Example code
https://jsfiddle.net/g0j4uxox/1/

If anyone has the problem, I solved it by passing JQuery to 2.2.4
But this is still a huge problem for this library.
If it could be fixed to use the latest JQuery version, that would help a lot of people.


feat: auto use image path

Images are imported automatically.
docs: https://github.com/sampullman/vite-plugin-vue-images


Move timesheet and worklogs to employee-specific graph

A group public-all-employees is used so kimai-service can keep access to all the graphs.

Looking at this from a distance, I think this will work as long as we don't have too many users (sadly, I don't know the number where it will fail).  Some naming improvements may help a first read.
As the amount of graphs grows, we'll select from more of them which makes the triplestore slow.  Further, having too many mu-auth-allowed-groups could make the header too long.  An ideal solution would collect the data from the users and populate a graph for Kimai to consume.  We should be prepared to quickly use sudo-queries instead when the problem would appear.  Looking at the sync service that should be feasible on late notice so that's ok for me at this point.
I was a bit confused by the name of the new group, so I may rename that so it's easier to read.  There's also some spurious spaces in the query which don't hurt.


Research Collaborative Playlist Feature

[x] Which Spotify API Endpoints can be used?
[x] What would be workflow or sequence of event?
[x] Create a Sequence Diagram
[ ] What would be the Database design?
[ ] What would be the System and Component Design?
[ ] What would be the UI Design?

https://docs.google.com/document/d/1atZbMwLIWJh1yW9_AIsSB4nlWAsy_FXf-Psu2nkYVIY/edit


lnd exits w/ error due to comment on config line for tlsextradomain

Background
lnd crashes due to tldextradomain, when trailing comment on same line.
Your environment

version of lnd
b8fecfca71507643e2ba3cc32b65c9de87790597
which operating system (uname -a on *Nix)
4.15.0-1-ARCH (Archlinux)
version of btcd, bitcoind, or other backend
bitcoind
any other relevant environment details

Steps to reproduce
Add any address to tlsextradomain + trailing comment ; grpc and let lnd regenerate the certs.
Expected behaviour
Generate certs including subject alternative name for a domain + comment on the same line.
Start lnd with new certs.
Actual behaviour
Generate certs including subject alternative name. (works)
Lnd crashed due to x509: cannot parse dnsName "oiieptz4dyimxtgh.onion ; grpc"

Not the onion address, but the comment at the end of line.

I wouldn't call this a crash, more like: exit with an error.
Why are you adding a trailing comment? What do you mean by "trailing comment"?
What's the full error returned?

If you properly specify a domain (nothing else), does this command work as you expect?

The idea was to add more context to the configuration details.
Config line:
example.com ; grpc
The only error resulting in the exit:
x509: cannot parse dnsName "example.com ; grpc"
Without the comment it works without the exit.

I see, I don't think this is actually an issue then. The format (of the config file) specifies that comments should only be the first thing on the line, not afterwards.


#778

Types of changes
Thanks for sending a pull request! Please fill in the following content to let us know better about this change.
Please put an x in the box that applies

[ ] Bugfix
[x] New feature
[ ] Refactoring
[ ] Breaking change (any change that would cause existing functionality to not work as expected)
[ ] Documentation Update
[ ] Other (please describe)

Description
Describe what the change is
You don't need to explain HOW you change the code. Your code, including comments in the code should explicitly
self-describe enough about how you change the code.
modified:   src/proposals/admin.py
modified:   src/proposals/resources.py
Steps to Test This Pull Request
Steps to reproduce the behavior:

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

Expected behavior
A clear and concise description of what you expected to happen.
在後台(admin site)新增export 出各種格式檔案
Related Issue
If applicable, refernce to the issue related to this pull request.
More Information
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here. You may also want to refer
to how to wirte the perfect pull request

Codecov Report

Merging #1092 (c62becb) into master (32a024e) will increase coverage by 0.06%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #1092      +/-   ##
==========================================
+ Coverage   69.44%   69.51%   +0.06%
==========================================
  Files          82       82
  Lines        3342     3349       +7
==========================================
+ Hits         2321     2328       +7
  Misses       1021     1021

Impacted Files
Coverage Δ

src/proposals/admin.py
100.00% <100.00%> (ø)

src/proposals/resources.py
62.96% <100.00%> (+5.51%)
:arrow_up:

Continue to review full report at Codecov.

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

@mattwang44  麻煩你了


Firefox/rc/0.23.0 - #46 Port to FireFox?

Hi @sylouuu
Here is a release candidate for a Firefox compatible version of this module.
As Firefox has done its transition to WebExtensions, it is now mostly compatible with chrome extensions. (They even declared the chrome.* namespace to make the transition easier)
I made the needed adjustment and the extension is now fully functional on both browser.
The only functionality that I had to change was the contextual menu shortcut and I tried to improve it on the way.
Mitigation:

Only tested on last browsers version (Chrome 64 & Firefox 58)
No idea of the full process of publishing an extension on Firefox. I followed the guideline to generate a signed version but I don't really want to take all the credit and publish it under my name. How do you want to proceed?

Waiting for your feedback
Have a good night

Hey @clfer
You have worked hard on the Firefox port. The result is pretty nice, I noticed few things:

After selecting manifest.json in FF to try the extension, I can see a warning "Reading manifest: Error processing background.persistent: Event pages are not currently supported. This will run as a persistent background page."
The export rules feature in the settings page does not work (try it)
When I check the console from the Options page I can see:

Content Security Policy: Les paramètres de la page ont empêché le chargement d’une ressource à self (« script-src moz-extension://9af7b228-6819-3546-b8d6-41bdc6443034 https://ajax.googleapis.com https://www.google-analytics.com »). Source: call to eval() or related function blocked by CSP.
angular.js:1124:20
Erreur d’analyse XML : mal formé
Emplacement : file:///Users/syl/Sites/perso/chrome-tab-modifier/dist/html/tab_rules.html
Numéro de ligne 3, Colonne 110 :
tab_rules.html:3:110
Erreur d’analyse XML : erreur de syntaxe
Emplacement : file:///Users/syl/Sites/perso/chrome-tab-modifier/dist/js/icons.min.json
Numéro de ligne 1, Colonne 1 :

Otherwise the core features are OK!
Best

Thanks for the feedbacks
I will take a look at the point that you mentioned and come back to you.
Of what i understand, the first one is just a warning of an ignored key: background.persistent is not yet supported by Firefox while it is used in Chrome
I will check the other one later
Have a good day

To add on the background.persistent warning, ABP has the same message:

I think it must be OK like this

@sylouuu I can't reproduce the 2 other bugs.
What Firefox/Chrome version are you using for the tests?
Is there anything particular about the rules you are trying to export?

Hi @clfer,
The entire code base has been rewritten. If this is still needed, can you contribute again? Tab Modifier 1.0 is now available!
Feel free to open a new PR,
Bests


Retrieve MSVC version from cl.exe

This PR lets the ctest script retrieve the MSVC version from cl.exe instead of by compiling ./cmake/msvc_version.c, which has been deleted in #290.

I see the MSVC version strings appearing in cdash :)

You know CMake has CMAKE_CXX_COMPILER_VERSION, right? :-)

You know CMake has CMAKE_CXX_COMPILER_VERSION, right? :-)

Yes, but does it have that variable in the dashboard client script for ctest? ;-D

Yeah, I forgot that I actually detect this information using cmake --system-information in veccore/cmake/TestVecCore.cmake... We can copy that piece of code for Vc's test.cmake.

I would prefer my simple fix for this PR. But we can sure consider simplifying test.cmake a lot by copying from veccore in a subsequent PR.


feat: add resolver

Thank you for sending a pull request :heart:
Checklist
Please review the guidelines for contributing code to this repository. And check [x] all the boxes that apply:

[x] This request pulls a feature/bugfix branch (right side) from my fork. Not my master.
[x] This request pulls against ockam-network/ockam’s develop branch (left side).
[x] Build succeeds ./build with no linter warnings or test failures.
[x] All code matched our code formatting conventions.
[x] Commit messages match our conventions and all commits
are signed.
[ ] This request includes tests and documentation for all new code.

Proposed Changes
Adds driver for universal resolver.

@carlosflrs Thank you for sending this 🎉.
Suggested some minor changes above ... also while you're at it, could you also add your name to the Contributors list in the README (in alphabetical order). Cheers

@carlosflrs this looks almost ready to merge, could you squash all the commits to one commit with comment feat: add resolver.

Thank you again @carlosflrs ❤
This is now stale given the multi language refactor.


[Feature request]: Artifact CRUD operations & visualization

Contact details
No response
Is your feature request related to a problem? Please describe
No response
Describe the solution you'd like
Artifact page

[x] Upload artifacts
[x] List uploaded artifacts

Dry-runs

[ ] #150

Describe alternatives you've considered
No response
Additional context
Artifacts are now uploaded directly for a given dry-run and connected to a specific input for a workflow.
It would be nice to be able to upload artifacts separately to the artifact storage, then be able to select from artifacts in the artifact storage when setting up a dry-run.

user can now upload artifacts, browse and delete.

This update lead to lots of changes due to compatibility problems with older version of svelte and skeletonlabs (v1). This might become problematic when merging! But things are looking good on this branch now!

The challenges of updating to v2 (skeletonlabs and svelte) has been tackled. Everything seem to be working properly on this branch now.
Next step is to merge main into this branch before merging this branch to main.


Any command like 'Gtags -g fool' to search global symbols in LSP?

with gtags, I can search symbols by: Gtags -g/-d/-r fool， to do string/definition/reference search
with lsp, I can jump by gD and see definition by gd, see reference by gh, see declaration by K,
is there any command to do global symbol search ?

:Telescope live_grep

great!! is there any key mapping to live_grep?

<leader>fw

where to set the  key?

https://github.com/ayamir/nvimdots/blob/81301772a302a9ea6fe50f2161a15e5787d8cf27/lua/core/init.lua#L73

How can I specify the search range?
I find that search in root directory, generates more results than search in a file (open one of the search result)
search in empty nvim:

search in one of result file:

Yes, but you can utilize <leader>fz to change the work directory.
Of course, you can comment this line to cancel this feature:
https://github.com/ayamir/nvimdots/blob/6dcc221f70418efbcf6e62d4ec91aca1dbe098fa/lua/core/event.lua#L37

How can I specify the search range?

Additionally, I introduced this feature at this commit: 6dcc221f70418efbcf6e62d4ec91aca1dbe098fa

it works!

Yes, but you can utilize <leader>fz to change the work directory. Of course, you can comment this line to cancel this feature:
https://github.com/ayamir/nvimdots/blob/6dcc221f70418efbcf6e62d4ec91aca1dbe098fa/lua/core/event.lua#L37

how can I apply this patch? and how to use this feature?

How can I specify the search range?

Additionally, I introduced this feature at this commit: 6dcc221

ok, I will try..

Did you install zoxide and init it for your shell? 6dcc221#commitcomment-92368616 I think you can do some research before you ask me.

Sorry, I am a beginner of neovim with lua, and I find there is very little material about this topic.
Is there any cook book to introduce all these plugins in nvim?

Current not, it's a good idea but it takes time.


NativeStorage gets cleared when I clear the cookie

I am clearing the cookie using $.removeCookie(). after doing this the NativeStorage also gets cleared. Is anything wrong to clear cookie?

@jafarbtech What platform are you using?

I am using android
,
--
♥~WITH REGARDS~♥
♥~JAFAR SATHIK~♥
On Tue, Dec 5, 2017 at 8:17 AM, Alok Rajiv<EMAIL_ADDRESS>wrote:

@jafarbtech https://github.com/jafarbtech What platform are you using?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/TheCocoaProject/cordova-plugin-nativestorage/issues/99#issuecomment-349177982,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AOdHO19_j86eJtM7oLIGVYf7E4EP1B3Xks5s9K7CgaJpZM4QHEaF
.

Closing due to inactivity. Please let us know if anyone has seen this error and we could definetly re-open!


Could not compile project to html5

Hi! I'm studying haxe and I wanted to try some game/app engines to see which one I feel more comfortable with.
Just installed flambe and all its dependencies, but I came upon these errors, when building a blank project while targeting html5 (as described in the install guide):

Building: build/web
haxe -main urgame.Main -lib flambe -cp src -dce full -debug --no-opt --no-inline -D html -D js-es5 -
D js-flatten --macro flambe.platform.ManifestBuilder.use("build/web/assets") -D source-map-content -
js build/web/targets/main-html.js
C:\Aplicativos\Desenvolvimento\HaxeToolkit\haxe\lib/flambe/4,1,0/flambe/platform/html/CanvasTextureRoot.hx:44: characters 28-32 : Array should be haxe.io.BytesData
C:\Aplicativos\Desenvolvimento\HaxeToolkit\haxe\lib/flambe/4,1,0/flambe/platform/html/CanvasTextureRoot.hx:44: characters 28-32 : Array should be js.html.ArrayBuffer
C:\Aplicativos\Desenvolvimento\HaxeToolkit\haxe\lib/flambe/4,1,0/flambe/platform/html/CanvasTextureRoot.hx:44: characters 28-32 : For function argument 'b'
C:\Aplicativos\Desenvolvimento\HaxeToolkit\haxe\lib/flambe/4,1,0/flambe/platform/html/CanvasTextureRoot.hx:39: lines 39-45 : Missing return haxe.io.Bytes
C:\Aplicativos\Desenvolvimento\HaxeToolkit\haxe\lib/flambe/4,1,0/flambe/platform/html/HtmlAssetPackLoader.hx:364: characters 16-38 : String should be js.html.XMLHttpRequestResponseType
C:\Aplicativos\Desenvolvimento\HaxeToolkit\haxe\lib/flambe/4,1,0/flambe/platform/html/HtmlAssetPackLoader.hx:367: characters 12-37 : String should be js.html.XMLHttpRequestResponseType
C:\Aplicativos\Desenvolvimento\HaxeToolkit\haxe\lib/flambe/4,1,0/flambe/platform/html/HtmlAssetPackLoader.hx:368: characters 16-42 : String should be js.html.XMLHttpRequestResponseType
C:\Aplicativos\Desenvolvimento\HaxeToolkit\haxe\lib/flambe/4,1,0/flambe/platform/html/HtmlAssetPackLoader.hx:205: characters 12-43 : String should be js.html.XMLHttpRequestResponseType
C:\Aplicativos\Desenvolvimento\HaxeToolkit\haxe\lib/flambe/4,1,0/flambe/platform/html/HtmlExternal.hx:37: characters 42-48 : js.html.Window should be haxe.Function
C:\Aplicativos\Desenvolvimento\HaxeToolkit\haxe\lib/flambe/4,1,0/flambe/platform/html/HtmlExternal.hx:37: characters 42-48 : For function argument 'func'
C:\Aplicativos\Desenvolvimento\HaxeToolkit\haxe\lib/flambe/4,1,0/flambe/platform/html/HtmlExternal.hx:25: lines 25-38 : Missing return Dynamic

Maybe I didn't install it properly? :sweat_smile: Anyone knows what's happening here?
Thanks. :smile:

Well, you have installed the newest Haxe version (3.2)
To be compatible with Haxe 3.2, apply this patch: https://github.com/aduros/flambe/commit/ec084011873cf16635f4e2a77cc0d2dc6c58625d
It is already in this repository, but not released (yet).

Oh, thanks for the answer! :smile: And yup, just updated Haxe and all other libraries.
Updated the files, I also had to update "HtmlExternal.hx" besides the ones you've mentioned. It worked like a charm!
Time to study Haxe a bit harder now! :sweat_smile:
Thanks again!

Make sure you read the flambe guide https://github.com/markknol/flambe-guide/wiki

Already diggin' through! :sweat_drops:
Thanks. :wink:

What's the fix for HtmlExternal.hx?

nvm, found it! https://github.com/aduros/flambe/commit/c2f3e025186aa776e21ea98c9f0e59b4e15c8ad7

Hi I'm very new to this flambe stuff and I having the same problem with yuigoto.
I just wanna ask how to apply the fix that markknol stated, I dont know how to apply the patch.
I've watched the video tutorial about the installation and I did everything from that video.
Please help me how to apply the patch into flambe.
Thanks!


Error in extract github issues

Describe the bug

Currently the code in main branch for bulk load breaks with following error
To Reproduce
Re-run this (https://clmkpsyfc000301kcjie00t1l.astronomer.run/d5lc9c9x/dags/ask_astro_load_bulk/grid?dag_run_id=manual__2023-12-21T09%3A13%3A54.897767%2B00%3A00&task_id=extract_github_issues&tab=mapped_tasks&map_index=0)  in this deployment
Error
<IP_ADDRESS>
*** Found remote logs:
***   * gs://airflow-logs-clhtfbbpu009y01qyfd0gw0fl/clqeypgpd1212521uzzp5lc9c9x/dag_id=ask_astro_load_bulk/run_id=manual__2023-12-21T09:13:54.897767+00:00/task_id=extract_github_issues/map_index=0/attempt=8.log
***   * gs://airflow-logs-clhtfbbpu009y01qyfd0gw0fl/clqeypgpd1212521uzzp5lc9c9x/dag_id=ask_astro_load_bulk/run_id=manual__2023-12-21T09:13:54.897767+00:00/task_id=extract_github_issues/map_index=0/attempt=8.log.SchedulerJob.log
/usr/local/lib/python3.11/site-packages/airflow/utils/log/file_task_handler.py:215: ResourceWarning: unclosed file <_io.TextIOWrapper name='/usr/local/airflow/logs/dag_id=ask_astro_load_bulk/run_id=manual__2023-12-21T09:13:54.897767+00:00/task_id=extract_github_issues/map_index=0/attempt=8.log' mode='a' encoding='utf-8'>
  self.handler = NonCachingFileHandler(local_loc, encoding="utf-8")
[2023-12-21, 09:23:46 UTC] {taskinstance.py:1957} INFO - Dependencies all met for dep_context=non-requeueable deps ti=<TaskInstance: ask_astro_load_bulk.extract_github_issues manual__2023-12-21T09:13:54.897767+00:00 map_index=0 [queued]>
[2023-12-21, 09:23:46 UTC] {taskinstance.py:1957} INFO - Dependencies all met for dep_context=requeueable deps ti=<TaskInstance: ask_astro_load_bulk.extract_github_issues manual__2023-12-21T09:13:54.897767+00:00 map_index=0 [queued]>
[2023-12-21, 09:23:46 UTC] {taskinstance.py:2171} INFO - Starting attempt 8 of 8
[2023-12-21, 09:23:46 UTC] {taskinstance.py:2192} INFO - Executing <Mapped(_PythonDecoratedOperator): extract_github_issues> on 2023-12-21 09:13:54.897767+00:00
[2023-12-21, 09:23:47 UTC] {standard_task_runner.py:60} INFO - Started process 1974 to run task
[2023-12-21, 09:23:47 UTC] {standard_task_runner.py:87} INFO - Running: ['airflow', 'tasks', 'run', 'ask_astro_load_bulk', 'extract_github_issues', 'manual__2023-12-21T09:13:54.897767+00:00', '--job-id', '39', '--raw', '--subdir', 'DAGS_FOLDER/ingestion/ask-astro-load.py', '--cfg-path', '/tmp/tmpbynxhmk7', '--map-index', '0']
[2023-12-21, 09:23:47 UTC] {standard_task_runner.py:88} INFO - Job 39: Subtask extract_github_issues
[2023-12-21, 09:23:47 UTC] {task_command.py:423} INFO - Running <TaskInstance: ask_astro_load_bulk.extract_github_issues manual__2023-12-21T09:13:54.897767+00:00 map_index=0 [running]> on host <IP_ADDRESS>
[2023-12-21, 09:23:47 UTC] {taskinstance.py:2481} INFO - Exporting env vars: AIRFLOW_CTX_DAG_OWNER='airflow' AIRFLOW_CTX_DAG_ID='ask_astro_load_bulk' AIRFLOW_CTX_TASK_ID='extract_github_issues' AIRFLOW_CTX_EXECUTION_DATE='2023-12-21T09:13:54.897767+00:00' AIRFLOW_CTX_TRY_NUMBER='8' AIRFLOW_CTX_DAG_RUN_ID='manual__2023-12-21T09:13:54.897767+00:00'
[2023-12-21, 09:23:48 UTC] {python.py:201} INFO - Done. Returned value was:                    docSource  ...                                         docLink
0      apache/airflow/issues  ...  https://github.com/apache/airflow/issues/36335
1      apache/airflow/issues  ...    https://github.com/apache/airflow/pull/36333
2      apache/airflow/issues  ...    https://github.com/apache/airflow/pull/36332
3      apache/airflow/issues  ...    https://github.com/apache/airflow/pull/36331
4      apache/airflow/issues  ...    https://github.com/apache/airflow/pull/36330
...                      ...  ...                                             ...
32512  apache/airflow/issues  ...        https://github.com/apache/airflow/pull/5
32513  apache/airflow/issues  ...      https://github.com/apache/airflow/issues/4
32514  apache/airflow/issues  ...      https://github.com/apache/airflow/issues/3
32515  apache/airflow/issues  ...        https://github.com/apache/airflow/pull/2
32516  apache/airflow/issues  ...        https://github.com/apache/airflow/pull/1
[32517 rows x 4 columns]
[2023-12-21, 09:23:48 UTC] {warnings.py:109} WARNING - /usr/local/lib/python3.11/site-packages/pyarrow/pandas_compat.py:373: DeprecationWarning: is_sparse is deprecated and will be removed in a future version. Check `isinstance(dtype, pd.SparseDtype)` instead.
  if _pandas_api.is_sparse(col):
[2023-12-21, 09:23:52 UTC] {local_task_job_runner.py:234} INFO - Task exited with return code -9
[2023-12-21, 09:23:55 UTC] {gcs_task_handler.py:158} INFO - Error checking for previous log; if exists, may be overwritten: 'NoneType' object has no attribute 'decode'
[2023-12-21, 09:23:58 UTC] {task_context_logger.py:104} ERROR - Detected zombie job: {'full_filepath': '/usr/local/airflow/dags/ingestion/ask-astro-load.py', 'processor_subdir': '/usr/local/airflow/dags', 'msg': "{'DAG Id': 'ask_astro_load_bulk', 'Task Id': 'extract_github_issues', 'Run Id': 'manual__2023-12-21T09:13:54.897767+00:00', 'Map Index': 0, 'Hostname': '<IP_ADDRESS>', 'External Executor Id': '690b174b-2251-46fa-a25c-0d662f836fc1'}", 'simple_task_instance': <airflow.models.taskinstance.SimpleTaskInstance object at 0x7fe931a54fd0>, 'is_failure_callback': True} (See https://airflow.apache.org/docs/apache-airflow/stable/core-concepts/tasks.html#zombie-undead-tasks)
[2023-12-21, 09:24:01 UTC] {gcs_task_handler.py:158} INFO - Error checking for previous log; if exists, may be overwritten: 'NoneType' object has no attribute 'decode'

Expected behavior

The DAG should run fine in main

IF you check the log it saying
ERROR - Detected zombie job: {'full_filepath': '/usr/local/airflow/dags/ingestion/ask-astro-load.py', 'processor_subdir': '/usr/local/airflow/dags', 'msg': "{'DAG Id': 'ask_astro_load_bulk', 'Task Id': 'extract_github_issues', 'Run Id': 'manual__2023-12-21T09:13:54.897767+00:00', 'Map Index': 0, 'Hostname': '<IP_ADDRESS>', 'External Executor Id': '690b174b-2251-46fa-a25c-0d662f836fc1'}", 'simple_task_instance': <airflow.models.taskinstance.SimpleTaskInstance object at 0x7fe931a54fd0>, 'is_failure_callback': True} (See https://airflow.apache.org/docs/apache-airflow/stable/core-concepts/tasks.html#zombie-undead-tasks)

Detected zombie job it means the worker dies before marking the task success or failing.
Will take a look

I even think so but why is it happening always? If so we should create a ticket in astro

My initial hypothesis is that the issue might be related to a small worker size, but further investigation is still needed.

@sunank200 tried in clean env but not able to reproduce  As mention in above comment maybe small worker could be reason meanwhile I have added a cutoff date for GitHub issue extraction can you try to use this patch in your env?

May not be related to ask-astro


Define dependency convergence checking using the maven-enforcer-plugin

It would be great to have this set up, so that our dependencies could be kept clean.
This will also involve cleaning up any currently existing diamond dependencies.
For more details on how this can be done, check here.

Implemented by @sanket407.


Transportation: Push during down to when. Rename at to between. Drop reason.

Description
Brief description of the business purpose and effect of the pull request.
This pull request includes three changes to affecting the transportation schema:

The reason property of prohibited transitions is dropped. This is because the reason for a prohibited transition is that it's prohibited; and that the other members of the reason enumeration are physical inhibitors that will be covered by the upcoming inhibitors design.
The at property used for geometric range scoping is renamed to between, and the documentation is updated to explain that at is used for single-point scoping whereas between is used for ranges.
The during property used for temporal scoping is pushed down into the when clause on rules that support temporal scoping. This is to unblock the implementation of the "except" proposal.

Reference
List of relevant links to GitHub issues, PRs, and other documentation.

FIXED: https://github.com/OvertureMaps/tf-transportation/issues/112
IMPLEMENTED: https://github.com/OvertureMaps/tf-transportation/issues/98
IMPLEMENTED: https://github.com/OvertureMaps/tf-transportation/issues/110
UNBLOCKED:  https://github.com/OvertureMaps/tf-transportation/issues/111
COMPANION PR WITH COMBOBULATION CHANGES: https://github.com/OvertureMaps/tf-transportation/pull/165

Testing
Brief description of the testing done for this change showing why you are confident it works as expected and does not introduce regressions. Provide sample output data where appropriate.
Updated existing examples and counterexamples.
Checklist
Checklist of tasks commonly-associated with schema pull requests. Please review the relevant checklists and ensure you do all the tasks that are required for the change you made.

[ ] Add relevant examples.
[ ] Add relevant counterexamples.
[x] Update in-schema documentation using plain English written in complete sentences, if an update is required.
[ ] Update Docusaurus documentation, if an update is required.
[ ] Review change with Overture technical writer to ensure any advanced documentation needs will be taken care of, unless the change is trivial and would not affect the documentation.

Documentation Website
Update the hyperlink below to put the pull request number in.
Docs preview for this PR.

Tagging @jwass, @jenningsanderson, and @DavidKarlas from Schema Task Force because one effect of this PR is that it slightly changes the names schema because, in rules objects, the property formerly known as "at" is renamed to "between". This means admins, base, buildings, divisions, and places themes need to update their Parquet schema definition.


Create example for ketcher-standalone with separate indigo wasm file

Background
Since we implemented new loading approach - we have to provide example how to turn that feature on
Solution
Create one more example

No test cases needed for that particular ticket


Keep interactions even if outside NEST validity

Instead of removing the interaction, keep it and just give the warning.
I find the "Remove interaction" much more dangerous than using a yield model that is not completely validated by data from NEST. The function can return values also for energies much above the validity range, and seems to give reasonable results.
Instead, removing interactions can result into tricky results if the analyst is not fully aware of the possibility.
Here attached the model validity and the results of  nc.GetYields() for energy ranges outside the validity ( 3MeV for gamma and beta, 200keV for NR).

Just to make it extra clear:

the smooth solid lines are the output of nestpy.PhotonYield() and nestpy.ElectronYield(), they give NaN outside the validity range.
the lines that oscillate more are the output of nc.GetYields().getQuanta() - that is what is used in the plugin, and gives values also outside the validity range.

The functions that define the yields model come from here in NEST.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

1 of 2 (50.0%)  changed or added relevant lines in 1 file are covered.
28 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.08%) to 78.396%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

fuse/plugins/micro_physics/yields.py
1
2
50.0%

Files with Coverage Reduction
New Missed Lines
%

fuse/plugins/micro_physics/yields.py
28
76.43%

Totals

Change from base Build<PHONE_NUMBER>:
0.08%

Covered Lines:
2326

Relevant Lines:
2967

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.08%) to 78.396%

Totals

Change from base Build<PHONE_NUMBER>:
0.08%

Covered Lines:
2326

Relevant Lines:
2967

💛  - Coveralls

Ohh and one more thing: Can you bump the plugin version?

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.08%) to 78.449%

Totals

Change from base Build<PHONE_NUMBER>:
0.08%

Covered Lines:
2337

Relevant Lines:
2979

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.02%) to 80.532%

Totals

Change from base Build<PHONE_NUMBER>:
-0.02%

Covered Lines:
2602

Relevant Lines:
3231

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.02%) to 80.532%

Totals

Change from base Build<PHONE_NUMBER>:
-0.02%

Covered Lines:
2602

Relevant Lines:
3231

💛  - Coveralls


OpenMM masses snapshot feature

Currently, the RandomVelocities snapshot modifier can't be used with OpenMM, because we don't have a standard way of accessing masses. After this PR, both OpenMM snapshots and toy snapshots will have a .masses property, which should return the right thing.
There's a bit of strangeness on the OpenMM side because we try to get the mass from the OpenMM system object, and use the topology as a fall-back. This is a result of having different engines (e.g., the OpenMM FileEngine) create these snapshots. If the mass stored in system does not match the topology, things could get weird.

[x] Draft OpenMM masses
[x] Tests for OpenMM masses
[x] Update RandomVelocities modifier to use snap.masses
[x] Test RandomVelocities with both OpenMM and Toy engines
[x] Add nosetest to show that running a step works after randomizing velocities

Passes tests, ready for review! At this point, the committor analysis should also work with OpenMM -- previously, it failed because we didn't have an easy way to get the masses.
This also adds some commented-out strip_units functions. Not sure if we want these or not, but I put them in for now. I had a lot of frustration over the fact that OpenMM (simtk.unit) doesn't actually treat amu as a true unit of mass. It is mass/mole. This is why the masses feature that I wrote gives you the option of masses_per_mole or just masses. I assume that when someone asks for snapshot.masses as part of a calculation (e.g., to set the velocities according to the Boltzmann distribution), they want the actual mass, so masses returns the actual mass. This differs from OpenMM, where masses returns mass/mole. (I expect OpenMM does that so that energy units come out as energy/mole, which is useful, but it does make other calculations annoying and incompatible with the way other engines would work.)

I had a lot of frustration over the fact that OpenMM (simtk.unit) doesn't actually treat amu as a true unit of mass. It is mass/mole. This is why the masses feature that I wrote gives you the option of masses_per_mole or just masses. I assume that when someone asks for snapshot.masses as part of a calculation (e.g., to set the velocities according to the Boltzmann distribution), they want the actual mass, so masses returns the actual mass. This differs from OpenMM, where masses returns mass/mole. (I expect OpenMM does that so that energy units come out as energy/mole, which is useful, but it does make other calculations annoying and incompatible with the way other engines would work.)

I'm confused at the problem here. Isn't this confusion rectified simply by using an appropriate value for the Boltzmann constant or the ideal gas constant? For example, if you use
from simtk import unit
# Define appropriate form of Boltzmann constant
kB = unit.BOLTZMANN_CONSTANT_kB * unit.AVOGADRO_CONSTANT_NA
# These things work fine for sampling from the Maxwell-Boltzmann distribution when masses are in amu
kT = kB * temperature
beta = 1.0 / kT

This is a really common idiom when using OpenMM. It seems a bit silly to go crazy with strip_units functions just because particle masses are defined in amu

This is a really common idiom when using OpenMM. It seems a bit silly to go crazy with strip_units functions just because particle masses are defined in amu

Current implementation doesn't include strip_units -- they're commented out.
The problem is that if you write, as I did, a function that requires mass to be in units of actual mass, OpenMM doesn't work. So what I did do differently is to say that snapshot.masses always returns actual mass. This specific case dealt with $k_B$, but I could have just as easily been looking at something based on momentum (say I wanted to look use this in some quantum dynamics approach, where classical approximations of operators are typically based on momenta). In that case, redefining $k_B$ gives me nothing.
snapshot.masses_per_mole returns the standard OpenMM masses in per-mole units.

Looks good. Does that mean we can implement the two-way shooting now?

Two-way requires a bit more than this, but two-way + this PR should make "aimless shooting" pretty easy.
Two-way is on my list of upcoming "modules" to implement, hopefully to be officially recognized by my grant. I'm hoping that we'll have things in place so that "aimless" can be implemented at the ESDW in Austria.


Feature request: no authorities claim

omit the authorities  claim in client credential if empty parameter is requests this

I think this change makes sense. My biggest concern is that this changes the contents of the JWT... making this a breaking change if some app were relying on the token in it's original state.
I'm generally hesitant to introduce a breaking change. Could this behavior be made opt in?
@tylerschultz I wonder if you have any insights into whether developers rely on the authorities claim.

the authorities is something which is not in standard, so I would like to omit it at all, but this change is not breaking any defaults . I also had the fear to break any existing scenarios .
Therefore if a client wants create a JWT with a limited amount of scopes then this can be done with "sope=" parameter and now with an empty "authorities" parameter, see
https://github.com/cloudfoundry/uaa/pull/1309/files#diff-dd300954bc1371593f35fdf828def3c3R239
The filtering of authorities is a feature I dont see as wanted, but simply omit authorities because a oauth client rely on scope claim

I don't have a good sense for whether the authorities claim is commonly used. Seems vestigial, and seemingly any spec compliant library would not action upon the value.
I curious to know what the motivation is for removing the claim? Tidiness? Is its presence causing problems?

The PR is because we have customers with concerns that the private data in client_credential token is stored even if a token was limited with a scope parameter.
So the scenario is a client credential flow with extra parameter scope e.g. scim.read. As result you receive a JWT only with scope scim.read, but with all authorities.
We see 2 concerns.
a) size. if a client has a hugh number of authorities a JWT will always be hugh even with the limit.
b) if a requestor wants to hide all potential authorities of a JWT that cannot be done with only scope parameter, therefore this PR

@strehle It might have been clear what I meant by "breaking change".  I meant that because the claim has been present in the JWT, it has been available for apps to consume. Taking it away could break any application that was processing that claim.
Generally, the motivations for the change make sense. What I want to know is if the change can be introduced in a way that won't break applications which might have been relying on the claim being present.

@shamus  with that approach the client can decide to omit the authorities, similar with the scope parameter to limit the scopes in the parameter.
Another solution could be to add it in oauth_client_details as attribute, but then it is not that flexible.
If you have another way to add this feature, I will be happy too. The result should be that there is a possiblility to omit the authorities claim because the security argument is somehow valid. All possible authorities are exposed even if an owner of a client does not want that.


Can't connect with bimmer_connected  using Python

Describe the issue
I can't connect with bimmer_connected using Python3:
It was working before.
<EMAIL_ADDRESS>password='yyyyyyyyyy'
vin='zzzzzzzzzzzzz'

france=bimmer_connected.country_selector.Regions(2)

account=bimmer_connected.account.ConnectedDriveAccount(username,password,france,None,5)

Expected behavior
I want to connect
Which Home Assistant version are you using?
I'm using Python3
What was the last working version of Home Assistant Core?
No response
What is your region?
Rest of world
ConnectedDrive website

[X] I can still successfully login to the BMW ConnectedDrive website and the car status is available there.
[X] I have ConnectedDrive enabled for my vehicle.

Number of cars

[ ] I have 2 or more cars linked to the ConnectedDrive account.
[ ] I have a Mini vehicle linked to my account.

Output of bimmer_connected fingerprint
DEBUG:bimmer_connected.account:Getting vehicle list
DEBUG:bimmer_connected.account:Authenticating against GCDM.
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): customer.bmwgroup.com:443
ERROR:bimmer_connected.account:HTTPSConnectionPool(host='customer.bmwgroup.com', port=443): Max retries exceeded with url: /gcdm/oauth/authenticate (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1123)')))
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 699, in urlopen
    httplib_response = self._make_request(
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 1012, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 411, in connect
    self.sock = ssl_wrap_socket(
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 449, in ssl_wrap_socket
    ssl_sock = _ssl_wrap_socket_impl(
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 493, in _ssl_wrap_socket_impl
    return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3.9/ssl.py", line 500, in wrap_socket
    return self.sslsocket_class._create(
  File "/usr/lib/python3.9/ssl.py", line 1040, in _create
    self.do_handshake()
  File "/usr/lib/python3.9/ssl.py", line 1309, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLEOFError: EOF occurred in violation of protocol (_ssl.c:1123)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 439, in send
    resp = conn.urlopen(
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 755, in urlopen
    retries = retries.increment(
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='customer.bmwgroup.com', port=443): Max retries exceeded with url: /gcdm/oauth/authenticate (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1123)')))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/venus/.local/lib/python3.9/site-packages/bimmer_connected/account.py", line 114, in _get_oauth_token
    response = oauth_session.post(
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='customer.bmwgroup.com', port=443): Max retries exceeded with url: /gcdm/oauth/authenticate (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1123)')))
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 699, in urlopen
    httplib_response = self._make_request(
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 1012, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 411, in connect
    self.sock = ssl_wrap_socket(
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 449, in ssl_wrap_socket
    ssl_sock = _ssl_wrap_socket_impl(
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 493, in _ssl_wrap_socket_impl
    return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3.9/ssl.py", line 500, in wrap_socket
    return self.sslsocket_class._create(
  File "/usr/lib/python3.9/ssl.py", line 1040, in _create
    self.do_handshake()
  File "/usr/lib/python3.9/ssl.py", line 1309, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLEOFError: EOF occurred in violation of protocol (_ssl.c:1123)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 439, in send
    resp = conn.urlopen(
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 755, in urlopen
    retries = retries.increment(
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='customer.bmwgroup.com', port=443): Max retries exceeded with url: /gcdm/oauth/authenticate (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1123)')))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/bin/bimmerconnected", line 8, in <module>
    sys.exit(main())
  File "/home/venus/.local/lib/python3.9/site-packages/bimmer_connected/cli.py", line 240, in main
    args.func(args)
  File "/home/venus/.local/lib/python3.9/site-packages/bimmer_connected/cli.py", line 115, in fingerprint
    account = ConnectedDriveAccount(args.username, args.password, get_region_from_name(args.region),
  File "/home/venus/.local/lib/python3.9/site-packages/bimmer_connected/account.py", line 69, in __init__
    self._get_vehicles()
  File "/home/venus/.local/lib/python3.9/site-packages/bimmer_connected/account.py", line 319, in _get_vehicles
    self._get_oauth_token()
  File "/home/venus/.local/lib/python3.9/site-packages/bimmer_connected/account.py", line 174, in _get_oauth_token
    raise ex
  File "/home/venus/.local/lib/python3.9/site-packages/bimmer_connected/account.py", line 114, in _get_oauth_token
    response = oauth_session.post(
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='customer.bmwgroup.com', port=443): Max retries exceeded with url: /gcdm/oauth/authenticate (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1123)')))

Anything in the logs that might be useful for us?
Here is the output when I want to connect with Python using account command :
account=bimmer_connected.account.ConnectedDriveAccount(username,password,france,None,5)

HTTPSConnectionPool(host='customer.bmwgroup.com', port=443): Max retries exceeded with url: /gcdm/oauth/authenticate (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1123)')))
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 699, in urlopen
    httplib_response = self._make_request(
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 1012, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 411, in connect
    self.sock = ssl_wrap_socket(
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 449, in ssl_wrap_socket
    ssl_sock = _ssl_wrap_socket_impl(
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 493, in _ssl_wrap_socket_impl
    return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3.9/ssl.py", line 500, in wrap_socket
    return self.sslsocket_class._create(
  File "/usr/lib/python3.9/ssl.py", line 1040, in _create
    self.do_handshake()
  File "/usr/lib/python3.9/ssl.py", line 1309, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLEOFError: EOF occurred in violation of protocol (_ssl.c:1123)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 439, in send
    resp = conn.urlopen(
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 755, in urlopen
    retries = retries.increment(
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='customer.bmwgroup.com', port=443): Max retries exceeded with url: /gcdm/oauth/authenticate (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1123)')))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/venus/.local/lib/python3.9/site-packages/bimmer_connected/account.py", line 114, in _get_oauth_token
    response = oauth_session.post(
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='customer.bmwgroup.com', port=443): Max retries exceeded with url: /gcdm/oauth/authenticate (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1123)')))
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 699, in urlopen
    httplib_response = self._make_request(
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 1012, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 411, in connect
    self.sock = ssl_wrap_socket(
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 449, in ssl_wrap_socket
    ssl_sock = _ssl_wrap_socket_impl(
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 493, in _ssl_wrap_socket_impl
    return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3.9/ssl.py", line 500, in wrap_socket
    return self.sslsocket_class._create(
  File "/usr/lib/python3.9/ssl.py", line 1040, in _create
    self.do_handshake()
  File "/usr/lib/python3.9/ssl.py", line 1309, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLEOFError: EOF occurred in violation of protocol (_ssl.c:1123)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 439, in send
    resp = conn.urlopen(
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 755, in urlopen
    retries = retries.increment(
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='customer.bmwgroup.com', port=443): Max retries exceeded with url: /gcdm/oauth/authenticate (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1123)')))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/venus/.local/lib/python3.9/site-packages/bimmer_connected/account.py", line 69, in __init__
    self._get_vehicles()
  File "/home/venus/.local/lib/python3.9/site-packages/bimmer_connected/account.py", line 319, in _get_vehicles
    self._get_oauth_token()
  File "/home/venus/.local/lib/python3.9/site-packages/bimmer_connected/account.py", line 174, in _get_oauth_token
    raise ex
  File "/home/venus/.local/lib/python3.9/site-packages/bimmer_connected/account.py", line 114, in _get_oauth_token
    response = oauth_session.post(
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='customer.bmwgroup.com', port=443): Max retries exceeded with url: /gcdm/oauth/authenticate (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1123)')))

Additional information
Could you help me please ?

Pretty sure this is an error on the BMW side. ssl.SSLEOFError: EOF occurred in violation of protocol (_ssl.c:1123) basically just tells us there was an error in SSL transmission, but that is something the library doesn't even touch.
Is it happening all the time?

You are right :-). I was using a VPN and now when I deactivate my VPN it's working well. Thank you very much ! It was my fault


Upgrade NGINX Ingress Controller

The current version is 4.0.17.
todo:

[x] Upgrade on k8s dev
[x] verify that all apps are reachable via public URL

[x] https://stage.gnis-ld.org/
[x] https://api.test.dataone.org/polder/
[x] https://api.test.dataone.org/quality
[x] https://api.test.dataone.org/slinky
[ ] https://api.test.dataone.org/purser

[x] upgrade on production k8s
[ ] verify that all apps are reachable via public URL

[x] https://gnis-ld.org/
[x] https://api.dataone.org/slinky
[x] https://api.dataone.org/quality

Currently on dev:
helm list -n ingress-nginx
NAME         	NAMESPACE    	REVISION	UPDATED                               	STATUS  	CHART               	APP VERSION
ingress-nginx	ingress-nginx	1       	2022-02-09 10:28:12.22761881 -0800 PST	deployed	ingress-nginx-4.0.17	1.1.1

... prod version is older:
helm list -n ingress-nginx
NAME         	NAMESPACE    	REVISION	UPDATED                                	STATUS  	CHART              	APP VERSION
ingress-nginx	ingress-nginx	1       	2021-12-28 17:01:35.768277057 -0800 PST	deployed	ingress-nginx-4.0.6	1.0.4

(from https://kubernetes.github.io/ingress-nginx/deploy/upgrade):
This upgrade should be able to be performed with
https://kubernetes.github.io/ingress-nginx/deploy/upgrade/

Note that this might cause cert-manager to reissue certs, which might cause service disruption.


Stop fetching EI/DEV-only Espresso DB

Coverage remained the same at 0.0% when pulling 13b107b6d6d44f364c3d8802a716b511b6854c85 on alyiwang:linkedin into 151ce425883ba0e23bcb8fd797c62a26ba11092e on linkedin:linkedin.


cannot build aspectJ

download aspectJtools-1.8.9.jar too long,i don't konw how to fix it,can you help me?thx

Is your speed problem? Or can be directly to the Internet to download it directly on the jar package to rely on. This problem should not exist.

Is your speed problem? Or can be directly to the Internet to download it directly on the jar package to rely on. This problem should not exist.

Is your speed problem? Or can be directly to the Internet to download it directly on the jar package to rely on. This problem should not exist.


If anybody shared the translated models?

Will this project support  ".pt" file instead of bin model hold in hugging face?Or this project can storage translated models in some public storage.
Because the bin models in hugging face are very large and my network is pretty slow, it will be a large challenge for me to download this size of model.

By ".pt" file do you mean the checkpoints that are downloaded by openai/whisper? If yes, there is currently no converter for these files. We only provide a converter for the models that are coming from Hugging Face.
The larger model is about 6GB in the model Hub. I guess you just have have to be patient and let the download run for some time.

Hi
Is there a direct link for the large-v2 model already converted?

Sharing converted whisper-v2 ct2 fp16 https://drive.google.com/file/d/13Oq6wlrmzXeP8ciJ9p9R-pE5m1iJb9aq/view?usp=sharing
Put it files inside faster-whisper\whisper-large-v2-ct2
Contain files:
config.json	2.2 kB
model.bin	2.9 GB
tokenizer.json	2.1 MB
vocabulary.txt	449 kB

Sharing converted whisper-v2 ct2 fp16 https://drive.google.com/file/d/13Oq6wlrmzXeP8ciJ9p9R-pE5m1iJb9aq/view?usp=sharing
Put it files inside faster-whisper\whisper-large-v2-ct2
Contain files:

config.json	2.2 kB

model.bin	2.9 GB

tokenizer.json	2.1 MB

vocabulary.txt	449 kB

Thanks

I pushed converted models to the HuggingFace Hub: https://huggingface.co/guillaumekln
The linked PR is also updating the code to automatically download these model so that the conversion step is no longer needed in most cases.


Automated Package Upgrade

:tada: This PR is included in version 7.7.319 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Coalesce ?? doesn't evaluate link's existence

EdgeDB Version: 4.5+641a8f3
EdgeDB CLI Version: 4.0.2+500be79

Steps to Reproduce:

Schema

module default {
  type User {
    primary: Content;
    secondary: Content;
  };
  type Content {
    name: str
  };
}

Some data

insert User {
  primary := (insert Content)
};
insert User {
  secondary := (insert Content)
};

Bug

select User {
  coalesce := (.primary ?? .secondary),
  conditional := (if exists .primary then .primary else .secondary)
}

The coalesce property returns empty if there's no primary, ignoring secondary.
The conditional correctly picks primary or secondary.

The history here is weird: it looks like this was a 3.0 regression, but also it seems to be fixed on master...

Oh and to complicate it even more, it seems to be working on my local builds of 4.5, even though I was able to reproduce it on a 4.5 release build.

OK, actually, that analysis was basically all wrong: the bug shows up only when there is an implicit limit set for how many rows get returned.
I have that disabled typically, which was what was throwing me off.
(\set limit 0)

Oh, no, it is still fixed on master

It looks like it was fixed by https://github.com/edgedb/edgedb/pull/6747, which is already slated for backporting. I need to do some thinking about whether that makes sense to me that it is fixed.

Alright, I am convinced it makes sense. The extra scope introduced by the implicit limit (or by adding some explicit extra wrapping) was triggering the issue fixed in #6747. I'm going to close this as fixed, and we'll cherry-pick the test I'm adding in https://github.com/edgedb/edgedb/pull/6771 along with the fix.

So fix will be released in 4.6?


Close notifications in NNW 6

In the notifications system setting I have alerts for NNW. When I try to close the notification, it opens the related article in NNW 6. In NNW 5 when I closed a notification it didn't do that.
NNW 6.0d5, macOS Big Sur

We don't program any of the UI for the Notification dialogs. That is part of the macOS system itself and changed in Big Sur.
Unfortunately in Big Sur it is more difficult to close the dialogs and people instead are opening the applications instead. Be sure to be clicking on the small "X" in the top left corner to dismiss the dialog.

We don't program any of the UI for the Notification dialogs. That is part of the macOS system itself and changed in Big Sur.
Unfortunately in Big Sur it is more difficult to close the dialogs and people instead are opening the applications instead. Be sure to be clicking on the small "X" in the top left corner to dismiss the dialog.

I clicked the small "X" and it always opened the app. I had no problem with NNW 5 on Big Sur...

I clicked the small "X" and it always opened the app. I had no problem with NNW 5 on Big Sur...

I apologize for the misunderstanding.
This bug will be fixed and in the next text version of NNW 6.

I apologize for the misunderstanding.
This bug will be fixed and in the next text version of NNW 6.

no problem, thank you!

no problem, thank you!


patch fails when root element changes

Hi again! Noticed something unexpected while playing with petit-dom and reduced it to this example:
https://codepen.io/zaceno/pen/qYEQPw?editors=0011 Basically, if the top element is different in two vnodes A and B, then patch(A, B)  will do nothing.
I did notice patch returns the new, appropriate element, making it possible for me to swap the old one out for the new one myself.  So I'm guessing this is intended behavior, but I didn't see anything about it in the README, and it caught me off guard.
Again, no problem to handle myself, but since it is so easy for a user to handle, perhaps this is something petit-dom could take care of internally? (I could PR it I think, if you're interested)
PS: I double checked in Chrome also this time, before filing an issue 😅

the lib already handles this; if you pass the parent element to patch it will take care of replacing. See
https://github.com/yelouafi/petit-dom/blob/5412b18ad26108762ebf5624ac1c5bd70c578e57/src/vdom.js#L224-L226
But you're right this should be documented

Oh, nice! Good to know!
Thanks!


Can not init swarm

Description
Can not init swarm.
Steps to reproduce the issue:
docker swarm init --advertise-addr [SOME_IP]
Describe the results you received:
Error response from daemon: --cluster-store and --cluster-advertise daemon configurations are incompatible with swarm mode
Describe the results you expected:
Swarm initialization as described at https://docs.docker.com/engine/swarm/swarm-tutorial/create-swarm/
Output of docker version:
docker version
Client:
 Version:      1.12.2
 API version:  1.24
 Go version:   go1.6.3
 Git commit:   bb80604
 Built:
 OS/Arch:      linux/amd64

Server:
 Version:      1.12.2
 API version:  1.24
 Go version:   go1.6.3
 Git commit:   bb80604
 Built:
 OS/Arch:      linux/amd64

The error message is telling you that you have set the --cluster-store and --cluster-advertise options on the daemon for old-style Swarm mode multihost networking. These cannot be used with the new Swarm mode, you need to remove these options from the daemon config to use the new Swarm mode.
In the 1.13 release you will be able to use the new overlay networks from swarm mode that do not need a standalone kv store for an old style swarm or containers.

Hello. Thank you for the fast reply. I have fresh docker engine installed by yum (OS Oracle Linux 7.2).
Where can I find daemon config to remove these options?
I've checked out https://docs.docker.com/engine/admin/systemd/ but do not find that.

Oh, yes. Found at /etc/docker/daemon.json
Now it works! Thank you!


Hotfix [0.2] - Improve discount extending

Closes #959

Lunar\Hub\Editing\DiscountTypes seems should be merged into DiscountManager and have the DiscountManager::register(DiscountType::class, DiscountTypeComponent::class) handle both registration with 1 method, it's breaking so maybe for 0.4?

Lunar\Hub\Editing\DiscountTypes seems should be merged into DiscountManager and have the DiscountManager::register(DiscountType::class, DiscountTypeComponent::class) handle both registration with 1 method, it's breaking so maybe for 0.4?

We want to keep the core and hub classes separated, really the core shouldn't have any knowledge of the hub as much as possible.

keep the core and hub classes separated

that make sense.

@alecritson Just testing this out as part of the latest 0.2 release.
I'm getting Call to undefined method App\Models\User::authorize() when using a custom component. I remember we had this issue with slots too, but I cant remember how we resolved it?

@ryanmitchell Was the issue related to the naming of the component namespace? i.e. it needs to have lunar in order to be picked up by the middleware?

Yeah that was it - thanks

A further issue - when using discounts with a coupon code they fail validation as CouponValidator is limited to AmountOff types only.
Would you intend that devs have to use their own validation class to add to validation logic? Or does coupon validator need a way to register other validations?


S03-operators/precedence.t could be improved with ⁿ unicode superscript exponentiation tests

Unicode superscript exponentiation (ⁿ) tests were added to S32-num/power.t but related tests did not seem to be added to S03-operators/precedence.t which also has tests for the ** operator.  Some tests like ++$i ** 2 (now ++$i²) would not behave the same way because the superscript operator is not associative, but other tests should be quite similar.  Fixing this might add about a half dozen tests.

IMO this may be a bug. I'd expect ++$i² to be exactly equivalent to ++$i ** 2

TimToady's response: https://irclog.perlgeek.de/perl6-dev/2016-12-22#i_13785998

Just to clarify:
2² ** 3 should be one of the test cases and it currently evaluates to 64 rather than 2 ** 2 ** 3 == 256

Same cause as the difference in ++$i case.

First cut at roast tests and opportunity to comment before PR.
Tests on  lines 216 through 227

Re-opening this so we'd have a reference... This stuff still needs implementing.


Empty CRL causes fatal error on OpenVPN server check

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:

[X] I have read the contributing guide lines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
[X] I am convinced that my issue is new after having checked both open and closed issues at https://github.com/opnsense/core/issues?q=is%3Aissue

Describe the bug
In Version 22.7.3_2, if an OpenVPN server declares an empty CRL, no user can connect anymore. I included the logs in the appropriate section bellow.
Tip: to validate your setup was working with the previous version, use opnsense-revert (https://docs.opnsense.org/manual/opnsense_tools.html#opnsense-revert)
To Reproduce
Steps to reproduce the behavior:

Have an active OpenVPN server with some authorised users configured in distant access mode (SSL/TLS)
Create a new CRL on the OpenVPN server's CA
Do not add any certificate to the CRL
No authorised users can connect anymore
Notice : If the CRL isn't empty, the users that are not in the CRL can connect.

Expected behavior
Having empty CRL is usefull for administration to anticipate user's leaves or certificate comprimise but it is not possible anymore. This problem is not present in version 22.7.0 (appeared with the update).
Describe alternatives you considered
A false user must be created and revoked in all CRL for a CRL to be declared in an OpenVPN server to ensure the CRL is not empty.
Screenshots
NA
Relevant log files

2022-09-02T15:13:37 | Error | openvpn | [WAN IP & PORT] Fatal TLS error (check_tls_errors_co), restarting |  -- | -- | -- | -- | --
2022-09-02T15:13:37 | Error | openvpn | [WAN IP & PORT] TLS Error: TLS handshake failed |
2022-09-02T15:13:37 | Error | openvpn | [WAN IP & PORT] TLS Error: TLS object -> incoming plaintext read error |
2022-09-02T15:13:37 | Error | openvpn | [WAN IP & PORT] TLS_ERROR: BIO read tls_read_plaintext error |
2022-09-02T15:13:37 | Error | openvpn | [WAN IP & PORT] OpenSSL: error:1417C086:SSL routines:tls_process_client_certificate:certificate verify failed |
2022-09-02T15:13:37 | Error | openvpn | [WAN IP & PORT] VERIFY ERROR: CRL not loaded

Additional context
NA
Environment
Software version used and hardware type if relevant, e.g.:
OPNsense 22.7.3_2-amd64
FreeBSD 13.1-RELEASE-p2
OpenSSL 1.1.1q 5 Jul 2022
Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz (2 cores, 2 threads)
Network Unknown (VMWare Virtualized)

Your problem seems most likely related to the problem described in issue #6005.
To solve this problem you could try to update to OPNsense 22.7.5. Note that it is important to consider the emergency instructions for existing OPNsense instances, otherwise you may not be able to access your instance via OpenVPN after the upgrade (as already reported in a comment):

For those having trouble with OpenVPN CLRs on 22.7.5: Your CRL is empty and creation never rendered the binary format required for OpenVPN to accept the file. If OpenVPN is not working remove the empty CRL from the server configuration or add a mockup certificate to the CRL or add any certificate and remove it immediately after. All these things can instantly bring back your OpenVPN server. We will be sandboxing the CRL code further to avoid any of the issues seen on previous 22.7.x for good, but then also won't automatically fix currently broken CRLs.

This has been addressed in 22.7.x


zalgo.

All callbacks must be asynchronous.
function createRingpop(callback) {
  var r = Ringpop({ ... })

  r.bootstrap(callback)

  return r;
}

var r = createRingpop(function (err) {
  if (err) {
    // do stuff with r
    // OOPS ZALGO. callback called before return.
  }
})

If we do not call callbacks in the nextTick we get horrible race conditions.

closing. please reopen if you have more specific cases. just to eliminate long-standing issues.


DropWizard 1.2.4 released?

Has DropWizard 1.2.4 been officially released? The dropwizard.io site still references 1.2.2 - just making sure this is ready for consumers to pick up.

@pkwarren Yes, Dropwizard 1.2.3 and 1.2.4 have officially been released:

https://github.com/dropwizard/dropwizard/releases/tag/v1.2.3
https://github.com/dropwizard/dropwizard/releases/tag/v1.2.4

Unfortunately it looks like the documentation hasn't been updated yet. I'll take a look at it.

The documentation for Dropwizard 1.2.3 and 1.2.4 is now available online:

http://www.dropwizard.io/1.2.3/docs/
http://www.dropwizard.io/1.2.4/docs/

Thanks @joschi!


Fixes for nginx listeners

This addresses the issues with nginx listeners. Specifically:

Got rid of user directive since we're not launching as root
Made reloads use the "graceful reload" strategy instead of just HUP. This way new binaries will automatically be picked up
Cleaned up timeouts to just be the same high value for all listeners (60 minutes since that's or max SS timeout). This means that the only thing we will restart nginx for is new services (this happens basically never)
Rate limit nginx restarts to once every 10 minutes (since new services rarely happen)
Try to make the headers less wonky (unfortunately no way to kill Date or Server, but we can at least pass backing Servers forward).

@jnb this is for SMTSTK-182


Publish helm charts also as an OCI package (e.g. on GHCR registry)

The helm charts are published using the classic approach with a static webserver and an index.yaml.
In helm 3.8+ the OCI method went GA:

https://blog.bitnami.com/2023/04/httpsblog.bitnami.com202304bitnami-helm-charts-now-oci.html?m=1
https://helm.sh/docs/topics/registries/
https://github.com/helm/helm/releases/tag/v3.8.0

I see two options to use as an OCI mirror:

GHCR (Github packages)
You need to think about the Github organizational plan. On free plan there are 500MB included
Quay.io (where you also push the container images)

Is #181 solving your issue?

Yes :) 👍

Hi @pierluigilenoci
I reopened this issue as the latest 7.0.0 didn't arrive here: https://github.com/orgs/oauth2-proxy/packages.
Maybe you could have a look if packages are public inside the Org settings:

Cheers, Marco

@mkilchhofer unfortunately, you are right; packages are private. 😢
However, I do not have the permission to change this configuration. 🤷🏻♂
I necessarily have to disturb @JoelSpeed or @NickMeves. Can you solve it? 🙏🏻

@JoelSpeed or @NickMeves, can we get your attention here?

I believe I've changed the settings on the chart so that it should now be publicly visible, can you verify that for me?

I believe I've changed the settings on the chart so that it should now be publicly visible, can you verify that for me?

Thank you @JoelSpeed, it works now! 🙏
$ helm dep up
Getting updates for unmanaged Helm repositories...
(...)
Update Complete. ⎈Happy Helming!⎈
Saving 2 charts
(...)
Downloading oauth2-proxy from repo oci://ghcr.io/oauth2-proxy/charts
Pulled: ghcr.io/oauth2-proxy/charts/oauth2-proxy:7.4.1
Digest: sha256:998f838e24aee9f76432920efcfb8bd55ad1c6eb010d6e6483e70722ffd033cc
Deleting outdated charts


cancellation handler

brings back #4173 which was reverted because of Windows issue

@swift-ci please smoke test

@compnerd see https://github.com/apple/swift-package-manager/pull/4211/commits/bbde2339186376b77e1432290eccdef02db66dd3

Thanks!  I'll kick off another CI run with the change just to be extra careful.


[CODEGEN NVPTX] Initialize llvm before lookup for the target

LLVMTargetInfo, TargetMachine and so on should be initialized before lookup for the specific target.
 n = tvm.var ("n")
 A = tvm.placeholder ((n ,n), name='A', dtype="float32")
 B = tvm.placeholder ((n, n), name='B', dtype="float32")
 C = tvm.compute (A.shape, lambda *i: A(*i) + B(*i), name='C')
 s = tvm.create_schedule (C.op)

 bx, tx = s[C].split (C.op.axis[0], factor=64)
 s[C].bind (bx, tvm.thread_axis("blockIdx.x"))
 s[C].bind (tx, tvm.thread_axis("threadIdx.x"))
 module = tvm.build(s, [A, B, C], "nvptx", target_host="llvm")

This code fails with error:
Unable to find target for this triple (no targets are registered) target_triple=nvptx64_nvidia_cuda

can you also update AMDGPU codegen here? I remember being puzzled by this error when target_host="llvm" is explicitly passed.

Ok, I see the same problem for AMD GPU codegen.

thanks @denis0x0D this is merged.


It's called OpenAPI 😅

Howdy! I found this thing Goolging and it looks awesome. I want to put it on openapi.tools but wanted to point out: the specification has not been called Swagger for a long time.
The name of the specification is OpenAPI, and tools should probably use that in their name instead of Swagger, as that's just the name of the official set of tools (Swagger Codegen, Swagger UI, Swagger Editor).
Maybe rename to openapi2puml, and make the description "Generate Class Diagrams (UML) for Given OpenAPI (f.k.a Swagger) Definition" so it still shows up on Google for both searches.

Thanks for Suggestion, will do renaming and update you back here.
ETA: 14th May 2018, 09:00 Hrs (GMT + 5:30)

Hi @msantosh1188,
I'm wondering if you're still actively looking after this project?
I've opened one PR to fix and issue and would like to make some more from what I've been working on in my fork.
Thanks in advance
Darren


V2 build

Hi
To where should I copy build files to affect the changes made in V2 development environment?
Sorry I am new to Angular.
Thank You!

@VidushaZ
Hi.
You can check in web/src/main/webapp/v2 folder.

@denzelsN
Yes, I run a build from there and found chunk files in /web/target/deploy/v2
what I ask is none of these affect when I open V2 from browser http://<IP_ADDRESS>:28080/v2
but the changes are working fine in development which is running on 4200 port default.

@VidushaZ
Run command npm build:watch in web/src/main/webapp/v2.

@denzelsN How do I run V2 in production mode? I did a build using build:real and I have no idea where to copy those build files. Plus when I restart the web.sh my changes get revert back. Please help.

@VidushaZ
If you build with -Pv2 option.( mvn clean install -DskipTests -Pv2)
You can access through  http://yourhost:yourport/v2

@denzels Ah! It works now. Thank you very much. I'm closing this.

@denzelsN Hi one more question please. It still says the V2 is running on development mode. How do I get it to production mode?

@VidushaZ
What's the development mode? How does it work?

@denzelsN In chrome console it says Angular is running in the development mode. I want V2 to run on production mode. is it possible? because in mvn clean install -DskipTests -Pv2, It runs ng build pinpoint --base-href /v2/ without --production

@VidushaZ
Okay. I understand what you're saying.
It's not in production mode because it's still under development.
If you want to build in production mode, modify the 530 line run build in web/pom.xml file with run build:real.

Ok I got it Thank you very much.  now I am closing this one.


fix: updated the build config and various fixes for lint issues

now using the latest version of gradle
numerous fixes related to lint checks

Apologies, I need to resubmit this.  closing this request.


Implement repository cache eviction policy

Original issue URL: https://github.com/kptdev/kpt/issues/3221
Original issue user: https://github.com/mortent
Original issue created at: 2022-05-22T23:37:32Z
Original issue last updated at: 2022-05-22T23:37:32Z
Original issue body: Make sure we correctly handle the repository cache.
Original issue comments:

Triage Comment:
We are reading this as "Implement Repository Cache Eviction Mechanism"
What happens if the cache fills today.
We need to look into this and have a mechanism to expire caches.
It could be FIFO, least recently used, least frequently used, but today there is no cache size limitation mechanism.
The current implementation (with git) requires that everything is in the cache, because git requires that you clone a copy tin order to work on it.
We need to investigate and understand how cacheing works and know its limitations.