Resources Only Available for Enterprise

If Im reading code correctly, the resources map is only used within the multiscript.js which only works for Enterprise plans, is that correct?
I have KV beta access and it doesn't appear that my bindings are working.  Why is that not available to non-enterprise? How can I bind my KV store via sls?

#22 PR for Fix


(PUP-4489) Add data_provider to module metadata

Adds a 'data_provider' entry to metadata.json. The entry must be a
string that starts with a letter and then contains only letters,
digits, and underscores.

CLA signed by all contributors.


Update data.json

Updated co-ordinates, kindly accept.

@synergeticsongithub2020 please fix the conflicts before I approve the PR. Thanks!


Parse bytes_per_chunk keyword from string

Inspired by https://stackoverflow.com/questions/62700350/storing-dask-dataframes-to-parquet-when-data-doesnt-fit-in-memory

[ ] Tests added / passed
[ ] Passes black dask / flake8 dask

Thanks!


question on generated segmentation masks

Thanks for sharing this work! I'm rather new to segmentation. I wondered how I can convert generated segmentation masks (which are .npy files located at cam folder) to .png images since deeplab segmentation network seems to take .png masks as segmentation labels. Could you refer to any source code or reference regarding this?

To be more concrete, segmentation masks that I've made running your code gives me .npy format files and it seems like probability value is assigned to each of the location(pixel) in the image. I'm wondering if there's a threshold value you used to separate the background.


Error when exporting project

Hi,
It might not be at all an issue of the Docker image but I figured someone might have encountered that issue already.
I'm using Circle CI to export my project for HTML, Windows and macOS. For each of them I'm getting this error when running godot --export:
ERROR: ~List: Condition "_first != __null" is true.

   At: ./core/self_list.h:112.

ERROR: cleanup: There are still MemoryPool allocs in use at exit!

   At: core/pool_vector.cpp:69.

The build still passes and the builds are there but it seems they are broken (I can only test the macOS/HTML one).
When I run godot --export on my machine it works fine.
Any idea on what's going on?
This is the Circle CI config file:
version: 2.1
jobs:
  build:
    docker:
      - image: barichello/godot-ci
    steps:
      - checkout
      - run: |
          mkdir -p ./build/chroma-dungeon-browser
          mkdir -p ./build/windows
          mkdir -p ./build/macos
      - run: godot --export windows-desktop ./build/windows/chroma-dungeon.exe
      - run: godot --export macos ./build/macos/chroma-dungeon.dmg
      - run: godot --export html ./build/chroma-dungeon-browser/index.html
      - run: butler push ./build/windows/chroma-dungeon.exe caldera-games/chroma-dungeon:windows
      - run: butler push ./build/macos/chroma-dungeon.dmg caldera-games/chroma-dungeon:macos
      - run: butler push ./build/chroma-dungeon-browser caldera-games/chroma-dungeon:browser

Actually it turns out the build is not broken if I use --export-debug instead of --export. The error still shows though, but the build is fine. I think it might be a bug in Godot exporter.


[DEV-1598] remove old conda channels

I'm working on https://app.clickup.com/t/1250339/DEV-1598, removing old saturn conda channels from projects in the saturncloud GitHub org.
It looks like this project is using these in some environments, but that it doesn't actually rely on any packages in those channels.
This PR proposes removing those channels.
How this improves saturn-cloud-examples

might improve build times by reducing the search space for packages
prevents the possibility of accidentally getting an old package due to a weird environment solve
removes a possible source of supply chain attacks, where someone could try to sneak malicious code into our environments by uploading it to one of these conda channels

Task linked: DEV-1598 remove un-necessary channels in conda envs, especially Saturn ones

@rikturr could I get a review on this? It should be quick.


[User Experience] - Standardize Collection scripts word wrap

Currently the Collection scripts (v0.25.0) will word wrap differently to the Request scripts tab, and appears to auto wrap around 85 char, unlike the Request that dynamically wraps with position of the response split slider.

Closing this due to inactivity.


Errors occur when the user does not have VIEW SERVER STATE permission.

In this case the following errors are raised even though the function succeeds.

Msg 300, Level 14, State 1, Procedure "trigger name here", Line ## [Batch Start Line 0]
VIEW SERVER STATE permission was denied on object 'server', database 'master'.
Msg 297, Level 16, State 1, Procedure "trigger name here", Line ## [Batch Start Line 0]
The user does not have permission to perform this action.

This prevents using this function inside triggers.

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

ID: 7ef80f24-0d7d-217d-f014-d9c24dc57bc0
Version Independent ID: dd246fd2-e967-ef77-1dc4-0d05d0caebb3
Content: sys.dm_exec_input_buffer (Transact-SQL) - SQL Server
Content Source: docs/relational-databases/system-dynamic-management-views/sys-dm-exec-input-buffer-transact-sql.md
Product: sql
Technology: system-objects
GitHub Login: @stevestein
Microsoft Alias: sstein

FYI, regarding getting instance-level permissions, please see:
Safely and Easily Use High-Level Permissions Without Granting Them to Anyone: Server-level
Take care,
Solomon...
https://SqlQuantumLeap.com/

I don't really understand how that is a solution.  That is more a workaround to what appears to be an undocumented bug.
The documentation says it works for the less privileged users as long as they only access their information, but the error being thrown basically means that this is untrue in any useful automated way.
It does NOT say that users can really only do this within management studio because virtually everywhere else will receive and report the error.
It does NOT say that users can do this by not actually doing it but instead going through additional steps that if not done correctly would give access to information not specific to that user and could compromise security.
The documentations actually says "On SQL Server, if the user has VIEW SERVER STATE permission, the user will see all executing sessions on the instance of SQL Server; otherwise, the user will see only the current session."  This gives no indication that the error I mentioned WILL be returned upon completion of the trigger, stored procedure, or function when the user does NOT have the VIEW SERVER STATE permission.

@mdell-seradex - thanks for raising this issue. We're currently investigating...

Thank you very much.

@mdell-seradex Ah, sorry. I misunderstood the context. Yes, you are correct. I can reproduce the issue using the following T-SQL:
USE [tempdb];
CREATE LOGIN [InpBufTest] WITH PASSWORD = 'Show Me The Buffer!';
CREATE USER [InpBufTest] FOR LOGIN [InpBufTest];

EXECUTE AS LOGIN = N'InpBufTest';
SELECT USER, SYSTEM_USER;

DBCC INPUTBUFFER(@@SPID); -- works
SELECT * FROM sys.dm_exec_input_buffer(@@SPID, CURRENT_REQUEST_ID()); -- error:
/*
Msg 300, Level 14, State 1, Line XXXXX
VIEW SERVER STATE permission was denied on object 'server', database 'master'.
Msg 297, Level 16, State 1, Line XXXXX
The user does not have permission to perform this action.
*/
REVERT;

DROP USER [InpBufTest];
DROP LOGIN [InpBufTest];

Given that DBCC INPUTBUFFER does work, that implies that sys.dm_exec_input_buffer() should also work for a User to see their own data (which is what you are saying), so it appears that the documentation is correct, but there is a bug in sys.dm_exec_input_buffer(). I see that you did post this to the FeedBack site:
sys.dm_exec_input_buffer(@@SPID, NULL) returns "VIEW SERVER STATE permission was denied on object 'server', database 'master'."
I just voted for that issue. I also added a comment with the same repro code as shown above, and linked back to this issue.
Take care,
Solomon...
https://SqlQuantumLeap.com/

Interesting, I thought that DBCC INPUTBUFFER previously could not be run by those that did not have high level privileges, such as sysadmin or VIEW SERVER STATE.  Perhaps this has changed or the documentation has, or our understanding of them...
DBCC INPUTBUFFER also has a size limitation.  Hopefully sys.dm_exec_input_buffer() does not have that same limitation.

DBCC INPUTBUFFER also has a size limitation. Hopefully sys.dm_exec_input_buffer() does not have that same limitation.

I haven't tested prior versions to see if permissions behavior is the same or different, but I did test max length and yes, DBCC INPUTBUFFER is limited to NVARCHAR(4000) while sys.dm_exec_input_buffer is NVARCHAR(MAX). I was able to get a batch fully returned from sys.dm_exec_input_buffer that was > 6000 character / 12k bytes.

@mdell-seradex Thanks for bringing this to our attention and to @srutzky for the input/conversation. @stevestein is out of the office for several weeks, so I'm going to ask @CarlRabeler if he can take a look at this and see what doc changes might be necessary. I apologize for the delay. Thank you! #reassign:CarlRabeler

@mdell-seradex @srutzky So, you are basically saying this, correct?
Running this DMV outside of SQL Server Management Studio against SQL Server without VIEW SERVER STATE permissions (such as in a trigger, stored procedure, or function) throws a permission error on the master database.

Technically speaking I think it throws a warning, but every data access technique I have used still treats it as an error, and it can happen on any database.
From what I recall, the message that you get within SQL Server Management Studio when run without VIEW SERVER STATE permissions is what is treated as an error by all data access technologies I have used.  e.g. ADODB, ADO.NET

Note that I personally feel that this is a bug in SQL Server, but until it is addressed, if it ever is, then this behaviour should be documented.

updated docs
#please-close

I am unsu

Thank you for the documentation update.I am not sure if you meant to include the warning twice.

Thank you for the documentation update.
I am not sure if you meant to include the warning twice.
Also, regarding the wording, I wonder if some readers would mistake this as an issue that only occurs when retrieving a SQL statement that was executed against the master database, and would think that it does not occur in other databases.
Thank you again.

Any suggestions for improving this warning would be appreciated. Please feel free to click Edit in the upper right hand corner and submit your edit suggestions. Thanks.


Easy to accidentally use shellisms in fix and check targets

I got this failure for a setup:
ERROR: "bundle check" was called with arguments ["&&", "bundle", "install"]
Usage: "bundle check [OPTIONS]"
ERROR Check `bundle-update` failed. The fix ran and Failed.

Turns out it was because I was using &&:
apiVersion: scope.github.com/v1alpha
kind: ScopeDoctorSetup
metadata:
  name: bundle-update
spec:
  # order: 100 # default value
  cache:
    paths:
      - Gemfile*
      - .ruby-version
  setup:
    exec:
      - bundle check && bundle install
  description: Check for updates to bundled dependencies

I wonder if it's useful to always run things in a shell? Or if it could be identifed with a better error message?

I think your suggestion to run things in a shell is probably correct. We could make a shell script in tmp, with whatever text they provide and use sh as the interpreter. In that case we'll also get the ability to use env-vars.
Thoughts?


Escape special characters in query expressions

Known problems:

[ ] Attribute or value names that contain parentheses
[ ] Negative numbers

Fixed in #320


Windows version is very old. When do you plan to update it with the latest ?

I try to use windows version for my project but I scramble through big differences between latest win version and the original release. If no body plans to do so, then would someone explain to me to compile latest version in windows?
Thanks

@erogol I am sorry that I have been busy for quite some time. I find this post recently. It may help you.

Yeah I used it. Thanks :)


Compare URLs in an IE compatible way

By using the URL constructor and regular expressions in tests, we can make sure that URL comparisons work on all browsers.

Merging as trivial change that does not make changes to the library.


docs(readme): fix Angular name

