[google_sign_in] Unexpected kSignInRequiredError

Hi,
we collect unexpected errors using google_sign_in when calling signInSilently(suppressErrors: false) in our production app, however we do not know of a way to reproduce the errors as of now. Also we use version 5.0.7 as our flutter update is still pending.
On iOS it throws
PlatformException(sign_in_required, com.google.GIDSignIn, Der Vorgang konnte nicht abgeschlossen werden. (com.google.GIDSignIn-Fehler -4.), null)

(German for "The operation could not be completed")
On Android it throws
PlatformException(sign_in_required, com.google.android.gms.common.api.b: 4: 4: , null, null)

We are as sure as we can be that there was a user authenticated on the device previously, i.e. the relevant code should not have been called otherwise. The error is raised on the first call to signInSilently(suppressErrors: false) upon starting the app, which may be very early (not guaranteed to run before the first build if that is relevant).
Note that this only affects a small subset of users, however we do not expect those users to have caused the issues themselves (e.g. by removing the app from "Apps with access to your account" at https://myaccount.google.com/permissions).
Exploring alternative explanations however has proven difficult, which is why we are seeking help here. Is this possibly related to any OAuth limits for our application? Is reAuthenticate relevant in this case?

@darshankawar Thanks for the answer. We'll try to incorporate more info into our tracking for the next release.

@stsc3000
Adding wait label for this until then.

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


adding schema for design pipe sizes

Adding two new Definition elements to allow users to define which shapes and materials to use in the automated design.

Pipe Size Set - A set of pipe sizes with the same shape and material.... and owns a set of Pipe Sizes
Pipe Size - gives a selectable unique id for each pipe size along with an initial roughness value...
Each pipe size points to a PipeShapeAspect which already exists

Ben and I discussed this topic offline. The approach he is introducing here is likely to be temporary because it creates simplified duplicates of concepts already captured by other BIS patterns (i.e. physical material and pipingPort Shape & Size).
I'm approving this PR in order to get his team moving forward with additional implementation details, but we'll discuss this topic further in the near future.


[Consumer Refactor] Background thread state machines

This is the implementation of the background thread state machine states and it's basic functionalities.
The code will be used in the background thread to maintain it's availability.
Detail design see: https://cwiki.apache.org/confluence/display/KAFKA/[Draft]+Consumer+Threading+Model+Refactoring
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

closing this as I want to move it to AK.


Parallelize third party claims

This should help speeding up the slow claims when tons of addresses are claimed.

@Nexus2k Please note I've removed the chart that wasn't used.. and added a readme section about the maintained helm chart


Pcall once per props instead of prop

Refactored the _reconcilePrimitiveProps, it was using a table called 'seenProps' when it didn't need to be. Also made it submit batches of props to change in a call to _setRbxProps (previously _setRbxProp). _mountInternal now also uses _setRbxProps. _setRbxProp shouldn't ever error, but will warn if setting a property wasn't successful and continue onto the next properties. Not only did I run the tests, but I made a couple custom tests myself and verified that the output looks pretty.
Checklist before submitting:

[ ] Added entry to CHANGELOG.md
[x] Added/updated relevant tests
[ ] Added/updated documentation

Coverage increased (+1.1%) to 91.585% when pulling b18e96c3774557d424df214f2e5ce0a8dd74456d on TylerRHoyer:Improve-Error-Handling into 28ea284c54a810b61f61a64462b4c00d954c4d81 on Roblox:master.

This PR is ready for a review.

RDC is over! I have time for PRs!
Okay so -- I think the premise of this PR is good. Reducing the number of pcall operations we have is handy from an error handling perspective and potentially a performance perspective too.
However, I think this change is aiming to do a little too much in one pass. Additionally, I'm not all that interested in trying to land refactors (besides feature backports) of the current reconciler right now.

Circling back around, I think I'm going to close this PR in favor of smaller changes to the existing reconciler, as well as doing these sorts of changes in the new reconciler instead.


Provide a docker image for S3Proxy so users can run it anywhere

I have implemented something here. I'm open to suggestions and feedback to make it better. Would be great if we could add a reference of it to the README of S3Proxy as another option to run S3Proxy.

s3proxydocker is a great idea and insulates people from the vagaries of Java.  I look forward to seeing how people use it!


Correct spelling (its/it's) in Advanced Usage

Was reading through the docs, saw a couple of its/it's mistakes.

You can probably close your PR in favor of #1477


fix: load the delta time series rows since the last time

Part of https://github.com/SigNoz/engineering-pod/issues/484
Updates the time series loader to load only the unknown entries since the last tick and eliminate the need to read and unmarshall. It also adds the opt in mechanism to use the native clickhouse query to get the matching fingerprints for the filter criteria. I had to use labels with JSONExtractString because an user is free to enter whatever they wish in the label key/value but the coulmn might not exist in labels_object JSON and it throws no column error.

cc @mindhash

@srikanthccv @ankitnayan
LGTM.
this is a stretch so please free to ignore. We could memoize(cache) results of fingerprintsForQuery() for 15 minutes. So re-run of queries are much faster. Though I am not sure how long we are going to keep this around as metric UI adoption is on the way.


Updated Leaderboard #80

user id fixed and timer updated
currently only inputs the time of the player at game completion + table is adding values properly
Additional information:

Filter dropdown allows user to sort scores from low to high or high to low Commit1 Commit2
Extra sass was added (Color, text font, and border sizes changed) Commit1 Commit2 Commit3 Commit4
Button to clear all leaderboard data Commit1 Commit2

Major bug fixed that prevented jumping and collisions from working properly

Pull Request

very minor sass changes pull request

Confirmation to clear leaderboard
Local storage <-------> Different browser/machines (chrome, safari, etc) have different directories


Fixed Navigation UI Problem in Split Screen mode # 2788

Description
Fixes #2788 Navigation UI problem in split screen mode
Tests performed
Tested betaDebug on Xiaomi Mi A1 with API level 28.
Screenshots showing what changed

Codecov Report

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

@@          Coverage Diff           @@
##           master   #2807   +/-   ##
======================================
  Coverage    3.84%   3.84%
======================================
  Files         267     267
  Lines       12523   12523
  Branches     1082    1082
======================================
  Hits          481     481
  Misses      12009   12009
  Partials       33      33

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 5a36392...da2faee. Read the comment docs.

@domdomegg @neslihanturan Please review the changes and let me know if I need to add something else :)


feat: EVM Execution Client Implementation

Overview
Related:

https://github.com/rollkit/rollkit/issues/1802
https://github.com/rollkit/go-execution-evm/issues/1
https://github.com/rollkit/go-execution-evm/issues/2
https://github.com/rollkit/go-execution-evm/issues/3
https://github.com/rollkit/go-execution-evm/issues/4
https://github.com/rollkit/go-execution-evm/issues/5
https://github.com/rollkit/go-execution-evm/issues/6

Summary by CodeRabbit
Release Notes

New Features

Introduced a new section in the README with a system architecture diagram.
Added Docker Compose configuration for initializing JWT and running the Reth Ethereum client.
New genesis block configuration file for blockchain parameters.
Visual Studio Code configuration for launching Go applications.

Documentation

Updated README.md with architecture and development setup information.

Tests

Added integration tests for the Ethereum execution client, covering lifecycle and error handling scenarios.
Enhanced unit tests for the EngineAPIExecutionClient.

Chores

Updated module name and dependencies in go.mod.
Updated .gitignore to manage Docker token files.

I'm merging this PR as initial implementation, and we'll do followups in smaller PRs.


Update README.md

I've had an account but it got closed.
My business account was accessed by someone other than myself, I lost my account information and the bank says my account was closed.

My money was transfered and my account was closed. Then again my account was taken over and I lost my money. How can the bank treat it's customers this way.


Update Exchange-Teams-interact.md

based on my investigation

@JohanFreelancer9 Copy editing is needed for this PR. Thanks.


Show diff between files and folders inside code

Hi,
I have idea, i dont know if anyone is willing to develop the extension in vscode or code itself provide such feature yet.
I am using araxis merge in my work, the way i work i open two files side by side and it shows the difference, not only difference it allows to insert the difference text from file A to B and VICE Versa in just a simple click.
Another feature is when i add two folders side by side, it opens the tree of both folders and subfolders side by side, with the file name alongwith differences count. When i open that file it generates the difference i mentioned above.
It would be really helpful if any one create such extension in vscode, and team could remove the blocking points by adding such features like folder tree view in one tab and other tabl - side by side may be.
I wish i could develop this extension but due to unavailability of time and managing my code sync extension i wont be able to develop this. :)
Thanks,
Shan

i think this should behave like feature request rather than extension vs code already have search feature so it would be better this feature sticks into the editor rather than extension so it would be fast to search and generate differences


Add provenance for SIGNOR

This PR attempts to implement the temporary fix we described in https://github.com/ExposuresProvider/cam-pipeline/issues/76#issuecomment-1178023752 by (1) loading only the SIGNOR models into Blazegraph, (2) marking all the models as having SIGNOR provenance, and then (3) loading the remaining models.
I was unable to test this locally, but I'll get the instructions for running this on Sterling from Jim and try running it there.

Running this on my local computer in Docker, I ended up with only the provenance information -- this might be a glitch at my end somewhere, but it went away when I switched from pav:importedFrom to pav:providedBy, so I suspect that the SIGNOR models might have somehow been getting deleted by sparql/delete-non-production-models.ru. In any case, as I mentioned in https://github.com/ExposuresProvider/cam-pipeline/issues/76#issuecomment-1204435599, it looks like pav:providedBy is what the other models are using, so it probably makes sense to standardize to that.
I've manually triggered this on Sterling (as build-cam-database-manual-zrgzp-l4gbk), so hopefully in a while we'll see if that worked (note that the last manual Sterling job, build-cam-database-manual-jbtqs-hqslj, was terminated with an org.apache.jena.atlas.RuntimeIOException: java.io.IOException: Input/output error, but somehow appears as "Succeeded" instead of "Failed" in Kubernetes :-/ -- hopefully that's related to this most recent fix, but if not, I'll open up another issue for that).

Note that build-cam-database-manual-zrgzp-l4gbk seems to have worked on Sterling! We'll try to implement #79 in-house and use that to check the development Blazegraph server.


The document generated by readthedocs, does not contain correct documents.

Check the behaviors of document generations and fix them.

Currently it seems to be fixed. But we need to build docs if update the codes.


DOC-2391: Add NG SMP relnotes for 12/23/22

Harness Developer Pull Request
Thanks for helping us make the Developer Hub better. The PR will be looked at
by the maintainers.
What Type of PR is This?

[x] Issue
[ ] Feature
[ ] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

Issue(s)
DOC-2391

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[ ] Tested Locally
[ ] Optional Screen Shoot.

To clarify, I completed the preparation of these notes for publication to
DevHub on 12/23, before I shut down my machine for the holiday after
11:00pm at night. They duplicate the notes published on 12/21 to HelpDocs
after their publication was approved by Prateek.
I will revert my document to using the same form that the other writers are
using. SMP incorporates tickets from numerous modules so I'll assume that
those meet with the standards outlined at
https://harness.atlassian.net/wiki/spaces/DOCS/pages/1689845830/Release+notes+process+and+guidelines
On Tue, Dec 27, 2022 at 4:43 PM KimberlyFields @.***>
wrote:

EXTERNAL EMAIL - Use caution when opening attachments, clicking links,
or responding.
@.**** commented on this pull request.
In release-notes/self-managed-enterprise-edition-release-notes.md
https://github.com/harness/developer-hub/pull/256#discussion_r1057995253
:

@@ -8,6 +8,143 @@ sidebar_position: 11

Harness Self-Managed Enterprise Edition is updated regularly. Review the notes below for details about recent changes.
+## December 21, 2022, version 77622
+
+### New features and enhancements
+
+This release introduces the following features and enhancements.
+
+| Feature or enhancement | Description |
+| --- | --- |
+| CDS-38870 | Users can copy the fqns for service and environment variables now . The service variables will be by the default name of <+serviceVariables.variableName> and environment by the name of <env.variables.variableName> |
@kat-enos https://github.com/kat-enos I'm asking you to update the
table so that the "Feature or enhancement" column contains a brief summary
of each new feature/enhancement followed by the Jira ticket number, and the
description column provides more details.
For example:
Feature or enhancement column:
API support for discovery of SCIM service provider features and schema.
(PL-29069)
Description column:
Harness now supports the following three HTTP GET API endpoints to
facilitate the discovery of SCIM service provider features and schema.
These endpoints are defined in SCIM 2.0:

ServiceProviderConfig
ResourceType
Schemas
Since these release notes are already past due, you can go ahead and
publish them now and then prioritize creating a new PR with an improved
table and cleaned up content. Please send the new PR for me to review.
—
Reply to this email directly, view it on GitHub
https://github.com/harness/developer-hub/pull/256#discussion_r1057995253,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AZTVUT2M46RJR65JRY46PVTWPOELBANCNFSM6AAAAAATHQDTCI
.
You are receiving this because you were mentioned.Message ID:
@.***>

@kat-enos as a heads up, with items that look like HTML e.g <+serviceVariables.variableName> and environment by the name of <env.variables.variableName>, Docusouras can think this is an HTML [e.g translate to JSX] tag and complains. Running yarn build locally will produce:
 release-notes/self-managed-enterprise-edition-release-notes.md: Expected corresponding JSX closing tag for <env.variables.variableName>. (22:257)

  20 |

  21 | {`CDS-38870`}

> 22 | {`Users can copy the fqns for service and environment variables now . The service variables will be by the default name of <+serviceVariables.variableName> and environment by the name of `}<env.variables.variableName>

     |                                                                                ^

  23 |

  24 |

  25 | {`CDS-39012`}

Basically, just wrap or escape those phrases that looks like HTML tags with code comments e.g <+serviceVariables.variableName> and <env.variables.variableName> and any other occurance.

@kat-enos as a heads up, with items that look like HTML e.g <+serviceVariables.variableName> and environment by the name of <env.variables.variableName>, Docusouras can think this is an HTML [e.g translate to JSX] tag and complains. Running yarn build locally will produce:

Also would show up locally in the yarn start preview.

@ravilach Hi Ravi. I've checked the linters and it looks like the PR is making it through now. Let me know if you think otherwise. Thanks.

@kat-enos looks like there is one more tag that has not been escaped. Running locally yarn start

<artifact.metadata.url>. (198:314)

  196 |

  197 | {`CDS-43863`}
> 198 | {`The `}<inlineCode parentName="strong">{`<artifact.metadata.url>`}</inlineCode>{` is null for the Nexus3 artifact Docker repository format.`}{` The URL was added to the metadata so it can now be accessed using `}<artifact.metadata.url>{`.`}

Located at:

Once that is escaped, local build worked for me.
-Rvi

Preview environment: https://ci.pr.harness.io/pr-256

Merged release notes to get out the latest set to customers. I will continue dealing with post-migration fixes in a separate pass.


Serving data for UI panel in issue #8

[ ] Make url for app to call
[ ] Get route data from MongoDB server
[ ] Parse data to JSON
[ ] Return data to app

This is server side implementation for issue #8

We will not implement this.


New e2e

Related to #2408
Managed to move more tests using electron to use server only.
Because this new tests are using jsdom and therefore running in the browser all test configs used must be changed because require cannot be used anymore.
There are 2 module tests still using electron (calendar and weather). They are complex (using basic-auth or mock-data), will look into this in a following PR.
Beside the test stuff only logger.js and server.js are changed and I tested this in server only and with electron on a pi3.

Codecov Report

Merging #2670 (c67320f) into develop (bf49f79) will increase coverage by 0.88%.
The diff coverage is 90.90%.

@@             Coverage Diff             @@
##           develop    #2670      +/-   ##
===========================================
+ Coverage    69.94%   70.83%   +0.88%
===========================================
  Files           17       13       -4
  Lines          895      696     -199
===========================================
- Hits           626      493     -133
+ Misses         269      203      -66

Impacted Files
Coverage Δ

js/logger.js
52.63% <75.00%> (+2.63%)
:arrow_up:

js/server.js
87.03% <100.00%> (+1.93%)
:arrow_up:

modules/default/updatenotification/git_helper.js

modules/default/newsfeed/newsfeedfetcher.js

modules/default/updatenotification/node_helper.js

modules/default/newsfeed/node_helper.js

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 bf49f79...c67320f. Read the comment docs.

@MichMich the upload error to Codecov seems unrelated to this PR

Looks good to me and though it doesnt change much in the non-test code, maybe we wait until the october release is out to merge it? Juuuust to be on the safe side :-D

maybe we wait until the october release

let we decide @MichMich , have no problem to wait ...

Looks good to me and though it doesnt change much in the non-test code, maybe we wait until the october release is out to merge it? Juuuust to be on the safe side :-D

Whoops! Missed that one. Well, let's start living on the edge. 😂


Error: Could not find or load main class .target.language=CPP with tag:1.30.0

Hi,
After I downloaded the latest release tag 1.30.0 into local windows and executed .\gradlew.bat to compile the jar files.
all succeeded till now.
now when I ran:
java -Dsbe.target.language=CPP -jar .\sbe-all\build\libs\sbe-all-1.30.0.jar ./templates_FixBinary.xml
It reported: Error: Could not find or load main class .target.language=CPP
If I ran: java -jar .\sbe-all\build\libs\sbe-all-1.30.0.jar ./templates_FixBinary.xml,
it generated messages structs in java files properly.
Looks like it does not compile CPP related jar files. It used to work for me, not sure what happened this time.
my JDK is with version:
java version "1.8.0_202"
Java(TM) SE Runtime Environment (build 1.8.0_202-b08)
Java HotSpot(TM) 64-Bit Server VM (build 25.202-b08, mixed mode)
I am not familiar with Java, may I know if it is because of wrong JDK I used?
Thanks in advance!

@sandodo Can you try running:
java -Dsbe.target.language=CPP -cp .\sbe-all\build\libs\sbe-all-1.30.0.jar uk.co.real_logic.sbe.SbeTool ./templates_FixBinary.xml

@vyazelenko Thanks, below is the test result, it still reported the same error

inside jar file, the files that might be related:
uk/co/real_logic/sbe/generation:

inside cpp folder:

hopefully it can help to identify the issue.

for your information that above commands were executed in windows powershell, which caused the issue.
if I ran it in cmd or git bash environment, CPP message structs are generated correctly.
My OS is Windows 11 Pro.


Emmet Abbreviation should not work inside php tag (<?php ?>)

VSCode Version: 1.17.1
OS Version: Ubuntu 16.04

At the moment, emmet cannot parse php file and identify html only areas.
But I have pushed a fix for the scenario mentioned above where something that is clearly not an emmet abbreviation is being treated as such
The fix will be out in Monday's Insiders build.
If you notice any other cases, please feel free to log an issue

I still see this with 2ab10d50163f008ada9a4aa215de8c884857ce99


Update GitHub Actions and Publish to Maven Central

Yes please all of them.
On Mon, Jun 10, 2024, 9:09 PM Thad Guidry @.***> wrote:

