[Enhancement]: Remove Google Analytics (Legacy UA) Connector

Is there an existing issue for this?

[X] I have searched the existing issues

Description of problem
With the introduction of the new connector, and the sunsetting of data processing for Universal Analytics by Google on 7/1/2023 this should no longer be included.
Description of solution
At a minimum, this should be removed from future distributions, starting with 10.x in both installation and upgrade scenarios.
Discussion should be had regarding the forceful uninstallation of the provider as well.
Description of alternatives considered
This could be left, but it is 100% non-functional at this time.
Anything else?
Issue #5700 renamed the provider from Google Analytics in display name only.
Do you be plan to contribute code for this enhancement?

[ ] Yes

Would you be interested in sponsoring this enhancement?

[ ] Yes

Code of Conduct

[X] I agree to follow this project's Code of Conduct

@dnnsoftware/approvers  per https://support.google.com/analytics/answer/11583528?hl=en some may be Google Analytics 360 customers and using Universal Analytics 360 properties.  For them, they essentially are getting a year extension.  Should we hold off until July 1, 2024 to remove the legacy UA connector from DNN, to accommodate those falling into this category?

I would not hurt I guess


Add Azure Communication Services Emailer

Health check is not implemented, because the SDK has no sandbox option.
I tried to create a workaround with the cancellation token, but then we only receive a status cancelled, which is not helpful.
When sending a message, it is possible to either wait until the operation was started, or also completed. We could create a message in the health check, wait until it started (without an exception), and then cancel the operation.
Depending on the service communication delays, this might send a real mail, which might not be what we want.
If we don't care, we can create a mailbox, which just discards our health check emails. However, this option will eat into our daily send limits.
I commented out the NuGet publishing, until we have decided on the health check implementation.

Thanks! Looks good on first glance, but please give me a few days so I can do I proper, detailed review :)

@dmorawetz Can you add a documentation like the Twilio readme for example and link it from the main readme please. Good open source libraries need documentation ;)
Could you also add comments to the public members of the library to match our coding guidelines.
That's my only two cents for this PR ;)


added volume list command.

I added a 'knife hp volume list'  sub command.
Thanks!

We have deprecated knife-hp, please look into knife-openstack.


improve pkg_resources.Distribution.hashcmp performance

by storing location without md5.
Turns Distribution.location into a property to make hashcmp more performant.
Closes #2089
Pull Request Checklist

[ ] Changes have tests
[x] News fragment added in changelog.d. See documentation for details

As the fix is not supposed to change any semantics, I wonder which sort of tests should be added.

Although this approach achieves the desired result (only calculate _location_without_md5 once), it causes quite a bit of entanglement with the location property, unnecessarily adding a new ._location property. How about instead having _location_without_md5 be a cached property or method to avoid it being calculated more than once for any given Distribution?

I make location a property as there is afaik nothing that avoids setting location twice.

That's fair, and I had the same concern.
After inspecting the code, it appears it's only ever set once during the constructor. I'd hate to add code that explicitly adds support for setting the value later when it will only ever be set once during construction.
I'll go with #2098 until a use-case demands a setter. Thanks for the contrib!

I think more important than before accepting either PR will be to define a problem that needs to be solved, so I'll await an answer in #2089

I prefer #2108. Thanks again for the contrib.

It is always better to remove code when possible.


fix: usr: #196: Evict files from local when the cache is full

Codecov Report

Merging #197 into master will increase coverage by 0.12%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master     #197      +/-   ##
==========================================
+ Coverage   26.22%   26.35%   +0.12%
==========================================
  Files          55       54       -1
  Lines        2597     2588       -9
  Branches      270      275       +5
==========================================
+ Hits          681      682       +1
+ Misses       1876     1867       -9
+ Partials       40       39       -1

Impacted Files
Coverage Δ

.../com/qubole/rubix/bookkeeper/BookKeeperServer.java
0% <ø> (ø)
:arrow_up:

.../src/main/java/com/qubole/rubix/spi/CacheUtil.java
92.13% <ø> (ø)
:arrow_up:

...java/com/qubole/rubix/bookkeeper/FileMetadata.java
0% <0%> (ø)
:arrow_up:

...n/java/com/qubole/rubix/bookkeeper/BookKeeper.java
0% <0%> (ø)
:arrow_up:

...rc/main/java/com/qubole/rubix/spi/CacheConfig.java
23.43% <0%> (-0.57%)
:arrow_down:

.../qubole/rubix/hadoop2/Hadoop2ClusterManagerV2.java
49.12% <0%> (+1.75%)
:arrow_up:

I did one pass. I dont have any feedback. I am still getting used to this part of the code. Tests will help. I know unit tests will help. @kvankayala is it possible to write integration tests now ? This PR is a good candidate for integrations tests if the framework is ready.

@vrajat I am writing the unit tests for this. Also we are working on the integration test framework and we will take this test up first when it is ready


scss / less files?

Does this repo contain the source for w3css or a build artifact?
If not, will you publish the actual css / less / sass source?

https://github.com/JaniRefsnes/w3css/blob/master/w3.css
https://github.com/JaniRefsnes/w3css/blob/master/w3pro.css

those files appear to be minified css rather than original sources.

I mean, if you need an un-minified version, just take these files and de-minify them. https://unminify.com/

+1


How to train own dataset?

Hello, I'm a student studying machine running.
I found ESPNet v2 after looking for a network of real time semantic segmentation processing on TX2.
I don't have the cityscapes dataset, so I want to do training with own dataset.
I'm a beginner about machine running.
Could you provide a tutorial that trains to own dataset?
Thank you in advance.

Training has two parts:
i) Data preparation: Here, you check if the data is in write format or not. Also, you compute class imbalance weights if your dataset is imbalanced. Please see loadData.py file for more details. It is pretty simple and accepts two text files: one for training and one for validation. You can create these files easily as these contains mapping between RGB image and Segmentation mask (ground truth) in comma separated form. Note that one line per image pair.
ii) Training: One you are done with this part i), you can start training your model on your dataset. You need to adjust the number of classes in the main.py file. Please see main.py file for more details. It should be straight forward.
Let me know if you are still encountering any issues.

Thank you for your kind answers.
I would like to ask about writing two text files 'train.txt' and 'val.txt'.
Does train.txt and val.txt create a path to the image to be trained and validated?
data_dict = dict()
data_dict['trainIm'] = self.trainImList
data_dict['trainAnnot'] = self.trainAnnotList
data_dict['valIm'] = self.valImList
data_dict['valAnnot'] = self.valAnnotList

data_dict['mean'] = self.mean
data_dict['std'] = self.std
data_dict['classWeights'] = self.classWeights

Or is it necessary to write trainIm, trainAnnot, valIm, ValAnnot, mean etc. separated by commas and line by line, as in the code?
It would be helpful to have a sample to refer to.
Thank you for your answer to the my stupid question.

I tried to train in the way you showed me.
However, I encountered such an error during training.
There are 12 dataset classes, and the size is 480 x 320.
I modified the code a little, but is there something missing?

I encountered the similar issue before. After I prepare the data image/annotation with 1024x512 resolution, the problem disappeared. I can't remember very clearly.  You can have a try.


tests: i2s: sam: Add missing overlays

Add missing overlays files to allow I2S tests pass on ci.
Fixes #69936

@anangl friendly ping- this PR is blocking CI on other PRs


Feature: New Mobiledoc Editor

The Ghost editor is based on a 3 year old split-screen markdown-editing concept, which is now somewhat long-in-the-tooth. Modern WYSIWYG editors like Quip, Draft, Editorially or Dropbox's Paper have shown what can be achieved when you leave old-style WYSIWYG behind... and it's awesome 🎉
The 3 key problem areas with the current editor are:

our markdown parser is buggy and limited (markdown itself is limited).
split-screen doesn't provide a great UX, especially on longer documents and restricts our screen space for adding editorial tools.
The current editor is not customisable or configurable.

These 3 issues are the fundamental problems that we are want to address by refreshing the editor. However, when we look closely at the existing editor, there's a deeper set of problems. We feel we've outground both markdown-only and the split-screen concepts. Markdown-only is limiting in terms of features and exclusive in terms of users. The split-screen is flawed and takes up insane amounts of screen real-estate that could (and should) be used for more advanced editorial features.
The future is Mobiledoc
Moving forward, we want to build ourselves an editor for the future. We want to support more advanced editorial features out-of-the-box, whilst also enabling users to customise the editor to suit their specific use cases. To do all this, we need an underlying editor technology that will support us all the way form a basic editing surface through to customisations and collaboration.
After reviewing the editor technologies that are around, we settled on experimenting with an editor based on mobiledoc kit.
Mobiledoc is not an editor itself, it is a document format for article-style content. Mobiledoc-kit solves the fundamental problem of browser editors: the fact that the HTML you interact with when editing in the browser is different to the HTML that will be output when your content is viewed.
Mobiledoc also has a built-in concept of extensible "cards" or blocks of content. Each card has 3 conceptual parts: the stored content, the interface for editing the content, and the renderer for outputting the content. This feature allows us to create a simple way to extend our editor with all manner of layout & embed features.
In addition to all this, Mobiledoc has an amazing team behind it. It's built to work for Ember, by people who are also part of the Ember core team. It's being sponsored by Bustle, who are already using it in production. We're excited to be able to get involved, and help champion this new technology as the way forward for web-based editors.
The initial plan 😁
Building a whole new editor is going to take time and patience to get perfect. That's part of the reason that we're currently shipping weekly alphas. The first iteration of the editor is coming in alpha 2, and by the time we ship Ghost 1.0, we're hoping to have the following features:

A single-pane WYSIWYG editor space that supports all the features of mobiledoc, which will include a toolbar, unlike our existing editor. Mobiledoc covers basic text formatting like bold and italic, making them available using keyboard shortcuts, markdown syntax or the toolbar, depending on your preference. Mobiledoc should provide everything you need for long-form editorial writing.
An HTML card, which allows for embeds and writing full-HTML to format your text when mobiledoc is not enough. This is the ultimate fall-back card, and will allow you to add anything from fancy pull-quotes to fully interactive graphs to your posts.
An image card, for easy uploading of one or  more images. This will also provide support for basic layout options, captions, and eventually more advanced features like slideshows.
The markdown card, for those of you who still love markdown 😍 This will also be used to provide some backwards compatibility with content from the old editor.

As well as these individual cards we'll be ensuring that all the peripheral behaviours work as well as possible, including editing, undo/redo behaviour, keyboard shortcuts, the toolbar, dragging and dropping cards, adding more markdown-style formatting command, using notion-style / commands to add cards and tonnes more details that you'll only notice if they're not right 😉
The initial version of this editor will be landing in alpha, without backwards compatibility. Over the next few weeks, we will be iterating on the editor, adding more features, polishing the UI and eventually implementing basic backwards compatibility.
This first phase is largely an experiment. Attempting to lay foundations for advanced tools and customisations, setting up the building blocks that will see us long into the future. Along side this, we will be adding tooling around images for handling optimisations and serving different sizes. The possibilities for advanced tooling are pretty much endless once we've got these basic pieces in place. We're also aiming for crazy levels of customisation, with custom cards, templates and other configurable options, however we don't expect to ship these in full until after Ghost 1.0.

This sounds like an immense amount of work. :)
Keen to see how it all works out. I love the current editor from a simplicity perspective but can understand that it might be a bit intimidating to non-markdown fanatics and that to be future ready things need to change.

Just curious: will Ghost 1.0 be able to deal with Markdown extras like fenced code blocks and footnotes?