it's just Angular, not AngularJS, not Angular2, not AngularJS2 ;)

merged. thank you

No problem, thanks for correcting this tiny thing!


Upgrade the croc version

croc is not compatible with older versions after upgrading to version 10.0
v9.6.16 was a breaking change so I have re-released it as v10.0.0 to signal that. clients must be >=v9.6.16 or >=v10 to be compatible.

I updated it. Usually takes a week to show up in fdroid.

Can a standalone apk file be provided?

I added an APK to the release.


Md-icon inside md-expansion-panel header not aligned correctly

Bug, feature request, or proposal:
Bug
What is the expected behavior?
md-icon should stick with the md-panel-tile text
What is the current behavior?
md-icon not aligned correctly
What are the steps to reproduce?
Plunker: http://plnkr.co/edit/6VVJbXSkYGiWJ1OaEp5u?p=preview
        <md-expansion-panel>
            <md-expansion-panel-header>
                <md-panel-title>
                  <md-icon>search</md-icon> Search
                </md-panel-title>
            </md-expansion-panel-header>

Something here

        </md-expansion-panel>

What is the use-case or motivation for changing an existing behavior?
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
angular 4
material beta 8
Is there anything else we should know?

I believe https://github.com/angular/material2/pull/5950 will fix this

It didn't entirely. Your example still requires
.mat-content {
  align-items: center;
}

Resolved via: #5950


[REQ] Commenting

Example:
for video in list(videos):
            # like the video
            await bot.like(video)
            # unlike the video
            await bot.unlike(video)
            # comment in the video
            await bot.comment(video, 'nice video')

@sudoguy any news on it


Added note about enableVideo capability

Codecov Report

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

@@          Coverage Diff           @@
##           master    #358   +/-   ##
======================================
  Coverage    74.8%   74.8%
======================================
  Files           9       9
  Lines        1048    1048
======================================
  Hits          784     784
  Misses        216     216
  Partials       48      48

Flag
Coverage Δ

#unittests
74.8% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Fix E2E Flakiness with test_complete_passthrough

The issue there is race with agent removal/spawn of new one - we right now use sleeps. The best mechanism would be to wait for the agent pod to get removed instead of sleeping. There's another possible issue in which we don't connect in time (then we need to increase timeout).

(hopefully) Fixed by #1004


fix install partly

Just some minor fixes, but still I had issues w/
jupyter labextension install jupyterlab_3dmol

apparently, due to missing Node.js and npm (siehe auch https://github.com/ncbi/icn3d/issues/76)
Tried
conda install -c conda-forge nodejs

and then was able also to run
jupyter labextension install jupyterlab_3dmol

but still when using
jupyter notebook example.ipynb

the notebook starts but still shows

install steps also documented here https://pypi.org/project/icn3dpy/

also maybe reload conda env, restart browser and rerun notebook

also maybe reload conda env, restart browser and rerun notebook

tried that on my mac, also does not work and shows only the error mssg instead of protein figures in the notebook.
Then tried to install everything on Linux laptop but building the conda env (including now also nodejs) fails already due to conflicts. Then tried mamba instead of conda.
mamba env create -n $ENV_NAME --file install/requirements.yml

that resulted in
Encountered problems while solving.
Problem: nothing provides boost 1.57.0 needed by dssp-2.2.1-0
Adding boost explicitly results in the next missing package...
Not sure what to do here. So I tried to figure out which package causes the conflict. It seems to be dssp from this salilab channel. Without the dssp package the env installs on my Linux. My workaround was:
# install the env w/o dssp
mamba env create -n $ENV_NAME --file install/requirements.yml
conda activate faltwerk
mamba install -c salilab dssp

but this runs into the next conflicts.... -.-
Not sure why on Mac it was able to resolve the env but not on Linux. But maybe that's also the reason why in the end it did not completely work on my Mac.
How about a container? :D

@hoelzer can you try to install https://pypi.org/project/icn3dpy/ in some separate repo? just to start on the rendering in a notebook issue.

Maybe one needs to "rebuild" jupyter, see https://github.com/3dmol/jupyterlab_3Dmol#development
Maybe relevant: https://github.com/3dmol/jupyterlab_3Dmol/issues/2
@hoelzer how did you install node.js? what versions of node and npm did this install?

I've installed the latest version of JupyterLab (0.34.6) and the install of the jupyterlab_3dmol extension works. I think the problem was that I have Node v10.4.1 which was not compatible with earlier versions of JupyterLab (https://github.com/jupyterlab/jupyterlab/pull/5121).

https://github.com/jupyterlab/jupyterlab/issues/5225
FFS

I've installed the latest version of JupyterLab (0.34.6) and the install of the jupyterlab_3dmol extension works. I think the problem was that I have Node v10.4.1 which was not compatible with earlier versions of JupyterLab (jupyterlab/jupyterlab#5121). -- source: jupyterlab/jupyterlab#5225

FFS

on the mac I have Node.js v18.7.0 and installed via conda. jupyerlab is v3.4.5 apparently (jupyter --version)

On Linux:
conda create -n faltwerk
conda activate faltwerk
mamba install -c salilab python jupyter notebook foldseek hmmer dssp nodejs biopython

finally worked to install the first dependencies. Python was installed in v3.10.4 and foldseek in v1.3c64211 however... likely that's problematic bc/ the foldseek version is too old...
I also tried then
mamba install -c salilab python jupyter notebook foldseek=3.915ef7d hmmer dssp nodejs biopython

which ends in conflicts.
So I continued w/ the env w/ the older foldseek version and run:
pip install -r install/more_requirements.txt
jupyter labextension install jupyterlab_3dmol
# and again the command is not found -.- although nodejs should have been installed via mamba this time. Thus, I installed jupyterlab (again) via pip and then was able to also run the labextension command:
pip install jupyterlab
jupyter labextension install jupyterlab_3dmol
pip install -e .
conda deactivate
conda clean -a
conda activate faltwerk

And then started the example notebook and still

You appear to be running in JupyterLab (or JavaScript failed to load for some other reason). You need to install the 3dmol extension: jupyter labextension install jupyterlab_3dmol

arghhh o-O

@hoelzer can you try to install just python and node, then
pip install jupyter notebook biopython
jupyter labextension install jupyterlab_3dmol
# now the pip packages

And then try to load a minimal example (remaining conda packages not necessary).
from faltwerk.models import Fold
from faltwerk.vis import Layout

# take the file I sent you in the chat
fp = '...'
model = Fold(fp)
Layout(model).geom_ribbon().render().show()

Does that work?

Hm. Read this:
https://jupyterlab.readthedocs.io/en/stable/user/extensions.html#installing-extensions

A JupyterLab extension contains JavaScript that is installed into Jupyterlab and run in the browser. An extension contains one or more plugins that extend JupyterLab. There are two types of JupyterLab extensions: a source extension (which requires a rebuild of JupyterLab when installed), and a prebuilt extension (which does not require a rebuild of JupyterLab). Rebuilding JupyterLab requires Node.js to be installed.

rebuild?

Installing a source extension requires Node.js and a JupyterLab rebuild to activate. See Installing Node.js and Managing Extensions with jupyter labextension.

https://jupyterlab.readthedocs.io/en/stable/user/extensions.html#installing-and-uninstalling-source-extensions
jupyter lab build
Maybe rebuilding is important. I don't really remember doing any of this, but then again, maybe I did ...

superweird.
on my linux machine, this works:
mamba create -y -n faltwerk python=3.10 && conda activate faltwerk
pip install notebook py3Dmol biopython pandas screed
git clone https://www.github.com/phiweger/faltwerk && cd faltwerk
pip install -e .
jupyter notebook

... and then the above minimal program works. No node, no extension, ...

jupyter notebook

Okay, just quickly tested this. And then the notebook seems to start w/o error and shows

Now run to the train ;)

right, now create a new notebook using "new" and -- assuming your in the faltwerk github repo -- run
from faltwerk.models import Fold
from faltwerk.vis import Layout

# take the file I sent you in the chat
fp = 'data/alphafold2/test_08df6_unrelaxed_rank_1_model_3.pdb'
model = Fold(fp)
Layout(model).geom_ribbon().render().show()

Another path, just registering here before thought lost. On the 3Dmol.js website clicking "Jupyter" a colab opens up. Checking versions there.
https://3dmol.csb.pitt.edu/
!node --version

v14.16.0

!jupyter --version

Selected Jupyter core packages...
IPython          : 7.9.0
ipykernel        : 5.3.4
ipywidgets       : 7.7.1
jupyter_client   : 6.1.12
jupyter_core     : 4.11.1
jupyter_server   : not installed
jupyterlab       : not installed
nbclient         : not installed
nbconvert        : 5.6.1
nbformat         : 5.4.0
notebook         : 5.3.1
qtconsole        : not installed
traitlets        : 5.1.1


Kubernetes cluster creation should also create a secret to access the newly created cluster

I asked around in the Slack channel about how to access newly created clusters and got the following answer for the AWS provider, I presume it would be good practise to implement something similar for the Digital Ocean provider.
Slack Thread

The Cluster resource in provider-aws will create a secret with the credentials, and you can create a ProviderConfig for kubernetes which references that secret

- name: kubernetes_provider_config
    base:
      apiVersion: kubernetes.crossplane.io/v1alpha1
      kind: ProviderConfig
      spec:
        credentials:
          source: Secret
          secretRef:
            namespace: crossplane-system
            key: kubeconfig
    patches:
    - type: FromCompositeFieldPath
      transforms:
      - string:
          fmt: "%s-cluster"
          type: Format
        type: string
      fromFieldPath: metadata.annotations[crossplane.io/external-name]
      toFieldPath: spec.credentials.secretRef.name
    - type: FromCompositeFieldPath
      transforms:
      - string:
          fmt: "%s-cluster"
          type: Format
        type: string
      fromFieldPath: metadata.annotations[crossplane.io/external-name]
      toFieldPath: metadata.name
    readinessChecks:
    - type: None

Also a duplicate of #47 and will be pushed in the next release. If you wish for the fix now use the latest rc image in dockerhub.

Thanks Daniel, I should really read your backlog before reporting these, sorry for the noise.


Make file path labeling an option and default it to nothing

Make printing the file path label in the upper right of the plot an optional parameter in the configuration file that is set to not plot anything by default.

Done, per Evan's commit.


Type safety for data-color-scheme

Note: Separated out from issue #2655, in order to merge PR #2795.
Expand #2795 to let CLI generate types for data-color-scheme based on the color schemes present in the token structure, and add to DefaultProps and react-types.d.ts

Jepp, should be a quick addition to the already generated types.


NotImplementedError: The update_policy action has not been implemented