@.**** commented on this pull request.
@kdhrubo https://github.com/kdhrubo Do we also need to update the
`oracle9i-github-publish.yml' to also publish to Maven Central and publish
snapshots to GitHub Packages?
—
Reply to this email directly, view it on GitHub
https://github.com/kdhrubo/db2rest/pull/632#pullrequestreview-2109124124,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAISPRC2POO7SBSEPO67EYLZGZL6BAVCNFSM6AAAAABJDL6ZEGVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDCMBZGEZDIMJSGQ
.
You are receiving this because you were mentioned.Message ID:
@.***>


Host with GitHub Pages

Hi!
Great job. Handy tool to quick color scheme adjustment. Why don't you host it with GitHub Pages?

Thank you very much! It is currently hosted with GitHub Pages, heres the link: https://notneelpatel.github.io/WallpaperThemeConverter/


model's performance

Hello, author. Your work is excellent ! And I greatly appreciate your open-source contributions by codes.
However, I have some questions about the code. Whether using NerfLlffTrainerTester10.py from simple-RF or NerfLlffTrainerTester01.py from vip-nerf, when I train the demo1b using the  provided configs, my model's performance is significantly lower than that of the models you provided. I used devices: Nvidia 3090 and 2080ti.
I would like to ask, in order to achieve the model results mentioned in the paper, are the config-parameters in your code suitable?especially the num_iterations? Or are there any other settings that I might have overlooked?
I hope you can share more details or explanations about the code. Thank you very much.
for example, my trained model's performance for NerfLlffTrainerTester10.py in simple-RF, demob1 is
"PSNR02": 17.1868,                                                                                "PSNR02": 18.2493,
"SSIM02": 0.4783,                                                                                "SSIM02": 0.5246,
"LPIPS02": 0.4815,                                                                                "LPIPS02": 0.4339,
"MaskedPSNR12": 17.4491,                         vs           your open access models        "MaskedPSNR12": 18.8301
"MaskedSSIM12": 0.5141,                                                                                "MaskedSSIM12": 0.5667
"MaskedLPIPS12": 0.4193                                                                                "MaskedLPIPS12": 0.372

Example formatting error
the paper results:
"PSNR02": 18.2493,
"SSIM02": 0.5246,
"LPIPS02": 0.4339,
my re-trained result:
"PSNR02": 17.1868,
"SSIM02": 0.4783,
"LPIPS02": 0.4815,

Hi, thank you for your interest in our work and the kind words.
This is weird. We tested the code after releasing to verify that the numbers are similar to the ones reported in the paper. We tested on RTX 2080 and A4000 and obtained similar numbers, so the machine shouldn't be an issue.

Are you using the same evaluation setup as ours? SSIM from scikit-image and LPIPS Alex?
Can you try running on a couple other scenes (say, flower and horns) and check if the issue persists?

yes. I used the test code from the projects simple-RF and vip-nerf for evaluation . And your open-source models can achieve the results in the paper.  It proves that the evaluation setup is ok.
2.but
My main problem was that using this training code for re-training models with your train-config file can not achieve the performances of your open-source models downloading from your OneDrive. For example,  3 views inputs,  all scenes of LLFF dataset， my trained results is
Simple-RF-main, test1142
{
"predicted_frames": {
"RMSE02": 34.9236,
"PSNR02": 17.6449,
"SSIM02": 0.5457,
"LPIPS02": 0.4015,
"MaskedRMSE12": 30.4109,
"MaskedPSNR12": 18.8336,
"MaskedSSIM12": 0.606,
"MaskedLPIPS12": 0.3324
}
}

That confuse me many days...

Thanks for conducting the experiment on the entire dataset. A couple of things to note

We tried generating the prior multiple times. Although the depth values varied slightly, the performance of the NeRF remained stable.
The Simple-NeRF part of the code is copied and adapted to the new framework here. We didn't get a chance to test the modified code in detail. Give me a few days time. I'll get to it. Nonethless, the SimpleNeRF code from our previous repo has been tested and we were able to produce similar results even by generating the prior afresh. Similarly, ViP-NeRF code has been validated and we were able to get similar results as the paper.

I will do a couple of things to debug this issue.

I will share the depth prior that we obtained. Kindly reach out to me via email (available on my webpage: nagabhushansn95.github.io). I request you to re-run Simple-NeRF/Simple-TensoRF with the provided depth prior.
I will also try to re-run Simple-NeRF from this repo from scratch and see what happens. I will update here once I have some results.

Please let me know if I can help you in any other way.

thanks very much


Fix memory allocation issue

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Steps to reproduce 🕹
Steps:

Deploy a basic toolpad app in an environment with 512 MB of memory
Limit the max old space of Node.js to 396 MB NODE_OPTIONS='--max-old-space-size=396'

Current behavior 😯
Crash memory allocation issue
Expected behavior 🤔
Works
Context 🔦
Trying to deploy the example of Toolpad in render.com
Your environment 🌎
No response

So I'm guessing something like --optimize_for_size --max_old_space_size=460 --gc_interval=100 won't help?

Running some tests in docker

docker run --rm -it -m 512m -w /app -v $PWD/examples/qr-generator:/app node sh
yarn
yarn build
this fails due to memory issues
NODE_OPTIONS='--max-old-space-size=396' yarn build
fails due to memory issues as well
NODE_OPTIONS='--max-old-space-size=450' yarn build
this passes and builds the artifact

Let's try again without limits:

docker run --rm -it -w /app -v $PWD/examples/qr-generator:/app node sh
yarn build
this passes and builds the artifact

Let's try to run that build

docker run --rm -it -m 512m -w /app -v $PWD/examples/qr-generator:/app node sh
yarn start
this runs comfortably at around 311M memory usage

Memory issues seem to only happen at build, which is sort of expected to take quite some memory. It seems possible to build it in a container of 512m, if you tune it well. 512m is really not enough though, would love to see anyone attempt at building the docs website under those limitations.

In render.com, it fails at the yarn start step. I haven't seen it fail during yarn build. Could it be https://github.com/prisma/prisma/issues/4972?

Could it be https://github.com/prisma/prisma/issues/4972?

Perhaps, if the end-user application is using prisma. Toolpad doesn't use prisma.

In render.com, I believe fails at the yarn start step.

I know some things that can be optimized in the function runtime. Will take another look at it.

I have narrowed down a bit more the problem:

The PR preview on https://github.com/oliviertassinari/mui-olivier-tools/pull/1 breaks. I'm using a free plan
I created a reproduction a of the issue: https://dashboard.render.com/web/srv-ciu77mdiuiedpv7ao8j0.

In https://github.com/oliviertassinari/mui-olivier-tools/pull/1/files, did this start happening between 0.1.19 -> 0.1.20 or between 0.1.13 -> 0.1.20?

The issue seems to have been introduced in v0.18.0, per https://github.com/oliviertassinari/mui-olivier-tools/pull/1/commits/a69b6195ab8df59e02ad2f96e2abfe330f04c9d8.

Great to see improvements in memory consumption. I had a look at the min memory requirement for more complex apps as I was curious:

Strapi https://docs.strapi.io/dev-docs/deployment#hardware-and-software-requirements 2GB
Metabase https://www.metabase.com/docs/latest/installation-and-operation/running-metabase-on-elastic-beanstalk 2GB

But we can't compare Toolpad to these products so much, a bit of a different category.
I tried to upgrade in https://github.com/oliviertassinari/mui-olivier-tools/pull/3 to v0.1.22. It failed. In the last commit, I created a dummy express server to better isolate the problem.
It might be an issue with the initial memory allocated during the start of toolpad start?
I think https://mui.com/toolpad/tutorials/render-deploy/#creating-a-new-app-on-render could be set more clear, we don't precise the minimum hardware requirements.

Could it be toolpad build that's failing? One area where memory consumption could have increased is during toolpad build.

I don't think so, I did https://github.com/oliviertassinari/mui-olivier-tools/pull/3/commits/c380e25a5e0601aef87797dbf088c5213945008c precisely to rule out this possibility.

I'm reopening, as in the worse case, I think we should document the minimum runtime requirement like https://docs.strapi.io/dev-docs/deployment#hardware-and-software-requirements, this also connects to https://github.com/mui/mui-toolpad/discussions/2432.

#2689 solved a significant chunk of the issue. Memory has been down significantly:

I could upgrade https://github.com/oliviertassinari/mui-olivier-tools/pull/5 🎉

To close this issue, I think it's mostly a matter of:

Docs: https://github.com/mui/mui-toolpad/issues/2340#issuecomment-1666552254
Maybe, having a test in the CI to have observability on this


update package.json git url

from reason-scripts to bs-loader

thanks for merging! By the way, I don’t really understand the notice in the readme, if I just have a library written in Reason, should I import .bs.js even though the files don’t exist, and run the build task together with the tests?

@Haroenv yep! It's a more stable way of configuring everything. bs-loader got pretty complex due to trying to support every configuration under the sun.

okay, that makes sense. I’d prefer some way to not have to run two processes, but I guess this is the “easiest” 😄


take screenshot breaks with firefox 63.0

What is your Test Scenario?
taking screenshot
What is the Current behavior?
Was unable to take a screenshot due to an error.
What is the Expected behavior?
a screenshot
What is your web application and your TestCafe test code?
https://github.com/joma74/angular-ultimate-pro.git
Your website URL (or attach your complete example):

Your complete test code (or attach your test files):

// @ts-ignore
import { AngularSelector, waitForAngular } from "testcafe-angular-selectors"
var Mustache = require("mustache")

const fixtureName = "Index_Page_Test"

fixture(fixtureName)
  .page("http://localhost:4001/index.html")
  .beforeEach(async () => {
    await waitForAngular()
  })

const testName = "dom_has_critical_elements"

test(testName, async (t) => {
  // await t.debug()
  await t.takeScreenshot()
  await checkHeading(t)

  const imageAngularFirst = await AngularSelector().find(
    "img[data-desc='angular-first']",
  )
  await t.expect(imageAngularFirst.visible).ok()

  const imageAngularSecond = await AngularSelector().find(
    "img[data-desc='angular-second']",
  )
  await t.expect(imageAngularSecond.visible).ok()
})

/**
 *
 * @param {TestController} t
 */
async function checkHeading(t) {
  const heading = AngularSelector().find("h1[data-desc='heading']")
  const headingText = await heading.innerText
  const expected = Mustache.render(
    "{{ title }} from Angular App with Webpack {{ major }}.{{ minor }}.{{ patch }}",
    {
      major: "3",
      minor: "12",
      patch: "0",
      title: "Hello",
    },
  )
  await t.expect(headingText).eql(expected)
}

Your complete test report:
```xml

  <![CDATA[
    Warnings (1):
    --
      Was unable to take a screenshot due to an error.
<pre>  TypeError: Cannot read property 'takeScreenshot' of null
      at takeScreenshot
  (/home/joma/entwicklung/nodews/angular-ultimate-pro/node_modules/testcafe/src/browser/provider/built-in/firefox/index.js:71:32)
      at Generator.next (<anonymous>)
      at step
  (/home/joma/entwicklung/nodews/angular-ultimate-pro/node_modules/babel-runtime/helpers/asyncToGenerator.js:17:30)
      at
  /home/joma/entwicklung/nodews/angular-ultimate-pro/node_modules/babel-runtime/helpers/asyncToGenerator.js:35:14
      at new Promise (<anonymous>)
      at new F
  (/home/joma/entwicklung/nodews/angular-ultimate-pro/node_modules/core-js/library/modules/_export.js:36:28)
      at
  /home/joma/entwicklung/nodews/angular-ultimate-pro/node_modules/babel-runtime/helpers/asyncToGenerator.js:14:12
      at BrowserProviderPluginHost.takeScreenshot
  (/home/joma/entwicklung/nodews/angular-ultimate-pro/node_modules/testcafe/src/browser/provider/built-in/firefox/index.js:68:44)
      at takeScreenshot
  (/home/joma/entwicklung/nodews/angular-ultimate-pro/node_modules/testcafe/src/browser/provider/index.js:294:27)
      at Generator.next (<anonymous>)

]]>