@vickychijwani at this stage there is no plan to upgrade markdown support beyond what's currently supported by Ghost.

@disordinary but Ghost does support those features currently: https://help.ghost.org/hc/en-us/articles/224410728-Markdown-Guide

@vickychijwani the new editor will use mobiledoc, not markdown. The plan for the markdown card is that it will match the current editor.
Obviously EVERYONE is going to need a way to migrate their content, but there will not be a normal upgrade path from LTS to v1.0. We haven't 100% decided how we're going to handle migrations at this point, but that is not a point for discussion on this issue ;) Have a read of https://dev.ghost.org/lts/ and if you have more questions please swing by slack.

It's just an ideal. I just see this prototype UI from producthunt.com and look simple and effective.
https://bold.io/

Thanks for the link @ebauger, it's always interesting to see new editors out there and how they've solved the various problems. They usually validate what we're trying to do.
We are definitely going for a minimalist but intuitive interface similar to bold. The idea is for the UI to get out of the way when you don't need it but always be there when you do. It's a balancing act because we're looking at a much more feature rich and extendable experience than some of the others.


Added timings information, updated version of statick to use.

This initial PR is draft, and needs a new 0.9.x release of statick before the new 'timings' option is useable.  This PR is draft for staging only.

Looks like the README needs an entry for the --timings flag.

@xydesa  or @denewiler, I believe the self-check Action is failing here because the current release of statick-md uses the old string method for the default config file.  Can we do a release of statick-md (and maybe statick-tooling?) concurrently with 0.9.0 of statick proper?

@gregtkogut statick-tooling hasn't been updated since it's last release, does it's config file need to be updated first?
We can do a new release of statick-md

all of the packages here will need new releases probably: https://github.com/sscpac/statick/blob/main/docker/Dockerfile#L76
and then we'll need a new docker image too i think.

all of the packages here will need new releases probably: https://github.com/sscpac/statick/blob/main/docker/Dockerfile#L76 and then we'll need a new docker image too i think.

Let me know if I should try making the releases, or if you or @denewiler  would like to.  I think you guys would be more aware of any potential side effects of a new release.

all of the packages here will need new releases probably: https://github.com/sscpac/statick/blob/main/docker/Dockerfile#L76 and then we'll need a new docker image too i think.

Let me know if I should try making the releases, or if you or @denewiler would like to. I think you guys would be more aware of any potential side effects of a new release.

New releases have been made for statick, statick-md, statick-planning, and statick-tex. There are PRs open to update the version and changelog for the final two packages: statick-tooling and statick-web. When those PRs are approved/merged I can help getting new releases created/published.

all of the packages here will need new releases probably: https://github.com/sscpac/statick/blob/main/docker/Dockerfile#L76 and then we'll need a new docker image too i think.

Let me know if I should try making the releases, or if you or @denewiler would like to. I think you guys would be more aware of any potential side effects of a new release.

New releases have been made for statick, statick-md, statick-planning, and statick-tex. There are PRs open to update the version and changelog for the final two packages: statick-tooling and statick-web. When those PRs are approved/merged I can help getting new releases created/published.

Final PRs are merged and releases published for statick-tooling and statick-web. I'll keep an eye on this to see if there is anything else we need to update for this release.

@tdenewiler , @xydesa , all checks are finally passing after I built and pushed a new statick docker image.   Thanks for that work.  This is ready for review of the actual functionality.

I am testing the new statick-action with the statick-tex plugin repository. I am seeing discrepancies between using the proposed statick-action and running Statick locally. The proprosed statick-action has pylint warnings that are not showing up locally.
Digging a little deeper I found that the Docker image used by statick-action has pylint version 2.4.4 and locally I have pylint version 2.15.5. @xydesa saw that the Dockerfile used to create the image used by statick-action is installing pylint from apt, whereas our other uses of Statick install pylint from PyPI (pip). There may be other dependencies that could move from apt to pip install, such as pylint-django.

Looks like we need a new Statick release then we can update this PR. The new release is needed so that we get the Python tools from PyPI rather than apt, which is a recent change in the statick repo.

Looks like we need a new Statick release then we can update this PR. The new release is needed so that we get the Python tools from PyPI rather than apt, which is a recent change in the statick repo.
PR for new release is at sscpac/statick#456.


Destructuring result of generic function where the return value is the generic type always returns any

TypeScript Version:  3.5.1

Search Terms: destructuring generics
Code
const A = <T extends object = object>() => {
    const returnValue = {} as T

    return {
        returnValue
    }
}

const { returnValue } = A()

const result = A()
result.returnValue

Expected behavior:
The destructured returnValue and result.returnValue should both have type object
Actual behavior:
Only result.returnValue has type object, the destructured returnValue has type any

In the destructuring assignment, the contextual type for A() is { returnValue: any }. Since the only inference we make for T is through the return type, we end up with an inference of any for T.
In the regular assignment, there is no contextual type for A(). We therefore make no inferences for T and end up using the object default.
I agree it's somewhat inconsistent, but, on the other hand, in a well defined generic function all type parameters occur at least once somewhere in a parameter type such that inferences can be made from actual arguments. Otherwise, generic functions are just disguised type assertions--as is the case here.


Time boxes configurable

During classic Lean Coffee sometimes I use to switch from a 5'+5'+5' timeboxes per topic to a pattern like 7'+5'+3'. I hope it would be an option. Thank you for this beautiful powerup.

Rather than clutter the issues, I'll comment here that I'd be happy with simply being able to set it to something other than 5 minutes, no pattern required. We used to always do 15 minute blocks in the long-long-ago before The Quarantimes.


nixos-anywhere just kinda stops.

