External IdP validation feature for API Backends

I am Andrés Muñoz, from Technical University of Madrid, working with @aalonsog, I have been working on the idea of implementing an external validation service in API-Umbrella in order to verify if a user token is valid or not. For achieving that, I followed the flow showed in the diagram #349 by @aalonsog and the guidelines stated by you in the previous comments.
This new feature allows to the API-umbrella users the possibility of make request to a registered API backend, using an API key or an OAuth2 token. If the user uses a token in the request, this token is verified using an external IdP, once the token is validated the user information is retrieved and redirect to the API backend following the usual workflow. The list of IdP's included in this development are:
FIWARE
Google
Facebook
GitHub

Hence, after the inclusion of this feature, the gatekeeper architecture is modified as is showed in the next figure:

This work was made in collaboration with @aalonsog @agordillo and @jsalvachua.
If you have any coment or need more information about it, please let me know.

@anmunoz: Hi there! Sorry for the delay in getting back to you. We've been busy with other things, but I'll try to take a look at this in the coming weeks. Thanks for the contribution and getting this started!

Hi,
I'm Urtza Iturraspe, works in Tecnalia and I am using Ckan, biz ecosystem, Fiware at general in an European Project. I am trying to make offer using BIZ from Ckan I can do it but from BIZ I have some problems,
I have modified all of these files in api-umbrella folder. Now I am trying to create a product Specificacion using BIZ Ecosystem and CKAN Dataset API as asset type and it returns an error because app_id returned is "None".
I have two API Backend defined in API-Umbrella admin window.
In Postman I make a GET call
https://localhost:9222/api-umbrella/v1/apis.json&start=0&length=100
{'headers': {u'X-Api-Key': u'U7B9ysawwNN0hBjEvBDeoJEyVEbEODDbjx2b85dX', u'X-Admin-Auth-Token': u'nx4HYGgPM8SbCTqRsmlXxPS7EPTTPbmkalgQQqyB'}, 'verify': False}

And It returns:
{
    "draw": 0,
    "recordsTotal": 2,
    "recordsFiltered": 2,
    "data": [
        {
            "backend_host": "www.ckanreplicate.com",
            "backend_protocol": "https",
            "balance_algorithm": "least_conn",
            "created_at": "2018-10-31T07:22:58Z",
            "created_by": "be817f88-e2d2-4b91-85ad-23a695921a04",
            "deleted_at": null,
            "frontend_host": "www.ckanreplicate.com",
            "name": "ckan",
            "servers": [
                {
                    "host": "www.ckanreplicate.com",
                    "port": 443,
                    "id": "545d9ad3-9406-4523-92d6-c91642e146a1"
                }
            ],
            "settings": {
                "allowed_ips": null,
                "allowed_referers": null,
                "anonymous_rate_limit_behavior": null,
                "api_key_verification_level": null,
                "api_key_verification_transition_start_at": null,
                "append_query_string": "",
                "authenticated_rate_limit_behavior": null,
                "disable_api_key": null,
                "error_data": {},
                "error_templates": {},
                "http_basic_auth": null,
                "pass_api_key_header": false,
                "pass_api_key_query_param": false,
                "rate_limit_mode": null,
                "require_https": null,
                "require_https_transition_start_at": null,
                "require_idp": null,
                "required_roles": [
                    "api-umbrella-contact-form",
                    "api-umbrella-key-creator",
                    "provider",
                    "issue_customer"
                ],
                "required_roles_override": null,
                "id": "3455d01d-0892-499f-a453-76e9b8a59f4e",
                "default_response_headers": null,
                "headers": null,
                "override_response_headers": null,
                "rate_limits": null
            },
            "sort_order": 0,
            "updated_at": "2018-11-27T11:44:51Z",
            "updated_by": "be817f88-e2d2-4b91-85ad-23a695921a04",
            "url_matches": [
                {
                    "backend_prefix": "/",
                    "frontend_prefix": "/",
                    "id": "8bfabbf6-16cc-465b-bc7d-9ed25fcfbfcf"
                }
            ],
            "version": 2,
            "id": "d2a306b0-2203-4d69-8613-0dd17d416375",
            "rewrites": null,
            "sub_settings": null,
            "frontend_prefixes": "/"
        },
        {
            "backend_host": "www.bizreplicate.com",
            "backend_protocol": "http",
            "balance_algorithm": "least_conn",
            "created_at": "2018-11-27T11:47:16Z",
            "created_by": "be817f88-e2d2-4b91-85ad-23a695921a04",
            "deleted_at": null,
            "frontend_host": "www.bizreplicate.com",
            "name": "biz",
            "servers": [
                {
                    "host": "www.bizreplicate.com",
                    "port": 8443,
                    "id": "b908f0f3-bf86-463b-99af-58e8165a9f2d"
                }
            ],
            "settings": {
                "allowed_ips": null,
                "allowed_referers": null,
                "anonymous_rate_limit_behavior": null,
                "api_key_verification_level": null,
                "api_key_verification_transition_start_at": null,
                "append_query_string": null,
                "authenticated_rate_limit_behavior": null,
                "disable_api_key": null,
                "error_data": {},
                "error_templates": {},
                "http_basic_auth": null,
                "pass_api_key_header": null,
                "pass_api_key_query_param": null,
                "rate_limit_mode": null,
                "require_https": null,
                "require_https_transition_start_at": null,
                "require_idp": null,
                "required_roles": [
                    "api-umbrella-contact-form",
                    "provider",
                    "issue_customer",
                    "api-umbrella-key-creator"
                ],
                "required_roles_override": null,
                "id": "8b8fbf95-90c9-4385-b2cb-124dc5176b69",
                "default_response_headers": null,
                "headers": null,
                "override_response_headers": null,
                "rate_limits": null
            },
            "sort_order": 10000,
            "updated_at": "2018-11-27T11:47:32Z",
            "updated_by": "be817f88-e2d2-4b91-85ad-23a695921a04",
            "url_matches": [
                {
                    "backend_prefix": "/",
                    "frontend_prefix": "/",
                    "id": "8b899aeb-2ddd-4e95-bc48-115a70a2e8b1"
                }
            ],
            "version": 2,
            "id": "d77196d6-c2e5-4159-90e0-bc067697d63b",
            "rewrites": null,
            "sub_settings": null,
            "frontend_prefixes": "/"
        }
    ]
}
``
If I take a look umbrella_client.py file (ckan_api_dataset plugin)  validate_service method:

def validate_service(self, path):
err_msg = 'The provided asset is not supported. '
'Only services protected by API Umbrella are supported'
print ("Umbrella_client.py##validte_service INI")
print ("Umbrella_client.py##validte_service##path:"+str(path))
# Split the path of the service
    paths = [p for p in path.split('/') if p != '']
    if not len(paths):
        # API umbrella resources include a path for matching the service
        raise PluginError(err_msg)

    # Make paginated requests to API umbrella looking for the provided paths
    url = '/api-umbrella/v1/apis.json'
    def page_processor(api):
        front_path = [p for p in api['frontend_prefixes'].split('/') if p != '']
        return len(front_path) == 0 or (len(front_path) <= len(paths) and front_path == paths[:len(front_path)])

    matching_elem = self._paginate_data(url, err_msg, page_processor)
    data_string = json.dumps(matching_elem)

    # If the API is configured to accept access tokens from an external IDP save its external id
    **app_id = None
    if 'idp_app_id' in matching_elem['settings'] and len(matching_elem['settings']['idp_app_id']):
        app_id = matching_elem['settings']['idp_app_id']**

    return app_id

I have not matching_elem['settings']['idp_app_id']  ???

Please someone can help me with this?

Thanks a lot
Urtza