```
Steps to Reproduce:

git clone https://github.com/joma74/angular-ultimate-pro.git
yarn ci

Your Environment details:

testcafe version:                   0.22.0
node.js version:                   v8.12.0
command-line arguments:  testcafe 'firefox:headless,chrome:headless --no-sandbox --disable-gpu' -S -s $npm_package_config_screenshots -p $npm_package_config_screenshot_path_pattern -r spec,xunit:$npm_package_config_reports/report.xml src/tests/index-test.js
browser name and version: Firefox 63.0, HeadlessChrome 70.0.3538
platform and version:           Linux Ubuntu 16.04
other:

See also report.xml.txt instead of 'Your complete test report'; which can not display xml properly

Fixed in<EMAIL_ADDRESS>

@AndreyBelym  Unfortunately with<EMAIL_ADDRESS>using google-chrome-stable 70.0.3538.77-1 and 64.0.3282.140-1 my test never finishes. Output stays put at
:~/entwicklung/nodews/angular-ultimate-pro$ cd /home/joerg/entwicklung/nodews/angular-ultimate-pro ; /home/joerg/bin/node --inspect-brk=42171 node_modules/testcafe/bin/testcafe.js chrome -S -s target/reports/screenshots/actual -p '${FIXTURE}/${TEST}/${USERAGENT}/${FILE_INDEX}.png' /home/joerg/entwicklung/nodews/angular-ultimate-pro/src/tests/index-test.js
Debugger listening on ws://<IP_ADDRESS>:42171/b04e3adf-e538-4120-bd1d-e4f34d96ff41
For help see https://nodejs.org/en/docs/inspector
Debugger attached.
 Running tests in:
 - Chrome 70.0.3538 / Linux 0.0.0

 Index_Page_Test

with opened browser and screenshots taken. Pausing the debugger does not stop anywhere!? Otherwise doing some manual reload pushes in the browser seems to cancel "that" sometimes and gives success
 Index_Page_Test
 ✓ dom_has_critical_elements (screenshots:
 /home/joerg/entwicklung/nodews/angular-ultimate-pro/target/reports/screenshots/actual/Index_Page_Test/dom_has_critical_elements/Chrome_70.0.3538_Linux_0.0.0/1.png)

 1 passed (4m 15s)
Waiting for the debugger to disconnect...
Killed

P.S. What normally takes 10 seconds something.
Test with firefox 63.0 works again though.

Withdraw. As Travis shows, occurs 50% with firefox 63.0

I can't reproduce the issue with Chrome, in versions 69 and 70, with and without an attached debugger. Please, open a new issue and provide an example, which can be used to reproduce the issue.
Please, provide a full test report if you still experience problems with Firefox 63.0. If you can provide a link to the problematic TravisCI build, or build log, it will be event better.
Travis is in process of migration from the container-based infrastructure to the VM-based one, and performance of Travis VMs is significantly lower that performance of Travis containers. Currently I can say that new VMs don't have enough performance to run both Chrome and Firefox in a single build. Try to split your test task to run tests separately in Chrome and Firefox.


https://tbutler.org/2021/01/11/legacy-hack-the-box-ctf.html

This was the first hack the box CTF i completed  this year

This is a test for Gitalk

This is a test for Gitalk


Note where PublishLocal writes

Oh.. my change pushed after yours. Feel free to drop it: your second change already resolves my concern. 😄
Nice work!


Added option to see a brand note in the footer

Project organization

Related https://trello.com/c/YkuTtNtH

Description
The goal of this PR is to add the option to see a brand note "Powered By" in the Footer

added property showBrandNote to footer to enable this functionality.
How to test
See Storybook in the Footer section story With Brand Note
https://storybook-components-clsttr3th-liteflow.vercel.app/?path=/story/templates-footer-footer--with-brand-note
Checklist

[x] Update related changelogs

Just switched naming to showPoweredBy

If design is good for @EmmanuelDrouin it's good for me.

Yep design is good for me

 Defylabs - Marketplace template setup


Android progress

Is there any ETA for android version?

Now that most versions of Android include a "Cast" feature, our original use case no longer exists, so it's currently a low priority.
However, the current Android implementation, based on cordova-chromecast, should be nearly complete, so if anyone has the time/inclination to help finish it, it would be highly appreciated!
Right now, the JAR compiles, but there appears to be a dependency issue that needs resolving.


C compiler cannot create executables - El Capitan 10.11.6

Using: brew install homebrew/apache/httpd24 --with-brewed-openssl --with-mpm-event
I get:
==> Installing httpd24 from homebrew/apache
==> Downloading https://archive.apache.org/dist/httpd/httpd-2.4.23.tar.bz2
Already downloaded: /Users/jlbrown/Library/Caches/Homebrew/httpd24-2.4.23.tar.bz2
==> Verifying httpd24-2.4.23.tar.bz2 checksum
tar xjf /Users/jlbrown/Library/Caches/Homebrew/httpd24-2.4.23.tar.bz2
==> ./configure --enable-layout=Homebrew --enable-mods-shared=all --enable-unique-id --enable-ssl --enable-dav --enable-cache --enable-logio --enable-deflate --enable-cgi --enable-cgid --enable-suexec --enable-rewrite --with-apr=/usr/local/opt/apr --with-apr-util=/usr/local/opt/apr-util --with-pcre=/usr/local/opt/pcre --with-ssl=/usr/local/opt/openssl --with-z=/usr/local/opt/zlib --with-mpm=event --with-port=8080 --with-sslport=8443
checking for chosen layout... Home-brew
checking for working mkdir -p... yes
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking build system type... x86_64-apple-darwin15.6.0
checking host system type... x86_64-apple-darwin15.6.0
checking target system type... x86_64-apple-darwin15.6.0
configure:
configure: Configuring Apache Portable Runtime library...
configure:
checking for APR... yes
  setting CPP to "clang -E"
  setting CFLAGS to " -g -O2"
  setting CPPFLAGS to " -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10"
  setting LDFLAGS to " "
configure:
configure: Configuring Apache Portable Runtime Utility library...
configure:
checking for APR-util... yes
  adding "-L/usr/local/opt/openssl/lib" to LDFLAGS
checking for gcc... clang
checking whether the C compiler works... no
configure: error: in `/private/tmp/httpd24-20161026-11996-wi8ax1/httpd-2.4.23':
configure: error: C compiler cannot create executables
See `config.log' for more details
==> Formula
Tap: homebrew/apache
Path: /usr/local/Homebrew/Library/Taps/homebrew/homebrew-apache/httpd24.rb
==> Configuration
HOMEBREW_VERSION: 1.0.8
ORIGIN: https://github.com/Homebrew/brew
HEAD: 0296439c832a915be9b73456c0c26bc6c79c271d
Last commit: 9 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 1ad90debdb33d2c416fd44e2c5ed44c4ff9e124a
Core tap last commit: 3 minutes ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_REPOSITORY: /usr/local/Homebrew
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_BOTTLE_DOMAIN: https://homebrew.bintray.com
CPU: octa-core 64-bit ivybridge
Homebrew Ruby: 2.0.0-p648
Clang: 7.3 build 703
Git: 2.7.4 => /Library/Developer/CommandLineTools/usr/bin/git
Perl: /usr/bin/perl
Python: /usr/bin/python
Ruby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby
Java: N/A
macOS: 10.11.6-x86_64
Xcode: 8.0
CLT: <IP_ADDRESS>.1.1461711523
X11: N/A
==> ENV
HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
SDKROOT: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk
MAKEFLAGS: -j8
CMAKE_PREFIX_PATH: /usr/local/opt/openssl:/usr/local/opt/zlib:/usr/local/opt/apr:/usr/local/opt/apr-util:/usr/local
CMAKE_INCLUDE_PATH: /usr/include/libxml2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
MACOSX_DEPLOYMENT_TARGET: 10.11
PKG_CONFIG_PATH: /usr/local/opt/openssl/lib/pkgconfig:/usr/local/opt/pcre/lib/pkgconfig:/usr/local/opt/zlib/lib/pkgconfig
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Homebrew/Library/Homebrew/os/mac/pkgconfig/10.11
ACLOCAL_PATH: /usr/local/share/aclocal
PATH: /usr/local/Homebrew/Library/Homebrew/shims/super:/usr/local/opt/openssl/bin:/usr/local/opt/pcre/bin:/usr/local/opt/apr/bin:/usr/local/opt/apr-util/bin:/usr/bin:/bin:/usr/sbin:/sbin

Error: homebrew/apache/httpd24 2.4.23 did not build
Logs:
     /Users/jlbrown/Library/Logs/Homebrew/httpd24/01.configure
     /Users/jlbrown/Library/Logs/Homebrew/httpd24/01.configure.cc
     /Users/jlbrown/Library/Logs/Homebrew/httpd24/config.log

These open issues may also help:
httpd24 build fails on yosemite https://github.com/Homebrew/homebrew-apache/issues/75
httpd24 on Yosemite Mac OS ( 10.10.3) occurs segmentation fault https://github.com/Homebrew/homebrew-apache/issues/71

config.log.zip
Any suggestions? Thanks.

looks like the problem is with the --with-mpm-event at the end, because I can install it with:
brew install homebrew/apache/httpd24 --with-brewed-openssl

@jameslbrown just noting that there is no --with-brewed-openssl option for the formula. I can not reproduce this on my system.

This tap is now deprecated in favour of the httpd formula installed and working after https://github.com/Homebrew/homebrew-core/pull/17726 (which works on Sierra and High Sierra).


sway-overfocus: 0.2.3-fix -> 0.2.4

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for sway-overfocus is: "Better" focus navigation for sway and i3.
meta.homepage for sway-overfocus is: https://github.com/korreman/sway-overfocus
meta.changelog for sway-overfocus is: https://github.com/korreman/sway-overfocus/releases/tag/v0.2.4
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.2.4 with grep in /nix/store/l3m8riij6hg51vnjpbg1jy11gz1zaic7-sway-overfocus-0.2.4
found 0.2.4 in filename of file in /nix/store/l3m8riij6hg51vnjpbg1jy11gz1zaic7-sway-overfocus-0.2.4

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

sway-overfocus

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/l3m8riij6hg51vnjpbg1jy11gz1zaic7-sway-overfocus-0.2.4 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A sway-overfocus https://github.com/r-ryantm/nixpkgs/archive/9bbfc2c3683e38db387476daf77114de45ff5b02.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/9bbfc2c3683e38db387476daf77114de45ff5b02#sway-overfocus

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/l3m8riij6hg51vnjpbg1jy11gz1zaic7-sway-overfocus-0.2.4
ls -la /nix/store/l3m8riij6hg51vnjpbg1jy11gz1zaic7-sway-overfocus-0.2.4/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

sway-overfocus

Maintainer pings
cc @ivan770 for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

Add a :+1: reaction to pull requests you find important.

Tested on my machine, works just fine.
@NixOS/nixpkgs-merge-bot merge


[WIP] Add backwards compat for v1.8.x clusters

This PR adds logic to use the discovery API before trying to establish Watch/List behavior on various API GroupVersions. This is required to fail gracefully in situations in which not all of the requested APIs are supported in environments that Mixer is deployed.
See: https://github.com/istio/istio/issues/6152

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: douglas-reid
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

bin/OWNERS [douglas-reid]
mixer/OWNERS [douglas-reid]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kyessenov does this help with your observed issues?
If so, I can clean it up and merge.

Let's just make the APA fail gracefully. You could try to list a resource declaration before using it, to verify whether it's available or not.

@douglas-reid: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-presubmit.sh
473b7a989978e2ff237263d27d703836ba18daeb
link
/test istio-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@kyessenov agreed. just wanted to throw this across and see if it fixed your issue first.
Added discovery logic to the code. PTAL.

@douglas-reid: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e.sh
2a9a4aa759eecb0d97a76d9a69c4f0784c4529ab
link
/test istio-pilot-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@douglas-reid: PR needs rebase.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

https://github.com/istio/istio/issues/7675#issuecomment-415447894 has me concerned that this PR should be reopened.

Well, reopening didn't seem to work... and I cannot reclose. Wonder what happens if I open a second PR.


Linter fails to parse public class fields

Describe the problem and steps to reproduce it:
We developed an Thunderbird addon using modern ES6 modules, as described here https://developer.thunderbird.net/add-ons/mailextensions#webextension-scripts
Unfortunately after months of developing the addon, we were not able to upload it on the AMO.
Linter reports syntax errors in two of our files. It seems, it does not understand all language features of ES6.
The addon works quite fine in current version of Thunderbird (version 78.12.0, 64-bit). So I can't understand, why the validation process is blocking the submission.
What happened?
Uploading the addon is not possible, because the linter cannot parse our addon code (a glimpse of the affected file is given below). Instead the following syntax errors are thrown:

JavaScript syntax error - Error: There is a JavaScript syntax error in your code; validation cannot continue on this file.
chrome/content/lib/db/DatabaseManager.js line 1 column 1

JavaScript syntax error - Error: There is a JavaScript syntax error in your code; validation cannot continue on this file.
chrome/content/lib/repository/ConversationRepository.js line 1 column 1

I think it is noteworthy, that only 2 of our files are reported. We have more files with ES6 features in our addon, but those are not mentioned in the validation report.
What did you expect to happen?
Linter should understand export and import statements and class members defined in class scope.
Anything else we should know?
DatabaseManager.js, Line 1 - 10
export class DatabaseManager {
  __dbConnection
  __dbName

  constructor (name) {
    console.assert(window.indexedDB !== undefined)
    this.__dbConnection = null
    this.__dbName = name
    this.__objectStoreInUse = null
  }
// ....

ConversationRepository.js, Line 1-20
import { DatabaseManager } from '../db/DatabaseManager.js'

export class ConversationRepository {
  __dbManager
  tableName = 'conversation'

  constructor () {
    let ths = this
    this.__dbManager = new DatabaseManager('myname')
    this.__dbManager.initializeDatabase(function (connection, oldVersion, newVersion) {
      if (oldVersion < 1) {
        connection.createObjectStore(ths.tableName, {
          keyPath: 'email',
          autoIncrement: false
        })
      }
    })
    this.__dbManager.useObjectStore(this.tableName)
  }

addons-linter likely needs to be on a newer version, I can do that on Monday.

Try submitting your add-on again please.

Try submitting your add-on again please.

After resubmitting I get the following errors instead:
chrome/content/lib/db/DatabaseManager.js line 2 column 1:

JavaScript syntax error (Parsing as module error: Unexpected token __dbName at line: 3 and column: 3) (Parsing as script error: 'import' and 'export' may appear only with 'sourceType: module' at line: 2 and column: 1)

chrome/content/lib/repository/ConversationRepository.js line 1 column 1:

JavaScript syntax error (Parsing as module error: Unexpected token tableName at line: 5 and column: 3) (Parsing as script error: 'import' and 'export' may appear only with 'sourceType: module' at line: 1 and column: 1)

These errors are solved after removing the public class fields in the two files.
After submitting the addon I'll post the addon name here, so further debugging can proceed.

Okay, I now managed to submit the addon for review.
If you want to check the validation for the addon, check this out: https://addons.thunderbird.net/en-US/thunderbird/addon/smartcompose/

OK, so the underlying issue here is that eslint does not support public class fields yet, and therefore addons-linter does not, see: https://github.com/mozilla/addons-linter/issues/3836
We cannot resolve this until those upstream issues are fixed, sorry.

Any update on this? Like @jobisoft mentioned this works since ESLint 8,.0.0 (https://eslint.org/blog/2021/10/eslint-v8.0.0-released).
Also seems to be fixed upstream (https://github.com/mozilla/addons-linter/issues/3062).
This is currently preventing me to upload a new release, since I started to use static fields in classes.
Could of course revert the usage of static fields, but would really like to avoid that.

Thanks for the reminder, I've updated the linter and deployed the change, so this should work now. Let me know if it doesn't.

Thanks a lot for the quick fix. Can confirm that uploading to ATN worked now.


Error in running examples/cli

[info] Rendering application from source (working path: C:\Users\DEEPAK~1.KUM\AppData\Local\Temp\8a64d5de8297)
Unhandled Promise rejection: Hash: 78b6a7ffed306051892e
Version: webpack 2.4.1
Time: 5845ms
Asset       Size  Chunks  Chunk Names
 0.js  989 bytes       0  app\app.module
chunk    {0} 0.js (app\app.module) 448 bytes [entry] [rendered]
 [Cos1] ./src/app/app.module.ts 420 bytes {0} [built] [failed] [1 error]
    [0] multi ./app/app.module.ts 28 bytes {0} [built]

ERROR in ./src/app/app.module.ts
Module build failed: TypeError: Cannot read property 'newLine' of undefined
    at Object.getNewLineCharacter (D:\GitWork\web-ui\node_modules\typescript\lib\typescript.js:9514:20)
    at Object.createCompilerHost (D:\GitWork\web-ui\node_modules\typescript\lib\typescript.js:63770:26)
    at Object.ngcLoader (D:\GitWork\web-ui\node_modules\@ngtools\webpack\src\loader.js:380:33)
 @ multi ./app/app.module.ts ; Zone: <root> ; Task: Promise.then ; Value: { Error: Hash: 78b6a7ffed306051892e
Version: webpack 2.4.1
Time: 5845ms
Asset       Size  Chunks  Chunk Names
 0.js  989 bytes       0  app\app.module
chunk    {0} 0.js (app\app.module) 448 bytes [entry] [rendered]
 [Cos1] ./src/app/app.module.ts 420 bytes {0} [built] [failed] [1 error]
    [0] multi ./app/app.module.ts 28 bytes {0} [built]

ERROR in ./src/app/app.module.ts
Module build failed: TypeError: Cannot read property 'newLine' of undefined
    at Object.getNewLineCharacter (D:\GitWork\web-ui\node_modules\typescript\lib\typescript.js:9514:20)
    at Object.createCompilerHost (D:\GitWork\web-ui\node_modules\typescript\lib\typescript.js:63770:26)
    at Object.ngcLoader (D:\GitWork\web-ui\node_modules\@ngtools\webpack\src\loader.js:380:33)
 @ multi ./app/app.module.ts
    at CompilerException.Exception [as constructor] (D:\GitWork\web-ui\node_modules\angular-ssr\source\exception.ts:6:5)
    at new CompilerException (D:\GitWork\web-ui\node_modules\angular-ssr\build\exception.js:63:42)
    at D:\GitWork\web-ui\node_modules\angular-ssr\source\application\compiler\webpack\compiler.ts:92:18
    at onCompiled (D:\GitWork\web-ui\node_modules\angular-ssr\node_modules\webpack\lib\Compiler.js:239:14)
    at D:\GitWork\web-ui\node_modules\angular-ssr\node_modules\webpack\lib\Compiler.js:494:13
    at next (D:\GitWork\web-ui\node_modules\tapable\lib\Tapable.js:138:11)
    at Compiler.<anonymous> (D:\GitWork\web-ui\node_modules\angular-ssr\node_modules\webpack\lib\CachePlugin.js:62:5)
    at Compiler.applyPluginsAsyncSeries (D:\GitWork\web-ui\node_modules\tapable\lib\Tapable.js:142:13)
    at D:\GitWork\web-ui\node_modules\angular-ssr\node_modules\webpack\lib\Compiler.js:491:10
    at next (D:\GitWork\web-ui\node_modules\tapable\lib\Tapable.js:138:11)
    at Compilation.compilation.plugin (D:\GitWork\web-ui\node_modules\angular-ssr\node_modules\@angular\cli\plugins\suppress-entry-chunks-webpack-plugin.js:35:17)
    at Compilation.applyPluginsAsyncSeries (D:\GitWork\web-ui\node_modules\tapable\lib\Tapable.js:142:13)
    at self.applyPluginsAsync.err (D:\GitWork\web-ui\node_modules\angular-ssr\node_modules\webpack\lib\Compilation.js:645:19)
    at Compilation.applyPluginsAsyncSeries (D:\GitWork\web-ui\node_modules\tapable\lib\Tapable.js:131:46)
    at self.applyPluginsAsync.err (D:\GitWork\web-ui\node_modules\angular-ssr\node_modules\webpack\lib\Compilation.js:636:11)
    at next (D:\GitWork\web-ui\node_modules\tapable\lib\Tapable.js:138:11)
  innerException: undefined,
  __zone_symbol__currentTask:
   ZoneTask {
     _zone:
      Zone {
        _properties: {},
        _parent: null,
        _name: '<root>',
        _zoneDelegate: [Object] },
     runCount: 0,
     _zoneDelegates: null,
     _state: 'notScheduled',
     type: 'microTask',
     source: 'Promise.then',
     data: undefined,
     scheduleFn: undefined,
     cancelFn: null,
     callback: [Function],
     invoke: [Function] } } Error: Hash: 78b6a7ffed306051892e
Version: webpack 2.4.1

Same Problem here.

After updating the example/cli package.json modules via ncu the resulting error-message is as follows:
Unhandled Promise rejection: Chunk app/app.module does not have associated output files

Just tried the 0.10.16 update. The error still exists, but great to see the examples/cli project being updated.

Also experiencing this error. Please use my repository if you need one to reproduce the error

Hi guys. This is the critical error that is causing the problem:

ERROR in ./src/app/app.module.ts
Module build failed: TypeError: Cannot read property 'newLine' of undefined
    at Object.getNewLineCharacter (D:\GitWork\web-ui\node_modules\typescript\lib\typescript.js:9514:20)
    at Object.createCompilerHost (D:\GitWork\web-ui\node_modules\typescript\lib\typescript.js:63770:26)
    at Object.ngcLoader (D:\GitWork\web-ui\node_modules\@ngtools\webpack\src\loader.js:380:33)
 @ multi ./app/app.module.ts

You should not be using @ngtools/webpack to compile the application in server-side rendering mode. There are issues with it. Instead, use ts-loader, angular2-template-loader, and angular-router-loader. ngtools should only be used for AoT builds. ng-render is not considered an AoT build. All AoT optimizations should be disabled when doing ng-render.
I will try to track down what the source of this problem is, but if you want to solve it now, only enable @ngtools/webpack when process.env.NODE_ENV === 'production'. Otherwise use the loader chain I described above.

Oh, you are just using the CLI ... ok, investigating

OK, this was indeed a bug. The webpack integration code was thrown off by the fact that the module had more than one output (0.js and 0.js.map). It should exclude the map file. This is fixed in 0.10.19.
@DmitryEfimenko I was able to build your repo with the 0.10.19 fixes:
Bond-MacBook:wez1 bond$ npm run prerender

><EMAIL_ADDRESS>prerender /Users/bond/wez1
> ng-render --debug

[info] Rendering application from source (working path: /var/folders/k9/ww5nrgyx687gpx7s_86tf37m0000gn/T/015fb193a3bb8)
Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming
Angular is running in the development mode. Call enableProdMode() to enable the production mode.
Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming
Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming
Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming
Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming
Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming
Angular is running in the development mode. Call enableProdMode() to enable the production mode.
Angular is running in the development mode. Call enableProdMode() to enable the production mode.
Angular is running in the development mode. Call enableProdMode() to enable the production mode.
Angular is running in the development mode. Call enableProdMode() to enable the production mode.
Angular is running in the development mode. Call enableProdMode() to enable the production mode.
[info] Rendered route / to /Users/bond/wez1/dist/index.html
[info] Rendered route /about to /Users/bond/wez1/dist/about/index.html
[info] Rendered route /testimonials to /Users/bond/wez1/dist/testimonials/index.html
[info] Rendered route /testing to /Users/bond/wez1/dist/testing/index.html
[info] Rendered route /contact to /Users/bond/wez1/dist/contact/index.html

Please verify that 0.10.19 fixes this issue for you.

Thx for the quick update.
Prerendering ist working, but the output is white pages for me when I run it.
All prerender pages consist of:
`

