Indexing is not explained

Hello,
On the 'Split' function the first indexing number is not clear. Whereas in programming the indexing starts from 0, here it starts from 1.
https://docs.microsoft.com/en-us/azure/active-directory/app-provisioning/functions-for-customizing-application-data#item
Can you please add an note/explanation to the documentation regarding this remark.
Thank You

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

ID: c8685339-06af-5bb1-64da-80c16878b0bf
Version Independent ID: 1ee0d812-00de-90cc-f5e2-d53e3b610bf0
Content: Reference for writing expressions for attribute mappings in Azure Active Directory
Content Source: articles/active-directory/app-provisioning/functions-for-customizing-application-data.md
Service: active-directory
Sub-service: app-provisioning
GitHub Login: @kenwith
Microsoft Alias: kenwith

@pavelrozenberg Thank you for your feedback . However I wanted to clarify if you are talking about the item function because it is the one which has the index value example ?  The split function does not take index parameter .

Please confirm and we will have this reviewed and actioned appropriately .

@pavelrozenberg Thank you for your feedback . However I wanted to clarify if you are talking about the item function because it is the one which has the index value example ?  The split function does not take index parameter .

Please confirm and we will have this reviewed and actioned appropriately .

@pavelrozenberg - I can definitely add a note. However, I am not fully following what is needed.
Looking at the reference article the Split function https://docs.microsoft.com/en-us/azure/active-directory/app-provisioning/functions-for-customizing-application-data#split looks like it takes a string that is a the source to be split and also the string that should be used to split the string.
The Item function https://docs.microsoft.com/en-us/azure/active-directory/app-provisioning/functions-for-customizing-application-data#item takes a multi valued attribute and the index for the item in question. In the example it is passing in the 1 which I agree is the second item.
Do you think a note needs to be added to the example in the Item section that notes the second item in the multi value attribute is being returned?

@pavelrozenberg - I can definitely add a note. However, I am not fully following what is needed.
Looking at the reference article the Split function https://docs.microsoft.com/en-us/azure/active-directory/app-provisioning/functions-for-customizing-application-data#split looks like it takes a string that is a the source to be split and also the string that should be used to split the string.
The Item function https://docs.microsoft.com/en-us/azure/active-directory/app-provisioning/functions-for-customizing-application-data#item takes a multi valued attribute and the index for the item in question. In the example it is passing in the 1 which I agree is the second item.
Do you think a note needs to be added to the example in the Item section that notes the second item in the multi value attribute is being returned?

I went ahead and added clarification that 1 in the example is returning the second item. Thank you for the feedback and let me know if you spot other areas that can be improved.
#please-close

I went ahead and added clarification that 1 in the example is returning the second item. Thank you for the feedback and let me know if you spot other areas that can be improved.
#please-close


defining regulatory regions, enhancers, silencers

Summary of email to 14 Feb 2019
Astrid:

Did we get suggestions yet from the ‘gene regulatory region’-experts on which ontological terms and hierarchies (DAGs) we should create for the regulatory regions outside of the promoter?
Would all of these other regulatory regions fall under the categories “enhancer” or “silencer”?
Do we have good ontological terms for these?
Will it be correct to state that promoter, enhancer, silencers are non-overlapping regulatory regions (in terms of DNA-sequence), or would they just be distinguished by their function? (I guess the latter is the case)
Is it correct, that all reglatory motifs (or transcription factor binding sites), like “CRE”, “CCAAT_motif” etc, would be part of either promoter or enhancer or silencer (or other regulatory region to be also defined?)

Jacques:

About enhancers and silencers, I think the concepts should be discussed: in metazoa, a same region can be enhancer in one tissue art a given development stage, and silencer elsewhere or at some other stage.
The definition of silencers / enhancers should be related to the methodology originally used to define them: via progressive deletions of the "promoter" (i.e. upstream region), and by comparing the level of expression each time a piece of regulatory region is deleted.
I join a few definitions I wrote in 2014 for the Concise Encyclopaedia of Bioinformatics, they can certainly be improved but they could already serve as a starter.
Dictionary of Bioinformatics Jacques van Helden was attached as a pdf to the emails, if anyone would like a copy of this please contact Jacques van Helden directly.

Val:

I agree,  even in yeast the same motif can be an activator or a repressor in different contexts.
We have captured repression /activation at the GO MF and BP  level on the gene product, and used the SO motif as a target of the  DNA binding term.

Astrid:

so, enhancers - via the protein- (and ncRNA?)-binding motifs localized in such regions - can engage protein complexes with varying composition (and post translational modifications) and such complexes can promote or repress transcription at the target gene in question (depending on the nature of the complex which, in turn, is determined by biological context)

to my knowledge, these DNA regions' label as "enhancers" does not change depending on the outcome of the influence from complexes bound to them, on transcription; they do not change label to "silencer" even if they engage transcription repressing complexes,  - am I right?

is it analogous with silencers?

Can they engage protein(/RNA?)-assemblages that can either promote or repress transcription?
Or do they only engage in transcription repression processes?

Ruth Note:

Discussion on motif v site etc summarised here: https://github.com/The-Sequence-Ontology/SO-Ontologies/issues/460
Discussion on promoters https://github.com/The-Sequence-Ontology/SO-Ontologies/issues/457

Current definitions for these 2 terms:

SO:0000165
enhancer
http://www.sequenceontology.org/browser/current_svn/term/SO:0000165
A cis-acting sequence that increases the utilization of (some) eukaryotic promoters, and can function in either orientation and in any location (upstream or downstream) relative to the promoter.

Hi @RLovering,
I believe this issue has been cleared up since August 2019, but I never closed the ticket. I am going to close this issue request, but feel free to re-open this request or create another one if anything is still out of place.
Thanks,
Dave Sant


Support for Go file type

Hello Alek,
Thank you for the feedback.
I am working on enabling through the UI the ability to add/remove file types to be checked.  I think this should take care of what you need.
Cheers,
Jason

Hello Alek,
I have added the ability to configure other programming languages.  This is currently only supported through the preferences in User Settings or Workspace Settings.
Cheers,
Jason


Wrong operation metadata returned by Azure Search RP [arm-search]

Operation metadata returned by Search service is inaccurate (some operations are not working and some are not listed)
Additional APIs listed (but are not implemented) in (https://management.azure.com/providers/Microsoft.Search/operations?api-version=2015-08-19)

Operations on diagnosticSettings
Operations on metricDefinitions
Operation on logDefinitions
Microsoft.Search/searchServices/queryKey/read
Microsoft.Search/searchServices/queryKey/delete

There are missing action in the operation metadata
Like get on listQueryKey, deleteQueryKey which are listed on https://msdn.microsoft.com/en-us/library/azure/dn832684.aspx

/cc @brjohnstmsft

I've added the missing query key operations in the latest Swagger: https://github.com/Azure/azure-rest-api-specs/pull/637
The diagnosticSettings, metricDefinitions, and logDefinitions operations are internal implementation details of the AppInsights feature and are not meant to be exposed through ARM directly (from any RP, not just Search).
Regarding API design choices, our RP was designed long before the ARM contract was stable. We'll consider improving the API the next time we have to make major changes to it.


There is some bugs when I set the property of maxLength for TextFormField.

When the length of the word I have write is length than the maxLength ,  I continue tap in the keyboard quickly or I delete the word,  the app shut down.
The output of logs:

2020-05-28 17:37:03.276263+0800 Runner[5229:1261969] flutter: Another exception was thrown: NoSuchMethodError: The method 'findRenderObject' was called on null.
2020-05-28 17:37:04.268141+0800 Runner[5229:1261702] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFString substringWithRange:]: Range {28, 2} out of bounds; string length 29'
*** First throw call stack:

Hi @FallInLoveMyGod
Can you please provide your flutter doctor -v, your flutter run --verbose and a minimal complete reproducible code sample.
Thank you

I have the same problem.

2020-06-09 10:45:47.533399+0800 Runner[9795:2015137] [general] Connection to daemon was invalidated
2020-06-09 10:46:27.028370+0800 Runner[9795:2014994] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFString substringWithRange:]: Range {0, 8} out of bounds; string length 7'
*** First throw call stack:
(0x18d2155f0 0x18cf37bcc 0x18d26b0cc 0x18d26b1bc 0x18d0fa934 0x1910dd820 0x1910f286c 0x1910f2d48 0x1910f2e7c 0x1910f18a8 0x1910f1a5c 0x1910ebe50 0x1910f7950 0x19110fb50 0x19111008c 0x19110eac0 0x19110fa70 0x18d21b760 0x18d0ecb40 0x19162b130 0x18d192fb8 0x18d18deac 0x18d18e328 0x18d18dc34 0x1972d738c 0x1912c022c 0x1002843a0 0x18d015800)
libc++abi.dylib: terminating with uncaught exception of type NSException

My way of reproduction is:
Limit the textfield's MaxLength = 8. Keep inputting, deleting, inputting, deleting, inputting, and holding the delete key of the soft keyboard, it will flash back soon.

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.


Write proper update mechanism

THe idea is, that we are going to add features over time to the repositories. This will require an update mechanism for the "old" repositories in order to add those features to those. The GitRepository has a diamondCut function which allows adding, replacing or deleting facets. Only the factory should be able to call this function and not the owner.
Therefore, the factory requires and update function, which allows it to call the diamondCut function and update it!
The owner should not be able to do it since he could load some arbitraty code!

This is just a test reopening. Ignore it :)


[CodeCompletion] Don't attach attr to decl if blank line exists

@#^COMPLETE^#

public func something() {}

In this case, we can't say the user is adding attribute to the func or starting a new declaration. So if there're one or more blank lines after the completion, suggest context free attribute list.
rdar://problem/50441643

@swift-ci Please smoke test

Modified to suggest context-free attribute list if the next token is isAtStartOfLine().
@benlangmuir How does this look?

@swift-ci Please smoke test

@swift-ci Please smoke test


Switch to using a go git package

Right now we're shelling out to the git command line client to manage git remotes. This is finicky and git version dependent.
Ideally we would use a library so we don't have to use our picky git output parsing code.
This best option right now is https://github.com/libgit2/git2go However, it's based on libgit2, a C library. This removes the option of cross compiling and adds 5 MB to the binary, making it a non-option right now.
I don't think this is anything we can fix soon, I intend this issue mostly to highlight technical debt.

This issue was moved to teamhephy/workflow-cli#20


Set default pool to first data pool for tiering

Describe the bug
Currently, the default storage pool is set to system, but to behave similar to the standard policy file if there are any data pools other than system those should be the default.
How to Reproduce?
Please list the steps to help development teams reproduce the behavior

