Small Updates to Guide/Teku

What

Fixed typo in Teku docs (Lodestar --> Teku)
Fixed checkpoint sync URL for Teku
Added comment on Teku permissions and why I recommend to change the user in the compose file
Removed JWT secret creation from Configure Server section (this is addressed during EL setup)
Changed folder structure in the JWT partial to align with docs for potential future use

Thanks @CVJoint !
The text in the PR is a template to be filled.
Can you specify in the PR description the changes and reasons?

Removed JWT secret creation from Configure Server section (this is addressed during EL setup)

The JWT secret should be part of Step 1. Configure Server and not EL setup

Changed folder structure in the JWT partial to align with docs for potential future use

This change breaks the Interactive Guide folder structure.

Closing in favor of:  #384


Division by zero in rasterizer_canvas_gles3.cpp

Godot version:
3.2 beta 1
OS/device including version:
Ubuntu 19.10
Issue description:
drivers/gles3/rasterizer_canvas_gles3.cpp:998:52: runtime error: division by zero
drivers/gles3/rasterizer_canvas_gles3.cpp:998:30: runtime error: division by zero
drivers/gles3/rasterizer_canvas_gles3.cpp:824:52: runtime error: division by zero
drivers/gles3/rasterizer_canvas_gles3.cpp:824:30: runtime error: division by zero