`
Tried it also with the example project of @DmitryEfimenko.

Just tried building the project without AOT (ng build --aot=false). Same result.

I tried prerendering after upgrading angular-ssr to 0.10.19 and got the same error. At this time I had angular-cli 1.0.3.
After upgrading angular-cli to the latest, which is at the moment 1.1.3, and building project, the prerender command does not throw an error, but the contents of prerendered .html files are -- just like @JPM84 mentioned:
<!DOCTYPE html>

works great! Thanks for quick fix!

Yeah! 0.10.22 rocks 🎉! No problem we all been there 😁 !
My project pipeline is green again 😄.
Thanks for the amazing work!
It's definitely the easiest way to prerender an angular application.

Cool! Thanks for the bug report guys.  I really appreciate your help!

I am having this with angularfire2 when I run npm run build
[info] Rendering application from source (working path: C:\Users\S\AppData\Local\Temp\47aec918d3)
Unhandled Promise rejection: n.removeEventListener is not a function ; Zone: <root> ; Task: Promise.then ; Value: { TypeError: n.removeEven
tListener is not a function
    at C:\Users\S\AppData\Local\Temp\47aec918d3\webpack:\~\firebase\auth.js:28:843
    at C:\Users\S\AppData\Local\Temp\47aec918d3\webpack:\~\firebase\auth.js:28:880
    at C:\Users\S\AppData\Local\Temp\47aec918d3\webpack:\~\firebase\auth.js:277:366
    at Object.eo/D (C:\Users\S\AppData\Local\Temp\47aec918d3\webpack:\~\firebase\auth.js:278:2)
    at e (C:\Users\S\AppData\Local\Temp\47aec918d3\webpack:\webpack\bootstrap 9f2c19ec88d22c4d7cc6:19:1)
    at Object.RVyb (C:\Users\S\AppData\Local\Temp\47aec918d3\webpack:\0.js:6968:72)
    at e (C:\Users\S\AppData\Local\Temp\47aec918d3\webpack:\webpack\bootstrap 9f2c19ec88d22c4d7cc6:19:1)
    at Object.+rnp (C:\Users\S\AppData\Local\Temp\47aec918d3\webpack:\0.js:316:89)
    at e (C:\Users\S\AppData\Local\Temp\47aec918d3\webpack:\webpack\bootstrap 9f2c19ec88d22c4d7cc6:19:1)
    at Object.Cos1 (C:\Users\S\AppData\Local\Temp\47aec918d3\webpack:\0.js:6442:76)
    at e (C:\Users\S\AppData\Local\Temp\47aec918d3\webpack:\webpack\bootstrap 9f2c19ec88d22c4d7cc6:19:1)
    at Object.32 (C:\Users\S\AppData\Local\Temp\47aec918d3\webpack:\0.js:3524:18)
    at e (C:\Users\S\AppData\Local\Temp\47aec918d3\webpack:\webpack\bootstrap 9f2c19ec88d22c4d7cc6:19:1)
    at C:\Users\S\AppData\Local\Temp\47aec918d3\webpack:\webpack\bootstrap 9f2c19ec88d22c4d7cc6:65:1
    at Object.<anonymous> (C:\Users\S\AppData\Local\Temp\47aec918d3\webpack:\webpack\bootstrap 9f2c19ec88d22c4d7cc6:65:1)
    at Module._compile (module.js:570:32)
  __zone_symbol__currentTask:
   ZoneTask {
     _zone:
      Zone {
        _properties: {},
        _parent: null,
        _name: '<root>',
        _zoneDelegate: [Object] },
     runCount: 0,
     _zoneDelegates: null,
     _state: 'notScheduled',
     type: 'microTask',
     source: 'Promise.then',
     data: undefined,
     scheduleFn: undefined,
     cancelFn: null,
     callback: [Function],
     invoke: [Function] } } TypeError: n.removeEventListener is not a function
    at C:\Users\S\AppData\Local\Temp\47aec918d3\webpack:\~\firebase\auth.js:28:843
    at C:\Users\S\AppData\Local\Temp\47aec918d3\webpack:\~\firebase\auth.js:28:880
    at C:\Users\S\AppData\Local\Temp\47aec918d3\webpack:\~\firebase\auth.js:277:366
    at Object.eo/D (C:\Users\S\AppData\Local\Temp\47aec918d3\webpack:\~\firebase\auth.js:278:2)
    at e (C:\Users\S\AppData\Local\Temp\47aec918d3\webpack:\webpack\bootstrap 9f2c19ec88d22c4d7cc6:19:1)
    at Object.RVyb (C:\Users\S\AppData\Local\Temp\47aec918d3\webpack:\0.js:6968:72)
    at e (C:\Users\S\AppData\Local\Temp\47aec918d3\webpack:\webpack\bootstrap 9f2c19ec88d22c4d7cc6:19:1)
    at Object.+rnp (C:\Users\S\AppData\Local\Temp\47aec918d3\webpack:\0.js:316:89)
    at e (C:\Users\S\AppData\Local\Temp\47aec918d3\webpack:\webpack\bootstrap 9f2c19ec88d22c4d7cc6:19:1)
    at Object.Cos1 (C:\Users\S\AppData\Local\Temp\47aec918d3\webpack:\0.js:6442:76)
    at e (C:\Users\S\AppData\Local\Temp\47aec918d3\webpack:\webpack\bootstrap 9f2c19ec88d22c4d7cc6:19:1)
    at Object.32 (C:\Users\S\AppData\Local\Temp\47aec918d3\webpack:\0.js:3524:18)
    at e (C:\Users\S\AppData\Local\Temp\47aec918d3\webpack:\webpack\bootstrap 9f2c19ec88d22c4d7cc6:19:1)
    at C:\Users\S\AppData\Local\Temp\47aec918d3\webpack:\webpack\bootstrap 9f2c19ec88d22c4d7cc6:65:1
    at Object.<anonymous> (C:\Users\S\AppData\Local\Temp\47aec918d3\webpack:\webpack\bootstrap 9f2c19ec88d22c4d7cc6:65:1)
    at Module._compile (module.js:570:32)

Any thing I can do to fix this?


Dashboard bug: Vertical scroll bar present on top control bar

Vertical display bar present on top control bar. Should instead have no vertical scroll bar


Update 11-subscriptions.mdx

Add a subscription's name to correct a compile error

@Shevatro: Thank you for submitting a pull request! Before we can merge it, you'll need to sign the Apollo Contributor License Agreement here: https://contribute.apollographql.com/


Add new command cluster-supply-chain get

Gets the details of cluster supply chain selectors in the spec
Fixes #134

We should bold the Supply Chain Selectors in the csc get output to follow the workload get enhancements?


Fix for "Simplify dependencies handling for exercises in katas" #1640

Link to the issue: https://github.com/microsoft/qsharp/issues/1640
The following changes were done:

qsDependencies property is no longer processing (generate_katas_content.js)
../KatasLibrary.qs is included as implicit dependency
./Common.qs is included as implicit dependency if present in current kata
All qsDependencies properties are removed from index.md's
README.md is updated - reference to qsDependencies is removed

Testing done:

"Happy path": Windows cmd build: "python ./build.py --wasm --npm --play" - success
Local playground manual testing - no impact (Chrome and Edge)
No impact when qsDependencies are present in index.md
No impact when qsDependencies are present and empty in index.md

Question: should Ubuntu build be tested?

Can you please sign the CLA? We need it to be able to accept your contribution

@microsoft-github-policy-service agree


Wrapping inline content?

How would I go about wrapping inline content inside the popup with some additional markup?
So the generated code would look something like this:
<div class="mfp-content">
    <section> // <-- I need something similar to this...
        [ the grabbed inline content ]
    </section> // <-- ...and this.
</div>

I tried src, markup, markupParse callback, but can't get anything wrapped. Thanks.

Anyone please?

Inline content is content that you provide with a class "mfp-hide" on it, you put anything inside that you want, so add the wrapper there. Please use Stackoverflow for questions like this, this is for bug reports and feature requests.

Thank you for your reply.
Without JS the inline content is (visible) in the normal flow of the document (i.e. at its end). Therefore I cannot wrap it there with what I want as it would alter the document's outline. Styles are inherited from content sections that are missing in the popup, because it's then prepended to the body.
However, I understand I misused the issues panel and will close this now. Sorry for that.


Updated readme to explain jumping to line numbers.

If we'd like more explanation, I can add it. If we want another photo, I'll have to figure out how to get it on f.cloud.github.com

If you can split out the Enter, Shift+Enter and line number stuff into a separate list, I think it would be more readable.

I am the right person to develop

:+1: Thanks!


memory leak in HG_Addr_lookup()

I am calling HG_Addr_lookup() inside an RPC callback, there's a memory leak I cannot get rid of.
Here's what I did:
////////////////////////////////////////////////////////////
HG_Forward(..., my_cb, ...)
my_cb()
{
HG_Addr_lookup(..., my_hg_lookup_cb, args, my_uri, ...);
}
my_hg_lookup_cb()
{
HG_Addr_free(hg_class, callback_info->info.lookup.addr);
}
////////////////////////////////////////////////////////////
Here's the report from valgrind:
////////////////////////////////////////////////////////////
==64503== 86 (64 direct, 22 indirect) bytes in 1 blocks are definitely lost in loss record 58 of 102
==64503==    at 0x4C29BFD: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==64503==    by 0x5502F22: na_cci_addr_lookup (na_cci.c:687)
==64503==    by 0x5501753: NA_Addr_lookup (na.c:596)
==64503==    by 0x52F7E7C: hg_core_addr_lookup (mercury_core.c:1062)
==64503==    by 0x52F7E7C: HG_Core_addr_lookup (mercury_core.c:2622)
==64503==    by 0x5B267F3: my_cb (xxx.c:1288)
==64503==    by 0x52F835C: hg_forward_cb (mercury.c:545)
==64503==    by 0x52F6BE5: hg_core_trigger_entry (mercury_core.c:2188)
==64503==    by 0x52F6BE5: hg_core_trigger (mercury_core.c:2107)
==64503==    by 0x5B281E6: my_prog_thread (xxx.c:192)
==64503==    by 0x4E3CDC4: start_thread (in /usr/lib64/libpthread-2.17.so)
==64503==    by 0x5E23CEC: clone (in /usr/lib64/libc-2.17.so)
==64503==•
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:na_cci_addr_lookup
fun:NA_Addr_lookup
fun:hg_core_addr_lookup
fun:HG_Core_addr_lookup
fun:my_cb
fun:hg_forward_cb
fun:hg_core_trigger_entry
fun:hg_core_trigger
fun:my_prog_thread
fun:start_thread
fun:clone
}

I looked at it and tried with other plugins and could not reproduce it so at least that's better. So it seems specific to the CCI plugin. I'm looking at the CCI plugin now to see what is happening.

I reproduced it with the CCI plugin, seems that the address is not correctly decref'ed, not sure why though...

Still investigating... by the way, which transport are you using with CCI?

I was using tcp

OK. I have an example in testing called test_nested where I have 2 servers talking to each other. It is a little surprising though that it only appears in that configuration as nothing different is done compared to the client, so it's simply some ref count issue within the CCI plugin that I'm trying to track down.

I just fixed another one, but not yours ;) although you may give it a try just in case

I tried it, the leak is still there.


Electric shutters and newer eNET essays Series 5492xx or 5493xx

Hello Magnus,
first of all I would like to thank you for the great work you have put into this integration. I was looking for something usable for the integration of an eNET environment in HA for a long time.
I have quite a large eNET environment with a lot of actuators and radio attachments and I encountered some peculiarities when implementing your integration. All lamps stored on the eNET server were recognized without errors as devices with their entities. Even those that have a dimmer function.
In addition, I have a number of outdoor electric shutters that were also recognized. Here I discovered the first anomaly. These were also detected as lamps with "dimming function". In fact, however, the switch works and lets the shutters move to the 100% or 0% position. When using the slider for the dimmer, they also move to intermediate positions. Here a declaration as "shutter" or "roller shutter" would be nice, because the entity would not talk about "brightness" then. However, another conspicuous feature would be of greater importance: GIRA has changed from the 2000 system to the 3000 system over the years. Here also the correct eNET essays for roller shutter controls or dimmers must be bought, since GIRA ensures by attached "plastic clips" that only these can be used. Here exactly I now have the problem that just these essays were not recognized by the integration. All previous essays (old series 5491 xx) worked as described above. The new ones (series 5492 xx and 5493 xx) are all not recognized.
Can this be easily fixed? Interestingly, the mini roller shutter actuators (eNET) have been recognized without any problems (even as dimmed lights).
If I can provide any further input please feel free to contact me, I will be happy to do so. Also I am available for any further tests of integration with my environment.
Many greetings and thanks again for the great work so far!
Rolf

Hi Rolf,
I have not implemented covers as they are called in home assistant, but chose to have the blinds show up as a light, so that it at least can be controlled from within Home Assistant. You can also change the icon, etc in HA to make it look like a blind.
I will look into having them show up properly when time permits.
For the devices that don't show up, I will need some data to figure out. Can you send me the debug info from the integration? You can go to any enet device and click "Download diagnostics". If you send that to me by email, I will take a look.

Hello Magnus,
I am not shure if my last mail has reached you? I got an error during the send-mail process.
Just let me know if you got the requested diagnostics file.
Regards,
Rolf

Am 16.01.2023 um 23:41 schrieb Rolf Hamel @.***>:
Hello Magnus,
I am very happy to send you the json file from the integration. I have only anonymized a few things for security reasons.
I have already changed the icons and can live with it for now.I also noticed in the meantime that with the multiple actuators "8-fold" the state is not updated in the HA.
I would be glad to hear from you again and am available for tests in my environment. As you can see from the config, this is quite an extensive implementation.
Greetings
Rolf

Am 16.01.2023 um 21:23 schrieb Magnus Nordseth @.*** @.***>>:
Hi Rolf,
I have not implemented covers as they are called in home assistant, but chose to have the blinds show up as a light, so that it at least can be controlled from within Home Assistant. You can also change the icon, etc in HA to make it look like a blind.
I will look into having them show up properly when time permits.
For the devices that don't show up, I will need some data to figure out. Can you send me the debug info from the integration? You can go to any enet device and click "Download diagnostics". If you send that to me by email, I will take a look.
—
Reply to this email directly, view it on GitHub https://github.com/mnordseth/enet-homeassistant/issues/10#issuecomment-1384519461, or unsubscribe https://github.com/notifications/unsubscribe-auth/AR6H2HRF3VZIGU4XR2IJJ73WSWU23ANCNFSM6AAAAAAT4Z34QY.
You are receiving this because you authored the thread.

<config_entry-enet.json>

No I didn't get it, so it would be great if you tried again.
On Sat, Jan 21, 2023, 17:08 rphamel @.***> wrote:

Hello Magnus,
I am not shure if my last mail has reached you? I got an error during the
send-mail process.
Just let me know if you got the requested diagnostics file.
Regards,
Rolf

Am 16.01.2023 um 23:41 schrieb Rolf Hamel @.***>:
Hello Magnus,
I am very happy to send you the json file from the integration. I have
only anonymized a few things for security reasons.
I have already changed the icons and can live with it for now.I also
noticed in the meantime that with the multiple actuators "8-fold" the state
is not updated in the HA.
I would be glad to hear from you again and am available for tests in my
environment. As you can see from the config, this is quite an extensive
implementation.
Greetings
Rolf

Am 16.01.2023 um 21:23 schrieb Magnus Nordseth @.***
@.***>>:
Hi Rolf,
I have not implemented covers as they are called in home assistant, but
chose to have the blinds show up as a light, so that it at least can be
controlled from within Home Assistant. You can also change the icon, etc in
HA to make it look like a blind.
I will look into having them show up properly when time permits.
For the devices that don't show up, I will need some data to figure
out. Can you send me the debug info from the integration? You can go to any
enet device and click "Download diagnostics". If you send that to me by
email, I will take a look.
—
Reply to this email directly, view it on GitHub <
https://github.com/mnordseth/enet-homeassistant/issues/10#issuecomment-1384519461>,
or unsubscribe <
https://github.com/notifications/unsubscribe-auth/AR6H2HRF3VZIGU4XR2IJJ73WSWU23ANCNFSM6AAAAAAT4Z34QY
.
You are receiving this because you authored the thread.

<config_entry-enet.json>

—
Reply to this email directly, view it on GitHub
https://github.com/mnordseth/enet-homeassistant/issues/10#issuecomment-1399279918,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AARX6LB6NAF7DAN5TPGEAW3WTQCWVANCNFSM6AAAAAAT4Z34QY
.
You are receiving this because you commented.Message ID:
@.***>

Hey Magnus, appreciate your great work on eNet! In case you‘re adding better support for covers/window blinds, I‘d be up for testing it, too. Mine are DVT_SJA1 (Centre plate for blinds control). As I want to use them in Homekit, my inner monk is going nuts with them being lights :) Cheers!

Hello Magnus,
after intensive use of v0.94 I notice that the blinds cannot be addressed quite correctly. Coming from a value greater than zero setting to 0% does not lead to a raising (i.e. opening) of the blinds. Here rather a value of 1% must be selected so that something happens.
I also believe that the current status of all actuators should be queried even better. All actuators must be switched on and off at least once, depending on their status, in order to perform the actual action during the third switching operation. Do you see a possibility to improve this?
A few eNet devices are not yet recognized from my extensive configuration. For example, current measurement actuators such as a motion detector that would also provide values for motion and brightness in addition to the connected device (for example, a spotlight).
I would be happy to hear if you plan to continue working on the integration of these devices as well. However, the current intermediate status is really great for eNet users! Thanks a lot for this great work!
Greetings Rolf

Hey Magnus, I've tried the new 0.95b and the covers are integrated much nicer now from my setup. Only the % of open/close seems to be off, but that has been the case in the eNet App, too. I guess it's just passing that problem on. Thanks a lot anyway!

I just made a small fix on the cover position. Enet represents them as 0-100, while HA is 0-255. So it should be better now.
Do any of you have blinds with tilt control?

Amazing! Works a lot better. Thank you! I have classic rolling shutters, not tilting unfortunately. There's still a little "offset", ie "30% open" translates to ~20% openess of the shutter. But I can easily life with that. I guess that offset makes sense as it counts the "dead room" into account that it needs to pull up the shutters, until it actually starts to let light in, if you know what I mean :)

Hi Magnus,
great job -writing this integration.
I'm waiting for that for years and now I love your integration. I have a eNet integration with 31 devices and it is working - not perfect at the moment, but I look forward to further versions with confidence.
My wish is to implement a better support of louvre (shutter) for setting correct positions and better status support from switches by manual use.
If you need some for testing, let me know how I can support you.
Many, many thanks for this Home Assistant Integration! :-) :-) :-)

I have recently made some updates to how the position of blinds is represented. Can you confirm if that is working for you now?
As to the ability to stop the blind, I can see from the enet api that there is some function for it, but I unfortunately don't know what arguments to supply.

Hi Magnus,
first of all I want to thank you for your awesome work you have done with this integration. I was also looking forward to something usable to integrate my eNET environment for a long time.
As you mentioned before, you are in need for additional data for the different devices in the eNet ecosystem.
I've got an extensive setup in my home including dimmer (dali, 1-10v, regular), switches, blinds with tilts, light sensor, universal sender for wind sensor etc. If this can be of any help supporting your work, I'm happy to provide what I can.

Hi Chris, do you have devices that are not supported by the integration?


WIP Rename homebrew formula subdirctory

Rename hombrew formula directory from homebrew-formula to HomebrewFormula based on the homebrew doc.

I made a test on my M1 Mac.  I could install martin on it after this change.

Before this change:
brew tap maplibre/martin https://github.com/maplibre/martin.git
brew install maplibre/martin/martin
Warning: No available formula or cask with the name "maplibre/martin/martin".

After this change:
brew tap maplibre/martin https://github.com/maplibre/martin.git
brew install maplibre/martin/martin
==> Fetching dependencies for maplibre/martin/martin: openssl@3
==> Fetching openssl@3
==> Downloading https://ghcr.io/v2/homebrew/core/openssl/3/manifests/3.1.3
######################################################################### 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/openssl/3/blobs/sha256:297a2c1c
######################################################################### 100.0%
==> Fetching maplibre/martin/martin
...
==> Summary
🍺  /opt/homebrew/Cellar/martin/0.8.7: 3 files, 13.2MB, built in 3 seconds
==> Running `brew cleanup martin`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
==> Caveats
==> martin
Martin requires a database connection string.
It can be passed as a command-line argument or as a DATABASE_URL environment variable.
  martin postgres://postgres@localhost/db

Hi @nyurik   Have a good day :)
Any idea about automatically update the version number in formula in ci. How about  shell command to retrieve version info from cargo.toml?


'Insert and 'Select' quarries run separate thread in swift - 2

'Insert and 'Select' quarries run separate thread in swift - 2 at the same time. Because in swift 2 version "Threads that open transactions and savepoints will block other threads from executing statements while the transaction is open."

@isurukej Everything should be running in the same queue as long as it's the same connection. Do you have code that reproduces the issue?

Thanks your reply, But I mean that when 'insert' more 2000 records in 'transactions' block and run 'select' quarry in that time. So 'select' quarry run after finished finished 'insert' quarries. I think because "Threads that open transactions and savepoints will block other threads from executing statements while the transaction is open." in Swift 2. So I run 'insert' quarries in separate Connection. is that OK?

@isurukej Ah, so it doesn't sound like this is a bug then. You were asking for a feature request to run SELECT statements in a different thread? Let me think about the repercussions of that.

Thanks.

Added to Feature Requests.


Fix TypeError: _version$prerelease.startsWith is not a function (it is undefined)

This PR fixes the following error that happens with<EMAIL_ADDRESS>and<EMAIL_ADDRESS>TypeError: _version$prerelease.startsWith is not a function (it is undefined), js engine: hermes

console.log(version); // {"major": 0, "minor": 75, "patch": 0, "prerelease": 0}

@NickGerleman More issues with the type of 'prerelease'. We changed the type to string recently but we're still setting number values in releases

iOS returning incorrect values for version.prerelease was fixed alongside the typings in https://github.com/facebook/react-native/commit/95d9cdf228e33d5651f41ebf5e14e80962fae118
That could be cherry-picked into RN 0.75 RC, but the issue would also go away on the final release, and next RC process.

@tomekzaw Sounds like you can use a nightly or wait for the 0.75 release

@necolas Sure, will do, thanks!

Here is a pick request for 0.75: https://github.com/reactwg/react-native-releases/issues/371


Defer DHCP on eth1 to fasten deployment

What does this PR change?
Defer DHCP on eth1 to fasten deployment

SLE micro does not use combustion

SLE micro does not use combustion

But it does use network manager. The tests in the second part are about NM.
Ideally, we should also defer in cloud-init case.


COVID-19 data connector

Fetching data via NovelCOVID API. Data source is from JHU CSSE.
Supporting all historical data at the moment.

@googlebot I signed it!


Problems with Student-T distribution

So far following problems with Student-T distribution were identified:

quantile lose precision for p≈0.5 since x becomes close to 1, while p is near zero

quantile :: StudentT -> Double -> Double
quantile (StudentT ndf) p
  | p >= 0 && p <= 1 =
    let x = invIncompleteBeta (0.5 * ndf) 0.5 (2 * min p (1 - p))
    in case sqrt $ ndf * (1 - x) / x of
         r | p < 0.5   -> -r
           | otherwise -> r

Both precision and performance suffer greatly for large degrees of freedom. Reason is likely incomplete beta and its inverse perform poorly for large parameters. However distribution becomes close to normal so other approximations could work!

RE 2.
Quick experimentation with mpmath shows that precision becomes worse for larger NDF. (N of ulps of error proportional to NDF). For very large N mpmath fails itself which I think doesn't bring any good news for algorithm being used...


Adding Algorithm for Camelcase

I want to add an algorithm for converting a text-based sentence into camelCase format
and I will provide the solution code for this problem in C++ language.
Problem Description :
Program to convert text sentences in CamelCase format.
Examples:
1] INPUT: "this is camel case"
OUTPUT "thisIsCamelCase"
2] INPUT: "Hi Atul here"
OUTPUT: "HiAtulHere"
@Kumar-laxmi sir, please assign me this issue.

@zugzwang03 , @Arun9739 Please assign me this issue.

@atul1510 Could you implement this algorithm in all four languages

Assigned!
@atul1510 : C, C++, Java, Python


setting output format hides output in ruff check

When running a ruff check --fix-only there is no output about what errors were fixed. This surprised me, I thought it would still print the fixed error since the documentation about --fix-only says "Like fix, but disables reporting on leftover violation. Implies fix."
Maybe supplying --show-fixes will fix it? Yes,
ruff check --fix-only --show-fixes shows the fixed errors, great!
Can we also get this info in json output format? No,
ruff check --fix-only --show-fixes --output-format json  print nothing! --output-format junit has the same issue.
Ruff version: 0.7.0

❯ ruff check example.py --select I
example.py:1:1: I001 [*] Import block is un-sorted or un-formatted
  |
1 | / import b, a
  |
  = help: Organize imports

Found 1 error.
[*] 1 fixable with the `--fix` option.

❯ ruff check example.py --select I --fix-only
Fixed 1 error.

❯ echo "import b, a" > example.py
❯ ruff check example.py --select I --fix
Found 1 error (1 fixed, 0 remaining).

❯ ruff check example.py --select I --fix-only --output-format json

❯ echo "import b, a" > example.py
❯ ruff check example.py --select I --fix --output-format json
[]%

❯ echo "import b, a" > example.py
❯ ruff check example.py --select I --fix --output-format json --show-fixes
[]%

❯ echo "import b, a" > example.py
❯ ruff check example.py --select I --fix-only --show-fixes

Fixed 1 error:
- example.py:
    1 × I001 (unsorted-imports)

Fixed 1 error.

I don't think this has to do with --fix-only, i.e., it applies equally to --fix. I think we should improve the JSON output here, though I don't think it should rely on the --show-fixes flag.

I suspect that Ruff throws away the diagnostics after each fix cycle. We would need to preserve them and pass them through to the json emitter. This likely requires some special casing in the CLI because we don't want to emit the diagnostics for all output formats (which makes the experience somewhat inconsistent)

I suspect that Ruff throws away the diagnostics after each fix cycle. We would need to preserve them and pass them through to the json emitter. This likely requires some special casing in the CLI because we don't want to emit the diagnostics for all output formats (which makes the experience somewhat inconsistent)

Don't you want to keep all diagnostics until the end and then emit or not depending on the output format?


This type of page is not served

Umbraco ver. 7.11.1
SiteLock ver. 1.2.0
I'm trying to figure out why this error appears, the main functionality is correct (website is locked and returns 403 forbidden if I'm not logged in) but it doesn't show up message from 403-sample.html template. I can access this page directly through the url btw.
Is this some incompatibility with the newer Umbraco version or some misconfiguration in the IIS or web.config?
Thanks

<configuration>

  <lockedDomains>
    <!-- Uncomment to lock all domains -->
    <domain>*</domain>
  </lockedDomains>

  <allowedPaths>
    <!--Regular expressions-->
    <path>^/about(.*)</path>
    <path>/403-sample.html</path>
  </allowedPaths>

</configuration>```

