OMA-URI path

The document under the Modify XML heading at point 6 states to document the info between name and /name  as it will be needed when you create the profile in Intune.
When you export the config, the VNET name is shown in this field. This isn't optimal to present as the profile name in Windows.
I don't believe this same name has to be re-used at "./User/Vendor/MSFT/VPNv2/name of your connection/ProfileXML" as indicated in the doc under the Create Intune profile heading on step 4.
Please can you confirm?
Thank you
Daniel Bradley

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

ID: 67f00f75-41fc-95cb-b1a5-d454ce6d43c5
Version Independent ID: 15d64631-6615-d8c6-6314-3a49050ae7b3
Content: Create an Intune profile for User VPN clients - Azure Virtual WAN
Content Source: articles/virtual-wan/vpn-profile-intune.md
Service: virtual-wan
GitHub Login: @cherylmc
Microsoft Alias: cherylmc

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

I have tested and it seems I can change the information in the <name> Info to change </name> fields and also on the URI path without any impact to the functionality, so the user sees a more meaningful connection name.

Thanks for testing that. I'll update for both VPN Gateway and Virtual WAN. Adding a doc bug now. #please-close


Define model attributes with static attributes property

such as
class User extends Bone {
  static attributes = {
    name: STRING,
    password: STRING,
  }
}

implementation plan (zh): https://www.yuque.com/leoric/blog/definition

fixed by #131


Broken link to ELIXIR

The link in the text "PomBase is an ELIXIR-UK Node Service" at the bottom of each page is now broken.  It looks like ELIXIR removed or moved the page without adding forwarding link.

Was it definitely a deep link, or did the link only fo to the Elixir home page?

The link is still in the footer, I haven't changed it: https://elixiruknode.org/node-services/

Right it is now
https://elixiruknode.org/services/
I will let them know that people need to be informed.

(I was clicking on the icon, not the services link)

Right it is now
https://elixiruknode.org/services/

Thanks.  I've changed it and the update will be visible in 30-ish minutes.


Fix notebook dependencies

Remove requirements_notebooks.txt and move contents to .binder/requirements.txt
Change reference from pinned release to local directory, so CI will be testing the current code
Update .github/workflows/smoke-test.yml
Fix #903

I did some digging on this. I don't think editable installs on binder will work, because the package needs a compiled Rust binary to function. On the other hand, we do push nightly builds up to PyPi now, and we do have branches and tags where the dependencies are automatically maintained:

nightly
beta
stable

And we also have tags for each version:
https://github.com/opendp/opendp/tags
I think what needs to happen to fix this is just to fix the binder links to either point to the tag, or to one of the above branches, depending on which version of the docs is rendered.
Now this wouldn't fix historical versions (0.7 or older) but just fixing binder links will work going forward from 0.8. Maybe we could just hide binder links for versions 0.7 and older?
Given that this metadata will be checked into the repo on the 0.8 tag, this isn't something that has to be fixed before 0.8 is released.

The code that inserts the link to binder is here:
https://github.com/opendp/opendp/blob/v0.6.1/docs/source/conf.py#L198-L209

It actually already works as-is for tagged versions:
The generated binder link is only wrong on nightly and beta now. If you adjust the link from v0.8.0 to nightly, I think it works:
https://mybinder.org/v2/gh/opendp/opendp/nightly?filepath=docs/source/user/programming-framework/a-framework-to-understand-dp.ipynb
That being said, it's incredibly slow...

After thinking about it a bit, I think the ideal approach is to:

Don't show a binder link for versions 0.7 or below (their .binder/requirements are broken)
Don't show a binder link for beta or nightly (the images take too long to build and constantly get rebuilt)

if you want a nightly build, you're better off setting things up locally

Adjust .binder/requirements to -r install the existing ../docs/requirements_notebooks.txt

because .binder is not the source of truth for notebook dependencies

Thank you for thinking this through, and sorry not to have it on the right path.
At this point, maybe the least confusing thing is to close this PR, and add the criteria above to #903. I would also add a note where we reference the pinned version of opendp to emphasize that the test is not about the current state of the code, but to ensure that the documentation of released versions is consistent.
Closing this PR, and updating the issue.

@mccalluc No need to be sorry! I really appreciate you opening a PR.


[KWOK] retry when applying Stages fails

What type of PR is this?
/kind feature

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes https://github.com/kubernetes-sigs/kwok/issues/816
Special notes for your reviewer:
Since we have a new design based on the weight delaying queue(https://github.com/kubernetes-sigs/kwok/pull/902), the old implementation https://github.com/kubernetes-sigs/kwok/pull/904  was rejected.   Will close the old one and start here.
Currently, I only modified the node controller for a pre-review. Please feel free to give comments!
Does this PR introduce a user-facing change?

NONE

Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:

Hi, @wzshiming.
I added a shoudRetry function to determine whether an error needs to be retried.
Currently, we only check those network errors and bypass other error types.

I think like We can use errors.Join and fmt.Errorf

Hi, @wzshiming. Do you mean to join the specific error with the newly defined error?
I have two concerns here:

I'm not sure if it is a Go idiomatic way

the other concern is that where should I put the join statement? There are 2 choices currently:

inside computePatch method, like:
  func (c *NodeController) computePatch(node *corev1.Node, tpl string) ([]byte, error) {
  patch, err := c.renderer.ToJSON(tpl, node)
  if err != nil {
  return errors.Join(ComputePatchError, err)  // the original `err` will be lost
  }
  // omitted
  }

at where computePath method is called, like
patch, err = c.computePatch(node, next.StatusTemplate)
if err != nil {
    return errors.Join(ComputePatchError, err)
}

which one do you prefer?

I think you can finish this and verify the various corner cases locally

I made several changes in this commit:

define a new error type ErrComputePatch
remove those resource isNotFound checks as they will be handled in shouldRetry, which is the only entry for determining errors.
move the patch operation out of finalizersModify and rename the method to computeFinalizerPatch. If any error occurs in computeFinalizerPatch, we should also mark the error as ErrComputePatch.
rename the computePatch to computeStatusPatch.
generalize patchResource method such that it can be used by patching status and patching finalizers.

since we only need to check the network error, I just removed the defined ErrComputePatch in the latest commit.

/ok-to-test

In this new commit,

Get the  finalizerModify logic back
check whether the key already exists in the map when adding a job
Create a function in utils to obtain a default backoff setting shared by all kwok controllers for those retried jobs.
rebase the code based on the recent changes.

If there are no problems with this version, I will start to change other controllers.

Sorry for the delay, this PR may need to be rebase due to the conflict with #920, I will take time to test this PR this week.

Sorry for the delay, this PR may need to be rebase due to the conflict with #920, I will take time to test this PR this week.

Oh, @wzshiming! Understood! No worry! I will rebase it. 😊

/approve
/lgtm
/label tide/merge-method-squash

@wzshiming
I made many mistakes and misunderstood a lot of things along the way (and I also learned a lot.) Thanks for the great patience and for taking the trouble to guide me during the PR.


make logo more present - fix #59

This PR is applying minor changes on the logo and the icons in the header section.
Before

After

👍  thx. :)


Modify ReadMe to remove Easy_install references due to deprecation

The readMe points to using easy_install https://github.com/splunk/splunk-sdk-python/blob/master/README.md for the SDK.
It looks like easy_install has been deprecated, with pip being the better package option:
https://setuptools.readthedocs.io/en/latest/easy_install.html
https://stackoverflow.com/questions/3220404/why-use-pip-over-easy-install

@NicholasLeader thanks for the issue, we're open to a PR if you'd like to make the change


Allow space application supporter to access specific build endpoints.

closes #2284
Co-authored-by: Matthew Kocher<EMAIL_ADDRESS>Co-authored-by: Michael Oleske<EMAIL_ADDRESS>Thanks for contributing to cloud_controller_ng. To speed up the process of reviewing your pull request please provide us with:

[x] I have reviewed the contributing guide

[x] I have viewed, signed, and submitted the Contributor License Agreement

[x] I have made this pull request to the main branch

[x] I have run all the unit tests using bundle exec rake

[ ] I have run CF Acceptance Tests

Unit tests were failing, I'm pulling in the changes made to fix some unit tests on main (looks like the same ones were failing here)


dvclive/ref: link to dvclive/GS

Report
For some reason https://dvc.org/doc/dvclive/api-reference/live/log has high site entry traffic:

But it also has a relatively high bounce rate (probably since it's pretty technical). Let's link the Get Started page and/or the DVClive home page near the top? Maybe also to the API index page or other APIs?

For some reason

Well actually is for one main reason, it seems: searching for "dvc log" on Google:


Rename loggregator VMs to doppler

The loggregator component was previously renamed to doppler, and shows up as
such in process names on the VM. However, we did not change the VM name at the
same time. This corrects that oversight to reduce ambiguity.
[#84731308]
Signed-off-by: Warren Fernandes<EMAIL_ADDRESS>

Closing PR since it has diverged quite a bit from develop.


why kong can't go on runing when database shutdown

We recently upgraded postgresql to 9.5+. We think kong should be able to continue working when the database is closed because of the cache. But in fact, it does not. I want to know why this design? Thanks

Closing this as a duplicate of #3068.


⚠ Bofrost.de has degraded performance

In 283d710, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1418 ms

Resolved: Bofrost.de performance has improved in b60fb7c.


Add default styles for the warning message when JavaScript disabled

The Drupal Kiso (基礎) base theme provides a custom warning message to be displayed when JavaScript is disabled.
This message should have default styles.

This enhancement will be available with the next release 2.6.


Fix broken permission with /showblacklist

It would show access denied to those who can't mute in the room, and it would show nothing to say, drivers

Should probably be on "mute" for now.

No reason why drivers shouldn't be able to see the blacklist.

Alright


Document how to run privileged function docker containers

For functions that need network or host access, we need to provide examples of how to use such flags:
kpt fn run local-configs --mount type=bind,src=$(pwd)/helloworld-chart,dst=/source
kpt fn run local-configs --network
We can point to examples functions in the catalog that need these.

@prachirp This may be done already?

Yes, these examples are in the kpt fn run reference doc https://googlecontainertools.github.io/kpt/reference/fn/run/


fix: update the participant in the IO room every time it is updated in the store

This fixes a little bug that when the participant enters the video room and starts the Matterport 3D, some updates were skipped, losing some participant information, like name and type.
To fix this, we remove all validations that were duplicated, and make sure that every time it's updated in the store, it should also be updated in the IO.


YouTube icon shows above mini player controls

OS:
Windows 7 x64
Issue Descriptions:
The YouTube icon shows above mini player controls for songs that have a link to YouTube video.

Not sure if supposed to be there or not, but since it's partially overlapping the thumbs up button, I assumed it's a glitch.

There is open PR on the mini player repository to fix this

Why hasn't this been fixed yet?


Parser: Parse invalid tables as normal markdown (without recursing down TableMatch)

@ThunderMikey PreTable is no longer used after my changes and now it represents tokens for an invalid table. So could do with a name change (or even we can remove it since it's just a token list list). However, we need to do a full parse of those tokens without TableMatch (because that would just infinitely recurse).

Fixed by #48


BUG: TouchableOpacity can't change image and text same time.

          <TouchableOpacity onPress={() => this.onPraise()}>
            <View style={styles.barItem}>
                <Image source={praiseImage}/>
                <Text style={styles.barItemText}>{this.props.praise_number|'赞'}</Text>
            </View>
          </TouchableOpacity>

Can you elaborate more about this issue ?
What version of React Native are you using?

Also, what platform?

IOS 6.0
React Native 0.25.1
An ugly code resolved my problem:
          <TouchableOpacity onPress={() => this.onPraise()}>
            <View style={styles.barItem}>
              <TouchableOpacity onPress={() => this.onPraise()}>
                <Image source={praiseImage}/>
              </TouchableOpacity>
              <Text style={styles.barItemText}>{this.props.praise_number|'赞'}</Text>
            </View>
          </TouchableOpacity>

+1

still the problem on iOS 9.3 with React Native 0.30.0

Seeing similar problems here also with iOS 9.3 and React Native 0.30.0
It also affects TouchableHighlight and I don't think it's an issue with that component per-se, more to do with the Image component not loading the new image when the source prop is changed (even if this is a local resource).


Serialize datashape to JSON

Curiuos, what was the motivation here?

Sending R expressions to blaze server

I wanted to get back type information that i didn't have to write parser for


Add means of forcing through request

I'm curious if there's a way we can add a means to force cache misses with a request form the front end.  For instance, an object like a profile with a collection of objects...it is likely someone would want to cache that collection when reading for most cases, but would want a real-time result when adding these objects to the resource.
It looks like we may be able to support some kind of special context value like context[:force_cache] = true and skip cache all together when that value is set.

Transcript of a conversation had between @jeromedalbert and myself about this topic:
With the stuff for company profiles, we needed to nuke caching on `social_posts`, but technically only in the case of profile edits...everywhere else should probably be cached (most reads at least).  So I'm pulling it until I can get around to https://github.com/Leanstack/graphql-cache/issues/28

[...]

jerome [5:37 PM]
so you want something like `field :my_field, cache: true, invalidate_when: :modified`? (edited)

michael [5:38 PM]
not sure how possible that is because a mutation would be a totally different context than a query...I was thinking adding support for something like this:
```StackshareSchema.execute("{ foo { id } }", context: { force_reload: true })```
that way it can be triggered off a param or header in the GraphQL controller

jerome [5:38 PM]
ok

michael [5:39 PM]
allow the frontend to tell me when they want fresh data, vs. trying to figure it out on the backend

jerome [5:39 PM]
so that would force reload only the fields present in that query? (edited)
not all the fields of the queried objet

michael [5:40 PM]
it would be any fields for that request

jerome [5:40 PM]
ok

michael [5:41 PM]
I'm thinking that there's also options for using a version based caching scheme where the key is based off an updated time field from the parent object
still a young solution for sure
that does assume AR for the most part, but not to hard to allow for using a custom method to produce a hash or something

jerome [5:44 PM]
http://guides.rubyonrails.org/caching_with_rails.html#low-level-caching
> Notice that in this example we used the cache_key method, so the resulting cache key will be something like products/233-20140225082222765838000/competing_price. cache_key generates a string based on the model’s id and updated_at attributes.
that sounds interesting
auto invalidation when updated

michael [5:45 PM]
that essentially what I want to emulate/integrate with

jerome [5:45 PM]
`field :my_field, cache: { key: 'your cache key here, maybe same syntax as Rails cache_key, maybe we can allow the value #{cache_key} for Rails apps' }` (edited)

michael [5:46 PM]
I've technically got a key prefix option https://github.com/Leanstack/graphql-cache#usage that could be used like that

jerome [5:47 PM]
cool I think that would be nice to have it based on updated at stuff. Not sure how that would work for collections

michael [5:47 PM]
I also have to update SS to the newest version of the gem...none of those options on the field definition exist in the version we have, just `cache: true`

jerome [5:47 PM]
but this way no need to send a special request with context “fore reload please”

michael [5:47 PM]
yeah that's true
collections being changed can "touch" their parent in AR so that the updated at is modified when the collection is...but that couples us a little tighter to AR

jerome [5:48 PM]
yes
(but that works :P)

michael [5:48 PM]
but maybe we don't care about that and just assume the user deals with it
there is a snag in that, kind of...the field def is parsed at load, whereas the value we need will only be available on resolution...We could pass a proc:
```field :my_field, cache: { key: Proc.new { object.cache_key } }```
and just resolve the proc during resolution
I like something like this too:
```field :my_field, cache: { key_method: :cache_key }```

jerome [5:53 PM]
yes

michael [5:53 PM]
and `send` the key method during resultion to the object

jerome [5:53 PM]
yeah, we can make the syntax sexy and terse enough with things like that

michael [5:54 PM]
I'm not a huge fan of procs, at least explicit ones

jerome [5:54 PM]
`field :my_field, cache: { key: -> { object.cache_key } }`  :troll: (edited)

michael [5:54 PM]
looks like javascript :rolling_on_the_floor_laughing:

jerome [5:54 PM]
“What are your thoughts on ES6 REST/spread operator?”
leaves channel
`field :my_field, cache: { key: :cache_key }`
if the value of `key` is a symbol or a string, maybe send it to obj at runtime, otherwise if proc/lambda execute it (edited)
or maybe allow strings
`field :my_field, cache: { key: "#{cache_key}/competing_price" }` just like Rails
anyways, I like a solution along those lines better, it definitely looks possible (although I have no idea about the internals of graphql-ruby right now)


Bug regarding nested navigators

Steps to Reproduce
In master/stable channel run the following code:
https://gist.github.com/markmooibroek/3459f73bbd89deefeb488060f5bfd87e
Logs
No errors on this one. If you run the gist you'll see that you can properly focus the first input (inside the nested navigator). But the second one is not focusable.
I need this pattern for a tablet (master/detail) view that is dependent on the nested navigator in the master panel.
Video

Flutter analyze
Analyzing navigator_test...
No issues found! (ran in 2.0s)

Flutter doctor
[✓] Flutter (Channel stable, v1.5.4-hotfix.2, on Mac OS X 10.14.4 18E226, locale en-GB)
    • Flutter version 1.5.4-hotfix.2 at /Users/nicepants/sdk/flutter
    • Framework revision 7a4c33425d (5 weeks ago), 2019-04-29 11:05:24 -0700
    • Engine revision 52c7a1e849
    • Dart version 2.3.0 (build 2.3.0-dev.0.5 a1668566e5)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/nicepants/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 10.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.2.1, Build version 10E1001
    • ios-deploy 1.9.4
    • CocoaPods version 1.6.1

[✓] Android Studio (version 3.4)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 35.3.1
    • Dart plugin version 183.6270
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)

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

[!] Connected device
    ! No devices available

! Doctor found issues in 1 category.

Posted the issue on StackOverflow aswell and got a suggestion that worked:
Wrapping the non working in put in a separate FocusScope like below fixed my issue:
@override
  Widget build(BuildContext context) {
    return FocusScope(
      node: FocusScopeNode(),
      child: Container(
        color: Colors.red,
        child: Center(
          child: TextFormField(
            controller: controller,
            decoration: InputDecoration(hintText: "2nd input"),
          ),
        ),
      ),
    );
  }


Close all open connections when abandoning a Backend instance

When BackendManager.getBackend() is called after server settings have been changed the old Backend instance is abandoned and a new one is created with the current server settings. This keeps all connections associated with that old Backend instance open until it is garbage collected.
We should add a Backend.shutdown() method to release all resources that can be invoked when the instance is abandoned.

Is this causing the
IMAP  - Maximum number of connections from user+IP exceeded (mail_max_userip_connections=10)
messages, I get sometimes when K9 is connected to my mail provider?


smotret.tv URLs

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm reporting a new site support request
[X] I've verified that I have updated yt-dlp to nightly or master (update instructions)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that none of provided URLs violate any copyrights or contain any DRM to the best of my knowledge
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[X] I've read about sharing account credentials and am willing to share it if required

Region
all
Example URLs
https://smotret.tv/rossiya-1
Provide a description that is worded well enough to be understood
does not work
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
reiner@reiner:~$ yt-dlp -vU https://smotret.tv/rossiya-1
[debug] Command-line config: ['-vU', 'https://smotret.tv/rossiya-1']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>from yt-dlp/yt-dlp [24f827875] (zip)
[debug] Python 3.10.12 (CPython x86_64 64bit) - Linux-6.2.0-39-generic-x86_64-with-glibc2.35 (OpenSSL 3.0.2 15 Mar 2022, glibc 2.35)
[debug] exe versions: ffmpeg 4.4.2 (setts), ffprobe 4.4.2, rtmpdump 2.4
[debug] Optional libraries: Cryptodome-3.11.0, brotli-1.0.9, certifi-2020.06.20, pyxattr-0.7.2, requests-2.25.1, secretstorage-3.3.1, sqlite3-3.37.2, urllib3-1.26.5
[debug] Proxy map: {}
[debug] Request Handlers: urllib
[debug] Loaded 1901 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
[debug] Downloading _update_spec from https://github.com/yt-dlp/yt-dlp/releases/latest/download/_update_spec
[debug] Downloading SHA2-256SUMS from https://github.com/yt-dlp/yt-dlp/releases/download/2023.12.30/SHA2-256SUMS
Current version<EMAIL_ADDRESS>from yt-dlp/yt-dlp
Latest version<EMAIL_ADDRESS>from yt-dlp/yt-dlp
Current Build Hash: 0b122b45079b60ef720ebf4f72cbe53139f284b11492a42673cf6aa52d1432d8
Updating to<EMAIL_ADDRESS>from yt-dlp/yt-dlp ...
ERROR: Unable to write to /usr/local/bin/yt-dlp; try running as administrator
[generic] Extracting URL: https://smotret.tv/rossiya-1
[generic] rossiya-1: Downloading webpage
ERROR: [generic] Unable to download webpage: HTTP Error 520: None (caused by <HTTPError 520: None>); please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
  File "/usr/local/bin/yt-dlp/yt_dlp/extractor/common.py", line 715, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/yt-dlp/yt_dlp/extractor/generic.py", line 2439, in _real_extract
    full_response = self._request_webpage(url, video_id, headers=filter_dict({
  File "/usr/local/bin/yt-dlp/yt_dlp/extractor/common.py", line 860, in _request_webpage
    raise ExtractorError(errmsg, cause=err)

  File "/usr/local/bin/yt-dlp/yt_dlp/networking/_urllib.py", line 396, in _send
    res = opener.open(urllib_req, timeout=float(request.extensions.get('timeout') or self.timeout))
  File "/usr/lib/python3.10/urllib/request.py", line 525, in open
    response = meth(req, response)
  File "/usr/lib/python3.10/urllib/request.py", line 634, in http_response
    response = self.parent.error(
  File "/usr/lib/python3.10/urllib/request.py", line 563, in error
    return self._call_chain(*args)
  File "/usr/lib/python3.10/urllib/request.py", line 496, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.10/urllib/request.py", line 643, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 520:

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/bin/yt-dlp/yt_dlp/YoutubeDL.py", line 4052, in urlopen
    return self._request_director.send(req)
  File "/usr/local/bin/yt-dlp/yt_dlp/networking/common.py", line 114, in send
    response = handler.send(request)
  File "/usr/local/bin/yt-dlp/yt_dlp/networking/_helper.py", line 204, in wrapper
    return func(self, *args, **kwargs)
  File "/usr/local/bin/yt-dlp/yt_dlp/networking/common.py", line 325, in send
    return self._send(request)
  File "/usr/local/bin/yt-dlp/yt_dlp/networking/_urllib.py", line 401, in _send
    raise HTTPError(UrllibResponseAdapter(e.fp), redirect_loop='redirect error' in str(e)) from e
yt_dlp.networking.exceptions.HTTPError: HTTP Error 520: None

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/bin/yt-dlp/yt_dlp/extractor/common.py", line 847, in _request_webpage
    return self._downloader.urlopen(self._create_request(url_or_request, data, headers, query))
  File "/usr/local/bin/yt-dlp/yt_dlp/YoutubeDL.py", line 4074, in urlopen
    raise _CompatHTTPError(e) from e
yt_dlp.networking.exceptions._CompatHTTPError: HTTP Error 520: None

This seems to be an unofficial site offering a mixture of publicly available streams and pirate streams.
As such, it is not fit for inclusion in yt-dlp.


take care of case when "_tied_weights_keys" is not an attribute

What does this PR do?

Address the issue pointed out by @enesmsahin  on #3154
Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[x] Did you read the contributor guideline,
Pull Request section?
[ ] Was this discussed/approved via a Github issue or the forum? Please add a link
to it if that's the case.
[ ] Did you make sure to update the documentation with your changes? Here are the
documentation guidelines, and
here are tips on formatting docstrings.
[ ] Did you write any new necessary tests?

Who can review?
Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.
@muellerzr @enesmsahin

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

Its abit strange that the test will fail given its such a small change @BenjaminBossan


Exception caused by moving up the schedule in organizer.

Hey there,
when I started to try the extraction feature I found a new bug :)
For explanation I wrote a plugin for importing IR Cards directly from the website of my learning system. This allows me to split down the whole content of a chapter into more subchapters to anki. I reused the just the importer part of your plugin in a separate plugin, what works so far and seems not to collide with your plugin.
But to come to the point. For me it is important that the order of the cards in review mode stays the same, so i marked in "Options" - "Scheduling" to shedule by position and turned off "Randomize".
During review the card order stays, but when i did use the extraction function to reduce the learning card to a more smaller card. It put the new card to the end of the scheduler (and of course to the end of the cardbrowser because of generating a new card with a newer date)
To get the extract in the correct schedule order again I tried to move it in the schedule in the organizer widow.
Below in the screenshot you see the situation before I press the Up-Button:

Now I get the following exception:

Anki 2.1.0beta23 Python 3.6.1 Qt 5.9.2 PyQt 5.9
Platform: Windows 10
Flags: frz=True ao=True
Caught exception:
File "O:\OneDrive\AnkiData 2.1\addons21\1081195335\schedule.py", line 91, in _moveUp
self.cardListWidget.insertItem(newRow, row)
<class 'TypeError'>: arguments did not match any overloaded call:
insertItem(self, int, QListWidgetItem): argument 2 has unexpected type 'int'
insertItem(self, int, str): argument 2 has unexpected type 'int'
And as you see Position 7 in the order has vanished.

After clicking on "Save" and reopening the original position 7 has moved to the end of the schedule.

Moving down the schedule works!

Sorry that I wrote that much. Big thanks for your work! Your Plugin is really great!

Thanks for the report. I can't believe I didn't notice this myself - it's very easy to reproduce.
Should be fixed now (d96189d).

Thanks for the quick fix. I applied it and it seems to work!


Support for java.net.http.HttpClient

Is your feature request related to a problem? Please describe.
We are using Java 11:s HttpClient (java.net.http.HttpClient) in some of our projects but there is no mentioning of that client in the documentation for sleuth. It seems reasonable to include that seeing that it is a very natural choice of HttpClient for modern Java applications.
Describe the solution you'd like
I would like to be able to expose my java.net.http.HttpClients as beans and get them picked up by Sleuth.

Are you interested in providing instrumentation for that?

I'm not 100% sure what that would entail, but I would be happy to help out in any way I can.

The thing is that we are unable to provide instrumentations for every single project. So if there's one person that wants the HttpClient instrumentation then we don't have the capacity to implement and then support this.

I might be wrong, but when I investigated the same issue I realised java.net.http.HttpClient doesn't support a mechanism to intercept incoming or outgoing calls. Therefore, you'd need to introduce a wrapper around the library which allows for interception like https://github.com/raphw/interceptable-http-client

Let's close this issue for the time being. If there are more people interested in it we'll revive it :)

if by jdk http client support we mean the trace id is passed automatically as is the case for a rest template, then i am interested and i imagine a lot of people are since as mentioned above that's a natural choice

+1

+1

If you do not have the opportunity to remove HttpClient you can add these headers:
```
@Autowired
private final Tracer tracer;
private Map<String, String> createHeaders() {
    Map<String, String> headers = new HashMap<>();
    headers.put("x-b3-traceid", tracer.currentSpan().context().traceIdString());
    headers.put("x-b3-spanid", tracer.currentSpan().context().spanIdString());
    headers.put("x-b3-parentspanid", tracer.currentSpan().context().parentIdString());
    headers.put("x-b3-sampled", tracer.currentSpan().context().sampled().toString());
    return headers;
}

I'd suggest using the Propagator bean instead of setting the headers manually.
It would be sth like this

@Autowired Propagator propagator;
@Autowired Tracer tracer;

propagator.inject(tracer.currentSpan().context(), headers, carrier, key, value -> header.put(key, value));

that way regardless of the chosen propagation mechanism this will work


Android Basics issue:

https://developer.android.com/codelabs/android-basics-kotlin-write-instrumentation-tests?authuser=1&continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-kotlin-unit-2-pathway-2%3Fauthuser%3D1%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fandroid-basics-kotlin-write-instrumentation-tests
Writing Instrumentation Tests in getting user input in Android Basics Layout section
In the 4th part Write Your first instrumentation test, the 4th point says to create a function 'calculate_20_percent_tip()' but the actually created function is 'calculate_default_tip' as given in solution code below.
Versions
Android Studio version:
API version of the emulator:

@Akshat0102
Thank you for reaching out to us. The issue is fixed and will be published soon.


Can not give double quotation to command like find.exe

This problem occurs the trouble like #218 .

Done!


Need help with MLP tuning

I am trying to train a simple MLP model for sentiment analysis using the IMDB dataset in MXNet.  I tried to duplicate the same MLP design and used the same hyper-parameters as the keras example in the link below.  However, my MXNet version does not seem to learn.  The training accuracy was always stuck around 50%, whereas the keras sample (using Tensorflow backend) produced an accuracy of 89%.
http://machinelearningmastery.com/predict-sentiment-movie-reviews-using-deep-learning/
My network has the following configurations and layers:
Data->Embedding->Flatten->FullConnected(250 hidden neurons)->Activation(ReLU)->FullConnected(1 hidden neuron)->LogisticRegressionOutput
Optimizer: adam
learning rate: 0.1
number of epochs: 10
Appreciate any help on this

Des SoftmaxOutput work well?
Maybe you can change your Network:
FullConnected(2 hidden unit)->SoftmaxOutput
https://github.com/dmlc/mxnet/issues/3355

@marugari,  thanks for your feedback.  Just tried SoftmaxOutput and it worked.   Any idea why LogisticRegressionOutput would not work in this case?

@marugari Thanks again!  I am closing this issue.

The solution is to create a custom metric with a defined threshold. In this example, I set the threshold to 0.5.
import mxnet as mx
import numpy as np
import logging
import sys
logging.basicConfig(stream = sys.stdout, level = logging.DEBUG)

data = np.random.random((1000, 100))
label = np.random.randint(2, size = (1000, 1))

train_iter = mx.io.NDArrayIter(data = data,
                               label = label,
                               data_name = 'data',
                               label_name = 'label',
                               batch_size = 32,
                               shuffle = True)

data = mx.symbol.Variable('data')
label = mx.symbol.Variable('label')
fc1 = mx.symbol.FullyConnected(data = data, num_hidden = 32)
act = mx.symbol.Activation(data = fc1, act_type = 'relu')
fc2 = mx.symbol.FullyConnected(data = act, num_hidden = 1)
logits = mx.symbol.LogisticRegressionOutput(data = fc2, label = label)

# Custom metric with threshold set to 0.5
metric = mx.metric.CustomMetric(feval = lambda labels, pred: ((pred > 0.5) == labels).mean(),
                                name = "acc")

model = mx.mod.Module(symbol = logits,
                      data_names = ['data'],
                      label_names = ['label'],
                      context = mx.gpu(0))

model.fit(train_data = train_iter,
          optimizer = 'rmsprop',
          eval_metric = metric,
          num_epoch = 10)

INFO:root:Epoch[0] Train-acc=0.498047
INFO:root:Epoch[0] Time cost=0.049
INFO:root:Epoch[1] Train-acc=0.517578
INFO:root:Epoch[1] Time cost=0.040
INFO:root:Epoch[2] Train-acc=0.535156
INFO:root:Epoch[2] Time cost=0.035
INFO:root:Epoch[3] Train-acc=0.556641
INFO:root:Epoch[3] Time cost=0.039
INFO:root:Epoch[4] Train-acc=0.590820
INFO:root:Epoch[4] Time cost=0.039
INFO:root:Epoch[5] Train-acc=0.604492
INFO:root:Epoch[5] Time cost=0.035
INFO:root:Epoch[6] Train-acc=0.603516
INFO:root:Epoch[6] Time cost=0.032
INFO:root:Epoch[7] Train-acc=0.611328
INFO:root:Epoch[7] Time cost=0.029
INFO:root:Epoch[8] Train-acc=0.610352
INFO:root:Epoch[8] Time cost=0.026
INFO:root:Epoch[9] Train-acc=0.620117
INFO:root:Epoch[9] Time cost=0.026


Icon request: AdvCash

URL of the site or app (required): https://advcash.com/
Logo resources for the icon (optional): https://seeklogo.com/vector-logo/404183/advcash / https://worldvectorlogo.com/logo/advcash

Here you go!
https://github.com/aegis-icons/aegis-icons/blob/master/SVG/Advcash.svg

❓ How to add icon(s) to Aegis?
⭐ Support this project by giving a star! Just adding like to this comment is also appreciated.


Teachertube

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I remove or skip any mandatory* field

Checklist

[X] I'm reporting a new site support request
[X] I've verified that I'm running yt-dlp version 2023.01.06 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that none of provided URLs violate any copyrights or contain any DRM to the best of my knowledge
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[ ] I've read about sharing account credentials and am willing to share it if required

Region
U.S.
Example URLs

https://www.teachertube.com/videos/graphing-quadratic-inequalities-on-desmos-507405

Provide a description that is worded well enough to be understood
Teachertube seems like a very simple site. They link to the mp4 file in the html:
<video id="video1_html5_api" class="vjs-tech" preload="auto" poster="https://cdn.teachertube.com//uploads/videos/2021/10/04/507405/desmos-_-graphing-calculator000.jpg" tabindex="-1" src="https://cdn.teachertube.com//uploads/videos/2021/10/04/507405/desmos-_-graphing-calculator.mp4">

<source type="video/mp4" src="https://cdn.teachertube.com//uploads/videos/2021/10/04/507405/desmos-_-graphing-calculator.mp4"></video>

Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
[debug] Command-line config: ['-vU', 'https://www.teachertube.com/videos/graphing-quadratic-inequalities-on-desmos-507405']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2023.01.06 [6becd25] (win_exe)
[debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.19045-SP0 (OpenSSL 1.1.1k  25 Mar 2021)
[debug] exe versions: ffmpeg 5.0.1-essentials_build-www.gyan.dev (setts), ffprobe 5.0.1-essentials_build-www.gyan.dev
[debug] Optional libraries: Cryptodome-3.16.0, brotli-1.0.9, certifi-2022.12.07, mutagen-1.46.0, sqlite3-2.6.0, websockets-10.4
[debug] Proxy map: {}
[debug] Loaded 1760 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: 2023.01.06, Current version: 2023.01.06
yt-dlp is up to date (2023.01.06)
[generic] Extracting URL: https://www.teachertube.com/videos/graphing-quadratic-inequalities-on-desmos-507405
[generic] graphing-quadratic-inequalities-on-desmos-507405: Downloading webpage
WARNING: [generic] Falling back on generic information extractor
[generic] graphing-quadratic-inequalities-on-desmos-507405: Extracting information
[debug] Looking for embeds
ERROR: Unsupported URL: https://www.teachertube.com/videos/graphing-quadratic-inequalities-on-desmos-507405
Traceback (most recent call last):
  File "yt_dlp\YoutubeDL.py", line 1502, in wrapper
  File "yt_dlp\YoutubeDL.py", line 1578, in __extract_info
  File "yt_dlp\extractor\common.py", line 680, in extract
  File "yt_dlp\extractor\generic.py", line 2523, in _real_extract
yt_dlp.utils.UnsupportedError: Unsupported URL: https://www.teachertube.com/videos/graphing-quadratic-inequalities-on-desmos-507405

There already is an extractor for this site, but it apparently needs to be rewritten since the site has changed significantly.
Note for devs: The <video> and <source> tags mentioned in the OP are actually rendered by JS, but the script is inlined in the html, so the mp4 URL can still be found in the webpage


feat:create new login page and implement some auth works

Feature Request - Implement Login Page and Authentication in FastAPI
Description
Summary
I propose the addition of a new login page and the implementation of authentication and authorization features in our existing FastAPI project. This feature is essential for enhancing the security and user experience of our application.
Feature Details
1. Login Page:

Create a user-friendly login page where users can enter their credentials (e.g., username and password) to access the application.
Implement validation and error handling for login attempts, providing informative feedback to users.

2. Authentication:

Integrate authentication mechanisms (e.g., JWT tokens) to secure our API endpoints.
Verify user identity during login and generate tokens for authenticated sessions.
Implement token validation to prevent unauthorized access to protected routes.

3. Authorization:

Define role-based or permission-based authorization policies.
Ensure that users can only access resources and perform actions that they are authorized to.
Implement middleware or decorators to enforce authorization checks on API endpoints.

Use Cases

Secure access to sensitive user data and actions within our application.
Ensure that only authenticated and authorized users can perform specific operations.
Enhance the overall security of our FastAPI backend.

Contributor Information

GitHub Username: iwint
Email<EMAIL_ADDRESS>
Additional Comments
I'm excited to propose the addition of a login page and the implementation of authentication and authorization features to our FastAPI project. These enhancements will greatly benefit the security and functionality of our application. I look forward to discussions and collaboration on this feature request.

@iwint ?


Grouping jobs for multiple wildcard values of the same rule

Is your feature request related to a problem? Please describe.
I am running snakemake workflows in which I have hundreds of values for my wildcards. For each of those wildcards, I have rules that don't take too much time to complete. I am using a cluster for executing my jobs, so submitting hundreds or thousands of pretty small jobs results in large queuing overhead.
Describe the solution you'd like
I would like to be able to tell snakemake to group N values of a given wildcard into a single job.
Describe alternatives you've considered
I don't have any other solution except for submitting each job separately, which is the problem.
Additional context
Not applicable.

This is still open for improvement and I think is on the roadmap to simplify grouping in this context.  The solution presented here is basically what I do.  You have to create a series of anonymous rules to create temp output files for each batch of files.  Rules that utilize the output of your short jobs also have to use the temp output files as input to enforce the grouping.
In the following graph, the purple nodes are the small jobs you actually want to group in batches.  The blue nodes are rules as defined in bitbucket issue 967, and the grey node is the next step.

As mentioned, it's clunky but it works and is better than lots of tiny jobs.

Related to issue #116

@troycomi It looks like the bitbucket issues are no longer public. Is this a good example of how to accomplish this today?
ALL_SAMPLES = ["a", "b", "c", "d", "e"]
rule target:
    input:
        "output/aggregated.out"

rule make_inputs:
    output:
        "samples/{sample}"
    shell:
        "echo {wildcards.sample} > {output}"

def chunks(lst, n):
    """Yield successive n-sized chunks from lst."""
    for i in range(0, len(lst), n):
        yield lst[i:i + n]

for i, chunk in enumerate(chunks(ALL_SAMPLES, 2)):
    rule:
        input:
            expand("samples/{sample}", sample=chunk)
        output:
            expand("output/samples/{sample}.processed", sample=chunk),
            touch("output/chunkrule_{:0>4d}".format(i))
        shell:
            "for i in {input}; do cat $i > output/$i.processed; done"

rule downstream:
    input:
        "output/samples/{sample}.processed"
    output:
        "output/samples/{sample}.processed.more"
    shell:
        "cat {input} > {output}"

rule aggregate:
    input:
        expand("output/samples/{sample}.processed.more", sample=ALL_SAMPLES)
    output:
        "output/aggregated.out"
    shell:
        "cat {input} > {output}"

I updated my answer with sample code.  Thanks for pointing out the broken link!


Feat: FusedMatMul

Implement FusedMatMul operator.

There is no reference for FusedMatMul on the ONNX operator's page.

Thanks this operator has been deprecated


Routes.yaml validation breaks uploader

Upload function is broken after an error has occurred. You can choose a file, but then no progress indicator, nothing happens - after hard refresh it works again and could upload the fixed file
firefox, latest ghost release running local

Actually this is unrelated to the error and also happens after a successful upload... seems like it might be related to the "success" state reset on the button?


Re-enable auth tests now that auth is complete

Passwords also have to be quoted due to some recent scanner changes.

@dgnorton

lgtm

Thanks @dgnorton -- merging now.


JD2017 PC

Can i use the same PC to play and use the software? Or i need a second PC?

Yes you can run it on the same PC. Make sure you apply this change first: https://github.com/redphx/joydance/issues/3#issuecomment-1101087415


Hb finegrained runtime cello

Yes, I left the original tests untouched and you can use any method you prefer. You can use mk/benchmark_template.mk with a few modifications and that would put the entire flow in replicant.

Sweet. Do you want to hit "merge"?

with pleasure


category load failed: firewall issue

i get this error when running the app, as outlined in #39. sorry to open a new issue, i don't know what the correct process is to re-open the closed one, or whatever.
Category Load Failed: Dio Error [DioErrorType.DEFAULT]: SocketException: OS Error: Connection refused, errno = 111, address = nextcloud.myserver.org, port = random-port-number
i know there are other issues opened and closed regarding category load failures, but they are related to missing photos or files, and the clue to this one is right there in the error message: "Connection refused"
if i disable the firewall on my server the app works fine. i am guessing the app connects and authenticates via port 443, then wants to create a socket on one of the ephemeral ports (32768-65535) but fails. the firewall is configured to allow established, related so i don't see why this won't work.
thanks again for the hard work teifun2, the app looked great while i had my firewall down! lol. sorry it took me so long to get back here with more troubleshooting info.
-UPDATE-
ok the issue was with rate-limiting https connections on my firewall. not an issue with the app, unless it is slightly flooding the server. this is likely OT and please excuse me for raising the issue incorrectly if that is the case. once again, great app teifun2!

@winst0nsmith Thanks for investigating further. I already had someone else talking about a slight excess of HTTP connections that are used by the app. Currently i have no idea how to fix that because all the "requests" i do are done by high level libraries that do not allow me to reuse the same session for multiple requests.
I hope this is working fine for you now, and thanks for your kind words! 😄


Add anant's keys

Please add my keys.

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

please test this

@anantkaushik89 You weren't part of the Jiocloud org members, hence please test this didn't work for you.
@anshprat Think we need to whitelist this PR as it was submitted before adding anant to Jiocloud team. Would you take a look please?

@mayankkapoor I dont ve permission to whitelist, think only @sorenh does.
@mayankkapoor also, with the new github changes, invite to team has changed. I can no longer invite folks, only admins can. Or people can request themselves to join teams and then admin approves.
@anantkaushik89 I would suggest sending a request to join the team at https://github.com/orgs/JioCloud/people and once its approved, reopen this PR (unless its whiteliste before joining)

@mayankkapoor, @anshprat  thankyou for the update. I have now been added to the Jiocloud org members by @mayankkapoor. Should I again run the test command? How to reopen this PR?

close this PR and open a new one.


Change the community dev role colour

The community dev role colour
A description of the issue:
The community dev colour is a boring and bland dark green resembling the contents of a swamp. To better represent the contributions devs make to the community, it should be changed.
Proposed Solution:
Change to a better colour (For example, light turquoise, I'm open to suggestions)

#7e57e5 is a nice purple but may conflict with vet 2019

To mirror my comment in #256, if the community can agree a colour then we're happy to change it.

This issue is fairly inactive now, unfortunately, but if the devs can agree on a colour and PR it, I'm happy to approve it!


Getting io.grpc.StatusRuntimeException: PERMISSION_DENIED: Access Denied for EventStoreDBPersistentSubscriptionsClient

Hi,
I am trying to create a persistent subscription to a stream using EventStoreDBPersistentSubscriptionsClient, but it's throwing the exception io.grpc.StatusRuntimeException: PERMISSION_DENIED: Access Denied.
My code:
EventStoreDBClientSettings settings = new ConnectionSettingsBuilder()
                .addHost(new Endpoint(config.getHost(), config.getPort()))
                .defaultCredentials(config.getUsername(), config.getPassword())
                .tls(config.isTls())
                .nodePreference(NodePreference.LEADER)
                .buildConnectionSettings();

EventStoreDBPersistentSubscriptionsClient persistentSubsClient = EventStoreDBPersistentSubscriptionsClient.create(settings);

PersistentSubscriptionSettings persistenceSettings = PersistentSubscriptionSettings.builder().resolveLinks(true)
                .enableExtraStatistics()
                .enableLinkResolution()
                .maxRetryCount(100)
                .build();

CreatePersistentSubscriptionOptions createOptions = CreatePersistentSubscriptionOptions.get().settings(persistenceSettings)
                .authenticated(credentials);
persistentSubsClient.create(streamName, group, createOptions).get();

I am also using EventStoreDBClient which is connecting successfully to the server using the following code:
EventStoreDBClientSettings settings = new ConnectionSettingsBuilder()
                .addHost(new Endpoint(config.getHost(), config.getPort()))
                .defaultCredentials(config.getUsername(), config.getPassword())
                .tls(config.isTls())
                .nodePreference(NodePreference.LEADER)
                .buildConnectionSettings();
EventStoreDBClient storeDBClient = EventStoreDBClient.create(settings);

CompletableFuture<WriteResult> completableFuture = storeDBClient.appendToStream(streamName, event);

List<ResolvedEvent> resolvedEvents = storeDBClient.readStream(streamName, 100, options).get().getEvents();

StackTrace:
io.grpc.StatusRuntimeException: PERMISSION_DENIED: Access Denied
	at io.grpc.StatusRuntimeException.fillInStackTrace(StatusRuntimeException.java:68)
	at io.grpc.StatusRuntimeException.<init>(StatusRuntimeException.java:58)
	at io.grpc.StatusRuntimeException.<init>(StatusRuntimeException.java:50)
	at io.grpc.Status.asRuntimeException(Status.java:533)
	at io.grpc.stub.ClientCalls$StreamObserverToCallListenerAdapter.onClose(ClientCalls.java:478)
	at io.grpc.internal.ClientCallImpl.closeObserver(ClientCallImpl.java:617)
	at io.grpc.internal.ClientCallImpl.access$300(ClientCallImpl.java:70)
	at io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$1StreamClosed.runInternal(ClientCallImpl.java:803)
	at io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$1StreamClosed.runInContext(ClientCallImpl.java:782)
	at io.grpc.internal.ContextRunnable.run(ContextRunnable.java:37)
	at io.grpc.internal.SerializingExecutor.run(SerializingExecutor.java:123)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:834)

I'm using the following dependency:
<dependency>
            <groupId>com.eventstore</groupId>
            <artifactId>db-client-java</artifactId>
            <version>0.6</version>
</dependency>

This is expected behaviour if you try to create a persistent subscription and the logged user doesn't have an admin role.

This is expected behaviour if you try to create a persistent subscription and the logged user doesn't have an admin role.

@YoEight I'm using admin user credentials

@YoEight I'm using admin user credentials

According to your code, when creating your persistent subscription, you use a default credentials and another credentials at the command level. In both cases, are you using the same credentials?

According to your code, when creating your persistent subscription, you use a default credentials and another credentials at the command level. In both cases, are you using the same credentials?

@YoEight yes, I'm using the same credentials.
Do I need to pass the credentials at the command level or just passing the PersistentSubscriptionSettings will work?

@YoEight yes, I'm using the same credentials.
Do I need to pass the credentials at the command level or just passing the PersistentSubscriptionSettings will work?

I would recommend using credentials at the command level to only override whatever configuration you have globally.
What is the stream you try to create a persistent subscription on?
Are you sure you entered the credentials correctly?
What version of the server you are using?

I would recommend using credentials at the command level to only override whatever configuration you have globally.
What is the stream you try to create a persistent subscription on?
Are you sure you entered the credentials correctly?
What version of the server you are using?

@YoEight We are creating our own stream.
Yes, I'm entering the correct credentials.
We're using server version <IP_ADDRESS>

@YoEight We are creating our own stream.
Yes, I'm entering the correct credentials.
We're using server version <IP_ADDRESS>

I'm unable to reproduce this behaviour but I still got questions.
When you try to create your persistent subscription, do you see a line in the server log resembling something like this:
Failed authorization check for {identity} in {duration} with {evaluationResult}

?
Did you change the default ACLs in your cluster?
When creating a persistent subscription, the authenticated user needs to also have read access on the target stream.

I'm unable to reproduce this behaviour but I still got questions.
When you try to create your persistent subscription, do you see a line in the server log resembling something like this:
Failed authorization check for {identity} in {duration} with {evaluationResult}

?
Did you change the default ACLs in your cluster?
When creating a persistent subscription, the authenticated user needs to also have read access on the target stream.


Bug in multiplicative_isotropic_cutoff

Unless I'm missing something, in the implementation of multiplicative_isotropic_cutoff, the function smooth_fn(dr) assumes that dr is an (N,N) array of distances, not an (N,N,d) array of displacements. However, when it's passed to, for example, smap.pair, it gets passed an (N,N,d) array of displacements. The solution is to change
def cutoff_fn(dr, *args, **kwargs):
    return smooth_fn(dr) * fn(dr, *args, **kwargs)

to
def cutoff_fn(dR, *args, **kwargs):
    dr = space.distance(dR)
    return smooth_fn(dr) * fn(dr, *args, **kwargs)

at line 232 of energy.py

Indeed multiplicative_isotropic_cutoff expects an (N, N) array of distances. In general, if you look at the implementation for e.g. lennard_jones_pair you will notice a call to canonicalize_displacement_or_metric which ensures that lennard_jones gets smap'd using a metric function as opposed to a displacement function (in general smap.pair can take either a displacement_fn or a metric_fn).
Having said this, I do think something like you're describing sounds very reasonable. I might prefer to add a check to see what is being passed to the smoothing function at line 218. I'll likely add this and followup here.


Looks like gem version (ruby gems) 1.1.0 is outdated.

Looks like gem version (ruby gems) 1.1.0 is outdated. It does not support indexes and was built in Dec'2015. Can we update the gem?

This causes another issue like #78. I hope to be updated too.

Is this gem is maintained anymore?

2 new maintainers were added 3 days ago, and we are working on a new version.  It did go through a period of almost-no-maintenance though.
Assistance is certainly welcome!  Right now I am struggling with getting Travis passing.  It seems to be a very fickle build.

Hi @pboling I deal with it a time ago, and I was able to narrow down to an issue on some memory limitations on the travis-ci VMs, I mention them in this other PR #77 and I'm happy to help on anything I can or if it's useful?
Let me know how do you want to do that?

@cavi21 thanks!  Peter and I are the two new maintainers, but I haven't had a chance to do much yet...  @pboling do you think we can resolve the #77 test issues soon and should wait a few days for a release to include that, or perhaps just release current master as 1.2.0 and include #77 when ready as 1.2.1 perhaps?

Test issues are resolved.  Version 1.2.0 is released.


I am a novice user and don't know how to get the program up on my computer

I have downloaded the files, they are on my computer, but I can't seem to find the actual application file to launch the program.  What is it's name and how do I get it to open up?  I have searched for an .exe file and in the program file but that's not the answer...Thank you in advance for your help!  I am a medical student and could really use this!!!

Hi there,
There  should be an OpenCards.exe in the program  directory. But since it does not come with an installer yet, you need to unzip the deployment bundle first.
Best,
Holger
On 3/21/2019 11:16:52 PM, mbormett1<EMAIL_ADDRESS>wrote:
I have downloaded the files, they are on my computer, but I can't seem to find the actual application file to launch the program. What is it's name and how do I get it to open up? I have searched for an .exe file and in the program file but that's not the answer...Thank you in advance for your help! I am a medical student and could really use this!!!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub [https://github.com/holgerbrandl/opencards/issues/50], or mute the thread [https://github.com/notifications/unsubscribe-auth/AAMQ-EDqn3jN2kRd6Sh0aJ8RLhB_9FPuks5vZATTgaJpZM4cCerc].

Thank you!...which program should I download for Mac?
Get Outlook for iOShttps://aka.ms/o0ukef

From: Holger Brandl<EMAIL_ADDRESS>Sent: Thursday, March 21, 2019 6:48 PM
To: holgerbrandl/opencards
Cc: MaryEllen M. Williams; Author
Subject: [EXTERNAL] Re: [holgerbrandl/opencards] I am a novice user and don't know how to get the program up on my computer (#50)
Hi there,
There  should be an OpenCards.exe in the program  directory. But since it does not come with an installer yet, you need to unzip the deployment bundle first.
Best,
Holger
On 3/21/2019 11:16:52 PM, mbormett1<EMAIL_ADDRESS>wrote:
I have downloaded the files, they are on my computer, but I can't seem to find the actual application file to launch the program. What is it's name and how do I get it to open up? I have searched for an .exe file and in the program file but that's not the answer...Thank you in advance for your help! I am a medical student and could really use this!!!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub [https://github.com/holgerbrandl/opencards/issues/50], or mute the thread [https://github.com/notifications/unsubscribe-auth/AAMQ-EDqn3jN2kRd6Sh0aJ8RLhB_9FPuks5vZATTgaJpZM4cCerc].
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_holgerbrandl_opencards_issues_50-23issuecomment-2D475431753&d=DwMFaQ&c=rhXotFx3UTYAnEG06vzqqw&r=oVNDJWQL6USoju79wfXQP7S-X0KbXgeCT-UAVDsc8A4&m=8cxkmt0C_V7OtyOFnUcEf2B77pDDtpJwskqgch97Zak&s=ORoiY7FI_4M5YkyfNPGukV2rhrT1Ki81k6J2__jKlMI&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_Auct7MPceC-2Drbd8ZLvg5tbn6XVccMYZoks5vZAwlgaJpZM4cCerc&d=DwMFaQ&c=rhXotFx3UTYAnEG06vzqqw&r=oVNDJWQL6USoju79wfXQP7S-X0KbXgeCT-UAVDsc8A4&m=8cxkmt0C_V7OtyOFnUcEf2B77pDDtpJwskqgch97Zak&s=cT2McSmd7okHVSUpuIGv50BKQMkxH3JbzFVXijp6BWs&e=.

The dmg image (as always for macos)
On 3/21/2019 11:58:43 PM, mbormett1<EMAIL_ADDRESS>wrote:
Thank you!...which program should I download for Mac?
Get Outlook for iOShttps://aka.ms/o0ukef

From: Holger Brandl<EMAIL_ADDRESS>Sent: Thursday, March 21, 2019 6:48 PM
To: holgerbrandl/opencards
Cc: MaryEllen M. Williams; Author
Subject: [EXTERNAL] Re: [holgerbrandl/opencards] I am a novice user and don't know how to get the program up on my computer (#50)
Hi there,
There should be an OpenCards.exe in the program directory. But since it does not come with an installer yet, you need to unzip the deployment bundle first.
Best,
Holger
On 3/21/2019 11:16:52 PM, mbormett1<EMAIL_ADDRESS>wrote:
I have downloaded the files, they are on my computer, but I can't seem to find the actual application file to launch the program. What is it's name and how do I get it to open up? I have searched for an .exe file and in the program file but that's not the answer...Thank you in advance for your help! I am a medical student and could really use this!!!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub [https://github.com/holgerbrandl/opencards/issues/50], or mute the thread [https://github.com/notifications/unsubscribe-auth/AAMQ-EDqn3jN2kRd6Sh0aJ8RLhB_9FPuks5vZATTgaJpZM4cCerc].
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_holgerbrandl_opencards_issues_50-23issuecomment-2D475431753&d=DwMFaQ&c=rhXotFx3UTYAnEG06vzqqw&r=oVNDJWQL6USoju79wfXQP7S-X0KbXgeCT-UAVDsc8A4&m=8cxkmt0C_V7OtyOFnUcEf2B77pDDtpJwskqgch97Zak&s=ORoiY7FI_4M5YkyfNPGukV2rhrT1Ki81k6J2__jKlMI&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_Auct7MPceC-2Drbd8ZLvg5tbn6XVccMYZoks5vZAwlgaJpZM4cCerc&d=DwMFaQ&c=rhXotFx3UTYAnEG06vzqqw&r=oVNDJWQL6USoju79wfXQP7S-X0KbXgeCT-UAVDsc8A4&m=8cxkmt0C_V7OtyOFnUcEf2B77pDDtpJwskqgch97Zak&s=cT2McSmd7okHVSUpuIGv50BKQMkxH3JbzFVXijp6BWs&e=.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub [https://github.com/holgerbrandl/opencards/issues/50#issuecomment-475434191], or mute the thread [https://github.com/notifications/unsubscribe-auth/AAMQ-EKF0dvQ9H7_f6CFi52K4q1jD1sbks5vZA6ggaJpZM4cCerc].

Thanks. I really appreciate it...have never used open sources before...like I said novice!
Get Outlook for iOShttps://aka.ms/o0ukef

From: Holger Brandl<EMAIL_ADDRESS>Sent: Thursday, March 21, 2019 7:00 PM
To: holgerbrandl/opencards
Cc: MaryEllen M. Williams; Author
Subject: [EXTERNAL] Re: [holgerbrandl/opencards] I am a novice user and don't know how to get the program up on my computer (#50)
The dmg image (as always for macos)
On 3/21/2019 11:58:43 PM, mbormett1<EMAIL_ADDRESS>wrote:
Thank you!...which program should I download for Mac?
Get Outlook for iOShttps://aka.ms/o0ukef

From: Holger Brandl<EMAIL_ADDRESS>Sent: Thursday, March 21, 2019 6:48 PM
To: holgerbrandl/opencards
Cc: MaryEllen M. Williams; Author
Subject: [EXTERNAL] Re: [holgerbrandl/opencards] I am a novice user and don't know how to get the program up on my computer (#50)
Hi there,
There should be an OpenCards.exe in the program directory. But since it does not come with an installer yet, you need to unzip the deployment bundle first.
Best,
Holger
On 3/21/2019 11:16:52 PM, mbormett1<EMAIL_ADDRESS>wrote:
I have downloaded the files, they are on my computer, but I can't seem to find the actual application file to launch the program. What is it's name and how do I get it to open up? I have searched for an .exe file and in the program file but that's not the answer...Thank you in advance for your help! I am a medical student and could really use this!!!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub [https://github.com/holgerbrandl/opencards/issues/50], or mute the thread [https://github.com/notifications/unsubscribe-auth/AAMQ-EDqn3jN2kRd6Sh0aJ8RLhB_9FPuks5vZATTgaJpZM4cCerc].
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_holgerbrandl_opencards_issues_50-23issuecomment-2D475431753&d=DwMFaQ&c=rhXotFx3UTYAnEG06vzqqw&r=oVNDJWQL6USoju79wfXQP7S-X0KbXgeCT-UAVDsc8A4&m=8cxkmt0C_V7OtyOFnUcEf2B77pDDtpJwskqgch97Zak&s=ORoiY7FI_4M5YkyfNPGukV2rhrT1Ki81k6J2__jKlMI&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_Auct7MPceC-2Drbd8ZLvg5tbn6XVccMYZoks5vZAwlgaJpZM4cCerc&d=DwMFaQ&c=rhXotFx3UTYAnEG06vzqqw&r=oVNDJWQL6USoju79wfXQP7S-X0KbXgeCT-UAVDsc8A4&m=8cxkmt0C_V7OtyOFnUcEf2B77pDDtpJwskqgch97Zak&s=cT2McSmd7okHVSUpuIGv50BKQMkxH3JbzFVXijp6BWs&e=.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub [https://github.com/holgerbrandl/opencards/issues/50#issuecomment-475434191], or mute the thread [https://github.com/notifications/unsubscribe-auth/AAMQ-EKF0dvQ9H7_f6CFi52K4q1jD1sbks5vZA6ggaJpZM4cCerc].
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_holgerbrandl_opencards_issues_50-23issuecomment-2D475434544&d=DwMFaQ&c=rhXotFx3UTYAnEG06vzqqw&r=oVNDJWQL6USoju79wfXQP7S-X0KbXgeCT-UAVDsc8A4&m=uM_9x72YlDUqSFX5VO5X7hJuOAhZJtdgk9waKos3S14&s=q9n7_zo-LKkRK7z8zbMlUiU3aWXB6K0AvW_5RWzSkYY&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_Auct7L9b9Dt-2Dngj8B-2DdSk5U1jiezg6nrks5vZA77gaJpZM4cCerc&d=DwMFaQ&c=rhXotFx3UTYAnEG06vzqqw&r=oVNDJWQL6USoju79wfXQP7S-X0KbXgeCT-UAVDsc8A4&m=uM_9x72YlDUqSFX5VO5X7hJuOAhZJtdgk9waKos3S14&s=YXqfqWmbmxEu1u_dTPp6v_aqno-l1Eeg3vbrlTw7pGc&e=.

Your're welcome!
best
Holger
On 3/22/2019 12:01:22 AM, mbormett1<EMAIL_ADDRESS>wrote:
Thanks. I really appreciate it...have never used open sources before...like I said novice!
Get Outlook for iOShttps://aka.ms/o0ukef

From: Holger Brandl<EMAIL_ADDRESS>Sent: Thursday, March 21, 2019 7:00 PM
To: holgerbrandl/opencards
Cc: MaryEllen M. Williams; Author
Subject: [EXTERNAL] Re: [holgerbrandl/opencards] I am a novice user and don't know how to get the program up on my computer (#50)
The dmg image (as always for macos)
On 3/21/2019 11:58:43 PM, mbormett1<EMAIL_ADDRESS>wrote:
Thank you!...which program should I download for Mac?
Get Outlook for iOShttps://aka.ms/o0ukef

From: Holger Brandl<EMAIL_ADDRESS>Sent: Thursday, March 21, 2019 6:48 PM
To: holgerbrandl/opencards
Cc: MaryEllen M. Williams; Author
Subject: [EXTERNAL] Re: [holgerbrandl/opencards] I am a novice user and don't know how to get the program up on my computer (#50)
Hi there,
There should be an OpenCards.exe in the program directory. But since it does not come with an installer yet, you need to unzip the deployment bundle first.
Best,
Holger
On 3/21/2019 11:16:52 PM, mbormett1<EMAIL_ADDRESS>wrote:
I have downloaded the files, they are on my computer, but I can't seem to find the actual application file to launch the program. What is it's name and how do I get it to open up? I have searched for an .exe file and in the program file but that's not the answer...Thank you in advance for your help! I am a medical student and could really use this!!!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub [https://github.com/holgerbrandl/opencards/issues/50], or mute the thread [https://github.com/notifications/unsubscribe-auth/AAMQ-EDqn3jN2kRd6Sh0aJ8RLhB_9FPuks5vZATTgaJpZM4cCerc].
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_holgerbrandl_opencards_issues_50-23issuecomment-2D475431753&d=DwMFaQ&c=rhXotFx3UTYAnEG06vzqqw&r=oVNDJWQL6USoju79wfXQP7S-X0KbXgeCT-UAVDsc8A4&m=8cxkmt0C_V7OtyOFnUcEf2B77pDDtpJwskqgch97Zak&s=ORoiY7FI_4M5YkyfNPGukV2rhrT1Ki81k6J2__jKlMI&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_Auct7MPceC-2Drbd8ZLvg5tbn6XVccMYZoks5vZAwlgaJpZM4cCerc&d=DwMFaQ&c=rhXotFx3UTYAnEG06vzqqw&r=oVNDJWQL6USoju79wfXQP7S-X0KbXgeCT-UAVDsc8A4&m=8cxkmt0C_V7OtyOFnUcEf2B77pDDtpJwskqgch97Zak&s=cT2McSmd7okHVSUpuIGv50BKQMkxH3JbzFVXijp6BWs&e=.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub [https://github.com/holgerbrandl/opencards/issues/50#issuecomment-475434191], or mute the thread [https://github.com/notifications/unsubscribe-auth/AAMQ-EKF0dvQ9H7_f6CFi52K4q1jD1sbks5vZA6ggaJpZM4cCerc].
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_holgerbrandl_opencards_issues_50-23issuecomment-2D475434544&d=DwMFaQ&c=rhXotFx3UTYAnEG06vzqqw&r=oVNDJWQL6USoju79wfXQP7S-X0KbXgeCT-UAVDsc8A4&m=uM_9x72YlDUqSFX5VO5X7hJuOAhZJtdgk9waKos3S14&s=q9n7_zo-LKkRK7z8zbMlUiU3aWXB6K0AvW_5RWzSkYY&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_Auct7L9b9Dt-2Dngj8B-2DdSk5U1jiezg6nrks5vZA77gaJpZM4cCerc&d=DwMFaQ&c=rhXotFx3UTYAnEG06vzqqw&r=oVNDJWQL6USoju79wfXQP7S-X0KbXgeCT-UAVDsc8A4&m=uM_9x72YlDUqSFX5VO5X7hJuOAhZJtdgk9waKos3S14&s=YXqfqWmbmxEu1u_dTPp6v_aqno-l1Eeg3vbrlTw7pGc&e=.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub [https://github.com/holgerbrandl/opencards/issues/50#issuecomment-475434827], or mute the thread [https://github.com/notifications/unsubscribe-auth/AAMQ-CfSOcS7-jlnZYgp0cfNCuX367v2ks5vZA9BgaJpZM4cCerc].

I am at the Brain with green arrows around it, double click it and I get the error “unable to load Java Runtime Environment”.
Get Outlook for iOShttps://aka.ms/o0ukef

From: Holger Brandl<EMAIL_ADDRESS>Sent: Thursday, March 21, 2019 7:02 PM
To: holgerbrandl/opencards
Cc: MaryEllen M. Williams; Author
Subject: [EXTERNAL] Re: [holgerbrandl/opencards] I am a novice user and don't know how to get the program up on my computer (#50)
Your're welcome!
best
Holger
On 3/22/2019 12:01:22 AM, mbormett1<EMAIL_ADDRESS>wrote:
Thanks. I really appreciate it...have never used open sources before...like I said novice!
Get Outlook for iOShttps://aka.ms/o0ukef

From: Holger Brandl<EMAIL_ADDRESS>Sent: Thursday, March 21, 2019 7:00 PM
To: holgerbrandl/opencards
Cc: MaryEllen M. Williams; Author
Subject: [EXTERNAL] Re: [holgerbrandl/opencards] I am a novice user and don't know how to get the program up on my computer (#50)
The dmg image (as always for macos)
On 3/21/2019 11:58:43 PM, mbormett1<EMAIL_ADDRESS>wrote:
Thank you!...which program should I download for Mac?
Get Outlook for iOShttps://aka.ms/o0ukef

From: Holger Brandl<EMAIL_ADDRESS>Sent: Thursday, March 21, 2019 6:48 PM
To: holgerbrandl/opencards
Cc: MaryEllen M. Williams; Author
Subject: [EXTERNAL] Re: [holgerbrandl/opencards] I am a novice user and don't know how to get the program up on my computer (#50)
Hi there,
There should be an OpenCards.exe in the program directory. But since it does not come with an installer yet, you need to unzip the deployment bundle first.
Best,
Holger
On 3/21/2019 11:16:52 PM, mbormett1<EMAIL_ADDRESS>wrote:
I have downloaded the files, they are on my computer, but I can't seem to find the actual application file to launch the program. What is it's name and how do I get it to open up? I have searched for an .exe file and in the program file but that's not the answer...Thank you in advance for your help! I am a medical student and could really use this!!!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub [https://github.com/holgerbrandl/opencards/issues/50], or mute the thread [https://github.com/notifications/unsubscribe-auth/AAMQ-EDqn3jN2kRd6Sh0aJ8RLhB_9FPuks5vZATTgaJpZM4cCerc].
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_holgerbrandl_opencards_issues_50-23issuecomment-2D475431753&d=DwMFaQ&c=rhXotFx3UTYAnEG06vzqqw&r=oVNDJWQL6USoju79wfXQP7S-X0KbXgeCT-UAVDsc8A4&m=8cxkmt0C_V7OtyOFnUcEf2B77pDDtpJwskqgch97Zak&s=ORoiY7FI_4M5YkyfNPGukV2rhrT1Ki81k6J2__jKlMI&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_Auct7MPceC-2Drbd8ZLvg5tbn6XVccMYZoks5vZAwlgaJpZM4cCerc&d=DwMFaQ&c=rhXotFx3UTYAnEG06vzqqw&r=oVNDJWQL6USoju79wfXQP7S-X0KbXgeCT-UAVDsc8A4&m=8cxkmt0C_V7OtyOFnUcEf2B77pDDtpJwskqgch97Zak&s=cT2McSmd7okHVSUpuIGv50BKQMkxH3JbzFVXijp6BWs&e=.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub [https://github.com/holgerbrandl/opencards/issues/50#issuecomment-475434191], or mute the thread [https://github.com/notifications/unsubscribe-auth/AAMQ-EKF0dvQ9H7_f6CFi52K4q1jD1sbks5vZA6ggaJpZM4cCerc].
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_holgerbrandl_opencards_issues_50-23issuecomment-2D475434544&d=DwMFaQ&c=rhXotFx3UTYAnEG06vzqqw&r=oVNDJWQL6USoju79wfXQP7S-X0KbXgeCT-UAVDsc8A4&m=uM_9x72YlDUqSFX5VO5X7hJuOAhZJtdgk9waKos3S14&s=q9n7_zo-LKkRK7z8zbMlUiU3aWXB6K0AvW_5RWzSkYY&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_Auct7L9b9Dt-2Dngj8B-2DdSk5U1jiezg6nrks5vZA77gaJpZM4cCerc&d=DwMFaQ&c=rhXotFx3UTYAnEG06vzqqw&r=oVNDJWQL6USoju79wfXQP7S-X0KbXgeCT-UAVDsc8A4&m=uM_9x72YlDUqSFX5VO5X7hJuOAhZJtdgk9waKos3S14&s=YXqfqWmbmxEu1u_dTPp6v_aqno-l1Eeg3vbrlTw7pGc&e=.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub [https://github.com/holgerbrandl/opencards/issues/50#issuecomment-475434827], or mute the thread [https://github.com/notifications/unsubscribe-auth/AAMQ-CfSOcS7-jlnZYgp0cfNCuX367v2ks5vZA9BgaJpZM4cCerc].
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_holgerbrandl_opencards_issues_50-23issuecomment-2D475435157&d=DwMFaQ&c=rhXotFx3UTYAnEG06vzqqw&r=oVNDJWQL6USoju79wfXQP7S-X0KbXgeCT-UAVDsc8A4&m=jROl8s5ILhH0SyiDtimS-2b7p5UIZaWCZlk6uWAdBpk&s=XEQyEbf7Y33IgmTwq4nYiYtl4-FPRKgVcgnMGSg8Lto&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_Auct7Kh3-2DWvdWBD4JapRrUfmBtG-2D-2DfB1ks5vZA-2DRgaJpZM4cCerc&d=DwMFaQ&c=rhXotFx3UTYAnEG06vzqqw&r=oVNDJWQL6USoju79wfXQP7S-X0KbXgeCT-UAVDsc8A4&m=jROl8s5ILhH0SyiDtimS-2b7p5UIZaWCZlk6uWAdBpk&s=wgjSh5d7TyRuGOskJU7A51K9l4XmGmAdiCFfMryC35A&e=.

I think I figured it out!!!:-). Thank you!!!
Get Outlook for iOShttps://aka.ms/o0ukef

From: Holger Brandl<EMAIL_ADDRESS>Sent: Thursday, March 21, 2019 7:02 PM
To: holgerbrandl/opencards
Cc: MaryEllen M. Williams; Author
Subject: [EXTERNAL] Re: [holgerbrandl/opencards] I am a novice user and don't know how to get the program up on my computer (#50)
Your're welcome!
best
Holger
On 3/22/2019 12:01:22 AM, mbormett1<EMAIL_ADDRESS>wrote:
Thanks. I really appreciate it...have never used open sources before...like I said novice!
Get Outlook for iOShttps://aka.ms/o0ukef

From: Holger Brandl<EMAIL_ADDRESS>Sent: Thursday, March 21, 2019 7:00 PM
To: holgerbrandl/opencards
Cc: MaryEllen M. Williams; Author
Subject: [EXTERNAL] Re: [holgerbrandl/opencards] I am a novice user and don't know how to get the program up on my computer (#50)
The dmg image (as always for macos)
On 3/21/2019 11:58:43 PM, mbormett1<EMAIL_ADDRESS>wrote:
Thank you!...which program should I download for Mac?
Get Outlook for iOShttps://aka.ms/o0ukef

From: Holger Brandl<EMAIL_ADDRESS>Sent: Thursday, March 21, 2019 6:48 PM
To: holgerbrandl/opencards
Cc: MaryEllen M. Williams; Author
Subject: [EXTERNAL] Re: [holgerbrandl/opencards] I am a novice user and don't know how to get the program up on my computer (#50)
Hi there,
There should be an OpenCards.exe in the program directory. But since it does not come with an installer yet, you need to unzip the deployment bundle first.
Best,
Holger
On 3/21/2019 11:16:52 PM, mbormett1<EMAIL_ADDRESS>wrote:
I have downloaded the files, they are on my computer, but I can't seem to find the actual application file to launch the program. What is it's name and how do I get it to open up? I have searched for an .exe file and in the program file but that's not the answer...Thank you in advance for your help! I am a medical student and could really use this!!!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub [https://github.com/holgerbrandl/opencards/issues/50], or mute the thread [https://github.com/notifications/unsubscribe-auth/AAMQ-EDqn3jN2kRd6Sh0aJ8RLhB_9FPuks5vZATTgaJpZM4cCerc].
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_holgerbrandl_opencards_issues_50-23issuecomment-2D475431753&d=DwMFaQ&c=rhXotFx3UTYAnEG06vzqqw&r=oVNDJWQL6USoju79wfXQP7S-X0KbXgeCT-UAVDsc8A4&m=8cxkmt0C_V7OtyOFnUcEf2B77pDDtpJwskqgch97Zak&s=ORoiY7FI_4M5YkyfNPGukV2rhrT1Ki81k6J2__jKlMI&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_Auct7MPceC-2Drbd8ZLvg5tbn6XVccMYZoks5vZAwlgaJpZM4cCerc&d=DwMFaQ&c=rhXotFx3UTYAnEG06vzqqw&r=oVNDJWQL6USoju79wfXQP7S-X0KbXgeCT-UAVDsc8A4&m=8cxkmt0C_V7OtyOFnUcEf2B77pDDtpJwskqgch97Zak&s=cT2McSmd7okHVSUpuIGv50BKQMkxH3JbzFVXijp6BWs&e=.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub [https://github.com/holgerbrandl/opencards/issues/50#issuecomment-475434191], or mute the thread [https://github.com/notifications/unsubscribe-auth/AAMQ-EKF0dvQ9H7_f6CFi52K4q1jD1sbks5vZA6ggaJpZM4cCerc].
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_holgerbrandl_opencards_issues_50-23issuecomment-2D475434544&d=DwMFaQ&c=rhXotFx3UTYAnEG06vzqqw&r=oVNDJWQL6USoju79wfXQP7S-X0KbXgeCT-UAVDsc8A4&m=uM_9x72YlDUqSFX5VO5X7hJuOAhZJtdgk9waKos3S14&s=q9n7_zo-LKkRK7z8zbMlUiU3aWXB6K0AvW_5RWzSkYY&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_Auct7L9b9Dt-2Dngj8B-2DdSk5U1jiezg6nrks5vZA77gaJpZM4cCerc&d=DwMFaQ&c=rhXotFx3UTYAnEG06vzqqw&r=oVNDJWQL6USoju79wfXQP7S-X0KbXgeCT-UAVDsc8A4&m=uM_9x72YlDUqSFX5VO5X7hJuOAhZJtdgk9waKos3S14&s=YXqfqWmbmxEu1u_dTPp6v_aqno-l1Eeg3vbrlTw7pGc&e=.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub [https://github.com/holgerbrandl/opencards/issues/50#issuecomment-475434827], or mute the thread [https://github.com/notifications/unsubscribe-auth/AAMQ-CfSOcS7-jlnZYgp0cfNCuX367v2ks5vZA9BgaJpZM4cCerc].
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_holgerbrandl_opencards_issues_50-23issuecomment-2D475435157&d=DwMFaQ&c=rhXotFx3UTYAnEG06vzqqw&r=oVNDJWQL6USoju79wfXQP7S-X0KbXgeCT-UAVDsc8A4&m=jROl8s5ILhH0SyiDtimS-2b7p5UIZaWCZlk6uWAdBpk&s=XEQyEbf7Y33IgmTwq4nYiYtl4-FPRKgVcgnMGSg8Lto&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_Auct7Kh3-2DWvdWBD4JapRrUfmBtG-2D-2DfB1ks5vZA-2DRgaJpZM4cCerc&d=DwMFaQ&c=rhXotFx3UTYAnEG06vzqqw&r=oVNDJWQL6USoju79wfXQP7S-X0KbXgeCT-UAVDsc8A4&m=jROl8s5ILhH0SyiDtimS-2b7p5UIZaWCZlk6uWAdBpk&s=wgjSh5d7TyRuGOskJU7A51K9l4XmGmAdiCFfMryC35A&e=.

It keeps crashing, so I don’t think I can use it.  Thank you for your help though.:-)
Get Outlook for iOShttps://aka.ms/o0ukef

From: MaryEllen M. Williams<EMAIL_ADDRESS>Sent: Thursday, March 21, 2019 7:09 PM
To: holgerbrandl/opencards
Subject: Re: [EXTERNAL] Re: [holgerbrandl/opencards] I am a novice user and don't know how to get the program up on my computer (#50)
I am at the Brain with green arrows around it, double click it and I get the error “unable to load Java Runtime Environment”.
Get Outlook for iOShttps://aka.ms/o0ukef

From: Holger Brandl<EMAIL_ADDRESS>Sent: Thursday, March 21, 2019 7:02 PM
To: holgerbrandl/opencards
Cc: MaryEllen M. Williams; Author
Subject: [EXTERNAL] Re: [holgerbrandl/opencards] I am a novice user and don't know how to get the program up on my computer (#50)
Your're welcome!
best
Holger
On 3/22/2019 12:01:22 AM, mbormett1<EMAIL_ADDRESS>wrote:
Thanks. I really appreciate it...have never used open sources before...like I said novice!
Get Outlook for iOShttps://aka.ms/o0ukef

From: Holger Brandl<EMAIL_ADDRESS>Sent: Thursday, March 21, 2019 7:00 PM
To: holgerbrandl/opencards
Cc: MaryEllen M. Williams; Author
Subject: [EXTERNAL] Re: [holgerbrandl/opencards] I am a novice user and don't know how to get the program up on my computer (#50)
The dmg image (as always for macos)
On 3/21/2019 11:58:43 PM, mbormett1<EMAIL_ADDRESS>wrote:
Thank you!...which program should I download for Mac?
Get Outlook for iOShttps://aka.ms/o0ukef

From: Holger Brandl<EMAIL_ADDRESS>Sent: Thursday, March 21, 2019 6:48 PM
To: holgerbrandl/opencards
Cc: MaryEllen M. Williams; Author
Subject: [EXTERNAL] Re: [holgerbrandl/opencards] I am a novice user and don't know how to get the program up on my computer (#50)
Hi there,
There should be an OpenCards.exe in the program directory. But since it does not come with an installer yet, you need to unzip the deployment bundle first.
Best,
Holger
On 3/21/2019 11:16:52 PM, mbormett1<EMAIL_ADDRESS>wrote:
I have downloaded the files, they are on my computer, but I can't seem to find the actual application file to launch the program. What is it's name and how do I get it to open up? I have searched for an .exe file and in the program file but that's not the answer...Thank you in advance for your help! I am a medical student and could really use this!!!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub [https://github.com/holgerbrandl/opencards/issues/50], or mute the thread [https://github.com/notifications/unsubscribe-auth/AAMQ-EDqn3jN2kRd6Sh0aJ8RLhB_9FPuks5vZATTgaJpZM4cCerc].
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_holgerbrandl_opencards_issues_50-23issuecomment-2D475431753&d=DwMFaQ&c=rhXotFx3UTYAnEG06vzqqw&r=oVNDJWQL6USoju79wfXQP7S-X0KbXgeCT-UAVDsc8A4&m=8cxkmt0C_V7OtyOFnUcEf2B77pDDtpJwskqgch97Zak&s=ORoiY7FI_4M5YkyfNPGukV2rhrT1Ki81k6J2__jKlMI&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_Auct7MPceC-2Drbd8ZLvg5tbn6XVccMYZoks5vZAwlgaJpZM4cCerc&d=DwMFaQ&c=rhXotFx3UTYAnEG06vzqqw&r=oVNDJWQL6USoju79wfXQP7S-X0KbXgeCT-UAVDsc8A4&m=8cxkmt0C_V7OtyOFnUcEf2B77pDDtpJwskqgch97Zak&s=cT2McSmd7okHVSUpuIGv50BKQMkxH3JbzFVXijp6BWs&e=.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub [https://github.com/holgerbrandl/opencards/issues/50#issuecomment-475434191], or mute the thread [https://github.com/notifications/unsubscribe-auth/AAMQ-EKF0dvQ9H7_f6CFi52K4q1jD1sbks5vZA6ggaJpZM4cCerc].
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_holgerbrandl_opencards_issues_50-23issuecomment-2D475434544&d=DwMFaQ&c=rhXotFx3UTYAnEG06vzqqw&r=oVNDJWQL6USoju79wfXQP7S-X0KbXgeCT-UAVDsc8A4&m=uM_9x72YlDUqSFX5VO5X7hJuOAhZJtdgk9waKos3S14&s=q9n7_zo-LKkRK7z8zbMlUiU3aWXB6K0AvW_5RWzSkYY&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_Auct7L9b9Dt-2Dngj8B-2DdSk5U1jiezg6nrks5vZA77gaJpZM4cCerc&d=DwMFaQ&c=rhXotFx3UTYAnEG06vzqqw&r=oVNDJWQL6USoju79wfXQP7S-X0KbXgeCT-UAVDsc8A4&m=uM_9x72YlDUqSFX5VO5X7hJuOAhZJtdgk9waKos3S14&s=YXqfqWmbmxEu1u_dTPp6v_aqno-l1Eeg3vbrlTw7pGc&e=.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub [https://github.com/holgerbrandl/opencards/issues/50#issuecomment-475434827], or mute the thread [https://github.com/notifications/unsubscribe-auth/AAMQ-CfSOcS7-jlnZYgp0cfNCuX367v2ks5vZA9BgaJpZM4cCerc].
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_holgerbrandl_opencards_issues_50-23issuecomment-2D475435157&d=DwMFaQ&c=rhXotFx3UTYAnEG06vzqqw&r=oVNDJWQL6USoju79wfXQP7S-X0KbXgeCT-UAVDsc8A4&m=jROl8s5ILhH0SyiDtimS-2b7p5UIZaWCZlk6uWAdBpk&s=XEQyEbf7Y33IgmTwq4nYiYtl4-FPRKgVcgnMGSg8Lto&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_Auct7Kh3-2DWvdWBD4JapRrUfmBtG-2D-2DfB1ks5vZA-2DRgaJpZM4cCerc&d=DwMFaQ&c=rhXotFx3UTYAnEG06vzqqw&r=oVNDJWQL6USoju79wfXQP7S-X0KbXgeCT-UAVDsc8A4&m=jROl8s5ILhH0SyiDtimS-2b7p5UIZaWCZlk6uWAdBpk&s=wgjSh5d7TyRuGOskJU7A51K9l4XmGmAdiCFfMryC35A&e=.

If you could provide some details about the crash (startup vs when using it; macos and java version), I could have a look

It is right after I open it, basically when I click the start learning button.
Get Outlook for iOShttps://aka.ms/o0ukef

From: Holger Brandl<EMAIL_ADDRESS>Sent: Friday, March 22, 2019 4:01 AM
To: holgerbrandl/opencards
Cc: MaryEllen M. Williams; Author
Subject: [EXTERNAL] Re: [holgerbrandl/opencards] I am a novice user and don't know how to get the program up on my computer (#50)
If you could provide some details about the crash (startup vs when using it; macos and java version), I could have a look
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_holgerbrandl_opencards_issues_50-23issuecomment-2D475526940&d=DwMCaQ&c=rhXotFx3UTYAnEG06vzqqw&r=oVNDJWQL6USoju79wfXQP7S-X0KbXgeCT-UAVDsc8A4&m=HDPW_q1B13mK6JzM688J2CcPd4G3oAH6vJb1xlkJ2hE&s=GxFkfJYcMpGBoEKDn1xY_Dbt20ADA4g8F0iMAAUG-Po&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_Auct7KPJ7962pFbUqGiZOXNAMp5oXI5kks5vZI3KgaJpZM4cCerc&d=DwMCaQ&c=rhXotFx3UTYAnEG06vzqqw&r=oVNDJWQL6USoju79wfXQP7S-X0KbXgeCT-UAVDsc8A4&m=HDPW_q1B13mK6JzM688J2CcPd4G3oAH6vJb1xlkJ2hE&s=-BUgeEiExPmTAL226xSCgSMSa7nFcIhT8eqQp8Dl8Yo&e=.


Expose x-ratelimit-* headers from OpenAI API with Langchain

Describe the feature or improvement you're requesting
When making a direct call to OpenAI's POST /v1/chat/completions endpoint, we receive valuable headers that provide information about the rate limiting, including:
x-ratelimit-limit-requests: 3500
x-ratelimit-remaining-requests: 3499
x-ratelimit-reset-requests: 17ms

However, when using the ChatOpenAI and OpenAIEmbeddings APIs, these rate limit headers are not returned in the response or as part of the OpenAICallbackHandler object (as total_tokens or total_cost values). This makes it challenging to track and manage rate limits programmatically.
Can we get rate headers values using ChatOpenAI and OpenAIEmbeddings?
It would be nice if we could get access to these headers, or have them returned in a helpful format along with the response.
Motivation
Having access to rate limit information is crucial for developers to effectively manage their API usage, especially when using these APIs in production environments. This addition would greatly enhance the usability and monitoring capabilities of the OpenAI API.

This is very much needed, especially with how small the rate limits are with OpenAI and GPT4.
Adding that the complete list of headers is:
x-ratelimit-limit-requests
x-ratelimit-limit-tokens
x-ratelimit-remaining-requests
x-ratelimit-remaining-tokens
x-ratelimit-reset-requests
x-ratelimit-reset-tokens

All seem valuable.

Any progress on this ?

I notice that the openai package now supports returning these headers via a with_raw_response object as described here. So, in theory, langchain could call openai in that way and store the x-ratelimit info with its response.
However, if using these headers is not a common need, there is another way. langchain and openai expose an httpx client object that can be used to intercept requests and save header information. Here is an example of how to do that:
import httpx
from langchain_openai import ChatOpenAI

def custom_response_hook(response: httpx.Response) -> None:
    print(f"Received response for {response.url}: {response.status_code}")
    assert "x-ratelimit-limit-requests" in response.headers

def test_intercept_http():
    # Create an httpx client instance with the `event_hooks` configured to use our custom hook
    http_client = httpx.Client(event_hooks={"response": [custom_response_hook]})
    llm = ChatOpenAI(temperature=0.0, model_name="gpt-4", http_client=http_client)
    result = llm.invoke("What would be a good company name for a company that makes colorful socks?")

I changed the following wrt @ForrestTrepte's approach: I added "request", otherwise things tended to stop working in my case:
http_client = httpx.Client(event_hooks={"request":[], "response": [custom_response_hook]})


⚠ Bofrost.es has degraded performance

In 33d11fa, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1636 ms

Resolved: Bofrost.es performance has improved in 073c5fa after 15 minutes.