Have a storage system with multiple pools, some of which allow for dataOnly or dataAndMetadata.
List the policy file and the default SET POOL rule for CSI will be system instead of the expected pool

Expected behavior
The default pool for file placement on files that don't match any SET POOL rules should default to the first data pool.

@drolsonibm could you please verify and close this?

I had verified this a while back so I am going to close out. I had verified that it worked with system pool as the only pool, and a few data pools and the first one maintained it's ordering from the gui request and set it appropriately.


Store node names/IPs in ./.kube-spawn/

Currently, kube-spawn does not store any state (list of nodes with their names and IPs). It relies on machined to know what nodes are running. However, it causes some problems:

a developer cannot run several tests in parallel: the names of the nodes will conflict
to get the IPs, #36 parses the output of machinectl list but the format of output changes from one version to another.

I would store the state in ./.kube-spawn/ in the same way than Vagrant stores its state in ./.vagrant/.
Then, the commands kube-spawn init and kube-spawn destroy would use the state in .kube-spawn/ to know which nodes to init/delete.

Replaced by #137


Update user documentation

After feedback from Christian Lange, I think we need to add some more instructions in the attached document (page 5).
At the moment, we have this:
_Clicking on the link in the slack channel will take you to the Github page: https://github.com/NHMDenmark/Mass-Digitizer/releases
Here you will see be all of the releases of the app.
Select the newest release and it will now download onto your computer. Once it has been downloaded, you can install it._
But I think we need to add screen shots of the list of releases, then clicking on the top one and then arrow to the .exe file to click on. We then need to show what happens in your browser and where to click to start installation (show examples using Firefox and Chrome). Mention that Explorer might not work. Also show where downloads go in downloads folder in case it is easier to look there.
Incidentally when doing screen shots, please embed arrows in the image. Please also try and be consistent with colour and weighting of arrow so there is a sense of consistency through the document.
And perhaps also mention somewhere that currently we are only supporting windows, but hope to include mac users in future iterations – perhaps put that in trouble shooting.
Finally - we should add into the troubleshooting section, information on how to get log files if there is an issue?
Mass Digitisation App workflow and user guide v1_final.docx

User Guide updated wit detailed instructions and screenshots in the guide.


Revert "Reland "Clipping if only one character text overflows (#99146…

…)" (#102130)"
This reverts commit 3f43d9f3d4105d4190c839e087c42d79ebe092e8.
reverting on candidate branch. luci-tree on master branch is currently broken.

LGTM, but what happened to the other revert PR? https://github.com/flutter/flutter/pull/106964

That one was to master, this one is to the candidate release branch.

Ah got it, thanks!


projects become "Not Whitelisted" (but they are in whitelist)

In the "list explainmagnitude" output VGTU is shown as "Not Whitelisted" (A) (D)
2h ago (B) (C) it didn't show that comment
I assume with the new superblock something changed
Gridcoin version <IP_ADDRESS>, linux
(A) here is the date from the NN Host version line: Time: 11/21/2016 2:39:03 AM
(B) Time: 11/20/2016 4:27:30 PM
(C) the 2h ago is from my system time, since I know when I executed the commands
(D) though it is in the whitelist: in the wiki and in the Whitelisted_Project_Leaderboard

related ? #152

today came a new superblock, and with it the "Not Whitelisted" disappeared

since ca. 13.5h: 3 BOINC projects have become "Not Whitelisted"
Gridcoin <IP_ADDRESS>

My NeuralNetwork now only show SRBase and VGTU, have synced several times and got diffrent hash but still no change.
I did try to delete NN folder and restart after syncdpor2 it got back with only 2 project listed. Wallet have now started to use this stats and magnitude now got from around 5800 to 9800. NN show now 3200 from.
My NN hash start with 94003ca.... and popular hash f06593e.....

analysis of !stats shows that we've "lost" like 47% of the data of the usual clients

Can you analyze your debug2.log please?
I'll check my windows node.

I have a windows client and noticed a steady drop of of connections around the latest superblock..
I have re-booted my client and it is struggling to get more than 11 connection at this time.
My NN is showing everything as it should be and there are no discrepancies.

About four hours ago, all projects in my Windows client except lhc@home classic, moowrapper, srbase and VGTU@home became "not whitelisted". As a result my magnitude dropped significantly, but everything else seems to be just fine.
list explainmagnitude shows my magnitude as it was before.

Last superblock at 750766 reported the following valid projects.
<database name="gridcoin">

        <column name="projectName">lhc@home classic</column>
        <column name="avgRAC">670.00</column>
        <column name="totalRAC">143333.33</column>
        <column name="blockId">750766</column>

        <column name="projectName">moowrap</column>
        <column name="avgRAC">60666.67</column>
        <column name="totalRAC">8260000.00</column>
        <column name="blockId">750766</column>

        <column name="projectName">srbase</column>
        <column name="avgRAC">57000.00</column>
        <column name="totalRAC">2568571.43</column>
        <column name="blockId">750766</column>

        <column name="projectName">vgtu project@home</column>
        <column name="avgRAC">6320.00</column>
        <column name="totalRAC">412000.00</column>
        <column name="blockId">750766</column>

</database>

since ca. 13.5h: 3 BOINC projects have become "Not Whitelisted"

good news: all projects in my explainmagnitude output show they are again whitelisted

Does anybody know why this happened? In my opinion the issue should stay open until the cause is known and resolved.

Yes, the project white list beacons expired, I renewed them.

