State Channel v3 phase 1

Phase 1 (blueprints, foundation)
State channel - decouple from core, create own library
Sequence diagrams; new protos, protocols

[ ] Use ETS / basic counter to represent state channel balances

TODOS
@michaeldjeffrey

[ ] ReadMe: basic explanation of what is a SC and why we need to use it
[ ] Diagram top (level) to bottom
[ ] Proto file review

@macpie

[ ] Create repo
[ ]  Reconcile data exchange in session based SC, how can SC knows hos much data was passed around?


AttributeError: type object 'CorsModel' has no attribute 'get_viewset'

Running on Django 1.9.x and Python 3.5, it returns the following error when trying to start server or run migrations:
Traceback (most recent call last):
File "manage.py", line 10, in
execute_from_command_line(sys.argv)
File "C:\Users\galeal\AppData\Local\Programs\Python\Python35-32\lib\site-packa
ges\django\core\management_init_.py", line 350, in execute_from_command_line
utility.execute()
File "C:\Users\galeal\AppData\Local\Programs\Python\Python35-32\lib\site-packa
ges\django\core\management_init_.py", line 342, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "C:\Users\galeal\AppData\Local\Programs\Python\Python35-32\lib\site-packa
ges\django\core\management\base.py", line 348, in run_from_argv
self.execute(*args, **cmd_options)
File "C:\Users\galeal\AppData\Local\Programs\Python\Python35-32\lib\site-packa
ges\django\core\management\base.py", line 398, in execute
self.check()
File "C:\Users\galeal\AppData\Local\Programs\Python\Python35-32\lib\site-packa
ges\django\core\management\base.py", line 426, in check
include_deployment_checks=include_deployment_checks,
File "C:\Users\galeal\AppData\Local\Programs\Python\Python35-32\lib\site-packa
ges\django\core\checks\registry.py", line 75, in run_checks
new_errors = check(app_configs=app_configs)
File "C:\Users\galeal\AppData\Local\Programs\Python\Python35-32\lib\site-packa
ges\django\core\checks\urls.py", line 10, in check_url_config
return check_resolver(resolver)
File "C:\Users\galeal\AppData\Local\Programs\Python\Python35-32\lib\site-packa
ges\django\core\checks\urls.py", line 19, in check_resolver
for pattern in resolver.url_patterns:
File "C:\Users\galeal\AppData\Local\Programs\Python\Python35-32\lib\site-packa
ges\django\utils\functional.py", line 33, in get
res = instance.dict[self.name] = self.func(instance)
File "C:\Users\galeal\AppData\Local\Programs\Python\Python35-32\lib\site-packa
ges\django\core\urlresolvers.py", line 417, in url_patterns
patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
File "C:\Users\galeal\AppData\Local\Programs\Python\Python35-32\lib\site-packa
ges\django\utils\functional.py", line 33, in get
res = instance.dict[self.name] = self.func(instance)
File "C:\Users\galeal\AppData\Local\Programs\Python\Python35-32\lib\site-packa
ges\django\core\urlresolvers.py", line 410, in urlconf_module
return import_module(self.urlconf_name)
File "C:\Users\galeal\AppData\Local\Programs\Python\Python35-32\lib\importlib
init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 986, in _gcd_import
File "", line 969, in _find_and_load
File "", line 958, in _find_and_load_unlocked
File "", line 673, in _load_unlocked
File "", line 662, in exec_module
File "", line 222, in _call_with_frames_removed
File "D:\Guilherme\proj\bitbucket\uengine\union_engine\urls.py", line 4, in
from union_engine.generics import urls as generics_urls
File "D:\Guilherme\proj\bitbucket\uengine\union_engine\generics\urls.py", line
30, in
route_name, mdl.get_viewset(), base_name=route_name)
AttributeError: type object 'CorsModel' has no attribute 'get_viewset'

Resolved.... it was an error on my code (was looping through all models of all apps trying to spam some generic endpoins).


pants: Add st2_shell_sources_and_resources() macro to pants-plugins/macros.py

Background
This is another part of introducing pants, as discussed in various TSC meetings.
Related PRs can be found in:

pantsbuild milestone (which includes PRs since #5713)
https://github.com/StackStorm/st2/labels/pantsbuild label (which also includes preparatory PRs that came before adding pantsbuild)

Overview of this PR
This PR adds our first pants macro: st2_shell_sources_and_resources()
I'm planning to add 3 more macros to help with building our python_distribution targets (for buildling wheels) in future PRs. This just introduces the concept of macros.
Macros

Macros are useful to reduce boilerplate in BUILD files.
...
Macros are defined in Python files that act like a normal BUILD file. They have access to all the symbols you normally have registered in a BUILD file, such as all of your target types.
Macros cannot import other modules, just like BUILD files cannot have import statements.

https://www.pantsbuild.org/docs/macros
Our macro file is pants-plugins/macros.py, and we tell pants about it with [GLOBAL].build_file_prelude_globs in pants.toml:
https://github.com/StackStorm/st2/blob/eb6902f341f1cda9a4dc83be442ccabb38a4c2a1/pants.toml#L11
This PR only introduces one macro. The key parts of this macro function are shell_sources(...) and resources(...) - ie, that's where our macro adds the normal pants targets using the kwargs passed to it.
https://github.com/StackStorm/st2/blob/eb6902f341f1cda9a4dc83be442ccabb38a4c2a1/pants-plugins/macros.py#L16-L28
And then we use the macro just like a regular target in a BUILD file:
https://github.com/StackStorm/st2/blob/eb6902f341f1cda9a4dc83be442ccabb38a4c2a1/st2actions/bin/BUILD#L8-L12

Rebased and added pants-plugins/README.md entry.


feat(NODE-6225): add property ownership check before referencing mongocryptdSpawnPath and mongocryptdSpawnArgs

To prevent prototype pollution gadget, added a check to ensure that 'mongocryptSpawnPath' and 'mongocryptSpawnArgs' properties exist in 'extraOptions' object before assigning them to 'this.spawnPath' and 'this.spawnArgs', which are passed to 'spawn' function in line 53.
HackerOne report: https://hackerone.com/bugs?subject=user&report_id=2522466
Description
What is changing?
Is there new documentation needed for these changes?
What is the motivation for this change?

Release Highlight

Only permit mongocryptd spawn path and arguments to be own properties
We have added some defensive programming to the options that specify spawn path and spawn arguments for mongocryptd due to the sensitivity of the system resource they control, namely, launching a process. Now, mongocryptdSpawnPath and mongocryptdSpawnArgs must be own properties of autoEncryption.extraOptions. This makes it more difficult for a global prototype pollution bug related to these options to occur.

Double check the following

[x] Ran npm run check:lint script
[x] Self-review completed using the steps outlined here
[x] PR title follows the correct format: type(NODE-xxxx)[!]: description

Example: feat(NODE-1234)!: rewriting everything in coffeescript

[x] Changes are covered by tests
[ ] New TODOs have a related JIRA ticket

Hi @vuusale - thanks for opening this PR. We've discussed it and would a couple of changes made here if you don't mind. 1) We'd like to change this to use Object.hasOwn() (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/hasOwn) instead and 2) could you add a test that actually verifies the change?

Dear mongodb team, thanks for approving my change!


249 2.45 error message on passwort vergessen page

references #249

replaced the error partial of all devise views with our own
Enabled devise paranoid mode to avoid user enumeration
Email required on password reset

Coverage remained the same at 100.0% when pulling 0f2c8bb956680da40c42a95ce83b946da8acbe72 on 249_2.45_Error_Message_On_Passwort_vergessen_Page into d6d1af329b01da0a5494b2cc30aa33591a8d4819 on dev.