One of possible solutions
diff --git a/drivers/gles3/rasterizer_canvas_gles3.cpp b/drivers/gles3/rasterizer_canvas_gles3.cpp
index edffe852a2..f9acb184d3 100644
--- a/drivers/gles3/rasterizer_canvas_gles3.cpp
+++ b/drivers/gles3/rasterizer_canvas_gles3.cpp
@@ -820,7 +820,7 @@ void RasterizerCanvasGLES3::_canvas_item_render_commands(Item *p_item, Item *cur

                                RasterizerStorageGLES3::Texture *texture = _bind_canvas_texture(mesh->texture, mesh->normal_map);

-                               if (texture) {
+                               if (texture && texture->width != 0 && texture->height != 0) {
                                        Size2 texpixel_size(1.0 / texture->width, 1.0 / texture->height);
                                        state.canvas_shader.set_uniform(CanvasShaderGLES3::COLOR_TEXPIXEL_SIZE, texpixel_size);
                                }
@@ -871,7 +871,7 @@ void RasterizerCanvasGLES3::_canvas_item_render_commands(Item *p_item, Item *cur
                                state.using_texture_rect = true;
                                _set_texture_rect_mode(false);

-                               if (texture) {
+                               if (texture && texture->width != 0 && texture->height != 0) {
                                        Size2 texpixel_size(1.0 / texture->width, 1.0 / texture->height);
                                        state.canvas_shader.set_uniform(CanvasShaderGLES3::COLOR_TEXPIXEL_SIZE, texpixel_size);
                                }
@@ -994,7 +994,7 @@ void RasterizerCanvasGLES3::_canvas_item_render_commands(Item *p_item, Item *cur

                                RasterizerStorageGLES3::Texture *texture = _bind_canvas_texture(particles_cmd->texture, particles_cmd->normal_map);

-                               if (texture) {
+                               if (texture && texture->width != 0 && texture->height != 0) {
                                        Size2 texpixel_size(1.0 / texture->width, 1.0 / texture->height);
                                        state.canvas_shader.set_uniform(CanvasShaderGLES3::COLOR_TEXPIXEL_SIZE, texpixel_size);
                                } else {

Steps to reproduce:
To get this error try to compile Godot with ubsan sanitizer(GCC or LLVM) or compile Godot from this branch(find more errors but tgis needs LLVM 9 or GCC 9) - https://github.com/qarmin/godot/tree/bb

Read Project README - https://github.com/qarmin/The-worst-Godot-test-project#the-worst-godot-test-project
Run Project

Minimal reproduction project:
https://github.com/qarmin/The-worst-Godot-test-project/archive/60944c7930279db20747b8d1835e1687188a10ab.zip

This is very likely fixed in master. Not sure if it's worth keeping it open, as the issue doesn't look critical.

In master it's fixed by removing the GLES3 backend for now :)
But I think it would still be relevant to fix in 3.2, though I'm not sure that adding those checks here wouldn't impact performance. CC @clayjohn @lawnjelly

These divisions are from the legacy renderer, and from a quick look may not be used in the batching renderer. I had noticed them, I'm presuming because they don't occur in practice there must be earlier checks that preclude the possibility of textures with zero size.
For instance, the form is as follows:
if (texture) {
	Size2 texpixel_size(1.0 / texture->width, 1.0 / texture->height);
	state.canvas_shader.set_uniform(CanvasShaderGLES2::COLOR_TEXPIXEL_SIZE, texpixel_size);
}

So perhaps texture is never set with zero size textures.
Having never had a report of this happen in practice (this has been in the renderer for years), personally I'd be inclined to leave as is and keep an eye, unless these warnings need to be disabled, in which case pragmas might be more suited. The checks will have some small slow down for the legacy renderer, and these changes do look as though they would literally stop a warning and nothing more.


Allow download of extension from a url and not tie to github release

Current version of code is dependent on a github release, we want to extend it to fetch an extension from a url.


Update calibration and mixin tests to work with BackendV2

Summary
This change continues the work started in #843 to make qiskit-experiments compatible with BackendV2. It updates the spectrscopy, fine frequency and amplitude, and T1 tests to use BackendV2 rather than BackendV1. Additionally it adds support for querying BackendV2 for measurement frequencies.
Details and comments
The main changes are:

Use backend.defaults() to look up measure_freq_est for BackendV2 as well as BackendV1.
Improve the error message when measure_freq_est can not be accessed for ResonatorSpectroscopy
Add T1 to BackendData because it is needed by RestlessMixin.
Switch MockRestlessBackend and MockIQBackend to BackendV2. This
conversion was done by making a FakeOpenPulse2QV2 BackendV2 shim for
the BackendV1 FakeOpenPulse2Q in terra.
Replace modification of basis_gates with modification of
backend.target in relevant tests.
Remove some unnecessary code (assignments to timing_constraints and
a test class with no tests).

There are a few of inelegant changes in this PR:

Usage of backend.defaults() was restored for accessing the measurement frequencies. This is an IBM specific method not in the BackendV1 or BackendV2 base classes. It is only used for querying meas_freq_est. backend.defaults() is what we had been using before #843, so this is just putting things  back the way we were. We might decide to get this data a different way that does not use defaults() but at the moment that is the only way to get the measurement frequencies, so we would need to the IBM backends to provide these values in the properties, for instance.
defaults() was hacked into the fake BackendV2 backends for the ResonatorSpectroscopy tests. The fake BackendV1 backends in terra do provide it but not the BackendV2 variants. One nice thing about moving away from defaults() (previous point) is that we could remove this hack.
There is no BackendV2 version of FakeOpenPulse2Q, so one was hacked out of the BackendV1 version. Perhaps we could get terra to include a BackendV2 version of FakeOpenPulse2Q in the future.

@nkanazawa1989 Could you review this again? I have scaled back the use of Backend.defaults() to only the necessary cases (ResonatorSpectroscopy), so I think there is less to debate in this PR. To address that case, I think the discussion and work should proceed from the issue you opened (https://github.com/Qiskit/qiskit-ibm-provider/issues/387) so we don't need to do more here.
The one remaining ugly part of this PR is the way I define FakeOpenPulse2QV2. Ideally, terra would provide a V2 version of FakeOpenPulse2Q. We started discussing that back in https://github.com/Qiskit/qiskit-terra/issues/8712. I would say that that discussion can proceed there and we can live with this hacked version for now.
Note that this PR should address the problem described in #1099.

I updated the PR description to match the current status of the PR.

I should add a release note for the meas_freq change since it is now a bug fix. I think the rest of the changes are internal.


Enumerate search result index from 1

https://linear.app/cardstack/issue/CS-7106/enumerate-ai-assistant-search-with-1-based-index

@tintinthong I merged upstream, the host errors that exist are real errors related to this update


Font selection

Icon Request

Icon name:  Font
Tags of this icon:  font-select
Use case:  Some editors like MS Word use a dropdown for font name (and size) selection. However, for a minimal design of toolbar it would be good to have an icon representing font selection.  Something like the 'A' in the font-color icon would be ideal.
Screenshots of similar icons:

@VanquishedWombat
Thanks for the suggestion. Now you can get those icons in version v3.2.0. I also added some other related Icons:
https://remixicon.com/icon/font-family
https://remixicon.com/icon/font-sans-serif
https://remixicon.com/icon/font-sans
https://remixicon.com/icon/font-mono


Use outside of rails app

Do you have any plans of providing instructions on how to use this for other languages or if there is a CDN link to easily added this to a website like picocss?

Hey, not soon. At this point, the library is very dependent on Rails, but I would be happy to see the same idea implemented in other ecosystems.

Noted and thank you for your response.


Sorted and grouped Fleet Boss Battle list

Hi,
it would be extremely cool if the fleet boss battle tool list was not only sortable but also grouped and sorted by the possible crew-traits.
Thanks for this really helpful tool.
bye
DGMA

Closing this issue now, as the ability to group by traits was added last year. Thanks for the suggestion!


Update PropertyFactory.php

This PR corrects the FakerMap boolean method name.
FakerMap::bool() method doesn't exist as per the current implementation, therefore any bool types resolve to null at the moment.

https://github.com/Anteris-Dev/data-transfer-object-factory has released v1 with support for POPO's. The API should be compatible.


Propose moving the examples folder to a new repo

There are a seemingly infinite amount of possibilities when creating a pipeline. The examples folder is an attempt to capture some of the possibilities. As the project grows the example should grow quite a bit more.
I propose creating a "langstream-cookbook" repo in the org and move the contents of the examples folder over to it. That will make contributing a little easier because it's not in the main project.

I was thinking the same thing, @ddieruf. I am working on examples and blog posts with examples and need a good place to store those. I think we need to keep some simple examples of how to work with the primitives and a few end-to-end examples in the main repo, but a separate repo for use-case-focused and complex examples makes sense to me.

We could also have regular (once-per-day?) checks that those examples run correctly.
Currently it would be slow and hard to write tests that run on every PR for all the examples.


desktop application have some visualisation problem

Expected Behavior
When you set some parameters, the choices has to be displayed.
Actual Behavior
The choices aren't displayed at least on Firefox 52.8.1 running on Devuan Linux (Ascii) 64 bit
Specifications

Version: Latest 0.6.1
Platform: Devuan Linux (Ascii) 64 bit
Environment:  Firefox 52.8.1

Please feel free to ask more about the environment

@onekk can you provide a simple example? there's nothing to review.

Sorry I can't, I'm not using OpenJSCAD anymore.
Regards


Give non default initial capacity

nsize0 is the number of neighbors each member of this.nodes is allowed, so they're not related like this
better default would be 100 or 1000

This was a red herring.


[Monitor] Refine the condition pattern.

This checklist is used to make sure that common guidelines for a pull request are followed.

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your PR is merged into master branch, a new PR will be created to update src/index.json automatically.
The precondition is to put your code inside this repo and upgrade the version in the PR but do not modify src/index.json.

If this PR is for a new extension or change to an existing extension, use the following to try out the changes in this PR:
docker run -it microsoft/azure-cli:latest
export EXT=<NAME>
pip install --upgrade --target ~/.azure/cliextensions/$EXT "git+https://github.com/MyronFanQiu/azure-cli-extensions.git@refine-schedule-query#subdirectory=src/$EXT&egg=$EXT"

Monitor


Add docs to install and configure Self Signed Certificates

Is some content missing, wrong or not clear?
Ref - https://openmetadata.slack.com/archives/C02B6955S4S/p1699562445794379

Closing this issue. We already have the docs updated here -

https://docs.open-metadata.org/v1.2.x/deployment/security/enable-ssl/openmetadata-server
https://docs.open-metadata.org/v1.2.x/deployment/security/enable-ssl/airflow


API call errors are ignored

Describe the bug
The Monaco tool can issue HTTP API requests that fail, but this is invisible to the user unless response logging is enabled AND the logs are inspected/grepped for error response codes.
This can be reliably reproduced by using an access token with insufficient scope; there are probably other ways in which it can occur.
How to reproduce
Steps to reproduce the behavior:

create a resource (dashboards in this case) using a token that has Write permission only and log requests and responses
observe that the response log contains a 403 Forbidden response but the CLI reports that the deployment "finished without errors"

MONACO_REQUEST_LOG="./request-log.txt" \
MONACO_RESPONSE_LOG="./response-log.txt" \
PREPROD_DT_TOKEN="redacted" \
monaco --verbose --environments=../environments.yaml --specific-environment=preproduction --project create .

The sample 'create' project contained configuration for a single dashboard.
Expected behavior
Monaco should fail fast with a useful ERROR-level message rather than continue with the deployment:
ERROR API call GET /api/config/v1/dashboards failed (403 Forbidden)
ERROR Troubleshooting steps:
ERROR    - is the target server (jaz94794.live.dynatrace.com) available?
ERROR    - does the access token include the correct scope for this resource?

Log output
Combined request and response log snippets for the request:
Request-ID: e8d2803d-1204-43b3-8c8d-fd89b1ac4afa
GET /api/config/v1/dashboards HTTP/1.1
Host: jaz94794.live.dynatrace.com
User-Agent: Dynatrace Monitoring as Code/1.6.0 windows amd64
Authorization: Api-Token **redacted**
Content-Type: application/json
Accept-Encoding: gzip

Request-ID: e8d2803d-1204-43b3-8c8d-fd89b1ac4afa
HTTP/1.1 403 Forbidden
Cache-Control: no-store, no-cache
Content-Type: application/json;charset=utf-8
Date: Tue, 09 Nov 2021 22:41:17 GMT
Pragma: no-cache
Server: ruxit server
Server-Timing: dtRpid;desc="110332581", dtSInfo;desc="0"
Set-Cookie: dtCookie=v_4_srv_48_sn_299406B25E2D2052F8594C2E4AB060CE_perc_100000_ol_0_mul_1_app-3A1bc3b8a52b571c99_1_rcs-3Acss_0; Path=/; Domain=.dynatrace.com; Secure
Strict-Transport-Security: max-age=31536000;includeSubDomains
Vary: Accept-Encoding
X-Oneagent-Js-Injection: true
X-Robots-Tag: noindex

The response log shows that a 403 Forbidden response was received, but the output from Monaco reports that it "finished without errors":
You are currently using the old CLI structure which will be used by
default until monaco version 2.0.0

Check out the beta of the new CLI by adding the environment variable
  "NEW_CLI".

We can't wait for your feedback.

2021-11-10 11:41:16 DEBUG request log activated at C:\dev\temp\monaco\issue-4-invisible-errors\issue4-request-log.txt
2021-11-10 11:41:16 DEBUG response log activated at C:\dev\temp\monaco\issue-4-invisible-errors\issue4-response-log.txt
2021-11-10 11:41:16 INFO  Dynatrace Monitoring as Code v1.6.0
2021-11-10 11:41:16 DEBUG Reading projects...
2021-11-10 11:41:16 DEBUG   project - create
2021-11-10 11:41:16 DEBUG Processing file: create\dashboard\dashboard.yaml
2021-11-10 11:41:16 DEBUG               create\dashboard\DashboardOne
2021-11-10 11:41:16 DEBUG Processing file: create\dashboard\dashboard.yaml
2021-11-10 11:41:16 DEBUG               create\dashboard\DashboardOne
2021-11-10 11:41:16 DEBUG Sorting projects...
2021-11-10 11:41:16 INFO  Executing projects in this order:
2021-11-10 11:41:16 INFO        1: create (1 configs)
2021-11-10 11:41:16 INFO  Processing environment preproduction...
2021-11-10 11:41:16 INFO        Processing project create...
2021-11-10 11:41:16 DEBUG               Deploying configs in this order:
2021-11-10 11:41:16 DEBUG                       1: create\dashboard\dashboard-one.json
2021-11-10 11:41:16 DEBUG               Applying config `Dashboard One (Monaco Test)` using create\dashboard\dashboard-one.json
2021-11-10 11:41:17 DEBUG                       Created new object for Dashboard One (Monaco Test) (20789cf8-0b69-49a1-af3f-81a679c9a660)
2021-11-10 11:41:17 INFO  Deployment summary:
2021-11-10 11:41:17 INFO  Deployment finished without errors
2021-11-10 11:41:17 INFO  There is no delete file delete.yaml found in delete.yaml. Skipping delete config.

In the case where the resource already existed, a side-effect of this behaviour is that a duplicate resource is created instead of updating the existing resource, which is unlikely to be the intended outcome.
Environment (please complete the following information):

OS: Windows 10
Tool version: 1.6.0

@kdgrant thank you for submitting this issue! :rocket: :medal_sports:
This is indeed an interesting one. I just had a quick look:
In monaco we usually check the response of a request using the following code to determine whether a request was successful: https://github.com/dynatrace-oss/dynatrace-monitoring-as-code/blob/3186ff5f01f64b873aa947ddf7dd021dbb713545/pkg/rest/config_upload.go#L380
However, if the request fails when doing the GET (all) request, we sadly miss the check:
https://github.com/dynatrace-oss/dynatrace-monitoring-as-code/blob/3186ff5f01f64b873aa947ddf7dd021dbb713545/pkg/rest/config_upload.go#L217
This check needs to be added here.


Added option to have a bootstrap command in autotools based schemas.

Includes a schema for projects using ./autogen.sh (Most common of the bootstrap commands as far as I know.) Discussion: #428

@Cyberunner23 thanks for update, just for your information I'm not receiving notifications in such cases, you have to do it manually, see http://0.readthedocs.io/en/latest/git.html#notify


Restructure Authorization Roles so that they can be defined

As part of modularising this code so that it can be consumed by multiple CSPs or systems, the authorization needs to be updated so that  the roles can be specified for the relevant consuming system.

Complete.


calculate serialize size before serialization and serialize to pre-allocated memory

I am working on inter process communication base on shared memory and Unix Socket Domain recently, I plan to use glaze Beve to serialize my data.
I want calculate the object serialization size then alloc shared memory and write serialization data into it.
Is there some existing solution to do this. thanks.

Serializing to a pre-allocated buffer versus a dynamic buffer like std::string typically has less than a 5% difference in performance. Furthermore, in inter-process communication you should typically reuse your serialization buffer. Glaze uses a doubling of the buffer capacity if growth is needed, so it is rare that you will have new allocations if you reuse your serialization buffer.
Is there a reason why you can't reuse a std::string buffer?
A function to calculate the serialization size could be added, but it would need to iterate through your structures. This would actually add more overhead than simply reusing the std::string buffer. So you might have a tiny performance boost for the very first message you send, but subsequent messages would run slower needing to compute the size beforehand.

Before if I use string I need to serialize to std::string then write it to my shared memory, there is a extra copy.

I see. I'll keep this issue alive to add the ability to compute the space required before serialization.
I typically use shared libraries which allow me to share the std::string directly across processes, which allows dynamic buffer sharing and avoids the extra copy. But, I can see how if you are wanting to connect services in other programming languages it is easier to not have to deal with dynamic memory and just compute the size beforehand.

thanks


Add "checkmate", a tool for the solver

Scaffolds "checkmate", a tool for debugging the solver.
checkmate exposes a schema for collecting metadata during solving. So far only metadata during unification is collected, but in the future more will be added. This metadata is dumped as a JSON blob that can then be consumed by the checkmate UI. The UI is scaffolded as a React app in this patch, but wholly unimplemented so far.
Setting ROC_CHECKMATE=1 will dump a checkmate blob after running load. This makes it amenable to dumping blobs through both the CLI and tests that pass through roc_load.
checkmate is only available in debug builds, and no-ops if ROC_CHECKMATE=1 is not set.
This is far from complete but I'd like to get this merge to avoid conflicts.

given that this adds macro expansion in a lot of places, does this impact compile times significantly?

given that this adds macro expansion in a lot of places, does this impact compile times significantly?

No, I cannot measure a difference. All the macros are small and localized too which helps.


Reactive State Engine problem using TA module

Hi, I am using latest version dolphinDB 2.00.1.
I want to use Reactive State Engine in my project for Technical Analysis. But when I try to use it with your great TA module it does not work. The only way to use the TA module is to define them as Custom State Function.
As per my opinion the Reactive State Engine is mainly used for getting realtime Technical Analysis Calculations. So in my humble opinion you should support TA module with Reactive State Engine or at least provide Custom State Function definition for them. It would be very very helpful !
Please see this thread for detailed information. https://ask.dolphindb.net/question/890
Thank you and Reply Soon !

The TA module already supports the Reactive State Engine.


Cannot find entry file Examples/Movies/MoviesApp.js in any of the roots

only  MoviesApp.ios.js  MoviesApp.android.js

Hey @vincentqiu, the Movies App should not contain MoviesApp.js and no one should depend on it.
Can you please provide the exact steps to get this error?

Hi there! This issue is being closed because it has been inactive for a while.
But don't worry, it will live on with ProductPains! Check out its new home: https://productpains.com/post/react-native/cannot-find-entry-file-examplesmoviesmoviesappjs-in-any-of-the-roots
ProductPains helps the community prioritize the most important issues thanks to its voting feature.
It is easy to use - just login with GitHub.
Also, if this issue is a bug, please consider sending a PR with a fix. We rely on the community to provide
bugfixes as the core team is focused on performance.


[AutoPR graphrbac/data-plane] [graphrbac]: fix bugs in permission grant apis

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

(message created by the CI based on PR content)
Installation instruction
Package azure-graphrbac
You can install the package azure-graphrbac of this PR using the following command:
pip install "git+https://github.com/Azure/azure-sdk-for-python@restapi_auto_5181#egg=azure-graphrbac&subdirectory=azure-graphrbac"
You can build a wheel to distribute for test using the following command:
pip wheel --no-deps "git+https://github.com/Azure/azure-sdk-for-python@restapi_auto_5181#egg=azure-graphrbac&subdirectory=azure-graphrbac"
If you have a local clone of this repository, you can also do:

git checkout restapi_auto_5181
pip install -e ./azure-graphrbac

Or build a wheel file to distribute for testing:

git checkout restapi_auto_5181
pip wheel --no-deps ./azure-graphrbac

Direct download
Your files can be directly downloaded here:

azure_graphrbac-0.52.0-py2.py3-none-any.whl
azure-graphrbac-0.52.0.zip

Codecov Report

Merging #4339 into restapi_auto_graphrbac/data-plane will decrease coverage by <.01%.
The diff coverage is 18.18%.

@@                          Coverage Diff                          @@
##           restapi_auto_graphrbac/data-plane    #4339      +/-   ##
=====================================================================
- Coverage                              54.21%   54.21%   -0.01%
=====================================================================
  Files                                  10106    10103       -3
  Lines                                 205576   205597      +21
=====================================================================
+ Hits                                  111457   111460       +3
- Misses                                 94119    94137      +18

Impacted Files
Coverage Δ

...re-graphrbac/azure/graphrbac/models/permissions.py
28.57% <0%> (-2.2%)
:arrow_down:

azure-graphrbac/azure/graphrbac/models/__init__.py
100% <100%> (ø)
:arrow_up:

...ac/azure/graphrbac/operations/oauth2_operations.py
24.65% <5.71%> (-3.92%)
:arrow_down:

...raphrbac/azure/graphrbac/models/permissions_py3.py
28.57% <50%> (-2.2%)
:arrow_down:

...phrbac/azure/graphrbac/models/permissions_paged.py
80% <80%> (ø)

...-luis/azure/cognitiveservices/language/__init__.py

...suggest/azure/cognitiveservices/search/__init__.py

...-language-luis/azure/cognitiveservices/__init__.py

azure-mgmt-advisor/azure/mgmt/__init__.py

Continue to review full report at Codecov.

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

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


Implement Linode detail networking tab (view only)

This only entails viewing the information here. Note that feedback from @caker suggests we do not hide any IPs but instead just show the full list at all times.

Updated screenshot:


Fail to add one entity when the value of the 'PartitionKey/RowKey' property is '#'

Storage Explorer Version: 1.23.0
Build Number: 20220223.4
Branch: rel/1.23.0
Platform/OS: Windows 10/Linux Ubuntu 20.04/MacOS Monterey 12.2.1(MacBook Air M1)
Architecture: ia32\x64
How Found: Exploratory testing
Regression From: Not a regression
Steps to Reproduce

Expand one storage account -> Tables.
Create a table -> Click 'Add'.
Type "#" in the value field of the 'PartitionKey/RowKey' property -> Click 'Insert'.
Check whether succeeds to add the entity.

Expected Experience
Succeed to add the entity.
Actual Experience
Fail to add the entity, an error dialog pops up.

Additional Context
This issue doesn't reproduce for emulator tables.

Let's make sure this is by design/an expected server error. And for it not repro'ing with emulator, let's confirm that's a bug on their end if this is by design.

As explained by the Azure documentation, the "#" character is not allowed for keys. Therefore, this is by design in the service and a bug in the emulator.
I've opened https://github.com/Azure/Azurite/issues/1371 against Azurite.

This is resolved as of Azurite 3.17.1.

Will verify this bug when the bug 5721 got fixed.

Verified this issue on the build main/20220516.1 with Azurite 3.17.1. Fixed.
Fail to add one entity when the value of the 'PartitionKey/RowKey' property is '#' in one emulator table.


Create colorado.txt

add University of Colorado, which uses colorado.edu

@ZacRLindsey I am sorry, the domain colorado.edu is removed from our trusted domains list because it was abused in the past. If you are the student of this school, please enroll to GitHub Student Developer Pack at https://education.github.com/discount_requests/application. Then apply for JetBrains educational subscription with your GitHub account (GitHub tab at https://www.jetbrains.com/shop/eform/students).


doc: Fix the "global rejection events" links

It appears that the previously-relative "global rejection events" links on the Promise.onPossiblyUnhandledRejection and Promise.onUnhandledRejectionHandled pages were overlooked when the API documentation was split into separate pages in 94fd4fe6.  This PR fixes the links to point to the correct page.
Best,
Kevin

Thank you!

My pleasure.  Thanks for the quick merge!


File Permissions not Preserved from Cache

What version of Turbrepo are you using?
1.0.1
Describe the Bug
Package files recovered from cache does not preserve the permissions they were originally created with, but are all set to 755.
Expected Behavior
Expected behavior would be for turbo to preserve the permission bits from the files originally generated.
To Reproduce
Run build twice in your turbo project and all files in dist/, build/ or equivalent will have mode 755.

I am wondering if it's related to this bit of the code?
https://github.com/vercel/turborepo/blob/f160c418c9e564659d462f84fa2721ec1823e0a4/cli/internal/cache/cache_http.go#L78-L87

interesting will try to investigate

@jaredpalmer I think this is about the default value const DirPermission = os.ModeDir | 0775 on. And the only checking out is in here.
https://github.com/vercel/turborepo/blob/8654fe28951f39b1ffe0f3e83537b6978ee05f42/cli/internal/fs/fs.go#L82-L84
I would like to help any idea to getting started?

The initial PR did not handle binary executables, need to revert and revisit this. We need a more nuanced solution

I will take a look for further investigation, need to familiarize myself with the code base more.

I wonder how to solve this properly. If we want to preserve file permissions, would we then need to separate the cache for different operating systems? Do you already keep separate cache pools for Windows and Linux? Also, what's the performance penalty for including permissions for each file inserted/extracted out of the cache? Would we wrap each file in some metadata with content and permissions, or would you have separate entries for files' metadata?
Would it make sense to have a setting for this? Leaving files coming out of cache with default system permissions seems way less heavy handed and surprising than chmod'ing everything to 755.


Rpm file prefixes

Add optional support of prefixes for rpm files

The job #22 assigned to @g4s8/z, here is why; the budget is 30 minutes, see §4; please, read §8 and §9; if the task is not clear, read this and this; there will be no monetary reward for this job

Manual assignment of issues is discouraged, see §19: -5 point(s) just awarded to @g4s8/z

It is strongly discouraged to assign jobs to their creators, see §19: -15 point(s) just awarded to @g4s8/z

Bug was reported, see §29: +15 point(s) just awarded to @g4s8/z

@rultor release, tag=0.2.1

@rultor release, tag=0.2.1

@g4s8 OK, I will release it now. Please check the progress here

@rultor release, tag=0.2.1

@g4s8 Done! FYI, the full log is here (took me 18min)

I'll test it today

@LuBan-Liu I updated the documentation in this commit: https://github.com/artipie/rpm-adapter/commit/0aa3dc41cab0f9ae9e78d1672619c5ec1dc047a8
please use new Rpm(storage, new NamingPolicy.Sha1Prefixed()) to add SHA1 prefixes to metadata files.

Job gh:artipie/rpm-adapter#22 is not assigned, can't get performer


Update ts0601_dimmer.py

Adding this PR for support for Mercator IKUU Switch mechanism which has been verified as working

Codecov Report

Merging #1547 (dba10ae) into dev (0163c7c) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##              dev    #1547   +/-   ##
=======================================
  Coverage   80.31%   80.31%
=======================================
  Files         227      227
  Lines        6773     6773
=======================================
  Hits         5440     5440
  Misses       1333     1333

Impacted Files
Coverage Δ

zhaquirks/tuya/ts0601_dimmer.py
93.75% <ø> (ø)

Continue to review full report at Codecov.

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

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 80.319%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
5440

Relevant Lines:
6773

💛  - Coveralls

This Fixes: #1492


Withdraw authorization

Describe the problem
The Auth module is a central module in EVerest that is able to handle incoming authorization requests from modules implementing the token_provider interface and forwards these requests to modules implemeting the token_validator interface.
If an authorization request was accepted, the Auth module provides authorization via the authorize_response command of the evse_manager requirement(s).
Currently there is no way to withdraw this granted authorization. The authorization can only timeout. A valid use case for authorization terminals and displays is to be able to withdraw authorization which was previously requested or granted. Currently this only happens after a timeout.
EVerest Domain
Authorization
Affected EVerest Module
Auth
Describe your solution
The goal of this issue is to extend the auth interface by an additional command withdraw_authorization and to implement this command as part of the Auth module. The implementation of the command shall withdraw the specified granted authorization based on the specified parameters.
The parameters of the command shall be:

evse_id: int
id_token: IdToken

If only the evse_id is given, the granted authorization for this EVSE shall be withdrawn.
If only the id_token is given, the granted authorization for every EVSE where this id_token is placed shall be withdrawn
If both parameters are given, the granted authorization for the given EVSE shall be withdrawn, if the placed id_token matches the given id_token
If no parameter is given, all granted authorizations for all EVSEs shall be removed
Note that it should be possible to withdraw authorization in all of the following phases:

Authorization was requested but no EVSE has yet been selected
Authorization was requested, EVSE is selected but EV has not yet been plugged in
Authorization was requested, EVSE is selected and EV is plugged in (transaction is running)

In the last two cases the withdraw_authorization command at the evse_manager requirement shall be called as part of handling the new command.
Additional context
This likely requires these (or similar) types definitions:
WithdrawAuthorizationRequest {
evse_id: int (optional)
id_token: IdToken (optional)
}

WithdrawAuthorizationResult {
ACCEPTED, // in case requested authorization was removed
AUTHORIZATION_NOT_FOUND, // in case no match for request was found
REJECTED // in case module could not process the request for other reasons
}

"Authorization was requested, EVSE is selected and EV is plugged in (transaction is running)": This case may also require changes in EvseManager. Currently withdraw_authorization() in evse_manager implementation only succeeds if charging was not started yet. This would need to be changed, so that EvseManager ends the transaction when auth is withdrawn.

"Authorization was requested, EVSE is selected and EV is plugged in (transaction is running)": This case may also require changes in EvseManager. Currently withdraw_authorization() in evse_manager implementation only succeeds if charging was not started yet. This would need to be changed, so that EvseManager ends the transaction when auth is withdrawn.

Since the Auth module has the requirement evse_manager it can also directly call the command stop_transaction. This is already done by the auth module e.g. in case a token is swiped for a second time to stop a tx

In this case no changes to EvseManager would be neccessary


Kotlin support

Hey,
has anyone tested the operation of the library using Kotlin instead of Java?

Hi @michmzr not yet, please let me know if you test it and find some problems! Thanks.


ci: do not mark script changes as doc-only

Changes in scripts will affect the CI jobs as the scripts are used while
deploying minikube, Rook and other components. These changes need
testing, just like anything else.

Show available bot commands
These commands are normally not required, but in case of issues, leave any of
the following bot commands in an otherwise empty comment in this PR:

/retest ci/centos/<job-name>: retest the <job-name> after unrelated
failure (please report the failure too!)
/retest all: run this in case the CentOS CI failed to start/report any test
progress or results

we dont have to run E2E for changes in files like gosec.sh, golangci.yaml, build-multi-arch etc.

For most of them we do! If we change scripts or the configuration, we do need to run the tests with the new configuration. Merging a script/configuration that causes all subsequent e2e tests to fail would be an issue. I am of the opinion that more testing is better, than missing something to test and have to urgently fix (or revert) things.

we dont have to run E2E for changes in files like gosec.sh, golangci.yaml, build-multi-arch etc.

For most of them we do! If we change scripts or the configuration, we do need to run the tests with the new configuration. Merging a script/configuration that causes all subsequent e2e tests to fail would be an issue. I am of the opinion that more testing is better, than missing something to test and have to urgently fix (or revert) things.

running static check should be fine but what is the use of running E2E if some changes has done in gosec.sh or golangci.yaml?

as we have an option to skip E2E. am currently fine with this change, but we need to make the doc-only detecting script more robust.


Merge multiple generators to have a config file per app

I started experimenting with the matrix generator, in hope of combining the directory generator with a config file per directory, e.g. making it possible to have a specific config.json file per application to generate to be able to specify specific namespace per application, or specific sync settings per application. Is this possible somehow?
generators:
- matrix:
    generators:
    - git:
        repoURL: git@github.com:Connectitude/iot-infra-k8s.git
        revision: feature/applicationset
        directories:
        - path: "applicationset/cluster-addons/*"
    - git:
        repoURL: git@github.com:Connectitude/iot-infra-k8s.git
        revision: feature/applicationset
        files:
        - path: "applicationset/cluster-configs/{{path.basename}}.json"

Thanks for the detailed example and explanation, very helpful for visualizing your question. I can't think of a way to do that with the current matrix generator as it exists, but I can definitely see how that would be useful.
Just brainstorming off the top of my head here, not committing to any changes :smile:, but here's a pseudo-example where I could see it working something like this:
generators:
- matrix:
    generators:
    - git:
        repoURL: git@github.com:Connectitude/iot-infra-k8s.git
        revision: feature/applicationset
        directories:
        - path: "applicationset/cluster-addons/*"
      paramPrefix: git_directory. # 'paramPrefix' idea from 236
    - git:
        repoURL: git@github.com:Connectitude/iot-infra-k8s.git
        revision: feature/applicationset
        files:
        - path: "applicationset/cluster-configs/*.json"
      paramPrefix: git_file.
    # Combine sets of parameters using the matrix generator as usual, BUT only output a set of parameters
    # if it meets this criteria:
    emitParameterIf: # (or maybe call this field join?)
      operandA: git_directory.path.basename
      operator: =
      operandB: git_file.config_file.path.basename # new parameters a bit like 258

Which would depend on at least a few other features being implemented:

https://github.com/argoproj-labs/applicationset/issues/258
https://github.com/argoproj-labs/applicationset/issues/236
that 'emitParameterIf' idea (or similar)

So this would still generate every combinaton of parameters between the two generators, BUT it would only emit ones (to the template) that match a specified condition (eg a join). That way applications within the Git directory folder would get matched against corresponding config.json paths.

Is this supported in anyway now?

Is this a supported feature now?


wrong version reported by github api to get last release

Current Behavior
$ curl -sL https://api.github.com/repos/node-red/node-red/releases/latest | jq -r .tag_name
1.3.7
Expected Behavior
$ curl -sL https://api.github.com/repos/node-red/node-red/releases/latest | jq -r .tag_name
2.0.6
Sorry if it's a dumb question but I really do not understand this behaviour.
Is it node-red github workflow related or is it a pure github side problem ?
My home automation system use node-red and I use this url to show that there is a new version of node-red.
That have always works perfectly until the 1.3.7/2.0.6  release.

GitHub just returns the last cut release, this might be from the 1.3.x stream or the 2.x stream.
This is behaving as expected. You should be using npm versioning not GitHub releases.

GitHub just returns the last cut release, this might be from the 1.3.x stream or the 2.x stream.
This is behaving as expected. You should be using npm versioning not GitHub releases to track the release stream you are interested in.

Thanks for the quick reply. I will use npm to get latest version so.
I'm surprised that is not possible to tell to github on will branch the latest release depends.


Chunking support for ScriptCreatorGraph

The current implementation of ScriptCreatorGraph is a bit limited since the page being interpreted is attached directly to the message, without chunking support. I immediately started bumping into the limitations of my OpenAI message token limit.
It would be great to add support for chunking as with SmartScraperGraph.

Hi, can you share the code and the error

Code:
# Create an instance of SmartScraperGraph with specific instructions
smart_scraper_graph = ScriptCreatorGraph(
    prompt="List the name, price and description for each product. Make sure that you include every product.",  # The AI prompt specifies what to extract
    source="https://www.miele.co.uk/category/1022125/ovens-and-built-in-cookers",  # URL of the website from which to scrape data
    config=graph_config,  # Uses predefined configuration settings
)

# Execute the scraping process
result = smart_scraper_graph.run()

Error:
openai.RateLimitError: Error code: 429 - {'error': {'message': 'Request too large for gpt-4o in organization org-owSMgmqDOmy9zGOv1Lzt4Ypi on tokens per min (TPM): Limit 10000, Requested 222359. The input or output tokens must be reduced in order to run successfully. Visit https://platform.openai.com/account/rate-limits to learn more. You can increase your rate limit by adding a payment method to your account at https://platform.openai.com/account/billing.', 'type': 'tokens', 'param': None, 'code': 'rate_limit_exceeded'}}

Related to #617 which I'm currently working on a fix for.
@matthewgertner there is an initial fix in the pre/beta branch now (see this commit https://github.com/ScrapeGraphAI/Scrapegraph-ai/commit/fd0a90236ee23c09b1466622f5bece82767f1a83 ) but it will only work for OpenAI models at the moment.

hi please update to the new beta


crash due to ldlib library

Bigger AE2 v1.20.1-1.3.4
jei updated these days and there is a problem with ldlib as reported in the link below
https://github.com/Low-Drag-MC/LDLib-Architectury/issues/29

I forgot to clear my Jarjar dependencies, my mod doesn't actually need it

i push fix, you can download it in some minuit


compile error

I have a new problem.
Maybe I need to compile it in the specific standard?
In file included from /home/den/Projects/VoxelGame/Game/Renderer.h:9,
from /home/den/Projects/VoxelGame/Game/main.cpp:9:
/home/den/Projects/VoxelGame/Game/Chunk.h:111:26: error: expected nested-name-specifier before ‘const’
111 |         typedef typename const glm::ivec3& reference;
|                          ^~~~~
/home/den/Projects/VoxelGame/Game/Chunk.h:111:37: error: typedef name may not be a nested-name-specifier
111 |         typedef typename const glm::ivec3& reference;
|                                     ^~~~~
/home/den/Projects/VoxelGame/Game/Chunk.h:111:37: error: expected ‘;’ at end of member declaration
111 |         typedef typename const glm::ivec3& reference;
|                                     ^~~~~
|                                          ;
/home/den/Projects/VoxelGame/Game/Chunk.h:111:44: error: ISO C++ forbids declaration of ‘reference’ with no type [-fpermissive]
111 |         typedef typename const glm::ivec3& reference;
|                                            ^~~~~~~~~
/home/den/Projects/VoxelGame/Game/Chunk.h:112:26: error: expected nested-name-specifier before ‘const’
112 |         typedef typename const glm::ivec3* pointer;
|                          ^~~~~
/home/den/Projects/VoxelGame/Game/Chunk.h:112:37: error: typedef name may not be a nested-name-specifier
112 |         typedef typename const glm::ivec3* pointer;
|                                     ^~~~~
/home/den/Projects/VoxelGame/Game/Chunk.h:112:37: error: expected ‘;’ at end of member declaration
112 |         typedef typename const glm::ivec3* pointer;
|                                     ^~~~~
|                                          ;
/home/den/Projects/VoxelGame/Game/Chunk.h:112:44: error: ISO C++ forbids declaration of ‘pointer’ with no type [-fpermissive]
112 |         typedef typename const glm::ivec3* pointer;
|                                            ^~~~~~~
/home/den/Projects/VoxelGame/Game/Chunk.h:122:27: error: extra qualification ‘Chunk::PositionIterator::’ on member ‘operator++’ [-fpermissive]
122 |         PositionIterator& PositionIterator::operator++();
|                           ^~~~~~~~~~~~~~~~
/home/den/Projects/VoxelGame/Game/Chunk.h:123:9: error: ‘reference’ does not name a type
123 |         reference operator*() const;
|         ^~~~~~~~~
/home/den/Projects/VoxelGame/Game/Chunk.h:124:9: error: ‘pointer’ does not name a type
124 |         pointer operator->() const;
|         ^~~~~~~
make[2]: *** [Game/CMakeFiles/Game.dir/build.make:76: Game/CMakeFiles/Game.dir/main.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:295: Game/CMakeFiles/Game.dir/all] Error 2
make: *** [Makefile:130: all] Error 2

this is resolved by removing typename before const


Move/remove root endpoint fields that depend on running Stellar-Core instance

The following fields in the root endpoint are updated by accessing Stellar-Core's /info endpoint that may not be available in captive core deployments (ex. from non-ingesting instances):

core_version
core_latest_ledger
core_supported_protocol_version

Let's discuss if we want to move them to metrics (updated from ingesting instances) or remove completely.

Seems valuable to have them visible from non-ingesting instances for clients/operators. Is there any downside to moving them to metrics?

visible from non-ingesting instances for clients/operators

Not sure if clients needs to know the fields listed in the first post.

Is there any downside to moving them to metrics?

I don't think so, it's actually quite easy given we already export horizon version via /metrics.

Not sure if clients needs to know the fields listed in the first post.

I think it's valuable because clients can potentially proxy the info downstream. E.g. a network monitoring tool could identify out of date installations.
Since it's also easy I am in favour of doing this.

Non-ingesting instances need to connect to Stellar-Core for txsub anyway.


Fix log_softmax logic for tuple axis

Similar with #20021,
On log_softmax function, also has the same issue.
It couldn't pass the below test case that check the sum of all the exponential values should be 1.0.
So, I fixed the logic on log_softmax function also.
    def test_log_softmax_correctness_with_axis_tuple(self):
        input = np.array([[[1.0, 2.0], [3.0, 4.0]], [[5.0, 6.0], [7.0, 8.0]]])
        combination = combinations(range(3), 2)
        for axis in list(combination):
            result = keras.ops.nn.log_softmax(input, axis=axis)
            normalized_sum_by_axis = np.sum(
                np.exp(ops.convert_to_numpy(result)), axis=axis
            )
            self.assertAllClose(normalized_sum_by_axis, 1.0)

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 57.49%. Comparing base (f9501f5) to head (cd7882d).

:exclamation:  There is a different number of reports uploaded between BASE (f9501f5) and HEAD (cd7882d). Click for more details.
HEAD has 6 uploads less than BASE

Flag
BASE (f9501f5)
HEAD (cd7882d)

keras
4
1

keras-torch
1
0

keras-tensorflow
1
0

keras-jax
1
0

Additional details and impacted files
@@             Coverage Diff             @@
##           master   #20028       +/-   ##
===========================================
- Coverage   79.25%   57.49%   -21.77%
===========================================
  Files         500      500
  Lines       46832    46822       -10
  Branches     8625     8624        -1
===========================================
- Hits        37117    26918    -10199
- Misses       7977    18232    +10255
+ Partials     1738     1672       -66

Flag
Coverage Δ

keras
57.49% <100.00%> (-21.62%)
:arrow_down:

keras-jax
?

keras-numpy
57.49% <100.00%> (-0.01%)
:arrow_down:

keras-tensorflow
?

keras-torch
?

Flags with carried forward coverage won't be shown. Click here to find out more.

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


RdsConfigProvider dedup

WIP still fixing tests
Description:
If N http conn managers refers the same rds config name, currently envoy

create only one subscription (good!)
create N rds config provider at main thread (hmm...)
thundering herd when rds is update, since all N rds configs need updating

Risk Level:
Testing:
Docs Changes:
Release Notes:
[Optional Fixes #Issue]
[Optional Deprecated:]

@stevenzzzz Not exactly the same solution we were discussing but underneath is the same: no duplicated provider

/assign @stevenzzzz

I am aware of InitManager, which is kind of broken already (Need confirmation, use xds channel on slack)

@lizan ads integration test is failing at the exact test case which was failing.. Thank you for surfacing it!
Factory context is referred 40ish time in RouterConfig. Could be more since the indirect reference is not counted.
Yet most of them are referring to server scoped resources, which has wider scope time than listener
It will take much more time to determine if provider is relying on listener-internal-context.
Hopefully we could save the server scope resources in provider.
Otherwise we can only dedup the providers belong to the same listener.
Any other traps I didn't mention? @lizan

@stevenzzzz It's not as easy as we thought :)

close for now: wip

I've talked with Harvey, we may need to do quite a bit shoveling, including some API interface change, to make the RDS provider/subscription Listener independent.
But I think it's desired.
filed issue #8303, let's continue the discussion there.


Notifications able to open local files

This was raised by "ridders" (a member from access-programmers.co.uk).
Toast notifications can now accept local files as hyperlink and open them. Simply format your hyperlink with a local file. I.E View Apple
While doing this, we also added new function that docmd.openForm command can be passed as hyperlink and open a form in the host application. However this is under testing as I'm not sure if a specific Office PIA dll would work for everyone. Check out the latest sample and let us know.

It would be nice to have that feature. I tried this enhancement with a function name instead of using a hyperlink not on the toast notification but on the dialog box. I had something like this: Go to settings.
Whenever the dialog box opens or pop up, it executes the function name by opening the settings form without waiting for the user to click on the link "Go to settings". I also observe that when I put a function name there and with parameters, it doesn't work.
This works but without waiting for user on click event:
Go to settings
This doesn't work with parameters
Go to settings

Thanks for the great idea! I will look into this. :)

@US-Ali  Thank you for the excellent idea. This function has been added to Toast & Simple dialog boxes. An update is available now. Check out the latest sample database and let us know.

I tried the latest feature and sadly I don't know what went wrong. On your sample database, it was working perfectly but when I try to implement it in mine, it doesn't work. I get the following error message from a toast notification saying:  Action command request but no callback instance found when I use a sample function as the hyperlink.
Another strange thing I observed is that the dialog box is now stretching across the entire screen instead of it's regular size. I have tried all your updates on my database before now and they all seems to work fine except for this latest update.
More strange is the fact that I removed the latest DLL file and replaced it with the previous one that was working perfectly for me to see if the dialog box stretching across the whole screen will stop, but it didn't. So right now I am confused about what could be responsible for it. Why will the hyperlink enhancement work perfectly on your sample database and not on mine anymore and why will the size of the dialog box suddenly starts displaying across the length of my screen?

Action command request but no callback instance found  could be due to following reason.

No OleDBProvider for access is found in your system. Either Microsoft.ACE or Microsoft.JET is required
gdll.DLL function in the sample database contains these new lines.
'Send this application full name to the dll for future references. I.e. call backs      dllObject.SetAccessApplicationPath CurrentProject.FullName

regarding  dialog box is now stretching. This is happening in the sample database too?

I  am not sure it has anything to do with the reasons above. I say that because I am able to run your sample database on the same system without any problem.
After my previous comment, I did a system restart, removed the dll and downgraded it to the last one before this recent update and the dialog box was displaying correctly on my database. I did a swap again of the dll to the most recent one just to double check and the problem started with the dialog box displaying across the whole screen.
I am unable to say if it's the dll but that is what it appears to be right now.

Just to make sure: You are able to run the sample database without any problem. that includes, correct size of the dialogboxes as well as no Action command request but no callback instance found error.?

Copy and replace the Public Function DLL() function form sample database to your project. This would get rid of the Action command requested but no callback instance found error
Copy and replace the Public Function ShowDialog( function from sample database to your project. This might get rid of your dialogbox size issue.

Please let me know how this went.

I have updated my Public Function DLL() function in my database to include the additional lines of codes and this has fixed the Action command requested but no callback instance found error. I am able to use it to open a function name say GoToSettings() but not GoToSettings("frmGeneralSettings"). It doesn't allow any parameters in the function name which is a huge draw back.

I have copied this Public Function ShowDialog() to my database even though it is the same with what I already have but unfortunately the dialog box is still displaying across the screen.

point 1. Fixed.
point2. Can you somehow share your code/database so I can find out more where the problem might be? especially if the sample database is showing the correct size.

I think I have figured out something that can help you in fixing this. I tried the following on my database:
MsgBox gDll.ShowDialog("A special thank you to all those who have " & _
                   "contributed to the project and the development of the software by " & _
                   "sharing library tools or codes, giving feedback either on their " & _
                   "experiences using the software or otherwise. ", "confirm", "OK", "")

Find in the attached pictures how it came  out:

This MsgBox gDll.ShowDialog("A special thank you to all those who have ", "confirm", "OK", "") gave this:

This  ```
MsgBox gDll.ShowDialog("A special thank you to all those who have " & _
"contributed to the project and the development of the software by ", "confirm", "OK", "")

![samplemessage2](https://user-images.githubusercontent.com/4539281/44418650-e1eb1400-a570-11e8-920a-a67e16a548ae.png)

3. And this ```
MsgBox gDll.ShowDialog("A special thank you to all those who have " & _
                   "contributed to the project and the development of the software by " & _
                   "sharing library tools or codes, giving feedback either on their " & _
                   "experiences using the software or otherwise. ", "confirm", "OK", "")
``` gave [this](https://github.com/US-Ali/Snapshots/blob/master/SampleMessage3.png):

![samplemessage3](https://user-images.githubusercontent.com/4539281/44417961-fe864c80-a56e-11e8-9e28-ed414f3a24b1.png)

4. I decided to try this ```
MsgBox gDll.ShowDialog("A special thank you to all those who have " & _
                   "contributed to the project and the development of the software by " & _
                   "sharing library tools or codes, giving feedback either on their " & _
                   "experiences using the software or otherwise. ", "confirm", "OK", "")
``` on **your own sample database** and I got [this](https://github.com/US-Ali/Snapshots/blob/master/Krish's%20Message.png):

![krish s message](https://user-images.githubusercontent.com/4539281/44417981-0645f100-a56f-11e8-80d8-f85c584dbb72.png)

**In Conclusion:**
As can be seen from the above pictures, I don't think the problem is peculiar to my database alone but to yours as well. The reason why yours is not noticeable was because your message length wasn't long enough. Try changing your message length and check if you will notice this problem. I am sure this can guide you in fixing the display width and height.

I think I have figured out something that can help you in fixing this. I tried the following on my database:
MsgBox gDll.ShowDialog("A special thank you to all those who have " & _
                   "contributed to the project and the development of the software by " & _
                   "sharing library tools or codes, giving feedback either on their " & _
                   "experiences using the software or otherwise. ", "confirm", "OK", "")

Find in the attached pictures how it came out:

This MsgBox gDll.ShowDialog("A special thank you to all those who have ", "confirm", "OK", "") gave this:

Please see next comment...

This ```
MsgBox gDll.ShowDialog("A special thank you to all those who have " & _
"contributed to the project and the development of the software by ", "confirm", "OK", "")

And this ```
MsgBox gDll.ShowDialog("A special thank you to all those who have " & _
"contributed to the project and the development of the software by " & _
"sharing library tools or codes, giving feedback either on their " & _
"experiences using the software or otherwise. ", "confirm", "OK", "")

Please see SampleMessage2.png at https://github.com/US-Ali/Snapshots

I decided to try this ```
MsgBox gDll.ShowDialog("A special thank you to all those who have " & _
"contributed to the project and the development of the software by " & _
"sharing library tools or codes, giving feedback either on their " & _
"experiences using the software or otherwise. ", "confirm", "OK", "")

 on **your own sample database** and I got [this](https://github.com/US-Ali/Snapshots/blob/master/Krish's%20Message.png):

Please see Krish's Message.png at https://github.com/US-Ali/Snapshots

**In Conclusion:**
As can be seen from the above pictures, I don't think the problem is peculiar to my database alone but to yours as well. The reason why yours is not noticeable was because your message length wasn't long enough. Try changing your message length and check if you will notice this problem. I am sure this can guide you in fixing the display width and height.

I think I have figured out something that can help you in fixing this. I tried the following on my database:
MsgBox gDll.ShowDialog("A special thank you to all those who have " & _
                   "contributed to the project and the development of the software by " & _
                   "sharing library tools or codes, giving feedback either on their " & _
                   "experiences using the software or otherwise. ", "confirm", "OK", "")

This:
MsgBox gDll.ShowDialog("A special thank you to all those who have ", "confirm", "OK", "")
gave this sample message (SampleMessage1.png) at https://github.com/US-Ali/Snapshots

This:

MsgBox gDll.ShowDialog("A special thank you to all those who have " & _
"contributed to the project and the development of the software by ", "confirm", "OK", "")

gave this sample message (SampleMessage2.png) at https://github.com/US-Ali/Snapshots

And this

MsgBox gDll.ShowDialog("A special thank you to all those who have " & _
                   "contributed to the project and the development of the software by " & _
                   "sharing library tools or codes, giving feedback either on their " & _
                   "experiences using the software or otherwise. ", "confirm", "OK", "")

gave this sample message (SampleMessage2.png) at https://github.com/US-Ali/Snapshots

I decided to try this

MsgBox gDll.ShowDialog("A special thank you to all those who have " & _
                   "contributed to the project and the development of the software by " & _
                   "sharing library tools or codes, giving feedback either on their " & _
                   "experiences using the software or otherwise. ", "confirm", "OK", "")

on your own sample database and I got this sample message (Krish's Message.png) at https://github.com/US-Ali/Snapshots
In Conclusion:
As can be seen from the above pictures, I don't think the problem is peculiar to my database alone but to yours as well. The reason why yours is not noticeable was because your message length wasn't long enough. Try changing your message length and check if you will notice this problem. I am sure this can guide you in fixing the display width and height.

@US-Ali  Excellent findings. I fixed the parameter issue as well as dialogbox size issue. Please have a look.
Note:public functions take single quote ' instead " i.e. Execute me

Excellent fix @krishKM and thanks for investing so much of your time on this. I am thinking again, can the parameter feature be extended further to do the following:

Take more than one parameter. Something like this:

Execute me
Execute me
Execute me
help   Functions like this can be used to call a record with recordID =1 and sub record with record ID = 1 too. Just my thoughts!

When the link is clicked, can their be an Optional parameter for the dialog box to close without the user clicking any of the buttons (OK, YES or NO). That is, if I click on the link, "Execute Me", The form should open and the dialog box closed all at once (this is especially for an OK only dialog box). BUT this should be an option as there might be instances when you need to still keep the dialog box open until the user clicks Yes or NO.

Point1 is already possible. You just need to have correct public function in your application.
Point2 is very interesting. Can you create new issue for this point as I'm trying to keep the issues organised so future readers can collaborate easily.


Semantic HTML for Beginners

We ask that you please be patient as our team works through approving and publishing all articles/tutorials in a timely manner. Allow 1-3 days for a topic to be reviewed and/or approved - allow 3-7 days for an articles to be reviewed and/or published.
Be sure to visit our Resources Page for tools, resources, and example articles to go over.
NOTE: (Please ensure that you have only one open issue + linked pull request at a time. This will ensure that we complete the article in a timely manner from inception to publishing.)
NOTE: We tend to stray away or tend not to publish reviews/comparisons of commercial product offerings.
We're looking for the first 2-3 paragraphs of the article that appropriately summarize what your article will be about.
Proposed title of article
Semantic HTML for Beginners
Introduction paragraph (2-3 paragraphs):
Writing HTML without semantics is not recommended for efficient code, it can definitely work with little to no issue, but there is rather a better way of structuring our HTML. This is known as semantic HTML.
This approach gives meaning to our HTML structure and it can be very useful to get other frontend developers to quickly understand the codebase.
In this tutorial, you will be learning how to write readable HTML code.
Key takeaways:
Why semantics HTML
Advantages of Semantic HTML
Different examples of semantic HTML
References:
Please list links to any published content/research that you intend to use to support/guide this article.
Templates to use as guides

How To Guide Template
Software Review Template
Tutorial Template

Hi, @josax01. Thanks for submitting a topic suggestion. From looking at your article idea, it seems that there is much we could add to benefit readers but we're really looking for unique/original content, and based on the content provided, it seems that information that you intend to cover is similar to articles on other blog sites such as FreeCodeCamp.
Could you expand on the different examples of semantic HTML that you would cover and what makes this article unique from other articles on Semantic HTML?

Thanks @louisefindlay23, so I just skimmed through freecodecamp article on semantic HTML5, my own approach will be more pragmatic. We would basically be building a full landing page both the traditional way (i.e before HTML 5 ), where we would be using div with a class name of header and so on. Then we will over haul everything to use sematic HTML 5.

That sounds great, @josax01. Topic approved. We look forward to reading your submitted article.


Photo is not updated with picture value

The theme does not honor the picture value in the resume.jsonfile, instead the www.gravatar.com/avatar/f425f32f41660c2f475423dfa6112478?s=200&r=pg&d=mm" is used.

Yup, that was it. Thanks for pointing it out.


Issues with the container option

Hello,
This question could really be broken down to two issues:
I have a form with some required fields. I originally had a submit button that would show a dialog box with a prompt whether they were sure they wanted to confirm or not. The problem was, when I clicked the submit button, it ignored that I had required attributes and didn't mind that there were no values entered in the required fields. It would be nice to only show the confirm prompt if all required fields have values.
I changed tactics to have popups for each input to show if they didn't have values and only confirm the form when all fields have values. I thought by using the container option I could force them to appear near the appropriate input. However, it always shows in the center of the page. I might be writing the code wrong but would really appreciate any help!
Thank you.

I'm real late to reply on this,
for the first issue, you should not bind to the button click, but for the form's submit event.
for the second issue, jquery-confirm was ment to be a dialog so, it will center itself on the screen.
if you're using the container option, then the container div should be position:relative


As a seller I can add new products

User Story
As a seller I should be able to go to /dashboard/seller/products and add new products.
Tasks

[ ] #96

I think it is redundant to #70

This one is more specific so keeping this one. Thanks!


New package: GPLinearODEMaker v0.1.0

Registering package: GPLinearODEMaker
Repository: https://github.com/christiangil/GPLinearODEMaker.jl
Created by: @christiangil
Version: v0.1.0
Commit: bb53b5c5f63e5c25d35fa94da89da28cbf7343ac
Git reference: master

will work on these things

Is there something else I need to do for this to go through?


Create COL_2017_GEIH_V01_M_V03_A_GLD.do

Hi @gronert-m ,
I did the necessary changes on this do file. I checked a couple of other GEIH files and it seems to be a problem just for this year that originated in the Amazonia and orinoquia file appended to the master.
Best,
Alexandra

Hi @gronert-m ,
I introduced the changes in v3 for 2010, 2009, 2011 and 2021. Also, 2017 has the problem of the strings fixed.
Best,
Alexandra


Clarify the differences among refute methods

Ask your question
In the refute module, DoWhy provides two pair of methods that look like similar. I'm REALLLLY confused about them.
The first pair of methods is:
model.refute_estimate(method_name="random_common_cause") vs model.refute_estimate(method_name="add_unobserved_common_cause")
as they both utilize the common cause.
The second pair of methods is:
model.refute_estimate(method_name="data_subset_refuter") vs model.refute_estimate(method_name="bootstrap_refuter")
as they both execute the resampling operation.
Although the documents and notebooks show how to call these refuters and the documents and paper compare these methods shortly, it's really hard for beginner to understand their differences. For example, the notebook Iterating over multiple refutation tests only provides output of refuters and other Sensitivity Analysis examples mainly focus on model.refute_estimate(method_name="add_unobserved_common_cause")
I'll be appreciated if you could update the documents and clarify their differeces. It will help a lot.

Thanks for raising this. We will update the documentation in the next few weeks.
Meanwhile, here's the answer.

random common cause: adds a randomly generated common cause. Estimated effect should not change.

add unobserved common cause: adds a common cause that has some correlation with the treatment and outcome. The correlation is a parameter--typically these refutation methods output a plot on how the estimate changes as the correlation is increased. The interpretation of the test is subjective.

data_subset_refuter: Consider a k% subset of the dataset and reruns the estimator. Estimate should not change

bootstrap refuter: Similar refuter. Here we construct a bootstrapped version of the same size as the dataset. The re-estimated effect should not change.

for more info, you can refer to https://arxiv.org/abs/2011.04216

Thank you for your reply! That helps a lot!

Thanks a lot, now I thoroughly understand their similarities and differences.
However, when I try to interpret the results, once again, I'm confused. Here are my results of bootstrap and subset refutor:

Considering the new effect, they are both close to the estimated effect and proves the robustness of the estimator (at least to some extent). But their p values are quite different.
So how should I interpret the result based on the p values?

Yeah, the new effect is almost the same in both cases, so the estimator is okay. Not sure why you are getting a p-value of 0 for the bootstrap refuter. That would usually indicate that the estimator failed the test. Can you share some code to reproduce the issue?

Here is my code. My dowhy version is 0.11. The p-value of 0 happened when I try to refute backdoor.linear_regression estimator.
from dowhy import CausalModel
import dowhy.datasets
import pandas as pd
import numpy as np

# Config dict to set the logging level
import logging.config

DEFAULT_LOGGING = {
    'version': 1,
    'disable_existing_loggers': False,
    'loggers': {
        '': {
            'level': 'WARN',
        },
    }
}

logging.config.dictConfig(DEFAULT_LOGGING)

# Value of the coefficient [BETA]
BETA = 10
# Number of Common Causes
NUM_COMMON_CAUSES = 2
# Number of Instruments
NUM_INSTRUMENTS = 1
# Number of Samples
NUM_SAMPLES = 200000
# Treatment is Binary
TREATMENT_IS_BINARY = False
data = dowhy.datasets.linear_dataset(beta=BETA,
                                     num_common_causes=NUM_COMMON_CAUSES,
                                     num_instruments=NUM_INSTRUMENTS,
                                     num_samples=NUM_SAMPLES,
                                     treatment_is_binary=TREATMENT_IS_BINARY)

model = CausalModel(
    data=data['df'],
    treatment=data['treatment_name'],
    outcome=data['outcome_name'],
    graph=data['gml_graph'],
    instruments=data['instrument_names']
)

model.view_model()
identified_estimand = model.identify_effect(proceed_when_unidentifiable=True)
print(identified_estimand)
print("----------------------------------------------------")

def backdoor_linear():
    causal_estimate_bd = model.estimate_effect(identified_estimand,
                                               method_name="backdoor.linear_regression",
                                               target_units="ate")

    print("Causal effect of backdoor: ", causal_estimate_bd.value)
    print("-----------------")

    # random_common_cause ================================================================
    random_common_cause = model.refute_estimate(identified_estimand, causal_estimate_bd,
                                                method_name="random_common_cause")
    print(random_common_cause)
    print("-----------------")

    # placebo_treatment ================================================================
    placebo_treatment = model.refute_estimate(identified_estimand, causal_estimate_bd,
                                              method_name="placebo_treatment_refuter")
    print(placebo_treatment)
    print("-----------------")

    # dummy_outcome ================================================================
    dummy_outcome = model.refute_estimate(identified_estimand, causal_estimate_bd,
                                          method_name="dummy_outcome_refuter")
    print(dummy_outcome[0])
    print("-----------------")

    # data_subset ================================================================
    res_subset = model.refute_estimate(identified_estimand, causal_estimate_bd,
                                       method_name="data_subset_refuter",
                                       subset_fraction=0.8)
    print(res_subset)
    print("-----------------")

    # bootstrap ================================================================
    bootstrap = model.refute_estimate(identified_estimand, causal_estimate_bd,
                                      method_name="bootstrap_refuter")
    print(bootstrap)
    print("----------------------------------------------------")

def instrumental_variable():
    causal_estimate_iv = model.estimate_effect(identified_estimand, method_name="iv.instrumental_variable", )
    print("Causal effect of instrument variable: ", causal_estimate_iv.value)

    # placebo_treatment ================================================================
    placebo_treatment = model.refute_estimate(identified_estimand, causal_estimate_iv,
                                              placebo_type="permute",
                                              method_name="placebo_treatment_refuter")
    print(placebo_treatment)
    print("-----------------")

    # causal_estimate_iv_2 = model.estimate_effect(identified_estimand,
    #                                              method_name="iv.instrumental_variable",
    #                                              method_params={'iv_instrument_name': 'Z0'})
    # placebo_treatment_2 = model.refute_estimate(identified_estimand, causal_estimate_iv_2,
    #                                             placebo_type="permute",
    #                                             method_name="placebo_treatment_refuter")
    # print(placebo_treatment_2)
    # print("-----------------")
    # random_common_cause ================================================================
    random_common_cause = model.refute_estimate(identified_estimand, causal_estimate_iv,
                                                method_name="random_common_cause")
    print(random_common_cause)
    print("-----------------")

    # dummy_outcome ================================================================
    dummy_outcome = model.refute_estimate(identified_estimand, causal_estimate_iv,
                                          method_name="dummy_outcome_refuter")
    print(dummy_outcome[0])
    print("-----------------")

    # data_subset ================================================================
    res_subset = model.refute_estimate(identified_estimand, causal_estimate_iv,
                                       method_name="data_subset_refuter",
                                       subset_fraction=0.8)
    print(res_subset)
    print("-----------------")

    # bootstrap ==================================================================
    bootstrap = model.refute_estimate(identified_estimand, causal_estimate_iv,
                                      method_name="bootstrap_refuter")
    print(bootstrap)

backdoor_linear()
instrumental_variable()

I think I found the reason for p value=0 in the case of two similar results of new effect and expected effect.


Basic usage with ASP.NET Core ?

Hello,
I'm trying to use EntityFrameworkCore with PostgreSQL, but looks like there was a lot of changes recently and all the documentation I found refer to methods that doesn't exists anymore.
I'm trying to do what I think is up to date, but I have no way to make it work in the Startup.cs,
Here is what I do :
        public void ConfigureServices(IServiceCollection services)
        {
            services.AddEntityFrameworkNpgsql().AddDbContext<ApplicationDbContext>(options => options.UseNpgsql("my connection string"));
            // Add framework services.
            services.AddMvc();
        }

But I keep getting that UseNpgsql cannot be found :
ateManager\Startup.cs(33,103): error CS1061: 'DbContextOptionsBuilder' does not contain a definition for 'UseNpgsql' and no extension method 'UseNpgsql' accepting a first argument of type 'DbContextOptionsBuilder' could be found (are you missing a using directive or an assembly reference?)

Here are my dependencies :
  "dependencies": {
    "Microsoft.NETCore.App": {
      "version": "1.0.1",
      "type": "platform"
    },
    "Microsoft.AspNetCore.Mvc": "1.0.1",
    "Microsoft.AspNetCore.Routing": "1.0.1",
    "Microsoft.AspNetCore.Diagnostics": "1.0.0",
    "Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore": "1.0.0",
    "Microsoft.AspNetCore.Server.Kestrel": "1.0.1",
    "Microsoft.Extensions.Configuration.EnvironmentVariables": "1.0.0",
    "Microsoft.Extensions.Configuration.FileExtensions": "1.0.0",
    "Microsoft.Extensions.Configuration.Json": "1.0.0",
    "Microsoft.Extensions.Configuration.CommandLine": "1.0.0",
    "Microsoft.Extensions.Logging": "1.0.0",
    "Microsoft.Extensions.Logging.Console": "1.0.0",
    "Microsoft.Extensions.Logging.Debug": "1.0.0",
    "Microsoft.Extensions.Options.ConfigurationExtensions": "1.0.0",
    "Npgsql": "3.1.8",
    "StackExchange.Redis": "1.1.606",
    "Microsoft.EntityFrameworkCore": "1.0.1",
    "Microsoft.EntityFrameworkCore.Tools": {
      "version": "1.0.0-preview2-final",
      "type": "build"
    },
    "Npgsql.EntityFrameworkCore.PostgreSQL": "1.0.2",
    "Npgsql.EntityFrameworkCore.PostgreSQL.Design": "1.0.2",
    "Microsoft.EntityFrameworkCore.Design": "1.0.0-preview2-final"
  },

Am I doing something wrong ? Where can I find up to date documentation ?
Thank you.

Note that it's available from the ApplicationDbContext class directly, but I'm not sure this is the right way to do it, this works (I mean this compile and start at least, I didn't try to query yet) :
        protected override void OnConfiguring(DbContextOptionsBuilder options)
        {
            options.UseNpgsql("xxx;");
        }

Am on vacation at the moment with no computer access, if nobody else helps out here it'll have to wait around a week...

I ran into the same error message, turns out I was missing a "using Microsoft.EntityFrameworkCore". That fixed the error, at least for me.

@kedare, can you please confirm that you have using Microsoft.EntityFrameworkCore in your code?

I confirm you that was the issue :)
Thank you.

I have using Microsoft.EntityFrameworkCore defined, but am still receiving the same error message.
'DbContextOptionsBuilder' does not contain a definition for 'UseNpgsql' and no extension method 'UseNpgsql' accepting a first argument of type 'DbContextOptionsBuilder' could be found (are you missing a using directive or an assembly reference?)

It seems like you should read the getting started docs, your csproj is likely missing the proper reference. You may also want to take a look at the general EF Core getting started docs.


simplify skip condition

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


Any ideas on handling 2FA?

The website I need to interact with will be introducing mandatory 2FA. Are there any clever ways on handling 2FA? There is a feature to trust the computer you're logging on from for 30 days, but now sure how this would be relevant to running the selenium script on AWS. Any guidance would be much appreciated!

This isn't really related to this project, but depending on how your particular site is handling that 30 day session (I'm assuming with cookies?), you could technically do a manual login once a month, store those cookies in S3, load those inside the Lambda function and plug those into Selenium on init.
There are other methods based on the type of 2FA as well. For example, if the 2FA is via SMS, you could look into getting a Twilio (or another service) number and receive the 2FA there, which could then fire a webhook to do put it somewhere the Lambda function could read from.

You could use pyotp, add the OTP secret with pyotp.parse_uri and then generate the OTP just before you need to fill it in.
Works for me.
https://medium.com/@olutomilayodolapo/how-to-retrieve-otp-from-authy-google-authenticator-with-python-53544575bcef


[ENH] Fix for record pagination

This fixes the pagination on records. Before we would select all data, and then subsample - this obviously is not very performant and this fixes it. credit to @HammadB

[x] Fix bug with limit first
[x] add tests

I'd like us to add a property test that applies valid limits/offsets and does a model check.
I also think we ought to test the limit cases - what happens if limit is negative, offset is beyond size etc.

https://github.com/chroma-core/chroma/blob/6f7fed067250990888cc125b0971df81da85d590/chromadb/test/property/test_filtering.py#L168
@given(
    collection=collection_st,
    record_set=recordset_st,
)

expected_ids truncate.

This diff got really messed up somehow - will fix and then have you re-review.

@HammadB ok this is fixed up now, sorry about the weird diff, main moved underneath me and github got out of sync


Error while calling TFLite interpreter (Similar to #21574)

Tensorflow Version: 1.11.0
Python Version: 3.4 (Also tried with 2.7)
I tried to install Tensorflow using PIP install on my Raspberry Pi3 B+ (Raspbian Stretch - June 2018 Version) and when I tried to run the sample label_image.py example with TFLite model file I am getting this error -
Traceback (most recent call last):
  File "label_image.py", line 37, in <module>
    interpreter = tf.contrib.lite.Interpreter(model_path=args.model_file)
  File "/usr/local/lib/python3.4/dist-packages/tensorflow/contrib/lite/python/interpreter.py", line 52, in __init__
    _interpreter_wrapper.InterpreterWrapper_CreateWrapperCPPFromFile(
  File "/usr/local/lib/python3.4/dist-packages/tensorflow/python/util/lazy_loader.py", line 53, in __getattr__
    module = self._load()
  File "/usr/local/lib/python3.4/dist-packages/tensorflow/python/util/lazy_loader.py", line 42, in _load
    module = importlib.import_module(self.__name__)
  File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
  File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
  File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 1129, in _exec
  File "<frozen importlib._bootstrap>", line 1471, in exec_module
  File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
  File "/usr/local/lib/python3.4/dist-packages/tensorflow/contrib/lite/python/interpreter_wrapper/tensorflow_wrap_interpreter_wrapper.py", line 28, in <module>
    _tensorflow_wrap_interpreter_wrapper = swig_import_helper()
  File "/usr/local/lib/python3.4/dist-packages/tensorflow/contrib/lite/python/interpreter_wrapper/tensorflow_wrap_interpreter_wrapper.py", line 24, in swig_import_helper
    _mod = imp.load_module('_tensorflow_wrap_interpreter_wrapper', fp, pathname, description)
  File "/usr/lib/python3.4/imp.py", line 243, in load_module
    return load_dynamic(name, filename, file)
ImportError: /usr/local/lib/python3.4/dist-packages/tensorflow/contrib/lite/python/interpreter_wrapper/_tensorflow_wrap_interpreter_wrapper.so: undefined symbol: _ZN6tflite12tensor_utils24NeonVectorScalarMultiplyEPKaifPf

I also tried another way and build the Cross Compile Package using latest Tensorflow code from master branch and install the package on pi. After running the same example I am facing this error -
Traceback (most recent call last):
  File "label_image.py", line 37, in <module>
    interpreter = tf.contrib.lite.Interpreter(model_path=args.model_file)
  File "/usr/local/lib/python3.4/dist-packages/tensorflow/python/util/lazy_loader.py", line 53, in __getattr__
    module = self._load()
  File "/usr/local/lib/python3.4/dist-packages/tensorflow/python/util/lazy_loader.py", line 42, in _load
    module = importlib.import_module(self.__name__)
  File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
  File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
  File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 1129, in _exec
  File "<frozen importlib._bootstrap>", line 1471, in exec_module
  File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
  File "/usr/local/lib/python3.4/dist-packages/tensorflow/contrib/__init__.py", line 48, in <module>
    from tensorflow.contrib import distribute
  File "/usr/local/lib/python3.4/dist-packages/tensorflow/contrib/distribute/__init__.py", line 34, in <module>
    from tensorflow.contrib.distribute.python.tpu_strategy import TPUStrategy
  File "/usr/local/lib/python3.4/dist-packages/tensorflow/contrib/distribute/python/tpu_strategy.py", line 27, in <module>
    from tensorflow.contrib.tpu.python.ops import tpu_ops
  File "/usr/local/lib/python3.4/dist-packages/tensorflow/contrib/tpu/__init__.py", line 69, in <module>
    from tensorflow.contrib.tpu.python.ops.tpu_ops import *
  File "/usr/local/lib/python3.4/dist-packages/tensorflow/contrib/tpu/python/ops/tpu_ops.py", line 39, in <module>
    resource_loader.get_path_to_datafile("_tpu_ops.so"))
  File "/usr/local/lib/python3.4/dist-packages/tensorflow/contrib/util/loader.py", line 56, in load_op_library
    ret = load_library.load_op_library(path)
  File "/usr/local/lib/python3.4/dist-packages/tensorflow/python/framework/load_library.py", line 60, in load_op_library
    lib_handle = py_tf.TF_LoadLibrary(library_filename)

tensorflow.python.framework.errors_impl.InvalidArgumentError: Invalid name:

An op that loads optimization parameters into HBM for embedding. Must be
preceded by a ConfigureTPUEmbeddingHost op that sets up the correct
embedding table configuration. For example, this op is used to install
parameters that are loaded from a checkpoint before a training loop is
executed.

So none of the provided methods are working for me.

I think it will be better if you create a new issue expressing the problem you are facing. The reason for that is the previous issue was created by different user which may be addressed by TensorFlow team or else user must have found a workaround himself. By opening new issue we can focus on your specific problem and will help us to keep track of issues we are committing to. Thanks!

@saurabh-kachhia
I resolved it by native build on RaspberryPi.
The official pip package is broken.
https://github.com/PINTO0309/Tensorflow-bin.git

@saurabh-kachhia  Please post your findings after trying PINTO0309's suggestion. Thanks!

@saurabh-kachhia
I resolved it by native build on RaspberryPi (Raspbian Stretch).
The official pip package is broken.
For Python2.7 or Python3.5
https://github.com/PINTO0309/Tensorflow-bin.git
I tried implementing "Tenforflow Lite UNet" to RaspberryPi.
https://github.com/PINTO0309/TensorflowLite-UNet.git

@PINTO0309 Thanks a lot for sharing .whl files. It fixed my issue.
@ymodak Yes, it resolved the issue, but the official build and cross compiling of the package are still broken. Is there any update on it?

Nagging Assignees @petewarden, @aselle: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Just ran into this error as well, @PINTO0309 solution fixes it... thanks!

Cross compiling to the raspberry pi tends to be pretty tricky to get right and is somewhat fragile. Unfortunately, it is quite difficult to build Tensorflow natively in a reasonable amount of time. We'll see if we can work on getting this resolved.

@saurabh-kachhia
Prebuilt binary for TensorflowLite's standalone installer. For RaspberryPi.
Tensorflow Lite v1.12.0 rc0, Binary Size=1.1MB
https://github.com/PINTO0309/TensorflowLite-bin.git
Thank you, @aselle !!

@PINTO0309, when build the newest version of tf-lite runtime python package, I have the same problem like you.
So the tf lite runtime whl of your repo: https://github.com/PINTO0309/TensorflowLite-bin.git can work or not ?

@brunolinux
If you allow v1.11.0, it should work fine.
Please try first.
By the way, I am currently concentrating on other tasks, so I do not plan to build at v1.12.0 immediately.
It takes 30 hours or more to perform the regular build procedure.

@PINTO0309 @aselle This still doesn't seem to work, latest pip packages still broken on RPi 3b+. Any updates?

@Mark84
Informally, I generated the wheel package for Tensorflow v2.0.0-alpha.
https://github.com/PINTO0309/Tensorflow-bin
tensorflow-2.0.0a0-cp35-cp35m-linux_armv7l.whl
I have not built v1.12.0 and v1.13.1.

@PINTO0309 Didn’t try the alpha, but did try the 1.11 version, but I need the tensorflow.lite package which isn’t included as it’s broken still?

@Mark84
The official package is broken, but the package I created works fine.
$ sudo apt-get install -y libhdf5-dev libc-ares-dev libeigen3-dev
$ sudo pip3 install keras_applications==1.0.7 --no-deps
$ sudo pip3 install keras_preprocessing==1.0.9 --no-deps
$ sudo pip3 install h5py==2.9.0
$ sudo apt-get install -y openmpi-bin libopenmpi-dev
$ sudo pip3 uninstall tensorflow
$ wget -O tensorflow-1.11.0-cp35-cp35m-linux_armv7l.whl https://github.com/PINTO0309/Tensorflow-bin/raw/master/tensorflow-1.11.0-cp35-cp35m-linux_armv7l_jemalloc_multithread.whl
$ sudo pip3 install tensorflow-1.11.0-cp35-cp35m-linux_armv7l.whl

【Required】 Restart the terminal.

@PINTO0309
Following those steps exactly and then
Using example label_image.py : from : tensorflow/tensorflow/lite/examples/python/label_image.py
(.venv):~/tensor_example $ python3 label_image.py
Traceback (most recent call last):
File "label_image.py", line 26, in
from tensorflow.lite.python import interpreter as interpreter_wrapper
ImportError: No module named 'tensorflow.lite'

@PINTO0309
Thanks for providing the package! For me your package worked after having run into problems with the installation stalling during numpy and h5py. Ended up solving that by downloading the wheels and installing them manually, in case it helps anyone else:
wget -O numpy-1.16.1-cp35-cp35m-linux_armv7l.whl https://www.piwheels.hostedpi.com/simple/numpy/numpy-1.16.1-cp35-cp35m-linux_armv7l.whl
pip3 install numpy-1.16-1.whl

wget -O h5py-2.9.0-cp35-cp35m-linux_armv7l.whl https://www.piwheels.org/simple/h5py/h5py-2.9.0-cp35-cp35m-linux_armv7l.whl
pip3 install h5py-2.9.0-cp35-cp35m-linux_armv7l.whl --no-deps

pip3 install tensorflow-1.11.0-cp35-cp35m-linux_armv7l.whl --no-deps

@zaichang
Thanks for the feedback!
I will update the installation procedure.

@PINTO0309
I'm not sure if that my amendments should be part of the official installation procedure as I'm not sure if the problem I faced is isolated to my setup (I did not start from a fresh image). But maybe it'd help someone out there

Hi，@PINTO0309 @aselle
How to solve the problem:
Python3.5 ---> The init.py description is inappropriate and results in an import error.
pi@raspberrypi:~/TensorflowLite-UNet $ python3 tflite_test.py
Traceback (most recent call last):
File "tflite_test.py", line 4, in
import tflite_runtime as tflr
File "/usr/local/lib/python3.5/dist-packages/tflite_runtime/init.py", line 1, in
import tflite_runtime.lite.interpreter
File "/usr/local/lib/python3.5/dist-packages/tflite_runtime/lite/init.py", line 1, in
from interpreter import Interpreter as Interpreter
ImportError: No module named 'interpreter'
Best Regards

@wangzhihua520
# Tensorflow v1.12.0
from tensorflow.contrib.lite.python import interpreter as ip

or
# Tensorflow v1.13.0
from tensorflow.lite.python import interpreter as ip

interpreter = ip.Interpreter(model_path=<model_file_path>)

Dear @PINTO0309
Thank you very much for your help.
I just follow the instruction: https://github.com/tensorflow/tensorflow/tree/master/tensorflow/lite/tools/pip_package
to deploy Tensorflow Lite interpreter and use it from python without requiring the rest of Tensorflow. As your suggestion, I should install the total version of tensorflow, is it right?
If so, where I can download the total version of tensorflow?  To do as
wget -O numpy-1.16.1-cp35-cp35m-linux_armv7l.whl https://www.piwheels.hostedpi.com/simple/numpy/numpy-1.16.1-cp35-cp35m-linux_armv7l.whl
pip3 install numpy-1.16-1.whl
wget -O h5py-2.9.0-cp35-cp35m-linux_armv7l.whl https://www.piwheels.org/simple/h5py/h5py-2.9.0-cp35-cp35m-linux_armv7l.whl
pip3 install h5py-2.9.0-cp35-cp35m-linux_armv7l.whl --no-deps
pip3 install tensorflow-1.11.0-cp35-cp35m-linux_armv7l.whl --no-deps
Best regasrds
Zhihua

@wangzhihua520
Although it is an unofficial package, please try the following.
It's a full build package, but its introduction is very easy.
https://github.com/PINTO0309/Tensorflow-bin
For armv7l.
Tensorflow v1.11.0
or
Tensorflow v1.13.1
or
Tensorflow v2.0.0 alpha
If that doesn't work, try rebuilding Tensorflow yourself, referring to the working sequence in my repository.
I built a full Tensorflow using RaspberryPi3. (Native Build)
https://github.com/PINTO0309/Tensorflow-bin#build-parameter
You may need to adjust the parameters depending on your device environment.

@wangzhihua520
Although it is an unofficial package, please try the following.
It's a full build package, but its introduction is very easy.
https://github.com/PINTO0309/Tensorflow-bin
For armv7l.
Tensorflow v1.11.0
or
Tensorflow v1.13.1
or
Tensorflow v2.0.0 alpha
If that doesn't work, try rebuilding Tensorflow yourself, referring to the working sequence in my repository.
I built a full Tensorflow using RaspberryPi3. (Native Build)
https://github.com/PINTO0309/Tensorflow-bin#build-parameter
You may need to adjust the parameters depending on your device environment.
I can not try because I do not own "NanoPi".

Hello,
I am trying to deploy TFlite standalone (without TF) on RPi zero and struggling.  I tried https://github.com/tensorflow/tensorflow/tree/master/tensorflow/lite/tools/pip_package, however it is slow on RPi0 so I tried on RPi4 and getting errors. Goal was to build a whl on RPi4 so that the process is validated and then try on RPi0 (with different architecture).

Hi @saurabh-kachhia ,
We see that you are using old version of Tensorflow which is officially considered as end of life, We recommend that you upgrade to 2.6 version and let us know if the issue still persists in newer versions .Please open a new issue in case you face any errors, we will get you the right help .Thanks!


Fix copy on y

Fix auto-embedding
Copied URLs wouldn't be embedded by GitHub. Example:
https://github.com/sindresorhus/refined-github/blob/9bdf5cf/.travis.yml#L1

https://github.com/sindresorhus/refined-github/blob/9bdf5cf/.travis.yml#L1
Working example:
https://github.com/sindresorhus/refined-github/blob/efc8c307ccddb0b3558270e28551492bb3eb5a65/.travis.yml#L1

https://github.com/sindresorhus/refined-github/blob/efc8c307ccddb0b3558270e28551492bb3eb5a65/.travis.yml#L1
Add support for branches with slashes
Example file on branch dbaeumer/TS9125:
https://github.com/Microsoft/vscode/blob/dbaeumer/TS9125/build/gulpfile.extensions.js#L1re

Previously, with .replace():
https://github.com/Microsoft/vscode/blob/5030d8d/TS9125/build/gulpfile.extensions.js#L1

Now, provided by GitHub:
https://github.com/Microsoft/vscode/blob/ff52542fcd702b974f309a48c123e2408340cf51/build/gulpfile.extensions.js#L1

Related issue: https://github.com/bfred-it/shorten-repo-url/issues/9

If I go to https://github.com/sindresorhus/refined-github/blob/master/package.json and press y, it copies the file contents to the clipboard for me.

Overwhelming sadness. That button's attribute (i.e. the link to copy) is set on hashchange

I'm gonna use their element at least.