Doubt early stopping for TableNet?

----------------- SHOW THE CODE ------------------------------
Early stopping logic of TableNet:
           if val_score < best_score:                 best_score = val_score                 stop_steps = 0                 best_epoch = epoch_idx             else:                 stop_steps += 1                 if stop_steps >= self.early_stop:                     self.logger.info("early stop")                     break
Early stopping for other DNNs:
            if val_score > best_score:                 best_score = val_score                 stop_steps = 0                 best_epoch = step                 best_param = copy.deepcopy(self.GAT_model.state_dict())             else:                 stop_steps += 1                 if stop_steps >= self.early_stop:                     self.logger.info("early stop")                     break
Obviously, the diff is the comparison between val_score and best_score. While the default score is the negative of MSE loss, the latter one(val_score > best_score) should be right, am I right? Or do I miss some thing else?

Hi PayneJoe, thanks for your close review. You are right; In this case, the model will be stopped at the wrong epoch. We will fix it and pr a corrected version of TabNet.


Merge apache 20191206a

Merge Apache master into Lyft lyft-master.
This brings a lot of PRs from the bug bash.

Codecov Report

Merging #88 into lyft-master will increase coverage by 0.36%.
The diff coverage is 100%.

@@               Coverage Diff               @@
##           lyft-master      #88      +/-   ##
===============================================
+ Coverage        71.55%   71.92%   +0.36%
===============================================
  Files              122      124       +2
  Lines            12857    12914      +57
===============================================
+ Hits              9200     9288      +88
+ Misses            3657     3626      -31

Impacted Files
Coverage Δ

superset/app.py
80.53% <100%> (+0.39%)
:arrow_up:

superset/__init__.py
100% <100%> (ø)
:arrow_up:

superset/models/sql_lab.py
90.99% <0%> (-3.41%)
:arrow_down:

superset/jinja_context.py
74.73% <0%> (-1.97%)
:arrow_down:

superset/models/core.py
83.09% <0%> (-0.12%)
:arrow_down:

superset/db_engine_specs/presto.py
22.48% <0%> (-0.11%)
:arrow_down:

superset/views/database/forms.py
91.11% <0%> (ø)
:arrow_up:

superset/views/__init__.py
100% <0%> (ø)
:arrow_up:

superset/views/database/api.py
100% <0%> (ø)
:arrow_up:

superset/tasks/cache.py
73.68% <0%> (ø)
:arrow_up:

... and 16 more

Continue to review full report at Codecov.

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


Add support for intname getting set to key when passing through the

topology definition

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
982

Relevant Lines:
1705

💛  - Coveralls


Tram lift vehicle proposal

Request description
Request a design.

I am not expecting to complete this in three months and I proposed this.


[Suggestion] Implement correct scaling for 3:4 monitors

Currently, the launcher starts with a fixed width and height (1196x726) which works fine for 16:9 monitors, but breaks when the monitor is smaller than the defined parameters. The solution to this would be to determine display specifications through System.Windows.SystemParameters and to then scale the elements accordingly.
Main reason for this is that my, Framework Laptop, sports a 3:2 display, which causes the application to have part of the application window initially appear out of bounds. Resizing the application fixes the issue but it would be nice if Collapse could scale to the display.

Sorry for my very late reply on this.
I think, we can implement some options to give users a choose the size of the launcher window.
Unfortunately, this doesn't include a support for resizing in free-form.

Sorry for my very late reply on this. I think, we can implement some options to give users a choose the size of the launcher window. Unfortunately, this doesn't include a support for resizing in free-form.

That makes sense, as some elements should have a defined size. I think this can be added in the Launcher Settings as well as during the initial setup? Let me know what you think.

That makes sense, as some elements should have a defined size. I think this can be added in the Launcher Settings as well as during the initial setup? Let me know what you think.

I've just added a setting in App Settings page to adjust window size.
For now, only two sizes are available, which are:

Normal (1196x726 px)
Small (1028x622 px)

https://user-images.githubusercontent.com/30566970/222958864-be17f7b2-f942-46ca-ae3c-fd883506c78b.mp4

Closing this issue for now as the feature has been implemented in recent commit and will be shipped in the next preview version


Error jobs with UNSUPPORTED_FILE_TYPE do not appear in the history

Describe the bug
When uploading a .doc and triggering an UNSUPPORTED_FILE_TYPE error via API, the corresponding job is not displayed in the history tab in the UI. However, this very bug template says, under Job ID:

You can find it here: https://cloud.llamaindex.ai/parse in the "History" tab.

Job ID
def8b8ba-e3b4-412d-b9a5-4db804a09a59
Client:

API

Hi @BinaryBrain - thank you, that solves https://github.com/run-llama/llama_parse/issues/473, because passing the correct file extension indeed solves that problem.
As for this issue, I believe it should in any case pop up in the history with an error message that ideally explains this.


Doesn't work in Windows 11

In the build release my project won't run in Windows 11. Commenting out the bitsdojo_window lines added in main.cpp to disable bitsdojo enables the app to run on Windows 11, but without bitsdojo...

It's working for me in Windows 11. Can you share your main.cpp code?

In the build release my project won't run in Windows 11. Commenting out the bitsdojo_window lines added in main.cpp to disable bitsdojo enables the app to run on Windows 11, but without bitsdojo...

Hi there,
Do you have more details on this? What is the current behavior you are experiencing?

Please try updating to the latest bitsdojo_window version.


Error NPM Start on Digital Ocean VM

I followed the steps
If you are pulling from git, you must first instruct git to fetch the included submodules. Run this after cloning:
git submodule update --init --recursive
Development is currently done on OS X and tested on Windows 10. To get started, you'll need to install NodeJS, Python 2.7, pip, and virtualenv. With Homebrew, I use:
brew install python node
pip install virtualenv
npm install
To run the project, run:
npm start
After I get an error

electron main.js