Hello,
I am currently trying to migrate my homelab to nixos and for baremetal deployment I would like to use nixos-anywhere. As a first test I tried setting up a VM running under UTM in macOS (x86_64). Unfortunately nixos-anywhere just kinda seems to stop at some point and doesn't do anything. No partitioning is done on the target machine, no error (I picked up on) is emitted.
Here is the debug log of my latest attempt after I let everything run for about 8 hours:
nix run github:nix-community/nixos-anywhere -- --flake .#limiting-factor -L --debug<EMAIL_ADDRESS>+ shift
+ [[ 1 -gt 0 ]]
+ case "$1" in
+ [[ -z '' ]]
+<EMAIL_ADDRESS>+ shift
+ [[ 0 -gt 0 ]]
+ [[ y == \y ]]
+ nix_options+=("-L")
+ [[ y == \y ]]
+ nix_copy_options+=("--substitute-on-destination")
+ [[ -z '' ]]
+ [[ -z<EMAIL_ADDRESS>]]
++ mktemp -d
+ ssh_key_dir=/tmp/tmp.VkXuGw8ixd
+ trap 'rm -rf "$ssh_key_dir"' EXIT
+ mkdir -p /tmp/tmp.VkXuGw8ixd
+ mkdir -p /Users/till/.ssh/
+ ssh-keygen -t ed25519 -f /tmp/tmp.VkXuGw8ixd/nixos-anywhere -P '' -C nixos-anywhere
+ [[ -n .#limiting-factor ]]
+ [[ .#limiting-factor =~ ^(.*)#([^#"]*)$ ]]
+ flake=.
+ flakeAttr=limiting-factor
+ [[ -z limiting-factor ]]
+ [[ n == \n ]]
+ [[ -n '' ]]
++ nix_build '.#nixosConfigurations."limiting-factor".config.system.build.diskoScript'
++ NIX_SSHOPTS='-o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -i /tmp/tmp.VkXuGw8ixd/nixos-anywhere '
++ nix build --print-out-paths --no-link --extra-experimental-features 'nix-command flakes' --no-write-lock-file -L '.#nixosConfigurations."limiting-factor".config.system.build.diskoScript'
+ disko_script=/nix/store/hhdz1qxvr1dbyfy99i8c0qx6a1brvq91-disko
++ nix_build '.#nixosConfigurations."limiting-factor".config.system.build.toplevel'
++ NIX_SSHOPTS='-o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -i /tmp/tmp.VkXuGw8ixd/nixos-anywhere '
++ nix build --print-out-paths --no-link --extra-experimental-features 'nix-command flakes' --no-write-lock-file -L '.#nixosConfigurations."limiting-factor".config.system.build.toplevel'
system-path> created 13069 symlinks in user environment
stage> checking syntax
+ nixos_system=/nix/store/rlmn9far0r9rf3nkam393qncy07z7p8r-nixos-system-nixos-24.05.20240903.6f6c45b
+ [[ -n '' ]]
+ [[ -n '' ]]
++ ssh -G<EMAIL_ADDRESS>+ ssh_settings='host <IP_ADDRESS>
user root
hostname <IP_ADDRESS>
port 22
addressfamily any
batchmode no
canonicalizefallbacklocal yes
canonicalizehostname false
checkhostip no
compression no
controlmaster true
enablesshkeysign no
clearallforwardings no
exitonforwardfailure no
fingerprinthash SHA256
forwardx11 no
forwardx11trusted no
gatewayports no
gssapiauthentication no
gssapidelegatecredentials no
hashknownhosts no
hostbasedauthentication no
identitiesonly no
kbdinteractiveauthentication yes
nohostauthenticationforlocalhost no
passwordauthentication yes
permitlocalcommand no
proxyusefdpass no
pubkeyauthentication true
requesttty auto
sessiontype default
stdinnull no
forkafterauthentication no
streamlocalbindunlink no
stricthostkeychecking ask
tcpkeepalive yes
tunnel false
verifyhostkeydns false
visualhostkey no
updatehostkeys true
enableescapecommandline no
canonicalizemaxdots 1
connectionattempts 1
forwardx11timeout 1200
numberofpasswordprompts 3
serveralivecountmax 2
serveraliveinterval 30
requiredrsasize 1024
obscurekeystroketiming yes
ciphers chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm<EMAIL_ADDRESS>controlpath /Users/till/.ssh/master-root@<IP_ADDRESS>:22
hostkeyalgorithms ssh-ed25519-cert-v01@openssh.com,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,sk-ssh-ed25519-cert-v01@openssh.com,sk-ecdsa-sha2-nistp256-cert-v01@openssh.com,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ssh-ed25519@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,rsa-sha2-512,rsa-sha2-256
hostbasedacceptedalgorithms ssh-ed25519-cert-v01@openssh.com,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,sk-ssh-ed25519-cert-v01@openssh.com,sk-ecdsa-sha2-nistp256-cert-v01@openssh.com,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ssh-ed25519@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,rsa-sha2-512,rsa-sha2-256
kexalgorithms sntrup761x25519-sha512@openssh.com,curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256
casignaturealgorithms ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ssh-ed25519@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,rsa-sha2-512,rsa-sha2-256
loglevel INFO
macs umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1
securitykeyprovider internal
pubkeyacceptedalgorithms ssh-ed25519-cert-v01@openssh.com,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,sk-ssh-ed25519-cert-v01@openssh.com,sk-ecdsa-sha2-nistp256-cert-v01@openssh.com,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ssh-ed25519@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,rsa-sha2-512,rsa-sha2-256
xauthlocation /usr/X11R6/bin/xauth
identityfile ~/.ssh/id_rsa
identityfile ~/.ssh/id_ecdsa
identityfile ~/.ssh/id_ecdsa_sk
identityfile ~/.ssh/id_ed25519
identityfile ~/.ssh/id_ed25519_sk
identityfile ~/.ssh/id_xmss
canonicaldomains none
globalknownhostsfile /etc/ssh/ssh_known_hosts /etc/ssh/ssh_known_hosts2
userknownhostsfile /Users/till/.ssh/known_hosts
sendenv LANG
sendenv LC_*
logverbose none
channeltimeout none
permitremoteopen any
addkeystoagent false
forwardagent no
connecttimeout none
tunneldevice any:any
canonicalizePermittedcnames none
controlpersist 600
escapechar ~
ipqos af21 cs1
rekeylimit 0 0
streamlocalbindmask 0177
syslogfacility USER'
++ awk '/^user / { print $2 }'
++ echo 'host <IP_ADDRESS>
user root
hostname <IP_ADDRESS>
port 22
addressfamily any
batchmode no
canonicalizefallbacklocal yes
canonicalizehostname false
checkhostip no
compression no
controlmaster true
enablesshkeysign no
clearallforwardings no
exitonforwardfailure no
fingerprinthash SHA256
forwardx11 no
forwardx11trusted no
gatewayports no
gssapiauthentication no
gssapidelegatecredentials no
hashknownhosts no
hostbasedauthentication no
identitiesonly no
kbdinteractiveauthentication yes
nohostauthenticationforlocalhost no
passwordauthentication yes
permitlocalcommand no
proxyusefdpass no
pubkeyauthentication true
requesttty auto
sessiontype default
stdinnull no
forkafterauthentication no
streamlocalbindunlink no
stricthostkeychecking ask
tcpkeepalive yes
tunnel false
verifyhostkeydns false
visualhostkey no
updatehostkeys true
enableescapecommandline no
canonicalizemaxdots 1
connectionattempts 1
forwardx11timeout 1200
numberofpasswordprompts 3
serveralivecountmax 2
serveraliveinterval 30
requiredrsasize 1024
obscurekeystroketiming yes
ciphers chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm<EMAIL_ADDRESS>controlpath /Users/till/.ssh/master-root@<IP_ADDRESS>:22
hostkeyalgorithms ssh-ed25519-cert-v01@openssh.com,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,sk-ssh-ed25519-cert-v01@openssh.com,sk-ecdsa-sha2-nistp256-cert-v01@openssh.com,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ssh-ed25519@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,rsa-sha2-512,rsa-sha2-256
hostbasedacceptedalgorithms ssh-ed25519-cert-v01@openssh.com,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,sk-ssh-ed25519-cert-v01@openssh.com,sk-ecdsa-sha2-nistp256-cert-v01@openssh.com,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ssh-ed25519@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,rsa-sha2-512,rsa-sha2-256
kexalgorithms sntrup761x25519-sha512@openssh.com,curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256
casignaturealgorithms ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ssh-ed25519@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,rsa-sha2-512,rsa-sha2-256
loglevel INFO
macs umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1
securitykeyprovider internal
pubkeyacceptedalgorithms ssh-ed25519-cert-v01@openssh.com,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,sk-ssh-ed25519-cert-v01@openssh.com,sk-ecdsa-sha2-nistp256-cert-v01@openssh.com,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ssh-ed25519@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,rsa-sha2-512,rsa-sha2-256
xauthlocation /usr/X11R6/bin/xauth
identityfile ~/.ssh/id_rsa
identityfile ~/.ssh/id_ecdsa
identityfile ~/.ssh/id_ecdsa_sk
identityfile ~/.ssh/id_ed25519
identityfile ~/.ssh/id_ed25519_sk
identityfile ~/.ssh/id_xmss
canonicaldomains none
globalknownhostsfile /etc/ssh/ssh_known_hosts /etc/ssh/ssh_known_hosts2
userknownhostsfile /Users/till/.ssh/known_hosts
sendenv LANG
sendenv LC_*
logverbose none
channeltimeout none
permitremoteopen any
addkeystoagent false
forwardagent no
connecttimeout none
tunneldevice any:any
canonicalizePermittedcnames none
controlpersist 600
escapechar ~
ipqos af21 cs1
rekeylimit 0 0
streamlocalbindmask 0177
syslogfacility USER'
+ ssh_user=root
++ echo 'host <IP_ADDRESS>
user root
hostname <IP_ADDRESS>
port 22
addressfamily any
batchmode no
canonicalizefallbacklocal yes
canonicalizehostname false
checkhostip no
compression no
controlmaster true
enablesshkeysign no
clearallforwardings no
exitonforwardfailure no
fingerprinthash SHA256
forwardx11 no
forwardx11trusted no
gatewayports no
gssapiauthentication no
gssapidelegatecredentials no
hashknownhosts no
hostbasedauthentication no
identitiesonly no
kbdinteractiveauthentication yes
nohostauthenticationforlocalhost no
passwordauthentication yes
permitlocalcommand no
proxyusefdpass no
pubkeyauthentication true
requesttty auto
sessiontype default
stdinnull no
forkafterauthentication no
streamlocalbindunlink no
stricthostkeychecking ask
tcpkeepalive yes
tunnel false
verifyhostkeydns false
visualhostkey no
updatehostkeys true
enableescapecommandline no
canonicalizemaxdots 1
connectionattempts 1
forwardx11timeout 1200
numberofpasswordprompts 3
serveralivecountmax 2
serveraliveinterval 30
requiredrsasize 1024
obscurekeystroketiming yes
ciphers chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm<EMAIL_ADDRESS>controlpath /Users/till/.ssh/master-root@<IP_ADDRESS>:22
hostkeyalgorithms ssh-ed25519-cert-v01@openssh.com,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,sk-ssh-ed25519-cert-v01@openssh.com,sk-ecdsa-sha2-nistp256-cert-v01@openssh.com,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp3++ awk '/^hostname / { print $2 }'
84,ecdsa-sha2-nistp521,sk-ssh-ed25519@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,rsa-sha2-512,rsa-sha2-256
hostbasedacceptedalgorithms ssh-ed25519-cert-v01@openssh.com,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,sk-ssh-ed25519-cert-v01@openssh.com,sk-ecdsa-sha2-nistp256-cert-v01@openssh.com,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ssh-ed25519@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,rsa-sha2-512,rsa-sha2-256
kexalgorithms sntrup761x25519-sha512@openssh.com,curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256
casignaturealgorithms ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ssh-ed25519@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,rsa-sha2-512,rsa-sha2-256
loglevel INFO
macs umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1
securitykeyprovider internal
pubkeyacceptedalgorithms ssh-ed25519-cert-v01@openssh.com,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,sk-ssh-ed25519-cert-v01@openssh.com,sk-ecdsa-sha2-nistp256-cert-v01@openssh.com,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ssh-ed25519@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,rsa-sha2-512,rsa-sha2-256
xauthlocation /usr/X11R6/bin/xauth
identityfile ~/.ssh/id_rsa
identityfile ~/.ssh/id_ecdsa
identityfile ~/.ssh/id_ecdsa_sk
identityfile ~/.ssh/id_ed25519
identityfile ~/.ssh/id_ed25519_sk
identityfile ~/.ssh/id_xmss
canonicaldomains none
globalknownhostsfile /etc/ssh/ssh_known_hosts /etc/ssh/ssh_known_hosts2
userknownhostsfile /Users/till/.ssh/known_hosts
sendenv LANG
sendenv LC_*
logverbose none
channeltimeout none
permitremoteopen any
addkeystoagent false
forwardagent no
connecttimeout none
tunneldevice any:any
canonicalizePermittedcnames none
controlpersist 600
escapechar ~
ipqos af21 cs1
rekeylimit 0 0
streamlocalbindmask 0177
syslogfacility USER'
+ ssh_host=<IP_ADDRESS>
++ echo 'host <IP_ADDRESS>
user root
hostname <IP_ADDRESS>
port 22
addressfamily any
batchmode no
canonicalizefallbacklocal yes
canonicalizehostname false
checkhostip no
compression no
controlmaster true
enablesshkeysign no
clearallforwardings no
exitonforwardfailure no
fingerprinthash SHA256
forwardx11 no
forwardx11trusted no
gatewayports no
gssapiauthentication no
gssapidelegatecredentials no
hashknownhosts no
hostbasedauthentication no
identitiesonly no
kbdinteractiveauthentication yes
nohostauthenticationforlocalhost no
passwordauthentication yes
permitlocalcommand no
proxyusefdpass no
pubkeyauthentication true
requesttty auto
sessiontype default
stdinnull no
forkafterauthentication no
streamlocalbindunlink no
stricthostkeychecking ask
tcpkeepalive yes
tunnel false
verifyhostkeydns false
visualhostkey no
updatehostkeys true
enableescapecommandline no
canonicalizemaxdots 1
connectionattempts 1
forwardx11timeout 1200
numberofpasswordprompts 3
serveralivecountmax 2
serveraliveinterval 30
requiredrsasize 1024
obscurekeystroketiming yes
ciphers chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm<EMAIL_ADDRESS>controlpath /Users/till/.ssh/master-root@<IP_ADDRESS>:22
hostkeyalgorithms ssh-ed25519-cert-v01@openssh.com,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,sk-ssh-ed25519-cert-v01@openssh.com,sk-ecdsa-sha2-nistp256-cert-v01@openssh.com,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ssh-ed25519@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,rsa-sha2-512,rsa-sha2-256
hostbasedacceptedalgorithms ssh-ed25519-cert-v01@openssh.com,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,sk-ssh-ed25519-cert-v01@openssh.com,sk-ecdsa-sha2-nistp256-cert-v01@openssh.com,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ssh-ed25519@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,rsa-sha2-512,rsa-sha2-256
kexalgorithms sntrup761x25519-sha512@openssh.com,curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256
casignaturealgorithms ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ssh-ed25519@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,rsa-sha2-512,rsa-sha2-256
loglevel INFO
macs umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1
securitykeyprovider internal
pubkeyacceptedalgorithms ssh-ed25519-cert-v01@openssh.com,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,sk-ssh-ed25519-cert-v01@openssh.com,sk-ecdsa-sha2-nistp256-cert-v01@openssh.com,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ssh-ed25519@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,rsa-sha2-512,rsa-sha2-256
xauthlocation /usr/X11R6/bin/xauth
identityfile ~/.ssh/id_rsa
identityfile ~/.ssh/id_ecdsa
identityfile ~/.ssh/id_ecdsa_sk
identityfile ~/.ssh/id_ed25519
identityfile ~/.ssh/id_ed25519_sk
identityfile ~/.ssh/id_xmss
canonicaldomains none
globalknownhostsfile /etc/ssh/ssh_known_hosts /etc/ssh/ssh_known_hosts2
userknownhostsfile /Users/till/.ssh/known_hosts
sendenv LANG
sendenv LC_*
logverbose none
channeltimeout none
permitremoteopen any
addkeystoagent false
forwardagent no
connecttimeout none
tunneldevice any:any
canonicalizePermittedcnames none
controlpersist 600
escapechar ~
ipqos af21 cs1
rekeylimit 0 0
streamlocalbindmask 0177
syslogfacility USER'
++ awk '/^port / { print $2 }'
+ ssh_port=22
+ step Uploading install SSH keys
+ echo '### Uploading install SSH keys ###'
### Uploading install SSH keys ###
+ [[ -n '' ]]
+ ssh-copy-id -i /tmp/tmp.VkXuGw8ixd/nixos-anywhere.pub -o ConnectTimeout=10 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no<EMAIL_ADDRESS>/etc/profiles/per-user/till/bin/ssh-copy-id: INFO: Source of key(s) to be installed: "/tmp/tmp.VkXuGw8ixd/nixos-anywhere.pub"
/etc/profiles/per-user/till/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed
/etc/profiles/per-user/till/bin/ssh-copy-id: INFO: 1 key(s) remain to be installed -- if you are prompted now it is to install the new keys
Warning: Permanently added '<IP_ADDRESS>' (ED25519) to the list of known hosts.
ControlSocket /Users/till/.ssh/master-root@<IP_ADDRESS>:22 already exists, disabling multiplexing

Number of key(s) added: 1

Now try logging into the machine, with:   "ssh -o 'ConnectTimeout=10' -o 'UserKnownHostsFile=/dev/null' -o 'StrictHostKeyChecking=no'<EMAIL_ADDRESS>and check to make sure that only the key(s) you wanted were added.

+ step Gathering machine facts
+ echo '### Gathering machine facts ###'
### Gathering machine facts ###
+ import_facts
+ local facts filtered_facts
++ ssh_ -o ConnectTimeout=10 enable_debug=-x sh --
++ ssh -t -i /tmp/tmp.VkXuGw8ixd/nixos-anywhere -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no<EMAIL_ADDRESS>-o ConnectTimeout=10 enable_debug=-x sh --
Pseudo-terminal will not be allocated because stdin is not a terminal.
Warning: Permanently added '<IP_ADDRESS>' (ED25519) to the list of known hosts.
ControlSocket /Users/till/.ssh/master-root@<IP_ADDRESS>:22 already exists, disabling multiplexing
++ test -f /etc/os-release
++ grep -q ID=nixos /etc/os-release
++ echo y
+ is_nixos=y
+ cat
++ uname
++ uname -m
++ test -f /etc/is_kexec
++ echo n
++ '[' y = y ']'
++ grep -q VARIANT_ID=installer /etc/os-release
++ echo y
+++ has systemd-detect-virt
+++ command -v systemd-detect-virt
+++ echo y
++ '[' y = y ']'
++ systemd-detect-virt --container
+++ has ip
+++ command -v ip
+++ echo y
++ '[' y = n ']'
++ ip r g 1
++ echo n
++ has tar
++ command -v tar
++ echo y
++ has sudo
++ command -v sudo
++ echo y
++ has doas
++ command -v doas
++ echo n
++ has wget
++ command -v wget
++ echo n
++ has curl
++ command -v curl
++ echo y
++ has setsid
++ command -v setsid
++ echo y
+ facts='is_os=Linux
is_arch=x86_64
is_kexec=n
is_nixos=y
is_installer=y
is_container=none
has_ipv6_only=n
has_tar=y
has_sudo=y
has_doas=n
has_wget=n
has_curl=y
has_setsid=y'
++ echo 'is_os=Linux
is_arch=x86_64
is_kexec=n
is_nixos=y
is_installer=y
is_container=none
has_ipv6_only=n
has_tar=y
has_sudo=y
has_doas=n
has_wget=n
has_curl=y
has_setsid=y'
++ grep -E '^(has|is)_[a-z0-9_]+=\S+'
+ filtered_facts='is_os=Linux
is_arch=x86_64
is_kexec=n
is_nixos=y
is_installer=y
is_container=none
has_ipv6_only=n
has_tar=y
has_sudo=y
has_doas=n
has_wget=n
has_curl=y
has_setsid=y'
+ [[ -z is_os=Linux
is_arch=x86_64
is_kexec=n
is_nixos=y
is_installer=y
is_container=none
has_ipv6_only=n
has_tar=y
has_sudo=y
has_doas=n
has_wget=n
has_curl=y
has_setsid=y ]]
++ echo 'is_os=Linux
is_arch=x86_64
is_kexec=n
is_nixos=y
is_installer=y
is_container=none
has_ipv6_only=n
has_tar=y
has_sudo=y
has_doas=n
has_wget=n
has_curl=y
has_setsid=y'
++ xargs
+ export is_os=Linux is_arch=x86_64 is_kexec=n is_nixos=y is_installer=y is_container=none has_ipv6_only=n has_tar=y has_sudo=y has_doas=n has_wget=n has_curl=y has_setsid=y
+ is_os=Linux
+ is_arch=x86_64
+ is_kexec=n
+ is_nixos=y
+ is_installer=y
+ is_container=none
+ has_ipv6_only=n
+ has_tar=y
+ has_sudo=y
+ has_doas=n
+ has_wget=n
+ has_curl=y
+ has_setsid=y
+ [[ y == \n ]]
+ [[ y == \n ]]
+ maybe_sudo=
+ [[ y == \y ]]
+ maybe_sudo=sudo
+ [[ Linux != \L\i\n\u\x ]]
+ [[ n == \n ]]
+ [[ y == \n ]]
+ [[ y == \y ]]
+ [[ root != \r\o\o\t ]]
+ [[ n == \y ]]
+ [[ -n /nix/store/hhdz1qxvr1dbyfy99i8c0qx6a1brvq91-disko ]]
+ nix_copy --to<EMAIL_ADDRESS>/nix/store/hhdz1qxvr1dbyfy99i8c0qx6a1brvq91-disko
+ NIX_SSHOPTS='-o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -i /tmp/tmp.VkXuGw8ixd/nixos-anywhere '
+ nix copy --extra-experimental-features 'nix-command flakes' --no-write-lock-file -L --substitute-on-destination --to<EMAIL_ADDRESS>/nix/store/hhdz1qxvr1dbyfy99i8c0qx6a1brvq91-disko
Warning: Permanently added '<IP_ADDRESS>' (ED25519) to the list of known hosts.
ControlSocket /Users/till/.ssh/master-root@<IP_ADDRESS>:22 already exists, disabling multiplexing

It seems that the disko script is copied to the target machine, but then never executed or silently fails and stops everything. dmesg and journalctl on the target machine also don't seem to have any error messages.
I am quite new to nix and nixos so I am probably missing something quite obvious, but after going through all the documentation and examples I found, I can't figure out what.
Thanks in advance :)

It seems that the disko script is copied to the target machine

you verified that its there in the store on the remote?
I would suggest on the target machine try using disko-install directly and see if that works - then work backwards.

Hi @sedlund and thanks for the advice. Thanks to your hint I think the problem is the nix copy command stalling after calling nix-store --serve --write on the target.
Running the nix copy command manually and with debug gives me
performing daemon worker op: 40
querying info about missing paths...
starting pool of 9 threads
performing daemon worker op: 46
substitution of '/nix/store/y4pn8qg3vjf4gmvg3s1i6z79kpb2cwmw-disko': created
substitution of '/nix/store/y4pn8qg3vjf4gmvg3s1i6z79kpb2cwmw-disko': woken up
querying info about missing paths...
starting pool of 9 threads
entered goal loop
substitution of '/nix/store/y4pn8qg3vjf4gmvg3s1i6z79kpb2cwmw-disko': init
acquiring write lock on '/nix/var/nix/temproots/56502'
substitution of '/nix/store/y4pn8qg3vjf4gmvg3s1i6z79kpb2cwmw-disko': done
substitution of '/nix/store/y4pn8qg3vjf4gmvg3s1i6z79kpb2cwmw-disko': goal destroyed
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
performing daemon worker op: 26
OpenSSH_9.7p1, OpenSSL 3.0.14 4 Jun 2024
debug1: Reading configuration data /Users/till/.ssh/config
debug1: /Users/till/.ssh/config line 1: include ~/.ssh/config.d/* matched no files
debug1: /Users/till/.ssh/config line 15: Applying options for *
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Reading configuration data /etc/ssh/ssh_config.d/100-linux-builder.conf
debug1: /etc/ssh/ssh_config line 54: Applying options for *
debug1: Connecting to <IP_ADDRESS> [<IP_ADDRESS>] port 22.
debug1: Connection established.
debug1: identity file /Users/till/.ssh/id_rsa type -1
debug1: identity file /Users/till/.ssh/id_rsa-cert type -1
debug1: identity file /Users/till/.ssh/id_ecdsa type -1
debug1: identity file /Users/till/.ssh/id_ecdsa-cert type -1
debug1: identity file /Users/till/.ssh/id_ecdsa_sk type -1
debug1: identity file /Users/till/.ssh/id_ecdsa_sk-cert type -1
debug1: identity file /Users/till/.ssh/id_ed25519 type -1
debug1: identity file /Users/till/.ssh/id_ed25519-cert type -1
debug1: identity file /Users/till/.ssh/id_ed25519_sk type -1
debug1: identity file /Users/till/.ssh/id_ed25519_sk-cert type -1
debug1: identity file /Users/till/.ssh/id_xmss type -1
debug1: identity file /Users/till/.ssh/id_xmss-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_9.7
debug1: Remote protocol version 2.0, remote software version OpenSSH_9.7
debug1: compat_banner: match: OpenSSH_9.7 pat OpenSSH* compat 0x04000000
debug1: Authenticating to <IP_ADDRESS>:22 as 'root'
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: algorithm<EMAIL_ADDRESS>debug1: kex: host key algorithm: ssh-ed25519
debug1: kex: server->client cipher<EMAIL_ADDRESS>MAC: <implicit> compression: none
debug1: kex: client->server cipher<EMAIL_ADDRESS>MAC: <implicit> compression: none
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: SSH2_MSG_KEX_ECDH_REPLY received
debug1: Server host key: ssh-ed25519 SHA256:z5UzX+CiDaXVWEUmP3cKkWfMlCCMVY0Pq5R03kSmzyw
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory
debug1: Host '<IP_ADDRESS>' is known and matches the ED25519 host key.
debug1: Found key in /Users/till/.ssh/known_hosts:23
debug1: ssh_packet_send2_wrapped: resetting send seqnr 3
debug1: rekey out after 134217728 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: Sending SSH2_MSG_EXT_INFO
debug1: expecting SSH2_MSG_NEWKEYS
debug1: ssh_packet_read_poll2: resetting read seqnr 3
debug1: SSH2_MSG_NEWKEYS received
debug1: rekey in after 134217728 blocks
debug1: SSH2_MSG_EXT_INFO received
debug1: kex_ext_info_client_parse: server-sig-algs=<ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ssh-ed25519@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,rsa-sha2-512,rsa-sha2-256>
debug1: kex_ext_info_check_ver<EMAIL_ADDRESS>debug1: kex_ext_info_check_ver<EMAIL_ADDRESS>debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: SSH2_MSG_EXT_INFO received
debug1: kex_ext_info_client_parse: server-sig-algs=<ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ssh-ed25519@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,rsa-sha2-512,rsa-sha2-256>
debug1: Authentications that can continue: publickey,keyboard-interactive
debug1: Next authentication method: publickey
debug1: get_agent_identities: agent returned 1 keys
debug1: Will attempt key: cardno:8_710_580 RSA SHA256:C5Sfgoq8w2laHK7tPE5CdXezdAlhOtMemNuVuPdW1Ig agent
debug1: Will attempt key: /Users/till/.ssh/id_rsa
debug1: Will attempt key: /Users/till/.ssh/id_ecdsa
debug1: Will attempt key: /Users/till/.ssh/id_ecdsa_sk
debug1: Will attempt key: /Users/till/.ssh/id_ed25519
debug1: Will attempt key: /Users/till/.ssh/id_ed25519_sk
debug1: Will attempt key: /Users/till/.ssh/id_xmss
debug1: Offering public key: cardno:8_710_580 RSA SHA256:C5Sfgoq8w2laHK7tPE5CdXezdAlhOtMemNuVuPdW1Ig agent
debug1: Server accepts key: cardno:8_710_580 RSA SHA256:C5Sfgoq8w2laHK7tPE5CdXezdAlhOtMemNuVuPdW1Ig agent
Authenticated to <IP_ADDRESS> ([<IP_ADDRESS>]:22) using "publickey".
debug1: setting up multiplex master socket
ControlSocket /Users/till/.ssh/master-root@<IP_ADDRESS>:22 already exists, disabling multiplexing
debug1: channel 0: new session [client-session] (inactive timeout: 0)
debug1: Requesting<EMAIL_ADDRESS>debug1: Entering interactive session.
debug1: pledge: exec
debug1: client_input_global_request: rtype<EMAIL_ADDRESS>want_reply 0
debug1: client_input_hostkeys: searching /Users/till/.ssh/known_hosts for <IP_ADDRESS> / (none)
debug1: client_input_hostkeys: no new or deprecated keys from server
debug1: Remote: /etc/ssh/authorized_keys.d/root:1: key options: agent-forwarding port-forwarding pty user-rc x11-forwarding
debug1: Remote: /etc/ssh/authorized_keys.d/root:1: key options: agent-forwarding port-forwarding pty user-rc x11-forwarding
debug1: Sending environment.
debug1: channel 0: setting env LC_TERMINAL_VERSION = "3.4.16"
debug1: channel 0: setting env LANG = "de_DE.UTF-8"
debug1: channel 0: setting env LC_TERMINAL = "iTerm2"
debug1: Sending command: nix-store --serve --write
debug1: pledge: fork

Which still doesn't contain any obvious error. I can also confirm that nix-store --serve --write is actually running on the target machine.
Currently I am guessing that since nix-store --serve works by serving through stdin/stdout that maybe my ssh config could interfering with this process, causing a stall. But maybe I am wrong, so I am still glad for every pointer in more directions helping me debug/fix this :)

It looks like you have a yubikey or using macos touchid.
the last output with your manual run of nix copy shows nix-copy is authenticating with it.
I would suggest setting a root password on the target and not have any keys on the remote and typing it in when running nixos-anywhere.  It will then use its self generated key for connecting.

Ok, after experimenting with my SSH config I found the cause for the problem (but not an explanation).
By default I set ControlMaster yes for all my hosts. This seems to cause problems. Temporarely setting ControlMaster no for the target host seem to solve the problem.
Thanks for the advice and I hope this issue helps anyone else struggling with this :)


perl: error while loading shared libraries: libcrypt.so.1

Issue:
Freshly installed conda, created fresh env for perl, when trying to run perl this error pops up:
perl: error while loading shared libraries: libcrypt.so.1: cannot open shared object file: No such file or directory

Environment (conda list):

$ conda list
 Name                    Version                   Build  Channel
_libgcc_mutex             0.1                        main
libgcc-ng                 9.1.0                hdf63c60_0
libstdcxx-ng              9.1.0                hdf63c60_0
perl                      5.26.2            h516909a_1006    conda-forge
perl-app-cpanminus        1.7044                  pl526_1    bioconda
perl-autoloader           5.74                    pl526_2    bioconda
perl-capture-tiny         0.48                    pl526_0    bioconda
perl-carp                 1.38                    pl526_3    bioconda
perl-constant             1.33                    pl526_1    bioconda
perl-data-dumper          2.173                   pl526_0    bioconda
perl-dbi                  1.642                   pl526_0    bioconda
perl-dynaloader           1.25                    pl526_1    bioconda
perl-encode               2.88                    pl526_1    bioconda
perl-exporter             5.72                    pl526_1    bioconda
perl-extutils-cppguess    0.12            pl526h6bb024c_3    bioconda
perl-extutils-makemaker   7.36                    pl526_1    bioconda
perl-file-find            1.27                    pl526_1    bioconda
perl-file-path            2.16                    pl526_0    bioconda
perl-file-slurp           9999.27                 pl526_0    bioconda
perl-file-spec            3.48_01                 pl526_1    bioconda
perl-file-temp            0.2304                  pl526_2    bioconda
perl-findbin-real         1.05            pl526h1341992_0    bioconda
perl-getopt-long          2.50                    pl526_1    bioconda
perl-ipc-cmd              1.02                    pl526_0    bioconda
perl-list-util            1.38                    pl526_1    bioconda
perl-locale-maketext-simple 0.21                    pl526_2    bioconda
perl-math-cdf             0.1             pl526h14c3975_5    bioconda
perl-math-round           0.07                    pl526_1    bioconda
perl-module-corelist      5.20190524              pl526_0    bioconda
perl-module-load          0.32                    pl526_1    bioconda
perl-module-load-conditional 0.68                    pl526_2    bioconda
perl-module-metadata      1.000036                pl526_0    bioconda
perl-params-check         0.38                    pl526_1    bioconda
perl-parent               0.236                   pl526_1    bioconda
perl-path-class           0.37                    pl526_1    bioconda
perl-perl-ostype          1.010                   pl526_1    bioconda
perl-perlio-gzip          0.20            pl526h84994c4_1    bioconda
perl-pod-escapes          1.07                    pl526_1    bioconda
perl-pod-simple           3.35                    pl526_1    bioconda
perl-pod-usage            1.69                    pl526_1    bioconda
perl-posix                1.38_03                 pl526_1    bioconda
perl-set-intervaltree     0.11                    pl526_1    bioconda
perl-socket               2.027                   pl526_1    bioconda
perl-symbol               1.07                    pl526_1    bioconda
perl-test                 1.26                    pl526_1    bioconda
perl-test-harness         3.42                    pl526_0    bioconda
perl-tie-hash             1.05                    pl526_1    bioconda
perl-tie-hash-indexed     0.05                    pl526_1    bioconda
perl-time-hires           1.9760          pl526h14c3975_1    bioconda
perl-version              0.9924                  pl526_0    bioconda
perl-xsloader             0.24                    pl526_0    bioconda
zlib                      1.2.11            h516909a_1005    conda-forge

Details about  conda and system ( conda info ):

$ conda info
     active environment : perl
    active env location : /home/fall/anaconda3/envs/perl
            shell level : 2
       user config file : /home/fall/.condarc
 populated config files : /home/fall/.condarc
          conda version : 4.7.5
    conda-build version : 3.18.7
         python version : 3.7.3.final.0
       virtual packages :
       base environment : /home/fall/anaconda3  (writable)
           channel URLs : https://conda.anaconda.org/conda-forge/linux-64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://conda.anaconda.org/bioconda/linux-64
                          https://conda.anaconda.org/bioconda/noarch
                          https://repo.anaconda.com/pkgs/main/linux-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/linux-64
                          https://repo.anaconda.com/pkgs/r/noarch
                          https://conda.anaconda.org/r/linux-64
                          https://conda.anaconda.org/r/noarch
          package cache : /home/fall/anaconda3/pkgs
                          /home/fall/.conda/pkgs
       envs directories : /home/fall/anaconda3/envs
                          /home/fall/.conda/envs
               platform : linux-64
             user-agent : conda/4.7.5 requests/2.22.0 CPython/3.7.3 Linux/5.1.17-300.fc30.x86_64 fedora/30 glibc/2.29
                UID:GID : 1000:1000
             netrc file : None
           offline mode : False

Details about  .condarc:

channel_priority: strict
channels:
  - conda-forge
  - bioconda
  - defaults
  - r

It seems like some package needs libcrypt but does not have it as a run dep.  Most of these come from bioconda and so our outside our control :frowning_face:

@scopatz Thx for having a look!
But conda list returns:
perl                      5.26.2            h516909a_1006    conda-forge
and a simple perl --version leads to perl: error while loading shared libraries: libcrypt.so.1: cannot open shared object file: No such file or directory
I guess no bioconda package is required for this?

@jfallmann can you reproduce this with a minimal perl environment?

@bgruening sorry, was too slow editing

This does not happen on Linux for me:
scopatz@artemis ~ $ conda create -n testperl perl
Collecting package metadata (repodata.json): done
Solving environment: done

## Package Plan ##

  environment location: /home/scopatz/miniconda/envs/testperl

  added / updated specs:
    - perl

The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    _libgcc_mutex-0.1          |             main           3 KB
    ------------------------------------------------------------
                                           Total:           3 KB

The following NEW packages will be INSTALLED:

  _libgcc_mutex      pkgs/main/linux-64::_libgcc_mutex-0.1-main
  libgcc-ng          pkgs/main/linux-64::libgcc-ng-9.1.0-hdf63c60_0
  perl               conda-forge/--blacklist=abi,--max-build-no/linux-64::perl-5.26.2-h516909a_1006

Downloading and Extracting Packages
_libgcc_mutex-0.1    | 3 KB      | ############################################## | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
#
# To activate this environment, use
#
#     $ conda activate testperl
#
# To deactivate an active environment, use
#
#     $ conda deactivate

scopatz@artemis ~ $  conda activate testperl
(testperl) scopatz@artemis ~ $ which perl
/home/scopatz/miniconda/envs/testperl/bin/perl
(testperl) scopatz@artemis ~ $ perl -v

This is perl 5, version 26, subversion 2 (v5.26.2) built for x86_64-linux-thread-multi

Copyright 1987-2018, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl".  If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.

(testperl) scopatz@artemis ~ $

Also working for me:
bag@bag:~/projects/code/staged-recipes$ conda create -n testperl perl
Collecting package metadata: done
Solving environment: done

==> WARNING: A newer version of conda exists. <==
  current version: 4.6.7
  latest version: 4.7.5

Please update conda by running

    $ conda update -n base conda

## Package Plan ##

  environment location: /home/bag/miniconda3/envs/testperl

  added / updated specs:
    - perl

The following NEW packages will be INSTALLED:

  _libgcc_mutex      pkgs/main/linux-64::_libgcc_mutex-0.1-main
  libgcc-ng          pkgs/main/linux-64::libgcc-ng-9.1.0-hdf63c60_0
  perl               conda-forge/linux-64::perl-5.26.2-h516909a_1006

Proceed ([y]/n)? y

Preparing transaction: done
Verifying transaction: done
Executing transaction: done
#
# To activate this environment, use
#
#     $ conda activate testperl
#
# To deactivate an active environment, use
#
#     $ conda deactivate

bag@bag:~/projects/code/staged-recipes$ conda activate testperl
(testperl) bag@bag:~/projects/code/staged-recipes$ perl --version

This is perl 5, version 26, subversion 2 (v5.26.2) built for x86_64-linux-thread-multi

Copyright 1987-2018, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl".  If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.

What is a which perl giving you?

which perl
~/anaconda3/envs/testperl/bin/perl

how weird is this? I'm running Fedora 30 btw, is it possible this is some OS fuckup? Just saw https://fedoraproject.org/wiki/Changes/FullyRemoveDeprecatedAndUnsafeFunctionsFromLibcrypt
It works on a machine running 5.0.6-200.fc29.x86_64, not on another with fc30, omg

@scopatz @bgruening
Can't beleive it, really was a FC30 problem, after installing libxcrypt-compat on my system as hinted to by https://fedoraproject.org/wiki/Changes/FullyRemoveDeprecatedAndUnsafeFunctionsFromLibcrypt#Documentation  everything is working as expected again, I'll close this issue, thanks for your time

wow crazy!

I don't to revive ancient issue, but want to add this. If  you don't want to install libxcrypt-compat on your "pure" Fedora, just  installing libxcrypt1 from conda-forge, and it will fix the problem.


Is it possible to use this module to enable USB tethering?

I am building app where I need usb tethering can Use this module to enable  USB tethering?
if yes then how I can use this module

I do not know if that need WiFi capabilities it may help on turning on/off your wifi


Push CSV didnt have th correct op name

Changing name of the operator within the pushCSV script

https://console-openshift-console.apps.iwis.os.fyre.ibm.com
Credentials:
Username: kubeadmin
Password: k3M5P-aTrfY-Pm9bk-r8pnh
To verify operator installed


[AIRGoogleMap] Fixed memory leak

Fixes memory leak on iOS Google Maps (appeared after #2581)
Should resolve issues #2782 and #2775
Before:

After:

cc @christopherdro @sinodko

@ukrbublik  ❤❤❤
@christopherdro LGTM 🐽

@christopherdro 🤗🤗🤗


Severe scrolling glitch in [CustomScrollView]

Steps to Reproduce

Execute flutter run on the code sample
Quickly scroll to the bottom of the list and then quickly fling up a bit. (See video)
Sometimes step 2 has to be repeated several times so that the bug is visible

Expected results:
The list should stop normally without jumps to other widgets.
Actual results:
The list suddenly jumps to a completely different item
The problem was reproduced on an iPhone X on the latest Master Branch. I can't say whether the problem exists only for iOS.

Code sample

void main() {
  runApp(SimpleScrollApp());
}

class SimpleScrollApp extends StatelessWidget {
  final List<double> randomHeights = [
    500,
    700,
    400,
    400,
    300,
    200,
    300,
    500,
    900,
    500
  ];

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: CustomScrollView(
        slivers: [
          SliverList(
            delegate: SliverChildBuilderDelegate(
              (context, index) {
                return Container(
                  margin: EdgeInsets.all(12),
                  color: Colors.blue,
                  height: randomHeights[index],
                  child: Center(
                    child: Text(
                      index.toString(),
                    ),
                  ),
                );
              },
              childCount: randomHeights.length,
            ),
          ),
        ],
      ),
    );
  }
}

Logs

[✓] Flutter (Channel master, 3.1.0-0.0.pre.2507, on macOS 12.4 21F79 darwin-arm, locale de-DE)
    • Flutter version 3.1.0-0.0.pre.2507 on channel master at /Users/x/Desktop/Programming/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 9d8a29c97a (22 hours ago), 2022-08-26 03:02:31 -0400
    • Engine revision 1bc5d8c59e
    • Dart version 2.19.0 (build 2.19.0-141.0.dev)
    • DevTools version 2.16.0

[✓] Xcode - develop for iOS and macOS (Xcode 13.4)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 13F17a
    • CocoaPods version 1.11.3

https://user-images.githubusercontent.com/18357332/187016329-8acfcfc2-f56b-468c-b93d-f1eeae806a64.MP4

It's working perfectly on Android Device!

The same problem occurs in listview. As far as I know, this problem requires the latest pre version
And my friends in 3.1.0-0.0.pre 1228 flutter version no such problem
https://github.com/flutter/flutter/issues/110340

@b3nni97 are you running it in debug mode?
what's the result with flutter run --release?

Hi @iapicca,
I can reproduce the bug in any mode.
Yes #110340 looks similar, also makes sense since ListView uses CustomScrollView internally.

@b3nni97 Hey use Scroll listener and scroll event
_scrollListener() {
    if (_controller.offset >= _controller.position.maxScrollExtent &&
        !_controller.position.outOfRange) {
      setState(() {
        message = "reach the bottom";
      });
    }
    if (_controller.offset <= _controller.position.minScrollExtent &&
        !_controller.position.outOfRange) {
      setState(() {
        message = "reach the top";
      });
    }
  }

setstate() is your function :)
get completre insight here
https://medium.com/@diegoveloper/flutter-lets-know-the-scrollcontroller-and-scrollnotification-652b2685a4ac
hope so closes #110400

@adilwahla  No, I think you misunderstand something. It should not be the task of the developer to call setstate at the beginning and at the end of the list. Besides, I don't see how that would solve the problem at all.
As written in #110344 the bug is not reproducible with an older version and it should not be recommended to use a hacky workaround.

Might be helpful if you could bisect which commit exactly caused this.

Hi @b3nni97 and anyone else facing this issue.
I can reproduce this issue on master channel 3.1.0-0.0.pre.2552 with provided sample code. On stable channel 3.0.5, it works normally.
I also see there's an open issue addressing the case you described #110340 and it also happens on the latest master channel.
Closing this issue as a duplicate, so please follow up on it for further updates. You can leave there your comment and react an upvote to the original comment will help to raise the issue.
Thank you!


URL in description and README broken

The URL in the repository description and README are pointing to GH-DEV-WS-Ansys-US's copy of the game instead of yours.
Please fix both, so they point to your copy of the game at https://GH-DEV-WS-Ansys-US.github.io/github-games-Brovos.

update readme url


MultilineTaskDescriptionColumn for Progress

It would be useful to implement MultilineTaskDescriptionColumn for Progress.
This didn't help me for multiline description:
    public sealed class MultilineTaskDescriptionColumn : ProgressColumn
    {
        /// <inheritdoc/>
        protected internal override bool NoWrap => true;

        /// <inheritdoc/>
        public override IRenderable Render(RenderContext context, ProgressTask task, TimeSpan deltaTime)
        {
            //var text = task.Description?.RemoveNewLines()?.Trim();
            //return new Markup(text ?? string.Empty).Overflow(Overflow.Ellipsis).RightAligned();

            return new Markup(task.Description ?? string.Empty);
        }
    }

Please upvote :+1: this issue if you are interested in it.

@Yaroshvitaliy You will need to set "NoWrap" to false for that to work:

I tried NoWrap set to false but it didn't help me.

I can see the following code in ProgressTask:
description = description?.RemoveNewLines()?.Trim();

Yeah, Environment.Newline is probably not working. It will wrap the text at the end of the column.

Environment.Newline is what I need as a separator between lines, so could you reopen the issue since my original question is not answered?
Maybe anoter string/object property can be added to ProgressTask so that it can be used in custom advabced columns?

I just created my own column as initially proposed and it worked like a charm:
    class MultilineTaskDescriptionColumn : ProgressColumn
    {
        public override IRenderable Render(RenderOptions options, ProgressTask task, TimeSpan deltaTime)
        {
            return new Markup(task.Description ?? string.Empty)
                .Overflow(Overflow.Ellipsis)
                .Justify(Justify.Left);
        }
    }

It would be nice if there was a Multiline property, say, to avoid the call to RemoveNewLines(), but it's no biggie IMO.


Add Token Transfer Functionality to ERC20 Contract

Describe the feature request
We aim to introduce a token transfer function into our existing ERC20 contract within this project. This function will enable users to securely transfer tokens between accounts.
Steps
Implement the transfer function in the existing ERC20 contract.
Ensure tests cover various transfer scenarios, including successful and unsuccessful transfers.
Document using NatSpec format to explain usage guidelines and considerations.
Additional Information:
Please refer to the coding standards and documentation guidelines in the project's README before starting implementation.
Feel free to ask any questions or clarifications regarding this issue.
Spam policy

[X] I verify that this issue is NOT SPAM and understand SPAM issues will be closed and reported to GitHub, resulting in ACCOUNT TERMINATION.

spam


fix: upgrade-helper correct save webhooks to mounted in path

Codecov Report

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

@@          Coverage Diff           @@
##           master   #1681   +/-   ##
======================================
  Coverage    25.4%   25.4%
======================================
  Files          98      98
  Lines        5065    5065
======================================
  Hits         1287    1287
  Misses       3635    3635
  Partials      143     143

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 d804213...7151213. Read the comment docs.


WIP: Fix comment bug

[x] add failing tests
[ ] fix bugs and make tests pass

/cc @JessRudder @cadwallion

bx rake
.........................................FF.............................................

Failures:

  1) Dotenv::Parser ignores commented out variables
     Failure/Error: expect(env("# HELLO=world\n")).to eql({})

       expected: {}
            got: {"HELLO"=>"world"}

       (compared using eql?)

       Diff:
       @@ -1 +1,2 @@
       +"HELLO" => "world",

     # ./spec/dotenv/parser_spec.rb:151:in `block (2 levels) in <top (required)>'

  2) Dotenv::Parser ignores comment
     Failure/Error: expect(env("# Uncomment to activate:\n")).to eql({})

       expected: {}
            got: {"activate"=>""}

       (compared using eql?)

       Diff:
       @@ -1 +1,2 @@
       +"activate" => "",

     # ./spec/dotenv/parser_spec.rb:155:in `block (2 levels) in <top (required)>'

Finished in 0.14054 seconds (files took 0.39969 seconds to load)
88 examples, 2 failures

Failed examples:

rspec ./spec/dotenv/parser_spec.rb:150 # Dotenv::Parser ignores commented out variables
rspec ./spec/dotenv/parser_spec.rb:154 # Dotenv::Parser ignores comment


Secrets in GIT

Hi,
I was looking for inspiration to get started with nixos. Via Google search i came across your repository.
But i noticed that you committed your secrets to the repository.
greetz, Sander

Thanks! I think I only added encrypted secrets. If there are any unencrypted secrets please let me know where 😊


[Question] Why does franz-go override the timestamp (Record.Timestamp) on produce?

Hi @twmb,
Why does franz-go override the timestamp (Record.Timestamp) on produce?
https://github.com/twmb/franz-go/blob/v1.5.3/pkg/kgo/record_and_fetch.go#L93-L94
This behaviour seems to be different from other clients where one is able to set the event origin timestamp on a record?
From your documentation you seem to be fully aware of this behaviour, could you elaborate on this decision/behaviour?
And the natural question, is there a way to set a custom timestamp on records?

I'm not sure why I eventually blocked this, but I've added a commit to allow setting the timestamp type yourself: https://github.com/twmb/franz-go/commit/653010d65361bf96730f251c5a2b34ff35a0a5ba
This will be in v1.6, which I aim to release ~today.

Got it, thanks for the answer

Released in v1.6.0: https://github.com/twmb/franz-go/releases/tag/v1.6.0


Analytics.logEvent() doesn't work, but native event are ok

[REQUIRED] Step 1: Describe your environment

Xcode version: 13.2.1
Firebase SDK version: 8.13.0
Installation method: CocoaPods
Firebase Component: Crashlytics & Analytics
Target platform(s): iOS

[REQUIRED] Step 2: Describe the problem
Steps to reproduce:
The SDK is correctly setup as  I'm able to see my crash logs and some analytics events in Firebase and Analytics console. However, I only see native events (screen_view, session_start, user_engagement..) being fired and logged.
Relevant Code:
I've reduced my code to the minimum, so it doesn't call anything anymore except for :
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {

        FirebaseApp.configure()
        Analytics.setAnalyticsCollectionEnabled(true)
        Analytics.logEvent("test", parameters: [:])

        return true
    }

And I'm unable to see my test event whether it's in Analytics console, or in my Xcode console.
Here is the log of my Xcode console :
2022-03-18 11:39:18.002694+0100 HelloWorld[12274:1244012] 8.13.0 - [Firebase/Core][I-COR000001] Configuring the default app.
2022-03-18 11:39:18.004069+0100 HelloWorld[12274:1244012] 8.13.0 - [Firebase/Core][I-COR000029] Attempted to register protocol FIRAnalyticsInterop, but it already has an implementation.
2022-03-18 11:39:18.005236+0100 HelloWorld[12274:1244012] 8.13.0 - [Firebase/Core][I-COR000029] Attempted to register protocol FIRAnalyticsInterop, but it already has an implementation.
2022-03-18 11:39:18.005824+0100 HelloWorld[12274:1244012] 8.13.0 - [Firebase/Core][I-COR000033] Data Collection flag is not set.
2022-03-18 11:39:18.010725+0100 HelloWorld[12274:1243994] 8.13.0 - [Firebase/Analytics][I-ACS024000] Debug mode is on
2022-03-18 11:39:18.022000+0100 HelloWorld[12274:1243994] 8.13.0 - [Firebase/Installations][I-FIS002000] -[FIRInstallationsIDController createGetInstallationItemPromise], appName: __FIRAPP_DEFAULT
2022-03-18 11:39:18.022625+0100 HelloWorld[12274:1243786] [Firebase/Crashlytics] Version 8.13.0
2022-03-18 11:39:18.033725+0100 HelloWorld[12274:1244014] 8.13.0 - [Firebase/Crashlytics][I-CLS000000] [Crashlytics] Running on iOS Simulator (iPhone), 15.2.0 (21D62)
2022-03-18 11:39:18.374146+0100 HelloWorld[12274:1244012] 8.13.0 - [Firebase/Crashlytics][I-CLS000000] Root: /Users/tt/Library/Developer/CoreSimulator/Devices/18C03926-5236-4F30-B3F2-E785DB1C3928/data/Containers/Data/Application/87FC7946-8210-4440-9A5D-6B14D2375854/Library/Caches/com.crashlytics.data/com.HelloWorld.HelloWorld
2022-03-18 11:39:18.375055+0100 HelloWorld[12274:1244012] 8.13.0 - [Firebase/Crashlytics][I-CLS000000] [Crashlytics:Crash:Reports:Event] Registered Firebase Analytics event listener to receive breadcrumb logs
2022-03-18 11:39:18.376078+0100 HelloWorld[12274:1244012] 8.13.0 - [Firebase/Crashlytics][I-CLS000000] Automatic data collection is enabled.
2022-03-18 11:39:18.376744+0100 HelloWorld[12274:1244012] 8.13.0 - [Firebase/Crashlytics][I-CLS000000] Unsent reports will be uploaded at startup
2022-03-18 11:39:18.377282+0100 HelloWorld[12274:1244012] 8.13.0 - [GULReachability][I-REA902003] Monitoring the network status
2022-03-18 11:39:18.378663+0100 HelloWorld[12274:1244012] 8.13.0 - [GULReachability][I-REA902003] Monitoring the network status
2022-03-18 11:39:18.399586+0100 HelloWorld[12274:1244012] 8.13.0 - [GULReachability][I-REA902004] Network status has changed. Code:1, status:Disconnected
2022-03-18 11:39:18.400840+0100 HelloWorld[12274:1244012] 8.13.0 - [GULReachability][I-REA902004] Network status has changed. Code:2, status:Connected
2022-03-18 11:39:18.402087+0100 HelloWorld[12274:1244012] 8.13.0 - [GoogleUtilities/AppDelegateSwizzler][I-SWZ001008] Successfully created App Delegate Proxy automatically. To disable the proxy, set the flag GoogleUtilitiesAppDelegateProxyEnabled to NO (Boolean) in the Info.plist
2022-03-18 11:39:18.858155+0100 HelloWorld[12274:1244012] 8.13.0 - [Firebase/Installations][I-FIS002001] -[FIRInstallationsIDController installationWithValidAuthTokenForcingRefresh:0], appName: __FIRAPP_DEFAULT
2022-03-18 11:39:18.858751+0100 HelloWorld[12274:1244012] 8.13.0 - <AppMeasurement>[I-ACS023147] Google Analytics for Firebase has not been created. Please, configure Firebase by calling [FIRApp configure]
2022-03-18 11:39:18.859723+0100 HelloWorld[12274:1244012] 8.13.0 - [Firebase/Analytics][I-ACS023007] Analytics v.8.13.0 started
2022-03-18 11:39:18.860272+0100 HelloWorld[12274:1244012] 8.13.0 - [Firebase/Analytics][I-ACS023222] Build 81200
2022-03-18 11:39:18.860774+0100 HelloWorld[12274:1244012] 8.13.0 - [Firebase/Analytics][I-ACS023008] To disable debug logging set the following application argument: -noFIRAnalyticsDebugEnabled (see http://goo.gl/RfcP7r)
2022-03-18 11:39:18.861360+0100 HelloWorld[12274:1244012] 8.13.0 - [Firebase/Analytics][I-ACS023009] Debug logging enabled
2022-03-18 11:39:18.862265+0100 HelloWorld[12274:1244012] 8.13.0 - [Firebase/Analytics][I-ACS023207] To disable verbose logging set the following application argument: -FIRAnalyticsVerboseLoggingDisabled (see http://goo.gl/RfcP7r)
2022-03-18 11:39:19.194867+0100 HelloWorld[12274:1244012] 8.13.0 - [Firebase/Analytics][I-ACS820009] Successfully start the task manager
2022-03-18 11:39:19.243469+0100 HelloWorld[12274:1243992] 8.13.0 - [Firebase/Analytics][I-ACS002002] APMExperimentAlarm scheduled to fire in approx. (s): 4700.201685070992
2022-03-18 11:39:19.340506+0100 HelloWorld[12274:1243993] 8.13.0 - [Firebase/Analytics][I-ACS800005] Registered client: app_measurement
2022-03-18 11:39:19.342142+0100 HelloWorld[12274:1243993] 8.13.0 - [Firebase/Analytics][I-ACS800023] No pending snapshot to activate. SDK name: app_measurement
2022-03-18 11:39:19.346004+0100 HelloWorld[12274:1243992] 8.13.0 - [Firebase/Analytics][I-ACS029014] Successfully parsed a configuration. Version:<PHONE_NUMBER>796531
2022-03-18 11:39:19.350161+0100 HelloWorld[12274:1243992] 8.13.0 - [Firebase/Analytics][I-ACS023016] Analytics is ready to receive events
2022-03-18 11:39:19.382167+0100 HelloWorld[12274:1243992] 8.13.0 - [Firebase/Analytics][I-ACS800015] Looking for activated flag. SDK name, flag name, activated snapshot: app_measurement, persistent_config_in_application_support_enabled, (nil)
2022-03-18 11:39:19.382827+0100 HelloWorld[12274:1243992] 8.13.0 - [Firebase/Analytics][I-ACS800016] Cannot find activated flag. Looking for launched flag. SDK name, flag name, launched flag: app_measurement, persistent_config_in_application_support_enabled, (nil)
2022-03-18 11:39:19.383491+0100 HelloWorld[12274:1243992] 8.13.0 - [Firebase/Analytics][I-ACS800019] Cannot find launched flag. Returned the default flag value. SDK name, flag name, default flag: app_measurement, persistent_config_in_application_support_enabled, 0
2022-03-18 11:39:19.413807+0100 HelloWorld[12274:1243992] 8.13.0 - [Firebase/Analytics][I-ACS023087] User property set. Name, value: ga_session_id (_sid),<PHONE_NUMBER>
2022-03-18 11:39:19.417915+0100 HelloWorld[12274:1243992] 8.13.0 - [Firebase/Analytics][I-ACS023087] User property set. Name, value: ga_session_number (_sno), 5
2022-03-18 11:39:19.540489+0100 HelloWorld[12274:1243992] 8.13.0 - [Firebase/Analytics][I-ACS023051] Logging event: origin, name, params: auto, session_start (_s), {
    ga_event_origin (_o) = auto;
    session_id (_sid) =<PHONE_NUMBER>;
    session_number (_sno) = 5;
}
2022-03-18 11:39:19.550001+0100 HelloWorld[12274:1243993] 8.13.0 - [Firebase/Analytics][I-ACS023073] Debug mode is enabled. Marking event as debug and real-time. Event name, parameters: session_start (_s), {
    ga_debug (_dbg) = 1;
    ga_event_origin (_o) = auto;
    ga_realtime (_r) = 1;
    session_id (_sid) =<PHONE_NUMBER>;
    session_number (_sno) = 5;
}
2022-03-18 11:39:19.584199+0100 HelloWorld[12274:1243993] 8.13.0 - [Firebase/Analytics][I-ACS800015] Looking for activated flag. SDK name, flag name, activated snapshot: app_measurement, non_blocking_app_instance_id_enabled, (nil)
2022-03-18 11:39:19.584736+0100 HelloWorld[12274:1243993] 8.13.0 - [Firebase/Analytics][I-ACS800016] Cannot find activated flag. Looking for launched flag. SDK name, flag name, launched flag: app_measurement, non_blocking_app_instance_id_enabled, (nil)
2022-03-18 11:39:19.585428+0100 HelloWorld[12274:1243993] 8.13.0 - [Firebase/Analytics][I-ACS800019] Cannot find launched flag. Returned the default flag value. SDK name, flag name, default flag: app_measurement, non_blocking_app_instance_id_enabled, 0
2022-03-18 11:39:19.589091+0100 HelloWorld[12274:1243993] 8.13.0 - [Firebase/Analytics][I-ACS800015] Looking for activated flag. SDK name, flag name, activated snapshot: app_measurement, non_blocking_app_instance_id_enabled, (nil)
2022-03-18 11:39:19.592174+0100 HelloWorld[12274:1243993] 8.13.0 - [Firebase/Analytics][I-ACS800016] Cannot find activated flag. Looking for launched flag. SDK name, flag name, launched flag: app_measurement, non_blocking_app_instance_id_enabled, (nil)
2022-03-18 11:39:19.593021+0100 HelloWorld[12274:1243993] 8.13.0 - [Firebase/Analytics][I-ACS800019] Cannot find launched flag. Returned the default flag value. SDK name, flag name, default flag: app_measurement, non_blocking_app_instance_id_enabled, 0
2022-03-18 11:39:19.617014+0100 HelloWorld[12274:1243993] 8.13.0 - [Firebase/Analytics][I-ACS023072] Event logged. Event name, event params: session_start (_s), {
    ga_debug (_dbg) = 1;
    ga_event_origin (_o) = auto;
    ga_realtime (_r) = 1;
    session_id (_sid) =<PHONE_NUMBER>;
    session_number (_sno) = 5;
}
2022-03-18 11:39:19.625774+0100 HelloWorld[12274:1243993] 8.13.0 - [Firebase/Analytics][I-ACS002002] Measurement timer scheduled to fire in approx. (s): -1.238367080688477
2022-03-18 11:39:19.626350+0100 HelloWorld[12274:1243993] 8.13.0 - [Firebase/Analytics][I-ACS023028] Upload task scheduled to be executed in approx. (s): -1.238367080688477
2022-03-18 11:39:19.629037+0100 HelloWorld[12274:1243993] 8.13.0 - [Firebase/Analytics][I-ACS032006] Scheduling Search Ad Report timer
2022-03-18 11:39:19.631110+0100 HelloWorld[12274:1243993] 8.13.0 - [Firebase/Analytics][I-ACS002002] Search Ad campaign report alarm scheduled to fire in approx. (s): 10330.23258399963
2022-03-18 11:39:19.632326+0100 HelloWorld[12274:1243993] 8.13.0 - [Firebase/Analytics][I-ACS002003] Measurement timer canceled
2022-03-18 11:39:19.632835+0100 HelloWorld[12274:1243993] 8.13.0 - [Firebase/Analytics][I-ACS002002] Measurement timer scheduled to fire in approx. (s): -1.243583083152771
2022-03-18 11:39:19.633336+0100 HelloWorld[12274:1243993] 8.13.0 - [Firebase/Analytics][I-ACS023028] Upload task scheduled to be executed in approx. (s): -1.243583083152771
2022-03-18 11:39:19.634341+0100 HelloWorld[12274:1243993] 8.13.0 - [Firebase/Analytics][I-ACS002002] Engagement timer scheduled to fire in approx. (s): 3600
2022-03-18 11:39:19.634909+0100 HelloWorld[12274:1243993] 8.13.0 - [Firebase/Analytics][I-ACS023012] Analytics collection enabled
2022-03-18 11:39:19.636114+0100 HelloWorld[12274:1243993] 8.13.0 - [Firebase/Analytics][I-ACS023220] Analytics screen reporting is enabled. Call +[FIRAnalytics logEventWithName:FIREventScreenView parameters:] to log a screen view event. To disable automatic screen reporting, set the flag FirebaseAutomaticScreenReportingEnabled to NO (boolean) in the Info.plist
2022-03-18 11:39:19.644387+0100 HelloWorld[12274:1243993] 8.13.0 - [Firebase/Analytics][I-ACS002001] Measurement timer fired
2022-03-18 11:39:19.649160+0100 HelloWorld[12274:1243993] 8.13.0 - [Firebase/Analytics][I-ACS002003] Measurement timer canceled
2022-03-18 11:39:19.650301+0100 HelloWorld[12274:1243993] 8.13.0 - [Firebase/Analytics][I-ACS023033] Starting data upload
2022-03-18 11:39:19.651483+0100 HelloWorld[12274:1243993] 8.13.0 - [Firebase/Analytics][I-ACS800015] Looking for activated flag. SDK name, flag name, activated snapshot: app_measurement, redundant_engagement_removal_enabled, (nil)
2022-03-18 11:39:19.652384+0100 HelloWorld[12274:1243993] 8.13.0 - [Firebase/Analytics][I-ACS800016] Cannot find activated flag. Looking for launched flag. SDK name, flag name, launched flag: app_measurement, redundant_engagement_removal_enabled, (nil)
2022-03-18 11:39:19.653943+0100 HelloWorld[12274:1243993] 8.13.0 - [Firebase/Analytics][I-ACS800019] Cannot find launched flag. Returned the default flag value. SDK name, flag name, default flag: app_measurement, redundant_engagement_removal_enabled, 0
2022-03-18 11:39:19.664202+0100 HelloWorld[12274:1243993] 8.13.0 - [Firebase/Analytics][I-ACS023105] Event is not subject to real-time event count daily limit. Marking an event as real-time. Event name, parameters: session_start (_s), {
    ga_debug (_dbg) = 1;
    ga_event_origin (_o) = auto;
    ga_realtime (_r) = 1;
    session_id (_sid) =<PHONE_NUMBER>;
    session_number (_sno) = 5;
}
2022-03-18 11:39:19.677728+0100 HelloWorld[12274:1243993] 8.13.0 - [Firebase/Analytics][I-ACS012018] Saving bundle. size (bytes): 426
2022-03-18 11:39:19.681439+0100 HelloWorld[12274:1243993] 8.13.0 - [Firebase/Analytics][I-ACS023221] ad_storage is granted. analytics_storage is granted.
2022-03-18 11:39:19.683200+0100 HelloWorld[12274:1243993] 8.13.0 - [Firebase/Analytics][I-ACS023116] Bundle added to the upload queue. BundleID, timestamp (ms): 27,<PHONE_NUMBER>386
2022-03-18 11:39:19.716565+0100 HelloWorld[12274:1243993] 8.13.0 - [Firebase/Analytics][I-ACS800015] Looking for activated flag. SDK name, flag name, activated snapshot: app_measurement, non_blocking_app_instance_id_enabled, (nil)
2022-03-18 11:39:19.720307+0100 HelloWorld[12274:1243993] 8.13.0 - [Firebase/Analytics][I-ACS800016] Cannot find activated flag. Looking for launched flag. SDK name, flag name, launched flag: app_measurement, non_blocking_app_instance_id_enabled, (nil)
2022-03-18 11:39:19.725463+0100 HelloWorld[12274:1243993] 8.13.0 - [Firebase/Analytics][I-ACS800019] Cannot find launched flag. Returned the default flag value. SDK name, flag name, default flag: app_measurement, non_blocking_app_instance_id_enabled, 0
2022-03-18 11:39:19.734067+0100 HelloWorld[12274:1243993] 8.13.0 - [Firebase/Analytics][I-ACS023038] Uploading events. Elapsed time since last successful upload (s): 2826.693213939667
2022-03-18 11:39:19.735080+0100 HelloWorld[12274:1243993] 8.13.0 - [Firebase/Analytics][I-ACS023039] Measurement data sent to network. Timestamp (ms), data:<PHONE_NUMBER>719, <APMPBMeasurementBatch: 0x600003551960>
2022-03-18 11:39:19.738384+0100 HelloWorld[12274:1243993] 8.13.0 - [Firebase/Analytics][I-ACS800015] Looking for activated flag. SDK name, flag name, activated snapshot: app_measurement, network_background_session_enabled, (nil)
2022-03-18 11:39:19.746907+0100 HelloWorld[12274:1243993] 8.13.0 - [Firebase/Analytics][I-ACS800016] Cannot find activated flag. Looking for launched flag. SDK name, flag name, launched flag: app_measurement, network_background_session_enabled, (nil)
2022-03-18 11:39:19.751333+0100 HelloWorld[12274:1243993] 8.13.0 - [Firebase/Analytics][I-ACS800019] Cannot find launched flag. Returned the default flag value. SDK name, flag name, default flag: app_measurement, network_background_session_enabled, 0
2022-03-18 11:39:19.791453+0100 HelloWorld[12274:1243993] 8.13.0 - [Firebase/Analytics][I-ACS900000] Uploading data. Host: https://app-measurement.com/a
2022-03-18 11:39:20.410043+0100 HelloWorld[12274:1244017] 8.13.0 - [Firebase/Analytics][I-ACS901006] Received SSL challenge for host. Host: https://app-measurement.com/a
2022-03-18 11:39:20.431620+0100 HelloWorld[12274:1244012] [boringssl] boringssl_metrics_log_metric_block_invoke(151) Failed to log metrics
2022-03-18 11:39:20.571544+0100 HelloWorld[12274:1243993] 8.13.0 - [Firebase/Analytics][I-ACS023044] Successful upload. Got network response. Code, size: 204, -1
2022-03-18 11:39:20.572704+0100 HelloWorld[12274:1243993] 8.13.0 - [Firebase/Analytics][I-ACS002002] Measurement timer scheduled to fire in approx. (s): -2.183718085289001
2022-03-18 11:39:20.573468+0100 HelloWorld[12274:1243993] 8.13.0 - [Firebase/Analytics][I-ACS023028] Upload task scheduled to be executed in approx. (s): -2.183718085289001
2022-03-18 11:39:20.574401+0100 HelloWorld[12274:1243993] 8.13.0 - [Firebase/Analytics][I-ACS023024] No data to upload. Upload task will not be scheduled
2022-03-18 11:39:20.575728+0100 HelloWorld[12274:1243993] 8.13.0 - [Firebase/Analytics][I-ACS002003] Measurement timer canceled
2022-03-18 11:39:52.994348+0100 HelloWorld[12274:1244024] [boringssl] boringssl_metrics_log_metric_block_invoke(151) Failed to log metrics

Note than I have 2 targets in my Podfile : 1 dynamic framework and my project. Both use Firebase.
Does someone has an idea of what is happening here ?

Do you see any duplicate library loading messages in the console?  We don't support linking FirebaseAnalytics from a dynamic framework.

Thanks for the detailed write-up!
@paulb777 @ttrantao based on these log messages, I assume that's the case:
2022-03-18 11:39:18.004069+0100 HelloWorld[12274:1244012] 8.13.0 - [Firebase/Core][I-COR000029] Attempted to register protocol FIRAnalyticsInterop, but it already has an implementation.
2022-03-18 11:39:18.005236+0100 HelloWorld[12274:1244012] 8.13.0 - [Firebase/Core][I-COR000029] Attempted to register protocol FIRAnalyticsInterop, but it already has an implementation.

Check our our docs here as well: https://github.com/firebase/firebase-ios-sdk/blob/master/docs/firebase_in_libraries.md#using-firebase-sdks-from-dynamic-frameworks

Thank you for your feedbacks. I didn't see that doc. I removed Firebase from my dynamic framework, and it works again like a charm. Thank you


Storyshots does not work with useMediaQuery

Hi!
I am using Storybook - Storyshots to make come tests, my components are responsive and I use some conditions like
 const isMobile = useMediaQuery({ query: `(max-width: 768px` })

in storybook the component works but when I run the storyshots test I get this error
 Cannot read property 'matches' of undefined
const isMobile = useMediaQuery({ query: `(max-width: 768px` })
                               ^

How can I solve?
I think the main problem is about the test structure
storybook.test.js

import initStoryshots from '@storybook/addon-storyshots'

initStoryshots({
  framework: 'react',
})

https://www.npmjs.com/package/@storybook/addon-storyshots
https://storybook.js.org/docs/react/workflows/snapshot-testing

@Lory1990 Do you have a longer stacktrace?
I'm not sure how storyshots works, but based on the error I would assume it isn't rendering in a real browser - you'll need to provide a fake device as if you were doing server side rendering so that it knows what to render: https://github.com/contra/react-responsive#forcing-a-device-with-the-device-prop

I looked and if you want it to render in a real browser (that has media queries, which this library needs) you can use https://github.com/storybookjs/storybook/tree/master/addons/storyshots/storyshots-puppeteer but you'd probably be better off using the device prop anyways so you have more control over it.


Maistra 1.2

For an explanation of how to fill out the fields, please see the relevant section
in PULL_REQUESTS.md
Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
[Optional Fixes #Issue]
[Optional Deprecated:]

Let's wait until upstream accepts the fix and pull it from them?


求助

import jieba.analyse
File "/usr/local/lib/python2.7/dist-packages/jieba/analyse/init.py", line 7, in
from .textrank import textrank
File "/usr/local/lib/python2.7/dist-packages/jieba/analyse/textrank.py", line 6, in
import collections
File "/usr/lib/python2.7/collections.py", line 10, in
from keyword import iskeyword as _iskeyword
ImportError: cannot import name iskeyword

参见 #207


Correctly handle manual DEPS directory

Coverage remained the same at 96.279% when pulling 0437a4195523159b49f9de7b3f08e2a2fa8dad48 on CMake into 954de92b439bac40b3c3252dbcd9e5f03eeaa472 on master.


Marker option in main command

Hi,
I would like to ask you for help. I used very basic command to run graphmb:
graphmb --assembly path/to/assembly --outdir dir --assembly_name path/to/assembly --graph_file /path/to/gfa file --depth path/to/depth.txt
I got this error:
logging to met20_graphMB/20230308-132817graphmb_output.log
Running GraphMB 0.2.3
using cuda: False
setting seed to 1
setting tf seed
Reading cache from
Uncaught exception
Traceback (most recent call last):
File "/home/sehnal/miniconda3/envs/graphmb/bin/graphmb", line 8, in
sys.exit(main())
File "/home/sehnal/miniconda3/envs/graphmb/lib/python3.9/site-packages/graphmb/main.py", line 447, in main
dataset.read_scgs()
File "/home/sehnal/miniconda3/envs/graphmb/lib/python3.9/site-packages/graphmb/contigsdataset.py", line 560, in read_scgs
contig_markers = read_contig_genes(scg_path)
File "/home/sehnal/miniconda3/envs/graphmb/lib/python3.9/site-packages/graphmb/evaluate.py", line 194, in read_contig_genes
with open(contig_markers, "r") as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/sehnal/assembly.fasta/marker_gene_stats.tsv'
I thought that option --marker is optional. I don't have this file and I want to run it without it. Is it possible?
Thank you very much,
Ludek

Hi, for now you can set --markers "" so that no marker file is used. By default GraphMB assumes that there is a marker file so that it is easier to reproduce our results. But we can improve this so that if the file is not found, the user is informed and it runs without that file. Thanks for pointing this out!