RuntimeWarning: invalid value encountered in double_scalars

PORTFOLIIO.IN
Aya-Anu:~/code/oss/cliStocksTracker$ cat portfolio.ini
;[AAPL]
;graph=True
;buy=10@100
;buy=5@120
;sell=3@122
;sell=8@125
;color=#FFFF00
; Ford Motor Company
[F]
graph=True
color=#FFFF00
CONFIG.INI
Aya-Anu:~/code/oss/cliStocksTracker$ cat config.ini
[Frame]
width=80
height=20
[General]
independent_graphs=False
timezone=America/Phoenix
rounding_mode=math
OUTPUT
Aya-Anu:~/code/oss/cliStocksTracker$ python3 cliStocksTracker.py
1 Failed download:

FOO: No data found for this date range, symbol may be delisted
/Users/clu/code/oss/cliStocksTracker/portfolio.py:44: RuntimeWarning: invalid value encountered in double_scalars
self.gains_per_share = self.gains / self.count

<...Graph Deleted for Brevity...>
Current Time:            Friday Mar 19, 2021 - 12:22:30 PM
Total Cost:              $0
Total Value:             $0
/Users/clu/code/oss/cliStocksTracker/renderer.py:135: RuntimeWarning: invalid value encountered in double_scalars
gain / self.portfolio.cost_value * 100, self.mode, 2
Value Gained Today:      +$0          +0%
Value Gained Overall:    +$0          +0%

I see two minor bugs here.

yfinance is trying to download data for the ticker 'FOO', which doesn't exist.
Lack of any ownership in a tracked stock produces a RuntimeWarning.

I'll get both of these patched by tomorrow morning at the latest.

@sconnet That should fix it for you - please reopen this ticket if you encounter the error again. If you get more RuntimeWarnings that point to a different spot please open a new ticket.
Thank you for reporting this bug!


Couple of variables in the zh-CN translation config file are not translated

If you look in the zh_CN.xml there are variables like:
            <variable id="Related Links">Related Links</variable>
            <variable id="Cross-Reference">Cross-Reference to:</variable>
            <variable id="Content-Reference">Content-Reference to:</variable>
            <variable id="Untitled section">Untitled section.</variable>
            <variable id="List item">List item.</variable>
            <variable id="Foot note">Footnote.</variable>

which are not translated. Should I try to talk to one of our users to provide a translation for them? Or maybe @robander has colleagues who might help...

This should probably go to 2.2.5?

See #2131 for a related issue.

We do not have text for those as none of them have been used previously in our output - those and a couple others are still in English in most of the new languages I've updated over the last several months. For better or worse - I was unable to get the current PDF code to use most of these. Based on my notes from last fall:

Related Links - I used the similar common XHTML string "Related information" for all new languages.
Cross-Reference, Content-Reference: I could not get these to appear, I think they are now unused
Untitled section: this also appears unused
List item: I think this was only used for cross-reference to an unordered list item, in which case I think it's better practice and better output to use link text
Footnote: this is referenced in the PDF code but appears unused, all of my test footnotes correctly used the number or the callout.

I compared the zh_CN.xml variables file with the others I've been adding based on English. I found a couple of missing strings (troubleshooting note path, "Notices"), so I plan to add those. I've updated a couple of translations where available. For the remainder, as with other languages, I've marked several strings as "UNUSED" or "TODO" (many of the TODO items are only used in special circumstances, such as with DRAFT output). About to submit a pull request with the updated strings and comments.

Completed with #2353


Add joker card

Now that value is just a property of the card, add a joker design
Picture: clown face
Suit=Joker or suit=none? If suit is joker, maybe symbol should be smile out sticking out tongue face?
Face: JK. Get it, just kidding? Print this out the same way as 10

Fixed in #23


SIL: Synchronous local functions don't need to capture the isolation parameter

Also, move this rule from the computation of lowered captures in SIL, to the computation of AST captures in Sema. This allows us to correctly handle the case where an async function nests inside a sync function. It also removes a special case that was added recently to cope with a generic self type.
Fixes rdar://129366819.

@swift-ci Please smoke test


Revert "Bump Microsoft.CodeAnalysis.CSharp from 4.5.0 to 4.6.0-2.23152.6"

Reverts PowerShell/PowerShell#19306
4.6.0-2.23152.6 is not publicly available.

4.6.0-2.23152.6 is publicly available here: https://dev.azure.com/dnceng/public/_artifacts/feed/dotnet-tools/NuGet/Microsoft.CodeAnalysis.CSharp/overview/4.6.0-2.23152.6


Changes required after the gmail May 30 notification

So, after gmail stopped using less secure apps, I have found a way to still use this, have updated it in the readme.

Hi @shobhit55,
Thank you for looking into this.
However, the main problem here is that WOKO changed the template of their website. So this part HERE is not working as expected. It should query the last woko listing add. Right now it always returns ['Available roomsRooms Zürich', 'Zürich', 'Zürich', '8004 Zürich']
Best,

Hi @KalinNonchev
I checked and it is returning all the listings for me. For eg.
 Thank you for bringing this back to live :-)


won't update!?

Hi I setup Prism the other day and there has been NO changes!
how does Prism update?? is the a cron job I need to setup?!?
Love the looks of it BUT!?!?!
Help!!

Hey, there is no need for updates...
As described in the README, just modify the config file "conf/settings.php".
The webpage will then read the data from the database file given in the config file.
If, and only if you have configured PHP "open_basedir" and block access, than you need to to repair your php_admin_value or create an own cronjob and copy the database to a folder, which is allowed by your PHP config.


browser display server

i think it would be really cool to use something like atom-shell to create a universal display server completely run on html and javascript injections

Check out this thread: https://github.com/NodeOS/NodeOS/issues/79

Clossing as duplicate of #79

thanks!


[bug]: In 3.0 release, LoRAs behave differently than Beta 6

Is there an existing issue for this?

[X] I have searched the existing issues