sh: 1: electron: not found
npm ERR! Linux 4.4.0-31-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "start"
npm ERR! node v4.2.6
npm ERR! npm  v3.5.2
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR<EMAIL_ADDRESS>start: electron main.js
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>start script 'electron main.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the pokemon-go-map package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     electron main.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs pokemon-go-map
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls pokemon-go-map
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     /home/lmao/as/PokemonGo-DesktopMap/npm-debug.log
NPM LOG
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/nodejs', '/usr/bin/npm', 'start' ]
2 info using<EMAIL_ADDRESS>3 info using<EMAIL_ADDRESS>4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>6 silly lifecycle<EMAIL_ADDRESS>no script for prestart, contin$
7 info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>8 verbose lifecycle<EMAIL_ADDRESS>unsafe-perm in lifecycle true
9 verbose lifecycle<EMAIL_ADDRESS>PATH: /usr/share/npm/bin/node-g$
10 verbose lifecycle<EMAIL_ADDRESS>CWD: /home/lmao/as/PokemonGo-D$
11 silly lifecycle<EMAIL_ADDRESS>Args: [ '-c', 'electron main.js'$
12 info lifecycle<EMAIL_ADDRESS>Failed to exec start script
13 verbose stack Error<EMAIL_ADDRESS>start: electron main.js
13 verbose stack spawn ENOENT
13 verbose stack     at ChildProcess. (/usr/share/npm/lib/utils/spaw$
13 verbose stack     at emitTwo (events.js:87:13)
13 verbose stack     at ChildProcess.emit (events.js:172:7)
13 verbose stack     at maybeClose (internal/child_process.js:821:16)

Also please don't hate on me i'm new to linux.

i also get same problem so please solve


Highlighting breaks on generics over arrays

When having generics over arrays, the type name doesn't get highlighted, the left pointy bracket isn't colored, and the opening bracket of the array gets an error highlight. They should be highlighted as the regular generic highlight.

Is this bug really fixed? I'm using Rust Enhanced v1.3.2, and even this exact code still triggers the error highlight.

hi @Osspial i'm not seeing the same problem

Okay, so actually, the Rust enhanced syntax highlighting doesn't have this problem.
Now I realized that there are two options for highlighting. Rust, and Rust Enhanced, and the default is Rust. Is this normal? The readme says "It should override the default Rust within Sublime", so I'm guessing not. Any way to make it the default?

There are some issues caused by there being two. Easiest fix is to Disable Package -> Rust


Update with 2024 Data

The 2024 IBAN database has been updated in February; I want to check if there's plan to keep this updated or if we should be looking to extract and update separately.
Latest PDF is available here: https://www.swift.com/swift_resource/9606

I have updated the cache in this repo. But if you need the latest version, run the script locally. Do be warned, it can take for ever. I'm not actively maintaining this list or this cache.
Maybe at some point (if there is demand for it!) I'll build a pipeline to automatically produce a zip file.


CUSTOM objects

Hi @yuell-science,
Thanks for the great work.
I have custom novel objects whose 6D pose need to be detected. I have the real image and the object's 2D Bounding Box available. Can I use one of the pre-trained models directly to obtain the 6D pose? If not, is it possible to fine-tune the provided weights of a pre-trained model to detect my custom objects?
FYI: I have limited training data available for my custom objects and so would training a new model from scratch realistically possible?
I look forward to your reply.
Thanks,

Hi @retazo0018,
Thanks for your interest. As of now the focus of this work is mainly around known objects so it won't work for novel objects off-the-shelf. One bottleneck for generalizing towards novel objects is on the asymmetric U-Net decoder, which is parametrized per object. If you have limited training data available, perhaps you could try extending this decoder with one more class and then fine-tune some other layers in the classifier / regressor.


Current rkt versions don't work with ubuntu-trusty as documented.

The commands in Documentation/getting-started-ubuntu-trusty.md do not work with rkt-0.7.0,
even when metadata-service is started.
Either downgrading to rkt-0.5.6 (not just rkt-0.6.1) or upgrading to ubuntu/vivid (not just ubuntu/utopic) seems to solve the problem.
# ./rkt run --debug=true --insecure-skip-verify=true coreos.com/etcd:v2.0.9
rkt: fetching image from file:///home/vagrant/rkt-v0.7.0/stage1.aci
rkt: searching for app image coreos.com/etcd:v2.0.9
meta tag 'ac-discovery' not found on coreos.com/etcd: Get http://coreos.com/etcd?ac-discovery=1: dial tcp: i/o timeout
rkt: found image in local store, skipping fetching from https://github.com/coreos/etcd/releases/download/v2.0.9/etcd-v2.0.9-linux-amd64.aci
2015/08/02 08:18:18 Preparing stage1
2015/08/02 08:18:18 Writing image manifest
2015/08/02 08:18:18 Loading image sha512-91e98d7f1679a097c878203c9659f2a26ae394656b3147963324c61fa3832f15
2015/08/02 08:18:18 Writing pod manifest
2015/08/02 08:18:18 Setting up stage1
2015/08/02 08:18:18 Wrote filesystem to /var/lib/rkt/pods/run/3f418d27-8294-420c-970a-71ad7ab98aaa
2015/08/02 08:18:18 Pivoting to filesystem /var/lib/rkt/pods/run/3f418d27-8294-420c-970a-71ad7ab98aaa
2015/08/02 08:18:18 Execing /init
Spawning container rkt-3f418d27-8294-420c-970a-71ad7ab98aaa on /var/lib/rkt/pods/run/3f418d27-8294-420c-970a-71ad7ab98aaa/stage1/rootfs.
Press ^] three times within 1s to kill container.
# echo $?
1

(And the great news for me is: rkt-0.5.6 can apparently run containers on ancient ubuntu/precise64 servers. Awesome, thank you!)

We discussed this problem recently in the rkt-dev mailing list but we forgot to update getting-started-ubuntu-trusty.md.
Thanks for reporting, I filed a PR to update the guide: #1230


Refactored getKeyForHeader to remove promise

Recent version of jose library support submitting the value directly rather than a Promise.
The reason for this change is an ongoing investigation into intermittent Invalid Compact JWS errors which occur in this method.  My hope is that removing promises will bring us one step closer to understanding the root cause of those errors.

Coverage remained the same at 95.185% when pulling e2e7bb754613043c35bf38dbee25e38b40d16cf3 on cody-getKeysForHeader into 5a3d97c47287efbaac4d5fc26de177b2125da8a1 on main.


Use API call to get region name

https://github.com/outscale-dev/osc-tui/blob/93a44e35a523791494dc5c711042f91a08737f87/src/popup.py#L54
This line have 3 problems:

it refer to regions that doesn't exist anymore
it doesn't contain all regions
it's not future proof

If we used the api call ReadRegions we could simply get the region list, and use that instead.

@Pierre570 tu prends?

Yes mais pour le moment on peut pas utiliser ReadRegions


Create a depth-first AST traversing sequence

This is actually really, really powerful. I can do an in-place full tree transform like this:
    project.descendants().forEach { node ->
        when (node) {
            is HexadecimalLiteralExpr -> {
                val value = parseInt(node.rawValue.substring(1), 16)
                node.replace(ConstantValueExpr(value, guessLiteralNumberType(value)))
            }
        }
    }

I've made this a "val" instead of a "fun" because all my Java years have taught me that getters should be simple retrievals of a value, not complex functions.

I've made it a fun instead of a val because my years with Java taught me that getters should just return a value. That's not in the same style as containmentProperties and children though.

I'm working on replacing existing code to use this, and am realizing that...

the first method to build should be walk(algorithm)
walk should output the start node too. We can always filter it away, but we cannot re-add it in the right position because the algorithm will decide where it goes.

Implemented that too. Note how some of the existing utility methods have turned into simple one-liners this way. Now you can map, filter, and foreach any order of nodes to whatever you want.

Okay, and here is the post-order leaves-first algorithm. Pretty huge and ugly but can't get it smaller right now.

Woohoo!


Reverse history search yields a single line with all commands in history

[ ] I have read through the manual page (man fzf)
[x] I have the latest version of fzf
[x] I have searched through the existing issues

Info

OS

[x] Linux
[ ] Mac OS X
[ ] Windows
[ ] Etc.

Shell

[x] bash
[ ] zsh
[ ] fish

Problem / Steps to reproduce
Problem:
I recently updated fzf (i rarely do this) and now whenever I do a reverse history lookup all the commands of my history are bundled into a single line and I cannot choose a single command individually (fzf will try to call all commands at once, which fails)

Steps to reproduce:

Press Ctrl-r to bring up history reverse search

Additional information:
I did a git bisect and found #1837 to be the "culprit", not sure if it's actually the culprit because other things may have had an effect (such as bash version which is 5.0.17(1)-release on arch linux) but in any case 1ccd8f6a647a31f8cb1d683d25d9f21ab28b11cc is the last working revision on my machine.
I applied the following patch locally which works but I doubt it's the correct fix
diff --git a/shell/key-bindings.bash b/shell/key-bindings.bash
index e157b07..9bee49e 100644
--- a/shell/key-bindings.bash
+++ b/shell/key-bindings.bash
@@ -48,7 +48,7 @@ __fzf_history__() {
   local output
   output=$(
     builtin fc -lnr -2147483648 |
-      last_hist=$(HISTTIMEFORMAT='' builtin history 1) perl -n -l0 -e 'BEGIN { getc; $/ = "\n\t"; $HISTCMD = $ENV{last_hist} + 1 } s/^[ *]//; print $HISTCMD - $. . "\t$_" if !$seen{$_}++' |
+      last_hist=$(HISTTIMEFORMAT='' builtin history 1) perl -n -l0 -e 'BEGIN { getc; $/ = "\n\t"; $HISTCMD = $ENV{last_hist} + 1 } s/^[ *]//; print $HISTCMD - $. . "\t$_\n" if !$seen{$_}++' |
       FZF_DEFAULT_OPTS="--height ${FZF_TMUX_HEIGHT:-40%} $FZF_DEFAULT_OPTS -n2..,.. --tiebreak=index --bind=ctrl-r:toggle-sort $FZF_CTRL_R_OPTS +m --read0" $(__fzfcmd) --query "$READLINE_LINE"
   ) || return
   READLINE_LINE=${output#*$'\t'}

this is the result after applying the patch

however it obviously breaks multi-line commands (or at the very least, makes them look weird)

Closing as I can't reproduce the problem.

I ran into this problem again recently (because I updated FZF), @junegunn is there something I could to aid in reproducing this issue? maybe share my .bashrc or the terminal emulator that I use? (kitty)

fwiw, I've encountered this problem, too, on macs and linux boxes.
My guess is that it has something to do with with my bash or perl settings.
Elkasitu's patch has worked for me.
If there's any diagnostic information I can provide to be of use, I'd happy to give it.

Could you confirm that  1ccd8f6 was the last working revision for you? I recently had to set up a new machine and still had the same problem

We started using perl in #1837. So it's probably related to your perl version? Which version of perl is installed in your system?

This is perl 5, version 34, subversion 0 (v5.34.0) built for x86_64-linux-thread-multi


chore(deps): update dependency de.gdata:vaas to v8.2.5 - abandoned

This PR contains the following updates:

Package
Type
Update
Change

de.gdata:vaas
dependencies
minor
8-future -> 8.2.5

:warning: Warning
Some dependencies could not be looked up. Check the warning logs for more information.

Configuration
:date: Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

Autoclosing Skipped
This PR has been flagged for autoclosing. However, it is being skipped due to the branch being already modified. Please close/delete it manually or report a bug if you think this is in error.


clarify "time difference" chart

bar height represents accumulated time, not trip count
buckets are from duration before edits

LGTM -- this is indeed more clear to read.


Compatibility Problem with javafx-8.0.jar

Val<T> extends javafx.beans.value.ObservableValue. However, "javafx-8.0.jar" is using another version  of javafx.beans.value.ObservableValue. So, There is a conflict happens whenever we use both jars in the same project.

Hi, what is "javafx-8.0.jar" and where does it come from?

It is required in my project to load the system library "jfxrt.jar" classes into my project.
groupId: com.oracle
artifactId: javafx
version: 8.0

I still don't understand, does that jar define its own javafx.beans.value.ObservableValue? Does the error arise because you are trying to load a class with the same name twice? What is the error message you get? What JDK version do you use?

Yes, this jar defines its own javafx.beans.value.ObservableValue, and may be it is a wrapper of this class which is inside "jfxrt.jar" which is existing inside the JDK. Yes the problem arise because there are two different instances of this class inside both jars. I'm using jdk1.8.0_91 or jdk1.8.0_73. Both JDKs have the same problem. The error message is

"java.lang.LinkageError: loader constraint violation: when resolving method "MyClass.(LMyClass;Ljavafx/beans/value/ObservableValue;Z)V" the class loader (instance of org/eclipse/osgi/internal/loader/EquinoxClassLoader) of the current class, MyClass2, and the class loader (instance of org/eclipse/osgi/internal/loader/EquinoxClassLoader) for the method's defining class, MyClass3, have different Class objects for the type javafx/beans/value/ObservableValue used in the signature"

.
Whenever I remove the dependency of any of "javafx-8.0.jar" or "reactfx-2.0-M5.jar", the error disappear.

Well, ReactFX doesn't define javafx.beans.value.ObservableValue, it just uses the one from JDK. I don't understand why you would need an extra jar file (javafx-8.0.jar) when JavaFX is part of the JDK already. You can try to compile ReactFX yourself with a dependency on that jar, to see if that resolves the problem.


Notify team when scheduled model regression test fails

Description of Problem:
Currently, when the scheduled model regression tests, any one of the configuration can silently fail on a dataset. Model training can fail because of various reasons like OOM, invalid configuration, etc. We need to manually go to the metabase dashboard and check if all configurations reported back a result for the last run.
Overview of the Solution:
It would be great if a message is delivered to a slack channel whenever any of the configuration fails during a scheduled run.
Note that this is only for scheduled runs and not for runs that are triggered by someone on a PR.

@dakshvar22 Which channel should we use to set messages to?

#product-research channel would be good.


Project setting

Scope
Review the project setting and update

[x]  Wikis
[x] Get organized with issue templates
[ ] Contribution
[ ] GitHub Pages
[ ]  Code of conduct
[ ]  Pull request template

Removed WIKI.


export_text_analysis is not an experimental endpoint anymore

Describe the bug
In a recent release (which one exactly?), the export_text_analysis endpoint moved away from the experimental to /rest/v1/textanalysis/projects/{projectName}/documentSources/{documentSourceName}/processes/{processName}/export. We should adjust the endpoint accordingly.
Expected behavior
Export text analysis should work.
Additional context
We should discuss, whether we want to support different endpoints versions depending on the build_info() or whether we only support the latest endpoint version

Closed with https://github.com/averbis/averbis-python-api/pull/65


[NG] adding labels to  Datagrid single & expandable column

Datagrid (first) row for expandable and single selection don't have a human-readable label.
I'm not sure that the labels are the best one - do we need to add some specific label like Expandable and Single selection or we could go with Select and Expand
TODO
Backport it for v1

Yes aria-label can used on any element that needs an accessible name.
From: Bozhidar Dryanovski<EMAIL_ADDRESS>Reply-To: vmware/clarity<EMAIL_ADDRESS>Date: Thursday, June 27, 2019 at 11:27 PM
To: vmware/clarity<EMAIL_ADDRESS>Cc: Chris Lane<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [vmware/clarity] [NG] adding labels to Datagrid single & expandable column (#3506)
@bdryanovski commented on this pull request.

In src/clr-angular/data/datagrid/datagrid.htmlhttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fvmware%2Fclarity%2Fpull%2F3506%23discussion_r298467261&data=02|01|chlane%40vmware.com|7be52b1cdc3c481f301608d6fb919467|b39138ca3cee4b4aa4d6cd83d9dd62f0|0|0|636973000010695199&sdata=pakZN8EHDqUy2LHh%2FanKw84vfxC78zga6%2BAkM1tJB%2FA%3D&reserved=0:

@@ -31,12 +31,12 @@

             </div>

             <!-- header for single row action; only displayType if we have at least one actionable row in datagrid -->

             <div role="columnheader" class="datagrid-column datagrid-row-actions datagrid-fixed-column"

                *ngIf="rowActionService.hasActionableRow">

                *ngIf="rowActionService.hasActionableRow" [attr.aria-label]="commonStrings.select">

There is no existing text that could be used for labeling so that's why I added aria-label.
From the spec of aria-label, I don't see any issue adding it to any type of element.
@chlanehttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fchlane&data=02|01|chlane%40vmware.com|7be52b1cdc3c481f301608d6fb919467|b39138ca3cee4b4aa4d6cd83d9dd62f0|0|0|636973000010695199&sdata=y7pfZqZkayCyOmepFpDOM04OB7bXdBEc%2FEGdgJHjfSY%3D&reserved=0 👷
About the tests, give me a sec;)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fvmware%2Fclarity%2Fpull%2F3506%3Femail_source%3Dnotifications%26email_token%3DALPARJSMRXCN7RMECLP3BETP4WVJ7A5CNFSM4H3F5JH2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB46C24A%23discussion_r298467261&data=02|01|chlane%40vmware.com|7be52b1cdc3c481f301608d6fb919467|b39138ca3cee4b4aa4d6cd83d9dd62f0|0|0|636973000010705196&sdata=LotlsroA72xJBN%2BlQEh2JkHJcsu7%2FE93FLeZ4t0LR7g%3D&reserved=0, or mute the threadhttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FALPARJRNGMYRX4OH4MPEXMDP4WVJ7ANCNFSM4H3F5JHQ&data=02|01|chlane%40vmware.com|7be52b1cdc3c481f301608d6fb919467|b39138ca3cee4b4aa4d6cd83d9dd62f0|0|0|636973000010705196&sdata=qt0Xmm3DDb21mMdNG7RwQqRDBMUICNbRUYMHeHaVcRM%3D&reserved=0.

You need to revert the package-lock changes.

Can you get rid of package lock changes?


fix(toolbar): update md toolbar button spacing and segment padding

Short description of what this resolves:
Updates the toolbar buttons to follow the spec and modifies the padding for segment in a toolbar
Fixes: #16950 #14444
What's done in this PR:
This applies to Material Design styles only

Removes the padding from the main toolbar so that we can individually style the components inside of it
Adds a has-icon-only class to button, this is used to switch between unbounded and bounded ripples on buttons in a toolbar. If the button is clear and only has an icon, we use the unbounded "circular" ripple effect, otherwise still use the bounded one. This matches the MD spec, without making the other buttons look weird.
Using the class above, style the button differently to match the MD spec
Updates the back button and menu button to use the proper size / icon size
Removes the opacity on an activated back button, it should use the ripple
Moves the margin to the slots in a toolbar by grabbing the "first" and "last" slot and applying a class
Makes the segment in a toolbar use the min height from --min-height on the toolbar
Updates the back button so that it matches the MD spec.
Updates the header box shadow to use the old v3 datauri per Ben

Previews
Ionic on the left, Material Design on the right

Comparison between MD & Ionic Back Button

Comparison between MD & Ionic Other Buttons

Updated Ripple Effect

I approve this. :joy:

The set width 48px on the button creates an issue with icon only buttons. Adding multiple icon-only buttons makes icons tiny. It also creates an issue with multiple icons inside of a button by making icons tiny.
I now have width: auto !important overriding it to make it work.

@tmk1991 What do you mean by multiple icon-only buttons? Can you produce a Codepen or code of this?


Hardcode callback gas limit

Make sure not to spend more than 2 million gas on a callback. This is to protect members from relay entry failure and potential slashing in case of any changes in .call() gas limit.

@pdyraga ready!


Fix permissions documentation

The permission should be contents and not context (doesn't exist).

Looks like
permissions:
  contents: read
  actions: read

l21 needs same change l49 "follow" -> "following"

Done

Looks like
permissions:
  contents: read
  actions: read

You are correct. This happens to work as the GitHub API we're using doesn't require this permission for public repositories: https://docs.github.com/en/rest/actions/workflow-runs?apiVersion=2022-11-28#get-a-workflow-run-attempt


Build for debugging.

Is it possible add manual how to build it for debugging? I want make some changes.

Could you please explain what type / layer of debugging you expect?

Now projet possible build only by build.sh which not so cool for any IDE. Also I can see debug flag in the code. But no mention how to build the project for development.

Cmake can help I belive.


Updating TAI_NETWORK_INTERFACE_ATTR_TX_FINE_TUNE_LASER_FREQ attribute

PR for Issue #47

Looks good.
Acked-By: Scott Emery<EMAIL_ADDRESS>


Fixes to positional and tests

Add interfaces for all Pre/Post runners
Update doc
Fixes to positional parsing and tests

Codecov Report
Base: 97.86% // Head: 97.86% // No change to project coverage :thumbsup:

Coverage data is based on head (e91218b) compared to base (a622d41).
Patch coverage: 0.00% of modified lines in pull request are covered.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #13   +/-   ##
=======================================
  Coverage   97.86%   97.86%
=======================================
  Files           9        9
  Lines       11011    11011
=======================================
  Hits        10776    10776
  Misses        203      203
  Partials       32       32

Impacted Files
Coverage Δ

gen/flags/command.go
0.00% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


How can this library be used in AWS Lambda?

I tried to deploy a lambda function that uses this package. I was aware that I needed to install libcairo2-dev libpoppler-qt5-dev, but AFAIK, it's impossible to do so in AWS Lambda (correct me if I'm wrong). So of course, when I tested the function, I got the following error:
Error: libQt5Gui.so.5: cannot open shared object file: No such file or directory
    at ...
    at /opt/nodejs/node_modules/pdf-fill-form/lib/pdf-fill-form.js:70:43

which comes from:
https://github.com/tpisto/pdf-fill-form/blob/a3996cdce2508060b221fcd60e9a1ee51d47d162/lib/pdf-fill-form.js#L70
I created a new layer with lib/libQt5Gui.so.5 inside, and then I got an error that libQt5Core.so.5 is missing and so on.
I eventually created this docker file:
FROM ubuntu:18.04

# Installing dependencies
RUN apt update
RUN apt-get update
RUN apt-get install -y locate \
                       libcairo2-dev \
                       libpoppler-qt5-dev

RUN rm -rf /poppler_binaries;  mkdir /poppler_binaries mkdir /poppler_binaries/lib;
RUN updatedb
RUN cp $(locate libQt5Gui.so.5) /poppler_binaries/lib/.
RUN cp $(locate libQt5Core.so.5) /poppler_binaries/lib/.
RUN cp $(locate libcairo.so.2) /poppler_binaries/lib/.
RUN cp $(locate libpoppler-qt5.so.1) /poppler_binaries/lib/.
RUN cp $(locate libGL.so.1) /poppler_binaries/lib/.
RUN cp $(locate libpng16.so.16) /poppler_binaries/lib/.
RUN cp $(locate libharfbuzz.so.0) /poppler_binaries/lib/.
RUN cp $(locate libicui18n.so.60) /poppler_binaries/lib/.
RUN cp $(locate libicuuc.so.60) /poppler_binaries/lib/.
RUN cp $(locate libdouble-conversion.so.1) /poppler_binaries/lib/.
RUN cp $(locate libglib-2.0.so.0) /poppler_binaries/lib/.
RUN cp $(locate libpixman-1.so.0) /poppler_binaries/lib/.
RUN cp $(locate libfontconfig.so.1) /poppler_binaries/lib/.
RUN cp $(locate libfreetype.so.6) /poppler_binaries/lib/.
RUN cp $(locate libxcb-shm.so.0) /poppler_binaries/lib/.
RUN cp $(locate libxcb.so.1) /poppler_binaries/lib/.
RUN cp $(locate libxcb-render.so.0) /poppler_binaries/lib/.
RUN cp $(locate libXrender.so.1) /poppler_binaries/lib/.
RUN cp $(locate libX11.so.6) /poppler_binaries/lib/.
RUN cp $(locate libXext.so.6) /poppler_binaries/lib/.
RUN cp $(locate libpoppler.so.73) /poppler_binaries/lib/.
RUN cp $(locate libQt5Xml.so.5) /poppler_binaries/lib/.
RUN cp $(locate libGLX.so.0) /poppler_binaries/lib/.
RUN cp $(locate libGLdispatch.so.0) /poppler_binaries/lib/.
RUN cp $(locate libgraphite2.so.3) /poppler_binaries/lib/.
RUN cp $(locate libicudata.so.60) /poppler_binaries/lib/.
RUN cp $(locate libpcre.so.3) /poppler_binaries/lib/.
RUN cp $(locate libexpat.so.1) /poppler_binaries/lib/.
RUN cp $(locate libXau.so.6) /poppler_binaries/lib/.
RUN cp $(locate libXdmcp.so.6) /poppler_binaries/lib/.
RUN cp $(locate libjpeg.so.8) /poppler_binaries/lib/.
RUN cp $(locate libnss3.so) /poppler_binaries/lib/.
RUN cp $(locate libsmime3.so) /poppler_binaries/lib/.
RUN cp $(locate liblcms2.so.2) /poppler_binaries/lib/.
RUN cp $(locate libtiff.so.5) /poppler_binaries/lib/.
RUN cp $(locate libbsd.so.0) /poppler_binaries/lib/.
RUN cp $(locate liblzma.so.5) /poppler_binaries/lib/.
RUN cp $(locate libjbig.so.0) /poppler_binaries/lib/.

But every time I got a different missing shared file. The layer has eventually grown up to 70MB and that's pretty much where I gave up (Yes, I manually deployed the layer 38 times. Yes, I know it's sad).
I know that this issue might be out of the scope of this package, but this issue might help other people (hopefully) that are trying to use this package in AWS Lambda.

As of early 2022, AWS Lambda can now run custom containers which means no more messing with layers!
Here's our working Dockerfile that is deployed in Lambda to help us fill PDFs. The build image is lifted from the aws-lambda-irc upgraded to node-14:
FROM node:14-buster-slim as build-image

# Include global arg in this stage of the build
ARG FUNCTION_DIR=/app

# Install aws-lambda-cpp build dependencies
RUN apt-get update && \
    apt-get install -y \
    g++ \
    make \
    cmake \
    unzip \
    libcurl4-openssl-dev \
    tar \
    gzip \
    autoconf \
    automake \
    libtool \
    libkrb5-dev \
    python3 \
    yarn \
    pkg-config \
    libpoppler-qt5-dev \
    libcairo2-dev

# Copy function code
RUN mkdir -p ${FUNCTION_DIR}
COPY . ${FUNCTION_DIR}

WORKDIR ${FUNCTION_DIR}

# If the dependency is not in package.json uncomment the following line
RUN npm install aws-lambda-ric

RUN yarn

# Grab a fresh slim copy of the image to reduce the final size
FROM node:14-buster-slim

# Include global arg in this stage of the build
ARG FUNCTION_DIR=/app

# Need some native functions so node modules work
RUN apt-get update && \
    apt-get install -y \
    pkg-config \
    libpoppler-qt5-dev \
    libcairo2-dev

# Set working directory to function root directory
WORKDIR ${FUNCTION_DIR}

# Copy in the built dependencies
COPY --from=build-image ${FUNCTION_DIR} ${FUNCTION_DIR}

# ENTRYPOINT ["/usr/local/bin/npx", "aws-lambda-ric"]
# CMD ["app.handler"]


Entity queries do not include variables used in directives

When a variable, for example $someSkipCondition, is used as the argument to a directive like so:
query MyReviews($someSkipCondition: Boolean!) {
    me {           // users service
        reviews {  // reviews service
            body
            notes @skip(if: $someSkipCondition)
        }
    }
}

the entity query sent to the reviews service doesn't include the $someSkipCondition variable.
The query that's sent is:
{"query":"query($representations: [_Any!]!){_entities(representations: $representations){... on User {reviews {body notes @skip(if: $someSkipCondition)}}}}","variables":{"representations":[{"id":$$0$$,"__typename":"User"}]}}

This is the query that's expected:
{"query":"query($representations: [_Any!]!, $someSkipCondition: Boolean!){_entities(representations: $representations){... on User {reviews {body notes @skip(if: $someSkipCondition)}}}}","variables":{"someSkipCondition":$$1$$,"representations":[{"id":$$0$$,"__typename":"User"}]}}

Note that the query that's sent isn't valid since it references a variable that doesn't exist.
Khan/graphql-go-tools#1 has a test that demonstrates this issue.

That's easy to fix. I'll check that test. Btw. I'm currently on your last PR.


Problem with h2 in vue-editor

Hi,
I use vue2 editor with my application, but when I choose the specific h2 formatting, the selected text only has a #46195e color. If I try to choose other color, the h2 color can't update to other.
Don't have any documentation about editor Options, which parameters to pass to component, etc. How to customize it
How I solve this?

ádasdasd

This issue is stale because it has been open for 60 days with no activity.

This issue was closed because it has been inactive for 7 days since being marked as stale.


"Share Link" usage unclear

I'm viewing @foo.bar's note hello -- when I go to share link, the link used is @foo.bar/hello, which only has meaning within that current sphere. Canonicalizing e.g @did:key:.../hello could be more useful, though unclear yet how these can/would be used

@jsantell good callout. I think the concrete usecase for this feature atm is grabbing a link so you can reference it from your own note but (as you point out) that isn't really what "share" means to a user.
If that's the only usecase then perhaps offering specific actions for "create a new empty note linking to this note" or "add a link to this note to the bottom of an existing note" is better?


[Runner] Move csl_paths(host_platform) at the beginning of LD_LIBRARY_PATH

This should make it easier to run applications we build with the host toolchain.  CC: @vchuravy

This keeps blocking new LLVM versions being built for Julia so it would be great to have a solution that allows running binaries built for the host.

Tested in https://github.com/JuliaPackaging/BinaryBuilder.jl/pull/1032, unless I'm missing something, all failures are in Rust tests... Rust toolchain is hopelessly broken... :cry:

This seems to cause some issues: https://github.com/JuliaPackaging/Yggdrasil/pull/3249#issuecomment-879257918  I wonder whether we should override LD_LIBRARY_PATH inside the compiler wrappers

Ok, this pull request is turning into a massive yak shaving.
Now I'm overriding LD_LIBRARY_PATH inside the compiler wrappers and I added a test based on the reproducer above.  However, now I can't run the compiled program for i686-linux-gnu-libgfortran5.  Note: this works on master, more specifically it works without 86114d6 (#157), this means that running the program only worked because the CSL paths have always been wrong.  Running the test program results in the following error:
./test: error while loading shared libraries: libc.musl-i386.so.1: cannot open shared object file: No such file or directory

@staticfloat does this mean we aren't rejecting musl correctly?  Any hints?

However, now I can't run the compiled program for i686-linux-gnu-libgfortran5.

That sounds like a feature xD

Ok, I think I found a solution: generate CSL paths only for target and host platforms, at the moment we were generating them for all platforms, resulting in the error shown above: https://github.com/JuliaPackaging/BinaryBuilderBase.jl/pull/157#issuecomment-879426510.  The annoying thing is that the order is very important: target first only if it has an architecture different from the host, otherwise host first.


This fixes all tests for slice datatype.

#36

Hi @eliasdorneles.  I implemented this public static boolean isSequence(org.python.Object other) in Object class. Really liked your suggestion about definition of sequence type.
Thank you.

Thanks @student-06 ! :sparkles:


Is there an Event like an GroupChangeEvent

Dear Developer of Luckperms,
I would like to ask if there is an Event when a Group of a User Change

This: https://github.com/lucko/LuckPerms/blob/master/api/src/main/java/net/luckperms/api/event/user/UserDataRecalculateEvent.java (I use this one to change my scoreboard prefix for example and it works great)
Or this: https://github.com/lucko/LuckPerms/blob/master/api/src/main/java/net/luckperms/api/event/user/track/UserTrackEvent.java

Or NodeMutateEvent :)


[Bug] Wrong indentation for BREAK in inline IF

Hi,
Almost exactly as in #349 I'm having issues with the BREAK (instead of RETURN) indentation inside inline IF:

I guess the BREAK statement also has to be added in the indentation handling for those inline cases, right?

Ups! Same goes for CONTINUE - at this point I need to take a look if there is a better option to handle such cases so avoid silly mistakes like this. Thanks for reporting


Wire 0.8.2 is not compatible with 0.8.1

It fails when deserialising datetime or datetimeoffset types
Not sure if this is a bug, or an intentional change.

Are you certain that the version used to generate the previous payload was 0.8.1?
there was an introduction of serializing the DateTime.Kind and DateTimeOffset.Kind properties in a much earlier version.
Which would be my first bet. as the payload for those types increased with one byte.
Ore those part of a bigger message?
Anything with exotic collections?
Important to know here is that version tolerance is not yet implemented.

Related to #33

Its part of a much bigger message. The message does has one collection. But thats a standard .net list.
I realize there is no hard backwards compat guarentee anywhere. But i guess that it stemmed from the fact that its not mentioned anywhere. Combined with the fact that some previous releases had been (afaik) (seemingly) backwards compatible.
Some small release notes when you publish a new version here in the github repo would help in creating awareness. Or it could just be me ;)
But im sure it was serialized with 0.8.1 . After i downgraded the deserializing side to 0.8.1 it started working.
I since moved both sides to 0.8.2.

There are no changes in schema or functionality between 0.8.1 and 0.8.2, it's a patch for the hash set serialization performance.
If you are able to replicate it, please let me know.
Because if there is schema breakage between the two versions, that's likely a bug.
The versioning strategies of Wire are described here:
https://github.com/rogeralsing/Wire#version-tolerance
Nr 3) there should be expanded on as this is the part that is not implemented.