Hi @urtza2 have you tried with the github repo of apinf (https://github.com/apinf/api-umbrella) forked from api-umbrella?, that repo have a stable release that includes external idp validation. On the other hand this repo have more features for authorization that I think that is not your case of use

No I have install using these instructions ...
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 379CE192D401AB61
$ echo "deb https://dl.bintray.com/nrel/api-umbrella-ubuntu xenial main" | sudo tee /etc/apt/sources.list.d/api-umbrella.list
$ sudo apt-get update
$ sudo apt-get install api-umbrella
And after I make the changes that appear in this issue.
I try using it.
Thanks

How can I install API-Umbrella of  github repo of apinf (https://github.com/apinf/api-umbrella)?.
Docker file contain information of NREL repository.
I have download as zip from this repo an try doing this:
shell>  ./configure  and I get some errors like:
fatal: Not a git repository (or any of the parent directories): .git
date: invalid date ‘-128-NOTFOUND’
-- Checking for one of the modules 'uuid'
CMake Error at build/work/cmake/share/cmake-3.8/Modules/FindPkgConfig.cmake:641 (message):
  None of the required 'uuid' found
Call Stack (most recent call first):
  CMakeLists.txt:83 (pkg_search_module)

CMake Error at CMakeLists.txt:65 (MESSAGE):
  Could not find autoconf
Call Stack (most recent call first):
  build/cmake/rsyslog.cmake:4 (require_program)
  CMakeLists.txt:96 (include)

-- Configuring incomplete, errors occurred!
See also "/home/user1/Downloads/api-umbrella-master_APINF/CMakeFiles/CMakeOutput.log".

I'll try doing the same with NREL repo:
1.-  ./configure  -> get Makefile
2.- make  -> get a lot of error.
What is the correct way to install API-Umbrella of this repo (https://github.com/apinf/api-umbrella) ?
Thanks in advance
Urtza


Fix deprecation warnings in tf_serving sample client

Problem Description
contrib/tf_serving/tfs_sample_client.py prints deprecation warnings during usage.
Command
python C:/Users/tejun/workspace/image-quality-assessment/contrib/tf_serving/tfs_sample_client.py --image-path src/tests/test_images/42039.jpg --model-name mobilenet_aesthetic

Deprecation Output
C:\Users\tejun\workspace\image-quality-assessment\venv\lib\site-packages\tensorflow_serving\apis\prediction_service_pb2.py:131: DeprecationWarning: beta_create_PredictionService_stub() method is deprecated. This method will be removed in near future versions of TF Serving. Please switch to GA gRPC API in prediction_service_pb2_grpc.
  'prediction_service_pb2_grpc.', DeprecationWarning)
C:\Users\tejun\workspace\image-quality-assessment\venv\lib\site-packages\tensorflow\contrib\lite\python\__init__.py:26: PendingDeprecationWarning: WARNING: TF Lite has moved from tf.contrib.lite to tf.lite. Please update your imports. This will be a breaking error in TensorFlow version 2.0.
  _warnings.warn(WARNING, PendingDeprecationWarning)

Root Cause
<EMAIL_ADDRESS>deprecated the beta gRPC API according to this documentation
The sample client (contrib/tf_serving/tfs_sample_client.py) has a minimum requirement of<EMAIL_ADDRESS>according to requirements.txt in the working directory. So this deprecation warning will always be printed with this version of the dependency.
Fix
Minor Changes: Replace deprecated APIs with GA versions
Testing Done
Confirmation that these changes don't break the code. Notice the deprecation warnings are no longer printed in the Output
Command Run
python C:/Users/tejun/workspace/image-quality-assessment/contrib/tf_serving/tfs_sample_client.py --image-path src/tests/test_images/42039.jpg --model-name mobilenet_aesthetic

Output
Using TensorFlow backend.

WARNING: The TensorFlow contrib module will not be included in TensorFlow 2.0.
For more information, please see:
  * https://github.com/tensorflow/community/blob/master/rfcs/20180907-contrib-sunset.md
  * https://github.com/tensorflow/addons
If you depend on functionality not listed there, please file an issue.

{
  "mean_score_prediction": 5.23
}

Process finished with exit code 0

Thanks a lot for fixing the warning!


CUDA extension not installed.

WARNING:CUDA extension not installed.

Python 3.11, cuda 11.7, 11.8, 12.2. autoGPTQ 0.3.2 version.
What does it means? I use oobabooga/text-generation-webui and load model with autogptq on windows.
When I try to install 0.4+cu118 from releases, I get more warnings:

WARNING:Exllama kernel is not installed, reset disable_exllama to True. This may because you installed auto_gptq using a pre-build wheel on Windows, in which exllama_kernels are not compiled. To use exllama_kernels to further speedup inference, you can re-install auto_gptq from source.
2023-08-10 18:25:55 WARNING:CUDA kernels for auto_gptq are not installed, this will result in very slow inference speed. This may because:

You disabled CUDA extensions compilation by setting BUILD_CUDA_EXT=0 when install auto_gptq from source.
You are using pytorch without CUDA support.
CUDA and nvcc are not installed in your device.

how did you solve this?

I'm interested to hear as well.

me too

same

I was able to resolve the Cuda issue by building from wheel. However, I am still getting the following warning:
WARNING - _base.py:733 - Exllama kernel is not installed, reset disable_exllama to True. This may because you installed auto_gptq using a pre-build wheel on Windows, in which exllama_kernels are not compiled. To use exllama_kernels to further speedup inference, you can re-install auto_gptq from source.
I'm not sure if I've installed everything correctly as the inference speed remains extremely slow to what I am getting with the same mode in text-generation-webui.

how did you solve this?

I'm not solve this

I am having the same problem. So no one has a solution yet?

I am having the same problem. So, no one has a solution yet? Can someone explain the actual effect of this warning?

The effect is that your tokens generate at a significantly slower speed. In the order of 20 times or so.

Apparently, to make sure this problem doesn't happen, you have to install from source.
In order to do so, first, uninstall
pip uninstall auto-gptq
Then, reinstall from source
Example: pip install<EMAIL_ADDRESS>However, after doing so, I still get the same error:
WARNING:Exllama kernel is not installed, reset disable_exllama to True. This may because you installed auto_gptq using a pre-build wheel on Windows, in which exllama_kernels are not compiled. To use exllama_kernels to further speedup inference, you can re-install auto_gptq from source.

Nevenmind - it worked. I had started server.py without activating my textgen env
conda activate textgen
cd C:\MachineLearning\text-generation-webui
python server.py

Here's a tutorial I wrote as a quick note if I need to completely reinstall:
Initial Git Clone:
git clone https://github.com/oobabooga/text-generation-webui -> C:\MachineLearning\text-generation-webui
TO INSTALL:
cd C:\MachineLearning\text-generation-webui
conda create -p C:\MachineLearning\text-generation-webui\textgen python=3.10
conda activate C:\MachineLearning\text-generation-webui\textgen
pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
conda install -y -c "nvidia/label/cuda-11.8.0" cuda-runtime
pip install -r requirements.txt
pip uninstall auto-gptq
pip install<EMAIL_ADDRESS>TO START:
C:\MachineLearning\text-generation-webui\textgen\python.exe C:\MachineLearning\text-generation-webui\server.py
(you can make a .bat file)

install autogptq like this pip install<EMAIL_ADDRESS>

I've tried auto gptq from wheel and from source on windows with torch 2.30, 2.4.1 and 2.5.1 and CUDA 12.4 and I have yet to succeed. Every installation of this package give me "CUDA extension not installed".


Do not infer short-lived connections for host-networking containers

Fixes #1598

2 minor nits but otherwise LGTM


Problem installing webhook on Linux.

Hello team
I am facing issue in installing webhook with go.
Error Message -
sudo go build github.com/adnanh/webhook
github.com/adnanh/webhook/internal/pidfile
../go/src/github.com/adnanh/webhook/internal/pidfile/pidfile.go:38:54: syntax error: unexpected o755, expecting comma or )
../go/src/github.com/adnanh/webhook/internal/pidfile/pidfile.go:41:76: syntax error: unexpected o600, expecting comma or )
Please help in resolving this.
Thanks in advance !!!

You can download the binary from https://github.com/adnanh/webhook/releases. In my case , I just unzip and place at /usr/bin/webhook .

You can download the binary from https://github.com/adnanh/webhook/releases. In my case , I just unzip and place at /usr/bin/webhook .


Data Science with Python : Glass Classification and Analysis

Description
Welcome to the 'DSWP' Team, good to see you here.
With this issue, the readers will know on how to work on classification problem especially with Glass Classification and it's analysis.
Dataset : https://www.kaggle.com/uciml/glass
This issue is created on contributors request.
To get assigned to this issue, add your serial numbers mentioned in the spreadsheet of "Data Science with Python", the approach one would follow and the choice you prefer (Documentation, Audio, Video). You can go with all three or any number of options you're interested to work on.
If you had referred any resources, add them up in "DS Resources". Similarly, if you had used datasets, include them in "DS Datasets".
Domain: Machine Learning
Mentors Assigned : Yash Goel | Nithin
Points to Note :
The issues will be assigned on a first come first serve basis, 1 Issue == 1 PR.
"Issue Title" and "PR Title" should be the same. Include issue number along with it.
Changes should be made inside the Datascience_With_Python/ directory & Datascience_With_Python branch.
Follow Contributing Guidelines & Code of Conduct before start Contributing.
This issue is only for 'GWOC' contributors of 'DSWP' domain.
All the best. Enjoy your journey ahead. 😎
Domain
Data Science with Python
Type of Contribution
Audio, Video, Documentation
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

Deepika-Pavundoss commented 2 days ago
Sr no: 161
Batch: 5
Name: Deepika Pavundoss
Type : Video
I would like to explain about the different algorithms, the libraries used here, process and the code in detail
@prathimacode-hub

Sr no: 161
Batch: 5
Name: Deepika Pavundoss
Type : Video
I would like to explain about the different algorithms, the libraries used here, process and the code in detail
@prathimacode-hub

Issue assigned to @Deepika-Pavundoss for documentation

I would like to work on this topic
Pankaj Sawnani - 936
Batch - 21
Issue No - #7797
Type: Video
Approach: I will clearly explain about the model i am using and how i have selected the model for classification and analysis.
@prathimacode-hub

Issue assigned to @pankaj-sawnani for video contribution

Name - Kishlay Kumar
Batch - 4
Serial No - 673
GithubLink :- https://github.com/kishlayaug15
Approach: A detailed explanation with Audio

@prathimacode-hub can I start working on this issue??

@prathimacode-hub please review my PR.

Hello, I am Deepthi M with serial number:172, Batch-5. I would like to do audio on this issue.
My approach: a detailed explanation

Issue assigned to @deepthi1107 for audio contribution


Theme has deprecated content.

asciidoctor: WARNING: the literal theme category is deprecated; use the codespan category instead
asciidoctor: WARNING: unknown variable reference in PDF theme: $base_border_color
asciidoctor: WARNING: unknown variable reference in PDF theme: $base_font_color
asciidoctor: WARNING: unknown variable reference in PDF theme: $base_border_color
asciidoctor: WARNING: unknown variable reference in PDF theme: $base_border_color
asciidoctor: WARNING: the outline-list theme category is deprecated; use the list category instead

These don't exist in the latest commit.


Merge dev nginx template files and add fallback

Description

WSL devs don't need to edit local files to run local server.
Linux and mac are now supported from the same nginx-app.conf.template file

Fixes #1755
Possibly also helps with #1231
New feature (non-breaking change which adds functionality)
How Has This Been Tested?
On local, manually.
I'll need someone with mac and linux to confirm that their setup didn't break because of this.
Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

WARNING
In it's current state, the change will make it harder to see 502 errors.
We could make the default behaviour to not fallback on release.app.appsmith.com and add a flag to enable it.

cc @hetunandu tell me if these changes help you with #1231

Motivation for that issue was to be able to quick switch between different backend api servers while running the client in dev mode. So if i have a self hosted server on a VPN, a local running server or our staging or prod server; switching between them would be straight forward and not via manually updating template files that is part of our source.
I don't think this solves that issue.

@hetunandu in the switch, are you fine with stopping your local server or do you want to keep that running while you switch?
This change adds the ability to have a fallback server on 502 errors (which is hardcoded to release.app.appsmith.com for now)

@ofpiyush Local server could be still running. Switching should not bother with that I think

In the current version, you can pass the backend proxy_pass you want like so
./start-https.sh https://release.app.appsmith.com

It defaults to http://localhost:8080
A better solution would be to remove all the extra sed from this PR and allow overriding proxy_pass for both client and server through env variables from the .env file.
What do you think @mohanarpit ?


On the communications tab, provide a filter for comments by visibility and type

Related to #1445

Closing this issue because it was developed and completed in 2021.


error: package com.facebook.flipper.android does not exist import com.facebook.flipper.android.AndroidFlipperClient;

Cannot build APK in release mode
To reproduce:- ./gradlew assembleRelease

Hi @saurabhkacholiya,
Thank you for reporting this problem. I will work on this quickly.

Problem fixed. @saurabhkacholiya

Hi @saurabhkacholiya,
Thank you for reporting this problem. I will work on this quickly.

what is the solution for this error I m getting this error when upgrading react-native version 61.5 to latest

Hi @vikil143,
Did you get flipper fix? This error was caused by the wrong file directory and has been fixed. Could you share more details?

Hey, all
I am also having same error. please suggest some fix if available.
does previous version work?

Could you share device information(“react-native info”) and react-native-boilerplate version?
@shubhamdeol @vikil143

yes @keremcubuk  this error happen due to the wrong directory path I fixed that

I have posted one more issue which is App laggy in android version 9,10 is there any solution for that

This issue not related with this problem. Can you share your logcat and react-native info informations. Send me email<EMAIL_ADDRESS>

yes @keremcubuk this error happen due to the wrong directory path I fixed that

@keremcubuk  how you fixed this exactly can you let me know

In this commit folder structure has been changed. Get the latest commits. Look at this commit

I faced the same error after upgrading to RN 63.3
Put ReactNativeFlipper.java in debug as the path android/app/src/debug/java/com/[Your APP]/ReactNativeFlipper.java.
the same path as the init project in https://github.com/facebook/react-native/tree/master/template/android/app/src/debug/java/com/helloworld

I face the similar kind of problem in release mode and then I delete the release folder from ./android/app/src and after that run
cd ./android
./gradlew assembleRelease

and Got Success

I face the similar kind of problem in release mode and then I delete the release folder from ./android/app/src and after that run
cd ./android
./gradlew assembleRelease

and Got Success

@basemanabulsi thanks a lot, helped for me with a different project, after upgrade to RN 0.66.2 :))