happened again :-(
this time lhc@home has "not whitelisted" status
why can't the process work like this:
drastic change (e.g. 50% less than yesterday): so, keep yesterday's value

happened again :-(
again lhc@home has "not whitelisted" status

happened again :-(

again lhc@home has "not whitelisted" status
and moo wrapper also

Really strange you should say that Erkan, the windows client is showing both lhc@home and moo wrapper are whitelisted. As you know my wallet runs 24/ 365 and  at Superblock Age: 77913 they are both there. Must be another aberration.

now both are also showing ok for me
strange...

I think it happens as the Neural Network populates and some of the project's beacons are read later than others, as they are recorded on different blocks.

Time to close this issue, focusing on more recent SB issue scenarios?

Agree. SB consensus has been reworked since this issue was open. A new issue should be filed if there is a need to.

this should be closed.


Support for Kotlin 1.4

Kotlin 1.4 brings us new *shiny* IR backend which has it's own set of extensions for codegen. Current ones (ExpressionCodegen and the one for js) doesn't seem to be supported anymore.
Noticed it in practice while trying this with IR enabled. I know that it is a bit too early, but would be nice to have :)

I have branches setup with Kotlin 1.4-M2 and they build fine. Do you know when this will start to break? Also note that IR has little value for this project, because Dagger is JVM only.

I am not sure when this will be enabled by default, but it is supposed to be new default backend for all the platforms from my understanding. Maybe it is going to be enabled later, but afaik they target 1.4 as a release for this.
Regarding breaking it, I just had IR enabled on my testbed project, so that's why I have noticed it in the first place. As I mentioned, it is still quite early for this, but may become relevant closer to 1.4 release. :)

Ah, I changed the title. I haven't tested with the new IR backend, yet.

To enable the IR backend we can use the free compiler args and the -Xuse-ir flag.

I changed the title to only support the IR backend. I heard that Kotlin 1.4 will be released without it and it'll be optional. It may be required for Kotlin 1.5.

https://kotlinlang.org/docs/reference/whatsnew14.html#new-jvm-ir-backend


Not working

Checklist

[ ] I'm reporting a broken site support issue
[ ] I've verified that I'm running youtube-dl version 2021.12.17
[ ] I've checked that all provided URLs are alive and playable in a browser
[ ] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[ ] I've searched the bugtracker for similar bug reports including closed ones
[ ] I've read bugs section in FAQ

Verbose log

PASTE VERBOSE LOG HERE

Description

WRITE DESCRIPTION HERE

Garbage, to say the least.


Subqueries via Merge()?

I'm struggling to translate this kind of JS-driver query into gorethink. It's basically a multi-subquery situation similar to this.
r.db("test").
  table("items").
  merge(function(x) {
    return {
      user_1: r.db("test").table('users').get(x('user_1_id')),
      user_2: r.db("test").table('users').get(x('user_2_id'))
    }
  })

I've tried stuff like this with no luck:
res, err := r.Table("items").
  Merge(func(row r.Term) interface{} {
    return map[string]interface{}{
      "user_1": r.Table("users").Get(row.Field("user_1_id")),
      "user_2": r.Table("users").Get(row.Field("user_2_id")),
    }
  }).
  Run(DB)

res, err := r.Table("items").
  Map(func(row r.Term) r.Term {
    return row.Merge(map[string]r.Term{
      "user_1": r.Table("users").Get(row.Field("user_1_id")),
      "user_2": r.Table("users").Get(row.Field("user_2_id")),
    })
  }).
  Run(DB)

I might end up denormalizing the key user attributes within these records cuz the subquery performance is kind of bad. But curious as to how I would accomplish it with gorethink.
Thanks for a great go driver!

Hi @keighl,
I cant see anything wrong with your first query and after running the query myself I get the exact same value when running both the Go version and the JS version. Could you explain exactly what issues you are having with your queries and that should hopefully make it a bit easier to answer your question.
Thanks :)

Hey @dancannon thanks for getting back to me. The user_1, user_2 attributes were returning nil.
However, I fired it up again today, and now the fields are hydrating appropriately. Must have been me doing something dumb!


Implementation of shows counter function

@BANCUNGUYE66 Please kindly review this pull request
In this branch,

I added showsCounter function and displayShowsCounter function
I modify the index.html to display the shows count dynamically

Congratulations, your code looks very awesome! Nothing to say only to say that you can merge it 👍🏾


Recursion: Existential types behave badly, not clear what methods to use.

The present code using inner types and structural bounds needs a lot of casting and makes it hard to see what is happening.
It is not clear what functions to call for recursion.

Clean up done. Errors persist (different issue)


Prepare test coding environment

https://qiita.com/everylittle/items/1a2748e443d8282c94b2

Adding workflow and badge


Downloadmanager Message "2 files are downloaded" is not removed after error

QuickDic version 5.3.8 (91) from fdroid
device android-4.2 tablet, german locale, not rooted
QuickDic-directory /mnt/extsd/quickdic  (directory on external sd card where all apps have write permission)
yesterday i startet downloading 3 dictionaries: de-en, de, en
de-en download finished successfully but battery was nearly empty so i disabled wlan to avoid shutdown
after conecting the tablet with power i reenabled wlan so that download can resume.
since then (8 hours ago) messagebar contains "2 files are downloaded" and the progressbar is frozen.
i have rebooted the tablet, but the message "2 files are downloaded" is displayed again.
I found no way to cancel the download

Normally, a download can be cancelled by pressing the same download button again. If that works across downloads is a bit of a question of luck.
But otherwise neither the notifications nor the failure to resume download has anything to do with this app really - that is all handled by the standard "Download Manager" Android component. Unfortunately that app seems to contain some of the most incompetently written code in Android, and it seems that a lot of vendors like to break it even more for no reason.
In the 5.3.9 version you can via menu entry "manual download" get to the download page and download via some other app.

after one week of "still downloading" i killed the download manager, cleared it-s data and then exactly one download through the dl-manager was possible. a second download showed the same symptom. maybe some resources are note freed or it has something to do with my android-4.2. the other dictionaries i loaded via "manual download" which worked without problems.
on the same a-4.2 device the app download via downloadmanager works well with the fdroid-app-store-app.

I am pretty sure the F-Droid app does not use the DownloadManager app but instead re-implements the whole thing, see: https://gitlab.com/fdroid/fdroidclient/tree/master/app/src/main/java/org/fdroid/fdroid/net
A lot of apps do it, but I find it completely unreasonable for me to re-implement a core OS functionality.
If I could reproduce the issues I could possibly at find a workaround, but nowadays it seems to work ok for me.
Normally the cause is companies like Samsung letting their full software incompetence loose on the DownloadManager app, with the result that it is completely broken, but in 4.2 the original Android version was likely quite buggy as well (but custom ROMs are almost always less buggy - though I don't blame you for not wanting to go that route).


Improve raster overlay error reporting and handling

Previously, if a raster overlay tile provider ran into an error while loading overlay images (for example, if a WMS server returned an error because it didn't support EPSG:4236), those errors were ignored, and the tileset wouldn't show up at all. This was pretty unhelpful for users, who had no way to learn what was happening except by using the debugger. With this PR:

Errors loading raster overlays are logged.
Raster overlay failures will no longer stop the geometry tile they're attached to from rendering. Instead, once the image load fails, the geometry tile will simply be rendered without any raster overlay.

@kring This looks good to me! I wanted to verify the behavior where tilesets can still load with erroneous overlays, but if I don't get to it in time it's okay to merge.

@kring I tested this in Unreal with a Cesium ion raster overlay draped on CWT, and set it to a non-imagery asset ID (like 1). Unfortunately this did prevent CWT from rendering. But maybe this case is special?
In any case I also tested this with an invalid WMS base URL, and found that it still prevented CWT from rendering... I swear I'm using this branch and that I rebuilt the extern folder. :')

Do you see something different?

That should be working now @j9liu. I was testing with raster overlays that could successfully create a tile provider, but then all of the tile loads failed. In your (perfectly valid) test, the tile provider creation itself was failing. That's handled now, too.


Fix failing to load data/db/index file on non-Win desktop platforms

PR Details
Description
On Linux, on creating simple empty window app by simply calling Game.Run(), Stride will throw FileNotFoundException: Could not find file myproj/net6.0/data/db/index. This bug should also appear on macOS in the same way.
I have now extended setting isReadOnly variable to false for all desktop platforms, so that the index file doesn't have to be created manually. Tested on Fedora 38, Windows 10.
Types of changes

[ ] Docs change / refactoring / dependency upgrade
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist

[ ] My change requires a change to the documentation.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.
[x] I have built and run app on Linux and Windows

I had the same issue with Linux code only. I had to copy that file manually from Windows 🤣

I always created the file manually and it worked too. This isn't invasive change and will make running the game less annoying 😃

Nice one, thanks!


k8s otel-collector

Overview

Checklist

[ ] New and updated code has appropriate documentation
[ ] New and updated code has new and/or updated testing
[ ] Required CI checks are passing
[ ] Visual proof for any user facing features like CLI or documentation updates
[ ] Linked issues closed with keywords

cc: @sysrex

testground run composition -f compositions/cluster-k8s/pfd-400.toml

then
testground run composition -f compositions/cluster-k8s/pfd-1100.toml


Error in the log

Module start but no camera presend or detected

The dev has to fix this, it's not on your side.


Marburg genome and proteome + 1 row in 4 QC tables (NGS, Assembly, Biosample, Site + BCOs for all)

Rows in 4 tables and new/updated BCOs. Tables and BCOs are lab specific (ngsQC, assemblyQC, siteQC, biosampleMetaData) ; (NGS, Assembly, Biosample, Site + BCOs for all)

complete


Bot Starting issues

Hello, and sorry I'm not sure this is actually a bug, maybe it's just me not doing it properly, like a syntax problem.
Stopping a given bot by typing !stop works well, I don't know if specific main group or any (other) connected bot private chat !stop < BOT > exists or works. My problem is for (re)starting a bot:
(Note: the form breaks my < > formatting so I had to change slightly your start BOT syntax, just remove the spaces)
I've read the instructions for starting the bots : !start < BOT > so I tried for instance "!start 1 Name" (for instance where 1 Name.xml, 2 Name.xml, 3 Name.xml, etc... are my bots XML files, the numbers and space are for easier sorting) but the bot didn't start. Should I have typed !start <1 Name> or <1 Name.xml> ?
I've also tried !start ActualBotNameInSteam but it didn't work either.
I suppose I have to type these commands in the main chat window, the bot being disconnected not being physically present in the chat. I guess sending this command to another bot via its private chat window (while this feature, if it isn't implemented yet, could be useful) won't work either/at all?
Also, about Master to Bot trading, for this function to work: is it mandatory for the Master to have a defined Steam API key? In other terms, I didn't want to add it to the master's XML, for let's say security reasons, unless it's absolutely needed, especially regarding unsollicited trading or else, but maybe it's required?
By the way the Master has an XML "Master" steam id defined to itself... I suppose like the rest of the bots this master one wasn't supposed to be kept at "null"?)
PS: Merry Christmas :)

Bot should have no spaces in the config.

Setting API key, SteamMasterID and other bot-like properties for master is pointless because master is not supposed to receive keys or accept trades, because he's master himself. So it's totally fine to leave those variables with their default values.


C# code to features

Most analysts will read decompiled C# code. Can we A) create an utility to parse code segments to features (e.g. using capa-scripts portions) or B) even better allow to include verbatim C# code in rules?
A)
Given a code line
HttpWebRequest r = System.Net.WebRequest.Create(<url>)
r.Method = "Get";

We extract the respective features.
B)
- features:
  - code: >
         HttpWebRequest r = System.Net.WebRequest.Create(<url>)
         r.Method = "Get";

Would this be worth the effort?
Ref
Idea came to me from here:
Ok, I'm having trouble following this. Can you include a comment of an example code snippet?
Originally posted by @mr-tz in https://github.com/mandiant/capa-rules/pull/601#discussion_r942190106

Do you imagine we treat option B as:

regex expression to execute over source code
source code from which capa extracts features for matching (essentially option A integrated directly w/ capa)

The 2. (added a clarification in the original post)
The code feature would require adhoc feature extraction...
Con:

breaks existing paradigm
extracted features not easy to see

Pro:

easy to write and read by humans

Currently, I'm leaning towards using a separate step (option A) with a helper script that takes source as input and outputs the extracted features. Then we can add a comment of the code sequence in the rule.


Casting sun form permanently disables Fiery Body

After casting the 9th level angel spell sun form your character becomes permanently immune to fiery body. forcefully removing the sun form buff (using toybox) removes this immunity until sun form is cast again

Are these both polymorph tagged?
On Mon, Jun 17, 2024, 14:30 Zrilian @.***> wrote:

After casting the 9th level angel spell sun form your character becomes
permanently immune to fiery body. forcefully removing the sun form buff
(using toybox) removes this immunity until sun form is cast again
—
Reply to this email directly, view it on GitHub
https://github.com/Vek17/TabletopTweaks-Base/issues/715, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAWSQPHXZATS7IK2XIGOCATZH42MZAVCNFSM6AAAAABJOTL546VHI2DSMVQWIX3LMV43ASLTON2WKOZSGM2TQMBZGQ3TEMQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Sun Form does not visibly have the tag at least since it's an abjuration spell and the mod removes the incorrect Polymorph tag from flame body, you can also still benefit from both spells as long as you cast flame body first


Game crashes as I press convert replay

It just freezes my mouse and closes the game after pressing "convert replay"

Same here


How can I get  "YOUR ADDRESS" and "YOUR PRIVATE KEY"?

First of all, thanks @shanefontaine  for making this library!
Secondly, I have a humble question:
I am using metamask .And I don't how to get  "YOUR ADDRESS" and "YOUR PRIVATE KEY". How can I have them?

In fact, I can!
And I am going to close this issue.

In fact, I can!
And I am going to close this issue.


Issues in Assessment app.

Describe the bug
In the assessment app the issues are as follows:

[x]  The loading animation in portrait mode looks like zoomed out.
[x] In the main screen the position of the sound button is not proper.
[x] For 1 question we can give multiple answers, and that many stars will appear in the header.
[x] Once we complete the assessment and exit the app, again if we open the app the play button is not clickable.
[x] In offline mode the assessment is not playable.

Screen Record
https://github.com/curiouslearning/FeedTheMonsterJS/assets/99384703/b73409f9-ea83-459d-a093-55fadbe120fd
Smartphone (please complete the following information):

Device: MI Note 6 pro
OS: Android 9

The stars appearing in random spots is intentional so we can take that off the list.

Ok Ben.

Hi @dz4va Rakshith has fixed the above ticked issues and the last one is said to be fixed by you.
Kindly merge Rakshith's PR whenever possible we will have QA test it.

Ready for testing

Here the 3rd point, we are still able to give multiple answer in 1 question.
https://github.com/curiouslearning/FeedTheMonsterJS/assets/99384703/54a2e06e-a4d7-49d1-a102-4cdf7b44a00e

@burrage @dz4va Whenever we give an answer and move to the next question should the audio play automatically even before clicking on the sound button?


Allow auto-resize of column to resize to fit all data in the column

Currently auto-resize only fits on-screen data. Understandably this may not be possible in the general case without requestion all the data, but in cases where all the data is available in memory it would be possible.
An alternative to implementing this in the library would be to simply expose an event fired when a column boundary is double clicked. The event would pass a function for measuring cell width given a passed in string (padding + string width). Client code can then compute the max width and set it in the columns param.

I mean I could add this... How many rows do you have? I can definitely see measuring 10k or so rows to size a column starting to take seconds. It's not a cheap operation.

We probably have rows in the realm of 5-10k. Would it really take that long? If so then not the end of the world not to have this.