Ill check about reproducing it. Ill get back to you on that next monday

I cant seem to reproduce it. So it seems there are some other issues involved that i've missed. Im suspecting some internal-project old-build shenanigans that i probably solved with a hard rebuild all.
Closing this issue


Add notes on Developer and Data Science teams collaboration.

Hello @DanMass,
I opened this PR to collaborate on the guidance for interaction between software engineering and data science teams.
Please take a look when you have time and I will work on improving it.
Thank you!

Please could you update and open a new PR for this given the new playbook structure? The content should be moved to this location


add fontawesome icon set

Activate fontawesome icon set in quasar.conf.
See related Merge Request for info screen, which uses a fontawesome icon.

Don't just approve, assignees are also responsible for merging the requests.


fixed bug to allow multiple sil agents

I fixed 2 lines in spawn_mav.launch to allow more than 1 agent to be spawned in gazebo at a time

Does this still work if you don't supply a mav_name argument?

Waiting for CI, then good to go!


Update ora 4.x to 5.x

New upstream version is 5.x and breaking change is dropping support for older node versions we also don't support.

not sure why the ci not running, but I've tested on my local, and it's working fine.


smaller debuginfo in release

bors r+
🤖

I somehow pushed this to master directly?

Now the binary is only 170 MB :laughing:.