i noticed the same problem but it was a an empty space syntax error in reactNativeFlipper.java.
hope it helps

I had the same error.
Add in app/build.gradle:
dependencies {
implementation platform('com.google.firebase:firebase-bom:29.0.0')

}
error gone.

I faced the same error after upgrading to RN 63.3 Put ReactNativeFlipper.java in debug as the path android/app/src/debug/java/com/[Your APP]/ReactNativeFlipper.java. the same path as the init project in https://github.com/facebook/react-native/tree/master/template/android/app/src/debug/java/com/helloworld

Hello . Can you give more detail ?


[Core] Add scalar versions of Vector* min/max/clamp/snap(ped)

Convenience for a number of cases operating on single values
Added a lot of use cases, which I think should justify this addition, it simply saves a lot of code when you use repeated cases, and also reduces risk of copy errors
Optionally bound it to scripting
See also:

https://github.com/godotengine/godot/pull/80223

If it gets merged first I will expose the mini/minf/maxi/maxf methods as well, and vice-versa

I'd say these methods are more generally useful than the vector versions, most of the time you want to clamp or snap to the same value, though in GDScript you do have the benefit of being able to do vec.snapped(Vector2.ONE) which you don't have in C++, but vec.snappedf(1.0) is still way cleaner, and especially vec.snappedf(2.0) is way better than vec.snapped(Vector2.ONE * 2.0)

Went ahead and added the missing snapped methods to C# as they're exposed in GDScript, also updated the documentation for the non-integer ones to match the GDScript documentation which makes it clear it's component-wise

Thanks!

Thank you!


Can't add package for meteor version 1.6

I got the same error in Linux & Windows
How could i fix the error ?

=> Errors while adding packages:
While selecting package versions:
error: Conflict: Constraint<EMAIL_ADDRESS>is not satisfied by ddp-server 2.1.2.
Constraints on package "ddp-server":

<EMAIL_ADDRESS><- top level
<EMAIL_ADDRESS><- ddp 1.4.0 <- allow-deny 1.1.0 <- mongo 1.4.5
<EMAIL_ADDRESS><- ddp 1.4.0 <- meteor-base 1.3.0
<EMAIL_ADDRESS><- metstrike:meteor-oracle 0.2.0

Is it completely out of support? or there are any plans to maintain it?


Add status counts to OneMeasurementHdrHistogram.getSummary()

the stauts print is now reporting also the buckets of status on each operation
so we could find VERIFY errors while the run is happening, and not only at the end
would enable summary print like the below, which show datainegrity failure as example:
[VERIFY: Count=1807, Max=11567, Min=0, Avg=110.3, 90=399, 99=658, 99.9=1133, 99.99=11567, Return(OK)=633, Return(ERROR)=1174]

@eliransin this is a PR that the upstram didn't approved, but with this change I can identify breakage in validation when it's occurs, SCT now depends on this status prints, so I want this in our fork.

I have already seen this PR on upstream. I am merging it but I think that in the long run we should try and wire up something that will be acceptable by upstream.


Could we remove the Copy requirement of ActualT type parameter in Matcher trait?

In 471d4a2, the ActualT changed from an associated type to a type parameter. I think it is a good change, but is ActualT: Copy still required? In #323, there was some discussions about lifetime problems, but I don't think that is still valid now because the lifetime of the object being matched is not tied to the matcher anymore.
The comment in the code mentioned:
// `ActualT` requires `Copy` so that `actual` could be passed to `matches` and
// if it fails passed to `explain_match`. We can relax this constraint later by
// requiring only `Clone`.