Okay thank you for the reproduction case. I see the error now, it has to do with using a controlled gridSelection vs an uncontrolled one. I don't know why yet.

Woops wrong bug for that comment.

It would take a considerable amount of time due to the excessive number of measure calls. How homogenous is your data in the rows? Are there likely to be obvious bits that are "oh this is a good candidate to be the widest boy" and "this obviously wont be it"?

For some columns yes. The would probably be some clever ways to estimate the width of the largest column (e.g. caching letter widths and summing them).

we already have a clever way of doing that ;) I am also the author of canvas-hypertxt which was kind of built for this reason.

This is done


Add Colibri app

Hi, @steverandy. Thanks for the submission. Are you affiliated with this project? Want to make sure the project owners approve of featuring it here.
Also, this needs to be rebased.

@zeke yes I'm the project owner.
I have rebased my fork. Please check.
Thanks.

👍


[nrf noup] soc: nordic: add delay after wake up

An additional delay after wake-up is needed.

Can you add a comment with why this is needed?

To my understanding we shouldn't do the delay method but just wait for a proper fix in sysctrl that doesn't turn on closed loop for fll16m. or is this supposed to fix something else?


Try build ic again after update crystal to 1.12.1, but get ic 1.11.2

My current crystal was compiled by myself, and update into 1.12.1
 ╰─ $ cr version
Crystal 1.12.1 [4cea10199] (2024-04-11)

LLVM: 17.0.6
Default target: x86_64-pc-linux-gnu

But when i try to rebuilt ic use make release, l always get the ic of verison 1.11.2
 ╰─ $ ic
ic(1.11.2):001>

What is expected is, 1.12.1.
Thanks.

This is expected. The crystal version shown is the one included in the share directory, the place where the interpreter used by IC lives. The version of which crystal it have been compiler doesn't matter, the version of interpreter will stay the same.
I done this like that to avoid instability because I have several patches (monkey patching) of the compiler, and sometime the a new version of crystal would break theses patches.
That said, the ic --version that show the crystal version could clarify that.
Version: 0.7.0
REPLy version: 0.3.1
Running Crystal version: 1.11.2
Compiled with Crystal version: 1.12.1

instead of
Version: 0.7.0
REPLy version: 0.3.1
Crystal version: 1.11.2

Thanks, so, my understanding is that  ic use SAME interpreter version as official crystal i?
But, it seem like not true.
 ╰─ $ ic
ic(1.11.2):001> puts Crystal::VERSION
1.11.2
 => nil

 ╰─ $ crystal i
Crystal interpreter 1.12.1 [4cea10199] (2024-04-11).
EXPERIMENTAL SOFTWARE: if you find a bug, please consider opening an issue in
https://github.com/crystal-lang/crystal/issues/new/
icr:1> puts Crystal::VERSION
1.12.1

So, they just use different version standard library? is there any reason to not update  to 1.12.1?

Thanks, so, my understanding is that ic use SAME interpreter version as official crystal i?