How to set SuperAppbar pure background color as transparent?

Currently it will have blur effect if transparent.

Set scaffold color without opacity


Generalize setState to setSelectorExpression

Nit, but is there any reason why this is called {set,get}SelectorExpression? It sounds like an implementation detail. Wouldn't {set,get}Property (or even the current {set,get}State) be more generic and still accurate?
cc @jplevyak

I really don't want a naming bike-shed. I think we went through a few iterations, and just settled on getSelectorExpression. Property sounds a bit too web-ish, which is not the intent.

I don't know.  getProperty and setProperty are shorter and more descriptive.  After all, we are not getting an expression, but rather a value and getSelectorExpressionValue is a mouthful.  Even getExpressionValue is a bit much, particularly since are not actually doing full expression evaluation AFAICT.  Oh and getSelectorValue is right out.  What is a selector anyway, and getValue is too broad.

That's fine with me. Is everyone on-board to rename then?

Sounds like it.


Update URLs of buttons in README

Currently, the documentation button in the README points to this URL, which is no longer available. And this is also the case of the codecov button. This PR updates all this kind of URLs in the README.
Contributor (creator of pull-request) checklist

[ ] Tests updated (for new features and bugfixes)?
[ ] Documentation updated (for new features)?
[ ] Issue referenced (for PRs that solve an issue)?

📚 Documentation preview 📚: https://metatrain--416.org.readthedocs.build/en/416/

Thank you!


OSOE-156: Optimize the file management of Windows builds

OSOE-156
Fixes #32.

Nothing worked here, unfortunately.


Allow to configure SSL host verification

By default, the SSL host is verified when talking with the Docker host. This works fine except in situation when the docker host is contacted from within a run docker container by contacting it via the internal interface. That's because the docker host's server cert doesn't contain this internal IP.
SSLConnectionSocketFactory can be configured to use a ALLOW_ALLHOSTNAME_VERIFIER. This should be possible to switch on by env, prop, config.

Raised an issue docker/docker#13922 since I believe, that Docker could do better here, too.

Maybe as a simple fix evaluate DOCKER_TLS_VERIFY for deciding upon verification.

I will go the DOCKER_TLS_VERIFY route, since this is is the least intrusive solution for this quite special use case.


Incorrect message in Mandatory Claim Request page

Moved from https://wso2.org/jira/browse/IDENTITY-5578
The message instructs to manually fill the claim value in the user profile. But it automatically gets filled when the user enters the value in this page.

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


Feature Request - config.d style configuration for ziti controller

Feature request to support conf.d style configuration for the ziti controller.
Adopting a config.d style would include an option to look in a specified directory for multiple configuration directives.
Example of adding a global include key that specifies the directory to search:
ziti controller configuration:
v: 3

include:
  directory: /opt/openziti/config.d
  extension: yml

events:
  jsonLogger:
    subscriptions:  jsonLogger:
    subscriptions:
      - type: fabric.circuits
     ...
        interval: 25s
    handler:
      type: file
      format: json
      path: /tmp/ziti-25s-events.log

...