OS
macOS
GPU
mps
VRAM
16GB URAM
What version did you experience this issue on?
3.0.0
What happened?
I noticed that LoRAs (maybe just the ones I've tested, though I tested about 6-8) do not have their intended effect in 3.0. They do seem to have an effect on the image, but it mostly seems as though they 'weaken' the original image.
To test this (I still have beta 6 installed), I generated the same image in both versions, without the LoRA, and then with the LoRA set to 2.0 strength. I'm sorry, I know a lot has changed between the betas and release but hopefully this'll help pinpoint it.
I used this 'skin detail' LoRA here as a test: https://civitai.com/models/109043
Beta 6:
Without LoRA:

With LoRA at 2.0:

3.0 Released:
Without LoRA:

With LoRA at 2.0:

Screenshots
No response
Additional context
This was tested in both linear and nodes UIs - the examples above are from linear.
Contact Details
No response

@StAlKeR7779 is this when you made the Lora fix?

This is now resolved (for the record, we're not sure why!) so I'm closing. Thanks all!


[DOCS#2411]. replace react-modal with chakra modal

Fixes: https://tigera.atlassian.net/browse/DOCS-2411

Product Version(s):

Issue:

Link to docs preview:

SME review:

[ ] An SME has approved this change.

DOCS review:

[ ] A member of the docs team has approved this change.

Additional information:

Merge checklist:

[ ] Deploy preview inspected wherever changes were made
[ ] Build completed successfully
[ ] Test have passed

LGTM


Import error

Error: While importing "app", an ImportError was raised:
Traceback (most recent call last):
File "/home/bindiya/HealthCheck/env/lib/python3.8/site-packages/flask/cli.py", line 240, in locate_app
import(module_name)
File "/home/bindiya/HealthCheck/app.py", line 12, in
classifier = pickle.load(open(filename, 'rb'))
ModuleNotFoundError: No module named 'sklearn.ensemble.forest'
This error is raised

Refer issue #5
Closing this issue.


Fix the branch alias

The master branch is not 1.5.x-dev anymore as several newer minor versions have been released since then.
To avoid having to remember updating it at each release, I used 1.x-dev as branch alias so that it won't need an update until a new major version is done.

Thanks


Difficulty running test

I installed using pip3. I am trying to run the CpG_aggregation.py test. I downloaded the test files, and am now running CpG_aggregation.py -b hg19.RefSeq.union.1Kpromoter.bed.gz  -i test_03_RRBS.bed -o out. However, the output I get is just the help message. There are no errors or any other output. Any suggestions?

It seems you have to provide value to "-t" or "--type". The accepted value is "count" (if it is RRBS/WGBS) or "beta" (if it is EPIC array data).


Implement the Visibility trait to the ParquetStore

This should just require the adding of a visibility column which can be validated against by the ParquetElementRetriever before returning an element

The way I thought of doing it would be just to see what the visibility property is from the schema and then validate an elements visibility property against their user auths in the RetrieveElementsFromFile class.

Merged into develop.


webpack5 下 Uncaught ReferenceError: default is not defined

you can try this,
modify source code and in this condition:
t.isExportDefaultDeclaration(node){
  hasDefault = true
}

try this https://github.com/vueComponent/vue-jsx-hot-loader/pull/7


REFACTOR: admin check

I refactored the two checks for whether or not a user is an admin into one function. I could not test if it works because I don't know how to set this up locally but it should be good :smile:

Thanks! Looks good:D


Activate C warnings in FFI code and revert NativeString to char *

The revert commit is partial, it affects only NativeString and does not touch Char.

+1. less bugs in the C code is always an improvement.

Rerolled to not revert the expected results of the neo_doxygen test.

Good call, :shipit: !


Allow backticks escaping

Hello, thank you for the good work.
I'm running into an issue with my IDE (webstorm)
This works properly
RouteCore.map ->
    @route '/', (ctx) -> <HomePage />

This does not:
RouteCore.map ->
    @route '/', (ctx) -> `<HomePage />`

Simply put, the first works well, but completely breaks the IDE, the second fails to build, but does not break the IDE:
   router.cjsx:12:20: Unexpected token <

I'm using https://atmospherejs.com/jhartma/cjsx which reportedly uses this package. I wonder if there is any workaround I can use or if it's feasible to allow backtick escaping of any kind.

Anything inside backticks is treated as regular JS, so it is passed through the transformer and the Coffeescript compiler untouched. Thus it would be present in the JS output. You could try running the regular react-tools JSX transformer on the output JS to then transform the tags which were passed through, but in that case coffee-react-transform wouldn't actually be doing anything.
Anything inside the backticks is JS, not Coffeescript, which means we can't apply the transformation to it, because it transforms CJSX -> Coffeescript, but inside the backticks you need JSX -> JS.
I would recommend trying to extend your IDE's syntax definitions to understand CJSX.

Thank you for your answer :)


First pass at Apache Ignite

I haven't been able to figure out how to actually test this.

@ktsakalozos was right, it was supposed to be subordinate to the slave, not the master, which sorted out all of the relation issues I was having.

Uses juju-solutions/interface-ignite-hadoop


A11y_SQLAzureDataStudio_NewServerGroup_AddServerGroup_Keyboard:Focus is not logical after cancel button.

“Check out Accessibility Insights! - Identify accessibility bugs before check-in and make bug fixing faster and easier.”
GitHubTags:#A11y_SQLAzureDataStudioBenchmark;#A11yMAS;#A11ySev2;#A11yTCS;#SQL Azure Data Studio;#Benchmark;#DesktopApp;#MacOs;#MAS2.4.3;#Keyboard;
Environment Details:
Application Name: Azure Data Studio
Version: 1.15.0-insider
Commit: 3a8b74a
Date: 2020-02-11T05:49:41.181Z
VS Code: 1.42.0
Electron: 7.1.11
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Darwin x64 19.3.0
Mac OS:10.15.3
Additional Details:
Mac OS:10.15.3
MAS References:MAS2.4.3
Repro Steps:

Launch Azure Data Studio.
Select the Connections icon (if not already selected) from left bar.
Hover over the 'Servers' header and select the 'New Server Group' icon.
Navigate to Cancel button.

Actual:
On navigating to the cancel button hit enter the next tab key focus is seen on the server icon in the left panel.
Same issue is observed in the following page:
1.Add new controller
Expected:
The focus should be on the button "new server group"  button that opened the dialog.
User Impact:
Keyboard users will not receive a logical navigation sequence as well as the button that revealed the content will not be visible on the first tab.
Attachment link for Reference :
A11y_SQLAzureDataStudio_NewServerGroup_AddServerGroup_Keyboard9224.zip

dupe of #9227

Verified the bug, issue is not repro'ing.
GithubTags:#Closed;
PFA for reference
9224_Cllosed.zip

GitHubTags:#SQLADS-MAC-Feb2020;


⚠ Processors has degraded performance

In 8d16f12, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 146 ms

Resolved: Processors performance has improved in 882f9f0.


Receive and analyse new data set from Emmons Lab

Take a look at following issues:

[x] Straightening process relative to existing data set
[ ] Scaling new data set relative to existing data set -- with goal of having 3D representation of both data sets on top of each other with nuclei from worm 1 in red and worm 2 in blue with boundary of worm as overlapping as possible
[ ] Manual label with minimal set of cells identified on existing data set
[ ] Select a dozen cells that obviously the same in both data sets (if possible)
[ ] Refer to the Peng paper on atlas about ideal next steps to create reference space that allows the new data set to be compared against the old.
[ ] Define the way we are going to represent points in the space (e.g. probabilistically or an average?)

A 3D digital atlas of C. elegans and its application to single-cell analyses

used DAPI to stain all nuclei then GFP (myo-3:GFP transgene) to label the nuclei of the 81 body wall muscle cells and 1 depressor muscle cell. These nuclei were fiducial markers.
(-also had target set for which they use mCherry)
-straighten worm - detects the principal curve or 'backbone' that represents the anterior-posterior line . Generates one-pixel separated planes orthogonal to the backbone and restacks them along a straight anterior-posterior line, making the planes parallel to each other . Because each local transform is a rigid rotation, the resolution of the straightened image is merely a function of the subpixel interpolation error when a straight line is rotated in space. Thus, the overall resolution loss is naturally minimized.
-segmentation
-used VANO to annotate (I got this from the authors already)
-With a set of K stacks they decided on which was the reference stack, named C, by which stack minimised the sum of the squared differences of the 357 or so nuclei centers between C and every other stack
-mapped every stack to C via affine transform
-The final atlas is the ensemble of the transformed nuclei positions for each named nucleus in the coordinate system of the reference stack
(ensemble? - how
Willard Gibbs in 1878, an ensemble (also statistical ensemble or thermodynamic ensemble) is an idealization consisting of a large number of mental copies (sometimes infinitely many) of a system, considered all at once, each of which represents a possible state that the real system might be in.

Statistical analysis:

looked at SD of nuclei centres (AP, LR, DV directions)
used this to find their invariant nuclei

To map a subject to the atalas:

To annotate markers: bipartite matching algorithm to find the best match between the 82 marker nuclei of C and S under the given transform, that is, that minimizes the sum of the Euclidean distance between corresponding nucleus centers.
Then: took the affine transformation, tGFP, that minimized the difference between S and C with respect to all 82 GFP-labeled nuclei and used the now-annotated marker nuclei in S to triangulate the remaining cell nuclei in the DAPI channel
computed the normalized distance between a nonmarker nucleus to be annotated and its nearest marker nuclei (one anterior and one posterior nucleus in each of the four muscle bundles) and used this metric to find the best bipartite matching between nuclei in S and a subset of those in the atlas (why- )
-then examined the AP, DV and LR relationship in our initial labeling of S to see whether there was any assignment that seemed to substantially conflict with the invariants of the AP, DV and LR graphs derived from the atlas

Need to do:

How does straightening affect scaling? How do pixel sizes change?

Need to ask Scott:

Did they record their parameters for Z stack creation?
- At what distance apart did they set the Z stacks?
- At what point did they decide to start the Z stacks and at what point did they stop?
If this is not available - talk about possible staining of a certain set of cells?

Cluster neurons of worms

Then go through Long paper and think about space


No notification event ever gets called.

Using React 0.5 -
DeviceEventEmitter.addListener(
  REGISTERED_FOR_REMOTE, function(notification) {
    console.log('literally anything');
    callback(null, notification);
  }
);

DeviceEventEmitter.addListener(
  REGISTERED_FOR_REMOTE_ERROR, function(error) {
    console.log('literally anything');
    callback("Couldn't register for notifications");
  }
)

and calling
RemotePushIOS.requestPermissions(function(err, data) {});

I get nothing, both in simulator and on-phone after pressing the "allow" button. I've followed the steps to get it set up (including adding #import "RemotePushDelegate.h" to my AppDelegate.m). I installed via NPM and dragged the project file into my library.
No matter what, I cannot get an a token back. Any ideas?

You should be receiving the token in the requestPermissions callback
RemotePushIOS.requestPermissions( function( err, data ) {
    if( err ) {
        console.error( 'We fucked up:', err );
    } else {
        console.log( data.token );
    }
} );

No event ever gets triggered - I added logging in the actual addlistener functions above.

I have the same issue as well .

Even though you installed via npm, still follow the steps of adding each of the required files not just the one mentioned to include see https://github.com/darylrowland/react-native-remote-push/issues/2

this helped me
https://github.com/facebook/react-native/issues/1613

Looks like this is resolved, so I'm closing now


Added cumsum, cumprod, update_sub, reset_uids for the cntk backend

Summary
Implemented cumsum, cumprod, update_sub(), reset_uids to cntk_backend.py using similar implementations to other backends.
Related Issues
Would this need any unit testing? I assume not since it's implementing very similar functions from other backends.
PR Overview

[n] This PR requires new unit tests [y/n] (make sure tests are included)
[n ] This PR requires to update the documentation [y/n] (make sure the docs are up-to-date)
[y] This PR is backwards compatible [y/n]
[n] This PR changes the current API [y/n] (all API changes need to be approved by fchollet)

I seems that update_sub was just added by someone else.


Bigger thumbnails

What feature or improvement do you think would benefit Files?
Hi, this is a very niche feature but it would be very appreciated.
Right now I have a 4k monitor, and although the thumbnails are bigger than Windows Explorer, they're still small enough to not be able to see the content of the images.
Can you allow for "bigger" thumbnails?
SideBySide comparison:

Requirements

This proposal would allow for a larger degree of zoom in when browsing folders with images, allowing the end-user to have a better preview of the images on a certain location.

Files Version
<IP_ADDRESS>
Windows Version
10.0.19044.2604
Comments
No response

Did you use ctrl + + to zoom in further?

Did you use ctrl + + to zoom in further?

Hi @yaira2 , The left side of the comparison side by side has the max zoom the Files app allows.

This is better suited for a photo layout #5058. In the meantime, you can enable the preview pane to view a larger thumbnail.

It would be a nice feature, as I don't think having the photos in a weird layout would work for my purposes (if you notice I've them ordered by date in the name).
It's up to you of course, as it's a niche feature.


libnotify: 0.7.11 -> 0.7.12

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for libnotify is: "A library that sends desktop notifications to a notification daemon"
meta.homepage for libnotify is: "https://gitlab.gnome.org/GNOME/libnotify"
meta.changelog for libnotify is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
https://gitlab.gnome.org/GNOME/libnotify/-/compare/0.7.11...0.7.12

docs/notify-send: Add --transient option to manpage [Marco]
notify-send: Move server capabilities check to a separate function [Marco]
notify-send: Add debug message about server not supporting persistence [Marco]
notification: Include sender-pid hint by default if not provided [Marco]
Delete unused notifynotification.xml [Patrick; !25]
notification: Bookend calling NotifyActionCallback with temporary ref [Logan; #25, !26]

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.7.12 with grep in /nix/store/0551gawjpgl0fqlshrdbxqlm8b7gh4bj-libnotify-0.7.12
found 0.7.12 in filename of file in /nix/store/0551gawjpgl0fqlshrdbxqlm8b7gh4bj-libnotify-0.7.12

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

728 total rebuild path(s)

632 package rebuild(s)

632 x86_64-linux rebuild(s)
96 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
ChowKick
CuboCore.coreaction
CuboCore.corearchiver
CuboCore.corefm
CuboCore.coregarage
CuboCore.corehunt
CuboCore.coreimage
CuboCore.coreinfo
CuboCore.corekeyboard
CuboCore.corepad
CuboCore.corepaint
CuboCore.corepdf
CuboCore.corepins
CuboCore.corerenamer
CuboCore.coreshot
CuboCore.corestats
CuboCore.corestuff
CuboCore.coreterminal
CuboCore.coretime
CuboCore.coretoppings
CuboCore.coreuniverse
CuboCore.libcprime
adapta-gtk-theme
aether
alarm-clock-applet
alfis
almanah
apostrophe
apparmor-utils
aravis
astroid
atom
atom-beta
audacious
audaciousQt5
authy
auto-multiple-choice
autokey
aws-workspaces
azuredatastudio
balsa
batsignal
bespokesynth
bespokesynth-with-vst2
betaflight-configurator
binance
birdfont
bitwarden
bleachbit
blockbench-electron

Instructions to test this update (click to expand)

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

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

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/0551gawjpgl0fqlshrdbxqlm8b7gh4bj-libnotify-0.7.12
ls -la /nix/store/0551gawjpgl0fqlshrdbxqlm8b7gh4bj-libnotify-0.7.12/bin

Pre-merge build results
NixPkgs review skipped

Maintainer pings
cc @bobby285271 @hedning @jtojnar @dasj19 @maxeaubrey for testing.

@ofborg eval


Hi

Hi ykdogo, looking forward to work along you...

Hi, thank you. Feel free to join us on Discord and say hi (should be in README)

Thanks


Problem with docker build

Step 7/17 : COPY TestDocker/TestDocker.csproj TestDocker/
docker : COPY failed: CreateFile \?\C:\ProgramData\Docker\tmp\docker-builder208312035\TestDocker\TestDocker.csproj: The system cannot find the path specified.
I got about error when trying to run docker build -t aspnetapp .
C:\ProgramData\Docker\tmp exists, but docker-builder208312035 is not created.
Copy-Item "C:\tfs\TestDocker\TestDocker\TestDocker.csproj" -Destination "C:\ProgramData\Docker\tmp"  works**
Copy-Item "C:\tfs\TestDocker\TestDocker\TestDocker.csproj" -Destination "C:\ProgramData\Docker\tmp\docker-builder208312035\TestDocker"  *****Copy-Item : Could not find a part of the path 'C:\ProgramData\Docker\tmp\docker-builder208312035\TestDocker' *******

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

ID: 9731aae1-505b-abb1-0d4b-d6a83ec735e1
Version Independent ID: 760790d5-0e81-ea6c-19ea-f226d08ddf1f
Content: Building .NET Core Docker Images
Content Source: docs/core/docker/building-net-docker-images.md
Service: dotnet-core
GitHub Login: @JRAlexander
Microsoft Alias: johalex

I have posted one issue here.
Someone said might be problem with the docker version, so I remove the latest version and installed Version 18.03.1-ce-win65 (17513), docker-compose 1.21.1.
If I run docker build -t aspnetapp . from Powershell(as ADMIN) , I got up to step 7/18
Removing intermediate container 17c29381e2f4
---> 25f047a30977
Step 7/18 : COPY TestDocker/TestDocker.csproj TestDocker/
COPY failed: stat /var/lib/docker/tmp/docker-builder113779152/TestDocker/TestDocker.csproj: no such file or directory.
I cannot find this DIR and I am using a domain manged win 10 PC version 1703.

From your SO Link above, it appears to be a known issue and appears to have been resolved there. Closing as a result.

##[error]COPY failed: stat /var/lib/docker/tmp/docker-builder487226741/ProjectManager.Api/ProjectManager.Api.csproj: no such file or directory
##[error]The process '/usr/bin/docker' failed with exit code 1


🐛 Bug Report: Localization - Changing the current language doesn't apply to components consistently

📜 Description
I've set up an example Backstage installation with localization applied to a few different areas of the web app against last night's nightly to pick up this PR.

The main app has it's own translations for the sidebar
A plugin that is set up to work with localization
Some translations for the existing user settings plugin

When selecting an alternate language, it's applied to the components from the user settings plugin, however the app's sidebar is not updated:

The example plugin does render as expected however the sidebar remains in English:

And then when switching back from English to German, only the Language selector component updates:

Interacting with the Theme component at this point will cause it to rerender and it'll then switch back to English
👍 Expected behavior
The language selected should be applied to all elements that support that particular translation.
👎 Actual Behavior with Screenshots
see above
👟 Reproduction steps

Clone this repo
yarn install
yarn dev and access the UI
Go to the settings page and click on "DE" for the Language selector
Click on "Language" and verify that this page is mostly in German
Go back to "Settings" and click "EN"

📃 Provide the context for the Bug.
I'm specifically investigating the localization support to see if we can adopt it.  Happy to look into this as well.
🖥 Your Environment
latest chrome stable on Linux
OS:   Linux 6.5.5-200.fc38.x86_64 - linux/x64
node: v18.17.1
yarn: 1.22.19
cli:  0.23.0-next.1 (installed)
backstage:  1.19.0-next.1
Dependencies:
@backstage/app-defaults                                          0.0.0-nightly-20231005021327, 1.4.3
@backstage/backend-app-api                                       0.5.5
@backstage/backend-common                                        0.19.7
@backstage/backend-dev-utils                                     0.1.1
@backstage/backend-openapi-utils                                 0.0.4
@backstage/backend-plugin-api                                    0.6.5
@backstage/backend-tasks                                         0.5.10
@backstage/catalog-client                                        1.4.4
@backstage/catalog-model                                         1.4.2
@backstage/cli-common                                            0.0.0-nightly-20231005021327, 0.1.12, 0.1.13-next.0
@backstage/cli-node                                              0.0.0-nightly-20231005021327, 0.1.4, 0.1.5-next.0
@backstage/cli                                                   0.0.0-nightly-20231005021327, 0.22.13, 0.23.0-next.1
@backstage/config-loader                                         0.0.0-nightly-20231005021327, 1.5.0, 1.5.1-next.0
@backstage/config                                                1.1.0
@backstage/core-app-api                                          0.0.0-nightly-20231005021327, 1.10.0, 1.10.1-next.1
@backstage/core-components                                       0.0.0-nightly-20231005021327, 0.13.5, 0.13.6-next.1
@backstage/core-plugin-api                                       0.0.0-nightly-20231005021327, 1.6.0, 1.7.0-next.0
@backstage/dev-utils                                             1.0.21
@backstage/e2e-test-utils                                        0.0.0-nightly-20231005021327
@backstage/errors                                                1.2.2
@backstage/eslint-plugin                                         0.1.3
@backstage/frontend-app-api                                      0.0.0, 0.2.0-next.1
@backstage/frontend-plugin-api                                   0.0.0, 0.1.0, 0.1.1-next.1
@backstage/integration-aws-node                                  0.1.6
@backstage/integration-react                                     0.0.0-nightly-20231005021327, 1.1.19, 1.1.20-next.1
@backstage/integration                                           0.0.0-nightly-20231005021327, 1.7.0, 1.7.1-next.0
@backstage/plugin-api-docs                                       0.0.0-nightly-20231005021327
@backstage/plugin-app-backend                                    0.3.53
@backstage/plugin-app-node                                       0.1.5
@backstage/plugin-auth-backend-module-gcp-iap-provider           0.1.2
@backstage/plugin-auth-backend-module-github-provider            0.1.2
@backstage/plugin-auth-backend-module-gitlab-provider            0.1.2
@backstage/plugin-auth-backend-module-google-provider            0.1.2
@backstage/plugin-auth-backend-module-oauth2-provider            0.1.2
@backstage/plugin-auth-backend                                   0.19.2
@backstage/plugin-auth-node                                      0.3.2
@backstage/plugin-catalog-backend-module-scaffolder-entity-model 0.1.2
@backstage/plugin-catalog-backend                                1.14.0-next.1
@backstage/plugin-catalog-common                                 1.0.16
@backstage/plugin-catalog-graph                                  0.2.37-next.1
@backstage/plugin-catalog-import                                 0.10.1-next.1
@backstage/plugin-catalog-node                                   1.4.6
@backstage/plugin-catalog-react                                  0.0.0-nightly-20231005021327, 1.8.4, 1.8.5-next.1
@backstage/plugin-catalog                                        0.0.0-nightly-20231005021327
@backstage/plugin-events-node                                    0.2.14
@backstage/plugin-github-actions                                 0.6.6-next.1
@backstage/plugin-graphiql                                       0.2.54, 0.2.55-next.1
@backstage/plugin-org                                            0.6.15-next.1
@backstage/plugin-permission-common                              0.7.8
@backstage/plugin-permission-node                                0.7.16
@backstage/plugin-permission-react                               0.0.0-nightly-20231005021327, 0.4.15, 0.4.16-next.0
@backstage/plugin-proxy-backend                                  0.4.2
@backstage/plugin-scaffolder-backend                             1.18.0-next.1
@backstage/plugin-scaffolder-common                              1.4.1
@backstage/plugin-scaffolder-node                                0.2.5
@backstage/plugin-scaffolder-react                               0.0.0-nightly-20231005021327
@backstage/plugin-scaffolder                                     0.0.0-nightly-20231005021327
@backstage/plugin-search-backend-module-catalog                  0.1.9
@backstage/plugin-search-backend-module-pg                       0.5.14
@backstage/plugin-search-backend-module-techdocs                 0.1.9
@backstage/plugin-search-backend-node                            1.2.9
@backstage/plugin-search-backend                                 1.4.5
@backstage/plugin-search-common                                  1.2.6
@backstage/plugin-search-react                                   0.0.0-nightly-20231005021327, 1.7.1-next.1
@backstage/plugin-search                                         1.4.1-next.1
@backstage/plugin-tech-radar                                     0.6.9-next.1
@backstage/plugin-techdocs-backend                               1.7.2
@backstage/plugin-techdocs-module-addons-contrib                 0.0.0-nightly-20231005021327
@backstage/plugin-techdocs-node                                  1.8.2
@backstage/plugin-techdocs-react                                 0.0.0-nightly-20231005021327
@backstage/plugin-techdocs                                       0.0.0-nightly-20231005021327
@backstage/plugin-user-settings                                  0.0.0-nightly-20231005021327
@backstage/release-manifests                                     0.0.10
@backstage/test-utils                                            0.0.0-nightly-20231005021327, 1.4.3
@backstage/theme                                                 0.4.2
@backstage/types                                                 1.1.1
@backstage/version-bridge                                        1.0.5
Done in 1.26s.
👀 Have you spent some time to check if this bug has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Are you willing to submit PR?
Yes I am willing to submit a PR!

I should also ask if there's any issue with my localization setup, I kinda figured it out from the tests and how I would perhaps want to set it up.  Thanks!

With a bit of debugging I found that the first issue mentioned where the sidebar doesn't update actually turned out to be user error, I missed that I had forgotten to give the translation ref in the app it's own unique ID.  So there's just one issue remaining, the language toggle only takes effect on the Language component, the change isn't reflected in the sidebar or the theme selector component:

With a bit more debugging it seems like to ensure the language change is propagated across the app one option could be to add a listener on the observable that this selector posts events at one of the higher level contexts, like AppContext which would ensure everything re-renders when the selector is interacted with.  Like this sledgehammer approach to fixing the issue:

Maybe creating a LanguageContext that does something like this would be the way to go.

A language switch is supposed to propagate to observables down to the useTranslationRef effect hook here. It starts at the language API subject when the language is switched here, which in turn is listened to and handled by the translation API implementation here. I'd expect there to be a bug somewhere along this chain that causes the language switching to not properly cause all components to rerender.

Thanks for that, very helpful!  It looks like this could be the disconnect and the subscriber isn't called in some cases.  This seems to fix it for me:

I haven't noticed any side effects with this change.

Thanks for finding a possible solution @gashcrumb, would you mind opening a pull request to fix the bug? We will appreciate the contribution 🙂

Thanks!  Found I could tidy things up a little bit too, opened https://github.com/backstage/backstage/pull/20567


Project category on godotengine asset-library

I was browsing asset lib and saw your addon, it looks awesome. However I don't agree with the category you chose for it and I going to explain why.
When I saw category Addon I thought I can open asset lib in editor, find your addon and just click install. But then I saw the repo and saw that there is no addon in this project, this is a complete project. So if I would click install then it will put all those files inside my project potentially breaking it.
So I came to suggest to change category to Template. At least for now until it can't be used as an addon.

That should be cleaner, thanks a lot.


super-linter runs very slowly against json and yaml files

Describe the bug
Similar to what https://github.com/github/super-linter/issues/2553 reported, individual files take many minutes to lint, taking 4+ total hours to lint https://github.com/github/rest-api-description
 ------
2022-03-23 23:37:51 [INFO]   ---------------------------
2022-03-23 23:37:51 [INFO]   File:[/github/workspace/descriptions-next/ghes-3.1/dereferenced/ghes-3.1.deref.json]
2022-03-24 00:11:15 [INFO]    - File:[ghes-3.1.deref.json] was linted with [eslint] successfully
2022-03-24 00:11:15 [INFO]      - Command output:
------

------
2022-03-24 00:11:15 [INFO]   ---------------------------
2022-03-24 00:11:15 [INFO]   File:[/github/workspace/descriptions-next/ghes-3.1/ghes-3.1.json]
2022-03-24 00:12:00 [INFO]    - File:[ghes-3.1.json] was linted with [eslint] successfully
2022-03-24 00:12:00 [INFO]      - Command output:
------

------
2022-03-24 00:12:00 [INFO]   ---------------------------
2022-03-24 00:12:00 [INFO]   File:[/github/workspace/descriptions-next/ghes-3.2/dereferenced/ghes-3.2.deref.json]
2022-03-24 00:47:01 [INFO]    - File:[ghes-3.2.deref.json] was linted with [eslint] successfully
2022-03-24 00:47:01 [INFO]      - Command output:
------

Not sure if you can see the run for this project, but the project is public so perhaps you can
https://github.com/github/rest-api-description/runs/5668239655?check_suite_focus=true
Expected behavior
I would expect this whole repo to run in a few minutes tops
Steps to Reproduce
I'm having trouble getting this to run locally with the given instructions in this repo.  https://github.com/github/super-linter/issues/2712  But I'll update here if I manage to reproduce locally.  For now, you can see how we've configured out github actions https://github.com/github/rest-api-description/blob/main/.github/workflows/linter.yml
Update
This is reproducible locally in docker running on my macbook
% docker run \
  -it --entrypoint /bin/bash \
  -e RUN_LOCAL=true \
  -e VALIDATE_JSON=true \
  -e ACTIONS_RUNNER_DEBUG=true \
  -v $HOME/ghwork/rest-api-description/.git:/tmp/lint/.git \
  -v $HOME/ghwork/rest-api-description/descriptions-next/api.github.com/api.github.com.json:/tmp/lint/descriptions-next/api.github.com/api.github.com.json \
  github/super-linter:slim-v4

That ^ lets me try out individual commands in the container, you can just remove the -it --entrypoint /bin/bash \ to let the scripts from super-linter run directly
bash-5.1# TIMING=1 time eslint --no-eslintrc -c /action/lib/.automation/.eslintrc.yml --ext .json /tmp/lint/descriptions-next/api.github.com/api.github.com.json
Rule                               | Time (ms) | Relative
:----------------------------------|----------:|--------:
jsonc/no-dupe-keys                 |  1401.195 |    19.7%
jsonc/no-useless-escape            |   920.252 |    13.0%
jsonc/no-unicode-codepoint-escapes |   861.818 |    12.1%
jsonc/comma-dangle                 |   660.380 |     9.3%
jsonc/quotes                       |   643.153 |     9.1%
jsonc/no-parenthesized             |   586.937 |     8.3%
jsonc/quote-props                  |   402.124 |     5.7%
jsonc/no-multi-str                 |   298.139 |     4.2%
jsonc/no-floating-decimal          |   288.022 |     4.1%
jsonc/no-octal                     |   248.088 |     3.5%
real    1m 40.27s
user    1m 47.26s
sys     0m 0.89s

There's no reason an individual file should take nearly 2 minutes to lint.  I'm not a docker expert, but there's something really odd going on here.  I'd say it might be something with docker on mac with an m1, but since I see the same slow behavior in our github actions runs, I don't think that's it.
Logs
Included in the initial description.  Can add more as needed

The size of the file you're linting is 3.8MB. I doubt the issue is on super-linter. I'd check with the eslint developers if there's something you can do to tune it's behavior to speed up the linting.

granted eslint isn't the fastest for large files, but something about the docker setup for this project makes the linting 3x slower
running eslint locally against a file takes 30 seconds
% time eslint -c .eslintrc.yml descriptions/api.github.com/api.github.com.json
eslint -c .eslintrc.yml descriptions/api.github.com/api.github.com.json  30.79s user 0.52s system 103% cpu 30.191 total

running super-linter in docker against the same file ends up taking 1 minute 40 seconds
% docker run \
  -e RUN_LOCAL=true \
  -v $HOME/ghwork/rest-api-description/.git:/tmp/lint/.git \
  -v $HOME/ghwork/rest-api-description/descriptions/api.github.com/api.github.com.json:/tmp/lint/descriptions/api.github.com/api.github.com.json \
  github/super-linter:slim-v4
...
2022-03-29 23:15:23 [INFO]   File:[/tmp/lint/descriptions/api.github.com/api.github.com.json]
2022-03-29 23:17:03 [INFO]    - File:[api.github.com.json] was linted with [eslint] successfully
2022-03-29 23:17:03 [INFO]      - Command output:

I know docker adds overhead, but 3x seems problematic to me

Reopening the issue to check if we got something wrong in our container image.
A couple of questions @mmrobins:

Are you running the same version of eslint?
Can you enable debug logging as instructed in the bug report template?

I wonder if there's any operation that we do before actually running eslint that might incur in this performance penalty.

I was able to partially reproduce this. It takes a minimum of 2 mins to lint a single of those files (I ran it against the whole repo), for some even more. I think the increase in time you're seeing is due to the fact that super-linter performs additional checks to detect if a file has to be linted with additional linters, besides checking the extension of the file.
For example, super-linter checks if json files are also OpenAPI files, ARM files, etc. If you enable debug logging, you're going to see the relevant log messages.
So, in brief: when super-linter runs against a single file, it still performs additional (needed) checks.

I am still seeing this issue while running<EMAIL_ADDRESS>any reason why  this issue was marked as closed or is there some otherway to disable all the other checks json linting does?
Here is a chunk of a very very slow (30 + minute) json linting job with debug enabled ACTIONS_RUNNER_DEBUG: true
....

2023-12-27 21:56:33 [DEBUG]   File:[/path/subpath/xxx.json], File_type:[json], Base_file:[xxx.json]
2023-12-27 21:56:33 [DEBUG]   Checking if /path/subpath/xxx.json is an OpenAPI file...
2023-12-27 21:56:33 [DEBUG]   /path/subpath/xxx.json is NOT an OpenAPI descriptor
2023-12-27 21:56:33 [DEBUG]   Checking if /path/subpath/xxx.json is an ARM file...
2023-12-27 21:56:33 [DEBUG]   Checking if /path/subpath/xxx.json is a Cloud Formation file...
2023-12-27 21:56:33 [DEBUG]   Checking if /path/subpath/xxx.json is a AWS states descriptor...

...

Hi @rtk-willm ! Can you please open a fresh issue about this problem, trying against the latest image as well?

Hi @rtk-willm ! Can you please open a fresh issue about this problem, trying against the latest image as well?

no problem. no issue here https://github.com/super-linter/super-linter/issues/5073 😄


Contentful CLI Github actions

Changes in this PR

remove github action for destroying staging and research
add github action for cloning staging to develop for use by developers
comment out dev clone cache busting step but use for reference
delete commented occurrences of CONTENTFUL_URL
set the dev env example to point to develop

 Change how we do Contentful envs


limactl ls $INSTANCE should exit with non-0 status if $INSTANCE does not exist

I wonder why limactl ls $INSTANCE just shows a warning and still has an exit code of 0 when the instance doesn't exist.
Originally posted by @jandubois in https://github.com/lima-vm/lima/issues/957#issuecomment-1183514039

I work around this with limactl list $INSTANCE --json | jq -res 'if . == [] then null else .[] | .status end'

Hello, I was wondering if I could be assigned this issue?


About "rtp_enabled"

Hi!
According to the RTP Behavior:
A Receiver sets the rtp_enabled parameter to true for each leg it has configured from the SDP file, unless overridden by the requested transport_params as noted below.
Is this a requirement (MUST)?
Is there any special behavior of rtp_enabled for Senders that we should take care of?
Thanks in advance.

Is this a requirement (MUST)?

A few sections up, this attribute is a MUST here

Receiver Connection Management endpoints MUST support a core parameter set.
Receiver Parameter Sets
Core Parameters

source_ip
interface_ip
destination_port
rtp_enabled

The text you point out is the definition of the rtp_enabled value, or how it's filled, I believe it is included in that MUST.
You can always confirm with NMOS Testing Suite when in doubt. IS-05-02 test_18 checks these requirements

Is there any special behavior of rtp_enabled for Senders that we should take care of?

Given the examples in https://github.com/AMWA-TV/nmos-device-connection-management/blob/v1.1.x/docs/4.1. Behaviour - RTP Transport Type.md#interpretation-of-sdp-files
This state also holds true for Senders

sets the rtp_enabled parameter to true for each leg it has configured from the SDP file

The attribute MUST be included, but I think the question is whether the behaviour in response to a single-legged SDP file being PATCHed to a Receiver is REQUIRED or not. I think the answer is yes, and I think the reason it still just says "sets" rather than "MUST set" is because we couldn't adjust conformance language keywords in an editorial revision.
On the other point, the Sender behaviour is not covered by those examples, they show how a Receiver is required to adjust its transport_params on being PATCHed only.
However, a two-legged Sender may support rtp_enabled being set to false, and I need to double check how this is supposed to be indicated in the /transportfile endpoint SDP file.

Cool, thanks!

Regarding Sender rtp_enabled, I've researched this. NMOS does not specify how a disabled leg should be indicated in the Sender's SDP file. There is an a=inactive media-level attribute that could have been used, as previously mentioned in https://github.com/AMWA-TV/nmos-device-connection-management/issues/109#issuecomment-598721418, but that suggestion is not part of the spec nor I suspect widely implemented.
My recommendation is for control systems to bear this in mind and always include rtp_enabled alongside a Sender's SDP file when PATCHing a Receiver.

the question is whether the behaviour in response to a single-legged SDP file being PATCHed to a Receiver is REQUIRED or not.

Quoting from the section on SMPTE 2022-7:

Where a Receiver supports SMPTE 2022-7 but receives a request with a non-SMPTE 2022-7 transport file, the Receiver SHOULD set rtp_enabled in the second set of parameters to false and transport parameters in the SDP file SHOULD be mapped onto that first set of parameters in the array with rtp_enabled set to true (bearing in mind that the transport_params values in the same request take priority).

Obviously, it's ridiculously frustrating that those SHOULDs aren't MUSTs, but the desired behaviour is at least specified.


[UI issues] Select Contact window is not informative

WTR:

Go to Home page -> Transfer
Click Select Contact button
Result: you can see empty window if there are no contacts.
As a solution description can be added: There are no contacts.

Note: If there are contacts then the window should be trimmed to remove empty spaces

@NikolaiB please check. First part is fixed.


lint 有一堆的错误

我觉得吧，既然是demo，跑起来最好不要有错误，实在不行可以放宽校验的标准吧，😄😄😄
fecs  INFO src/App.vue (3 messages)
fecs ERROR → line 55, col 1: Missing JSDoc @file.	(fecs-valid-jsdoc)
fecs ERROR → line 55, col 1: Missing JSDoc @author.	(fecs-valid-jsdoc)
fecs ERROR → line 55, col 1: Expected file extension js or jsx or es but found vue.	(fecs-esnext-ext)
fecs  INFO src/router.js (5 messages)
fecs ERROR → line 11, col 12: Expected class Home but found ArrowFunctionExpression.	(fecs-prefer-class)
fecs ERROR → line 12, col 14: Expected class Detail but found ArrowFunctionExpression.	(fecs-prefer-class)
fecs ERROR → line 13, col 16: Expected class NotFound but found ArrowFunctionExpression.	(fecs-prefer-class)
fecs ERROR → line 14, col 12: Expected class User but found ArrowFunctionExpression.	(fecs-prefer-class)
fecs ERROR → line 15, col 14: Expected class Search but found ArrowFunctionExpression.	(fecs-prefer-class)
fecs  INFO src/components/AppBottomNavigator.vue (4 messages)
fecs ERROR → line 28, col 1: Missing JSDoc @file.	(fecs-valid-jsdoc)
fecs ERROR → line 28, col 1: Missing JSDoc @author.	(fecs-valid-jsdoc)
fecs ERROR → line 28, col 1: Expected file extension js or jsx or es but found vue.	(fecs-esnext-ext)
fecs  WARN → line 39, col 50: Unexpected block statement surrounding arrow body.	(fecs-arrow-body-style)
fecs  INFO src/components/AppHeader.vue (3 messages)
fecs ERROR → line 47, col 1: Missing JSDoc @file.	(fecs-valid-jsdoc)
fecs ERROR → line 47, col 1: Missing JSDoc @author.	(fecs-valid-jsdoc)
fecs ERROR → line 47, col 1: Expected file extension js or jsx or es but found vue.	(fecs-esnext-ext)

fecs 更新比较快，那会 fecs 的规则还不是这样的，还没有对 vue 文件进行校验，我们会尽快改过来，感谢提醒

追加一下
fecs 对 vue 文件的校验有点问题，首先不说这个 file 和 author 的问题，文件后缀名这个报错就有点奇怪了
Expected file extension js or jsx or es but found vue.	(fecs-esnext-ext)


Ctrl-T not working in tmux

Category

[ ] fzf binary
[ ] fzf-tmux script
[x] Key bindings
[ ] Completion
[ ] Vim
[ ] Neovim
[ ] Etc.

OS

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

Shell

[x] bash
[ ] zsh
[ ] fish

Hi all,
I've installed fzf keybindings. Ctrl-T doesn't seem to work in a tmux session. I tested this on MacOS and on Linux, and with and without my fzf bash setup posted below.
The other keybindings work. How can I make Ctrl-T work in tmux? I am not using the fzf-tmux script.
Here is my fzf bash setup:
## fzf
[ -f ~/.fzf.bash ] && source ~/.fzf.bash
export FZF_DEFAULT_OPTS='--height 50% --border'
export FZF_DEFAULT_COMMAND='fd --type f'
# Use fd
_fzf_compgen_path() {
    fd --hidden --follow --exclude ".git" . "$1"
}
# Use fd to generate the list for directory completion
_fzf_compgen_dir() {
    fd --type d --hidden --follow --exclude ".git" . "$1"
}
# Fuzzy complete using fzf
complete -F _fzf_path_completion -o default -o bashdefault ag
complete -F _fzf_dir_completion -o default -o bashdefault tree

# fasd & fzf change directory - jump using `fasd` if given argument, else filter output of
# `fasd` using `fzf`
_z() {
    [ $# -gt 0 ] && fasd_cd -d "$*" && return
    local dir
    dir="$(fasd -Rdl "$1" | fzf -1 -0 --no-sort +m)" && cd "${dir}" || return 1
}
alias z="_z"
alias fzfprev="fzf --preview 'head -100 {}'"

Random question, did you update FZF first and were the FZF keybindings successfully installed and noted in your .bashrc?

@denisinla fzf is installed with the latest version (I am using it).
I have the fzf keybindings installed. This was placed in my .bashrc:
[ -f ~/.fzf.bash ] && source ~/.fzf.bash

Any ideas?

Hmm, the issue I had on my end was that the key bindings were not being copied into my ~/.bashrc when using it in tmux not to mention I am using ZSH instead of bash as well.

As in, ~/.fzf.zsh wasn't getting added to your rc file?

It wouldn't continue copying over to /.zshrc if there was an issue with my ~/.bashrc for some odd reason.

I'm always on tmux but I don't have the issue. Maybe you have a conflicting tmux key binding on CTRL-T?

I installed it using homebrew and ran the tool to install keybindings which sources .fzf from my bash.
So here's what happens:
I start fzf, search for something and hit Ctrl-T and Ctrl-R and nothing happens while selecting a file.
When I start fzf with Ctrl-R to search bash history, and hit Ctrl-R again, it does sort properly (doesn't work when I just run fzf plain), but Ctrl-T doesn't do anything.
Am I using it in a wrong way?

I had the same issue, but it turned out to be because of an old tmux session.
Killing it and starting a fresh one resolved the problem.

@nayefc Doest Ctrl-T work outside of Tmux?

@deepredsky Yep. That's the problem I'm having. How is tmux interfering?  I cleared .tmux.conf and still same issue. Is that the case with you as well?

@nayefc I dont have that issue now. For me the issue was one of my binding was conflicting with one for fzf but the fix was easy to remove the binding in tmux. I can suggest to kill tmux server after clearing ur .tmux.conf by running tmux kill-server. Since other keybindings work, it highly likely that there is a keybinding conflict somewhere

Same issue for me !
Stock fzf, even with empty .tmux.conf
It happens on two Mac-os mojave devices, Ctrl T just moves the letter under the cursor to the right / adds a space at the left if at the rightmost position.
This behavior only happens on tmux.
Any idea ?

@MeisterTea I commented the the tmux issue page
r u using bash? it seems you have binding of \C-t to the transpose function. try running bind -P | grep transpose to check. Also u can check if the fzf file widget it bound or not by running
bash-4.4$ bind -X
"\C-t": "fzf-file-widget"

for anybody reading this, solution for @MeisterTea  https://github.com/tmux/tmux/issues/1694#issuecomment-487935184

most likely u have the emacs binding setting after loading fzf bindings. in your bashrc, try moving set -o emacs after sourcing of the fzf bindings script

This is happening for me still. I can't use CTRL-T nor CTRL-R nor cd <directory>/** for example in tmux. @deepredsky Can you please provide some assistance?
Running bind -X returns:
"\C-p": "fe"
"\C-r": "__fzf_history__"
"\C-t": "fzf-file-widget"

@faruzzy try invoking the cmds directly to see if they work first
example
$ fzf-file-widget

also helps to know which shell you are running.

When I run fzf-file-widget the caret just freezes and nothing happens until I run CTRL-C.
This is happening on bash

Well, after restarting my mac everything started working normally! Thanks for looking into this


Optimize scanning on Android

Can we optimize scanning performance on Android by customizing some options from https://github.com/journeyapps/zxing-android-embedded? We only need to scan QR codes – I think the implementation is wasting a lot of cycles on other formats.

Is it thoug? I think we are limiting this to QR-Codes in this line: https://github.com/bitpay/cordova-plugin-qrscanner/blob/master/src/android/QRScanner.java#L458

I had totally missed this before (and quickly added this issue from memory). Thanks @tobiasviehweger, the Android platform is fantastic!

@bitjson No worries :)


How do you change the button's waves-effect color?

Hi,
I think
{{> atNavButton }}
currently uses .waves-teal . I can change the button colors via css:
.btn, .btn-large {
  background-color: #455A64; /* BG */
  color: #CFD8DC; /* Text */
}

But how can i change the waves effect color?
Thanks! Lukas

I think this is a better question for Materialize CSS repository.


RHV provider label detection logic added

Signed-off-by: randybrunopiverger<EMAIL_ADDRESS>Regarding: https://github.com/stolostron/backlog/issues/19273
ManagedClusterInfos supports RHV with this PR: https://github.com/stolostron/multicloud-operators-foundation/pull/457/files#diff-1464a4dd52c947d03556e70191424b21fd8f8a4fe2ea7abe2ce0c145aeaf4ce3R274-R279
The CloudVendor field is copied to the the 'cloud' resource label here: https://github.com/stolostron/multicloud-operators-foundation/blob/b852c6001862038284f080113fb0c7479726f0c1/pkg/controllers/autodetect/autodetect_controller.go#L95-L99

/cc @KevinFCormier
FYI @dtthuynh

PR for the display name change is up.
Provider detection function used in Overview has now been replaced with shared util function

/lgtm


Quilt Config via Kotlinx Serialization

Intro:
Jetbrains has a Kotlinx library that handles serialization of classes for config and other stuff. A bridge between this and Quilt Config would be beneficial to modders who are already familiar with Kotlinx Serialization
Existing Work:
Not any that I can find, mostly because Quilt Config is relatively new

This issue is a bit to vague ihmo. What exactly is the goal?

The goal is to be able to use a preexisting serializable class with the quilt config system

@Serializable
class SerializableClass {
  var name: String = "Name" // Will be serialized into a string
  var custom: Custom = Custom.apply {
    name = "Test"
  }
}

@Serializable
@SerialName("Custom")
class Custom {
  var name: String
}

class CustomSerializaer : KSerializer<Custom> {
  override fun serialize(encoder: Encoder, value: Custom) {
    val string = value.name
    encoder.encodeString(string)
  }

  override fun deserialize(decoder: Decoder): Custom {
    val string = decoder.decodeString()
    return Custom().apply {
      name = string
    }
  }
}

This would get serialized into this (Assuming JSON5)
{
  name: "Name"
  custom: "Test!"
}

It can get more complex that that, though, with multiple properties in custom serializers

@NoComment1105 has more experience with kotlinx serialization, so they might be able to help more with this

ok that is the Kotlinx serialization part, but how does it "connect" to configs?

How does a config update when I change the value of name in custom
How does this data update when the config changes
What about default values? Each entry needs a default value

(Also fyi: custom serializers don't automatically get used like that)

Working on a similar project, but for fabric. It's basically providing configuration functionality via kotlinx.serialization.
This is the project setup.
root
- ConfigOwner
- SerializableValue
- gui
  - Annotations
  - ConfigScreen
- internal
  - ConfigLoader
  - SerializableValueImpl
  - entrypoint
    - ...

ConfigOwner is responsible for managing configs in one mod.
public open class ConfigOwner(public val modid: String) {
    // -------- Config --------

    public val configs: Map<String, SerializableValue<*>>

    public fun <T : Any> register(
        key: String,
        default: T,
        serializer: KSerializer<T>
    ): SerializableValue<T>

    public inline fun <reified T : Any> register(
        key: String,
        default: T
    ): SerializableValue<T>

    public fun load()

    // -------- Events --------

    public open fun onLoading(key: String)

    public open fun onLoaded(key: String, config: Any)

    public open fun onSaving(key: String, config: Any)

    public open fun onSaved(key: String)

    public open fun onException(exception: Exception)

    // -------- Config Screen --------

    public open fun getConfigScreen(parent: Screen): Screen
}

SerializableValue is used as a single config bundled with its KSerializer.
public interface SerializableValue<T> : ReadOnlyProperty<Any, T> {
    public val value: T

    public val serializer: KSerializer<Unit>

    override fun getValue(thisRef: Any, property: KProperty<*>): T = value
}

and the underlying implementation SerializableValueImpl.
internal class SerializableValueImpl<T>(
    override var value: T,
    private val delegate: KSerializer<T>
) : SerializableValue<T>, KSerializer<Unit> {
    override val descriptor: SerialDescriptor

    override fun serialize(encoder: Encoder, value: Unit)

    override fun deserialize(decoder: Decoder)

    override val serializer: KSerializer<Unit>
}

value is overriden as var because ConfigOwner should look up the stored SerializableValueImpl and replace the default with that (if present) during the reading process. However, updates to only some of the config entries is hard because serialization and deserialization always go through the whole config class.
gui package is for building config screen for players.
Annotation contains several display settings that could be applied to the properties of a config class.
ConfigScreen derives from Screen and serves as a basic implementation of the screen.
public open class ConfigScreen(
    protected val owner: ConfigOwner,
    private val parent: Screen?,
    title: Text = createTitleForConfig(owner) // Default is the mod name specified in mod.json
) : Screen(title)

It holds a ConfigOwner for reading and writing during the gameplay. The intermediate processor also take these annotations in Annotation into consideration (if an annotation class is marked @SerialInfo, then it appears in the KSerializer.descriptor, so the processor could retrieve it).
ConfigLoader is for reading configs from disk during startup and writing during exit.
internal object ConfigLoader {
    val owners: MutableSet<ConfigOwner>

    fun loadOwner(owner: ConfigOwner)

    fun saveAllOwners()

    private fun saveOwner(owner: ConfigOwner)
}

When user call ConfigOwner.load, ConfigLoader will add the owner for later saving, and read all the config files under configs/ConfigOwner.modid folder. Each file is named key.<format>, and key is the parameter passed to ConfigOwner.register.
entrypoint package is where ConfigOwner.saveAllOwners gets called. More specifically inside a listener to when game exits.
So hopefully users could try with the following steps:

Create a config class. Completely immutable (val instead of var) is encouraged.

Use annotations for modifing serialization and screen display.

Register with ConfigOwner.register as follows:
val config: MyConfig by MyConfigOwner.register("general", MyConfig())

by is provided by SerializableValue.getValue because SerializableValue.serializer is not used that much.

Load ConfigOwner with .load. This should happen during the initialization. Since ConfigLoader is called passively, parallel loading is possible and no dependency ordering is required.

For formats, I'm using [TOML](https://toml.io) because I've written a [plugin](https://github.com/Peanuuutz/tomlkt) for kotlinx.serialization to support it. Other formats like JSON (kotlinx.serialization originally supports), JSON5, YAML could be considered too. I once thought I should support multiple formats too, but every plugin is using annotations for modifying serialization, so that could lead to a mess.


Simplify the sequence/message flow icon

What should we do?
Simplify the connect icon from

to

Why should we do it?
Improve the icons accessibility :arrow_down:.

What
Please, change the sequence/message flow icon
From:

By the single version of both sequence line + arrow, like

and

I think that by default can be the first image, and change it on demand later (with a context menu similar when you switch from task types ) to dotted arrow.
Why?
There are some people (like me) that have a weird eye condition where with icons like that,

It causes that the brain thinks that the image is not focused and it tries to focus but since the image is ok and will not change the brain tries to focus all time causing a fatal tiredness and even headache.
I'm pretty sure that I'm not the only one with this problem since the doctor told me that is a normal issue for some people with certain age.
Best Regards, and congrats for all you awesome work.

Thanks for opening this issue.
What the icon should transport is make a connection. We want to avoid that users think only a single connection type is possible. We also want to avoid to show more than one entry in the context pad and in the palette.
Do you have a suggestion how we could improve the icon with regards to your issue while continuing to transport that message?

Would be interesting to get your feedback on :arrow_up: @eriknyk.

Thanks for you answer @nikku, I was thinking a way try minimize the eye effect, and something like this can help.

I didn't tried other colors, but yeah it minimize the effect, not at 100% but at least a 75% what is acceptable helpful.

This symbol does not only represent (a standard) connection but also message flow, conditional flow, and default flow. It is a symbol that represents an entire group like most of our other symbols in the palette and context pad do (gateway, task, end event, etc.).
So my argument would be that one representative symbol is enough. In this case, I would choose the standard connection:

Your rationale @andreasgeier makes absolute sense.
I've updated the issue description accordingly. We'll give the simplified connection symbol (sequence flow style) only a try.

@nikku just checking in on this one to see if there is any update.
Regards.

We did not pick it up yet.

This is now fixed upstream.


test_paths.py: fix overly-specific test for whosmat result

Apparently integers are stored as int32 on 32-bit Python, so just check the
name and shape of what's stored in the file.

Or "data = np.arange(5).astype(np.int64)" to avoid depending on the
platform default integer width.

Both sound reasonable to me. I had already started to add a comment to that assertion explaining why the data type is omitted, and I was about to push an amended commit.
In principle we don't even need to check the result of whosmat here; I just added that because it didn't seem to hurt (which of course backfired with different integer widths on different platforms). What really matters here is that whosmat doesn't throw an exception when given a Path object, and checking that it can read something written by savemat isn't necessarily within the scope of this test.

I like @pv's suggestion to fix the dtype of data. It's not the purpose of this test, but it makes things clearer.
The TravisCI failures are unrelated.

The type of data is now specified explicitly in test_paths.py as of c2fc0b2.
I added two follow-up commits that test the rest of the I/O functions I mentioned in my final comment in #6855. None of these needed any code changes -- just adding test coverage to ensure that Path objects continue to work in the future.


Ctrl causes right click menu to open on macos

Listen for metaKey as a substitute for ctrl.

Yes, it's a known issue. I'm working on a big refactoring right now, but if you want to fix this, please submit a PR. :)


16 bit application?

What am I missing?
When I run SuperRDP.exe update i get this error:

Ahh....I ran the compiled version in  the bin folder which seem to very old.
Perhaps it should be updated or removed ;-)

https://github.com/anhkgg/SuperRDP/releases/download/v1.0.22/SuperRDP_v1.0.22.zip


Add Windows to the list of release targets

Should fix #177, but I haven't tested it yet.

Merging to see what happens. 🙊


modify coding-style link

Describe the proposed changes
Modify link to coding-style in work-issue.md .
Closes #206

Thanks, @konstruktoid :)


Bcrypt issue

I have tested this library for PHP 5.3.28 (I know requirement is >=5.3.7)
end generated password / Hash is not validated by nodejs

I think you need to change the $2y$ at the beginning of the string to $2a$ to compare with non-PHP libraries.
Also, try to use a supported version of PHP (and not have a reason to use this library, as it's just a polyfill from later versions anyway)


feat: add support for package components

Closes #1126
📑 Description
This PR adds support for Packages and ClusterPackages that contain other Packages in the form of "components".
✅ Checks

[x] My code requires changes to the documentation
[ ] I have updated the documentation as required

ℹ Additional Information

TODO: components are not cleaned up on uninstall


Fetch assets with group

Addresses part of #110.
TODOs:

[x] Adjust DB query (not adjusting for now)
[ ] Resolve unclear naming
[x] Add ListGroups usage in itests

Requests for feedback:

Should the DB query be more general, to match QueryAssets, and move the field filtering up to the RPC logic? The reason I didn't do that was that the set of human-readable fields in an asset is pretty fixed at this point IIUC.
Better naming throughout, especially for the tarorpc changes. Probably something better than assetWithGroup for an asset with non-nil group key.

CI failure seems like another early context timeout:
2022-12-07 01:52:33.305 [ERR] GRDN: Aborting main custodian event loop: receive failed: rpc error: code = Canceled desc = context canceled
2022-12-07 01:52:33.305 [ERR] SRVR: Shutting down because error in main method: received critical error from subsystem: receive failed: rpc error: code = Canceled desc = context canceled

Perhaps AssetsWithGroup --> GroupedAssets because they are assets which have been grouped. Would that work?


Replace custom child reap code with go-reap

fixes #596 replacing custom code with https://github.com/hashicorp/go-reap

This change is

Coverage increased (+0.08%) to 46.28% when pulling 256cd6b1dfd6d71b6d92f714db15a4007d65069f on aledbf:fix-reaper into 03cae8898341fec58ebf1ed6009160b667e282ac on kubernetes:master.


Fix Subnet Validation Bug for Nutanix provider

Description of changes:
Fix Subnet Validation Bug for Nutanix provider

fixed a bug causing subnet validation to be unaware of the cluster context
made subnet requests by name cluster-aware
updated unit tests to reflect these changes

Testing (if applicable):
$ eksctl anywhere create cluster -f cluster-aware-net.yaml --bundles-override bin/local-bundle-release.yaml -v10
2024-07-09T15:11:47.827Z	V6	Executing command	{"cmd": "/usr/bin/docker version --format {{.Client.Version}}"}
2024-07-09T15:11:47.849Z	V6	Executing command	{"cmd": "/usr/bin/docker info --format '{{json .MemTotal}}'"}
2024-07-09T15:11:47.904Z	V4	Reading bundles manifest	{"url": "bin/local-bundle-release.yaml"}
2024-07-09T15:11:47.924Z	V4	Using CAPI provider versions	{"Core Cluster API": "v1.7.2+96bbfc2", "Kubeadm Bootstrap": "v1.7.2+866bb11", "Kubeadm Control Plane": "v1.7.2+c87ee1a", "External etcd Bootstrap": "v1.0.13+345cf36", "External etcd Controller": "v1.0.21+e2e355f", "Cluster API Provider Nutanix": "v1.3.5+4eb1c79"}
2024-07-09T15:11:48.090Z	V5	Retrier:	{"timeout": "2562047h47m16.854775807s", "backoffFactor": null}
2024-07-09T15:11:48.090Z	V2	Pulling docker image	{"image": "public.ecr.aws/l0g8r8j6/eks-anywhere-cli-tools:v0.20.0-eks-a-v0.21.0-dev-build.26"}
2024-07-09T15:11:48.090Z	V6	Executing command	{"cmd": "/usr/bin/docker pull public.ecr.aws/l0g8r8j6/eks-anywhere-cli-tools:v0.20.0-eks-a-v0.21.0-dev-build.26"}
2024-07-09T15:11:48.660Z	V5	Retry execution successful	{"retries": 1, "duration": "569.925015ms"}
2024-07-09T15:11:48.660Z	V3	Initializing long running container	{"name": "eksa_1720537908090745304", "image": "public.ecr.aws/l0g8r8j6/eks-anywhere-cli-tools:v0.20.0-eks-a-v0.21.0-dev-build.26"}
2024-07-09T15:11:48.660Z	V6	Executing command	{"cmd": "/usr/bin/docker run -d --name eksa_1720537908090745304 --network host -w /home/ubuntu/cluster-aware-subnets -v /var/run/docker.sock:/var/run/docker.sock -v /home/ubuntu/cluster-aware-subnets:/home/ubuntu/cluster-aware-subnets -v /home/ubuntu/cluster-aware-subnets:/home/ubuntu/cluster-aware-subnets --entrypoint sleep public.ecr.aws/l0g8r8j6/eks-anywhere-cli-tools:v0.20.0-eks-a-v0.21.0-dev-build.26 infinity"}
2024-07-09T15:11:48.840Z	V0	Using the new workflow using the controller for management cluster create
2024-07-09T15:11:48.840Z	V4	Task start	{"task_name": "setup-validate"}
2024-07-09T15:11:48.840Z	V0	Performing setup and validations
2024-07-09T15:11:48.840Z	V0	ValidateClusterSpec for Nutanix datacenter	{"NutanixDatacenter": "cluster-aware-net"}
2024-07-09T15:11:54.280Z	V0	✅ Nutanix Provider setup is valid
2024-07-09T15:11:54.280Z	V0	✅ Validate OS is compatible with registry mirror configuration
2024-07-09T15:11:54.280Z	V0	✅ Validate certificate for registry mirror
2024-07-09T15:11:54.280Z	V0	✅ Validate authentication for git provider
2024-07-09T15:11:54.280Z	V0	✅ Validate cluster's eksaVersion matches EKS-A version
2024-07-09T15:11:54.280Z	V4	Task finished	{"task_name": "setup-validate", "duration": "5.440547639s"}
2024-07-09T15:11:54.280Z	V4	----------------------------------

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/ok-to-test

/cherry-pick release-0.20


Added -f option to dvc remote add #231

Fixes #231

@kamdarkarnavee workflow comment - if you write "Fixes #231" in the PR description Github can do some magic - like close the issue when PR is merged.


Create hello worlds.md

Create hello worlds.md

Why:
Closes [issue link]

What's being changed:

Check off the following:

[x] I have reviewed my changes in staging (look for "Automatically generated comment" and click Modified to view your latest changes).
[x] For content changes, I have completed the self-review checklist.

Writer impact (This section is for GitHub staff members only):

[x] This pull request impacts the contribution experience

[x] I have added the 'writer impact' label
[x] I have added a description and/or a video demo of the changes below (e.g. a "before and after video")

Create hello worlds.md
Why:
Closes [issue link]
What's being changed:
Check off the following:

[x]  I have reviewed my changes in staging (look for "Automatically generated comment" and click Modified to view your latest changes).
[x]  For content changes, I have completed the self-review checklist.

Writer impact (This section is for GitHub staff members only):

[x]  This pull request impacts the contribution experience

[x]  I have added the 'writer impact' label
[x]  I have added a description and/or a video demo of the changes below (e.g. a "before and after video")


[bugfix] Combine access and job options for slurm '--constraint'

The --constraint options passed via access and job.options
are combined in the resulting job script.

Add unittests to test the expected behavior.

Fixes #1348

@vkarak in which section do you think I should add the a documentation note about this?

@teojgo The point that @ekouts suggested above should be ok.


Buttontheme

Issue Browse button coming out of segment (issue #606) fixed.

is there any way to generate changelog automatically & how to resolve this conflict in changelog ?

@lkttyagi you have to fix the changelog conflict manually I am afraid. Please also check the Travis build and run "yarn run test" locally to see the test failures.

@tisto i change the changelog and check all test on localhost and they all are passed but here both plone and guillotina test are failed.

@lkttyagi try to merge from master.


Notification tray icon

Description of the new feature / enhancement
I would like to see settings that allows us to hide system-notification-tray-icon thing in the taskbar.
Scenario when this would be used?
This would be used all the time as an switch in the settings, and not as  a temporary thing. So if I would to turn this on, icon wouldn't appear next time when PC turns on.
Supporting information
No response

can you do a quick screenshot of exactly what you're talking about?  Win+Shift+S and then just do a quick doodle on the image.
It can be pasted directly in here.

This is what I meant when I said: "system-notification-tray-icon thing in the taskbar". :)

@0sergej so you want the entire systray hidden or PowerToys icon?  As they are different asks.

In Windows Settings you can hide individual icons, or all. Doesn't that give the same result? Or what is the difference?

I would prefer if the PowerToy application allowed me to tell it to hide its notification area icon rather than hoping that the operating system will continue to allow the user to hide the icon. Windows Explorer has treated notification area icons differently throughout the years (e.g. from showing all of them in Windows 95 to automatically hiding icons in Windows XP).
If PowerToys creates a dependency on this behavior, it feels a bit like calling an undocumented API.


feat!: Add support for returning result

Added support for returning results from remote methods.
In doing so, a need for embracing the async nature of the problem was exposed, so now the protocol interfaces have to be declared with methods returning either Task or Task.

I'll just release a new major version with this.
Besides, I think relatively few people use this package, so it's ok
I can help you by accepting this PR and correcting the comments myself if this is causing problems

Thank you very much for your contribution and continued development of this library.
I've released version 1.0.0, it should be available now

Happy to be able to help.


implemented slew-rate

@LorenzMeier @julianoes @jgoppert @dagar
I've implemented simple slew rate limiting of the motor outputs. We've tested the branch on the TBS Discovery and even after upping the attitude gains very much we were not able to make a motor lose sync (happens very quickly without the slew rate limiting). Furthermore, for a decent tuning the pilot was not able to differentiate between no slew rate limiting and slew rate limiting by the attitude control performance and also the two logs show no visible difference.
Now I would like to sync up on how to integrate this into the firmware.
The main question is where in the code the slew rate limiting should be happening and here are the options:

Inside multirotor mixer
Inside px4iofirmware / fmu driver

Putting it into the multirotor mixer is easy in one way because there we know the number of outputs for which we have to apply the limiting. However, we have to provide the mixer with the loop time (delta t) and also with the mapping between outputs between in the range [-1,1] and effective pwm outputs.
Having the slew rate limiting happening outside of the mixer (e.g after the mixer call here https://github.com/PX4/Firmware/blob/master/src/modules/px4iofirmware/mixer.cpp#L239) would bring the advantage that it could be applied to any output. However, this means that we would probably need to implement an IOCTL option for this, which specifies which outputs of the device should be slew rate limited.
What are your thoughts on this?

I guess that's a good dev call topic!

@tumbili Any news / new variant on this?

Please rebase on master to fix CI.

@LorenzMeier I updated this after having discussed it in the dev call. Tested on both Pixhawk and Pixracer -> works for IO and FMU.
The MOT_SLEW_MAX param can now be used to specify the minimum time allowed for the motor signal to traverse a range of 1000 PWM.
It is implemented in the multirotor mixer.

@julianoes Thanks for the feedback! Please check my last two commits.

Cool, the fixes look good. I left one more comment about the virtual method. Once that's clarified/fixed, I'd say ship it.

@julianoes You were asking about the inheritance model.
The function I needed is used only for the multicopter mixer. Since the multicopter mixer is accessed via a pointer to mixer group  I had to add a function to the mixer group which loops through the mixers instances and calls the function. I had to add an empty function body to each mixer class because every class which inherits from the mixer class needs to implement it since Mixer is a pure virtual class I think.
Can you propose a difference approach?

@julianoes Maybe it is misleading that I copied the function description and put it into the other classes as well. Maybe could just write something like "empty function, only multirotor mixer implements this"

@julianoes This is an other example in the mixer where function bodies are left empty because the class needs to define the function.
https://github.com/PX4/Firmware/blob/master/src/modules/systemlib/mixer/mixer.cpp#L173

@tumbili: Maybe could just write something like "empty function, only multirotor mixer implements this"

Yep that's all I meant, makes sense.

@julianoes I updated the comments. I hope this is to your satisfaction now? :-p

Great, thanks, very much to my satisfaction now :).


Update the dependency to core-java 0.10.30-SNAPSHOT.

Auto-generated PR to update core library dependency to the latest version.

Closing this PR as the version has already been updated in https://github.com/SpineEventEngine/gae-java/pull/71.


fix: generate random index name for change streams

Generates index names for change stream partition metadata table using a random UUID. This prevents issues if the job is being redeployed in an existing database.

retest this please

Is this a fix for issue #32509? If so, can you add a "fixes: " in the description please?

LGTM

@nielm no, it is not a fix for #32509. AFAIU that issue happens, because the user cannot specify a table schema for the metadata table.

@ahmedabu98 for next reviewer in chain

gentle ping @ahmedabu98 =)


Improved handling of escape sequences

This is a followup to #66.

The Paint gem was emitting a \e[0m sequence after each painted character. This resets all graphical attributes, including background color, bold, italics… As a result, whenever a run of characters was supposed to be highlighted, only the first character in the run was actually highlighted. Example from htop:

To fix this, we instead use \e[39m to reset only the foreground color (or, in invert mode, \e[49m to reset only the background color). This gives much prettier results:

Some things still weren’t properly reset. The aptly named stty sane does most of what we want, so we now use that.

We now detect incomplete UTF-8 characters and incomplete escape sequences, and perform another read when they occur, thus fixing the regression that was mentionned in #66.

"In the beginner's mind there are many possibilities, but in the expert's there are few."
-- Shunryu Suzuki

Merged and released.


PT-155586216: Add pubkey to ping message

Open questions:

[ ] Should the field be called pub_key? What if we later want to base it on something else or hash it?
[ ] Do we need specific tests for this field? We have correct_ping and broken_pings tests already in aehttp_integration_SUITE already, which cover basic stuff like missing fields...

There is a test testing that an object #{} returns 400 Bad Request which implicitly tests this. It is also a required field in the Swagger specification. Adding manual verification for each field seems like a chore, and could better be done in automated tests.

So what happens if an old node (not having a pub_key in the ping) talks to a new node? Is there an error that blocks the peer, are we just not responding? It seems that you claim it is a backward incompatible change and old nodes will not talk to us. If so, we need to bump the protocol version when this comes in a release.

I guess right now that node would get a 400 from it's pings to a newer node, because the request would not be valid (missing the required pub_key field). If this needs to be a special error, we need more code of course.

@ThomasArts Should we bump the Swagger version? To 0.8.0?

@ThomasArts Should we bump the Swagger version? To 0.8.0?

@eproxus Currently we bump the Swagger version at each release https://github.com/aeternity/epoch/wiki/Release-process
I suggest to keep this out of this PR.

Closing because of moving to Noise

@eproxus please cleanup your branches (on remote - GH)


Urlset not preset

Hello, I am trying to validate a sitemap file this class generates and I am encountering the following errors in W3c validator:
closing urlset is missing

Thanks

Hello @jarodium,
Could you provide the PHP script used to generate the non-valid sitemap you're dealing with?
Thank you

builder
$sitemap = new Sitemap($dominio);
	$sitemap->setFilename($dominio_id);
	$sitemap->setPath(getenv('OPENSHIFT_DATA_DIR').'sitemaps/');
	foreach($paths as $c) {
		$dom = ($dominio != $c) ? str_replace("$dominio","",$c) : $c;
		$sitemap->addItem($dom, '0.5', 'weekly', 'Today');
	}
`
reader ( i don't read directly from the sitemap index, go to the sitemap directly ):
```php
function remove_utf8_bom($text)
{
    $bom = pack('H*','EFBBBF');
    $text = preg_replace("/^$bom/", '', $text);
    return $text;
}
	header("Content-type: text/xml");
	echo trim(remove_utf8_bom(file_get_contents(getenv('OPENSHIFT_DATA_DIR')."sitemaps/5628afa9-eb78-4930-a6e5-8cc76d1a2113.xml")));
	echo '</urlset>';
`

I don't have a lot of time unfortunately to work on this project, so the best way to get this fixed is by submitting a pull request

I will try to patch it up and submit a PR.

Do you mind if I change the class to use SimpleXML? It's just that in the docs, i've found out that end-element immediately closes the element, but from what I can infer is that there is no reference being kept to urlset, thus, endElement will not close it. I've tried to use a solution in the man page with no luck.
Perhaps a switch to SimpleXML would be simpler as it can retain the parent element in a variable and we can close it in the endsitemap function.

My intent is actually to switch to sabre/xml:  http://sabre.io/xml/ If you're willing to make that change instead I'd definitely be happy about that. simplexml I consider a step backwards though.

I will take a look at sabre/xml. Looks good xD

Hey guys, any updates on this issue? Thanks

Hey guys, any updates on this issue? @jarodium @evert ?

Nope!


[Performance]: updateNodes function is taking too much time

@esthercheran can you flesh this out still?


Ignore doesn't always work for map keys

If there's an Ignore rule that matches a key in a map, I'd expect that key
to be ignored even if it doesn't exist in the map being compared to.
For example, the following code says that the two values aren't equal
even though I've specified that the "x" key should be ignored:
package main

import (
	"fmt"

	"github.com/google/go-cmp/cmp"
)

func main() {
	a := map[string]int{
		"x": 1,
		"y": 2,
	}
	b := map[string]int{
		"y": 2,
	}
	fmt.Println(cmp.Diff(a, b, cmp.FilterPath(isKeyX, cmp.Ignore())))
}

func ignorePath(pat string) cmp.Option {
	return cmp.FilterPath(isKeyX, cmp.Ignore())
}

func isKeyX(p cmp.Path) bool {
	step, ok := p[len(p)-1].(cmp.MapIndex)
	return ok && step.Key().String() == "x"
}

It prints:
{map[string]int}["x"]:
	-: 1
	+: <non-existent>

If I add an "x" key (with any value) to b, then they compare equal as expected.

The current behavior is documented on cmp.Equal:

Map keys are equal according to the == operator. To use custom comparisons for map keys, consider using cmpopts.SortMaps.

However, I believe the more general issue at hand is that there is no easy way for ignore to conceptually "remove" elements from a slice or map. #28 was trying to solve the application where the zero value of a map element should be removed.
I don't have a good answer for this :)

See https://github.com/google/go-cmp/pull/28#issuecomment-319174352 which contains some ideas I explored and why I believe there were all problematic in some way.

Fixed by #121


Changes in description for alleles that have description in the allele name

Related to https://github.com/pombase/allele_qc/issues/49 Hi @kimrutherford,
I remember discussing this at some point, but I am not sure what we went for in the end. We had discussed that for alleles that contained the allele description in the name (e.g. name: isu1-D37A, description: D37A), if we found an error in the description we wanted to:

add a synonym name with the correct description?
replace the name by the correct one, and keep the old one as a synonym?

I don't remember if we decided what to do about this, and whether it would be on the Canto or the pipeline side.
cc: @ValWood

But I think we had done something about it already, I don't remember if on my side or @kimrutherford 's side.

I found it, yes. We have a column in change_name_to in allele_auto_fix.tsv that is populated if the description was included in the name and the description has changed.


DvcliveLoggerHook by_epoch not working

I added the following configuration to my mmcv, mmdet training config.
log_config = dict(
    hooks=[
        dict(
            type="DvcliveLoggerHook",
            path="{{ fileDirname }}/../live",
            interval=1,
            by_epoch=True,
        ),
    ],
)

I would expect this to log the metrics per epoch. However they are logged per iteration. I tried multiple (three) mmdet models and the behavior is the same for all.
 Possibly relevant part of the log file
 mmdet - INFO - Hooks will be executed in the following order:
before_run:
(VERY_HIGH   ) StepLrUpdaterHook
(NORMAL      ) CheckpointHook
(LOW         ) EvalHook
(VERY_LOW    ) DvcliveLoggerHook
 --------------------
before_train_epoch:
(VERY_HIGH   ) StepLrUpdaterHook
(NORMAL      ) NumClassCheckHook
(LOW         ) IterTimerHook
(LOW         ) EvalHook
(VERY_LOW    ) DvcliveLoggerHook
 --------------------
before_train_iter:
(VERY_HIGH   ) StepLrUpdaterHook
(LOW         ) IterTimerHook
(LOW         ) EvalHook
 --------------------
after_train_iter:
(ABOVE_NORMAL) OptimizerHook
(NORMAL      ) CheckpointHook
(LOW         ) IterTimerHook
(LOW         ) EvalHook
(VERY_LOW    ) DvcliveLoggerHook
 --------------------
after_train_epoch:
(NORMAL      ) CheckpointHook
(LOW         ) EvalHook
(VERY_LOW    ) DvcliveLoggerHook
 --------------------
before_val_epoch:
(NORMAL      ) NumClassCheckHook
(LOW         ) IterTimerHook
(VERY_LOW    ) DvcliveLoggerHook
 --------------------
before_val_iter:
(LOW         ) IterTimerHook
 --------------------
after_val_iter:
(LOW         ) IterTimerHook
 --------------------
after_val_epoch:
(VERY_LOW    ) DvcliveLoggerHook
 --------------------

I would expect this to log the metrics per epoch.

Hi @rick-van-veen ! I took a look into this and appears to not be related to DVCLive.
The problem is that the by_epoch flag doesn't mean what you expect (introduced in https://github.com/open-mmlab/mmcv/pull/346), it doesn't affect when log is called in MMCV but how the iter number is retrieved.
It would be better to open an issue in https://github.com/open-mmlab/mmcv asking how to only log at the end of the epoch.
Feel free to reopen if you still find some issue related to the DVCLive logger

I created an issue in the mmcv repository and I am not entirely sure, but it seems the by_epoch argument does do what I would expect it to do in the TextLogger and that we can infer from that it is up to the logger what to do with the by_epoch bahaviour (also because they do not intent to implement it in mmcv (https://github.com/open-mmlab/mmcv/issues/2116#issuecomment-1186215776)?

I created an issue in the mmcv repository and I am not entirely sure, but it seems the by_epoch argument does do what I would expect it to do in the TextLogger and that we can infer from that it is up to the logger what to do with the by_epoch bahaviour (also because they do not intent to implement it in mmcv (open-mmlab/mmcv#2116 (comment))?

I see. I will open a P.R. in mmcv handling by_epoch

@daavoo What's the status of this issue?


CIDER tries to inject cider-nrepl-0.14.0-SNAPSHOT

This prevents the REPL from starting up!

Resolved in 1403d1f3e8f504a673149bd3d5444ae0d710a413.


Update the DG: User stories, Glossary, NFRs, Use cases

@zzybluebell @Morrow1ndy @mukundrs @stephanie-csy This MR is ready.
Close #8

Codecov Report

Merging #24 (4ea6a38) into master (cd24fbf) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #24   +/-   ##
=========================================
  Coverage     72.15%   72.15%
  Complexity      399      399
=========================================
  Files            70       70
  Lines          1232     1232
  Branches        125      125
=========================================
  Hits            889      889
  Misses          311      311
  Partials         32       32

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 cd24fbf...4ea6a38. Read the comment docs.


Allow loading SVGs asynchronously and one by one

Would be pretty sweet, if we could have a new loading strategy, that allows us to not bundle the SVGs into the JS or some joint SVG file.
This allows us to:

use proper caching on a per-asset basis
only load required SVGs on-demand, thus greatly reducing initial load time

Problems:

When do we load SVGs?
How does the component / controller of a template know when all SVGs have been loaded?
What if the SVG name is dynamic and changes ({{svg-jar someVar}})

I would like this too. Probably so would #45.
I have some ideas based on previous work with preloading img content.
General idea:

user moves their svgs out of public to avoid name conflicts, sets new sourceDirs in config
svg-jar compiles and optimises svgs like before, but instead of writing to js it writes to new svg files somewhere in the public/assets dir so they're available to browsers in the deployed app
svg-jar downloads the svg files then displays them, like an img tag. Like now, but adding concurrency/async issues.

When do we load SVGs

Depends. I'd start with when the component is inserted, and not do anything smart unless the developer opts-in. For example giving them a service to preload particular svgs, so they can block and wait in their route's model hook. Or perhaps giving them a loadAll method they can put in their application route, if we can tell what "All" means – more below.

How does the component / controller of a template know when all SVGs have been loaded?

Does it need to? <img> don't.
Preloading could be another approach: let developers load svgs in routes when they know they're going to need them. The previously mentioned service could handle this. It could also provide information about ongoing downloads without preloading, perhaps to implement a progress bar or similar.

What if the SVG name is dynamic and changes ({{svg-jar someVar}})

Ember components and computed properties should handle this nicely?
I wonder if there's a security issue though. Imaging the developer passes user  data in. If {{svg-jar}} loads up arbitrary urls then that looks like a code injection problem. If they can only pick svg file names from a pre-set list of svg names – like with the other strategies – then it's probably ok.
Any URL, or just SVGs from sourceDirs
This last point brings up a point that seems like an important fork in the road.
Should {{svg-jar}} load arbitrary URLs, or only names from a list or manifest of svg files it processed at compile-time?
For preloading, if {{svg-jar}} can load a svg from any path or URL then you  don't know what "All" means, so best to let them state which files they're going to preload and wait for. Provide a service/API where they say what they want to display, wait for it to load (e.g. route model / loading screen), then display  it from the cache.
If just using SVGs from sourceDirs – like the other strategies do – it could create a manifest file listing which svgs it processed and where to find them (relative path or url, asset fingerprinting). That list defines "all SVGs" for a loadAll method.
Manifest / any URL:

Both can support loading up with nothing and just getting the SVGs you need
for a particular page.
With a manifest, a loadAll method in the application route model can make
{{svg-jar}} work like inlining.
Both support caching, but fingerprinting details vary
List/Manifest seems like a lot more work for this addon, but maybe it's
already doing a lot of it


Usability improvements to add question modal

Several non-critical issues were identified with the usability of the add question modal.

Users looked for guidance and explanations on each of the options
Users tried to click on the examples to see how they worked
The add button was located off the screen, and users had to scroll to find it
The list of options was long, and the categories of questions were difficult to parse

If this is helpful, some exploration in code was done to establish styles and structure:
https://connorscarolyns.github.io/sandbox/modal-experiment/

@dsamojlenko @Abi-Nada This is one I'd like to propose for usability improvements.

Copy to be finalized by Monday/Tuesday


sunkit_spex logo?

Describe the feature
As @KriSun95 mentioned the python package folk love a logo - so someone should make one for the newly christened sunkit_spex.
Proposed solution
Someone make a logo.

Thanks for the proposed solution. I wouldn't have thought of that...

Well we could get "ai" to do it for us instead, i.e.

or via another image creator - although this might be more related to the band.

Those AI logos don't look the worst actually, especially the design of the second one. I tried that a while ago and just got back swirling messes with the ones I was using.
I did end up spending too much time one night working on something...

...all the professional graphic designers use PowerPoint as well, right? Not sure if it's the one to go with but I had fun making it!