I think you need a web.config setting:
https://www.troyhunt.com/solving-tyranny-of-http-403-responses/


[#178] Use std logger

Not all tests passing yet, first pass at using the standard logger. Closes #178

Moved NOTE to INFO. will move to NOTICE instead.
Moved TRACE to DEBUG.
Used standard logger macros

Thanks for picking up the issue!
It is a bit more complicated since we need to keep these extra levels for fine-granular debugging. It we map LOG_TRACE and LOG_TRACE2 to LOG_DEBUG, LOG_DEBUG will become unusable (too much output and thus rather slow).
Introducing new macros is not possible, though.
So, imho we need to keep for the moment our macros but map them in the logging module to calls to logger.

Fair points but I don't believe that the Erlang logger has a trace level.
Would it instead make sense to move most of the INFO -> NOTICE, and DEBUG -> INFO and TRACE/TRACE2 -> DEBUG?


Add missing Alert import examples

Related Issue
#421

Thanks for catching this

(credit to @jpeterson )


Document the purpose and architecture of the repo in an overview

The document should be 1-1,5 pages long. Consider using a diagram.

Closed in #13


Added the timeout value as a class property so we can change when needed

When generating Let's Encrypt certificates using this SDK, I'm getting some timeouts. Would be really nice if we can change the timeout default value for this cases.

Thanks for your work :) neat and clean