Coverage remained the same at 100.0% when pulling 0f2c8bb956680da40c42a95ce83b946da8acbe72 on 249_2.45_Error_Message_On_Passwort_vergessen_Page into d6d1af329b01da0a5494b2cc30aa33591a8d4819 on dev.

Coverage remained the same at 100.0% when pulling 254a10701b3920b0d7badb43d7c987f0810172bf on 249_2.45_Error_Message_On_Passwort_vergessen_Page into 2a94f7c4fa24b22cee79bdb3c0685f4aa485d611 on dev.

Coverage remained the same at 100.0% when pulling 23a5eb1a618b896e701ddf41bbc01ec5abea74dd on 249_2.45_Error_Message_On_Passwort_vergessen_Page into 470f004168d327e1eb8fcb37a90d3e5051d846bc on dev.

Changes Unknown when pulling 91215b28b1217d072bc8734f4cd37b8d2b4a5b77 on 249_2.45_Error_Message_On_Passwort_vergessen_Page into ** on dev**.

Coverage remained the same at 100.0% when pulling 91215b28b1217d072bc8734f4cd37b8d2b4a5b77 on 249_2.45_Error_Message_On_Passwort_vergessen_Page into 6241ef0523f5455d978d06566b067d6ae5b080fc on dev.


Support for IQueryable providers that do not support LongCount

Is your feature request related to a problem? Please describe.
I am trying to use HotChocolate with Azure CosmosDb via DocumentClient, which supports
IQueryable<T>. Unfortunately, although Count is supported, LongCount is not, so I get an error when I try to add pagination to a field. This happens at https://github.com/ChilliCream/hotchocolate/blob/b9ddf60a35f64527e9b49c527fdd62e2946ce28b/src/Core/Types/Types/Relay/QueryableConnectionResolver.cs#L52
Describe the solution you'd like
I would like QueryableConnectionResolver<T> to use or fall back to Count if LongCount is not supported.
Describe alternatives you've considered
It would be nice if DocumentClient and friends dealt with this themselves :)

Hi @GraemeF,
I will check if we can get this into our patch release that will come on Sunday. If it is too much work for that release we will put it into our April release.

Awesome! I have got further by making my own clone of CountQueryableConnectionResolver<T> which uses Count but it then falls over when it later uses Skip, so it isn't the only problem that people will encounter. Changing LongCount would allow some operations to work, however, which would be a good thing!

The problem with IQueryable is that the various operations are not guaranteed... I will look into how we can change the implementation so that it is not reliant on IQueryable. The algorithm of facebook is pretty straight forward for getting the start edges and so on ... os I will try to make it easier to provide alternative methods to slice the data.
But for our patch release I can only make minor changes. So, I might split this issue in two.

But as a side-note, Microsoft will bring some slice methods to cosmos soon.

It seems like this is the problem IQueryable intended to solve, and it doesn't seem like Count and Skip are unreasonable operations for pagination to depend upon. Hopefully, as you say, support will improve soon!

For the benefit of anyone else who lands here, this is where MS seem to be communicating about pagination support in Cosmos DB: https://feedback.azure.com/forums/263030-azure-cosmos-db/suggestions/6350987--documentdb-allow-paging-skip-take

Seems Cosmos SQL API finally has the skip/take support: https://docs.microsoft.com/en-us/azure/cosmos-db/sql-api-query-reference

Yes we were testing that already in a private beta with Microsoft. Still we need to write some integration tests for cosmosDB and use the IntCount since not all databases support the long count. This one is not yer implemented but I think will follow in the next two previews of version 9 probably preview 30. Version 9 should be finished in the next two weeks. We are heavily working one the new documentation which will pick up lots of new areas.

This one is now fixed with preview.40.


[Bug]: minor docs issue

Which Remix packages are impacted?
N/A this is a docs issue

[ ] remix (Remix core)
[ ] create-remix
[ ] @remix-run/architect
[ ] @remix-run/cloudflare-workers
[ ] @remix-run/dev
[ ] @remix-run/express
[ ] @remix-run/netlify
[ ] @remix-run/node
[ ] @remix-run/react
[ ] @remix-run/serve
[ ] @remix-run/server-runtime
[ ] @remix-run/vercel

What version of Remix are you using?
v1
Steps to Reproduce
Go to the docs page for the developer blog and there's a confusing sentence that I think has an extra word.

There's a bit going on in the file, find into the Layout component and right after the link to "Home", add a new link to "/posts"

Expected Behavior
I think the wording could be clearer here.

"the file" doesn't have any context yet, so it's not clear which file is being referred to.
"find into the Layout component" sounds like "into" is an extra word.

Possible update:
- There's a bit going on in the file, find into the `Layout` component and right after the link to "Home", add a new link to "/posts"
+ There's a bit going on in the `app/root.tsx` file. Find the `Layout` component, and right after the link to "Home", add a new link to "/posts"

Actual Behavior

Also I just found the docs are on the dev branch, so I'm going to open a PR for this ✋


[Question] What happens on reregistering something registered

Hey,
I'm now trying to make mio work with threads, and so I'm using the channel/senders. It works nearly like a charm, but now I got a question:
After I received some data from a socket, I send the data to a thread, and reregister the socket as event listener, still only interested in hup and readable events. I'm not yet interested in writeable events, because the thread might take it's time, so I'll wait. After some time the thread calls a Sender and sends data to the eventloop. In the eventloop I want to write to the socket, fill up it's buffer, and adding the interest for writeable, but of cause mio doesn't know about this, because I registered some time ago without the interest of writing.
Now, so I need to reregister, but is reregistering realy ok, if no event occured right before?
All tutorials do something like:
ready(...) {
    handle_readable_event_for_socket...
    // reregister, because we were registered before the event as well, so reregister makes sense
    reregister_socket...
}

But does this work (as expected, and is ok) as well:
notify(...) {
    do_something
    reregister_socket(readable_interest & writable_interest)
}
ready(...) {
    handle_readable_event_for_socket...
    thread_spawn(send_something_to_mio_channel)
    reregister_socket(readable_interest)
}

The documetation doesn't help at this point. The code works, but I don't know how mio handles this internally (maybe causing unexpected behaviour).

So I've had mixed experience with reregister across OSes. Between Linux and OS X, OS X is more forgiving, where you can call reregister regardless of current registry. Linux in my experience wasn't as forgiving. Example, see my note here:
https://github.com/bluejekyll/trust-dns/blob/master/src/tcp/tcp_client_connection.rs#L56
And then reregister will work properly:
https://github.com/bluejekyll/trust-dns/blob/master/src/tcp/tcp_client_connection.rs#L69
But if you see that note, deregister hasn't been working for me on OS X (I haven't had a chance to debug that, but will at some point if someone else doesn't get to it).
This is the line for deregister that I have commented out:
https://github.com/bluejekyll/trust-dns/blob/master/src/tcp/tcp_client_connection.rs#L84
I am concerned that I'm leaking connections here, but this is the best thing I have right now for interop between Linux and Mac OS X. I don't yet have a Windows test env.

Unexpected behavior is uncool.
The logic to first register, and only reregister after a successful registration makes sense, and is no problem. But if deregister doesn't work on osx, this is something important to investigate I guess.
The question is more about reregistering something, that is already reregistered, like doing something like:
event_loop.reregister(socket, ...);
event_loop.reregister(socket, ...);