The directory /opt/openziti/config.d could contain multiple files all ending in the specified extension.
The content of a file would be the original format & could contain one or more configuration keys:
Example of separated events configuration that will override the default:
/opt/openziti/config.d/01-event-logger.yml
events:
  jsonLogger:
    subscriptions:  jsonLogger:
    subscriptions:
      - type: fabric.circuits
     ...
        interval: 5s
    handler:
      type: file
      format: json
      path: /tmp/ziti-5s-events.log
  amqpLogger:
    subscriptions:
      - type: fabric.usage
      - type: fabric.circuits
     ...
        interval: 5s
    handler:
      type: file
      format: json
      path: /tmp/ziti-events.log

The files would be read/sorted in lexical order.  01,10, 1, 2, 3, a, b, c
Any config key loaded from file would be logged as coming from the specified config.d file.
Any duplicate keys would be logged as unable to import & skipped resulting in only the first config key read to become active.
No merging.
If the include is specified & no files exist or are unable to be read because of permissions, a message would be logged & the process would proceed.

Assuming precedence is by lexical/alnum sort descending, I'd expect highest (last) precedence to win when the same directive is given multiple times, not lowest (first) precedence.

You don't want config merging a la Docker Compose? That was my mental model for this until you say no merging. :slightly_smiling_face:

In your model, if first is highest precedence then included configs are always additive, and individual, included directives are ignored unless they're the first occurrence, correct? So, the descending sort also has descending precedence, and last is lowest.

Merging is hard to handle & I'd rather have a consistent way to load separate distinct overrides than merge multiple ones.
For the sorting the files, I'm following sudoers example:
 Files are parsed in sorted lexical order.  That is, /etc/sudoers.d/01_first will be parsed before /etc/sudoers.d/10_second.

They use lexical order in ascending for sorting the files.
In my model, you could create a default configuration with the include at the top, before any keys & anything loaded from file would override the default values in the configuration.

I like the admin experience you're going for. I'm still fuzzy on precedence. If lower sorted includes can't cancel/override a config property that's already defined then they're lower precedence by definition, i.e., not "overrides." Did I misunderstand?

Maybe an example would be better.
The default config contains:
v: 3

include:
  directory: /opt/openziti/config.d
  extension: yml

events:
  jsonLogger:
    subscriptions:  jsonLogger:
    subscriptions:
      - type: fabric.circuits
     ...
        interval: 25s
    handler:
      type: file
      format: json
      path: /tmp/ziti-25s-events.log
...

When the controller starts up, it would find the include key & would read the files in the specified directory.  It wouldn't find any files so it would continue to read the default config & load the events key with the 25s interval & something like the following would be in the logs:
[INFO] - found include key but unable to load any files from specified directory.
Someone creates a file called events.yml in the specified directory with the content:
events:
  jsonLogger:
    subscriptions:  jsonLogger:
    subscriptions:
      - type: fabric.circuits
     ...
        interval: 60s
    handler:
      type: file
      format: json
      path: /tmp/ziti-60s-events.log

Sorting in lexical order of files.
events.yml
When the controller restarts, the controller would see the Include before reading events  key in the default config & would read the files in the specified directory.  It would find events.yml & load the events key with the 60s interval & ignore the default events with the 25s interval & something like the following would be in the logs:
[INFO] - loaded events from /opt/openziti/config.d/events.yml
[ERROR] - found duplicate key events - ignoring
Then someone drops another file called 01-events.yml in the specified directory with the content:
events:
  jsonLogger:
    subscriptions:  jsonLogger:
    subscriptions:
      - type: fabric.circuits
     ...
        interval: 5s
    handler:
      type: file
      format: json
      path: /tmp/ziti-5s-events.log

Sorting in lexical order of files.
01-events.yml
events.yml
When the controller restarted, you would end up with a 5s interval & something like the following would be in the logs:
[INFO] - loaded events from /opt/openziti/config.d/01-events.yml
[ERROR] - found duplicate key events - ignoring
[ERROR] - found duplicate key events - ignoring

I've got it now. The proposed logic is to first seek and find and load any lexically-sorted includes, then load the default configuration. This means the includes have the highest precedence and are always loaded first, and any defaults in the main config.yml are only loaded if not already defined.


Remove pycharm files, add return period options

Coverage remained the same at 83.866% when pulling 7cfe54c8ef88480c616b16a3a41afc0a3e91f296 on snowman2:master into 4aa3574be2ca58148664505daaa011c1eb820cc1 on erdc-cm:master.

Coverage remained the same at 83.866% when pulling 7cfe54c8ef88480c616b16a3a41afc0a3e91f296 on snowman2:master into 4aa3574be2ca58148664505daaa011c1eb820cc1 on erdc-cm:master.


[ENH] - Add git-lfs to base image

Feature description
I propose that git-lfs should be added to the base image to enable its usage by all users.
There is an apt-get workflow to download it, but since apt is unavailable to end users, they need to install it with wget directly from the repository.
I'm not a Dev Ops person maintaining our nebari deployment so I did't know which of the available files would work on the deployment. Here are the available files to wget from the repo:

** Workaround **
This is the current workflow to get git-lfs on Nebari:
wget https://github.com/git-lfs/git-lfs/releases/download/v3.4.0/git-lfs-linux-amd64-v3.4.0.tar.gz

tar -xvf git-lfs-linux-amd64-v3.4.0.tar.gz

./git-lfs-3.4.0/git-lfs --help

Value and/or benefit
Life gets easier for end users.
Anything else?
No response

Why can't we use https://anaconda.org/conda-forge/git-lfs?

Theoretically, that should work. Needs to be tested.


Docs: Empty page for Textarea component documentation

Describe the bug
There is an empty page when I click on the Textarea component in the documentation.
To Reproduce
Steps to reproduce the behavior:

Go to https://rimble.consensys.design/components/rimble-ui/Textarea
See empty screen with no content

Expected behavior
There should be a documentation for Textarea component as it works for every other component.
Screenshots

Rimble UI Version

0.7.1 (latest)

Desktop (please complete the following information):

OS: Mac OS
Browser chrome
Version 76.0.3809.100 (Official Build) (64-bit)

Fixed in https://github.com/ConsenSys/rimble-storefront/pull/95

https://deploy-preview-95--rimble-storefront.netlify.com/components/rimble-ui/Textarea


group:groupbar:stacked and Other Variables "Do Not Exist"; Documentation Ambiguity

System Info and Version
 System/Version info
Hyprland, built from branch  at commit fe7b748eb668136dd0558b7c8279bfcd7ab4d759  (props: bump version to 0.39.1).
Date: Tue Apr 16 16:01:03 2024
Tag: v0.39.1, commits: 4460

flags: (if any)

System Information:
System name: Linux
Node name: ngworks
Release: 6.8.10
Version: #1 SMP PREEMPT_DYNAMIC 1

GPU information:

os-release: NAME="Guix System"
ID=guix
PRETTY_NAME="Guix System"
LOGO=guix-icon
HOME_URL="https://guix.gnu.org"
DOCUMENTATION_URL="https://guix.gnu.org/en/manual"
SUPPORT_URL="https://guix.gnu.org/en/help"
BUG_REPORT_URL="https://lists.gnu.org/mailman/listinfo/bug-guix"

plugins:

Bug or Regression?
Bug
Description
Trying to set group:groupbar:stacked, misc:col.splash, and likely other variables results in an error message stating that these don't exist, despite them being documented in the wiki. However, these variables do exist in the source code, and there is nothing in the release notes suggesting that they would be missing from the version installed. I suspect this to be a bug, and not a version difference.
Aside from this, I am curious, why is an online wiki used instead of "on-board" documentation, which would be synchronized with the installed version? If you would like, I can port the wiki to info, which has hyperlinks, formatting, etc, or to manpages, if you insist, and submit a PR. Correct, offline documentation is a common feature of a lot of great software, and is worth the extra barrier to edit (which, arguably, is a benefit).
How to reproduce
Try to set group:groupbar:stacked or misc:col.splash.
Crash reports, logs, images, videos
No response

likely old version + wiki version on git

literally above


Fixed the line endings to accommodate different git configurations independent of the platform.

Oh sorry...my bad. I thought it was doing an MD5 comparison because it was referencing MD5 values...I didn't realize this was testing getFileAsString and getURLAsString...in that case, then I'd think there should be no difference at all per-platform relating to line endings. I'll take a look at this and likely submit another change. :)

OK, the problem is that the GIT client may end up modifying the line endings on the test data file when it is downloaded...that's why it can have \r\n or \n as the line ending.  So now I actually prefer your original fix then. :)  I'll revert it back to what you originally submitted...my bad.

Reversion back to your original fix submitted.

Now worries. Thanks for the laugh. :)


Automatically project corresponding to the first argument if it's a directory

I was surprised that this wasn't already a feature, but it would be really nice if whenever neovim is started with(i.e. nvim ~/project/something) a project directory, it automatically switch to that project.

Post was edited because I didn't realize that doing nvim in a directory already automatically launches the project, only realized it when I was browsing the code and seeing how I can implement it. Mb

yeah, there really is no such feature.
sometimes I use it like this
cd pets/project && nvim
You can choose a project through the telescope and it will probably be faster (or the same).
I disable sessions and projects if there is an argument after nvim to be able to use the editor without these features if needed.
I don't think your idea is bad. I might add check if there is a one argument and it's a directory.

yeah, there really is no such feature.
sometimes I use it like this cd pets/project && nvim
You can choose a project through the telescope and it will probably be faster (or the same).
I disable sessions and projects if there is an argument after nvim to be able to use the editor without these features if needed.
I don't think your idea is bad. I might add check if there is a one argument and it's a directory.

Hey, I made #10 which seems to work, at least for me, though debates can be had that maybe it should be default off, or not a part of this plugin at all by the -100pt rule.

Also, OT but: choosing project thru telescope isn't faster for me, there's actually quite a significant delay(compared to tabbing in terminals) the first time, and not due to slow hardware either, I'm on an M1 MacBook

I will check your PR.
I'm sorry that you have a delay with the telescope. I don't have that. don't know what it could be


Installer EXE refuses to open

I've tried opening normally and with admin perms and it refuses to open.
AMD Ryzen 5 3600, 16GB DDR4 ram, GTX 980Ti 6GB OC, Windows 10 latest update.
not sure what else to add.

This could be due to your anti-virus flagging the application as a false positive. Are you unable to open the installer, or the application itself?