Support for Github Wikis?

Would be amazing to be able to manage a repo/wiki.git.

Hey! I was hoping to enable this when I first added repo support, but GitHub doesn’t expose APIs for managing wikis unfortunately. And so instead of being able to edit repos entirely remotely, I believe GistPad would need to actually clone the wiki repo locally and then synchronize it with the server.
That’s definitely not the end of the world, but it’s not as nice as I’d hope it would be 😁 I’ll take another look at this tomorrow and see how simple it might be to add this 👍

Ah, I see! I haven't poked at the Github API before. Because it's a repo, I would have expected curl -i https://api.github.com/repos/earthspecies/project/wiki to work!
Aye, local clone isn't quite as elegant, but not the worst? On my end I'll likely use repos for wiki content.

After looking into this more, there's unfortunately not a way for me to remote edit a wiki, and it's a bit out of scope for GistPad to be cloning git repos locally and trying to sync them. For now, I'm going to close this, and focus entirely on gist and repo management. That said, if anyone in the community wanted to contributed support for this, I'd be more than happy to collaborate on that. Thanks!


Update fetch to allow downloading binaries from GitHub releases.

It's a pain to download private GitHub binaries as part of a release. Fetch could handle this pretty easily.

Implemented by #13.


[cpp] Support for all the enums