directly after each other, without any code between them (this would be stupid, ok, but is basically the question I've got).

assuming you already have the socket registered, this is exactly what reregister is for, I believe.

It would be super helpful if you could create a test case illustrating the difference in behavior.
Regarding reregister, it must only be used after calling register.
I would like to be able to catch incorrect usage at runtime, but I also have limited ability to do so w/o introducing a runtime.
I'm toying w/ the idea of creating a "debug" mode that has a runtime that catches incorrect usage when debug is enabled at compile time but goes away at runtime...

Can you specify, what exactly you need?
My question is regarding whether there is a difference in bebaviour or not. My code should:

Register a readable event for socket
Get read data for socket, push them to thread, reregister readable
After some time the thread sends a notification about data to write
Notification leads to reregister with read+write interest

By the time the last point occurs, the previous registration is still intact for my socket, but with a different set of interests. So simplified, my code would do:
..reregister(write) ..reregister(write+read)
My question is, whether this is actually bad, and cause 2 events to occur on the next read event, or maybe this is ok, because mio handles the interests internally.
Because if this would actually screw mio, I have to call deregister -> register instead.
This is something, that the documentation doesn't explain to me, and I'm curious about the behaviour. I don't fully understand the sourcecode, so I have to ask :-S

You should be able to call reregister as many times as you want after calling register.

This answers my question perfectly well. Thank you.
Should we close this issue, or do you want anything to be done here as resolution?

I'm going to close it for now. It is tracked in the other meta issues.


Apply the same css animations of the Dialog component to the Popup component

The appearing css animations of the Dialog component is really cool. Can we have the same into the Popup component? Now it seems a little bit boring.
And even better. Can we have the same css animations when we close those components as well, but reversed? It would look really cool when you dismiss a Dialog or Popup and it shrinks when dissapears.
Just my opinion.

It is a very good idea and I had it contemplated, the components are being made almost from 0 for support ssr for now I go for the input when the popup update is added a better animation, thank you very much

Are you making a complete rework for the components again? Will they be compatible with pervious versions, or will they break backwars compatibility?

Almost all the components will be the same in logic but what really changes is the css for stylus support and accessibility, but some if it will change a bit and impact on the compatibility of previous versions

Already the component was updated and has the animation, thank you very much
https://lusaxweb.github.io/vuesax/components/popup.html


numpy API version 0xe vs 0xd

When trying to run the sample code provided in the readme I got an error

RuntimeError: module compiled against API version 0xe but this version of numpy is 0xd
Traceback (most recent call last):
File "test_pytorch.py", line 3, in
from nebullvm import optimize_torch_model
File "<PATH_TO_ENV>/lib/python3.8/site-packages/nebullvm/init.py", line 1, in
from nebullvm.api.frontend.torch import optimize_torch_model  # noqa F401
File "<PATH_TO_ENV>/lib/python3.8/site-packages/nebullvm/api/frontend/torch.py", line 8, in
from nebullvm.converters import ONNXConverter
File "<PATH_TO_ENV>/lib/python3.8/site-packages/nebullvm/converters/init.py", line 1, in
from .converters import ONNXConverter  # noqa F401
File "<PATH_TO_ENV>/lib/python3.8/site-packages/nebullvm/converters/converters.py", line 5, in
import tensorflow as tf
File "<PATH_TO_ENV>/lib/python3.8/site-packages/tensorflow/init.py", line 37, in
from tensorflow.python.tools import module_util as _module_util
File "<PATH_TO_ENV>/lib/python3.8/site-packages/tensorflow/python/init.py", line 37, in
from tensorflow.python.eager import context
File "<PATH_TO_ENV>/lib/python3.8/site-packages/tensorflow/python/eager/context.py", line 35, in
from tensorflow.python.client import pywrap_tf_session
File "<PATH_TO_ENV>/lib/python3.8/site-packages/tensorflow/python/client/pywrap_tf_session.py", line 19, in
from tensorflow.python.client._pywrap_tf_session import *
ImportError: SystemError: <built-in method contains of dict object at 0x7f7393496680> returned a result with an error set

when searching about 0xe and 0xd versions of numpy, this page said to try and upgrade which I did after which the error changed and uninstalled the latest version of numpy and said that it could not find openvino:

<PATH_TO_ENV>/lib/python3.8/site-packages/nebullvm/inference_learners/openvino.py:26: UserWarning: No valid OpenVino installation has been found. Trying to re-install it from source.
warnings.warn(
Collecting openvino-dev
Using cached openvino_dev-2021.4.2-3976-py3-none-any.whl (6.2 MB)
Collecting numpy<1.20,>=1.16.6
Using cached numpy-1.19.5-cp38-cp38-manylinux2010_x86_64.whl (14.9 MB)
Collecting editdistance>=0.5.3
Using cached editdistance-0.6.0-cp38-cp38-manylinux2010_x86_64.whl (286 kB)
Collecting pandas~=1.1.5
Using cached pandas-1.1.5-cp38-cp38-manylinux1_x86_64.whl (9.3 MB)
Requirement already satisfied: pydicom>=2.1.2 in <PATH_TO_ENV>/lib/python3.8/site-packages (from openvino-dev) (2.2.2)
Collecting rawpy>=0.16.0
Using cached rawpy-0.17.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.3 MB)
Requirement already satisfied: jstyleson~=0.0.2 in <PATH_TO_ENV>/lib/python3.8/site-packages (from openvino-dev) (0.0.2)
Collecting defusedxml>=0.7.1
Using cached defusedxml-0.7.1-py2.py3-none-any.whl (25 kB)
Requirement already satisfied: requests>=2.25.1 in <PATH_TO_ENV>/lib/python3.8/site-packages (from openvino-dev) (2.27.1)
Requirement already satisfied: PyYAML>=5.4.1 in <PATH_TO_ENV>/lib/python3.8/site-packages (from openvino-dev) (6.0)
Requirement already satisfied: py-cpuinfo>=7.0.0 in <PATH_TO_ENV>/lib/python3.8/site-packages (from openvino-dev) (8.0.0)
Collecting opencv-python==4.5.*
Using cached opencv_python-<IP_ADDRESS>-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (60.4 MB)
Requirement already satisfied: tqdm>=4.54.1 in <PATH_TO_ENV>/lib/python3.8/site-packages (from openvino-dev) (4.62.3)
Collecting scipy~=1.5.4
Using cached scipy-1.5.4-cp38-cp38-manylinux1_x86_64.whl (25.8 MB)
Collecting scikit-image>=0.17.2
Using cached scikit_image-0.19.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (14.0 MB)
Requirement already satisfied: sentencepiece>=0.1.95 in <PATH_TO_ENV>/lib/python3.8/site-packages (from openvino-dev) (0.1.96)
Requirement already satisfied: shapely>=1.7.1 in <PATH_TO_ENV>/lib/python3.8/site-packages (from openvino-dev) (1.8.1.post1)
Collecting networkx~=2.5
Using cached networkx-2.6.3-py3-none-any.whl (1.9 MB)
Collecting nltk>=3.5
Using cached nltk-3.7-py3-none-any.whl (1.5 MB)
Requirement already satisfied: pillow>=8.1.2 in <PATH_TO_ENV>/lib/python3.8/site-packages (from openvino-dev) (9.0.0)
Requirement already satisfied: yamlloader>=0.5 in <PATH_TO_ENV>/lib/python3.8/site-packages (from openvino-dev) (1.1.0)
Requirement already satisfied: addict>=2.4.0 in <PATH_TO_ENV>/lib/python3.8/site-packages (from openvino-dev) (2.4.0)
Collecting nibabel>=3.2.1
Using cached nibabel-3.2.2-py3-none-any.whl (3.3 MB)
Collecting hyperopt~=0.1.2
Using cached hyperopt-0.1.2-py3-none-any.whl (115 kB)
Requirement already satisfied: texttable~=1.6.3 in <PATH_TO_ENV>/lib/python3.8/site-packages (from openvino-dev) (1.6.4)
Requirement already satisfied: progress>=1.5 in <PATH_TO_ENV>/lib/python3.8/site-packages (from openvino-dev) (1.6)
Collecting parasail>=1.2.4
Using cached parasail-1.2.4-py2.py3-none-manylinux2010_x86_64.whl (14.1 MB)
Collecting openvino==2021.4.2
Using cached openvino-2021.4.2-3976-cp38-cp38-manylinux2014_x86_64.whl (28.9 MB)
Collecting scikit-learn>=0.24.1
Using cached scikit_learn-1.0.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (26.7 MB)
Requirement already satisfied: fast-ctc-decode>=0.2.5 in <PATH_TO_ENV>/lib/python3.8/site-packages (from openvino-dev) (0.3.0)
Requirement already satisfied: tokenizers>=0.10.1 in <PATH_TO_ENV>/lib/python3.8/site-packages (from openvino-dev) (0.11.5)
Requirement already satisfied: six in <PATH_TO_ENV>/lib/python3.8/site-packages (from hyperopt~=0.1.2->openvino-dev) (1.16.0)
Collecting future
Using cached future-0.18.2-py3-none-any.whl
Requirement already satisfied: pymongo in <PATH_TO_ENV>/lib/python3.8/site-packages (from hyperopt~=0.1.2->openvino-dev) (4.0.1)
Requirement already satisfied: setuptools in <PATH_TO_ENV>/lib/python3.8/site-packages (from nibabel>=3.2.1->openvino-dev) (56.0.0)
Requirement already satisfied: packaging>=14.3 in <PATH_TO_ENV>/lib/python3.8/site-packages (from nibabel>=3.2.1->openvino-dev) (21.3)
Requirement already satisfied: regex>=2021.8.3 in <PATH_TO_ENV>/lib/python3.8/site-packages (from nltk>=3.5->openvino-dev) (2022.1.18)
Collecting click
Using cached click-8.0.4-py3-none-any.whl (97 kB)
Requirement already satisfied: joblib in <PATH_TO_ENV>/lib/python3.8/site-packages (from nltk>=3.5->openvino-dev) (1.1.0)
Requirement already satisfied: python-dateutil>=2.7.3 in <PATH_TO_ENV>/lib/python3.8/site-packages (from pandas~=1.1.5->openvino-dev) (2.8.2)
Requirement already satisfied: pytz>=2017.2 in <PATH_TO_ENV>/lib/python3.8/site-packages (from pandas~=1.1.5->openvino-dev) (2021.3)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in <PATH_TO_ENV>/lib/python3.8/site-packages (from requests>=2.25.1->openvino-dev) (1.26.8)
Requirement already satisfied: idna<4,>=2.5 in <PATH_TO_ENV>/lib/python3.8/site-packages (from requests>=2.25.1->openvino-dev) (3.3)
Requirement already satisfied: certifi>=2017.4.17 in <PATH_TO_ENV>/lib/python3.8/site-packages (from requests>=2.25.1->openvino-dev) (2021.10.8)
Requirement already satisfied: charset-normalizer~=2.0.0 in <PATH_TO_ENV>/lib/python3.8/site-packages (from requests>=2.25.1->openvino-dev) (2.0.12)
Collecting tifffile>=2019.7.26
Using cached tifffile-2022.2.9-py3-none-any.whl (180 kB)
Collecting PyWavelets>=1.1.1
Using cached PyWavelets-1.2.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl (6.3 MB)
Collecting imageio>=2.4.1
Using cached imageio-2.16.0-py3-none-any.whl (3.3 MB)
Requirement already satisfied: threadpoolctl>=2.0.0 in <PATH_TO_ENV>/lib/python3.8/site-packages (from scikit-learn>=0.24.1->openvino-dev) (3.1.0)
Using cached imageio-2.15.0-py3-none-any.whl (3.3 MB)
Requirement already satisfied: pyparsing!=3.0.5,>=2.0.2 in <PATH_TO_ENV>/lib/python3.8/site-packages (from packaging>=14.3->nibabel>=3.2.1->openvino-dev) (3.0.7)
Installing collected packages: numpy, networkx, future, editdistance, defusedxml, click, tifffile, scipy, rawpy, PyWavelets, parasail, pandas, openvino, opencv-python, nltk, nibabel, imageio, scikit-learn, scikit-image, hyperopt, openvino-dev
Attempting uninstall: numpy
Found existing installation: numpy 1.22.2
Uninstalling numpy-1.22.2:
Successfully uninstalled numpy-1.22.2
ERROR: Could not install packages due to an OSError: [Errno 39] Directory not empty: '<PATH_TO_ENV>/lib/python3.8/site-packages/~~mpy.libs'
Traceback (most recent call last):
File "<PATH_TO_ENV>/lib/python3.8/site-packages/nebullvm/inference_learners/openvino.py", line 23, in
from openvino.inference_engine import IECore
ModuleNotFoundError: No module named 'openvino'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "test_pytorch.py", line 3, in
from nebullvm import optimize_torch_model
File "<PATH_TO_ENV>/lib/python3.8/site-packages/nebullvm/init.py", line 1, in
from nebullvm.api.frontend.torch import optimize_torch_model  # noqa F401
File "<PATH_TO_ENV>/lib/python3.8/site-packages/nebullvm/api/frontend/torch.py", line 10, in
from nebullvm.optimizers.multi_compiler import MultiCompilerOptimizer
File "<PATH_TO_ENV>/lib/python3.8/site-packages/nebullvm/optimizers/init.py", line 5, in
from nebullvm.optimizers.openvino import OpenVinoOptimizer
File "<PATH_TO_ENV>/lib/python3.8/site-packages/nebullvm/optimizers/openvino.py", line 5, in
from nebullvm.inference_learners.openvino import (
File "<PATH_TO_ENV>/lib/python3.8/site-packages/nebullvm/inference_learners/openvino.py", line 33, in
from openvino.inference_engine import IECore
ModuleNotFoundError: No module named 'openvino'

The error about not having a module named openvino was present even when I ranpython -c "import nebullvm" but since the README.md asks to ignore import errors, I did.
I tried pip install openvino but openvino needs numpy < 1.20 while tensorflow needs numpy >= 1.20 so there were incompatibilities.
I had used pip to install nebullvm
My specifications:
python 3.8
torch 1.10.2+cu13
CPU: intel i5-9300H
PC: Acer Predator Helios PH315-52 V1.12
OS: Arch Linux x86_64

Hi IamMarcIvanov, thank you for reporting the issue! I'm working on it right now, will fix it for the next release!

Just in case it might be useful to someone... I'm getting a similar error with numpy:
ERROR: tf2onnx 1.9.3 has requirement flatbuffers~=1.12, but you'll have flatbuffers 2.0 which is incompatible.
ERROR: tensorflow 2.8.0 has requirement numpy>=1.20, but you'll have numpy 1.19.5 which is incompatible.
ERROR: imageio 2.16.1 has requirement numpy>=1.20.0, but you'll have numpy 1.19.5 which is incompatible.

My specs:
Python: 3.8.10
TensorFlow2: 2.8.0
PC: Virtual Machine (Linux-Lite 5.4 with 10GB RAM)


Is generating unreachable code correct?

The generated C for this has unreachable code:
machine unreach;

initial state s {
    on TERMINATE -> .done;
    on I (guard_foo) clear_foo -> done;

    state done {}

    state s1 {
        on I -> done;

        state done {}
    }
}

state done {

}

like so:
static int unreach_s_s1_done(struct unreach *self, struct unreach_event *event) {
        if (!self || !event) return -1;
        switch (event->id) {
        case unreach_event_I:
                if (1) {
                        self->state = NULL;
                        self->state = unreach_s_s1_done;
                        break;
                }
                if (guard_foo(self, event)) {
                        self->state = NULL;
                        clear_foo(self, event);
                        self->state = unreach_s_done;
                        break;
                }
                break;

The if (guard_foo) is unreachable and the C compiler complains about it.

I see why it would do that, and I think the behavior of the generated code is correct. It would definitely be better if it didn't do that so I'll look into it.

Fixed in bfbb885fc654d11930d9d06def058faa3a0af972.


Getting a value from the object type collection in Blazor

I am trying to get the value form the object collection in blazor.
The line of code returns the following
this.buttons[i].model  => {{   "content": "Close" }}
In the above code i need to get the value of "content". I have tried this it doesn't work any other solution for this ?
this.buttons[i].model.GetType().GetProperty("content").GetValue(this.buttons[i].model)

Hi. It looks like this is a question about how to use ASP.NET Core. While we do our best to look through all the issues filed here, to get a faster response we suggest posting your questions to StackOverflow using the asp.net-core-blazor tag.


Add htcondor example

HTCondor is a batch processing system, this dm script will create a cluster of nodes with 1 master, 1 submit host and n compute nodes.

I work for Google (karanbhatia@)

LGTM merged


Change Text on Service Providers button

Expected Behavior
Service Providers button should be "Where to Watch"
Current Behavior
Button displays Service Providers text.
Possible Solution
Change the text.

fixed on PR #143


Alphanumeric itemId values

Hi - thanks for your hard work as always
I've started using the latest 1.6.0 release and I have noticed that alphanumeric itemId values might have possibly changed while trying to parse a pre-reforged replay from the last major patch.
I am now getting a value of 19 for the third item in the list pretty consistently when it used to always be marked as 13  (0D in hex)
Following this old guide used to match these values for the much older 1.1.2 release of w3gjs I would previously get a value of 13 for the right click - link to format guide: https://github.com/scopatz/w3g/blob/master/w3g_actions.txt#L961
Old w3gjs (1.1.2) version output:  [ 3, 0, 13, 0 ]
New w3gs (1.6.0) version output: [ 3, 0, 19, 0 ]

Do you think these values have changed as a result of the reforged changes?  Or is it possible the new values are being decoded incorrectly?
I can provide an older replay if needed or helpful
Thanks!

If output ist different for the same input replay file then this is definitely not intended behaviour.
Can you provide a replay file and basic code to see the invalid output?

In an earlier commit, I changed the parsing of the action ids to unsigned integer.
https://github.com/PBug90/w3gjs/commit/7e96e9dab36d3d838a443cf5e024c1b244d48766#diff-599025833dea49f1272ec504708b1bd8
This is probably the reason why you see a different value for the same input.

Released as 1.6.2.

brilliant work - just tested it out and it gets me the correct values again
thanks so much!


Explicitly use the v0 server API for all requests

The newest versions of the Chef Server present new behavior for the
user endpoints. Code to handle this new behavior has been added to
core chef. Rather than replicate all that code here, we can use
Chef::ServerAPI to use the v0 API.
The goal is to move all of this plugin into core Chef before v0 is
deprecated.

cc @chef/lob

:+1:

LGTM

:+1: - Ideally we'd like to move forward and use the new APIs, but for the sake of not duplicating all of @tylercloke's work here, let's merge this and unbreak the latest nightly of the Chef Server.


zoxide_prefix option doesn't work

Hello!
Unfortunately, I can't get zoxide_prefix to work. I try to change it via :let g:zoxide_prefix="jump" but it is not applied: "E492: Not an editor command: Jump"
Thanks for you plugin! Hope you can help me resolve this issue.

Hello!
If you're setting it from the vim command-line, that's expected: this option should be set in your vimrc/init.vim/init.lua


feat(tabs): add the ability to invert the header

Adds the ability to set the tab header position to the bottom. This inverts the tabs and the ink bar.
Fixes #2387.

Any progress on this? Would love to see it in.


Unable to set paged results response

I have the followinf setup:
 $domain = (new DomainConfiguration('ldap'))
     ->setServers(SERVERS)
     ->setBaseDn(BASE_DN)
     ->setUsername(USER)
     ->setPassword(PASSWORd)
     ->setUsePaging(true)
     ->setPageSize(5)
     ->setLdapType(LdapConnection::TYPE_OPENLDAP)
;

$ldapManager = new LdapManager(new Configuration($domain));

$users = $ldapManager->buildLdapQuery()
    ->getLdapQuery()
    ->getResult()
;

This setup gives me
LdapTools\Exception\LdapConnectionException: Unable to set paged results response: Success in /project/vendor/ldaptools/ldaptools/src/LdapTools/Connection/PageControl.php:126

I thought that the problem is ldap not supporting the paged results. But the following code works as expected:
$connection = ldap_connect(HOST);

ldap_set_option($connection, LDAP_OPT_PROTOCOL_VERSION, 3);
ldap_bind($connection, USER, PASS);

$cookie = '';
do {
    ldap_control_paged_result($connection, 5, false, $cookie);

    $result = ldap_search($connection, $dn, "(objectClass=eduPerson)", $attributes);
    $entries = ldap_get_entries($connection, $result);

    foreach ($entries as $entry) {
        echo $entry['dn'] . "<br>";
    }

    ldap_control_paged_result_response($connection, $result, $cookie);
} while ($cookie !== null && $cookie !== '');

Am I missing something, or there is a problem with paged results in ldaptools?

Weird. If you comment out the code that throws the exception on line 126 of LdapTools\Connection\PageControl does the query work? It seems weird that it returns false for updating paged results response. I haven't tested in OpenLDAP in a while though. I can verify paging works fine for AD. I can test more later.
On a side note, I think there's actually a bug with the way LDAP paging is implemented in PHP. As I have noticed issues when attempting to reset the page control after the query is complete (then certain queries don't work afterwards).

Yes, I found the problem. Somehow the OpenLDAP fails the query if there is no filter assigned. So instead of:
$users = $ldapManager->buildLdapQuery()
    ->getLdapQuery()
    ->getResult()
;

I need to supply atleast a basic filter:
$users = $ldapManager->buildLdapQuery()
    ->where(['objectClass' => 'eduPerson'])
    ->getLdapQuery()
    ->getResult()
;

Ah, yes. That would do it. I overlooked that in your example. If you don't specify a schema type using the from method then you need to specify at least some basic filter. This would be true in any LDAP implementation (OpenLDAP or AD).
What I should do is give a more helpful error message before it gets that far that an empty filter is not valid.

The query will return all of the results at once. It's not implemented to do interactive paging, but rather to adhere to paging restrictions against the LDAP server so it doesn't refuse the query when too many results would be returned.
However, I'm not opposed to implementing some sort of interactive paging mechanism like what you're looking for. But I'd have to think about how to implement it.

That would be awesome. Listing users is a required feature in an application I'm building and it is not practical loading all of them at once.

You can set a limit to how many are loaded at once by using setSizeLimit($size);:
$users = $ldapManager->buildLdapQuery()
    ->where(['objectClass' => 'eduPerson'])
    ->setSizeLimit(100)
    ->getLdapQuery()
    ->getResult()
;

The only other option I can think of is to add a startAt($position) method to the query builder. Then the paged results could be started at a certain page set. That along with the max size and page size would give enough control to get chunks of data at a time on each query.
The real problem is that LDAP paging does not provide any control over an offset when retrieving data. So it always starts with the first result set and works it's way up on each response. So with the above solution I'd basically just be discarding certain result sets until we get to the offset.
Another solution would be the LDAP_CONTROL_VLVREQUEST. Which seems to be a much enhanced paging-type of operation. But I'm pretty sure I'd run into all sorts of issues getting that working with PHPs LDAP extension. It would probably require built in functions into the PHP LDAP extension just like the paging functions. The sad part about this is this control somehow never made it as an accepted RFC, and the draft appears to be sitting in limbo. Pretty weird, considering all major LDAP implementations support it.

Query operations now require a non-empty filter value. If it is empty it will throw a more helpful message. Added with: https://github.com/ldaptools/ldaptools/commit/74e7edecf43058032635e6917641cadb115bc47f. Unfortunately I was abusing that in my specs so I had to go through and fix a bunch of them.
It will take a little while to determine what to do about the paging situation. But if your goal is to limit the results returned I would set a size limit on the query via the method I suggested.

Well I could use some kind of decorator for the LdapQuery in combination with sizeLimit to get the pagination feeling without fetching all the records every time.

It's not so easy at the moment, because all of the raw LDAP results are collected in the operation handler before being returned back, then all of the results are normalized/hydrated at once.

Would like to see this implemented if possible. I'd assumed I would have had some control over the paging after turning it on but this being the case I'll just lock it to a reasonable number.


Issue installing with NPM

`/usr/local/bin/jspcb -> /usr/local/lib/node_modules/jspcb/bin/jspcb.js

<EMAIL_ADDRESS>install /usr/local/lib/node_modules/jspcb/node_modules/phantomjs-prebuilt
node install.js

Considering PhantomJS found at /usr/local/bin/phantomjs
Looks like an npm install -g
Found PhantomJS at /usr/local/lib/node_modules/phantomjs/lib/phantom/bin/phantomjs ...verifying
Writing location.js file
Error checking path, continuing { Error: EACCES: permission denied, open '/usr/local/lib/node_modules/jspcb/node_modules/phantomjs-prebuilt/lib/location.js'
at Error (native)
at Object.fs.openSync (fs.js:640:18)
at Object.fs.writeFileSync (fs.js:1333:33)
at writeLocationFile (/usr/local/lib/node_modules/jspcb/node_modules/phantomjs-prebuilt/lib/util.js:84:6)
at Promise._successFn (/usr/local/lib/node_modules/jspcb/node_modules/phantomjs-prebuilt/install.js:366:11)
at nextTickCallback (/usr/local/lib/node_modules/jspcb/node_modules/kew/kew.js:47:28)
at _combinedTickCallback (internal/process/next_tick.js:67:7)
at process._tickCallback (internal/process/next_tick.js:98:9)
errno: -13,
code: 'EACCES',
syscall: 'open',
path: '/usr/local/lib/node_modules/jspcb/node_modules/phantomjs-prebuilt/lib/location.js' }
Download already available at /tmp/phantomjs/phantomjs-2.1.1-macosx.zip
Verified checksum of previously downloaded file
Extracting zip contents
Removing /usr/local/lib/node_modules/jspcb/node_modules/phantomjs-prebuilt/lib/phantom
Copying extracted folder /tmp/phantomjs/phantomjs-2.1.1-macosx.zip-extract-1506633642580/phantomjs-2.1.1-macosx -> /usr/local/lib/node_modules/jspcb/node_modules/phantomjs-prebuilt/lib/phantom
Phantom installation failed { Error: EACCES: permission denied, link '/tmp/phantomjs/phantomjs-2.1.1-macosx.zip-extract-1506633642580/phantomjs-2.1.1-macosx' -> '/usr/local/lib/node_modules/jspcb/node_modules/phantomjs-prebuilt/lib/phantom'
at Error (native)
errno: -13,
code: 'EACCES',
syscall: 'link',
path: '/tmp/phantomjs/phantomjs-2.1.1-macosx.zip-extract-1506633642580/phantomjs-2.1.1-macosx',
dest: '/usr/local/lib/node_modules/jspcb/node_modules/phantomjs-prebuilt/lib/phantom' } Error: EACCES: permission denied, link '/tmp/phantomjs/phantomjs-2.1.1-macosx.zip-extract-1506633642580/phantomjs-2.1.1-macosx' -> '/usr/local/lib/node_modules/jspcb/node_modules/phantomjs-prebuilt/lib/phantom'
at Error (native)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>install: node install.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
`

I am getting the above error when trying to install this using NPM.

I found the problem. My usr/local/ ownership was my user but I was using sudo to install. Make sure you are installing as the owner of usr/local/

Thanks for researching the issue. The EACCES message was revealing. Sorry for the delay in responding. Looks like you're solved.


Yank ForwardDiff 0.10.33

This turns out to cause more disruption than intended, so perhaps it should be 0.11 not a patch version.
The offending PR is https://github.com/JuliaDiff/ForwardDiff.jl/pull/481
Some reports of issues aren't issues, but the ones that are are:
https://github.com/JuliaDiff/ForwardDiff.jl/issues/606
https://github.com/JuliaDiff/ForwardDiff.jl/issues/607
https://github.com/JuliaDiff/ForwardDiff.jl/issues/609

I think this case it would have been better to just revert and release 0.10.34,  without yanking 0.10.33
Like all patch releases, (though not true pre-1.0.0) the older version had bugs.
But we don't yank all penultimate patch versions. (Though I have suggested that Pkg should by default treat them that way, but that's another dicussion)
The particular thing that yanking does that just making a new release doesn't is it means you can do ]add --preserve=all Foo for minimal changes to a known working system. (nor update ---preserve=all Foo in 1.9 I suspect).
And this broke stuff for Invenia's workflow trying to make minimal changes to prod.

revert release patch, then unrevert and release breaking IMO is best

Well IDK, there appear to be many opinions. Want to make a branch for 0.10 versions & tag that as 0.10.34?

It wouldn't help. The problem is the yanking of 0.10.33 being more disruptive than just releasing a 0.10.34 that is identical to 0.10.32.


Enable further compatibility with qt5

The current code contains some functions that are deprecated in qt5. This commit encloses these in a version check and alternatively offers the qt5 way of the expression.

Thanks, now I get it. I think we can and should remove the Qt4 support altogether. These deprecated functions are a good way to start.

For future reference, me and @TheCharlatan agreed to keep the PR as is to make the autotools PR easier, then he'll submit another PR removing the Qt4 support once the autotools PR has been merged.


Fixed the pg_listen syntax

The command help shows
pg_listen db-url channel /path/to/program [args]

Putting the command in quotes actually caused
Can't run killall -SIGUSR1 postgrest: No such file or directory

error since pg_listen interprets the entire quoted command as the executable.

@ycheng-kf Hmm.. both cases fail for me. What's your shell and OS?
I've tried:
./pg_listen "postgres://postgrest_test_authenticator@localhost/postgrest_test" mychannel killall -SIGUSR1 postgrest

./pg_listen "postgres://postgrest_test_authenticator@localhost/postgrest_test" mychannel "killall -SIGUSR1 postgrest"

## both fail with "Can't run killall: No such file or directory" once the NOTIFY is done

Using the latest pg_listen on zsh and bash.
I think what's happening here is that pg_listen now requires the full path of the program(e.g. /bin/killall instead of just killall) and maybe your shell is somehow autocompleting the full path of the program.

@steve-chavez, you are definitely right about the full path of the program. that should probably be documented as well. I am using bash '5.0.3(1)-release' on linux and the quoted version didn't work for me.
However, this works
$(which killall) -SIGUSR1 postgrest

let me update the pr too

@ycheng-kf Sorry for the delay. Change looks good now!


Portfolio Page

Azure Static Web Apps: Your stage site is ready! Visit it here: https://gentle-ground-006341f03-2.westeurope.1.azurestaticapps.net


Translation error, The game crashes when changing scene.

Hello, good I am using (SetupReiPatcherAndAutoTranslator), When I start the game, it translates it normal, there are scenes where I can play normal, but in some scenes, when the scene changes, the game closes, and I tried switching to another language to translate, as an example from (English-Italian), and it is translated normal without error throughout the game, but when you translate from (English-Spanish), there are scenes where the game freezes and closes. the game I'm talking about is (third crisis 0.28.0), some way to solve it, I'm a beginner is this.

It's hard for me comment on why this is occurring. But usually when this type of thing happens it's because the game relies on text that is displayed on the screen for game logic (which is stupid!).
I have experienced it in many games. Usually what I do when I encounter such things is simply to turn off the translations (ALT+T) when the error would usually occur and turn it back on again afterwards (ALT+T).
Alternatively you can try to enable TextGetterCompatibilityMode in the configuration. That should try to fool the game into thinking it is not actually translated, so when logic like this occurs it uses the original text for it's internal processing instead of the translated text.

It's hard for me comment on why this is occurring. But usually when this type of thing happens it's because the game relies on text that is displayed on the screen for game logic (which is stupid!).
I have experienced it in many games. Usually what I do when I encounter such things is simply to turn off the translations (ALT+T) when the error would usually occur and turn it back on again afterwards (ALT+T).
Alternatively you can try to enable in the configuration. That should try to fool the game into thinking it is not actually translated, so when logic like this occurs it uses the original text for it's internal processing instead of the translated text.TextGetterCompatibilityMode

Well, I already put the code but it remains the same, and I have been changing the translations manually to Spanish, and apparently the game closes when processing translations that contain the following characters (á, é, í, ó, ú, Á, É, Í , Ó, Ú, ñ, Ñ), which gives me to understand that it could be the type of font that the game uses, but in the Italian language, these characters are used more frequently, and there it is not closed, it I wonder if there is a way to change the font, or exclude these characters when they are translated?

You can try setting TranslationPostProcessing=RemoveAllDiacritics in the configuration.

You can try setting TranslationPostProcessing=RemoveAllDiacritics in the configuration.

Thank you very much this I solve it, for now it's fine, what this does is replace the characters (á, é, í, ó, ú, Á, É, Í, Ó, Ú, ñ, Ñ) by (a, e, i, o, u, A, E, I, O, U, n, N), well now I can play it well, but I think it would be better to change the fonts (ttf) of the game for one that contains those characters, try to extract ttf sources with UnityEX, but it gives me an error in the middle of the extraction, well this is another matter. I consider this issue solved, thank you very much
Only one last query you know how to reduce the translated text, is that some leave the text box, Texts like (Omit, Hide, etc), and as according to what I read in your information about this program if it can be done in the config .ini.

It's primarily a manual process but it is possible to reduce font size and change wrapping behaviour. This should be documented and you can find examples of it being done in games such as HS2 and AIS.

It's primarily a manual process but it is possible to reduce font size and change wrapping behaviour. This should be documented and you can find examples of it being done in games such as HS2 and AIS.

ok, thank you very much, I give this issue as solved.


disassembly support

That is in dap since July 2021 and supported in the ui sometime later (some notes are found in https://github.com/Marus/cortex-debug/issues/460 and https://github.com/Marus/cortex-debug/wiki/Disassembly-Debugging); it would be quite nice to get it into code-debug, too.

Now also available under public domain (in a Chinese fork of this extension https://gitee.com/openkylin/native-debug). I've tested it and "in overall" it works.
I'd suggest to get the "dap-version" out of the changes and integrate it here (the hardest part is to separate the unwanted things out - the disassembly changes are intermixed with other changes).

Nope - while the Repo says it is using Unlicense, it is MIT as those changes are copied nearly verbatim from cortex-debug - therefore much care has to be taken an neither the log points nor the disassembly can be used.


made travis run only on master branch

Pull Request Test Coverage Report for Build 70

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 80.156%

Totals

Change from base Build 69:
0.0%

Covered Lines:
513

Relevant Lines:
640

💛  - Coveralls

Pull Request Test Coverage Report for Build 70

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 80.156%

Totals

Change from base Build 69:
0.0%

Covered Lines:
513

Relevant Lines:
640

💛  - Coveralls


_.without should accept an array instead of just arguments*

http://underscorejs.org/#without

But what if you want to remove an array? You're looking for is _.difference(array, otherArray).


Can not change request operation with using addFullRequestInterceptor

For a deleting operation my application should use PUT method instead DELETE.
So, I catch my 'remove' operation on addFullRequestInterceptor and I try to change it to 'put' operation for updating some other element.
myApp.config(['RestangularProvider', function (RestangularProvider) {
    RestangularProvider.addFullRequestInterceptor(function (element, operation, what, url, headers, params) {
if (operation == "remove") {
        operation = "put";
    }

    return {
        operation: operation
    };
});

But ng-admin continues to do request with DELETE method. Is it some bug or my mistake? And how I can resolve my issue?

I have used for changing POST to PUT:
entity.createMethod('put');
But as for changing 'DELETE' to 'PUT' there are no decision yet.

Hi,
I don't think you can do that with a request interceptor ...
Look at the RestWrapper, perhaps you can extend it with your own logic.
RestWrapper.prototype.deleteOne = function(entityName, url) {
    return this.Restangular
    .oneUrl(entityName, url)
        .customDELETE();
};

I have used $httpProvider for this goal:
httpProvider.interceptors.push('httpInterceptor');
        $provide.factory('httpInterceptor', function ($q) {
            return {
                // optional method
                'request': function (config) {
                    if (config.deleteEntityMethod) {
                        config.method = config.deleteEntityMethod;
                    }

                    return config;
                },
            };
        }

        RestangularProvider.addFullRequestInterceptor(function (element, operation, what, url, headers, params, httpConfig) {
            httpConfig.deleteRule = "PUT";

            return {
                        httpConfig: httpConfig
                    };
        }

It works for me.

Confirmed, the way to go is to use an interceptor on $http, as explained by @AlexH7


Exporter/Trace/OcAgent: Update versions.

Add the Agent exporter to release artifacts and update @since tag for all public APIs.

Codecov Report

Merging #1560 into master will decrease coverage by 0.01%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #1560      +/-   ##
============================================
- Coverage     83.08%   83.07%   -0.02%
  Complexity     1703     1703
============================================
  Files           255      255
  Lines          7810     7810
  Branches        752      752
============================================
- Hits           6489     6488       -1
  Misses         1101     1101
- Partials        220      221       +1

Impacted Files
Coverage Δ
Complexity Δ

...ace/ocagent/OcAgentTraceExporterConfiguration.java
100% <ø> (ø)
2 <0> (ø)
:arrow_down:

...s/exporter/trace/ocagent/OcAgentTraceExporter.java
22.58% <ø> (ø)
3 <0> (ø)
:arrow_down:

...census/implcore/trace/export/SpanExporterImpl.java
91.78% <0%> (-1.37%)
8% <0%> (ø)

Continue to review full report at Codecov.

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


Enhance serializable check option

What is the purpose of the change
Brief changelog
Verifying this change

Checklist

[x] Make sure there is a GitHub_issue field for the change (usually before you start working on it). Trivial changes like typos do not require a GitHub issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[ ] Each commit in the pull request should have a meaningful subject line and body.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Check if is necessary to patch to Dubbo 3 if you are work on Dubbo 2.7
[ ] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add sample in dubbo samples project.
[ ] Add some description to dubbo-website project if you are requesting to add a feature.
[ ] GitHub Actions works fine on your own branch.
[ ] If this contribution is large, please follow the Software Donation Guide.

Codecov Report

Merging #11460 (36e2247) into 3.1 (34b92b0) will decrease coverage by 0.05%.
The diff coverage is 6.45%.

@@             Coverage Diff              @@
##                3.1   #11460      +/-   ##
============================================
- Coverage     64.67%   64.62%   -0.05%
  Complexity       14       14
============================================
  Files          1431     1431
  Lines         59969    59995      +26
  Branches       8807     8815       +8
============================================
- Hits          38786    38774      -12
- Misses        17111    17142      +31
- Partials       4072     4079       +7

Impacted Files
Coverage Δ

...bbo/common/utils/DefaultSerializeClassChecker.java
90.80% <0.00%> (-1.06%)
:arrow_down:

...mmon/serialize/fastjson2/FastJson2ObjectInput.java
0.00% <0.00%> (ø)

...mon/serialize/fastjson2/FastJson2ObjectOutput.java
0.00% <0.00%> (ø)

...on/serialize/fastjson2/FastJson2Serialization.java
9.52% <0.00%> (-2.25%)
:arrow_down:

.../serialize/fastjson2/Fastjson2SecurityManager.java
43.54% <ø> (ø)

.../serialize/hessian2/Hessian2SerializerFactory.java
37.50% <16.66%> (-62.50%)
:arrow_down:

...g/apache/dubbo/remoting/api/ConnectionHandler.java
51.51% <0.00%> (-9.10%)
:arrow_down:

...e/dubbo/remoting/transport/netty/NettyChannel.java
51.13% <0.00%> (-7.96%)
:arrow_down:

.../apache/dubbo/remoting/transport/AbstractPeer.java
67.39% <0.00%> (-4.35%)
:arrow_down:

...pache/dubbo/remoting/transport/AbstractServer.java
61.03% <0.00%> (-3.90%)
:arrow_down:

... and 8 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Issue 74 resources

This should close #74 and also close #97
Changes:

Refactor the index page slightly to move some sections into components
Update the MeetupCard component to allow for more than one link on the card
Allow the width of the logo in the MeetupCard to be variable
Switch slack logo to colour version
Add a new Resources section to the home page with the 5 links provided in the above issues
Add discord option to MeetupCard component
Changed the Menu links to show the new sections
Removed Board and Code of Conduct links from the main menu as those are available in the Footer (needed to make room for new sections)

Nice overhaul @dboydgit
Thank you 🙏

OK @MandyMeindersma think I got everything in 631c0fc

@dboydgit there still seems to be some weirdness with the meet up cards. There isn't the correct hover mouse on the header

@MandyMeindersma good spot. Should be fixed in 893a494

looks good! Ship it!


Exporting memhttp / memhttptest

Is your feature request related to a problem? Please describe.
We are currently exploring migrating our project from the gRPC Go implementation to connect-go. Since our project uses several micro services, we have a lot of tests were we launch other microservices (in a defined state) to interact with our test target (or the other way around). For that we heavily rely on the bufconn package to avoid a lot of unnecessary (even though local) network traffic and network port management in the tests.
It seems that the internal packages memhttp / memhttptest offer a similar functionality. I wonder if there is an intent to publish these packages as an official testing solution?
Describe the solution you'd like
Export the memhttp package.

@oxisto, the internal package here was largely based on https://github.com/akshayjshah/memhttp. We are in fact considering something like this as exported API available in the connectrpc GitHub organization, but until then you can use the above 3rd-party module.

@oxisto, the internal package here was largely based on https://github.com/akshayjshah/memhttp. We are in fact considering something like this as exported API available in the connectrpc GitHub organization, but until then you can use the above 3rd-party module.

Ah excellent, thanks! Having this within the connectrpc org would be awesome, but this will do for the migration period.


Extension issue

Issue Type: Bug
Extension Name: eno
Extension Version: 2.3.18
OS Version: Windows_NT x64 10.0.19041
VSCode version: 1.49.2

:warning: We have written the needed data into your clipboard. Please paste! :warning:

Issue Type: Bug
Extension Name: eno
Extension Version: 2.3.18
OS Version: Windows_NT x64 10.0.19041
VSCode version: 1.49.2
⚠ We have written the needed data into your clipboard. Please paste! ⚠


[OAuth] Allow developer to easily customize query parameters on authorization endpoint

Today what parameter to be put on the query is hardcoded: https://github.com/aspnet/Security/blob/dev/src/Microsoft.AspNetCore.Authentication.OAuth/OAuthHandler.cs#L210. There are two existing ways to customize the list of parameters to be added.

Override the BuildChallengeUrl method. That requires a deeper overwrite to the handler.
Override the event RedirectToAuthorizationEndpoint. It is simpler than the first approach but still impose unnecessary difficulties.

We may be add a list of allowed parameter names to the OAuth options and let the OAuth handler to dynamically build the query string.

The Google middleware has a feature where it allows you to specify parameters via the AuthProperties in the challenge.
https://github.com/aspnet/Security/blob/dev/src/Microsoft.AspNetCore.Authentication.Google/GoogleHandler.cs#L98
Unfortunately these are hard-coded and get out of date. Consider changing this to a list of KVP of kyes to take from the auth properties and add to the query.


Capture youtube chapters automatically

Hi,
I am wondering if media-extended could automatically capture the chapters with timestamps in a youtube video. For example this video already summarize the chapter (to see the chapters, you need to click the "more..." link in the video introduction session right underneath the "subscribe" icon). It would be very nice if this can be automatically included when we insert it to obsidian.
Many thanks!
Sam

yeah that will be a Greate feature!

WOW yes this would be EPIC! Great idea @sammylvp


docs: Expand changelog entry for #5367

Summary
Changes from #5367  also affected toMatchObject. I added some test cases to proof that behavior and expanded the changelog entry.

Test plan
Future work
It is probably a good idea to show class instance properties when the objects did not match. Currently the diff only shows properties for which .hasOwnProperty is true (see packages/expect/src/utils.js#L94).

Codecov Report

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

@@           Coverage Diff           @@
##           master    #5719   +/-   ##
=======================================
  Coverage   63.66%   63.66%
=======================================
  Files         216      216
  Lines        7921     7921
  Branches        4        3    -1
=======================================
  Hits         5043     5043
  Misses       2877     2877
  Partials        1        1

Continue to review full report at Codecov.

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

@eps1lon mind opening up a separate issue (or even PR :D) for the future work you note? I agree that it seems like the right thing to do

@SimenB Will take a look at it,


Please provide a detail explanation about how to use your library

I have trying to setup your library in my project, the examples are not clear.

Hey @dbarrientostk — the notes here are really the best I can provide at the moment: https://github.com/dropseed/django-oauth-login?tab=readme-ov-file#usage
This library intentionally requires a little bit of work/code on your part. You may prefer something like https://github.com/pennersr/django-allauth instead if you're not a fan of the way this one works.