No, It's the same that the version on ic/share directory (coming from ic master).
The version never change unless I update myself the version on master. (I just updated the master to 1.12.1 yesterday)
However if you want to update the crystal version without waiting the update, you could simply fetch the crystal master into ic/share/crystal-ic (it's always the exact copy of crystal without changes).
using a script like that:
fetch-crystal-i.sh:
#!/bin/sh

# version=1.11.2
version=1.12.1

rm -Rf share/crystal-ic

# Fetch the crystal-i interpreter from the official crystal repo:
curl -L https://github.com/crystal-lang/crystal/archive/refs/tags/$version.zip > crystal.zip
unzip crystal

mkdir -p share/crystal-ic
mv crystal-$version/src share/crystal-ic/src
mv crystal-$version/lib share/crystal-ic/lib
mv crystal-$version/Makefile share/crystal-ic/
mv crystal-$version/LICENSE share/crystal-ic/
rm -Rf crystal.zip crystal-$version

But keep in mind that doing this could break IC if the compiler internal have changed.

It works! please see screenshot! (although there is no lib folder anymore)

I will do this when next time crystal update it version before create new issue here, and let you know if it works, thanks!


New Theme: 'Lapis'

I'd like to submit a Hugo theme based on https://github.com/sergiokopplin/indigo for Jekyll. I use it for a simple landing page on my site https://github.com/jdahm/personal-site. This is my first theme submission, and I'm fairly new to Hugo, so I'm open to feedback about best practices and what could be improved. Thanks!
I added default options for hugoBasicExample to data/default.toml. Is this the best place for those defaults?
There are a few directories under the hugoBasicExample content/ directory that I added to the default navigation list, but most of these don't seem to link to anything. What is the intentions behind including those content files?
Link to my theme repository: https://github.com/jdahm/lapis
I made sure that...

[x] the repository contains a good README.md describing my theme
[x] an open source license has been added to LICENSE.md
[x] all metadata have been added to theme.toml
[x] screenshots have been added in the images/ folder with the required dimensions
[x] I tested that my theme's demo works with the content directory of gohugoio/HugoBasicExample
[x] I tested my theme against the gohugoio/HugoBasicExample

[ ] I've checked the developer tools' console in my browser for error messages

[x] in case my theme is using Hugo Pipes features like toCSS and PostCSS that I have committed the /resources directory with all generated assets, for my theme to work in the basic version of Hugo

Hello @jdahm,
welcome to the Hugo community and thank you for your them submission 👍

I added default options for hugoBasicExample to data/default.toml. Is this the best place for those defaults?

Your default values look very much like a config file. If you want to use a custom config file for the demo of your theme, you can add a new one at exampleSite/config.toml.
For the menu I would suggest to use Hugo's built-in functionality to create menus.

There are a few directories under the hugoBasicExample content/ directory that I added to the default navigation list, but most of these don't seem to link to anything. What is the intentions behind including those content files?

tl;dr don't worry about it. They've been added for specific themes that require special content files. Just remove the "Sketch" and "Portfolio" link and we are good to go.
Long version: Some files / directories have been added to be compatible with themes that have a hard-coded content directory (e.g. posts). The sketch directory has been added for a theme that doesn't need to be whitelisted for the use of custom content files but wanted to include this interactive demo.  For more information see https://github.com/gohugoio/hugoBasicExample/pull/42.
Otherwise you're theme looks good as well as the code in the template files.

My idea when adding the default values was to avoid including a full exampleSite and instead use hugoBasicExample. I am not opposed to a config file, but If I add those at exampleSite/config.toml then I have to include the whole site (mostly adding example blog posts), correct?

I thought about a custom config file again and came to the conclusion that most users will be fine if they add a config file if needed and the default values should cover most things. They can however be minor drawbacks, e.g. if a user wants to add a content file to a menu via its front matter due to the way the navigation is implemented.
Nonetheless, I'm fine with your current approach. Having only a config file in exampleSite still works because for everything else the build script falls back to the hugoBasicExample.
The sketch and portfolio link in the menu however will still not work. If you remove them to avoid 404 errors, we're ready to Lapis.

I switched to exampleSite and Hugo menus. It should be ready to go. Could you take a look?

Hey Johann,
you changes look good. While looking at your theme again I noticed that you specified a profile picture for the blog owner but the file isn't present in the repo. You can you add an example picture, e.g. from www.uifaces.co
In the header.html partial your are displaying the title of the current page but you always link the homepage. On some pages this can be a bit misleading, e.g. if users are browsing the tags at /tags. When I read "tags" as title I wouldn't expect that it links the homepage.
When I'm on the about page there's no link back to the homepage. Would you consider to add a "Home" link (or something similar) to the menu?

I'm still planning to work on this. I hope to have a new version this weekend.

Hey @digitalcraftsman,

While looking at your theme again I noticed that you specified a profile picture for the blog owner but the file isn't present in the repo. You can you add an example picture, e.g. from www.uifaces.co

Thanks for catching that! I added one from there.

In the header.html partial your are displaying the title of the current page but you always link the homepage. On some pages this can be a bit misleading, e.g. if users are browsing the tags at /tags. When I read "tags" as title I wouldn't expect that it links the homepage.

When I'm on the about page there's no link back to the homepage. Would you consider to add a "Home" link (or something similar) to the menu?

Good idea. I switched back to adding a "Home" as Indigo does.

Dear Johann,
excuse the delays in the review process of your theme. Right now, I'm in the final phase of finishing my bachelor thesis. Hence I'm want to ask for a little patience.
Thank you.

@digitalcraftsman no need to apologize. Your work is much more important. This can happen any time later.

Hello @jdahm
I will be filling in for the rest of this review.
First of all your theme renders fine when I execute the Build Script, I have only noticed the following issues:

The HTML being used here is deprecated please remove the xlink:href attribute because otherwise the HTML output will be invalid.

On permalink pages of the various blog posts I have noticed that the title of each page is not rendered on the page. Is this an intended design choice?

@onedrawingperday Thanks for reviewing the theme! As I mentioned to @digitalcraftsman, this is my first theme and I'm more of a c++ developer by trade, so I really appreciate your help. My apologies for the delay, I do plan to get to this soon, but urgent projects at work have priority.

@jdahm No worries. Take your time.


Bot won't start on Ubuntu 16.10 64 bit

Trying to host this via Digital Ocean but I keep getting this error whenever I try to start the bot:
root@Discord:~#`` node index.js
/root/node_modules/discord-spoiler-bot/index.js:9
let bot = new SpoilerBot(config);
^
TypeError: SpoilerBot is not a constructor
at Object. (/root/node_modules/discord-spoiler-bot/index.js:9:11)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object. (/root/index.js:3:20)
at Module._compile `(module.js:570:32)
I've got node at v6.10.0 but I've tried other versions and nothing seems to fix it.

Could you post the rest of your index.js?

I'm just using the example .js so:
'use strict';
const SpoilerBot = require('discord-spoiler-bot');
let config = {
token: 'you_secret_token_here',
};
let bot = new SpoilerBot(config);
bot.connect();
I've got the bot's token in 'you_secret_token_here'.

I followed some of the suggestions on another issue posted, and it seems to work fine after reinstalling the bot in a different directory along with running "npm init" in said directory.


Cannot scroll content when swiping on fadeaway gradient

Describe the bug
There is a fadeaway gradient behind the search/bookmarks bottom bar. This gradient extends up to the content.
The user cannot scroll content if trying to pull from that gradient area.
Expected behavior
Either lessen the gradient range or remove the gradient and differentiate the bottom bar differently.

This is surprisingly annoying

I wonder if this and #274 are related. Maybe if that is fixed, this will also be pushed downwards? I'm not sure.

Re-opening to discuss. There is no gradient at all now. Not sure if that was intended. Can say it's fixed, but not sure.

Okay, I see there is a gradient. But a different background is cutting content off sharply. So there is a mistake in implementation.


spring.cloud.config.server.git.basedir is ignored

Steps to reproduce:

Create a Spring Cloud Config Server application with the configuration:

server:
  port: 8888
spring:
  cloud:
    config:
      server:
        git:
          basedir: "/some/other/directory/here"
          uri: git@example.com:foo/base.git
          repos:
            type1: git@example.com:foo/type1.git
            type2:
              pattern: '*/type2*'
              uri: git@example.com:foo/type2.git

Run the application

Expected:
config-repo-* directories are created under /some/other/directory/here
Actual:
config-repo-* directories are created under /private/var/folders/<some other directories/config-repo-* on Mac OS x
Per http://cloud.spring.io/spring-cloud-config/spring-cloud-config.html#_version_control_backend_filesystem_use this should work. Unless I have the config wrong somehow

@jogjayr what version are you using? The basedir you have listed will only work for uri: git@example.com:foo/base.git. It's not a global.

@spencergibb I'm using the latest version. It wasn't obvious from the docs that the property isn't a global. What probably happened is that I set the basedir but didn't try to request any configurations from base.git.
Just to be clear, basedir has to be specified per repo? So in my example I would additionally need properties named: spring.cloud.config.server.git.repos.type1.basedir and spring.cloud.config.server.git.repos.type2.basedir? If so do you think it's worth updating the documentation with this information? I can create a PR

So Dalston.SR1?
It would probably be worth noting that all the properties are not globals.

Nope. I misspoke. I'm on 1.2.x


Auto hide menu bar preference

Contents

Adds preferences menu to house this preference and future ones.
Adds "Toggle Auto Hide Menu Bar" option to the preferences menu. It has a checkbox to display the value of this preference.
Adds dependency on electron-settings to save user preferences. It's a very simple-to-use package, I recommend using it to manage user preferences. It stores in the OS default appData directory.

Please discuss and make suggestions!
Created because of #6

Hey @ajivoin , thanks for doing this. I think it looks great, there's just a couple things I think we should change. I'll make code comments and if we get them squared away, I'm happy to merge!

@chrisknepper I'll fix it up tomorrow! I can attempt to test it in Linux and let you know how it behaves

@chrisknepper I believe I addressed all of your comments, let me know if there is anything else I need to change

@ajivoin Looks great! Did you get the chance to test in Linux? I'm installing Ubuntu right now just to take a quick peak at it, but I think we can merge shortly.

Just tested on Ubuntu, thanks again for your great work!

Will create a release either tonight or tomorrow.


feat: Add support for SEO fields

As suggested in #8

Nice 💯
I have one suggestion

We also need to update the README and the keywords in the package.json (which are used by dato for their search).


Cannot read property 'prototype' of undefined in graceful-fs.js

I'm getting the above error when I do just var fs = require ('fs-extra');
Because npm is hanging on to the package fs, so I not install it to project. I only install fs-extra with graceful-fs
Any idea why?

https://github.com/isaacs/node-graceful-fs/issues/109#issuecomment-312097690

I believe this is resolved in the latest graceful-fs.


How to train a EncoderDecoder Adapter/Prediction Head needed?

Environment info

adapter-transformers version: 3.2.1
Platform: Linux-6.2.0-27-generic-x86_64-with-glibc2.37
Python version: 3.10.9
PyTorch version (GPU?): 1.13.1 (GPU)

Details
Hey, I'm trying to train a adapter for a Seq2Seq task with language adapters. Since most of the language adapters on the hub are pretrained for BERT or RoBERTa I cannot use e.g. BART for the task adapter. I set up a EncoderDecoder Model with bert-base-mulitlingual-cased as base, but even with very few training data the training loss of adapter training stagnates at a high level (~4) and does not predict something meaningful. When fully fine-tuning with the same training settings the training loss quickly decreases around 0. Setups I tried:

[x] Training a task adapter with bart-base - works
[x] Full Fine-tuning an EncoderDecoder model based on bert-base-mulitlingual-cased using the Huggingface Trainer - works
[ ] Training a task adapter with an EncoderDecoder model based on bert-base-mulitlingual-cased - the model repeatedly predicts the same word; training loss stagnates at high level.

Base model setup
model = EncoderDecoderModel.from_encoder_decoder_pretrained(
    "bert-base-multilingual-cased",
    "bert-base-multilingual-cased",
    tie_encoder_decoder=True
)

model.config.decoder_start_token_id = tokenizer.bos_token_id
model.config.eos_token_id = tokenizer.eos_token_id
model.config.pad_token_id = tokenizer.pad_token_id
model.config.vocab_size = model.config.decoder.vocab_size

bad_words = ['[CLS]']
bad_words_ids = [tokenizer.vocab[token] for token in bad_words]
model.config.bad_words_ids = [bad_words_ids]

Adapter setup
I tried to add a task adapter using multiple methods:
adapter_config = AdapterConfig.load("pfeiffer", reduction_factor=2)
model.add_adapter("simplification", config=adapter_config, set_active=True)
model.train_adapter(["simplification"])

or
setup_adapter_training(
    model=model,
    adapter_args=AdapterArguments(train_adapter=True),
    adapter_name="simplification",
    adapter_config_kwargs={"reduction_factor": 2}
)

When training a adapter using BART, a prediction head is added. With the EncoderDecoder this seems to be missing.The saved adapter does not contain a head_config.json like the BART trained adapter.
What do I need to change to train this task adapter with an EncoderDecoder Model?
Training setup
training_args = Seq2SeqTrainingArguments(
    predict_with_generate=True,
    evaluation_strategy="steps",
    per_device_train_batch_size=16,
    per_device_eval_batch_size=16,
    fp16=True,
    output_dir="./bert2bert/",
    max_steps=3000,
    logging_steps=50,
    save_strategy="no",
    # eval_steps=50,
    learning_rate=3e-4,
    warmup_ratio=0.1,
    optim="adamw_torch",
    remove_unused_columns=False,
)

trainer = Seq2SeqAdapterTrainer(
    tokenizer=tokenizer,
    model=model,
    args=training_args,
    data_collator=data_collator,
    train_dataset=tokenized_dataset['train'],
    eval_dataset=tokenized_dataset['validation'],
)
train_results = trainer.train()

EncoderDecoder adapter_config.json
{
  "config": {
    "adapter_residual_before_ln": false,
    "cross_adapter": false,
    "factorized_phm_W": true,
    "factorized_phm_rule": false,
    "hypercomplex_nonlinearity": "glorot-uniform",
    "init_weights": "bert",
    "inv_adapter": null,
    "inv_adapter_reduction_factor": null,
    "is_parallel": false,
    "learn_phm": true,
    "leave_out": [],
    "ln_after": false,
    "ln_before": false,
    "mh_adapter": false,
    "non_linearity": "relu",
    "original_ln_after": true,
    "original_ln_before": true,
    "output_adapter": true,
    "phm_bias": true,
    "phm_c_init": "normal",
    "phm_dim": 4,
    "phm_init_range": 0.0001,
    "phm_layer": false,
    "phm_rank": 1,
    "reduction_factor": 2,
    "residual_before_ln": true,
    "scaling": 1.0,
    "shared_W_phm": false,
    "shared_phm_rule": true,
    "use_gating": false
  },
  "hidden_size": null,
  "model_class": "EncoderDecoderModel",
  "model_name": null,
  "model_type": "encoder-decoder",
  "name": "simplification",
  "version": "3.2.1"
}

Bart adapter_config.json:
{
  "config": {
    "adapter_residual_before_ln": false,
    "cross_adapter": false,
    "factorized_phm_W": true,
    "factorized_phm_rule": false,
    "hypercomplex_nonlinearity": "glorot-uniform",
    "init_weights": "bert",
    "inv_adapter": null,
    "inv_adapter_reduction_factor": null,
    "is_parallel": false,
    "learn_phm": true,
    "leave_out": [],
    "ln_after": false,
    "ln_before": false,
    "mh_adapter": false,
    "non_linearity": "relu",
    "original_ln_after": true,
    "original_ln_before": true,
    "output_adapter": true,
    "phm_bias": true,
    "phm_c_init": "normal",
    "phm_dim": 4,
    "phm_init_range": 0.0001,
    "phm_layer": false,
    "phm_rank": 1,
    "reduction_factor": 8,
    "residual_before_ln": true,
    "scaling": 1.0,
    "shared_W_phm": false,
    "shared_phm_rule": true,
    "use_gating": false
  },
  "config_id": "26cd1b10db746518",
  "hidden_size": 768,
  "model_class": "BartForConditionalGeneration",
  "model_name": "facebook/bart-base",
  "model_type": "bart",
  "name": "simplification",
  "version": "3.2.1"
}

This issue has been automatically marked as stale because it has been without activity for 90 days. This issue will be closed in 14 days unless you comment or remove the stale label.


Fixed a crash in scenario where SSL is not available.

Asset manager prevents editor to load when SSLStream is not available. There is a warning printed, regarding this but should not crash. Fixing this behaviour

Fixed the tabs..
Ps: Im' sorry i kinda messed up the commits.

Thanks. I don't even know how it's possible to get two duplicate commits in the same branch (the patch doesn't apply locally), but I've cherry-picked your change and fixed it manually: b3cf4c


banner2 does not add JS comments as a wrapper to every banner

please make this optional. this is making me a headache because I am using the same banner text (as a comment) for non-rollup builds of the same project and, the text is added automatically as a comment by those, and I would like to preserve the look, without manually wrapping it with comment /* & */:
I don't want this:
rollupBanner(() => `/*${banner}*/\n\n`)

Would be nice to add some option to output a banner automatically as a nicely-formatted comment:
/**
 * Tagify v4.20.0 - tags input component
 * By: Yair Even-Or<EMAIL_ADDRESS> * https://github.com/yairEO/tagify
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 */

rest of code here after a space is automatically added between banner and rest of file contents

Thanks for the suggestion 😺
I suppose such formatting could be a simple fn on a few lines, and wouldn't need any external dependency.
Pls propose what would be the new option that would handle the new behaviour. Once we have an agreement, let's create a PR...

commented: true I suppose pretty much is self-explanatory, WDYT?

I like simple things, but this is too much 😆 Once someone else wants another option, let's say commentWithNoAsterixOnEveryLine: true, then there will be bunch of boolean options that kinda depend on each other, have priorities (what overrides what) etc.
Although, there will be only one option now, I would go with something like bannerFormatting: 'text-to-multiline-comment' , or 'text-to-jsdoc' maybe. But it looks very long 😱

This is why I like the options to allow different types of values:
commented: true | 'slashes' | 'AsterixEveryLine'

And you decide what true defaults to

@yairEO feel free to review the PR


Update repository with latest version of roboclaw.py software

...to match latest RoboClaw firmware update

Closed with commit 8aec653379850bf219f0d40f08cae9dfb576ef82 on software repo


added my bio template

My First html code with little css.
Thanks for inspiring me,
request to accept my PR.
Hackberfest2020

@vinitshahdeo request to review my PR


how to exclude files from loader

I have the next config for webpack loaders:
 module: {
    loaders: [{
      test: /\.js$/,
      include: rootDir + '/src',
      loader: 'babel?presets[]=es2015'
    }, {
      test: /\.css$/,
      loader: 'style!css!autoprefixer?browsers=last 2 versions'
    }, {
      test: /\.(png|gif|jpg|svg|ttf|eot|woff|woff2)$/,
      loader: 'file?name=[path][name].[ext]'
    }]
  }

I want to exclude some files from autoprefixer loader. How can I do this? If I do like this:
{
  test: /\.css$/,
  exclude: 'someFile',
  loader: 'style!css!autoprefixer?browsers=last 2 versions'
}

someFile will be excluded not only from autoprefixer loader, it will be excluded from styles, css and autoprefixer loader, but I need exclude file only from autoprefixer loader. How can I do this?

What if you had another rule like
{
  test: /\.css$/,
  include: 'someFile',
  loader: 'style!css'
}

to deal with that requirement?

sure, but what about adding autoprefixer to the chain? I mean how in this case to add autoprefixer?

What about second rule which I wrote in the privious post, in this case it will not someFile anymore? only your rule will get this file?

The idea was to write separate rules based on your requirements. You would include/exclude (accepts arrays) based on your exact need.

I understood. Thanks, Juho.

Safe to close?


Don't wrongly discard text immediately before an admonition

foo
**foo**
!!! note "Admonition"

In the previous state, the "foo" text would be completely obliterated, but now it will be kept, and the admonition will be rendered as well.

This is a bug, but it's not 100% obvious what behavior is the correct one.
This PR is the more pragmatic one, and https://github.com/Python-Markdown/markdown/pull/1093 is an alternative. One of the two should be chosen.


Intermittent connection issues with bk72xx ESPHome devices

I have been struggling with this for quite sometime. Many posts exists concerning ESPHome WiFi connection issues resulting in "EOF received" and "Connection reset by peer" messages in HA logs when using libretiny.  Links to some of these discussions are at the bottom of this message.
I have 13 TreatLife (Tyua) switches that I have put ESPHome on using CloudCutter.  For the most part, these devices are functional. However, they are constantly flipping between available and unavailable resulting in a ton of unnecessary state checking login my automations to prevent lights from randomly turning on/off.
I am using the Latest version of HA (2024.4.3) and ESPHome (2024.4.0) on a Raspberri Pi 4 with 8GB of RAM.

My router is an Asus RT-AX86U running Asuswrt-Merlin v3004.388.6.  I have tried running this as a Mesh with another Asus router, and without the Mesh (makes no difference)
DHCP Lease time is set to 24 hours
I have tried disabling the web portal (makes no difference)
I have tried rebooting the router (makes no difference)
I have tried eliminating all unnecessary YML diagnostic checks, logging, debugging and web_server (makes no difference)
I have NOT tried static IP address.  I want to avoid this if at all possible for simplicity, and the logs do not seem to indicate the IP address is changing

Let's take just one TreatLife DS01C device as an example.

Device Name: dimmer-wd07
LibreTiny Version: v1.5.1
WiFi Signal: -37 dBm

I see THOUSANDS of warning messages like these a day in the HA logs for all 13 of these ESPHome devices that look like this:
2024-04-25 08:14:35.560 WARNING (MainThread) [aioesphomeapi.connection] fan-wf02 @ <IP_ADDRESS>: Connection error occurred: [Errno 104] Connection reset by peer
2024-04-25 08:14:46.942 WARNING (MainThread) [aioesphomeapi.connection] fan-wf02 @ <IP_ADDRESS>: Connection error occurred: [Errno 104] Connection reset by peer
2024-04-25 08:19:45.406 WARNING (MainThread) [aioesphomeapi.connection] dimmer-wd03 @ <IP_ADDRESS>: Connection error occurred: dimmer-wd03 @ <IP_ADDRESS>: EOF received
2024-04-25 08:23:04.082 WARNING (MainThread) [aioesphomeapi.connection] switch-ws06-3w @ <IP_ADDRESS>: Connection error occurred: switch-ws06-3w @ <IP_ADDRESS>: EOF received
2024-04-25 08:23:33.763 WARNING (MainThread) [aioesphomeapi.connection] fan-wf02 @ <IP_ADDRESS>: Connection error occurred: fan-wf02 @ <IP_ADDRESS>: EOF received
2024-04-25 08:25:39.716 WARNING (MainThread) [aioesphomeapi.connection] dimmer-wd15-3w @ <IP_ADDRESS>: Connection error occurred: dimmer-wd15-3w @ <IP_ADDRESS>: EOF received
2024-04-25 08:28:07.171 WARNING (MainThread) [aioesphomeapi.connection] dimmer-wd02 @ <IP_ADDRESS>: Connection error occurred: dimmer-wd02 @ <IP_ADDRESS>: EOF received

Here is a portion of my config for a device
substitutions:
  device_name: dimmer-wd03
  device_friendly_name: Dimmer WD03
  device_location_descriptor: Large Front Porch
  device_type: Dimmer
  device_make: Treatlife
  device_model: DS01C
  device_chipset: Beken v1.1.17
  dimmer_minvalue: "50"
    # - 50 allows for dimming down to 5%
    # - 100 allows for dimming downto 10%
  dimmer_maxvalue: "1000"
    # - Typically 1000 (100%)

# Setup the wifi connection, and configure a possible local access point
wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password
  power_save_mode: none
  ap:
    ssid: $device_name
    password: !secret wifi_ap_password

# Esphome core information
esphome:
  name: $device_name
  friendly_name: $device_friendly_name ($device_location_descriptor)
  comment: $device_make $device_model $device_type

# The board type for this device
bk72xx:
  board: generic-bk7231t-qfn32-tuya

# Provide LAN announcement using the multicast DNS (MDNS)
mdns:

# ESPHome native API is used to communicate with clients directly,
# and if required for Home Assistant functionality
api:

# Permit OTA (Over The Air) updates
ota:

# After 1 minute of unsuccessful WiFi connection attempts, the ESP
# will start a WiFi hotspot (using ap config below)
captive_portal:

What suggestions does anyone have for helping me to troubleshoot these error messages and make them go away for good!!
There are extensive conversations in several places here are some examples:

Reddit - Treatlife Switches and Dimmers for Home Assistant in 2024
Reddit - SPHome WiFi Issues - EOF Received/Connection reset by peer
HA Community - ESPHOME: Connection error occurred: EOF received

ESPHome advised that

Github ESPhome recommended that I open an issue here with libretiny.

You'll need to provide logs from the ESPHome side (and probably with Verbose level), not the HA side.  The HA side includes no context of why/how it disconnected, only that it has.

I am able to get the OTA logs, but they really don't seem to tell me much:
15:03:19][V][sensor:043]: 'WiFi Signal': Received new state -44.000000
[15:03:19][V][sensor:043]: 'Heap Free': Received new state 73688.000000
[15:03:19][D][sensor:093]: 'Heap Free': Sending state 73688.00000 B with 0 decimals of accuracy
[15:03:19][V][sensor:043]: 'Heap Max Block': Received new state 0.000000
[15:03:19][D][sensor:093]: 'Heap Max Block': Sending state 0.00000 B with 0 decimals of accuracy
[15:03:19][V][sensor:043]: 'Loop Time': Received new state 20.000000
[15:03:19][D][sensor:093]: 'Loop Time': Sending state 20.00000 ms with 0 decimals of accuracy
[15:03:22][V][sensor:043]: 'Uptime': Received new state 297.053986
[15:03:22][D][sensor:093]: 'Uptime': Sending state 297.05399 s with 0 decimals of accuracy
[15:03:24][V][sensor:043]: 'Heap Free': Received new state 73688.000000
[15:03:24][D][sensor:093]: 'Heap Free': Sending state 73688.00000 B with 0 decimals of accuracy
[15:03:24][V][sensor:043]: 'Heap Max Block': Received new state 0.000000
[15:03:24][D][sensor:093]: 'Heap Max Block': Sending state 0.00000 B with 0 decimals of accuracy
[15:03:24][V][sensor:043]: 'Loop Time': Received new state 20.000000
[15:03:24][D][sensor:093]: 'Loop Time': Sending state 20.00000 ms with 0 decimals of accuracy
[15:03:25][I][ota:117]: Boot seems successful, resetting boot loop counter.
[15:03:25][D][lt.preferences:104]: Saving 1 preferences to flash...
[15:03:25][V][lt.preferences:115]: sync: key: 233825507, len: 4
[15:03:25][D][lt.preferences:132]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed
[15:03:29][V][sensor:043]: 'Heap Free': Received new state 73712.000000
[15:03:29][D][sensor:093]: 'Heap Free': Sending state 73712.00000 B with 0 decimals of accuracy
[15:03:29][V][sensor:043]: 'Heap Max Block': Received new state 0.000000
[15:03:29][D][sensor:093]: 'Heap Max Block': Sending state 0.00000 B with 0 decimals of accuracy
[15:03:29][V][sensor:043]: 'Loop Time': Received new state 22.000000
[15:03:29][D][sensor:093]: 'Loop Time': Sending state 22.00000 ms with 0 decimals of accuracy
[15:03:34][V][sensor:043]: 'Heap Free': Received new state 73712.000000
[15:03:34][D][sensor:093]: 'Heap Free': Sending state 73712.00000 B with 0 decimals of accuracy
[15:03:34][V][sensor:043]: 'Heap Max Block': Received new state 0.000000
[15:03:34][D][sensor:093]: 'Heap Max Block': Sending state 0.00000 B with 0 decimals of accuracy
[15:03:34][V][sensor:043]: 'Loop Time': Received new state 18.000000
[15:03:34][D][sensor:093]: 'Loop Time': Sending state 18.00000 ms with 0 decimals of accuracy
[15:03:39][V][sensor:043]: 'Heap Free': Received new state 73712.000000

Because this is a "CloudCut" device, I don't know how to access the serial logs directly.  Looks like the device reboots at 15:03 and the OTA access is cut off.  Memory looks good, but no other tell tail signs.
Im not afraid to solder to get access to the logs via a serial port, but don't really know where to get started on this task.

You'll need the logs of when the disconnect actually happens, OTA likely won't be helpful and you'll need a serial connection.

Am I right in assuming I will need to solder "something" to get a serial connection to a "CloudCut" device?
Example link to product on Amazon: https://a.co/d/cEp1mD5

Yes, you would likely need the 3.3V/GND/TX2 pins soldered to receive logs.

This will take me some time but I will dig into this.  These switches are awesome, would be great if they were more "bulletproof".

Not sure what module that device has, but be aware some modules do not have an accessible TX2.  If that is the case, you'll have to configure the logger component to change the hardware uart port to TX1 via https://esphome.io/components/logger?highlight=hardware_uart if that is the case.

Also, it's worth throwing an uptime sensor on the device to see if the device is rebooting when it disconnects, and if so, a debug reset_reason sensor to hint to why.

Not sure what module that device has, but be aware some modules do not have an accessible TX2. If that is the case, you'll have to configure the logger component to change the hardware uart port to TX1 via https://esphome.io/components/logger?highlight=hardware_uart if that is the case.

OK, the switches I am using contain a WB3S Module with an integrated BK7231T chip.  This Video gives me what I need to make the connections.
I don't want to fry anything (including but not limited to... ME) so I have been poking around to understand what I do after I make these connections. I know to connect those to my USB Serial Converter Adapter and then to my PC.  From here I know I can access the serial logs via the ESPHome dashboard.
My question is:  do I then wire the light switch back up to 110v power while the USB is connected to my PC?  Everywhere I read, this was a no-no when flashing devices to the old-fashioned way...

My question is: do I then wire the light switch back up to 110v power while the USB is connected to my PC? Everywhere I read, this was a no-no when flashing devices to the old-fashioned way...

No, absolutely not, you will fry the device if you are hooked up to both.  Hopefully the TTL you use will be able to sufficiently power the module (but the device won't have full physical functionality).

I have a similar device and on some hard reboot it goes from becoming bad to ok, Let me explain -
The device is bad when it reboots every 57 seconds (sometimes at 117 seconds mark) - uptime of 57s and 117s.
The device is ok when the uptime is a few thousand seconds.
I had enabled ALL logs but saw nothing out of the ordinary. The only thing I think that might help is a Watchdog timer reset was the reason for the reboot.

The device starts bad and becomes ok on 21st April hard reboot. Later it goes bad again on 23rd April till 27th April. It went bad again today morning.
Also attaching the uptime from the same time for 2 other libre devices which are working great. Do note in this image my problematic device's uptime is a very small set of spikes.

Below is my YAML (I have also removed all unnecessary blocks removed but nothing helped).
`##Proper as on 9th April 2024##
esphome:
name: tuya3gang-01
friendly_name: Tuya-3Gang-01
bk72xx:
board: generic-bk7231t-qfn32-tuya
logger:
level: ERROR
baud_rate: 0
api:
captive_portal:
ota:
safe_mode: False
wifi:
networks:

ssid: "SSID"
password: !secret wifi_password
priority: 2.0
fast_connect: True
reboot_timeout: 0s
manual_ip:
static_ip: <IP_ADDRESS>
gateway: <IP_ADDRESS>
subnet: <IP_ADDRESS>
use_address: <IP_ADDRESS>
ap:
ssid: "Tuya 3Gang 01"
password: !secret wifi_password

binary_sensor:

platform: status
name: "Status"

sensor:

platform: wifi_signal
update_interval: 10s
id: wifi_signal_db

platform: uptime
name: "Uptime"

platform: copy
source_id: wifi_signal_db
name: "WiFi Signal Percent"
filters:

lambda: return min(max(2 * (x + 100.0), 0.0), 100.0);
unit_of_measurement: "%"

platform: adc
pin: P23
id: button_adc
update_interval: 0.2s
internal: True
on_value_range:

below: 0.4
then:

light.toggle: tuya3gang_01_3

above: 0.8
below: 1.1
then:

light.toggle: tuya3gang_01_2

above: 1.5
below: 1.7
then:

light.toggle: tuya3gang_01_1

button:

platform: restart
name: "Restart"

output:

platform: gpio
pin: P24
id: relay1
platform: gpio
pin: P7
id: relay2
platform: gpio
pin: P8
id: relay3

light:

platform: binary
name: "Glass Brick Wall"
id: tuya3gang_01_1
icon: mdi:globe-light-outline
restore_mode: RESTORE_DEFAULT_OFF
output: relay1

platform: binary
name: "GRID"
id: tuya3gang_01_2
icon: mdi:lightbulb-group
restore_mode: RESTORE_DEFAULT_OFF
output: relay2

platform: binary
name: "Shoe Rack Light"
id: tuya3gang_01_3
icon: mdi:light-recessed
restore_mode: RESTORE_DEFAULT_OFF
output: relay3

platform: status_led
id: "state"
pin:
number: P22
inverted: false

time:

platform: homeassistant
id: homeassistant_time

debug:
update_interval: 5s
text_sensor:

platform: wifi_info
ip_address:
name: "IP Address"
ssid:
name: "Connected SSID"
platform: libretiny
version:
name: LibreTiny Version

- platform: debug
reset_reason:
name: "Reset Reason"`

@Cossid  - I have made good progress with soldering up connections to a Treatlife SS01 3-way switch.
It's integrated BK7231T chip powers up via USB, and I the browser/PC recognizes its serial port.

Pins are hooked up as documented on the WBS3 Data Sheet.

1 - VSS (3.3V)
2 - Ground
3 - TXD1
4 - TXD2
When powered up, I can access the web_server, and see the OTA logging via the ESPHome dashboard.
I am still struggling with making the correct configuration to access the logs via USB/Serial, as I have not done this in the past.
Here is what I have at the moment that is NOT working:
logger:
  level: VERBOSE
  hardware_uart: UART1
  baud_rate: 115200

I'm researching now if I need a uart section.
Almost there...

No, you don't need the UART section to view logs. You've connected the wrong UART port, you need TX2 to view logs - TX1 is for flashing only.
Refer to LibreTiny pinouts:
https://docs.libretiny.eu/boards/wb3s/?h=wb3s#pinout

No, you don't need the UART section to view logs. You've connected the wrong UART port, you need TX2 to view logs - TX1 is for flashing only.
Refer to LibreTiny pinouts: https://docs.libretiny.eu/boards/wb3s/?h=wb3s#pinout

Man @Cossid said TX2 didn't he...  Thank you I will adjust.

@tyzen9 Are your uptimes similar to mine - 57s and 117s?

I think we might be experiencing different symptoms - although, to be fair, I have not measured uptime as closely.  My main issue is that my Treatlife (Tuya) switches become unavailable.  During this time, the LED indicator on the face of the plate becomes red, and any automation executing at this time will fail.
I am trying to correlate these EOF Received and Connection reset by peer errors I see in the home-assistant.log to something happening on the device itself.
2024-04-25 08:14:46.942 WARNING (MainThread) [aioesphomeapi.connection] fan-wf02 @ <IP_ADDRESS>: Connection error occurred: [Errno 104] Connection reset by peer
2024-04-25 08:19:45.406 WARNING (MainThread) [aioesphomeapi.connection] dimmer-wd03 @ <IP_ADDRESS>: Connection error occurred: dimmer-wd03 @ <IP_ADDRESS>: EOF received

@tyzen9 Are your uptimes similar to mine - 57s and 117s?

I think we might be experiencing different symptoms - although, to be fair, I have not measured uptime as closely. My main issue is that my Treatlife (Tuya) switches become unavailable. During this time, the LED indicator on the face of the plate becomes red, and any automation executing at this time will fail.
I am trying to correlate these EOF Received and Connection reset by peer errors I see in the home-assistant.log to something happening on the device itself.
2024-04-25 08:14:46.942 WARNING (MainThread) [aioesphomeapi.connection] fan-wf02 @ <IP_ADDRESS>: Connection error occurred: [Errno 104] Connection reset by peer
2024-04-25 08:19:45.406 WARNING (MainThread) [aioesphomeapi.connection] dimmer-wd03 @ <IP_ADDRESS>: Connection error occurred: dimmer-wd03 @ <IP_ADDRESS>: EOF received

I think it might be the same issue as I too see similar logs. Lets hope there is a fix for ur isssue and I can apply the same to see if it fixes my problem.

Good news, I was able to capture the error via the USB serial connection twice in the past 12 hours.
Here is the most recent output from the serial logs: https://pastebin.com/eFNNKvsr
Looks like the wifi is just randomly disconnecting, and then struggling to reconnect.  I can assure you that no WiFi issue with any other devices correlate with this messaging.
Here is what is logged in home-assistant.log:
2024-05-01 09:05:21.319 WARNING (MainThread) [aioesphomeapi.connection] switch-ws05-3w @ <IP_ADDRESS>: Connection error occurred: [Errno 104] Connection reset by peer
2024-05-01 09:05:21.408 WARNING (MainThread) [aioesphomeapi.connection] switch-ws05-3w @ <IP_ADDRESS>: Connection error occurred: switch-ws05-3w @ <IP_ADDRESS>: EOF received
2024-05-01 09:05:21.409 WARNING (MainThread) [aioesphomeapi.reconnect_logic] Can't connect to ESPHome API for switch-ws05-3w @ <IP_ADDRESS>: switch-ws05-3w @ <IP_ADDRESS>: EOF received (SocketClosedAPIError)

Where do we go from here?

Good news, I was able to capture the error via the USB serial connection twice in the past 12 hours.
Here is the most recent output from the serial logs: https://pastebin.com/eFNNKvsr
Looks like the wifi is just randomly disconnecting, and then struggling to reconnect. I can assure you that no WiFi issue with any other devices correlate with this messaging.
Here is what is logged in home-assistant.log:
2024-05-01 09:05:21.319 WARNING (MainThread) [aioesphomeapi.connection] switch-ws05-3w @ <IP_ADDRESS>: Connection error occurred: [Errno 104] Connection reset by peer
2024-05-01 09:05:21.408 WARNING (MainThread) [aioesphomeapi.connection] switch-ws05-3w @ <IP_ADDRESS>: Connection error occurred: switch-ws05-3w @ <IP_ADDRESS>: EOF received
2024-05-01 09:05:21.409 WARNING (MainThread) [aioesphomeapi.reconnect_logic] Can't connect to ESPHome API for switch-ws05-3w @ <IP_ADDRESS>: switch-ws05-3w @ <IP_ADDRESS>: EOF received (SocketClosedAPIError)

Where do we go from here?

I think we might both be seeing the same issue. I used to see similar issues with WiFi and I ended up adding another AP right next to the device. It did not help at all. I am now eagerly waiting for a solution and I am quite confident it will fix my issue and give me the confidence to move a few more devices from OpenBeken to ESPHome.

Any updates?

I was wondering the same thing.  I really do not know where to go from here.  My only thought was to find some software to closely monitor my wifi to make sure its not an issue with my network - but I'm not sure where to start here.

I was wondering the same thing. I really do not know where to go from here. My only thought was to find some software to closely monitor my wifi to make sure its not an issue with my network - but I'm not sure where to start here.

Did you look at your uptimes?
I'd like to see that graph if its available...

@tyzen9 Are your uptimes similar to mine - 57s and 117s?

I think we might be experiencing different symptoms - although, to be fair, I have not measured uptime as closely. My main issue is that my Treatlife (Tuya) switches become unavailable. During this time, the LED indicator on the face of the plate becomes red, and any automation executing at this time will fail.
I am trying to correlate these EOF Received and Connection reset by peer errors I see in the home-assistant.log to something happening on the device itself.
2024-04-25 08:14:46.942 WARNING (MainThread) [aioesphomeapi.connection] fan-wf02 @ <IP_ADDRESS>: Connection error occurred: [Errno 104] Connection reset by peer
2024-04-25 08:19:45.406 WARNING (MainThread) [aioesphomeapi.connection] dimmer-wd03 @ <IP_ADDRESS>: Connection error occurred: dimmer-wd03 @ <IP_ADDRESS>: EOF received

Hi everyone - any thoughts on this?   After I posted this message, responses went cold...
@rishabmehta7 I will process a graph for you and post it later this week, I have been traveling and not spent much time on this since the feedback went cold.

Here is the most recent output from the serial logs: https://pastebin.com/eFNNKvsr

not that I can help you in any way, but I'm just curious
on line 32:
[W][wifi_lt:286]: Event: Disconnected ssid='' bssid=00:00:00:00:00:00[redacted] reason='Beacon Timeout'

did you also redact ssid? or is it just empty her.
on none of the connected/disconnected lines I actually see the ssid.

Similar issue for me device keeps disconnecting randomly. I couldn't even flash OTA update until I stop my HA docker container.

Without HA using the the esphome api to connect to the device it works flawlessly forever without any reboot.

Have you tried using MQTT instead of the esphome/homeassistant API connection?

Nope, It was unstable so I reverted to the original firmware of my device, which is tuya based. Now I am using local tuya to connect to HA .. although it offers less control of the device than esphome but for now I prefer stability over features.

I had the same issues with an SHP102. Changed the libretiny version to 1.6.0 and at least 1 device is now running for a day without issues. Will flash the other devices and test them as well.

Without HA using the the esphome api to connect to the device it works flawlessly forever without any reboot.

Have you tried using MQTT instead of the esphome/homeassistant API connection?

This is a great idea - I will give this a try in the coming week or so and report back.

I had the same issues with an SHP102. Changed the libretiny version to 1.6.0 and at least 1 device is now running for a day without issues. Will flash the other devices and test them as well.

@joukio Interested in how you went over the last 3 days with v1.6.0?

Flashed some other shp102's as well, and they are all doing ok. Haven't seen any disconnects

Thanks. Any tips on how you built the firmware using 1.6.0?
On Sat, 31 Aug 2024, 05:06 Jouk Hettema, @.***> wrote:

Flashed some other shp102's as well, and they are all doing ok. Haven't
seen any disconnects
—
Reply to this email directly, view it on GitHub
https://github.com/libretiny-eu/libretiny/issues/280#issuecomment-2322174955,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAQ6R7GGRJCVYJJZVSF63X3ZUC7DTAVCNFSM6AAAAABGY5TMBOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRSGE3TIOJVGU
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

From esphome within homeassistant:
bk72xx:
board: generic-bk7231n-qfn32-tuya
framework:
version: 1.6.0
loglevel: debug
debug:
- wifi
- ota

Thanks, I've just added that to my Aldi-bought Bauhn 5-way powerboard.  It's been "ok" lately but I'll see if I get any troubles now with 1.6.0.

Wow @joukio.  All this time, and I thought that the LibreTiny would update to the latest version if one was not specified. I updated one of my MANY Treatlife switches to 1.6.0 just now.  I will keep an eye on it and report back.

I changed all 19 of my TreatLife (Tyua) devices to LibreTiny 1.6.0, and restarted home assistant. Sadly, I am still seeing these in my logs:
2024-09-05 08:42:05.017 WARNING (MainThread) [aioesphomeapi.connection] dimmer-wd15-3w @ <IP_ADDRESS>: Connection error occurred: dimmer-wd15-3w @ <IP_ADDRESS>: EOF received 2024-09-05 08:42:05.268 WARNING (MainThread) [aioesphomeapi.connection] dimmer-wd05 @ <IP_ADDRESS>: Connection error occurred: dimmer-wd05 @ <IP_ADDRESS>: EOF received 2024-09-05 08:48:18.521 WARNING (MainThread) [aioesphomeapi.connection] fan-wf02 @ <IP_ADDRESS>: Connection error occurred: fan-wf02 @ <IP_ADDRESS>: EOF received 2024-09-05 08:50:01.957 WARNING (MainThread) [aioesphomeapi.connection] dimmer-wd15-3w @ <IP_ADDRESS>: Connection error occurred: dimmer-wd15-3w @ <IP_ADDRESS>: EOF received 2024-09-05 08:50:02.200 WARNING (MainThread) [aioesphomeapi.connection] dimmer-wd05 @ <IP_ADDRESS>: Connection error occurred: dimmer-wd05 @ <IP_ADDRESS>: EOF received 2024-09-05 08:57:59.134 WARNING (MainThread) [aioesphomeapi.connection] dimmer-wd05 @ <IP_ADDRESS>: Connection error occurred: dimmer-wd05 @ <IP_ADDRESS>: EOF received 2024-09-05 08:59:32.315 WARNING (MainThread) [aioesphomeapi.connection] dimmer-wd15-3w @ <IP_ADDRESS>: Connection error occurred: dimmer-wd15-3w @ <IP_ADDRESS>: EOF received

just a comment on my side,
I'm running ESPHome with LibreTiny 1.6.0 for a few weeks now, and I have to say, WIFI is much more stable, still I sometimes have some connectivity and delay issues.

Here is something interesting,  this has been running since last night now and I'm still getting the message I listed above -- However, EOF efforts for all my TreatLife SS01 and SS02S switches have stopped.
EOF Errors persist for:

TreatLife DS01C Dimmer
TreatLife DS01C3 3-Way Dimmer
TreatLife DS03 Fan

@joukio - Any idea why these devices would behave differently?
NOTE: All my ESPHome YAML for these devices is located here: https://www.tyzen9.com/HomeAssistant/Devices/TuyaDevices

I can't tell why the error happens, but as a suggestion I might add that the DS devices likely have TuyaMCU inside, while the SS devices probably don't.

@kuba2k2 - that's a great call out.
Is there anything that you think I should consider adding to my ESPHome YAML to account for or configure the TuyaMCU further?
Looking here: https://esphome.io/components/tuya.html the only thing mentioned is ignore_mcu_update_on_datapoints: A list of datapoints to ignore MCU updates for. Useful for certain broken/erratic hardware and debugging.

having a closer look, I have the following
Logger: aioesphomeapi.connection
Source: runner.py:190
First occurred: September 3, 2024 at 22:12:23 (182 occurrences)
Last logged: 21:54:39

bulb-kamer-voor @ <IP_ADDRESS>: Connection error occurred: bulb-kamer-voor @ <IP_ADDRESS>: EOF received
plafond-slaapkamer @ <IP_ADDRESS>: Connection error occurred: plafond-slaapkamer @ <IP_ADDRESS>: EOF received
bulb-kamer-voor @ <IP_ADDRESS>: Connection error occurred: Ping response not received after 90.0 seconds
bulb-kamer-achter @ <IP_ADDRESS>: Connection error occurred: bulb-kamer-achter @ <IP_ADDRESS>: EOF received

my board is configured like this for all 3 of the devices.
bk72xx:
  board: generic-bk7231t-qfn32-tuya
  framework:
    version: 1.6.0

I don't know if this is TuyaMCU or not, but I actually just assumed the devices have a poor wifi antenna.

I don't know which change in 1.7.0 does the trick, but with this new version.
2 of my 3 libretiny devices don't have any connection issues anymore.

I will try 1.7.0 today on my TreatLife TinyMCU switches today and report back.   Thanks @bkbartk

OK I updated to 1.7.0 on all my treatlife TinyMCU switches here are the results after 21 hours:

TreatLife DS03 Fan -  🎉 NO MORE ERRORS
TreatLife DS01C Dimmer - 👎 Errors persist
TreatLife DS01C3 3-Way Dimmer - 👎 Errors persist

As always, I am happy to help support this.  I can connect to the serial ports and provide logs, whatever might help to get the Dimmers to have the same results.  Thank you for helping resolve the DS03 EOF issues!

Libretiny v1.7.0 is now deployed by default with ESPHome in HomeAssistant.

What I recently realised was my device had a bad capacitor that made the supply voltage less than 5V. This caused the beken to go into the reboots. Just check if your Vcc is stable 5V.

Thanks, it's also been stable for me since using 1.6.0.
On Fri 21 Jun 2024, 13:33 Tanishq Manuja, @.***> wrote:

Similar issue for me device keeps disconnecting randomly. I couldn't even
flash OTA update until I stop my HA docker container.
—
Reply to this email directly, view it on GitHub
https://github.com/libretiny-eu/libretiny/issues/280#issuecomment-2182487477,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAGLJT4LTIFR3LS2BT7VJATZIP6Q3AVCNFSM6AAAAABGY5TMBOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBSGQ4DONBXG4
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Testing a Milfra MFA05F which has a Tuya MCU, I see the same EOF disconnect errors.  Sure seems like that is a Tuya MCU issue.


Improve test coverage by addressing test gaps for vSphere docker volume plugin

This issue is focusing on adding more tests for plugin module.

[ ] #743 (exercise volume operations from multiple endpoint)
[x] #794 (create vSphere volume on newly created vm)
[ ] #820 (update access option for the volume)

Individual issues are already filed for tracking.


first draft for the new release process

I created a first draft for the new release process. Please review and update it if required.

Thsi new version does not mention branches, nor does it mention the docker-compose.yaml file, both required for a release.

@LaurenceIO can you please review/update the DB-Sync Release Process file with your inputs too?

I honestly think that rather than simply replacing the old version with a new version, the old version should be fixed and possibly even expanded.

This has not been touched in over 6 months. Closing.