Currently, only isl::stat is supported. We can follow the same strategy as isl::stat and all enums to isl.h.top and generate appropriate static_casts while generating methods. We need to decide on names of enums as the simple rule of removing type name from enums will result in C++ default keywords for some like 	 isl_ast_node_for, isl_ast_node_if etc..

Yes, would be great to support these. I assume that Sven would prefer to auto-generate the enums. We have already a translation table for cases where names conflict with C++ keywords. We can likely reuse this here.

@chandangreddy : Any plans to move this forward. I think it would be great to see some of the isl ast interface to be exposed.

@tobig Yes, I have modified the generator to handle all enums uniformly. It basically strips isl_ from the name of enums and does static_cast whenever necessary. But I assume that all the enum classes are defined manually in the isl.h.top. I think, it not worth the effort to generate enum definitions automatically, given the limited number of enums that we have. Could you please share the translation tables that is agreed upon?
I can send PR for handling enums with their definitions in isl.h.top.

@chandangreddy : Thanks for looking into this. I am slightly confused what you mean. You say you modified the generator, but prefer to add manual declarations of enums to isl.h.top? This seems to be inconsistent?
I personally believe for small enums which are unlikely to ever be extended we can indeed just copy the declaration to isl.h.top. isl_dim is such a case. Maybe we should start with this and a couple of related functions?
Larger enums (such as the ones in the AST generator) are likely better auto-generated.
The translation table is part of interface/cpp.cc:
/* An array listing functions that must be renamed and the function name they
 * should be renamed to. We currently rename functions in case their name would
 * match a reserved C++ keyword, which is not allowed in C++.
 */
static const char *rename_map[][2] = {
        { "union", "unite" },
};

and is still mostly empty.

@tobig The generator modifications are to generate static_casts in the methods like
enum isl::ast_op_type ast_expr::get_op_type() const {
auto res = isl_ast_expr_get_op_type(get());
return static_cast(res);
}
isl::multi_pw_aff multi_pw_aff::add_dims(enum isl::dim_type type, unsigned int n) const {
auto res = isl_multi_pw_aff_add_dims(copy(), static_cast(type), n);
return manage(res);
}
The enum declarations are manually added to isl.h.top.
My question was did you guys had discussion regarding translation for other C++ keywords like for, id, and, or etc...?

Thanks, now i understand your use of the generator.
No, I don't think we had a discussion here. You may have a look at these two patches:
https://github.com/simbuerg/isl/commit/1a95bcc0c951e65ad6dbf5f060c50a4a2dfa401d
https://github.com/simbuerg/isl/commit/4be4dd0440c2cc1c253b7fea939761f6c6d3f862
https://github.com/simbuerg/isl/commit/a0520508b00a88fb22829b2de83a2af4278d09af
for how enums in general can be added to the generator.
However, to spark the discussion a minimal patch with the enum in isl.h.top and the small code generator changes might be a good start.


Possible logic error in dpc_reduce example code

I think the following code has a logic error in lines 657-666: https://github.com/oneapi-src/oneAPI-samples/blob/master/DirectProgramming/DPC%2B%2B/ParallelPatterns/dpc_reduce/src/main.cpp.

The if-test on line 657 has MPI rank-0 calling the DPC++ kernels to force JIT compilation. The programmer assumes that the rest of the MPI communicator will have access to the master’s cached JIT compilations. The other MPI ranks are separate processes, so they won’t have access. Contrary to the programmer’s expectations (specified on lines 660-662), the other MPI ranks will still perform the JIT compilations when the DPC++ kernels are first invoked.

Hi Henry,
Thank you for pointing out the concern. But in the application, only the master MPI rank (rank 0) needs to execute these kernels (lines 663, 664, 665, 666), and other MPI ranks don't. Therefore, the other ranks don't need to have access to master's cache JIT compilation.
The three comment lines (660, 661, 662) are not correct and should be removed.

Thanks Loc. I'll update the code in my fork and submit a pull request.