But Copy in rust is generally considered cheap (if object is so large that memcpy is expensive, then the type probably shouldn't implement Copy in the first place), so there is no harm to take actual: &ActualT instead. If ActualT is Copy, the implementer can dereference it by themselves. This simplify a lot of lifetime problems when implementing custom matchers.

In https://github.com/google/googletest-rust/issues/323, there was some discussions about lifetime problems, but I don't think that is still valid now because the lifetime of the object being matched is not tied to the matcher anymore.

Can you share more details why this is not valid anymore? There are a few playgrounds in the #323. I noticed that I did not add a regression test to demonstrate this. I will try to add them in the future.

This simplify a lot of lifetime problems when implementing custom matchers.

Custom matchers are something that is supported, but has not been the main focus of our devex effort. I would like to improve on that. Can you share the difficulty you are facing there?


TEST PR, DONT MERGE

just to check why appveyor isn't passing the tests

Appveyor is passing here! I don't know why it's creating problems in #136

Definitely. You could have checked appveyor on commits too! No need to create such PRs  xD


Suggestions for Enhancements to Discord Messenger

Dear Discord Messenger Development Team,
I hope this message finds you well. I am writing to share some suggestions for enhancing Discord Messenger, which I believe would significantly improve the user experience.

Installer for Discord Messenger:

Setup.exe: Please add an installer for Discord Messenger to create a setup.exe file. This would simplify the installation process for users.
Background Running: Implement an option in the installer to allow Discord Messenger to run in the background. Users should have the ability to minimize the app to the system tray, keeping it active even when the main window is closed using the 'X' button.

Server Selection Navigation Issue:

Scroll Functionality: There's a navigation issue where users cannot easily scroll through and select different servers if they have a large number of them. Improving this functionality would enhance usability, particularly for power users managing multiple servers.

Compatibility with Windows XP x64 and All x64 Windows Versions:

Support for Older Systems: Develop a version of Discord Messenger compatible with Windows XP x64. Ensuring compatibility with all x64 versions of Windows would make the app accessible to a broader audience, including those using older systems.

Auto-Start with Windows:

Startup Option: Provide an option to launch Discord Messenger automatically when Windows starts. This feature can be integrated into the settings, allowing users to enable or disable it as per their preference.

I believe these enhancements will make Discord Messenger more user-friendly and accessible. Thank you for considering these suggestions. I look forward to seeing these improvements in future releases.
Best regards,
Kong

This reads like ChatGPT wrote this...

This reads like ChatGPT wrote this...

Yes, but I said what to write. I am not very good in English and I said to help me.

Tf you mean make it x64 compatible, what abt x32 makes it unusable

Hello. This appears to be written by AI, therefore I can't take you seriously, but I'll try.

Setup is already incredibly easy: download and extract the archive from releases. Then open the executable tentatively named "DiscordMessenger.exe". If you want, you can drag this into the program files directory and create a shortcut on the desktop linking there.
Discord Messenger has no notification support currently, so running in the background would be completely pointless.
On Windows versions older than 10, you can click the server list to start scrolling there. I acknowledge that this isn't very user friendly, so I'm thinking I can make a server selector icon, which shows all servers as a list, or a scroll bar option, or both.
32-bit x86 builds of Discord Messenger are compatible with 64-bit Windows versions.
Automatic startup is pointless because, again, Discord Messenger has no notification support yet.

Yes, but I said what to write. I am not very good in English and I said to help me.

You can write in your broken English, or in your native language, I can ask google to translate it for me.


Issue with FAQ

_pages/faq.md
Do we need 'About' and 'How it works' underneath FAQ on any of the pages if FAQ goes to the same place?
This affects pages from 'Aims' down to and including 'Get involved'.

It's just a shortcut to the respective set of questions, and a second way to reach those subsets directly. Also, IMHO, it looks nicer to have links under the bold "section" headings (here: FAQ) in the menu. If there is a structural problem with this, I'm happy to change it, but I think it's fine the way it is.

Add 'submission' as a sub header to FAQ link.


Index of SOPs for wrangler use

Description of the task:
As a data wrangler, I would like to have access to an SOP index so that I can easily check the documentation or note down if we are missing information
Potential categories:

Wrangler procedures (Triage to wrangling)
Metadata schema
Tools to assist wrangling

hca-util
wrangler scripts
dev scripts

Acceptance criteria for the task:

@arschat to comment here with list of potential categories

SOPs from the wrangler central docs and some other resources (with link if not in in wrangler central docs)
SOPs
Introductory
ebi-wrangler-onboarding.md
dataset_wrangling_SOP.md
HCA metadata structure
secondary_review_SOP.md
Triage
GDPR_Guidelines.md
dataset_acknowledgement_SOP.md
dataset_suitability_SOP.md
dataset_triage_SOP.md
Metadata SpreadSheet
HCA_Metadata_Spreadsheet_Guide_Wranglers.md
wrangling_best_practices.md
Contributor spreadsheet quick guide
Spreadsheets examples
geo_to_hca_SOP.md
Access data files
Globus_data_how_to.md
NCBI_SRA_cold_storage_how_to.md
Node_data_how_to.md
Contact contributors
contributor_communication_SOP.md
contributor_matrix_addition_SOP.md
After export
archiving_SOP.md
data_retraction_SOP.md
update_a_project_SOP.md
update_ena_runs_SOP.md
hca_to_scea_tools_SOP.md
Update schema/ ontology
request_ontology_terms.md
schema_update_prioritisation_SOP.md
updating_zooma.md
Advanced / Other
cloud_cost_SOP.md
Programmatic submission
Tools
-- handy_snippets.md
Download
Downloading 10x files from archives -- rename to Download bam files and convert to fastq ?
Downloading and converting SRA objects from SRA
Uploading files to an s3 bucket from the archives
hca cli commands
hca-util admin
hca-util contributor
Usefull commands / utilities
Use terminal sessions in EC2: tmux, screen
Transfer files between local machine and EC2: scp, rsync
Transfer files between local and EC2: Cyberduck
git commands
Converting markdown to pdf: grip
Converting yaml to csv: generic_yaml2csv.py
setup_public_folder_own_cloud.md
Validating files on the ec2: fastq_info
ingest API token \w bookmarklet
To be decided
Generating submission summary report: generate_summary.py
Extract all text to ontology mappings from one or more submissions in ingest
Converting JSON schema properties to csv: json_fields_to_csv.py
cypher query snippets to help inspect metadata visually -- needs gcp credentials, no access (yet?)

the index looks great like this! I have just two comments

contributor_matrix_addition_SOP looks outdated, maybe we need to discuss removing it
the items in the tbd section are part of the snippets, although there is no unifying theme it's good to have a place to collect them and keep them on hand - could the snippet page stay the way it is now? maybe changing the order of the snippets within the page to group them a bit more?

Added SOP for accessing terra, split Tools into 4 groups, include links to relevant SOPs & tools .
SOPs
Introduction
ebi-wrangler-onboarding.md
dataset_wrangling_SOP.md
HCA metadata structure
secondary_review_SOP.md
Accessing terra
Triage
GDPR_Guidelines.md
dataset_acknowledgement_SOP.md
dataset_suitability_SOP.md
dataset_triage_SOP.md
Metadata SpreadSheet
HCA_Metadata_Spreadsheet_Guide_Wranglers.md
wrangling_best_practices.md
Contributor spreadsheet quick guide
Spreadsheets examples
geo_to_hca_SOP.md
Access data files
(link to Tools - Downloading from archive)
Globus_data_how_to.md
NCBI_SRA_cold_storage_how_to.md
Node_data_how_to.md
Contact contributors
contributor_communication_SOP.md
contributor_matrix_addition_SOP.md -- outdated, maybe removing?
After export
archiving_SOP.md
data_retraction_SOP.md
update_a_project_SOP.md
update_ena_runs_SOP.md
hca_to_scea_tools_SOP.md
Update schema/ ontology
request_ontology_terms.md
schema_update_prioritisation_SOP.md
updating_zooma.md
Advanced / Other
cloud_cost_SOP.md
Programmatic submission
Tools
Download from archives
Downloading 10x files from archives -- rename to Download bam files and convert to fastq ?
Downloading and converting SRA objects from SRA
Uploading files to an s3 bucket from the archives
Accessing upload-area & ingest production s3 bucket
hca cli commands
hca-util admin
hca-util contributor
Useful commands
Use terminal sessions in EC2: tmux, screen
Transfer files between local machine and EC2: scp, rsync
Transfer files between local and EC2: Cyberduck
git commands
Converting markdown to pdf: grip
Useful script
Converting yaml to csv: generic_yaml2csv.py
setup_public_folder_own_cloud.md
Validating files on the ec2: fastq_info mention check_fastq.py script
ingest API token \w bookmarklet
Generating submission summary report: generate_summary.py
Extract all text to ontology mappings from one or more submissions in ingest
Converting JSON schema properties to csv: json_fields_to_csv.py
cypher query snippets to help inspect metadata visually -- needs gcp credentials, no access (yet?)

@arschat will update today

Wranglers to review the PR above

Re-reviewed


Updated deprecated API endpoint from /users/self to /users?profile=true

Date: 08 Dec 2024
Developer Name: Hariom Vashista

Issue Ticket Number:-
Fixes: Real-Dev-Squad/todo-action-items#255 repo#2

add issue ticket number here e.g #923

Description:
Add description of the PR here
This PR aims at updating the deprecating API endpoint from /users/self to /users?profile=true
Is Under Feature Flag

[ ] Yes
[X] No

Database changes

[ ] Yes
[X] No

Breaking changes (If your feature is breaking/missing something please mention pending tickets)

[ ] Yes
[X] No

Is Development Tested?

[X] Yes
[ ] No

Tested in staging?

[ ] Yes
[ ] No

Add relevant Screenshot below ( e.g test coverage etc. )
The tests was failing in the previous PR i opened for this same issue for some reason https://github.com/Real-Dev-Squad/website-www/pull/959. Creating a new PR for this reason. Below is the screenshot for the integration test result now:

Instead of creating new PR, update your code changes in that PR #959 only.

Sir, i would have done the same but there were no changes the tests were failing for some unknown reason. There were no changes i could make in the previous PR. That's why i had to create a new PR


Current open file changes without any action

VSCode Version: 1.3.0-insider
OS Version: El Capitan

Steps to Reproduce:

Open many files in a project folder
Just keep working

The current file where I am writing, switches automatically to another one.

Version 1.3.0-insider (1.3.0-insider)
57c833a81206c3d6bb99ba876e6cbafaf427b892
I am experiencing the same issue, but it not only changes the active file -- it closes the entire 2nd editor when it does it. This happens very randomly but VERY often.

Same issue here.  El Capitan, Nightly Vscode 1.3.0-insider (1.3.0-insider).
I work with 2 panes and suddenly one closes. Drives me crazy. I cannot track down precise steps. As @eamodio said: very random. Sometimes it seems to be tied to copy&paste, sometimes to cursor text select and sometimes to simple click.

We fixed this issue yesterday already - d8de4d4695a8bcc4656405067f9ce046a9ee6f47
But due to the build issues, we did not have a nightly build yesterday. Builds are back today which is good news and today's nightly has the fix. Please upgrade to latest.
Sorry for inconvinience

Thank you!

i were working on ionic2 project, when i ctrl+s the page1.ts file content replaced with page1.html file, and showing full redlines below the text, i have to ctrl+z to revert,,
vscode -version : 1.8.1
Node : 6.5.0

see this screenshot, page1.ts has html content,, this happened when i save the file while it run by ionic serve


x/mobile/app: panic with palm touch on iOS app

golang 1.5.1
https://github.com/golang/mobile/blob/master/app/darwin_armx.go#L151
panic: out of touchIDs

/cc @crawshaw Is the following comment no longer true?
// It is widely reported that the iPhone can handle up to 5 simultaneous
// touch events, while the iPad can handle 11.

patch & log
diff --git a/app/darwin_armx.go b/app/darwin_armx.go
index 5344e27..f6fa027 100644
--- a/app/darwin_armx.go
+++ b/app/darwin_armx.go
@@ -132,6 +132,7 @@ var touchEvents struct {

 //export sendTouch
 func sendTouch(cTouch, cTouchType uintptr, x, y float32) {
+       log.Println(cTouch, cTouchType, x, y)
        id := -1
        for i, val := range touchIDs {
                if val == cTouch {

2015/12/05 22:25:26<PHONE_NUMBER> 0 149 62
2015/12/05 22:25:26<PHONE_NUMBER> 0 832 231
2015/12/05 22:25:26<PHONE_NUMBER> 0 1090 337
2015/12/05 22:25:26<PHONE_NUMBER> 0 428 117
2015/12/05 22:25:35<PHONE_NUMBER> 0 239 91
2015/12/05 22:25:35<PHONE_NUMBER> 0 299 612
2015/12/05 22:25:35<PHONE_NUMBER> 0 990 122
2015/12/05 22:25:35<PHONE_NUMBER> 0 619 133
2015/12/05 22:25:35<PHONE_NUMBER> 0 603 327
2015/12/05 22:25:35<PHONE_NUMBER> 0 817 107
2015/12/05 22:25:35<PHONE_NUMBER> 0 560 597
2015/12/05 22:25:37<PHONE_NUMBER> 0 656 160
2015/12/05 22:25:37<PHONE_NUMBER> 0 583 597
panic: out of touchIDs

6 fingers touch and release on iPhone5S.
expect:
6 touch.TypeEnd events receive.
instead:
These touch.TypeEnd events disappeared.

need handle touchesCancelled ?

No occur panic in Android, but there was a problem of lost touch sequence (similar IOS).
cancel-events must handle for real-device.

AMOTION_EVENT_ACTION_CANCEL for android
touchesCancelled for iOS

Proposal:

Add const value "TypeCancel" to "event/touch/touch.go".
cancel-event send to app.
touchIDs delete cancelled ID for iOS

@nobonobo I missed your comment before submitting your CL. Want to move this to #13859?


I want to upload a result to COCO detection server. Does have any tools for generating results of coco test-standard.

I want to upload a result to COCO detection server. Does have any tools for generating results of coco test-standard.
Thank you very much.

You can use the test script to get the json results, and follow the official guide to upload it.

Thank you. I can find the test.


Don't include password in Java Opts

Hello,
Right now, the admin password for the newly created instance is provided via admin.password property.
Rel: https://github.com/wttech/aemc/blob/b33ddaf8fc98c595668d07dc8d5c91fb0c661417/pkg/local_instance.go#L835
I think it should be provided via admin.password.file property, so that it cannot be read from ps uax output.
Ref: https://experienceleague.adobe.com/docs/experience-manager-65/administering/security/security-configure-admin-password.html?lang=en#using-the-nointeractive-flag
We would need to make sure that such temporary password file is created with restrictive umask and deleted right after use.

Good one. But adds complexity. Don't hesitate to implement it

Done in https://github.com/wttech/aemc/pull/193

thanks @piotr-andruszkiewicz-wttech


additional of interrupt manager

this is a work in progress. need to do the following tasks still:

use cib::tuple instead of hana
clean up the mock register interface
add readme and examples
ensure both catch2 and gtest tests run
spend some time to clean up the file/directory structure

added initial interrupt manager


Ping not working, dig resolves correctly

I'm creating 2 instances "node0", "node1", both using centos/7.
Their hostnames are node0.vagrant.test and node1.vagrant.test.
If I ssh into node0 of these instances I can see that etc/resolv.conf has the name server.
# Generated by NetworkManager
search lan vagrant.test
nameserver <IP_ADDRESS>

but if I ping node1 I get unknown host node1.
Instead, if I use dig: dig -p 10053 @<IP_ADDRESS> node1
I get the correct response:
node1.vagrant.test.	0	IN	A	<IP_ADDRESS>

I see that dig is specifying the port. how is this achieved through resolv.conf? Am I missing some configuration?
This is probably not an issue and I'm doing something wrong, but I did not know where else to ask.

I see that it achieves it through iptables and my ansible script was messing with it. So, it's not an issue!


Networking tests failing with an assertion on frdm_k64f

The following networking tests are failing with an assertion on frdm_k64f:
tests/net/vlan/net.vlan
***** Booting Zephyr OS v1.12.0-rc2-75-g7a18b08 *****
Running test suite net_vlan_test
===================================================================
starting test - test_vlan_setup

    Assertion failed at /home/maureen/zephyr/tests/net/vlan/src/main.c:337: test
Invalid numer of VLANs 8 vs 4

FAIL - test_vlan_setup

tests/net/checksum_offload/net.offload
***** Booting Zephyr OS v1.12.0-rc2-75-g7a18b08 *****
Running test suite net_chksum_offload_test
===================================================================
starting test - eth_setup

    Assertion failed at /home/maureen/zephyr/tests/net/checksum_offload/src/main
Invalid number of interfaces (3 vs 2)

FAIL - eth_setup

A full regression with device testing was run on frdm_k64f on commit 7a18b083ebe4712fbb258d09c0f53a71b7f46678:
$ sanitycheck -p frdm_k64f --device-testing --device-serial /dev/ttyACM0
Cleaning output directory /home/maureen/zephyr/sanity-out
Building testcase defconfigs...
256 tests selected, 55151 tests discarded due to filters
total complete:   27/ 256  10%  failed:    0

frdm_k64f                 samples/mpu/mpu_stack_guard_test/test              FAILED: timeout
	see: sanity-out/frdm_k64f/samples/mpu/mpu_stack_guard_test/test/handler.log

total complete:   46/ 256  17%  failed:    1

frdm_k64f                 samples/mpu/mpu_stack_guard_test/test_stack_guard  FAILED: timeout
	see: sanity-out/frdm_k64f/samples/mpu/mpu_stack_guard_test/test_stack_guard/handler.log

total complete:  112/ 256  43%  failed:    2

frdm_k64f                 tests/net/vlan/net.vlan                            FAILED: failed
	see: sanity-out/frdm_k64f/tests/net/vlan/net.vlan/handler.log

total complete:  126/ 256  49%  failed:    3

frdm_k64f                 samples/drivers/watchdog/test                      FAILED: timeout
	see: sanity-out/frdm_k64f/samples/drivers/watchdog/test/handler.log

total complete:  144/ 256  56%  failed:    4

frdm_k64f                 tests/net/utils/net.util                           FAILED: timeout
	see: sanity-out/frdm_k64f/tests/net/utils/net.util/handler.log

total complete:  158/ 256  61%  failed:    5

frdm_k64f                 tests/net/icmpv6/net.icmpv6                        FAILED: timeout
	see: sanity-out/frdm_k64f/tests/net/icmpv6/net.icmpv6/handler.log

total complete:  159/ 256  62%  failed:    6

frdm_k64f                 tests/benchmarks/sys_kernel/benchmark.kernel       FAILED: failed
	see: sanity-out/frdm_k64f/tests/benchmarks/sys_kernel/benchmark.kernel/handler.log

total complete:  173/ 256  67%  failed:    7

frdm_k64f                 tests/net/checksum_offload/net.offload             FAILED: failed
	see: sanity-out/frdm_k64f/tests/net/checksum_offload/net.offload/handler.log

total complete:  196/ 256  76%  failed:    8

frdm_k64f                 tests/net/lib/http_header_fields/net.http          FAILED: timeout
	see: sanity-out/frdm_k64f/tests/net/lib/http_header_fields/net.http/handler.log

total complete:  207/ 256  80%  failed:    9

frdm_k64f                 tests/net/trickle/net.trickle                      FAILED: timeout
	see: sanity-out/frdm_k64f/tests/net/trickle/net.trickle/handler.log

total complete:  208/ 256  81%  failed:   10

frdm_k64f                 tests/kernel/fifo/fifo_api/kernel.fifo.poll        FAILED: timeout
	see: sanity-out/frdm_k64f/tests/kernel/fifo/fifo_api/kernel.fifo.poll/handler.log

total complete:  222/ 256  86%  failed:   11

frdm_k64f                 tests/net/lib/mqtt_packet/net.mqtt.packet          FAILED: timeout
	see: sanity-out/frdm_k64f/tests/net/lib/mqtt_packet/net.mqtt.packet/handler.log

total complete:  235/ 256  91%  failed:   12

frdm_k64f                 tests/drivers/adc/adc_simple/peripheral.adc        FAILED: failed
	see: sanity-out/frdm_k64f/tests/drivers/adc/adc_simple/peripheral.adc/handler.log

total complete:  256/ 256  100%  failed:   13
243 of 256 tests passed with 0 warnings in 7090 seconds

If I am not mistaken, those tests are designed to run in loopback mode only and never actually worked on device with real network driver, I have seen them before but was focusing on kernel tests, we need to fix the tests to run on real hw.

The reason for this error is that as frdm-k64f has an ethernet port, the vlan test application gets confused by this and reports an error, as normally it is run in self contained unit.


Microsoft.TeamsContinuousDeployment version <IP_ADDRESS>63

Microsoft Reviewers: Open in CodeFlow

It looks like this is a newer version of Microsoft.Teams (the URL scheme is the same), should it just go under that?

It looks like this is a newer version of Microsoft.Teams (the URL scheme is the same), should it just go under that?

It's a different ring, Production is still on <IP_ADDRESS>67 (from https://raw.githubusercontent.com/ItzLevvie/MicrosoftTeams-msinternal/master/defconfig)


Do we have any other sample applications  r pods to test all chaos experiments using litmuschaos apart from nginx?

The sock-shop microservices demo app from weaveworks is a popular one amongst litmus practitioners: https://github.com/zebrium/zebrium-kubernetes-demo/blob/master/deploy/sock-shop.yaml
(picked this from a demo that the zebrium folks used to demonstrate litmus. While the instructions largely hold, note that the chaosengines are from a much older release. You may want to update them where necessary OR just use the app link shared above & run the latest experiments against them)

There is a sock-shop based demo within litmus itself, now: https://github.com/litmuschaos/litmus-demo


Exception : android.content.IntentSender$SendIntentException

android.content.IntentSender$SendIntentException
generated when call more than one time startUpdate() method.

@rikinpatoliya thanks for the issue. I'm quite busy these days. If you have time to fix it please submit a Pull Request.

Closing with the fix #11


Ensure examples stay updated in CI.

Given the great work @timsaucer has done on the examples/tpch, I'd like to ensure they stay up to date and don't break when we upgrade datafusion versions.
Describe the solution you'd like
Re-run / validate the examples on PRs
Describe alternatives you've considered
Open to suggestions!

There are a couple of things we'll need to do that immediately come to mind:

A few of the examples have some differences with what the spec shows as the expected outcome. We need to check if these are a problem in my code or something to do with the size of the generated data set I used. I will take this on.
Decide if we want to run against the answers file or against the one line output shown in the spec. If we want to go against the answer file, update the test to use the query file parameters instead of the values in the spec.
Pull the code for every example into a function that can return a dataframe
Write code to compare the output dataframe to the return value from the test. We can probably limit decimal precision to 2 decimal places since this is designed to report at the level of $0.01
Update CI to pull the dbgen docker image and generate a 1 Gb dataset, the smallest we can expect to get consistent results based on what I've read

I hadn't originally expected the examples to be used in this way, but it's a very good idea.

I have a branch ready that corrects the examples to match the spec output. Most of it was numerical errors between float and decimal representation, and converting 3 months to 90, 91, or 92 days. When the interval is fixed upstream, we can make that less prone to error. There was one or two queries that needed an algorithmic update. I will hold off on putting in that PR until we first answer if we want to go all in on data validation as part of the example or not. I have this example where I pull the query up into a function and add a validation function. The down side of this is that it makes the example less readable to new users in my opinion. But it does come at the point of adding in both validation and preparing the result to be used by CI. I've asked this question on the discord server, but putting it here for traceability.

After a little experimenting, I'm pretty sure this will work.
Create a ./example/tpch/_tests.py

def test_q01_pricing_summary_report():
    import q01_pricing_summary_report
    df = q01_pricing_summary_report.df
   # assertion code on `df`

Keeps the examples clean
python -m pytest ./examples/tpch/_tests.py will give us a nice test report as a bonus

We could make it stupid simple by making these snapshot tests and using https://pypi.org/project/pytest-snapshot/

Ok, made some good progress on this. Will try to wrap up tomorrow. https://github.com/timsaucer/datafusion-python/blob/tsaucer/prepare_tpch_examples_for_ci/examples/tpch/_tests.py
I do like your idea of switching this to use pytest-snapshot so I'll probably look at that.
I am adding a small set of reduced reference data, which is total of about 1.1 Mb. This will allow users to run the examples without requiring them to generate a full TPC-H data set, but if they want to reproduce the spec result they will have to run the data generator. This is also such a small data set it'll speed up CI by not having to run generator every time. Most importantly, if we don't have a reference data set in the repo it would require all users to run the generator just to get their pyunit tests to pass, which I don't think people would like.

My default would be not to add the data to the repo, but I'll let @andygrove decide that. Maybe we could add it to the test-data submodule https://github.com/apache/arrow-testing?
If not, I can add whatever line/script to generate (and maybe cache) the test-data to the CI

As an update, I've got the tests written as you describe. I removed the reference files from the repo. Now it's checking against the official answer files. There is one special case I mentioned in discord, but from my web searches it appears to be known issue (and my result matches the spec pdf).
All that's left is to work through the CI process. I expect to move my PR to ready on Monday or Tuesday.


[FEATURE] Filter by type of issue

Description
Filter by docs, bug, enhancement... It will be very useful for people who want to fix a certain type of issue, for eg: docs is pretty easy to do so if your a beginner maybe you want to get on the docs stuff instead of bugs and features?
Screenshots
No response
Additional information
No response

Isn't this feature already in the website?

Yes, I think 🤔 closing it for now


minimum character scope

I'd like to be able to return records, say, on a minimum of 3 characters. Is this possible with pg_search?
class Toon < ActiveRecord::Base

  include PgSearch

  pg_search_scope :search_by_name, against: :name
end

Toon.search_by_name 'cow' # => 'cowboy bebop'

Yes, it will work. What's the problem?

I am only getting records returned for whole words, in this case
Toon.search_by_name 'cowboy' # => 'cowboy bebop'

but
Toon.search_by_name 'cow' # => returns empty records

it's the english language specifics. imagine you google about cows and get results about cowboys :)

so you mean I  will have better results using
                  :using => {
                    :tsearch => {:dictionary => "english"}
                  }

Read about :prefix in the README.
Grant Hutchins

On Feb 16, 2015, at 4:16 PM, Luke Fender<EMAIL_ADDRESS>wrote:
so you mean I will have better results using
              :using => {
                :tsearch => {:dictionary => "english"}
              }

—
Reply to this email directly or view it on GitHub.

@lfender6445 Yes, it'll be better. Also I'm not sure that "cowboy" must be found by the "cow" query. If you even google for "cow" you won't see cowboys. "cows" — yes, "cowboy" — no.
But if you use pg_search for something like autocomplete feature, you should probably use :prefix option as @nertzy said.

thanks guys will take a look

@nertzy Is there a way I can specify minimum number of characters for prefix? Right now, it just returns everything.
cowboy_bebop = Toon.create!(name: 'cowboy bebop')`

Toon.search_by_name 'cow' # => [cowboy_bebop]
Toon.search_by_name 'co' # => [cowboy_bebop]
Toon.search_by_name 'c' # => [cowboy_bebop]


build(deps): update bevy to v0.14

Codecov Report
Attention: Patch coverage is 0% with 207 lines in your changes missing coverage. Please review.

Project coverage is 0.00%. Comparing base (889c498) to head (86eb831).
Report is 1 commits behind head on main.

Files with missing lines
Patch %
Lines

src/systems/ui.rs
0.00%
84 Missing :warning:

src/plugins/performance_matrix.rs
0.00%
47 Missing :warning:

src/systems/auto_move.rs
0.00%
18 Missing :warning:

src/input_map.rs
0.00%
12 Missing :warning:

src/systems/level.rs
0.00%
12 Missing :warning:

src/systems/input.rs
0.00%
10 Missing :warning:

src/systems/auto_solve.rs
0.00%
9 Missing :warning:

src/plugins/version_information.rs
0.00%
8 Missing :warning:

src/main.rs
0.00%
3 Missing :warning:

src/systems/render.rs
0.00%
3 Missing :warning:

... and 1 more

Additional details and impacted files
@@          Coverage Diff          @@
##            main     #15   +/-   ##
=====================================
  Coverage   0.00%   0.00%
=====================================
  Files         24      24
  Lines       2342    2362   +20
=====================================
- Misses      2342    2362   +20

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


HH ph1 window problems

Boss window mode is switched to normal when npcs like thralls are spawned

Bosses are not fully reset when wiping.

fixed in af8d3d80a003800d0f0b662be43e7a6d45f686d3
fixed in 3744b13c78d919401c774125a034119c8b6db2f2


Manjaro Linux Signal 11 at execution

i am not sure what is causing the issue or who to ask, but i used this download and it doesn't work so i'm gonna ask here
once i try to start up the pd executable i end up getting this display with this message:

version: 85b2ba5 (i686-linux)
startup date: 19 Oct 2023 19:13:56
data dir: ./data
save dir: /home/mach/.local/share/perfectdark
ERROR: FATAL: Crashed: PC=(nil) SIGNAL=11
ERROR: FATAL: Crash!
SIGNAL: 11
PC: /home/mach/Downloads/pd-i686-linux/pd(+0x185b07) [0x56784b07]
MODULE: 0x565ff000
MAIN MODULE: 0x565ff000
BACKTRACE:
#00: /home/mach/Downloads/pd-i686-linux/pd(+0x185b07) [0x56784b07]
#01: /home/mach/Downloads/pd-i686-linux/pd(+0x185f32) [0x56784f32]
#02: linux-gate.so.1(__kernel_rt_sigreturn+0) [0xf7f085a0]

here is an image of what i get on my screen though running from terminal if you prefer to look at it

My System's relevant info is as follows:
OS: Manjaro Linux
KERNEL: 6.5.2-1-rt8-MANJARO
CPU: Intel Core i5-2450M @ 2.50GHz
GPU: NVIDIA GeForce GT 540M
GPU DRIVER: NVIDIA 390.157
RAM: 8 GB
i hope i have enough info of some sort to draw a conclusion or fix. i would quite enjoy playing on my Linux desktop.
Cheers, Mach

That version is 3 weeks old. Can you try the latest one?

That version is 3 weeks old. Can you try the latest one?

nothing has changed, i still get the signal 11 error.

it added a couple extra things to my output hopefully its useful?

That only tells me that your GL driver is working fine.
Unfortunately the crash handler is kind of ass on Linux, so the only things it shows on your system are both pointers to itself.
If you're willing, you could try running the game under gdb or gdb-multiarch (think the Pacman packages should be called that as well if you don't have it installed):
gdb ./pd

then enter run in gdb and hit Enter, wait until it crashes, then enter bt and hit Enter and post what it says.

i go away to do some dishes for about 5 minutes and hey look at that.
its running

either way here is a log of what was there when i came back, hope it does something

GNU gdb (GDB) 13.2
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
https://www.gnu.org/software/gdb/bugs/.
Find the GDB manual and other documentation resources online at:
http://www.gnu.org/software/gdb/documentation/.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./pd...
(gdb)
(gdb) run
Starting program: /home/mach/Downloads/pd-i686-linux/pd
This GDB supports auto-downloading debuginfo from the following URLs:
https://debuginfod.archlinux.org
Enable debuginfod for this session? (y or [n]) y
Debuginfod has been enabled.
To make this setting permanent, add 'set debuginfod enabled on' to .gdbinit.
Downloading separate debug info for /lib/ld-linux.so.2
Downloading separate debug info for system-supplied DSO at 0xf7fc7000
Downloading separate debug info for /usr/lib32/libSDL2-2.0.so.0
Downloading separate debug info for /usr/lib32/libz.so.1
Downloading separate debug info for /usr/lib32/libm.so.6
Downloading separate debug info for /usr/lib32/libc.so.6
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
version: ba51e9d (i686-linux)
startup date: 19 Oct 2023 20:22:14
base dir: ./data
save dir: /home/mach/.local/share/perfectdark
Downloading separate debug info for /usr/lib32/libdbus-1.so.3
Downloading separate debug info for /usr/lib32/libsystemd.so.0
Downloading separate debug info for /usr/lib32/libcap.so.2
Downloading separate debug info for /usr/lib32/libgcrypt.so.20
Downloading separate debug info for /usr/lib32/liblzma.so.5
Downloading separate debug info for /usr/lib32/libzstd.so.1
Downloading separate debug info for /usr/lib32/libgpg-error.so.0
Downloading separate debug info for /usr/lib32/libX11.so.6
Downloading separate debug info for /usr/lib32/libxcb.so.1
Downloading separate debug info for /usr/lib32/libXau.so.6
Downloading separate debug info for /usr/lib32/libXdmcp.so.6
Downloading separate debug info for /usr/lib32/libXext.so.6
Downloading separate debug info for /usr/lib32/libXcursor.so.1
Downloading separate debug info for /usr/lib32/libXrender.so.1
Downloading separate debug info for /usr/lib32/libXfixes.so.3
Downloading separate debug info for /usr/lib32/libXi.so.6
Downloading separate debug info for /usr/lib32/libXrandr.so.2
Downloading separate debug info for /usr/lib32/libXss.so.1
Downloading separate debug info for /usr/lib32/libGL.so.1
Downloading separate debug info for /usr/lib32/libGLdispatch.so.0
Downloading separate debug info for /usr/lib32/libGLX.so.0
Downloading separate debug info for /usr/lib32/libdl.so.2
Downloading separate debug info for /usr/lib32/libpthread.so.0
GL: created GL3.0 context
Downloading separate debug info for /usr/lib32/libudev.so.1
Downloading separate debug info for /usr/lib32/libpulse-simple.so.0
Downloading separate debug info for /usr/lib32/libpulse.so.0
Downloading separate debug info for /usr/lib32/pulseaudio/libpulsecommon-16.1.so
Downloading separate debug info for /usr/lib32/libsndfile.so.1
Downloading separate debug info for /usr/lib32/libasyncns.so.0
Downloading separate debug info for /usr/lib32/libogg.so.0
Downloading separate debug info for /usr/lib32/libvorbisenc.so.2
Downloading separate debug info for /usr/lib32/libFLAC.so.12
Downloading separate debug info for /usr/lib32/libopus.so.0
Downloading separate debug info for /usr/lib32/libvorbis.so.0
[New Thread 0xd42d8b40 (LWP 81123)]
[New Thread 0xe464ab40 (LWP 81124)]
ROM file: pd.ntsc-final.z64
loading segment fontjpnsingle from ROM (offset 00194b20 pointer 0xc2293b30)
loading segment fontjpnmulti from ROM (offset 0019fb40 pointer 0xc229eb50)
loading segment animations from ROM (offset 001a15c0 pointer 0xc22a05d0)
loading segment mpconfigs from ROM (offset 007d0a40 pointer 0xc28cfa50)
loading segment mpstringsE from ROM (offset 007d1c20 pointer 0xc28d0c30)
loading segment mpstringsJ from ROM (offset 007d5320 pointer 0xc28d4330)
loading segment mpstringsP from ROM (offset 007d8a20 pointer 0xc28d7a30)
loading segment mpstringsG from ROM (offset 007dc120 pointer 0xc28db130)
loading segment mpstringsF from ROM (offset 007df820 pointer 0xc28de830)
loading segment mpstringsS from ROM (offset 007e2f20 pointer 0xc28e1f30)
loading segment mpstringsI from ROM (offset 007e6620 pointer 0xc28e5630)
loading segment firingrange from ROM (offset 007e9d20 pointer 0xc28e8d30)
loading segment fonttahoma from ROM (offset 007f7860 pointer 0xc28f6870)
loading segment fontnumeric from ROM (offset 007f8b20 pointer 0xc28f7b30)
loading segment fonthandelgothicsm from ROM (offset 007f9d30 pointer 0xc28f8d40)
loading segment fonthandelgothicxs from ROM (offset 007fbfb0 pointer 0xc28fafc0)
loading segment fonthandelgothicmd from ROM (offset 007fdd80 pointer 0xc28fcd90)
loading segment fonthandelgothiclg from ROM (offset 008008e0 pointer 0xc28ff8f0)
loading segment sfxctl from ROM (offset 0080a250 pointer 0xc2909260)
loading segment sfxtbl from ROM (offset 00839dd0 pointer 0xc2938de0)
loading segment seqctl from ROM (offset 00cfbf30 pointer 0xc2dfaf40)
loading segment seqtbl from ROM (offset 00d05f90 pointer 0xc2e04fa0)
loading segment sequences from ROM (offset 00e82000 pointer 0xc2f81010)
loading segment texturesdata from ROM (offset 01d65f40 pointer 0xc3e64f50)
loading segment textureslist from ROM (offset 01ff7ca0 pointer 0xc40f6cb0)
loading segment copyright from ROM (offset 01ffea20 pointer 0xc40fda30)
skipping segment fontjpn
romdataInit: loaded rom, size = 33554432
memp heap at 0xc0ca7010 - 0xc1ca7010
rom  file at 0xc20ff010 - 0xc40ff010
could not read EEPROM from /home/mach/.local/share/perfectdark/eeprom.bin: No such file or directory
shutdown
[Thread 0xe464ab40 (LWP 81124) exited]
[Thread 0xf77e6040 (LWP 81102) exited]
[Thread 0xd42d8b40 (LWP 81123) exited]
[New process 81102]
[Inferior 1 (process 81102) exited normally]
(gdb)

So it runs fine under gdb, but crashes otherwise? That's gonna be a bit of a problem.
Can you try catchsegv ./pd?

So it runs fine under gdb, but crashes otherwise? That's gonna be a bit of a problem. Can you try catchsegv ./pd?
how can i run this? i can't seem to find how to run it. if i'm missing something i cant find it either

You just paste that into the terminal.
Is the catchsegv command missing on your system?

You just paste that into the terminal. Is the catchsegv command missing on your system?

yep. will show up as red.

Alright, must be that your glibc is too new. Try this:
gdb
set disable-randomization off
file ./pd
run

okay well it runs, but how am i going to get it to run without using gdb?

I'm just trying to get it to crash again so I could figure out where it crashes.
There's one more way you can try to do this, which is core dumps.
They should be enabled on Manjaro by default I think.
Try running coredumpctl info ./pd and see if it finds anything. If it does, post it here, then run coredumpctl debug ./pd and do bt in there if it runs gdb.

i get no coredumps and terminal returns to a blank prompt

Okay, I suppose that's because the crash handler catches them.
Do you use Wayland? If so, try running it like so: SDL_VIDEODRIVER=x11 ./pd

i'm on vintage nvidia hardware so i have no use for Wayland. everything is on X11.

Okay. Try getting the new build with the changes I committed. Then run it like so: ./pd --no-crash-handler. Then try the core dump thing again.

nope. nothing again. no coredumps. but i looked at where the dump directory should be and i found something.

You can also run coredump list or just coredump info with no argument. I've never used these myself so I wouldn't know.
If you found a core dump that you're pretty sure is from the crash that happened, you can load it in gdb by hand like so:
gdb ./pd /path/to/coredump
then try running bt.

ah, it shows up with:
#0  0x00000000 in ?? ()
#1  0xf6d1e81b in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Okay. Can you do an info modules?

i'm guessing that's not good
(gdb) info modules
All defined modules:

Well, that definitely doesn't help much. What about info file?

to not throw a giant wall of text here is the output in a txt file
output.txt

Okay. If you run coredump info (just in the terminal, not in gdb), does it give any output? If not, what about coredump info pd or coredump info 1000?

coredump becomes red. presumably another command i don't have installed

Ah shit, sorry, meant coredumpctl.

coredumpctl info yields this:

       PID: 83367 (pd)
       UID: 1000 (mach)
       GID: 1000 (mach)
    Signal: 11 (SEGV)
 Timestamp: Thu 2023-10-19 21:46:52 AEDT (27min ago)

Command Line: ./pd --no-crash-handler
Executable: /home/mach/Downloads/pd-i686-linux/pd
Control Group<EMAIL_ADDRESS>Unit<EMAIL_ADDRESS>User Unit: app-org.kde.konsole-b9d0a8fdd32745b99d4b1fc58a64f7c4.scope
Slice: user-1000.slice
Owner UID: 1000 (mach)
Boot ID: d08a0fbb049a4a3ebfa0de0beeb7c9ed
Machine ID: e386177a200241749b3593c585e44316
Hostname: mach-travelmate5760g
Storage: /var/lib/systemd/coredump/core.pd.1000.d08a0fbb049a4a3ebfa0de0beeb7c9ed.83367.1697712412000000.zst (present)
Size on Disk: 10.2M
Message: Process 83367 (pd) of user 1000 dumped core.
            Module libnvidia-glcore.so.390.157 without build-id.
            Module libnvidia-tls.so.390.157 without build-id.
            Module libGLX_nvidia.so.0 without build-id.
            Stack trace of thread 83367:
            #0  0x0000000000000000 n/a (n/a + 0x0)
            ELF object binary architecture: Intel 80386

Okay, run one more thing:
readelf -n core.pd.1000.d08a0fbb049a4a3ebfa0de0beeb7c9ed.83367.1697712412000000
(or wherever you copied the core file)

here it is
output next.txt

Well. This is a crash in the Nvidia driver. Exact reasons are unknown to me, but it looks like something internal.
Give me a minute and I'll commit a potential workaround.

aw bloody nvidia of course it would be

Try downloading the latest version and run it like so:
./pd --gl-version 3.2core
If that still doesn't work, try these versions and see if one of them works:
./pd --gl-version 3.3core
./pd --gl-version 4.6core
./pd --gl-version 4.6
./pd --gl-version 2.1

yep, no dice

Does the version actually change in the GL:  message? If it doesn't, that means you don't have the latest version somehow.
If it doesn't, well. Maybe you can try installing lib32-libglvnd or lib32-mesa or something and running the game with that somehow.

it does have the different version in each message, but i have no clue how i would approach running something with either libglvnd or mesa

You can also try setting one or more of these environment variables before running the game:
export __GL_THREADED_OPTIMIZATIONS=0
export __GL_WRITE_TEXT_SECTION=0
export __GL_IGNORE_GLSL_EXT_REQS=1
export __GL_ALLOW_UNOFFICIAL_PROTOCOL=1

and if that also fails, in ~/.local/share/perfectdark/pd.ini set FramebufferEffects to 0.

You just paste one of these lines into the terminal and then run the game.

aaand literally ZERO Pieces of the documentation online tells you that
ok so __GL_WRITE_TEXT_SECTION=0 worked.

To be fair, I did actually find it online here, but still, that was a lucky guess. You can probably turn FramebufferEffects back to 1 now as well.


[clkmgr, top] clkmgr and top updates to support ast external switch

Review last commit only.

ast provides a direct indication whether clock dividers should be stepped
down during an external switch.

clkmgr can make use of this mechanism directly without having to piece
separate logic together.

This PR may be incomplete at the moment because the relevant signals are
in an async domain, this may be changed by an AST update.

fixes #10890

@Jacob-Levy please have a look, we would like to convert the is_48 signal to mubi as well.

It seems all PRs herein are already committed. Which did you want me to review?

@tjaychen What is the difference between the clk_src_io_val  and the clk_src_io_48m?
Both are attributes of the clk_src_io. Any reason why you want to'mubi' just the clk_src_io_48m ?

@tjaychen What is the difference between the clk_src_io_val  and the clk_src_io_48m? Both are attributes of the clk_src_io. Any reason why you want to'mubi' just the clk_src_io_48m ?

the valid goes to pwrmgr and informs it that the clk_src_io has been turned on.
The latter is used directly to manipulate the clock divider. I think we're a bit more worried about the latter because we don't want the divider to be unintentionally manipulated.

I can do it, It is a simple replacement of the prim_flop_2sync with prim_mubi_sender  and interface update.
Also the clk_src_<*_>en  are candidate too :)

actually don't change the latter group. I was only half kidding.
I'd rather not open those blocks up unless we have to. This one we opened mostly because we had to change other things also.

The change is for the is_48m... no plan to chanee the others.

The change is for the is_48m... no plan to chanee the others.

sounds good. Do the other changes in this PR look reasonable to you?

LGTM,  assuming the  change the clk_src_io_48m to mubi  at the ast.sv & ast_clk_byp,sv are done.


Support concurrent use of a shared JavaVirtualMachine

The JavaVirtualMachine class was not at all designed with concurrency in mind: it always created a new Java VM under the hood, and was associated with a single JNI environment even though different threads could have different JNI environments.
Move to a different model with a static shared() method to create or access a shared JavaVirtualMachine instance to encapsulate the (singleton) JVM. If there is an existing JVM, whether created via this Swift library or from some other code, it will be adopted by the shared JavaVirtualMachine instance.
Additionally, the JavaVirtualMachine no longer stores a JNI environment. Instead, it now provides an environment function that queries the JVM to get the JNI environment for the current thread. If the current thread isn't attached to the JVM, it does so and provides the resulting JNI environment.
With all of these in place, we no longer need to force all of our JavaKit tests over to the main actor.

Merging because I'm building other things on top of this


Cam connects to wifi for a few seconds before disconnecting and flashing blue light

I was able to flash my YI 1080p home AI+, but as soon as I change the wifi SSID and password using either configure_wifi.cfg (https://github.com/roleoroleo/yi-hack-Allwinner/wiki/Change-WiFi-credentials) or wpa_supplicant.conf (https://github.com/roleoroleo/yi-hack-Allwinner/files/6323138/wifi_on_sd.zip), the camera is able to connect to the new network but only temporally (for a few seconds, or couple of minutes) before disconnecting and flashing blue light. When the camera is temporally connected, I do have access to the web server and to the rtsp feed.  I am not sure why this keeps happening, and now I cannot longer add the camera to a network using the Yi Home app on my mobile.
Firmware Version | <IP_ADDRESS>A_201912270941
Model Suffix | y20ga_0.3.1
Serial Number | 9FUS

After a reboot what happens?
Did you try with another access point?

I think it might have been the camera... I tried a different camera and it connected just fine. Thanks!


Feature Request: Clarify package contents & allow for better tree shaking

Hi guys, thanks for the great libraries (both react-popper and popper.js).
I ran into this issue today and couldn't figure out at first why it was happening until I realized that the package contents weren't quite what I expected. I was able to solve the issue, but am no longer able (as far as I can tell) to easily tree shake the components I'm not using.
My request/suggestion is twofold:

Change the package folder structure to make it more clear what the contents are. The most common approach I've seen is to provide a dist folder containing the minified and unminified UMD builds, a lib or cjs folder with the individual CJS components, and an es folder with the original ES versions of the components.
For both the CJS and ES versions, provide the separate components instead of combining them into a single module so consumers can easily exclude unused code using something like babel-plugin-transform-imports.

I'm happy to submit a PR for this if this is something you're open to. Thanks for considering my request.

Thanks for considering the request. Looks like @FezVrasta's commit addresses the issue, at least for v1.x.


added 'isLiveForever' flag for an effect

added 'isLiveForever' flag for an effect, the flag is needed to check if an effect can be completed

Excuse me. 15x is stable branch. Please send a PR to master.
Please add a comment to generate Doxygen documents. (only English OK)


Add withdrawal escrow RPIP

This PR introduces a new RocketPoolWithdrawalEscrow contract, which when set as the withdrawal address for a node allows for ETH and RPL rewards to be distributed to separate interested parties.
This is useful when you have two parties:

A node operator interested in staking ETH but uninterested in adopting an RPL position.
An RPL holder interested in gaining RPL rewards but uninterested in running a node.

@VVander I've made the requested changes. I'll merge it in if you're happy with it.


Migration?

Do you have a script or something that i Can use to migrate from robust 0.8.x to simian? and not to be a pain but how do you install the new mgm on linux? the commands in the readme do not work

Inside simian there is a folder named RobustMigration, that appears to be a c# project.  I haven't used it myself, it is provided from simian upstream.
I have always migrated through the use of oar and iar files through the opensim console.  It does not scrape and migrate user accounts, just their inventories.  If your grid is very large it will be cumbersome, but my grids have all been rather small.
The new mgm is not deployment ready.  It would normally be a new branch on the same repository, so it can be worked on without affecting the master branch, but this is a complete rewrite in a new language.  Please use mgm-defunct until we can tag a stable 2.0 on the mgm repository.


Swift 2.2 support

This is another breaking change because of the associatedtype usage.
Updated Nimble to be built with Xcode 7.3.

Would it be possible to maintain compatibility with both Swift 2.1 and Swift 2.2 for a single release? :pray:

Would it be possible to maintain compatibility with both Swift 2.1 and Swift 2.2 for a single release? :pray:

Okay, let's keep using typealias atm, that is deprecated but still can be used.

:joy:
This is great stuff. :clap: Thanks for doing the work! :sparkling_heart:


Link to reality question even if not opened yet

Currently, there is no easy way to identify the reality question before a market is open. Link to it:

on multi scalar markets it opens a modal with all the questions


resolve symlinks to devices in DeviceFromPath

Previously DeviceFromPath used Lstat to get information about a device file, but Lstat will not follow symlinks; stat will. The use case could be using a tool like udev which will create symlinks to devices and wishing to attach one of these devices to a container.
It looks like DeviceFromPath is coming from runc, which does use Lstat instead of Stat but I didn't find any discussions as to why not resolve symlinks: opencontainers/runc/libcontainer/devices/device_unix.go
Docker is resolving symlinks themselves before calling this function:
moby/moby/oci/devices_linux.go
which they did after some previous discussions in these issues/PRs:

https://github.com/moby/moby/issues/13840
https://github.com/moby/moby/pull/20684
https://github.com/moby/moby/issues/13706
https://github.com/moby/moby/pull/22272

Fixes #7006
Signed-off-by: Gavin Inglis<EMAIL_ADDRESS>

/cc @cpuguy83 @thaJeztah
saw you folks had some work on related issues in containerd and docker, PTAL

As this is a change in behavior, and other project may be using the existing functions, I wonder if (for the containerd library code), it should be opt-in to follow symlinks (also see https://github.com/moby/moby/pull/20684#issuecomment-190140176, which suggested at the time to have a user-facing option as well); this could be a separate (WithDevicesXXX) function, and an option added to getDevices() (even more because that non-exported function is shared between multiple exported functions. (thinking of, e.g., if that function would ever be used on untrusted paths, e.g. a path in the container's filesystem, that could lead to a malicious image controlling what device would be mounted).
Whatever decision we get to, at least this behavior should be included in the function documentation so that consumers of those functions are aware of it.
Happy to hear other's thoughts on that though.

As this is a change in behavior, and other project may be using the existing functions, I wonder if (for the containerd library code), it should be opt-in to follow symlinks

... and an option added to getDevices() (even more because that non-exported function is shared between multiple exported functions. (thinking of, e.g., if that function would ever be used on untrusted paths, e.g. a path in the container's filesystem, that could lead to a malicious image controlling what device would be mounted).
Whatever decision we get to, at least this behavior should be included in the function documentation so that consumers of those functions are aware of it.

@thaJeztah Yea I agree that following device symlinks should be optional, I anticipated some security concerns, hence why I opened a PR for some feedback :)  I'll rework this PR to provide an option WithDevicesSymlinked or similar so that following symlinks is opt-in

The tests are all green finally!
@samuelkarp Can you take a look again?


chore: Set imap-codec version to 0.9.1.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
8953

Relevant Lines:
9668

💛  - Coveralls

Thanks, cargo-semver-checks!


Use openjdk for windows performance tests

Because we don't maintain Oracle Java 8 on Windows anymore.

@bot-gradle test and merge

Your PR is queued. See the queue page for details.

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


date support

What are the current plans for supporting date (and time) entry? I've noticed there's a "feature/datepicker" branch - is this still being managed? It seems to lag a bit behind master.
I might consider working on this myself. If so, would the feature/datepicker branch be a good start, or should I start from scratch?

Hi Iivo, Do you have an example (JSON schema & form) for the date picker implementation?

@ravivit9 it is used in the demo, http://textalk.github.io/angular-schema-form/examples/bootstrap-example.html, select "kitchen sink" :-)


site.cfg: [ALL] or [DEFAULT]?

Looking at the current master, site.cfg uses the name [ALL] for common parameters. Meanwhile, NumPy has been using [DEFAULT] as far back as 1.0.3.
Considering how the build system for both is intertwined and both site.cfg.example files use the same comment for this sections, this is quite confusing - could I please request a clarification be included in the comment?

It's actually been a while since we updated this file... I am not sure how relevant is the information here. NumPy's one got some recent changes on the other hand.

Good point, thanks @jaskij. As explained at https://github.com/numpy/numpy/blob/main/numpy/distutils/system_info.py#L31, ALL should not be used. gh-14759 changes it to DEFAULT.


Terminal.app character covered by cursor is invisible

Using terminal.app on OS X with the nord theme and vim with the nord color scheme. The character under the cursor cannot be seen. It works correctly in iTerm2 though.

I'll create the issue in the terminal.app repository because it's not vim specific.

@laxman20
https://github.com/altercation/solarized/issues/82#issuecomment-317255798
Just change the cursor color in the settings. For example, you can reduce the opacity, as I linked above.
Cheers

Same issue here: https://github.com/altercation/solarized/issues/82#issuecomment-317255798
Maybe use a different terminal (like iTerm2 :eyes:)


UIStackView

ListViewModel should be compatible with stack views.
UIScrollViews(#18) could then embed resulting stack view instead of manually create constraints

Normal reload has been implemented.
Partial updates still missing


Don't Want Dates Specified Within a Range

I see that you're using the range to automatically select two dates (I'd like to use the multiple calendar view). However, is there a way to pick a range of MONTHS that the calendar can choose dates within, and WITHOUT any dates selected by default?
What I want to do is to have people specify start & end dates within a specific number of months without any dates already populated. Any way to do this?
Thanks in advance for answering it!

Hello @WindyWong, we are no longer support date-range-picker, because we made new picker which can be find here https://github.com/monterail/angular-mighty-datepicker
I hope you will find after and before attributes helpfull.


GH951: Added namespace docs for Cake.Core.Tooling.

Closes #951

LGTM! I will merge once CI passes.


Confusing //console.log comments in code base

Hello @techniq I've been exploring the code base and find some debug comments like this:
// console.log('clicked:menuItems', e.target, menuEl);
https://github.com/techniq/svelte-ux/blob/f419435edbf4f0c004896e87e92b9f7ba770bcc9/packages/svelte-ux/src/lib/components/Menu.svelte#L51
If someone just forgot to remove it, I would be happy to contribute to remove similar comments :)

Hey @baterson 👋.  There is definitely some cleanup that can be done with console.log.
One thing I plan to do is leverage Logger which lets you opt into these messages by component/level at runtime via localStorage.logger = '...'.  I think I left many of these as breadcrumbs to add (see issue).  If you would want to start that process of using Logger that would be awesome!
Using SelectField as a reference should help, but you basically just create an instance for the component...
const logger = new Logger('Menu');

then replace console.log() with logger.debug(), logger.info(), logger.error(), etc.

Closed via https://github.com/techniq/svelte-ux/pull/452


Add user pod egress

Closes #413
This is a continuation of this PR: https://github.com/SwissDataScienceCenter/renku/pull/1541 which was posted on the renku repo but it should have been here.
I retested the proposed changes in the code to make sure it works. Currently this is in place at tasko.dev.renku.ch.
As expected once the policy is active, the user cannot even get a 401 (Unauthorized) response from any of the internal kubernetes pods/components that are in the same node/cluster. However egress from the user pod to the internet and to DNS services (both inside and outside of the cluster) is not restricted at all.

@ableuler I think I addressed all your comments from the first PR in the renku repo:

specify further that only access from the user pod is allowed to the pods with labels app: jupyterhub and component: hub rather than just app: jupyterhub
make a top level switch for egress in the values.yaml file

On the topic of the egress network policy switch in the values.yaml file for the renku-notebooks chart an alternative may be something like. I am not sure if this is more in line with what you intended.
NetworkPolicy:
  jupyterhub:
    singleuser:
      restrictUserPodEgress: false

There seem to be unresolved views on what the default setting for the network policy should be. Let's go for the non-breaking change and merge the PR as it is - we can always decide activate it per default later.


general Sparse

Rewrite of the previously done generalization with the new API

Ok, I wonder if we should completely drop the nt argment and remove any hard-coded knowledge of time in SparseFunctions? This was only added to aid the seismic-specific concept of sources and receivers, but does not really generalise as a concept. Instead we could/should allow explicit dimensions/shape arguments just like Function objects and use the seismic Source/Receiver classes to insert the time-specific data layout and behaviour. Would that still work for .inject(...) expressions?

I guess that would work, but needs quite the work. This PR is only here to remove an odd behavior while I think of a better way of doing thing.

Fair enough, In that case let's merge this and file an issue for true generalisation of the sparse-point interface. I'm updating/merging this now and will file the issue.

Ok, going in next, once travis is happy.


Feat/multiclass training

Description
Sets up a basic framework for training the multiclass segmentation model. This is not fully functional yet, will be completed when the rover is fully constructed and sample images can be taken.
Ignore anything not in multiclass_segmentation when reviewing, I polluted my branch with commits that were already in master somehow.
This PR does the following:

Copies over python training files from IGVC
Adds documentation for multiclass_segmentation
Adds training instructions for

Google Colab
Jupyter notebook
Local runs

Fixes #48
Testing steps

Read over the documentation
Read over the training instructions

Expectation: No typos/formatting errors
Self Checklist

[x] I have formatted my code using ament_uncrustify --reformat
[x] I have tested that the new behavior works

Reformatting to get rid of excess commits, will make a new PR from a separate clean branch


Improve layered texture preview

Improves the layered texture previewer by making the display similar to the one used by non-layered images.

Original
PR

Future work:

Move the layer selection SpinBox above the image, add a mipmap selector and a bilinear filter toggle,
Ensure the displayed mipmap count and memory size are accurate (Currently it's assuming that the whole mip chain is used).

(Currently it's assuming that the whole mip chain is used).

This is almost always the case in practice (especially due to https://github.com/godotengine/godot/issues/63934), so I don't think this is a dealbreaker. Also, in the worst-case scenario (texture only has 1 mipmap but full mipmap chain is assumed), the size estimation is only off by ~8.3% for a 2D texture.

Should be fixed now. I've also moved the GUI updates to a separate function, so it only updates when the texture is changed.

Fixed, NoiseTexture3D didn't use to override the has_mipmaps virtual method.

Thanks!


refactor(modp2p): decouple Bitswap

Decouples Bitswap into Client and Server. This is necessary to provide new custom options to the Client. In particular, this brings client.WithoutDuplicatedBlockStats() option to the table as nice little optimization for LNs. It disables one metrics we don't care much about atm, but avoids expensive Has call to DB as profiles show.

Codecov Report
Attention: 29 lines in your changes are missing coverage. Please review.

Comparison is base (fa6a137) 51.13% compared to head (835640f) 50.79%.

Files
Patch %
Lines

nodebuilder/p2p/bitswap.go
0.00%
29 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2962      +/-   ##
==========================================
- Coverage   51.13%   50.79%   -0.35%
==========================================
  Files         168      168
  Lines       11000    11021      +21
==========================================
- Hits         5625     5598      -27
- Misses       4873     4917      +44
- Partials      502      506       +4

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


Register 0.*

@JuliaRegistrator register

Registration pull request created: JuliaRegistries/General/29739
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.1.0 -m "<description of version>" 470a87c23ef3ebe82a5db8f0593510457344c524
git push origin v0.1.0

@frankschae Let's see what our current status is

@JuliaRegistrator register

Registration pull request updated: JuliaRegistries/General/29739
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.1.0 -m "<description of version>" 0ac6e507036ab8c3d597ce2f7907ac8041a3423d
git push origin v0.1.0

@JuliaRegistrator register

Registration pull request updated: JuliaRegistries/General/29739
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.1.0 -m "<description of version>" b8e642568e2c1068c3789c52a025a34914091cbb
git push origin v0.1.0

@JuliaRegistrator register

Registration pull request updated: JuliaRegistries/General/29739
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.1.0 -m "<description of version>" b1fe25d80a0ccbe56cbedef7ea09e11bf32ae9e3
git push origin v0.1.0

@JuliaRegistrator register

Registration pull request created: JuliaRegistries/General/32286
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.2.0 -m "<description of version>" 2fd51e83237904f0e921d499aa443fee1eae1895
git push origin v0.2.0


Deleting a user is very confusing

When you try to delete a user in the admin panel you will get this message:

that indicate that you will be given a second option... no, it will delete the user!

IMHO, a more traditional 'are you sure' would be better

fixed in v1.1.7


crash when called method like 'vs_method:a:'

The method write by Objective-C like below:
@interface UIAlertView(category)

(void)vs_method:(id)param1 a:(id)param2;
@end
And this method write by JS should like below:
vs_method_a(param1,param2)

At runtime,this js method will cover to 'vs:method: a:' which is error.

https://github.com/bang590/JSPatch/wiki/Base-usage#2-invoking-method

Category怎么转，没有看到例子，求大侠帮忙看看这个怎么装
@implementation UIViewController (FDFullscreenPopGesturePrivate)
(void)fd_viewWillAppear:(BOOL)animated
{
// Forward to primary implementation.
[self fd_viewWillAppear:animated];
if (self.fd_willAppearInjectBlock) {
self.fd_willAppearInjectBlock(self, YES);
}
}


Do not just dump jars in .local/lib

It seems like currently the install script just unpacks the archive in .local. Effectively, this dumps all jars in .local/lib. I think this is a bad idea for multiple reasons:

Without any kind of namespacing, there is a risk of overwriting other files in .local/lib.
Other jars in .local/lib could end up on our classpath.
It is difficult to figure out which files are installed by LF, and therefore it is difficult to uninstall.
We cannot easily remove old contents before installing an updated version. This can create all kind of weird side-effects.

A more robust approach would be to unpack the archive in .local/share/lf-cli (or something along those lines) and add symbolic links, e.g., from ./local/bin/lfc to ./local/share/lf-cli/bin/lfc. Then we can easily delete the .local/share/lf-cli before (re)installing.

Right, this is exactly what I was thinking. Initially, I thought that a solution would be to change the directory structure in the produced archive (i.e., have bin and lib/lingua-franca/... instead of just bin and lib), but looking at the Gradle docs, this doesn't seem straightforward. Installing in a share directory and creating symlinks, on the other hands, is easy to do. I'll go ahead and implement this.