In my case (I'm not the OP) I seem to be getting "WinError 1455" when loading the launcher for the software (The paging file is too small for this operation to complete). I can load this older version of the software fine:
https://github.com/NaJeongMo/ultimatevocalremovergui

I'm unable to open the installer, and my antivirus hasn't been detecting the file at any point when I try to run it. File doesn't get deleted automatically either, it just doesn't do anything. Just tried disabling it to make sure, still absolutely nothing shows up. Even ran it as admin, nothing at all. Checked if anything was happening in Task Manager, but still nothing. Going to try redownloading now and hope for the best.

Reinstalled python today to try the exe installer however it still did not work, so I decided to do a manual install. everything was fine but whenever I try to open UVR.py, it flashes with a cmd window that closes itself immediately right after. No idea what the issue is. Yes the python version is correct.

update: i i tried different versions of python (3.7.0 and 3.9.13) and none of them work. but uvr4 opens just fine. i don't know what else to do.

This has been addressed. Please download the latest version of UVR.
Link:
https://github.com/Anjok07/ultimatevocalremovergui#installation


Fix relative import in tests

Hi there 👋
There is a problem with importing files from reference_model folder.
Since this issue can plague all the newest PRs, I decided to create a separate one with the fix.

I also don't understand.
On my local machine I don't have such a problem. In an older Studio I also got such an error, but not on a newer Studio.
¯_(ツ)_/¯

You dropped this: \

Markdown formatting.
It turned out you need 3 backshales:
¯\_(ツ)_/¯


Use with discord.py bot

I'm on a M1 mac so I wasn't able to get it to work via docker. But I cloned this repo then:
cargo build --release
DISCORD_TOKEN="my token" PORT=3000 ./target/release/twilight-http-proxy
2022-06-22T15:52:23.122150Z  INFO twilight_http_proxy: Listening on http://<IP_ADDRESS>:3000

Note also that the README.md is wrong and the built binary is twilight-http-proxy rather than twilight_http_proxy.

Now I start up my bot using proxy="http://localhost:3000" and I immediately have issues. In the proxy log I see:
2022-06-22T15:53:40.514419Z ERROR twilight_http_proxy: Unsupported HTTP method in request, CONNECT

And in my bot's log we can see that it's trying to GET /users/@me:
[...]
  File "mybot/env/lib/python3.10/site-packages/discord/http.py", line 561, in static_login
    data = await self.request(Route('GET', '/users/@me'))
  File "mybot/env/lib/python3.10/site-packages/discord/http.py", line 444, in request
    async with self.__session.request(method, url, **kwargs) as response:
  File "mybot/env/lib/python3.10/site-packages/aiohttp/client.py", line 1117, in __aenter__
    self._resp = await self._coro
  File "mybot/env/lib/python3.10/site-packages/aiohttp/client.py", line 520, in _request
    conn = await self._connector.connect(
  File "mybot/env/lib/python3.10/site-packages/aiohttp/connector.py", line 535, in connect
    proto = await self._create_connection(req, traces, timeout)
  File "mybot/env/lib/python3.10/site-packages/aiohttp/connector.py", line 890, in _create_connection
    _, proto = await self._create_proxy_connection(req, traces, timeout)
  File "mybot/env/lib/python3.10/site-packages/aiohttp/connector.py", line 1124, in _create_proxy_connection
    raise ClientHttpProxyError(
aiohttp.client_exceptions.ClientHttpProxyError: 501, message='Not Implemented', url=URL('http://localhost:3000')

As is stated in the README, the proxy replaces the Discord API instead of serving as a real HTTP CONNECT proxy. You're using it as if it were a HTTP CONNECT proxy, which is unsupported.

Aw, that's too bad. I was hoping that https://fusebit.io/blog/discord-rate-limiting/ knew what it was talking about, but apparently it doesn't. Thanks for the heads up. I might as well ask: Do you know of any real http proxies for Discord bots?

I don't know of any proper proxies, but it is probably our own fault for the name. You can get it working with discord.py by monkeypatching discord.http.Route.BASE to being in your example http://localhost:3000 and I think that should work.

It is practically impossible to use a real HTTP CONNECT proxy for this from what I know about the CONNECT protocol. You see, the client only specifies the host and port to open a connection with, and all the traffic itself is then tunneled. The issus is that if SSL is being used, which it would in this case, the proxy won't be able to tell which exact URLs are being requested. It will know that discord.com port 443 is being connected to, but not that you're requesting /api/users/@me - because that's encrypted.

Hrm, something didn't work. I am currently getting the dreaded HTTPException: 429 Too Many Requests (error code: 0): You are being blocked from accessing our API temporarily due to exceeding our rate limits frequently. Please read our docs at https://discord.com/developers/docs/topics/rate-limits to prevent this moving forward. error in my bot with every request it tries to make. All Discord API requests are being routed through twilight-http-proxy.
Did I misconfigure something?

No it probably is correct. The issue here is that we do not preemptively handle the global rate limit see https://github.com/twilight-rs/twilight/issues/650

Closing this since it looks like this issue is resolved/related to https://github.com/twilight-rs/twilight/issues/650.


Add CLI flags to configure some osmnx settings

Feature request

Current Behavior

There is currently no way to configure osmnx.
Expected Behavior

As a user, I would like to be able to define some osmnx settings from the CLI and/or environment variables.
Another use case, is that the Docker container does not need to use the osmnx cache since the container will be discarded at the end of its run.
Possible Solution

Here is the osmnx settings reference: https://osmnx.readthedocs.io/en/stable/internals-reference.html#osmnx-settings-module

Here is an example showing how to use the settings: https://github.com/gboeing/osmnx-examples/blob/fef107d0f83843aeb19ccc86c0191252e414a540/notebooks/01-overview-osmnx.ipynb#L37.
More can be found in the same repository.


liveRegion not working as expected on Android

I would expect the following program to make polite announcements when the counter updates, but it doesn't.
import 'package:flutter/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  MyHomePage({Key key, this.title}) : super(key: key);

  final String title;

  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  int _counter = 0;

  void _incrementCounter() {
    setState(() {
      _counter++;
    });
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            Text('You have pushed the button this many times:'),
            Semantics(
              liveRegion: true,
              child: Text(
                '$_counter',
                style: Theme.of(context).textTheme.display1,
              ),
            ),
          ],
        ),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: _incrementCounter,
        tooltip: 'Increment',
        child: Icon(Icons.add),
      ),
    );
  }
}

/cc @goderbauer @jonahwilliams who may have insight
/cc @darrenaustin

This might be a user error.  The following does seem to work as expected:
MaterialApp(
        home: MediaQuery(
            data: const MediaQueryData(accessibleNavigation: true),
            child: Scaffold(
                key: scaffoldKey,
                body: Builder(
                  builder: (BuildContext context) {
                    return GestureDetector(
                        onTap: () {
                          Scaffold.of(context).showSnackBar(SnackBar(
                            content: const Text('snack'),
                            duration: const Duration(seconds: 1),
                            action: SnackBarAction(
                                label: 'ACTION',
                                onPressed: () { },
                            ),
                          ));
                        },
                        child: const Text('X'),
                    );
                  },
                ),
            ),
        ),
    )

If I set liveRegion: _counter > 1 and then increment a few times, it announces 2 when I hit 2 but then doesn't announce again.

Another find: https://github.com/flutter/engine/blob/master/shell/platform/android/io/flutter/view/AccessibilityBridge.java#L228 doesn't seem to implement handling for the UpdateLiveRegionAnnouncement, so sending that is basically a no-op.


push-mounted: always puts entries in root

While testing out a new CL, I noticed that push-mounted ie drive push -m always puts entries in root and touches root too causing an error googleapi: Error 403: File not mutable, Forbidden
$ drive push --quiet -m ~/Desktop/openSrc/bugs/golang test-quiet
 4038 / 10087665 [>-------------------------------------------]   0.04% 2h55m31s: googleapi: Error 403: File not mutable, forbidden
 10087665 / 10087665 [===========================================] 100.00% 2m11s
push:  err: googleapi: Error 403: File not mutable, forbidden

This bug is a result of PR https://github.com/odeke-em/drive/pull/616 in which the introduction of destination means that it works alright for a normal push but fails for a mounted push.

Postponed to v0.3.7 to pave way for the integration of the new end to end encryption package.

When will this be solved?

@Anmol-Singh-Jaggi when you push @odeke-em some bitcoin :moneybag: :moneybag: :moneybag: :+1:

I'd rather learn Go and do it myself. :laughing:

Thanks @brandoncurtis for having my back! @Anmol-Singh-Jaggi, am sure you already guessed from @brandoncurtis' comment: the work done here is all voluntary and on own time, so things do take a bit of time to get fixed, but that's all good.
As for the timeline to fix it, hopefully soon before the next release. I use push-mounted a lot, so I hope to fix it when I get time.


Npm EPEERINVALID error

Hi, when I try to install your package I'm having a dependency error:
Peer<EMAIL_ADDRESS>wants<EMAIL_ADDRESS>
I'm using the last React version, 0.14.2.

@ayozebarrera I just publish a new version that resolves semantic versioning conflicts. Let me know if your still having issues with this module.


Lack of Auto-Reversion to Default Position in 'Compact type none' Mode

When 'Compact type none' is selected, and we move one piece across others, they move out of the way. However, when they no longer block the moving piece, they remain in the moved position and don't return to their default position, as they should.
React Grid Layout handles this by making every element static except the one that is being dragged. However, I would like to see an option where we can create another compactType for these static elements.
In the absence of a selected compactType, it should work in a way that prompts every element to return to its original position when not obstructed by the moving element.

When 'Compact type none' is selected, and we move one piece across others, they move out of the way. However, when they no longer block the moving piece, they remain in the moved position and don't return to their default position, as they should.

Yes, it works exactly that way, same as React-grid-layout.

React Grid Layout handles this by making every element static except the one that is being dragged. However, I would like to see an option where we can create another compactType for these static elements.

I understand that the workaround React Grid Layout users are implementing is to set every grid item as static during the drag action... So, there is a workaround available also in Angular Grid Layout.
However, I am okay with implementing another grid compact option to support this use case, we can try and see how it feels. I also would not discard removing the non-compaction mode as it is now in the near future... for me is weird that the grid items that you are not dragging are moving constantly their positions... I find a hard time to fit this functionality into someone's use case.

In the absence of a selected compactType, it should work in a way that prompts every element to return to its original position when not obstructed by the moving element.

That would be a breaking change, and users who have no compact type would see their functionality changed. I propose adding a new option, such as 'free', 'free-lock', 'neutral', 'none'... I'm not sure, but definitely another option for now. As said, maybe in the future we might replace the non-compaction mode as it is now with the one you are suggesting, but for now, adding another option is the way to go IMO.

Hi @llorenspujol , do you have any plans for this new compact mode? It would fit nicely with my requirement where I need the grid items revert back to their original position.


Codespace in-browser VSCode won't open

I was working in my codespace when it suddenly stopped working. The first sign that something was wrong was that the embedded terminal couldn't write the .git/index.lock file when I tried to switch to a different branch.
I tried reloading and got this:

Subsequent reloads result in the same error.
I'm also seeing many connection errors in the javascript console. An example:
vscs:web-client:4de1:codespaces-component:connection-hub:vscode:connection:E12E79A93C373F62565DF318645D0170C788_2eca8c2e-1722-4191-b715-b508c54c718a_stable_695af097c7bd098fbf017ce3ac85e09bbc5dda06:vscode Failed to complete start-remote-server with Live Share RPC Failed to start VS Code Remote server. code:-32098
Version: 1.79.2
Commit: 695af097c7bd098fbf017ce3ac85e09bbc5dda06
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/114.0
Embedder: codespaces