Good afternoon,
I came across this error while using the organizations update_policy API call:
Error
Traceback (most recent call last):
  File "C:\Users\redacted\AppData\Local\Programs\Python\Python36\lib\unittest\case.py", line 59, in testPartExecutor
    yield
  File "C:\Users\redacted\AppData\Local\Programs\Python\Python36\lib\unittest\case.py", line 605, in run
    testMethod()
  File "C:\Users\redacted\AppData\Local\Programs\Python\Python36\lib\site-packages\moto\core\models.py", line 88, in wrapper
    result = func(*args, **kwargs)
  File "C:\Users\redacted\AppData\Local\Programs\Python\Python36\lib\unittest\mock.py", line 1179, in patched
    return func(*args, **keywargs)
  File "C:\Users\redacted\Desktop\redacted\redacted\tests\unit\test_organizations.py", line 319, in test_update_scp
    Content=str(updated_scp)
  File "C:\Users\redacted\AppData\Local\Programs\Python\Python36\lib\site-packages\botocore\client.py", line 316, in _api_call
    return self._make_api_call(operation_name, kwargs)
  File "C:\Users\redacted\AppData\Local\Programs\Python\Python36\lib\site-packages\botocore\client.py", line 622, in _make_api_call
    operation_model, request_dict, request_context)
  File "C:\Users\redacted\AppData\Local\Programs\Python\Python36\lib\site-packages\botocore\client.py", line 641, in _make_request
    return self._endpoint.make_request(operation_model, request_dict)
  File "C:\Users\redacted\AppData\Local\Programs\Python\Python36\lib\site-packages\botocore\endpoint.py", line 102, in make_request
    return self._send_request(request_dict, operation_model)
  File "C:\Users\redacted\AppData\Local\Programs\Python\Python36\lib\site-packages\botocore\endpoint.py", line 137, in _send_request
    success_response, exception):
  File "C:\Users\redacted\AppData\Local\Programs\Python\Python36\lib\site-packages\botocore\endpoint.py", line 256, in _needs_retry
    caught_exception=caught_exception, request_dict=request_dict)
  File "C:\Users\redacted\AppData\Local\Programs\Python\Python36\lib\site-packages\botocore\hooks.py", line 356, in emit
    return self._emitter.emit(aliased_event_name, **kwargs)
  File "C:\Users\redacted\AppData\Local\Programs\Python\Python36\lib\site-packages\botocore\hooks.py", line 228, in emit
    return self._emit(event_name, kwargs)
  File "C:\Users\redacted\AppData\Local\Programs\Python\Python36\lib\site-packages\botocore\hooks.py", line 211, in _emit
    response = handler(**kwargs)
  File "C:\Users\redacted\AppData\Local\Programs\Python\Python36\lib\site-packages\botocore\retryhandler.py", line 183, in __call__
    if self._checker(attempts, response, caught_exception):
  File "C:\Users\redacted\AppData\Local\Programs\Python\Python36\lib\site-packages\botocore\retryhandler.py", line 251, in __call__
    caught_exception)
  File "C:\Users\redacted\AppData\Local\Programs\Python\Python36\lib\site-packages\botocore\retryhandler.py", line 269, in _should_retry
    return self._checker(attempt_number, response, caught_exception)
  File "C:\Users\redacted\AppData\Local\Programs\Python\Python36\lib\site-packages\botocore\retryhandler.py", line 317, in __call__
    caught_exception)
  File "C:\Users\redacted\AppData\Local\Programs\Python\Python36\lib\site-packages\botocore\retryhandler.py", line 223, in __call__
    attempt_number, caught_exception)
  File "C:\Users\redacted\AppData\Local\Programs\Python\Python36\lib\site-packages\botocore\retryhandler.py", line 359, in _check_caught_exception
    raise caught_exception
  File "C:\Users\redacted\AppData\Local\Programs\Python\Python36\lib\site-packages\botocore\endpoint.py", line 197, in _do_get_response
    responses = self._event_emitter.emit(event_name, request=request)
  File "C:\Users\redacted\AppData\Local\Programs\Python\Python36\lib\site-packages\botocore\hooks.py", line 356, in emit
    return self._emitter.emit(aliased_event_name, **kwargs)
  File "C:\Users\redacted\AppData\Local\Programs\Python\Python36\lib\site-packages\botocore\hooks.py", line 228, in emit
    return self._emit(event_name, kwargs)
  File "C:\Users\redacted\AppData\Local\Programs\Python\Python36\lib\site-packages\botocore\hooks.py", line 211, in _emit
    response = handler(**kwargs)
  File "C:\Users\redacted\AppData\Local\Programs\Python\Python36\lib\site-packages\moto\core\models.py", line 272, in __call__
    request, request.url, request.headers
  File "C:\Users\redacted\AppData\Local\Programs\Python\Python36\lib\site-packages\moto\core\responses.py", line 197, in dispatch
    return cls()._dispatch(*args, **kwargs)
  File "C:\Users\redacted\AppData\Local\Programs\Python\Python36\lib\site-packages\moto\core\responses.py", line 295, in _dispatch
    return self.call_action()
  File "C:\Users\redacted\AppData\Local\Programs\Python\Python36\lib\site-packages\moto\core\responses.py", line 393, in call_action
    "The {0} action has not been implemented".format(action)
NotImplementedError: The update_policy action has not been implemented

I am calling it by creating a session, with that session I create the organizations client and call it:
                updated_policy = self.orgs_client.update_policy(
                    PolicyId=policy_id,
                    Name=policy_name,
                    Description=policy_description,
                    Content=str(updated_scp)
                )

I am expecting the API call to succeed, but it is giving me the aforementioned error
Currently installed:
moto version 1.3.14
boto3 version 1.10.34
botocore version 1.17.28
installed all libraries using pip

Thanks for raising this @harvester843. The update_policy endpoint was only introduced recently, and is available as of moto >= moto >= 1.3.15.dev999.
Can you verify whether your test case works after upgrading?

Hello @bblommers ,
Yes I have confirmed my update_policy test case now works using moto version 1.3.15.dev999. Is there a target date for the release of 1.3.15?
Also, thanks for addressing this issue quickly!

There's nothing planned in terms of a release, as far as I know. Using the dev-releases is recommended though, because of the infrequent nature of official releases - and the only difference is really the naming.


Adds the support for JASMIN soil moisture analysis

This plugin adds the support for JASMIN soil moisture analysis
in LVT. JASMIN is the high resolution soil moisture analysis
over Australia produced by the Bureau of Meteorology in Australia
Resolves #549

From the linked issue:
An example testcase can be found at: /discover/nobackup/svkumar/LISF_testing/549

I ran the test case and reproduced Sujay's results.
Note that my run did not create these three files:

STATS.JASMIN/ACORR_SUMMARY_STATS.dat
STATS.JASMIN/RCORR_SUMMARY_STATS.dat
STATS.JASMIN/ubRMSE_SUMMARY_STATS.dat

In /discover/nobackup/svkumar/LISF_testing/549 directory, these three files are 0 bytes in size.
I discussed this with Sujay; it okay to ignore these three files.  He turned off those metrics because this is a short testcase.


New: Program::get_used_qubits()

I fumbled the merge-and-delete of feat/improve-dot-graphs - @notmgsk if you'd like to see this merged please just open a new MR against main.


SizeLimit bundle check

Found the better package to check the size.
It showed different numbers around 300 KB so I put the limit to 420 KB
Applied changed to caching part -> Now it actually works!

As a recap. We decided not to go with this check since numbers are not consistent.


mockoidc: enable server impersonation

By customizing EndpointConfig, the mock server can now impersonate many other OIDC servers, which can then be used with a MITM-ing http.RoundTripper to execute tests against otherwise unaltered client code.

I'm happy to add additional test coverage, or provide examples of usage as you might like, but I wanted to send an in-principle patch first for feedback.

@raggi Would you be so kind to provide a usage example? Seems that doing
endpoints := mockoidc.EndpointConfig{
		IssuerBase:    "/",
		TokenEndpoint: "/oauth/token",
	}
	endpoints.Defaults()
	m.EndpointConfig = endpoints

doesn't really work, as well as not really convenient, as you can't inline it. Thank you


update example for Remove-AzureADUserExtension

Add:
Example 1
PS C:\> Remove-AzureADUserExtension -ObjectId<EMAIL_ADDRESS>-ExtensionName "Test Extension"

This will remove the "Test Extension" attribute from user<EMAIL_ADDRESS>

Docs Build status updates of commit 18506b8:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

azureadps-2.0/AzureAD/Remove-AzureADUserExtension.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

@CelesteDG , good to go.


v0.23.2 planning

Looks like we have to release v0.23.2 soon from the current master

https://github.com/lima-vm/lima/issues/2556#issuecomment-2316022788

https://github.com/lima-vm/lima/releases/tag/v0.23.2


Add example script to demonstrate how to run validateDrp.py on DC2 runs

Add example script in scripts to show how to run validateDrp.py on DC2 run.
Show example for 'Run1.1p-test2'.

Completed.


Kong Basic Auth issue when access to dashboard self-hosted

This is a request for some dummy domain with proxied with cloudflare. Basic auth fails with username/password with right credentials.
I followed some instructions from url
How to fix this?
curl -X POST https://api.somesupabaseselfhosted.com/consumers/dashboard/basic-auth \
--data "username=auth_username" \
--data "password=auth_password"
{
 "message":"Unauthorized",
 "request_id":"some_request_id"
}

Its also proxied with nginx-proxy-manager as api.somesupabaseselfhosted.com to http://kong:8000


Adding materials to the walking model

Once we finish our model in #70 we are going to add materials to the model.
https://docs.blender.org/manual/en/latest/render/materials/introduction.html
«Materials control the appearance of meshes, curves, volumes and other objects. They define the substance that the object is made of, its color and texture, and how light interacts with it.»

Substance
Color
Texture

In Godot we can also modify the materials.
https://docs.godotengine.org/en/stable/classes/class_material.html

We have worked already on Godot with materials: #47. But let's review it in Blender also.


SquadJS Version 2

Although this worked last time it was used/tested, a new SquadJS version has been written in a new repo. This will be where the work going forwards is undertaken.
https://github.com/Thomas-Smyth/SquadJS


"lecuture start" / "lecture end": download should be selectable per course/section

it would be more useful if i can select the "Lecuture start" / "Lecture end" should be per Course.
Better when i hit download button:

it should give me the list of sections (and lecures) and let me check on which section i like to download.

why?
i need for example:

only unseen lectures
only 2 sections ahead (to save space)
or download all sections

Similar:
it works then like the iphone/ipad app where i can select what i can download
this setting also avoid to much downloads from udemy

This is a good idea and I was thinking about it myself also. We can schedule it for future releases.
I have 1.3.0 unreleased and it adds support for downloading lecture attachments and other items. I am testing 1.3.0 currently. Once it is ready I will release it.

one point also for selection per section/lecture is that Udemy give you a refund but only if you look at an xxx amount of slides you seen(or downloaded). downloading all lectures are a reason to reject the refund.

When I download a course through Udeler, I don't see that the downloaded lectures are counted as seen by Udemy.  However, there is no denying that they can still check it anytime and might have a system in place for that. Your point is genuine. As I said before we can consider this feature for future releases.
One workaround for now could be, you can change Download Start/End each time before starting download. Once the download starts it follows its own Download Start/End setting. Therefore you do not have to wait for each course to finish downloading before you change Download Start/End setting for another course.


Subscription filter seems doesn't work for specific field

Hey Guys!
I think, there is a big issue in the subscription filtering.
I checked this page(https://www.prisma.io/docs/prisma-client/features/realtime-JAVASCRIPT-rsc8/i), and tried to create the endpoint to subscribe to a room. only when a new message is posted on the room, the subscription endpoint returns the message, but I got nothing from it.
when I changed { mutation_in: ['CREATED'], roomID_contains: args.roomID  } to { mutation_in: ['CREATED'] }, it returns every message from any room.
if someone help me, I really appreciate that.
My code is something like that
function newMessageEvent (parent, args, context, info) {
  return context.prisma.$subscribe.message({ mutation_in: ['CREATED'], roomID_contains: args.roomID  }).node()
}

const messageChanged = {
  subscribe: newMessageEvent,
  resolve: payload => {
    console.log(payload)
    return payload
  },
}

module.exports = {
  messageChanged,
}

Thanks

It's not documented, but try:
return context.prisma.$subscribe
    .message({
        mutation_in: ['CREATED'],
        node: {
            roomID_contains: args.roomID,
        },
    })
    .node()

Yes, the solution @joshhopkins suggested here is the way to go.
@nikolasburk Can we please add this to our docs.

@joshhopkins Thanks a lot!!
It actually works!


Fix Docs invalid JSON missing commas and escapes

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/2272/
Test PASSed.


Missing license

Please add one, otherwise this isn't open-source software and hinders contribution.

Thanks for the reminder! Added.


Added restart functionality while running, just like "rs" option in node...

While running my server with supervisor, I often want to restart it because I have in memory variables that I want to reset, like counters.
Nodemon has a handy feature: type rs in the console and the server restarts.

does this work..I typed rs and nothing happens..window 7 node 0.12.7 express 4.x


Fix EditorFileDialog clears the file name on changing directory

Regression from https://github.com/godotengine/godot/pull/51478, the change in that PR will clear the file when changing directory (which is undesirable, for example if you want to save the same name in a different directory), can't find any clear justification for the change in the PR, but I might have missed something, but in any case it breaks correct behavior relatively seriously, so what ever the reason for that change it has to be re-implemented with these effects in mind.
Might work correctly by moving the change to the cases below, but think this needs a dedicated investigation into what we actually want to accomplish here:
--- a/editor/gui/editor_file_dialog.cpp
+++ b/editor/gui/editor_file_dialog.cpp
@@ -264,17 +264,17 @@ void EditorFileDialog::update_dir() {
        }
        dir->set_text(dir_access->get_current_dir(false));

-       file->set_text("");
-
        // Disable "Open" button only when selecting file(s) mode.
        get_ok_button()->set_disabled(_is_open_should_be_disabled());
        switch (mode) {
                case FILE_MODE_OPEN_FILE:
                case FILE_MODE_OPEN_FILES:
+                       file->set_text("");
                        set_ok_button_text(TTR("Open"));
                        break;
                case FILE_MODE_OPEN_ANY:
                case FILE_MODE_OPEN_DIR:
+                       file->set_text("");
                        set_ok_button_text(TTR("Select Current Folder"));
                        break;
                case FILE_MODE_SAVE_FILE:

Fixes: #81225

Pushed the alternative solution, which does the clearing when opening files, which makes sense

The project import part (the source of the problematic line) seems to work good.

Thanks!

Thank you!


Object Type DDLX causes commit by 'UNKNOWN' author

When committing to a repository using CDS and RAP objects, the framework seems to not allocate this file type to the user that changed it.

changed_by is not implemented to DDLX
https://github.com/abapGit/abapGit/blob/main/src/objects/zcl_abapgit_object_ddlx.clas.abap#L110
User-specific data is cleared properly during serialization but saving the correct user during deserialization is left to SAP code.

pull requests welcome to fix the method


release 0.9?

The last commit of the "API quake" upgrade was 3 months ago, would be good to see an actual release :)

I keep checking back several times a week myself.

+1

+1

+1

Working on it, honest. Thanks for your patience.
On Tue, Feb 10, 2015, 10:51 PM wdawiskiba<EMAIL_ADDRESS>wrote:

+1
—
Reply to this email directly or view it on GitHub
https://github.com/square/flow/issues/58#issuecomment-73840393.

@rjrjr can you give us an estimated release date?
I'm wondering if it's worth starting new project with 0.8, an many things are just about to change.

We will cut 0.9 by the end of the month. The last real point of debate is
whether or not to make Flow manage Objects or Paths.
On Wed, Feb 11, 2015, 7:06 AM wdawiskiba<EMAIL_ADDRESS>wrote:

@rjrjr https://github.com/rjrjr can you give us an estimated release
date?
I'm wondering if it's worth starting new project with 0.8, an many things
are just about to change.
—
Reply to this email directly or view it on GitHub
https://github.com/square/flow/issues/58#issuecomment-73895770.

+1, looking forward to 0.9

+1 0.9 would be awesome!

+1

@loganj ...

Closing this issue. We're converging on a release, but I don't want to predict a date. Could be this week (since I'm off and may have time), might be later.


TGW-VPN Attachment Monitoring

Please up-vote if you want this feature. Do not submit a new feature request.

Not planning to support this feature at this time.


fix align_center for multiline text with tight width

This PR fixes #align_center in cases where the text is a multi-line string, and the requested width is exactly or lower than the longest line in the string.
This code:
text = "Drawing some \ntext"
puts Strings.align(text, 13, direction: :center)

Created this output before the PR:
Drawing some
text
    text

And it now - correctly - creates this output:
Drawing some
    text

This was discovered in https://github.com/piotrmurach/tty-box/issues/2
In addition, I have added a test case for it, and normalized the indentation in the align_spec.rb file - it sometimes had two spaces, sometimes one.
Specs are passing locally, and failing without the fix.

Coverage increased (+0.3%) to 97.239% when pulling b4884bebb2b83ad4fc5df66535a520b0e12a5f5c on DannyBen:fix-align-center into c3c4acb160c6423b3812220fb1afa3c3e893e149 on piotrmurach:master.

Thanks ❤


Exception when creating a DataReader of an empty DataStream

Is your feature request related to a problem? Please describe.
DataReader reader = new DataReader(stream);
If the stream is empty, it won't read anything and will have always the runtime error "Trying to read past the end of the stream".
Describe the solution you'd like
There should be an exception when creating a DataReader of an empty stream.

After discussion with @pleonex: There will be cases where you want to declare a reader/writer of an empty stream, start writting and then reading. So an exception wouldn't be the best choice here.
However, after implementing #1 we could declare a warning.


Per country import not robust

v1.3.0 implements loading MCC filtered data from the lacells project run by @wvengen however import fails if any of the MCC codes requested are not found in the repository and a check is not made before starting the database generation. So quite some time can be spent downloading good MCC data before the non-existent file is requested.
If using the by MCC code data from lacells, the backend should check that all desired files exist before starting the database generation.

That's not correct. At https://github.com/n76/Local-GSM-Backend/blob/master/app/src/main/java/org/fitchfamily/android/gsmlocation/async/DownloadSpiceRequest.java#L139, during building the URL list (before any download) it throws an Exception if the MCC is not available (because it only knows the number of records for an MCC if it is available).

Hmmm. That should work. I did have it fail a couple of times when it had processed about half the files/MCC codes I had specified. I finally gave up. Maybe there is a weakness in the logic for opening a stream, a transient error, which caused my problems.

At which MCC failed it?
What does the logfile say?

Seems to be failing at different places. Most recent attempt (deleting the myriad progress report lines) shows:
info: MCC filter: 316,334,312,311,310
info: No MNC Filters, assume all networks
info: URL is [https://wvengen.github.io/lacells/lacells-mcc_334.csv] (none)
info: Content length = -1
info: Records Read:306800, Inserted: 306786
info: Total Time: 80997 ms ( 0.264 ms/record)
fail: 90 >= 90
info: Total Time: 81200 ms
info: Finished.

This happens at https://github.com/n76/Local-GSM-Backend/blob/master/app/src/main/java/org/fitchfamily/android/gsmlocation/async/DownloadSpiceRequest.java#L329 when there are not very much records (compared to other used sources). I'm going to fix it.


Dev server fails to start automatically on Ubuntu 14.04.

$ sudo netstat -lnp | grep 8081
$ react-native run-android
Starting JS server...
...
$ sudo netstat -lnp | grep 8081
$ react-native start > /dev/null 2>&1 &
[3] 6602
$ sudo netstat -lnp | grep 8081
tcp6       0      0 :::8081                 :::*                    LISTEN      6612/node
$

Manually start the dev server and React Native appears to work fine on Ubuntu.

Linux is not supported yet: https://facebook.github.io/react-native/docs/getting-started.html
Happy to review PRs if you want to get the CLI to work on Linux, see:

https://github.com/facebook/react-native/blob/master/local-cli/run-android.js
https://github.com/facebook/react-native/blob/master/react-native-cli/CONTRIBUTING.md

:+1: had to wait ages for android, now have to wait ages for Linux.

Marging to master task #2693 - let's discuss issues related to linux support and workarounds there

When can it support Ubuntu 14.04?

I'm using ubuntu  14.04
react-native start

react-native run-android

using "0.11.3"
node v0.12.2
npm 2.13.2
nvm 0.25.4

+1 for Linux

+1 for Linux. When can we expect?

From https://facebook.github.io/react-native/docs/linux-windows-support.html#content:

As React Native on iOS requires a Mac and most of the engineers at Facebook and contributors use Macs, support for OS X is a top priority. However, we would like to support developers using Linux and Windows too. We believe we'll get the best Linux and Windows support from people using these operating systems on a daily basis.

Therefore, Linux and Windows support for the development environment is an ongoing community responsibility. This can mean filing issues and submitting PRs, and we'll help review and merge them. We are looking forward to your contributions and appreciate your patience.

As of version 0.13 (currently in rc) Android development with React native is mostly possible on Linux and Windows. You'll need to install Node.js 4.0 or newer. On Linux we recommend installing watchman, otherwise you might hit a node file watching bug.

Not working still..any one succeeded running on ubuntu?
help please...


Implement NestBot dynamic home page

Describe the solution you'd like
The idea is based on https://tools.slack.dev/bolt-python/concepts/app-home/ and can be pretty useful if implemented in a right way. The content examples: project list, issues, new/top contributors -- a mirror of future Nest main page.

Hi @arkid15r , can you assign this to me

Hi @arkid15r , can you assign this to me

🤷♂ I'd love to, but you already have more than 2

ohk.

Can I work on it. @arkid15r

@ShashaankS I've just assigned to you another task you requested earlier. Moreover, Raj has completed some of the tasks mentioned above and interested to work on this one too. I hope you don't mind as everyone has something to work on now.


Update NFT Invite Rewards banner copy

Current copy: Once they set up their {{appName}} wallet and connect their number, you'll each get an elusive NFT. <0>Learn more</0>
New copy: Once they set up their {{appName}} wallet and connect their number, you'll each get an exclusive NFT. <0>Learn more</0>

FYI @mpgaarciaa i will close this, as the same changes are included in https://github.com/valora-inc/wallet/pull/2800 :)


Validation does not hit the controller

System Details

FluentValidation version:
Web Framework version (eg ASP.NET Core 2.1, WebApi 2. Delete if not applicable):

Issue Description
My fluent validator gets called and returns without ever hitting the controller
if (this.ModelState.IsValid)  < never gets hit
I need more control so I can wrap my response object and do other things
My controller

[HttpPost("~/api/project")]
        public async Task<ActionResult<ProjectCreateResponse>> CreateProject([FromBody] ProjectCreateCommand command)
        {
            ProjectCreateResponse response = null;
            try
            {
                if(ModelState.IsValid)
                {
                    response = await _mediator.Send(command);
                }

            }
            catch (Exception e)
            {
                _logger.LogCritical(e, "Project Controller.CreateProject()");
                return StatusCode(500);
            }
            return response;
        }

I have this in the startup:

        public void ConfigureServices(IServiceCollection services)
        {
            services.AddMvc().SetCompatibilityVersion(CompatibilityVersion.Version_2_1)

            //Fluent Validation
            //-----add a type for each assembly that 'contains a handler'
            .AddFluentValidation(fv => {
                fv.RegisterValidatorsFromAssemblyContaining<ProjectCreateCommandValidator>();
            });
...
}

My validator

 public class ProjectCreateCommandValidator : AbstractValidator<ProjectCreateCommand>
    {
        public ProjectCreateCommandValidator()
        {
            RuleFor(x => x.Name).NotEmpty();
        }
    }

The response
{
    "Name": [
        "'Name' must not be empty."
    ]
}

This isn’t related to FluentValidation. This is a feature of using the [ApiController] attribute and is part of asp.net.
When you annotate the controller with [ApiController], asp.net will automatically generate a 400 response if model validation fails.
If you don’t want this behaviour then you can tuen it off. This is explained in the asp.net documentation: https://docs.microsoft.com/en-us/aspnet/core/web-api/?view=aspnetcore-2.2
Hope that helps. I’m going to close this issue now as this it’s not related to FluentValidation.

Thank you, Jeremy.


typo in the KmlDataSource documentation

A user in the community forum noticed this issue. Submitting a quick PR to get it addressed.

Thanks for the pull request @srothst1!

:heavy_check_mark: Signed CLA found.
:grey_question: Unit tests were not updated.

Make sure you've updated tests to reflect your changes, added tests for any new code, and ran the code coverage tool.

Reviewers, don't forget to make sure that:

[ ] Cesium Viewer works.
[ ] Works in 2D/CV.


Linker Script Information

This issue is a place to find information about arm cortex m processors and the locations of their flash and ram

rpi-pico.ld
__flash = 0x10000000;
__flash_size = 2M;
__ram = 0x20000000;
__ram_size = 264K;

INCLUDE "libhal-armcortex/standard.ld"

I.MX
ARCH
-mcpu=cortex-m7, -mfloat-abi=softfp
teensy4
__flash = 0x00000000;
__flash_size = 2M;
__ram = 0x20000000;
__ram_size = 1M;

INCLUDE "libhal-armcortex/standard.ld"

teensy4.1
__flash = 0x00000000;
__flash_size = 8M;
__ram = 0x20000000;
__ram_size = 1M;

INCLUDE "libhal-armcortex/standard.ld"


Correct issues with Razer Blade keyboard mapping

List any issues that this PR fixes: fixes # , etc...

Fixes #776
This pull request proposes the following changes:

Keyboard remapping on the Razer Blade

Known issues/To do:

Possible issues with new ARROWDOWN mapping
Issues with FN left and right mapping
Possible issues with left and right CTRL, ALT, WIN key mapping

Thanks for the contribution! Are you planning to fix those other things you mentioned in this PR or shall I merge this?

I was wondering if you had any insight into the odd interactions with the up and left arrow keys. I can't seem to track down what causes them to combine when being Chroma-mapped. I also for some reason wasn't able to get the "" (Backslash) key to work correctly despite the actual mapping being correct. It seems like the UI element to show that key is missing/not working too.

@NoOne-dev I pushed a commit that fixes the loading of the layout, it was erroring out in the middle of adding the 'extra features' so the backslash and any mouse that was selected wasn't being added. However, I'm not sure what you mean by "the odd interactions with the up and left arrow keys"?

The up and left arrow keys, which as far as I can tell from the Chroma SDK documentation don't have any special interactions, seem to share the same ID for Chroma LED mapping.

@NoOne-dev Okay, is that everything sorted for the layout? (assuming you're using a Razer Blade)

Down Arrow, Right Arrow, Space, and Backslash are all not mapped to the correct values still. Enabling a color or effect on the Up Arrow causes both the Up Arrow and Right Arrow to light up. So far haven't been able to come up with a solution.

It's not perfect yet, but it's much better then what's currently in place. Please merge this.

After trying the current version, it seems some of my key maps were broken at some point after this because the secondary keys such as Tab, Caps, and Shift are now incorrectly mapped.

It works now, and it's spectacular.


-T Transfer local FILE to destination on curl

Hello
i have to upload a file to an azure storage container, i'm wondering if the file upload -T was implemented or not, i'm just confused about this, i have this example working as well with curl and i want to converted to a rust code :
curl -X PUT -T ./local_file -H "x-ms-date: $(date -u)" -H "x-ms-blob-type: BlockBlob" "https://{accountname}.blob.core.windows.net/container/local_file?{sastoken"
is there an example of local file upload !
thanks

You can open a File and pass it as a body, see the docs example: https://docs.rs/reqwest/0.10.*/reqwest/blocking/struct.RequestBuilder.html#method.body


Implement a Solve function that can take an initial estimate as input

As per the lsmr documentation:
 * Note that x is not an input parameter.
 * If some initial estimate x0 is known and if damp = 0,
 * one could proceed as follows:
 *
 * 1. Compute a residual vector     r0 = b - A*x0.
 * 2. Use LSMR to solve the system  A*dx = r0.
 * 3. Add the correction dx to obtain a final solution x = x0 + dx.

Quick and dirty python implementation:
def lsmr_with_init(A,b,x0):
    r0 = b - scipy.sparse.linalg.aslinearoperator(A).matvec(x0)
    deltax_pack = scipy.sparse.linalg.lsmr(A,r0)
    return x0 + deltax_pack[0]

Note however that it makes it more difficult to handle both initialisations and damping.


Add Extension to Bot resource

Fixes #4473
Having an issue fixing the below on the Timeline view.

@rahul1 @ThatOneBro Any help on how to resolve the Timeline display issue?

Thanks @jmalobicky
For context:
FHIR resources can "extend" either Resource or DomainResource (DomainResource extends Resource).
extension is defined on DomainResource but not Resource
It looks like when we wrote the original Bot StructureDefinition, we extended Resource, not DomainResource.
As @mattwiller pointed out:

This resource extends the base Resource. All of the listed Resources except Bundle, Parameters and Binary extend this resource.

So, it seems like it’s the rule with few exceptions.
I support this change, but I think we should go all the way and add all of the DomainResource elements (text, contained, extension, and modifierExtension).

Thanks for the context. Let me see if I can make those changes.

Whoops!  Had already started on this!  Feel free to reject

You are good. You know way more about this space than I do.


Add support for enabling wildcard mode on login

It is possible to set a wildcard IP by first declaring the current IP, and then setting * as a second IP address.
Getting the first IP can be done through https://www.ipify.org/

New login screen has an input box with the IP which automatically fetches the current IP when possible


[Question] How to determine when a REST request is destined for an extension

Problem Statement
The Security Plugin needs to be able to tell when a REST request is destined for an extension.
$\textcolor{orange}{\textsf{Orange text is a header for a decision that is not made }}$
$\textcolor{teal}{\textsf{Teal text is a header for a decision that is made  }}$
$\textcolor{violet}{\textsf{Violet text is the recommended option  }}$
$\textcolor{lime}{\textsf{Lime text is the chosen option  }}$
What type of REST requests are intended for extensions?
How does the Security Plugin interact with REST requests?
What is the current method of signifying things?
Action items decided on this issue:

[x] How do we signal a request is destined for an extension?

$\textcolor{orange}{\textsf{How do we signal a request is destined for an extension?}}$
When a request is made by a user, it needs to be possible to determine whether the request is destined to an extension or simply intended for OpenSearch itself. If the request is meant for an extension the authorization steps are more complex since the Security plugin needs to grant an on-behalf-of token (if it is a user request). The RestRequest logic in core does not a have a built-in way of determining when a request is meant for an extension so one will have to be added.
In the current version of the opensearch-sdk-java, extensions routes look like /_extensions/_opensearch-sdk-java-1/hello.
For example:
curl -X GET localhost:9200/_extensions/_opensearch-sdk-java-1/hello

This leaves two main options for signifying a request is destined for an extension:

The first option is simply to parse the request and check that the route has both the _extensions flag as well as a registered extension name i.e. _opensearch-sdk-java-1. This option is easy to implement and only requires the addition of a hook to parse the request before a token is created.

Pros
Cons

Easy to implement
Requires parsing the request

Connects to REST Handler
Could be issues if there are requests with the same route elements not intended for an extension, i.e. an API to change settings for the extension

What do code changes look like?
For this option, changes will take place in the Security Plugin by parsing the REST request during the REST layer authorization. Putting a check at the start of the REST layer authorization process will allow the Security plugin to determine whether a request is destined for an extension before it needs to parse the authorization credentials. This will let the Security plugin handle the request appropriately from the start.

The second option is to make use of the RestSendToExtensionAction.

It may be possible to do this by seeing if the original RestHandler is a RestSendToExtensionAction. This option would lookup the registration in core to determine whether a request is in fact destined to an extension based on the previous registration of the actions request. By parsing information on registration and then storing it somewhere, it would be possible to later check whether a request is destined for an extension. This lookup would decrease any unnecessary work done in the Security Plugin since you could direct the request immediately to the appropriate authorization channel based on where it was destined.
Relevant lines read:
public TransportResponse handleRegisterRestActionsRequest(RegisterRestActionsRequest restActionsRequest) throws Exception {
    DiscoveryExtensionNode discoveryExtensionNode = extensionIdMap.get(restActionsRequest.getUniqueId());
    RestHandler handler = new RestSendToExtensionAction(restActionsRequest, discoveryExtensionNode, transportService);
    restController.registerHandler(handler);
    return new AcknowledgedResponse(true);
}

What do code changes look like?
For this option, changes would be required in OpenSearch core since the introduction of a new handler during the REST action registration would be required. It would also require adding code to direct the request to a different area of the Security REST authorization logic. It would not make sense to make the changes in core if the request were just going to be handled the same in the Security Plugin. So determining how to shortcut the authorization based on the destination would be required and need to be added into the authorization logic in the Security Plugin.

@cwperks sounds good.
[Closure] As mentioned by Craig, if a request is destined for an extension the RestHandler will be an instance of RestSendToExtensionAction.


Revert "Sweep Visualizations"

Reverts EleutherAI/elk#245.
I'm complaining:

I did make a comment on the PR just before @derpyplops merged it, agreeing with @lauritowal that it really does require more comments:

Not sure why Walter relented and approved the PR. I honestly resent the carless attitude that seems to be being displayed here.


How to use Hasura GQL subscription query?

I need on how to use subscription query with the gql client i.e.
subscription($id:uuid!) {
  products_by_pk(id: $id){
   id
   title
  }
 }

I can see there is SubscriptionOption query but not sure what to provide for the document param, could provide an example for how to use the SubscriptionOption?
thanks

You can look at the example we have here: https://github.com/nhost/nhost-dart/tree/main/packages/nhost_flutter_graphql/example
For instance, https://github.com/nhost/nhost-dart/blob/main/packages/nhost_flutter_graphql/example/lib/todos_quick_start_example.dart#L72
If you have further questions, please, don't use github issues, use a discussion or join our discord


Add profile images

Would be possible to add the profile image without th, league, clan, troops etc?

Sorry but which profile image are you referring to?

Player profile

@iGabyTM This repository is intended more for the raw assets and not such composed images.
There is this discord server Clash API where we have awesome people who might be able to help you with this.
I will still keep this issue active for now, just to keep a note to add this feature in future when possible.


Add drag events to DragablzItemsControl

It would be nice to have drag events on the DragablzItemsControl so that you can use "event-to-command" binding in MVVM scenarios and let the view model get notified.
Today I have to use AddHandler on the view to add a routed event handler and manually invoke the command on the view.
In my specific scenario I use the control to order items by dragging them in the desired order. I am interested in the DragCompleted event so that I can commit the order of items to their view models.

Currently we have the PositionMonitor which allows communication back to view models without having to use the said pattern (.Interactivity, or whatever).
I will expand this t provide more information.  Currently it gives "real time" X,Y updates, but I can also add an event for when a drag operation completes.

wowsers.
I already did this.  A long time ago.  You want to use a StackPositionMonitor (HorizontalPositionMonitor).  It's already in action in the demo.

Although I guess the event would still be useful, unless you put a throttle on the StackPositionMonitor

Yes, I am using the HorizontalPositionMonitor but It would be nice if it provided notification of the order when the drag is complete in a separate event.
The current implementation allows me to indicate when the user is reordering items but I also want to know when the drag is complete which means the order is set and should be updated to some other items.

OK cool.

Is this handled ? Just asking because i need to implement it too. By the way how did you manage to implement HorizontalPositionMonitor? In my project I crate instance of this class and listen for OrderChanged event but that event never fires...what i am doing wrong? Thanks


only return 500 error in None case, fixes #84.

Description
All browndog extraction tests are failing with a 500 error. This solves the issue and will ONLY return a 500 if no extraction could be created.
Review Time Estimate

[X] Immediately
[ ] Within one week
[ ] When possible

Types of changes

[X] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] My change requires a change to the documentation.
[X] I have updated the CHANGELOG.md.
[ ] I have signed the CLA
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

Awesome find/fix!


Replaced placeholders in changelog

Travis is complaining about dead links, so this fixes the one in changelog but there's still a broken link in guides to the core data guide which isn't published yet (via Jazzy).
Should we regen docs but reset everything which isn't the guides? Or are we happy to just leave that one until we release 3.0?

Or are we happy to just leave that one until we release 3.0?

Let's leave until 3.0 because APIs have changed


New features, bug fixes

getHeaderView() added. Inflated view can be manipulated
getFooterView() added. Inflated view can be manipulated
getHolderView() added. Inflated view can be manipulated. It will return the view based on the holder type. ListView, GridView or the custom view.
setPadding() added
bug fix for the inflating content view with adapterview
onBackPressListener added

LGTM


Update README.md

Update the link of Video course (not found 404 error).

Dear @jellodiil ,
I have a minor update link for in README.md. Could you please help me to review it?
Thanks,
Lam


Properly analyze enumerations of files that (should) span multiple contexts.

The rub is that we don't properly handle the case where we attempt to analyze a number of files that require multiple contexts.  For example,
> dartanalyzer foo/bar/baz.dart acme/com/industries.dart

won't do the right thing if baz.dart and industries.dart need to be analyzed in different contexts.

This issue was moved to dart-lang/sdk#25144


[Enhancement] Class defines a computed serialVersionUID that doesn't equate to the calculated value [HttpEventWrapper]

Search before asking

[X] I had searched in the issues and found no similar issues.

Enhancement Request

located at:
eventmesh-common/src/main/java/org/apache/eventmesh/common/protocol/http/HttpEventWrapper.java line 49
analysis and explanation:
This serializable class defines a serialVersionUID that appears to be a computed value, however the value does not match the computed value, and thus losses it's value as version indicator.
Describe the solution you'd like
recompute the serialVersionUID using IDE.
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

As what you've wrote will make the serialized form of the new version of the class incompatible with the serialized form of the old version.
You can use this instead

I want to fix this issue!


remove useless optional chain

Fixes #56748

@microsoft-github-policy-service agree

The associated bug is closed as Not Planned so I'm closing this PR as well.


CDN Version

Do you have a CDN version? I'll run it through browserify so I can use it outside of NodeJS in plain JS.
Also a live demo would be great.
You have one of the best Vue treeview components that I've seen!
I did npm install but I'm getting typescript errors even though the paths are specified in tsconfig.json. I get the same errors in the command-prompt and vs code.
You have src in the path, what gives???
    "paths": {
      "@/*": [
        "src/*"
      ]
    },

Okay I did
npm run build

The output dist/index.html had absolute paths that I had to switch to relative paths.
/css/app.b6216f1d.css

It needs a webpack config to make the paths relative.
I hacked it with a script on the index page.
<script>
  let imgs = document.querySelectorAll('img');
  for (index in imgs) {
    let img = imgs[index];
    if (img.src) {
      let rmIndex = img.src.indexOf('/img');
      img.src = img.src.substring(rmIndex + 1);
    }
  }
</script>

The demo works, but I can't use it unless I can browserify the tree-view component.

@tgraupmann  thanks for spotting these issues and the compliments on the work.
Feel free to email me at<EMAIL_ADDRESS>so we could discuss what your use cases are and how we can improve this to meet them.
In the meantime, @ikeohachidi can you please have a look at this? 😁

@geekhybrid I'll check it out

Hi @tgraupmann,
This is coming a lot later than I would've hoped for, but have you been able to get your use case working ?

I was new to webpack when I posted this. I know enough now that I can make the npm run build dist output work for me. Webpack has an config to make the paths relative.

I was new to webpack when I posted this. I probably know enough now that I can make the npm run build dist output work for me.

Awesome! 🎆
I know better how to publish npm packages. If you ever need to, you can checkout vue3-tree-vue for the vue 3 version.
If you have any specific use cases you will like to cover, please let me know. This time, I won't take a forever. 😄
Closing this issue now.


Domain order does not allow to place Domain Transfer order

Domain registration order does not allow for placing orders for domain transfers. It only has "Register a new domain" and no option for Transfer domain

Which domain registrar are you using? It might be that registrar does not support domain transfers or this feature is not enabled.

Thanks you for the quick response.
I'm using Resell.biz

I have actually gone through this file /boxbilling/bb-modules/Servicedomain/html_client/mod_servicedomain_order_form.phtml and it doesn't have any form fields that handle Domain transfer.

You are right, sorry about that. It seems that domain transfer option was missing from huraga theme, so I went ahead and added it to mod_servicedomain_order_form.phtml template. Could you replace this template with new one and let us know if it works as intended?

Thank you very much. It is working for me now.


Sometimes Open with Code doesn't open the file

VSCode Version: 1.7.1
OS Version: Windows 10 Enterprise

Sometimes when VS Code is already opened, trying to use the Open With Code menu on a file doesn't work (has no effect).
I'm not sure how to reproduce this, but it happens from time to time

How often does it happen?

A few times a month, depending on how much I use VS Code

Can you keep an open eye as to what kind of files make this happen? It's hard to figure out what could be wrong without any clues.

While it happens, it seems to happen with every file I try to do this with…
If I then close all open VS Code instances, Open with Code starts to work again for all files.
I also noticed that there were a lot of Code.exe instances running while this was happening…
From: João Moreno<EMAIL_ADDRESS>Sent: Wednesday, November 23, 2016 8:33 AM
To: Microsoft/vscode<EMAIL_ADDRESS>Cc: Diego Geffner<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [Microsoft/vscode] Sometimes Open with Code doesn't open the file (#15908)
Can you keep an open eye as to what kind of files make this happen? It's hard to figure out what could be wrong without any clues.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoft%2Fvscode%2Fissues%2F15908%23issuecomment-262564975&data=02|01|digeff%40microsoft.com|bf06c1b012d543eefa1408d413be61d3|72f988bf86f141af91ab2d7cd011db47|1|0|636155155785169694&sdata=hZ6KBBo7AhhWI3sUTyF%2B4dWC4JgplNto9vLoF937Cxs%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FANce3NNUDUIeBPRjpp49Aeg8bN9iads1ks5rBGq2gaJpZM4K511i&data=02|01|digeff%40microsoft.com|bf06c1b012d543eefa1408d413be61d3|72f988bf86f141af91ab2d7cd011db47|1|0|636155155785169694&sdata=frRrLGIXs4BHOmnHE5ZZdq4rNEVqf1Jff9tOc1pS4FQ%3D&reserved=0.

I've found a way of reproducing this issue.
In my case at least, I have an opened command line all time which is ran as Admin. I usually start code from there code . or code somefile. When I have opened VSCode like that, I can't use Open with Code anymore, either for a file or folder.
Hope it helps track this annoying bug.

This is #1614

@joaomoreno How is this related to #1614? That bug is all about Running VS Code as an administrator, whereas this is about VS Code not opening a file? I don't see the connection.

It happens quite often to me, and I don't run VS Code as an admin. I still haven't figured out what's the pattern though...

For me is really easy to reproduce:

Open a command prompt in windows and start VS Code by typing "code ."
Open a File Explorer window and try to open a file using Right Click -> Open With Code
The file doesn't open every time for me.

@daschult This is quite old now. Can you try to fully reinstall Code?

I still had this issue last week, and I usually use the latest version of VS Code.

I just uninstalled and reinstalled VS Code and I get the same result that I reported 4 days ago. Can you guys not reproduce it?

Can you show me a screenshot of that "Open with Code" action?

Ah, I just tried it with a non-administrator command prompt, and it worked, just like you said. However, if I try it from an administrator command prompt, then it does the behavior that I've described.


Server Error with next_track

Hi !
First, i wanted to say that i just love this python API so thank you so much guys for working on it !
Second, here is my problem, i try to use the next_track function and sometimes, there is this message :
SpotifyException: https://api.spotify.com/v1/me/player/next:
Server error.
When i click on the link of the error, there is this :
{   "error": {     "status": 401,     "message": "No token provided"   } }
Which i don't understand why because, here is the part of my code where i use the function
objet = connexion(user) # connect to the API  objet.next_track()
and here is the connexion function which i use in line 1
`def connexion(username) :
clientID = myclientID
clientsecret = mycliendsecret
scope='streaming'

token = util.prompt_for_user_token(username,
                           scope,
                           client_id=clientID,
                           client_secret=clientsecret,
                           redirect_uri="http://google.com/")

# création of spotify object
spotifyObject = spotipy.Spotify(auth=token)

return(spotifyObject)`

And you can see that there is a token.
The thing i don't understand is : sometimes it works perfectly, and then maybe 2 or 3 times later, even if i don't change my code, there is this error
Thank you for your future helping and your time !

Hi !
First, i wanted to say that i just love this python API so thank you so much guys for working on it !
Second, here is my problem, i try to use the next_track function and sometimes, there is this message :
SpotifyException: https://api.spotify.com/v1/me/player/next:
Server error.
When i click on the link of the error, there is this :
{   "error": {     "status": 401,     "message": "No token provided"   } }
Which i don't understand why because, here is the part of my code where i use the function

And you can see that there is a token.
The thing i don't understand is : sometimes it works perfectly, and then maybe 2 or 3 times later, even if i don't change my code, there is this error
Thank you for your future helping and your time !
PS : there are some bugs, sometimes the code is in the `` but still out in the preview so sorry for that
Ps2 : Here is the code if you wanna try :
`import spotipy
import spotipy.util as util
def connexion(username) :
clientID = "000000000000"
clientsecret = "0000000000000000" # those 2 are fake code for you but i have one that works :)
scope='streaming'

token = util.prompt_for_user_token(username,
                           scope,
                           client_id=clientID,
                           client_secret=clientsecret,
                           redirect_uri="http://google.com/")

# création of spotify object
spotifyObject = spotipy.Spotify(auth=token)

return(spotifyObject)

user = "test"  # fake name too
objet = connexion(user)
objet.next_track()`

Can you add your python traceback for the error? Does the error always occur on line 35 in that file?

Can you add your python traceback for the error? Does the error always occur on line 35 in that file?

This is a part of a file, i the entire code, the line : objet.next_track() is 161 but yes, the error is always here
I tried to change next_track() by pause_playback() and some times there is an error too
here is the traceback :
Traceback (most recent call last):
File "", line 1, in
runfile('D:/Prog&Job/Business/En cours/Spotify Bot/Spotify_bot.py', wdir='D:/Prog&Job/Business/En cours/Spotify Bot')
File "C:\Users\pierr\Anaconda3\lib\site-packages\spyder\utils\site\sitecustomize.py", line 705, in runfile
execfile(filename, namespace)
File "C:\Users\pierr\Anaconda3\lib\site-packages\spyder\utils\site\sitecustomize.py", line 102, in execfile
exec(compile(f.read(), filename, 'exec'), namespace)
File "D:/Prog&Job/Business/En cours/Spotify Bot/Spotify_bot.py", line 161, in
objet.next_track()
File "C:\Users\pierr\Anaconda3\lib\site-packages\spotipy\client.py", line 1229, in next_track
return self._post(self._append_device_id("me/player/next", device_id))
File "C:\Users\pierr\Anaconda3\lib\site-packages\spotipy\client.py", line 227, in _post
return self._internal_call("POST", url, payload, kwargs)
File "C:\Users\pierr\Anaconda3\lib\site-packages\spotipy\client.py", line 173, in _internal_call
headers=r.headers,
SpotifyException: https://api.spotify.com/v1/me/player/next:
Server error.

The code you've posted should work...
Maybe you are re-initializing "objet" without the token? Can you share the rest of your code via Pastebin?

When i re-initialize "objet", i use the connexion function, and in this function i call the token...
i've to try an other to way to do it tonight, and i'll keep you in touch if the problem is still here !
but thanks anyway :)

Theeeen, now it work but there is an other problem xD
i don't know if we can do it but is it possible to connect multiple accounts with the API ?
and if yes, how can i switch the action ?
Like, i want account A play this music et account B playing this one
Is this possible ?

@AphroMad what did you change for it to work?

i think it was a problem of time
i tried to reconnect the account one time per 30 seconds
but if i try to reconnect only like 1 time per 3 minutes, it works

Thanks for the feedback, but if it is still happening you should definitely report it on https://github.com/spotify/web-api/


instance.dict does not contain @hybrid_property in SQLAlchemy or when SQL model instance is directly as response

First Check

[X] I added a very descriptive title to this issue.
[X] I used the GitHub search to find a similar issue and didn't find it.
[X] I searched the FastAPI documentation, with the integrated search.
[X] I already searched in Google "How to X in FastAPI" and didn't find any information.
[X] I already read and followed all the tutorial in the docs and didn't find an answer.
[X] I already checked if it is not related to FastAPI but to Pydantic.
[X] I already checked if it is not related to FastAPI but to Swagger UI.
[X] I already checked if it is not related to FastAPI but to ReDoc.

Commit to Help

[X] I commit to help with one of those options 👆

Example Code

#SQLAlchemy Model
class User(Base):
    __tablename__ = "users"
    id = Column(Integer, primary_key=True, index=True, nullable=False)
    email = Column(String, unique=True, index=True, nullable=False)
    password = Column(String, nullable=False)
    created_at = Column(
        TIMESTAMP(timezone=True), nullable=False, server_default=text("now()")
    )
    posts= relationship("Post", back_populates="owner")

    @hybrid_property
    def posts_count(self):
        return len(self.posts)

    @posts_count.expression
    def posts_count(self):
        return len(self.posts)

#route path
@router.post("/login", response_model=schemas.LoggedInUserResDTO)
def login(
    payload: OAuth2PasswordRequestForm = Depends(), db: Session = Depends(get_db)
):

    user = crud.getUserByEmail(db, payload.username)
    print(user.posts_count)
    if not user or not utils.verify_password(payload.password, user.password):
        raise HTTPException(
            status_code=status.HTTP_403_FORBIDDEN,
            detail=f"Invalid Credentials",
        )
    auth_token = oauth2.createJWTToken({"user_id": user.id})
    res = user.__dict__
    res.update(
        {
            "access_token": auth_token,
            "token_type": "Bearer",
        }
    )
    return res

#also user. __dict__ does not contain "posts_count" property as well

Description
When using @hybrid_property, that property doesn't contain in dict. Even when directly returning model response, even that doesn't contain the hybrid property.
In the below code, I am trying to access "posts_count" after storing dict value but it's doesn't present in it
Operating System
Linux
Operating System Details
Ubuntu 20
FastAPI Version
FastAPI: 0.70.1
Python Version
Python 3.8.10
Additional Context
No response

Pydantic's "ORM mode" already supports hybrid properties.
https://github.com/tiangolo/fastapi/issues/218#issuecomment-503988741

Pydantic's "ORM mode" already supports hybrid properties.
https://github.com/tiangolo/fastapi/issues/218#issuecomment-503988741

Pydantic's "ORM mode" already supports hybrid properties.
#218 (comment)

It is available when ORM Model is directly used, but when we convert that model to dict using  dict method, the hybrid properties are not contained in it.

I'm trying to cache FastAPI responses using fastapi-cache, which uses FastAPI's jsonable_encoder internally. The cached response is missing hybrid properties, which I assume is related to this issue. Interestingly, aggregated attributes are working fine with jsonable_encoder.


feat(aws-eventbridge-sns , aws-events-rule-sns, aws-events-rule-lambda): custom event bus support

Issue #, if available:
Description of changes:
aws-eventbridge-sns - Custom EventBus support
aws-events-rule-sns - Custom EventBus support
aws-events-rule-lambda - Custom EventBus support
aws-eventbridge-lambda - used semicolon(;) consistently in interface declaration
core/eventbridge-helper.ts -  used semicolon(;) consistently in interface declaration
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

AWS CodeBuild CI Report

CodeBuild project: codebuildgithubautobuildPro-fkVQbXRiQi6A
Commit ID: 05f093f7a020b985adb06bc588ad3fedb008a91e
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: codebuildgithubautobuildPro-fkVQbXRiQi6A
Commit ID: f9d493784ac24a671ae9bda54bc6a6727e7cfc1e
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: codebuildgithubautobuildPro-fkVQbXRiQi6A
Commit ID: 255aee85269cfbf40d071f70e52b7669728b14f9
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository


[MODULES-9695] - Add support for signed-by in source entries

This is a first step toward fixing MODULES-9695.
I refactored the option list as an hash, as per Antoine’s comment.

Hi @johanfleury, is this still WIP ?

Nope, I believe it’s ready to review.
Do you need me to test this in an actual code base (I didn’t have time this week-end, but I can do it today)?

I tested on my own infra and it works as expected.
Just a few remarks regarding this PR:

I named the parameter $keyring and not $signed_by because I think it could later be used to manage the actual keyring file (see my comment on MODULES-9695).
I think, it could be a good idea instead of having every options as parameters, to have a single $options hash as there are a lot of options that this module doesn’t currently support.
Some options (signed-by included) allow multiple, comma separated, values (see the sources.list man page), it could be a good idea to allow passing $keyring as an Array instead of a single string.

What do you think?

Hi @johanfleury, it looks good for me, thank you for your contribution ! Cheers !

I also looked at your comments from the PR and the ones from the ticket, I'm waiting for your new PR/PRs. Just let me know if you need help/review. Thank you again !

This PR fixed the MODULES-9695 Issue.
Since the issue is still 'Open' some people have no idea this was fixxed.
Can someone with a tickets.puppetlabs.com-Account close the issue?

@vegaaz I don’t think this PR fixes MODULE-9695, it merely adds support for a new flag in sources.list files, but there’s still a lot of work to do to remove calls to apt-key. See my comment on the issue.


Add weppy to benchmarked frameworks

Note: I'm the creator of weppy
I'm quite curious to find out how it performs compared to the ones on stage.
Let me know if is all good.

Thank you!

There are some problems with provided application.

The 'complete' handler doesn't work, but raises exception: AttributeError: type object 'Message' has no attribute 'id'
The provided application doesn't work with Gunicorn. wsgi.dynamic_handler returns response where response.output is list of unicode strings, but gunicorn waiting for list of bytes.

So the tests are not working now.

@klen I'm sorry about that. I'm gonna check it out in the next hours and make a PR to fix it.
If you prefer to revert the merge I will push an updated PR. As you wish.


Minor : readability improvement in GuiCell

Instead of double casting a value to get it to truncate, this PR uses floorf to get the smallest whole number for the cell. This improves readability and would work for negative cells if that ever becomes a thing.

@JeffM2501 thanks for the re-review! 👍😄


Generate result token by token when inference.

For example: https://github.com/intel-analytics/ipex-llm/blob/main/python/llm/example/GPU/PyTorch-Models/Model/qwen1.5/generate.py
The current inference output is generated all at once.
However, typical LLM inference involves generating output token by token, allowing users to see the text gradually being generated.
Could you support this type of output?
More appreciated if gradio could be also supported, like： gr.ChatInterface
Thanks!

For example: https://github.com/intel-analytics/ipex-llm/blob/main/python/llm/example/GPU/PyTorch-Models/Model/qwen1.5/generate.py
The current inference output is generated all at once. However, typical LLM inference involves generating output token by token, allowing users to see the text gradually being generated. Could you support this type of output? More appreciated if gradio could be also supported, like： gr.ChatInterface
Thanks!

Hi @liang1wang
generate.py uses model.generate API, which generates the words to given number length, i.e., n_prdict. That's why it output all results at once.
If you want to generate text gradually, please check these examples:
https://github.com/intel-analytics/ipex-llm/blob/main/docs/mddocs/Quickstart/webui_quickstart.md
https://github.com/intel-analytics/ipex-llm/blob/main/docs/mddocs/Quickstart/chatchat_quickstart.md
https://github.com/intel-analytics/ipex-llm/blob/main/docs/mddocs/Quickstart/fastchat_quickstart.md
https://github.com/intel-analytics/ipex-llm/blob/main/docs/mddocs/Quickstart/privateGPT_quickstart.md

https://github.com/intel-analytics/ipex-llm/blob/main/python/llm/example/GPU/HF-Transformers-AutoModels/Model/qwen1.5/generate.py

Start working with gradio chatbot now, thanks for your help qiyuan~


Scroll bar issue

Title: Scrollbar Missing
Issue No. :#350
Bug: The scroll bar is not working properly (can't go up once scrolled down).
Fixed: Added scrollup btn. refer video.
Close https://github.com/apu52/Travel_Website/issues/350
Video/Screenshots (mandatory)
https://github.com/apu52/Travel_Website/assets/109607812/610bf871-baab-4865-bc39-26e98c4ed18c
Checklist:

[x] I have mentioned the issue number in my Pull Request.
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have gone through the  contributing.md file before contributing

Additional context (Mandatory )
Are you contributing under any Open-source programme?
GSSoC

can you please merge it?


Server error when using with Nextjs

Has anyone faced an issue when setting a position attribute to Toaster component? Error looks like 'Error: Objects are not valid as a React child (found: object with keys {position}). If you meant to render a collection of children, use an array instead.'

The example page is based on Next.js and I'm not experiencing any issues. Could you provide an example to reproduce?

@exlane All you need to do is restart the dev server

Seems like this is resolved.

@exlane All you need to do is restart the dev server

it also work for me. but can you explain why it work, or what about bug this error

@exlane All you need to do is restart the dev server

it also work for me. but can you explain why it work, or what about bug this error

Same here. Can anybody please explain why restarting the dev server resolved the issue?

@exlane您需要做的就是重新启动开发服务器

Also works for Hydration Error

Can anybody explain why ?

Dynamic import resolved hydration error permanently in my case:
import ...

const Toaster = dynamic(
  () => import("react-hot-toast").then((c) => c.Toaster),
  {
    ssr: false,
  }
);

const MyApp: AppType<{ session: Session | null }> = ({
  Component,
  pageProps: { session, ...pageProps },
}) => {
  return (
    <SessionProvider session={session}>
      <Toaster />
      <div className="container mx-auto min-h-screen">
        <Header />
        <Component {...pageProps} />
        <Footer />
      </div>
      <GlobalModalPortal />
    </SessionProvider>
  );
};

I thinks it may be due to used library css-in-js library (goober).
Here is  goober example link from Nextjs docs about hydration error.

restart server doen't work


Backport disabling the configuration cache on TAPI model building

See https://github.com/gradle/gradle/issues/16278
Backports

https://github.com/gradle/gradle/pull/15422
https://github.com/gradle/gradle/pull/15446

@bot-gradle test RFM

OK, I've already triggered ReadyForMerge build for you.

@bot-gradle test and merge

Your PR is queued because #16835 is being built.

OK, I've already triggered a build for you.

Pre-tested commit build failed.

@bot-gradle test and merge

OK, I've already triggered a build for you.

@bot-gradle test and merge

OK, I've already triggered a build for you.


added initialValue to DateField in order to pass along the received date

Bug fix for #1116; Modified the UpdatePeriodicReportDialog component; enabled the received date value to be passed down to the DateField component

I think it's because the null is being treated as an actual value
https://github.com/SeedCompany/cord-field/blob/fd8138d9177059d137f818ed3a77a47e8ff9f3c0/src/components/form/DateField.tsx#L218-L218
If we change it to undefined I think it'll work.
We'll just need to double check that this doesn't affect submissions.
Sending undefined to API just omits the field, aka "unchanged". Sending null actually attempts to set the value as null, aka "clear it".


My client can't connect to peers

Describe the problem
My client does not want to connect to the peers
To Reproduce
Steps to reproduce the behavior:

Connect netbird

Expected behavior
Peers will connect
Are you using NetBird Cloud?
Self-hosted
NetBird version
0.29.4
NetBird status -dA output:
PS C:\Users\cleve> netbird status -dA
Peers detail:
 unipi-master.anon-9tQ9E.domain:
  NetBird IP: <IP_ADDRESS>
  Public key: yWNLQJao71YDGBGZ98+23ALWoUjitpsX/tDqJkb4LkM=
  Status: Disconnected
  -- detail --
  Connection type:
  ICE candidate (Local/Remote): -/-
  ICE candidate endpoints (Local/Remote): -/-
  Relay server address:
  Last connection update: -
  Last WireGuard handshake: -
  Transfer status (received/sent) 0 B/0 B
  Quantum resistance: false
  Routes: -
  Latency: 0s

 unipi-tester.anon-9tQ9E.domain:
  NetBird IP: <IP_ADDRESS>
  Public key: Do+8cpueC+IFIQa28We9vy0JRa+Pp2kUi21eko7ehFg=
  Status: Disconnected
  -- detail --
  Connection type:
  ICE candidate (Local/Remote): -/-
  ICE candidate endpoints (Local/Remote): -/-
  Relay server address:
  Last connection update: -
  Last WireGuard handshake: -
  Transfer status (received/sent) 0 B/0 B
  Quantum resistance: false
  Routes: -
  Latency: 0s

 unipi-pikr.anon-9tQ9E.domain:
  NetBird IP: <IP_ADDRESS>
  Public key: c/n2JymNw4BaYLxBhstERXiH7+MtezCYX2h8njgC/Hs=
  Status: Disconnected
  -- detail --
  Connection type:
  ICE candidate (Local/Remote): -/-
  ICE candidate endpoints (Local/Remote): -/-
  Relay server address:
  Last connection update: -
  Last WireGuard handshake: -
  Transfer status (received/sent) 0 B/0 B
  Quantum resistance: false
  Routes: -
  Latency: 0s

 unipi-backup.anon-9tQ9E.domain:
  NetBird IP: <IP_ADDRESS>
  Public key: IiWIzqCyF+xL4e815WP3uz/E+LXWBv6EOM0zMyBNxnM=
  Status: Disconnected
  -- detail --
  Connection type:
  ICE candidate (Local/Remote): -/-
  ICE candidate endpoints (Local/Remote): -/-
  Relay server address:
  Last connection update: -
  Last WireGuard handshake: -
  Transfer status (received/sent) 0 B/0 B
  Quantum resistance: false
  Routes: -
  Latency: 0s

 unipi-eshop.anon-9tQ9E.domain:
  NetBird IP: <IP_ADDRESS>
  Public key: r/a/HtqmXyyiwRg53wV/og/r0utAxis/5sOGt4vTQ1s=
  Status: Disconnected
  -- detail --
  Connection type:
  ICE candidate (Local/Remote): -/-
  ICE candidate endpoints (Local/Remote): -/-
  Relay server address:
  Last connection update: -
  Last WireGuard handshake: -
  Transfer status (received/sent) 0 B/0 B
  Quantum resistance: false
  Routes: -
  Latency: 0s

 unipi-stock.anon-9tQ9E.domain:
  NetBird IP: <IP_ADDRESS>
  Public key: xueXfE/kcoSuaXddkH5apRUa6JsGSmduC+1XN/NppS8=
  Status: Disconnected
  -- detail --
  Connection type:
  ICE candidate (Local/Remote): -/-
  ICE candidate endpoints (Local/Remote): -/-
  Relay server address:
  Last connection update: -
  Last WireGuard handshake: -
  Transfer status (received/sent) 0 B/0 B
  Quantum resistance: false
  Routes: -
  Latency: 0s

 unipi-gitlab.anon-9tQ9E.domain:
  NetBird IP: <IP_ADDRESS>
  Public key: qANe7lR8BUaq1wXWsaTBO/Kw5Z8DDSXXyzSzMNZD5UE=
  Status: Disconnected
  -- detail --
  Connection type:
  ICE candidate (Local/Remote): -/-
  ICE candidate endpoints (Local/Remote): -/-
  Relay server address:
  Last connection update: -
  Last WireGuard handshake: -
  Transfer status (received/sent) 0 B/0 B
  Quantum resistance: false
  Routes: -
  Latency: 0s

 unipi-01.anon-9tQ9E.domain:
  NetBird IP: <IP_ADDRESS>
  Public key: z+KbBxrUiL8FTa777IX78Og6HMOjlkU7OoCKZBNygk0=
  Status: Disconnected
  -- detail --
  Connection type:
  ICE candidate (Local/Remote): -/-
  ICE candidate endpoints (Local/Remote): -/-
  Relay server address:
  Last connection update: -
  Last WireGuard handshake: -
  Transfer status (received/sent) 0 B/0 B
  Quantum resistance: false
  Routes: -
  Latency: 0s

 unipi-harbor.anon-9tQ9E.domain:
  NetBird IP: <IP_ADDRESS>
  Public key: rhgvKUa5Y+B1I4+GdiC+SBXBLA926TyLU0i73I5Dbls=
  Status: Disconnected
  -- detail --
  Connection type:
  ICE candidate (Local/Remote): -/-
  ICE candidate endpoints (Local/Remote): -/-
  Relay server address:
  Last connection update: -
  Last WireGuard handshake: -
  Transfer status (received/sent) 0 B/0 B
  Quantum resistance: false
  Routes: -
  Latency: 0s

 lesna.anon-9tQ9E.domain:
  NetBird IP: <IP_ADDRESS>
  Public key: 4gXuGoXdKp11TWd2s6T3+EFeDWDzJ0GWD0V04rLvTFg=
  Status: Disconnected
  -- detail --
  Connection type:
  ICE candidate (Local/Remote): -/-
  ICE candidate endpoints (Local/Remote): -/-
  Relay server address:
  Last connection update: -
  Last WireGuard handshake: -
  Transfer status (received/sent) 0 B/0 B
  Quantum resistance: false
  Routes: -
  Latency: 0s

OS: windows/amd64
Daemon version: 0.29.4
CLI version: 0.29.4
Management: Connected to https://netbird.anon-s9gyV.domain:443
Signal: Connected to https://netbird.anon-s9gyV.domain:443
Relays:
  [stun:netbird.anon-s9gyV.domain:3478] is Available
  [turn:netbird.anon-s9gyV.domain:3478?transport=udp] is Available
Nameservers:
  [<IP_ADDRESS>:53] for [anon-s9gyV.domain] is Unavailable, reason: 1 error occurred:
        * read udp <IP_ADDRESS>:50655-><IP_ADDRESS>:53: i/o timeout
  [<IP_ADDRESS>:53, <IP_ADDRESS>:53] for [.] is Available
FQDN: zam-cerny.anon-9tQ9E.domain
NetBird IP: <IP_ADDRESS>/16
Interface type: Userspace
Quantum resistance: false
Routes: -
Peers count: 0/10 Connected

Do you face any (non-mobile) client issues?
anon.txt
Screenshots

Additional context

Issue can be resolved by disconnecting the client, removing groups from the client, reconnect it, disconnect again, readding the groups and connecting again.
Any ideas how to prevent this from happening?

This is happennig regullary for multiple users also using linux clients. It can be fixed just by adding or removing one group to the user and immediately after that the client refreshes (probably routes) and can reach the netbird ip universe.

Just noticed that we are getting some errors in the server logs

same problem ;(

After updating server to 0.30 (without deploying the new relay service) and client to 0.30 as well, the behavior is still the same including the hotfix (changing group assignment).

Netbird log.zip

does this issue remains after 0.31.1 ?

We weren't able to reproduce it on this version, I will eventually add an update to this thread.