Could you please have a look at Codespaces troubleshooting guide and report this issue with them?


Options dropdown without horizontal scrollbar

I'm trying to apply styles to make options dropdown list be same width as most wide option. I achieved this, but can't get .multiselect__option be same width as parent .multiselect__element:
https://jsfiddle.net/xo9f7jby/30/
Can this be achieved anyway?

Issue solvved:
https://stackoverflow.com/questions/49499878
Working fiddle:
https://jsfiddle.net/xo9f7jby/33/
In my opinion it would be useful to create something like styling recipes in docs with examples like this.

Sure, I will accept more examples for the docs anytime :)


Preserve tracklist order

Hello,
whenever I download a set, the track order is lost.
SoundCloud order:

iTunes (ID3 tag) order:

Reference set: https://soundcloud.com/edbangerrecords/sets/fulgeance-the-phoenix-ep
I'm using SoundScrape 0.29.4
Thanks,
Jonas

Relevant: #67


Editor repeatedly freezes when working with projects

It's mostly fine but occasionally it'll randomly freeze (Not responding) and require restarting. I've attached a bunch of logs from --debug-info verbose near the end of it happening, hope it helps. Environment info in this post; TLDR spyder 5.4.0, Windows 10, Python 10
Today for the first time it kept freezing as soon as it loaded up, and kept doing that even after restarting Anaconda Powershell Prompt. I only fixed it via --new-instance. Really unsure what's causing it, but possibly Editor activity or [spyder.plugins.projects.utils.watcher] when files are frequently modified or created.
log0.txt
log1.txt
log2.txt
log3.txt -- freeze 'immediately', full log from start to finish

Hey @OverLordGoldDragon, thanks for reporting. I also noticed this problem and have ready a small improvement for the bug that appears on log1.txt and log2.txt, which will be part of 5.4.1.
The problem I can see on log3.txt is that you're copying a lot of npy files to a folder inside a Spyder project. That requires a bit more of work to solve, so I'll try to address it in 5.4.2.

@ccordoba12 Thanks, had no idea there's such interaction with the project directory but makes sense. If there's other such caveats, might be worth adding to docs.

Thanks, had no idea there's such interaction with the project directory but makes sense

Yep. I forgot to mention that the problem that appears in log1.txt and log2.txt is also caused by using a project.

If there's other such caveats, might be worth adding to docs.

Good idea, but these are actually bugs that we need to solve so that our projects functionality works as expected. If we don't manage to do it, then we'll add the corresponding warnings.

Quick post to inform that clicking on the .exec in Profiler below has frozen Spyder twice in a row, once from fresh start. Maybe it's a long list and it struggles.

Started Spyder, froze indefinitely after few minutes of doing nothing, without a project - logs cut off (too much text):
log4.txt
That's 5.4.1, here's right after upgrading to 5.4.2, no cutoff:
log5.txt

5.3.0 is the latest version that stopped freezing, at least at startup as far as I can tell now. I tried every version from 5.4.2.

I also experience random and frequent freezes in Spyder's console since a few weeks. Though, I don't know whether it's the same issue reported by @OverLordGoldDragon since it does not require restarting. Spyder hangs for something like 20s-30s before it gives back control. I've been unable to identify what causes these freezes, it even happens when I call "clear" on the console.

I'll just note that it might have been a configurations issue (spyder.ini, transient.ini) - I've reproduced it once by switching to old configurations on a new computer, Windows 11, but couldn't reproduce it again. I've had no issues with different configs since then. I still have the old configs, if needed.

Well, the only things I changed in the configuration were: the shortcut to run code in a selection and the working directory. And yet, it was by using the UI menus, I didn't change the ini files manually.

Hey @kevin-guimard-ext, sorry to hear that. I already have several fixes to address this problem, which will be part of Spyder 6, to be released before the end of the year.
Sorry for the inconvenience in the meantime.

Thank you @ccordoba12.

I have the same issue in 6.0.1 - freezes every few seconds, script size doesn't matter. only in projects though...

@mluerig, sorry to hear that. Please follow the instructions I posted in https://github.com/spyder-ide/spyder/issues/22556#issuecomment-2374716821 to disable first our fzf support and, if that doesn't work, our file system watcher, to see if that fixes your problem.
Let us know which one works for you.

@mluerig, sorry to hear that. Please follow the instructions I posted in https://github.com/spyder-ide/spyder/issues/22556#issuecomment-2374716821 to disable first our fzf support and, if that doesn't work, our file system watcher, to see if that fixes your problem.

this worked for me, and above all, in v6.0.2 the issue appears to be gone - haven't noticed it at least

sorry for the late reply. the first fix works (self._fzf = None), but it doesn't seem to be fixed in 6.0.2?


Group metrics by label

Previously, we maintained a map of labels for each metric. Because the same keys are used in multiple scopes, this causes redundant hashing & map lookup when updating metrics.
With this change, there is now only one map per unique label scope and all of the metrics for each scope are stored in the value. This makes metrics inserting faster and prepares for eviction of idle metrics.
The Metric type has been split into Metric, which now only holds metric metadata and is responsible for printing a given metric, and Scopes which holds groupings of metrics by label.
The metrics! macro is provided to make it easy to define Metric instances statically.

Purely out of curiosity, I'd love to see before/after benchmarks?

@hawkw
this branch:
running 3 tests
test record_many_dsts        ... bench:     104,570 ns/iter (+/- 14,207)
test record_one_conn_request ... bench:       1,164 ns/iter (+/- 256)
test record_response_end     ... bench:         397 ns/iter (+/- 85)

master:
test record_many_dsts        ... bench:     152,559 ns/iter (+/- 21,747)
test record_one_conn_request ... bench:       1,655 ns/iter (+/- 248)
test record_response_end     ... bench:         688 ns/iter (+/- 86)

@olix0r awesome :blazingly_fast:


Dart 2

I think the plugin isn't up to date with dart 2.
Especially webserve is not working.
Because it's still depending und pub serve launch, which will throw:
kb:~ kb$ pub serve launch
Dart 2 has a new build system. Learn how to migrate from pub build and
pub serve: https://webdev.dartlang.org/dart-2
Could this be migrated to webserve, so you can start webdebugging from within atom?
Best regards

yes that's true!


feat: Add Zig section

Description

Add Zig to the external sections registry
Screenshot

Hey, @leap0x7b I'd like to see this section as a part of core, since it's a programming language. Would you mind sending a PR adding a whole Zig section to Spaceship?


asuswrt tracker shows invalid status 'away' all the time

Home Assistant release with the issue:
0.82.1
wasn't working in 0.82.0 and 0.81.6 either
Last working Home Assistant release (if known):
not known
Operating environment (Hass.io/Docker/Windows/etc.):
Docker on top of Synology NAS
Component/platform:
https://www.home-assistant.io/components/device_tracker.asuswrt/
Description of problem:
My setup:

ASUS RT-AC68U in AP mode. Software version <IP_ADDRESS>.384_32799
ssh and telnet active
I'm trying to use asuswrt device tracker, but it almost never works correctly. It only shows a correct status after I restart my router (AP mode). It's shown correctly for 10-20 minutes and then again it shows 'Away' despite my device is all the time connected to the network.

In the ASUS web-management interface I can see my device all the time as connected/available.
Therefore I don't understand why the tracker in HA shows the invalid information.
Perhaps something wrong in the aioasuswrt or in asus firmware, but no clue how to check this.
I tried command: wl assoclist and it shows my connected devices. But a bit incorrectly too. This one shows devices to be connected all the time in contrast to HA tracker which shows them as not connected.
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
device_tracker:
  - platform: asuswrt
    host: <IP_ADDRESS>
    username: admin
    password: _my_password_
    mode: ap
    protocol: ssh

Traceback (if applicable):

Additional information:

There was an asuswrt update that went into 0.82.1. Please try updating and see if that fixes it.

There was an asuswrt update that went into 0.82.1. Please try updating and see if that fixes it.
Just installed 0.82.1 - didn't help. Device still shown as away.
What is also weird is that the tracker found a couple of devices from my local network including the ones connected via wire. This doesn't make sense to me. And it didn't find all the devices but just a few - some wired, some wireless. That may also be a sign of an invalid logic of the tracker.

This is broken until 0.83.0 according to #18281

This is broken until 0.83.0 according to #18281

I don't think 0.83.0 will fix this. I tend to think this is a separate issue. People claim that it worked in 0.81.6. But in my case it didn't.  0.81.6 was the first HA version I installed and the tracker did not work corrently with it.
So this is not something that got broken with 0.82.0. It' s not SSH or telnet. It didn't work with either of them, also before.
I leave the issue open. It seems it requires some deeper analysis.

I was running on an old version .74 using it with no issues.  I upgraded to 82.1 a couple of days ago and now my devices show home all the time.

This is indeed strange.
It looks like its only my Android and iPhones devices that are not identified as home, when they are connected to the router.
All wired devices and some wifi connected devices like Playstation4 and iPad are correctly seen as home.
My Asus Router was updated the 9th of November, coincident? Not sure if it worked before the 9th.

Firmware Version:<IP_ADDRESS>.384_32738
Signature version | 2.096  Updated : 2018/11/09

Could be the problem lies in the router firmware which broke it. But in this case - why is the web interface showing everything correctly?
Strange that in my case my devices are shown as 'away' and in someone else's case they are shown 'home' all the time...
Could someone from HA Team investigate this?

Upgraded my router to Firmware Version:<IP_ADDRESS>.384_32799, no change, same problem.
But I can now see that none of my devices are updating the status from the Asus router. When I unplug a wired device it is still seen as home in Home Assistant. Looking at the history I can see that none of my devices has changed status since I upgraded to 0.82.1.
So the problem might well be related to  #18281 so we just have to wait for 0.83 or downgrade to 0.81

In my case it wasn't working either on 0.81.6.
I upgraded aioasuswrt to the newest version in my docker installation, but it didn't help.
I took the asuswrt component form the 0.83 beta and installed it in my 0.82.1 but it's still not working altough the whole operation succeeded as the component got initialized, but still shows off my devices as 'away'...
BTW. 0.83 brings a new sensor for ASUS routers with download & upload speed. And guess what? It's showing correct values and refreshes itself correctly...asuswrt is still broken
Well, let's wait for 0.83 and see, but I have bad feelings that it's gonna help here in my case...

If any HA developer picks it up - I'm pasting a piece of my HA log for the asuswrt SSH session:

2018-11-23 12:20:11 INFO (MainThread) [homeassistant.components.device_tracker.asuswrt] Checking Devices
2018-11-23 12:20:11 DEBUG (MainThread) [asyncssh] [conn=0, chan=154] Set write buffer limits: low-water=16384, high-water=65536
2018-11-23 12:20:11 INFO (MainThread) [asyncssh] [conn=0, chan=154] Requesting new SSH session
2018-11-23 12:20:11 INFO (MainThread) [asyncssh] [conn=0, chan=154]   Command: PATH=$PATH:/bin:/usr/sbin:/sbin && for dev in nvram get wl1_vifs && nvram get wl0_vifs && nvram get wl_ifnames; do if type wlanconfig > /dev/null; then wlanconfig $dev list | awk 'FNR > 1 {print substr($1, 0, 18)}'; else wl -i $dev assoclist; fi; done
2018-11-23 12:20:11 INFO (MainThread) [asyncssh] [conn=0, chan=154] Received exit status 0
2018-11-23 12:20:11 INFO (MainThread) [asyncssh] [conn=0, chan=154] Received channel close
2018-11-23 12:20:11 INFO (MainThread) [asyncssh] [conn=0, chan=154] Channel closed
2018-11-23 12:20:11 DEBUG (MainThread) [asyncssh] [conn=0, chan=155] Set write buffer limits: low-water=16384, high-water=65536
2018-11-23 12:20:11 INFO (MainThread) [asyncssh] [conn=0, chan=155] Requesting new SSH session
2018-11-23 12:20:11 INFO (MainThread) [asyncssh] [conn=0, chan=155]   Command: PATH=$PATH:/bin:/usr/sbin:/sbin && arp -n
2018-11-23 12:20:11 INFO (MainThread) [asyncssh] [conn=0, chan=155] Received exit status 0
2018-11-23 12:20:11 INFO (MainThread) [asyncssh] [conn=0, chan=155] Received channel close
2018-11-23 12:20:11 INFO (MainThread) [asyncssh] [conn=0, chan=155] Channel closed
2018-11-23 12:20:11 DEBUG (MainThread) [asyncssh] [conn=0, chan=156] Set write buffer limits: low-water=16384, high-water=65536
2018-11-23 12:20:11 INFO (MainThread) [asyncssh] [conn=0, chan=156] Requesting new SSH session
2018-11-23 12:20:11 INFO (MainThread) [asyncssh] [conn=0, chan=156]   Command: PATH=$PATH:/bin:/usr/sbin:/sbin && ip neigh
2018-11-23 12:20:11 INFO (MainThread) [asyncssh] [conn=0, chan=156] Received exit status 0
2018-11-23 12:20:11 INFO (MainThread) [asyncssh] [conn=0, chan=156] Received channel close
2018-11-23 12:20:11 INFO (MainThread) [asyncssh] [conn=0, chan=156] Channel closed

Perhaps I'll create another Docker container and try it in there again, but I'm 100% sure it behaved the same way as now in .82.0 and .82.1.
It only showed my device as 'Home' for a couple of minutes right after when I restarted my router. This means that the tracker was reacting somehow and was 'talking' to my router, but in an invalid way.
What router do you have? Is it RT-AC68U as well? If so - are you using it in AP mode as well?

I just upgraded from a couple months old version and started having issues too. Even on .83 beta it's persisting. My devices are accurately tracked for 3 minutes then all go offline and there are no further updates. This is via telnet using the new asuswrt component in .83. Router config is updating properly on UI. It's an RT-N66U.

This is solved and the latest comment is solved as well in next version ;)

This is solved and the latest comment is solved as well in next version ;)

I tried .83b0 and it didn't work. You mean beta 1 solved it?

https://github.com/home-assistant/home-assistant/pull/18742

It was telnet connection that is going down after X minutes, It will now reconnect

I do not have telnet myself so its hard to test that part, but if you guys give me nice bug-reports I'll do my best ;)

It was telnet connection that is going down after X minutes, It will now reconnect

I'll try it and see, but my issue occurs with SSH connection

hm... Then Its strange... no traceback?

My guess is that this have to do with mode: ap

hm... Then Its strange... no traceback?

Not really, At least no visible errors in the log. I pasted a piece of debug log with aioasuswrt execution above - maybe it helps.
It could be it has something to do with the ap mode. It can also be that the asus software has a bug. I have not enough knowledge to judge on this and have no ideas how to verify what exactly is failing.
I'm leaving this to you guys who know how these things work and how to check this.

That did not say much... it seems that all commands work anyway (exit status 0)

Just tried .84b1 - still the same problem. Devices are shown as away.
As stated in the other thread [(https://github.com/home-assistant/home-assistant/issues/18281#issuecomment-441229902)] - the command executed by aioasuswrt return my devices so I presume when the return list contains them - they should be shown by HA as home, correct?

Mine got broken after updating to .83
I was using telnet and it was working fine. I was using only the device tracker.
After the update, had to add the platform in config, and then it stopped working. The log is full with "Update for sensor.asuswrt_xxxx fails". The device tracker works for a few minutes and then sets all devices as away, except for my tv and my nvidia shield (both connected via wifi).
I even emptied the known_devices file. After restarting hass, it was repopulated fine, but after a couple of minutes the same story again.
I am running HassOS 1.13 on raspberry pi3 and the router is Asus RT-N18U in router mode.

I have the same problem after upgrading to .82 from older version. I have seen that my AC68U firmware updated too, but I was not able to see where the error came from.
Here it is the log from hassio
2018-12-02 12:11:26 ERROR (MainThread) [homeassistant.setup] Error during setup of component asuswrt
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/homeassistant/setup.py", line 145, in _async_setup_component
hass, processed_config)
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/asuswrt.py", line 48, in async_setup
conf = config[DOMAIN]
KeyError: 'asuswrt'
2018-12-02 12:11:26 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of device_tracker.asuswrt. Setup failed for dependencies: asuswrt
2018-12-02 12:11:26 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform device_tracker.asuswrt: Could not set up all dependencies.
2018-12-02 12:11:33 WARNING (MainThread) [homeassistant.components.switch] Setup of platform broadlink is taking over 10 seconds.
2018-12-02 12:11:34 ERROR (SyncWorker_10) [homeassistant.components.switch.broadlink] Failed to connect to device

I have the same problem after upgrading to .82 from older version. I have seen that my AC68U firmware updated too, but I was not able to see where the error came from.
Here it is the log from hassio
2018-12-02 12:11:26 ERROR (MainThread) [homeassistant.setup] Error during setup of component asuswrt
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/homeassistant/setup.py", line 145, in _async_setup_component
    hass, processed_config)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/asuswrt.py", line 48, in async_setup
    conf = config[DOMAIN]
KeyError: 'asuswrt'
2018-12-02 12:11:26 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of device_tracker.asuswrt. Setup failed for dependencies: asuswrt
2018-12-02 12:11:26 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform device_tracker.asuswrt: Could not set up all dependencies.
2018-12-02 12:11:33 WARNING (MainThread) [homeassistant.components.switch] Setup of platform broadlink is taking over 10 seconds.
2018-12-02 12:11:34 ERROR (SyncWorker_10) [homeassistant.components.switch.broadlink] Failed to connect to device

Did you add the asuswrt platform in configuration.yaml?
https://www.home-assistant.io/components/asuswrt/
In my case, I found a solution. I created the folder custom_components in /config and added an edited version of assuswrt.py, where I just removed the sensor init part.
Now the device tracker works fine. It seems the problem was in the sensor part of the component, which I don't mind to turn off because I wasn't using it anyway.
Hope this helps someone..

@iqueban You solved the puzzle, had some issues myself and it turns out that the ifconfig command used for ul/dl is causing all kinds of problems :/ I have solved it using a totally different command and tested the code locally with success.
PR:  #18955

I hope you guys can solve also the 'away' status some day. I gave up using asuswrt for now as it's totally unrealiable and switched to nmap. It works correctly in all cases, no strange behaviours. Hope asuswrt will work the same some day

It's been jumpy since it was rewritten to async, if more people helps out with testing here: https://github.com/kennedyshead/aioasuswrt it will get stable a lot faster.

It's been jumpy since it was rewritten to async, if more people helps out with testing here: https://github.com/kennedyshead/aioasuswrt it will get stable a lot faster.

I'll help - it's in my own business :) How can I help exactly? How/where to respond with feedback?

atm. it would be great if you tested the 1.1.13 version of aioasuswrt to find out if it starts detecting devices again.
Just create a custom component with the new dependency

You should create issuses in https://github.com/kennedyshead/aioasuswrt if anything fails.

I have the same problem after upgrading to .82 from older version. I have seen that my AC68U firmware updated too, but I was not able to see where the error came from.
Here it is the log from hassio
2018-12-02 12:11:26 ERROR (MainThread) [homeassistant.setup] Error during setup of component asuswrt
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/homeassistant/setup.py", line 145, in _async_setup_component
    hass, processed_config)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/asuswrt.py", line 48, in async_setup
    conf = config[DOMAIN]
KeyError: 'asuswrt'
2018-12-02 12:11:26 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of device_tracker.asuswrt. Setup failed for dependencies: asuswrt
2018-12-02 12:11:26 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform device_tracker.asuswrt: Could not set up all dependencies.
2018-12-02 12:11:33 WARNING (MainThread) [homeassistant.components.switch] Setup of platform broadlink is taking over 10 seconds.
2018-12-02 12:11:34 ERROR (SyncWorker_10) [homeassistant.components.switch.broadlink] Failed to connect to device

Did you add the asuswrt platform in configuration.yaml?
https://www.home-assistant.io/components/asuswrt/
In my case, I found a solution. I created the folder custom_components in /config and added an edited version of assuswrt.py, where I just removed the sensor init part.
Now the device tracker works fine. It seems the problem was in the sensor part of the component, which I don't mind to turn off because I wasn't using it anyway.
Hope this helps someone..

Can you provide the edited asuswrt.py?
I don't really need all those stats data. It's producing tons of [asyncssh] logs. I also like to a way to disable that logs.
I don't really like the idea of not controlling the interval to access my router for unnecessary data for me. The router is the bottleneck resource for whole network. I would not do anything to burden it which is not absolutely necessary.
The new Asuswrt component is almost a deal-breaker for me. I just wanted a Device tracker that access my router once every 2 minutes.


Add polygon 2d editor handle icons

They are needed for the polygon 2d editor and somehow got lost in e5de5b4908fd31954c36662da83c7cf3f60fe2fb.
EDIT Here's an overview why:

CC @djrm. Looks fine to me, but maybe the color variations should be modulate in code instead of different SVGs?

Bump :)

Looks cool now:


fix(apigw): get relative id

:tada: This PR is included in version 2.3.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[C3] Uncomment Queues config lines in Queues C3 templates

What this PR solves / how to test:

Previously, running npm create cloudflare and choosing the queues option would copy a wrangler.toml file with the [[queues.producers]] and [[queues.consumers]] lines commented out.
This resulted in an Can't redefine existing key error when running wrangler dev.
This PR uncomments the [[queues.producers]] and [[queues.consumers]] lines in the template.

Associated docs issue(s)/PR(s):

N/A

Author has included the following, where applicable:

[X] Tests (N/A)
[X] Changeset (Changeset guidelines) (change is very minor, N/A)

Reviewer is to perform the following, as applicable:

Checked for inclusion of relevant tests
Checked for inclusion of a relevant changeset
Checked for creation of associated docs updates
Manually pulled down the changes and spot-tested

@RamIdeas Thank you for the review - could you also merge please? I don't have permissions.