Scales for solution function not used?

The median value for the solution functions is computed in get_scales.ipynb, but is never used in the following normalization code:
if self.scales is not None:
            f_norm = np.linalg.norm(X[0]) * self.measure
            f_scaling = f_norm / self.scales[0]
            X = X / f_scaling # ensures that 10f and 10k for example, have the same input
            # scale the tensors
            X[self.in_channels:] = X[self.in_channels:] / self.scales[self.in_channels:(self.in_channels + self.tensor_shape), None, None]

Is this intentional, or accidental?

As an update, training only works for me when I add in solution normalization as well (otherwise I get an inf loss) so it seems like solution normalization should be present (unless I'm missing something?)

Hi, sorry for the delay, I missed this.
Could you please provide some additional information on what test/config you are trying to run? The solution scales are usually not too large (as opposed to the scales of the source and coefficients) and hence were not used. But, as we noted in the paper, we did find the normalization to be quite important to getting good performance.


thread 'Download Pool' panicked

Describe the bug
thread 'Download Pool' panicked at 'range end index 46174 out of range for slice of length 46170', /run/build/epic_asset_manager/vendor/egs-api/src/api/utils.rs:43:24
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread 'Download Pool' panicked at 'range end index 46174 out of range for slice of length 46170', /run/build/epic_asset_manager/vendor/egs-api/src/api/utils.rs:43:24

To Reproduce
Steps to reproduce the behavior:

Go to Advanced Magic FX 12
Try to download the latest version
F

Expected behavior
Download goes as expected
Screenshots

Desktop (please complete the following information):

OS: Ubuntu 22.04, Unity 7
Browser [e.g. chrome, safari]
Version 3.8.4

Also newer versions don't seem to be available via update

Manually building and running 3.8.6 seems to be solving the problem


[discuss] using language-puppet as backing for a quickcheck implementation

i'm tired of rspec. i've been tired of rspec since the first time someone from puppetlabs asked me to add a test to my pull request (which i then promptly placed in tests/ only to found out it's not that easy).
i don't want to write rspec dsl, and yet i think we should be writing resilient code, and the only way to do this, is prove that our code is resilient with tests.
so i've been thinking that maybe quickcheck is a better way to do this. call this my naïvité.
i also think that this project may be an easier start to doing this than puppetlabs/puppet, at least until everything from that has been stripped and it has actually been made into a library.

I can only agree with your feeling.
I tried to write some kind of wrapper over hspec for language-puppet to test for catalog properties easily, but it sucked a bit. I never really used it, so it was scrapped recently.
language-puppet is actually a library, and if you have an idea of what kind of tests you would like to write, I would be happy to think about it and suggest a way of implementing them. I personally only wrote catalog-wide unit tests (for example to ensure some security properties), and never thought about module properties.
There are a couple of problems with using it though :

I don't think this would help you with people wanting rspec tests. They are VERY unlikely to use a Haskell based tool. They have a way of thinking that leaves me completely baffled ...
I don't know how to write a quasi-quoter for the puppet language, because of the regexp constructor of the AST. It is certainly possible, but I didn't really delve into this magic. I don't know how this feature would be useful to you.
Support for ruby 1.9 is currently lacking. The main user is the latests Ubuntu LTS, which is quite popular. I committed to fixing it, but I am not sure when I'll have time for that ...

So let me know what kind of tests you'd like to write, preferably as code, and I'll tell you how much work that would entail.

I don't know how to do this but this would be awesome.
The more I use puppetresources the more I have a need to complete the actual testing part.
For instance, testing for users and groups has been removed (by me) because such handling might be quite specific. But the need for such a test just came up this morning for me ;-)
It would be great to have such an extension mechanism where custom tests can be added.
Have you some idea about how to do this ?
I will be glad to help in the process.
Cheers

My original idea was that if you needed custom tests you'd write your own version of puppetresources, calling some extra tests with the stock ones ...
No Haskell extension mechanisms can be easily distributed because you would need a GHC install with all the right packages.
Another solution would be some sort of testing DSL, but writing it would be a major undertaking ..

I guess I will do that in the meanwhile as I already have a custom puppetresources that find all nodes by reading the pdbfile.
That makes me wonder if this specific use case (testing the nodes from the pdbfile) is not something that could be useful generally. We could change puppetresources so that if none of -o, -a or --parse is used, given a --pdbfile is given, the puppetresources command would do exactly that ...

I don't know if that would be useful generally. I don't know if it's a widely used feature (actually I believe we are the only two users of the package, but well), as it's not obvious to use properly, and greatly increases the startup time ..

I will spend no time on this unless someone asks for such a thing.
 That said we are using it across multiple teams here (so there are more users than you think ;-)

No activity ...


Bump to v0.1.3

You could add a .versions.yml to bump everything at once with suite-py!

I shall add it to this PR :)


Integrate AZURE sql index script or using azure portal

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

No details provided. Only the template content included.


create_patches: linearize history if too complex

git is not able to create a sequence of patches when git history is too complex:
https://github.com/packit-service/packit/pull/766#issuecomment-602030852
we are also generating patches using one git format-patch call
reproducer:
$ git clone https://github.com/systemd-ci-incubator/systemd.git
$ cd systemd
$ git fetch origin "+refs/pull/1/head:refs/remotes/origin/pr/1"
$ git checkout pr/1
$ packit --debug srpm
$ mock --rebuild ./*.src.rpm

So, after reading through docs and several stack overflow posts, git format-patch is apparently not powerful enough to generate a series of patches when the history is full of merge commits.
However, in one such post someone suggested a solution, which generates a single patch that contains all necessary metadata so git am is able to apply it back even with a more complex history - and it seems to work for the systemd case, at least for now:
$ git log -p --reverse --pretty=email --stat -m --first-parent v245..HEAD > everything.patch

rpmbuild -bp systemd.spec passes as well when using such patch.

Apparently, thanks to the -m option this could be used to generate single patches as well:
i=1
for sha in $(git log --reverse --first-parent v245..HEAD --format="%H"); do
    git log -1 -p -m --stat --pretty=email $sha > "$(printf "%04d" $i)-$sha.patch"
    ((i++));
done

which generates standard patches, like:
$ ls *.patch | wc -l
72
$ ls *.patch
0001-aab4be681dd7340dc67f0204b4259548110463ec.patch
0002-9fade887f18061563160316f3ed15548e8475b04.patch
0003-cf27624ceaeb3ff13cd8857ada8567155f88c707.patch
0004-e0e7399fac41ca5d4a9590e28832005a7024a660.patch
...

and git am seems to be happy as well:
$ git reset --hard v245
HEAD is now at ea500ac513 Merge pull request #15034 from keszybz/hwdb-update
$ git am *.patch
Applying: Fix typo on initrd-root-device.target
Applying: core: Fix resolution of nested DM devices for cgroups
Applying: Merge pull request #15010 from cgzones/selinux_reload_cache_enforce
Applying: Merge pull request #14956 from ssahani/delegated-prefix-14474
Applying: Merge pull request #14904 from ssahani/dhcp-server-force-renew
Applying: Merge pull request #14893 from benzea/benzea/generator-path-environment-variables
Applying: systemd-resolved: use hostname for certificate validation in DoT
Applying: network: Allow DHCPv6 client to start without router's managed flag.
Applying: network: add setting to support RA without DHCPv6 client
Applying: network: Add support to ignore foreign routes
Applying: udev: support to update flow control parameter
Applying: Merge pull request #14890 from yuwata/network-tc-next
Applying: Merge pull request #15038 from lucaswerkmeister/docs
Applying: Merge pull request #15036 from yuwata/can-termination-mod
.git/rebase-apply/patch:67: tab in indent.
	__u32 bitrate;		/* Bit-rate in bits/second */
.git/rebase-apply/patch:68: tab in indent.
	__u32 sample_point;	/* Sample point in one-tenth of a percent */
.git/rebase-apply/patch:69: tab in indent.
	__u32 tq;		/* Time quanta (TQ) in nanoseconds */
.git/rebase-apply/patch:70: tab in indent.
	__u32 prop_seg;		/* Propagation segment in TQs */
.git/rebase-apply/patch:71: tab in indent.
	__u32 phase_seg1;	/* Phase buffer segment 1 in TQs */
warning: squelched 47 whitespace errors
warning: 52 lines add whitespace errors.
Applying: boot: Ensure ARM UEFI binary does not contain FP/SIMD instructions
Applying: Update Croatian translation (#15042)
...
Applying: logind: log a more accurate error when we failed at session creation
Applying: login: allow non-console sessions to change vt
Applying: Fix keys on Medion Akoya P6669
Applying: packit: initial config
.git/rebase-apply/patch:268: space before tab in indent.
   	  userdel nobody
warning: 1 line adds whitespace errors.
Applying: debug-only

I'm not sure about the dirtiness of this solution, so please take it with a grain of salt.

I'm back now - so what I did locally right now is that I create a new branch from the PR, transformed the history to be linear with git-format-branch and it's working just fine.

TFT failure:
ERROR Failed when getting upstream releases: 403 {'message': "API rate limit exceeded for <IP_ADDRESS>. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)", 'documentation_url': 'https://developer.github.com/v3/#rate-limiting'}

/packit test

what is wrong with pre-commit today?

recheck

recheck

recheck

This PR is cursed:
Failed to download file from URL https://src.fedoraproject.org/rpms/python-ogr/blob/master/f/python-ogr.spec. Reason: 'NOT FOUND'.

No idea what/where broke, but make check_in_container in current master (i.e. after merging this PR) spits a lot of errors at me:
subprocess.CalledProcessError: Command '['git', 'commit', '--allow-empty', '-m', 'empty commit #0']' returned non-zero exit status 128.

You can see them also in the output of packit/testing-farm-fedora-30-x86_64 here.

*** Please tell me who you are.Run git config --global user.email<EMAIL_ADDRESS>git config --global user.name "Your Name"to set your account's default identity.Omit --global to set the identity only in this repository.fatal: unable to auto-detect email address (got 'root@localhost.(none)')

I skimmed through this PR and can't see any changes where the breakage would be clear.


Includes iOS-specific code paths on visionOS

This PR fixes an issue where Kingfisher no longer compiles with Xcode 15 beta 6.
Up until Xcode beta 5, any changes wrapped in #if os(iOS) ... #endif would be included on visionOS, however, that is no longer the case in beta 6. Therefore we need to ensure that any existing iOS-specific code paths are included on visionOS.

LGTM!
Although the CI should run without a problem since it (Xcode 14) does not yet contain anything about visionOS, I will perform a run and merge it very soon!

@simonbs
Thank you! I noticed that you opened this merge with feature/visionOS as the base branch. I will also merge it to master and tag a new release soon.

@simonbs
Thank you! I noticed that you opened this merge with feature/visionOS as the base branch. I will also merge it to master and tag a new release soon.

Thanks for reviewing and merging the PR so fast 🙌
I was a little unsure what would be the best base branch for this. Thanks for merging it to master too 🙏


ZK root directory /hbase-unsecure

Hi!
I tried to use your library and can't find where I can change which path to hbase root directory should use "library". If I understand right default path "/hbase" but we use  "/hbase-unsecure"
How I can change path in your library?
Thank you!

Guys?

Guys?
you can use ZookeeperRoot to rewrite the zkroot from "/hbase" to "/hbase-unsecure", just like:
cli := gohbase.NewAdminClient(*CustomHost, gohbase.ZookeeperRoot("/hbase-unsecure"))


Command: Add SearXNG as Search Provider

Api info here: https://docs.searxng.org/dev/search_api.html
Google API is limited, needs a key, you only get 100 queries and then have to pay.
Other options exist but face many of the same issues.
SearXNG can be implemented via docker and loaded locally to provide meta search and results returned in json if you enable it in the docker configs.
you can see an example implementation from langchain here:
https://python.langchain.com/en/latest/_modules/langchain/utilities/searx_search.html?highlight=searxng#

Thanks for the good info!  Sounds like a good idea for a new command.  I haven't personally used SearXNG, but I can plan to implement this in the future after I get through some of the bugs.

#97 Merged to begin SearXNG support.  Please create a new issue if there are any issues.


Refactor use of createMachine with models

This PR refactors use of createMachine<typeof model> to model.createMachine (preferred)

Added some tiny fixes for this PR here: https://github.com/statelyai/xstate/pull/2525


notebooks, scripts, figures, device, and client code

API backwards compatibility fixes, variable type fixes, try-except blocks and machine resets to try to address device failure https://github.com/sparks-baird/self-driving-lab-demo/issues/157
MongoDB logging on the client side in case of failure on the device side. closes https://github.com/sparks-baird/self-driving-lab-demo/issues/154, #134

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

16 of 59 (27.12%)  changed or added relevant lines in 6 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-2.3%) to 48.194%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/self_driving_lab_demo/core.py
1
2
50.0%

src/self_driving_lab_demo/demos/liquid.py
0
7
0.0%

src/self_driving_lab_demo/utils/observe.py
10
20
50.0%

src/self_driving_lab_demo/utils/data_logging.py
0
25
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
-2.3%

Covered Lines:
295

Relevant Lines:
553

💛  - Coveralls


Feature request :support existing GAE image service

image service is beneficial and a must to have. Please support this for nodejs

+1


Add check phase to ninja setup hook

Motivation for this change
Most tests in Ninja packages were not getting run because the default check phase assumes you have a Makefile. This adds a check phase to Ninja's setup-hook to fix this. Here is what I changed:

Respect installFlags
Automatically add checkPhase (can be disabled with dontUseNinjaCheck
in the same way as dontUseNinjaBuild and dontUseNinjaInstall). Tests
are only run when "ninja test" exists.
Error in build phase when build.ninja is missing. We don’t have a
way to fall back to other build methods, so it’s best to be very
clear when we aren’t able to build with ninja
Set -l flag to 1 when enableParallelBuilding is disabled

Intended as an alternative to #50323.

Success on x86_64-linux (full log)
Attempted: glib, ninja
Partial log (click to expand)
strip is /nix/store/j13c9z0z495wxdc97if8z451x53m1j25-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/cayd6cjsjsv745w5xia2kxnvff5jn8lx-glib-2.56.0-dev/lib  /nix/store/cayd6cjsjsv745w5xia2kxnvff5jn8lx-glib-2.56.0-dev/bin
patching script interpreter paths in /nix/store/cayd6cjsjsv745w5xia2kxnvff5jn8lx-glib-2.56.0-dev
/nix/store/cayd6cjsjsv745w5xia2kxnvff5jn8lx-glib-2.56.0-dev/bin/glib-gettextize: interpreter directive changed from " /bin/sh" to "/nix/store/qnp0bgn3icxrwcnnhz4pcjynxbcnxfv9-bash-4.4-p23/bin/sh"
/nix/store/cayd6cjsjsv745w5xia2kxnvff5jn8lx-glib-2.56.0-dev/bin/gdbus-codegen: interpreter directive changed from "/usr/bin/env /nix/store/47rm1s86gm284237b1gkv2kdq37jhb6j-python-2.7.15/bin/python" to "/nix/store/47rm1s86gm284237b1gkv2kdq37jhb6j-python-2.7.15/bin/python"
checking for references to /build/ in /nix/store/cayd6cjsjsv745w5xia2kxnvff5jn8lx-glib-2.56.0-dev...
shrinking RPATHs of ELF executables and libraries in /nix/store/gqk0ml9793dhv648wv25bx67rsjx9fl0-glib-2.56.0-devdoc
strip is /nix/store/j13c9z0z495wxdc97if8z451x53m1j25-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/gqk0ml9793dhv648wv25bx67rsjx9fl0-glib-2.56.0-devdoc
checking for references to /build/ in /nix/store/gqk0ml9793dhv648wv25bx67rsjx9fl0-glib-2.56.0-devdoc...

Success on aarch64-linux (full log)
Attempted: glib, ninja
Partial log (click to expand)
strip is /nix/store/1jprj383qnzd50vn8qq3a0id6a08a9fi-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/d14iwxq31f52awsh1bqsvlf4m4wqh2by-glib-2.56.0-dev/lib  /nix/store/d14iwxq31f52awsh1bqsvlf4m4wqh2by-glib-2.56.0-dev/bin
patching script interpreter paths in /nix/store/d14iwxq31f52awsh1bqsvlf4m4wqh2by-glib-2.56.0-dev
/nix/store/d14iwxq31f52awsh1bqsvlf4m4wqh2by-glib-2.56.0-dev/bin/glib-gettextize: interpreter directive changed from " /bin/sh" to "/nix/store/vg9477j4nafj505cr9agvgndxys7743x-bash-4.4-p23/bin/sh"
/nix/store/d14iwxq31f52awsh1bqsvlf4m4wqh2by-glib-2.56.0-dev/bin/gdbus-codegen: interpreter directive changed from "/usr/bin/env /nix/store/bvzs2rgp66nk5fgna8ilvln8pa0p0jcn-python-2.7.15/bin/python" to "/nix/store/bvzs2rgp66nk5fgna8ilvln8pa0p0jcn-python-2.7.15/bin/python"
checking for references to /build/ in /nix/store/d14iwxq31f52awsh1bqsvlf4m4wqh2by-glib-2.56.0-dev...
shrinking RPATHs of ELF executables and libraries in /nix/store/c6rmg4ys7lgbq9dmadmf23ghmjn9pl1d-glib-2.56.0-devdoc
strip is /nix/store/1jprj383qnzd50vn8qq3a0id6a08a9fi-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/c6rmg4ys7lgbq9dmadmf23ghmjn9pl1d-glib-2.56.0-devdoc
checking for references to /build/ in /nix/store/c6rmg4ys7lgbq9dmadmf23ghmjn9pl1d-glib-2.56.0-devdoc...

Timed out, unknown build status on x86_64-darwin (full log)
Attempted: glib, ninja
Partial log (click to expand)
cannot build derivation '/nix/store/nhnja8qs96wdi7rcs9ry4ngz64bcg08r-xnu-osx-10.11.6.drv': 8 dependencies couldn't be built
cannot build derivation '/nix/store/a65ml2k3yv1rxjs4i6qdnfpbc3g3syy1-IOKit-osx-10.11.6.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/51ypy2bdwxw87ck5vz4sn4zj6vdly0v7-configd-osx-10.8.5.drv': 8 dependencies couldn't be built
cannot build derivation '/nix/store/08lmrn8y8x55gr99dkilmmqn3r93a040-python-2.7.15.drv': 8 dependencies couldn't be built
cannot build derivation '/nix/store/a8zcr6j44s9fw3l6n6nilfx4i1yaas8d-asciidoc-8.6.9.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/hzdz4rg2fsacfc02iv6n9j72fpx40bcn-glib-2.56.0.drv': 6 dependencies couldn't be built
cannot build derivation '/nix/store/cckwidc5lap1xkmgcdj826pa7bhfgcgq-libxml2-2.9.8.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/p6hxvdaw0vkkjyfpb0p5ynhz91krgy0x-libxslt-1.1.32.drv': 4 dependencies couldn't be built
cannot build derivation '/nix/store/iv06k5yi180jk4d07l5qsvi9c7q75fhr-ninja-1.8.2.drv': 7 dependencies couldn't be built
error: build of '/nix/store/hzdz4rg2fsacfc02iv6n9j72fpx40bcn-glib-2.56.0.drv', '/nix/store/iv06k5yi180jk4d07l5qsvi9c7q75fhr-ninja-1.8.2.drv' failed

Success on aarch64-linux (full log)
Attempted: glib, ninja
Partial log (click to expand)
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/hlvhnbprimqq6rlzr9s4ylpq8ikbybsq-ninja-1.8.2
shrinking /nix/store/hlvhnbprimqq6rlzr9s4ylpq8ikbybsq-ninja-1.8.2/bin/ninja
strip is /nix/store/1jprj383qnzd50vn8qq3a0id6a08a9fi-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/hlvhnbprimqq6rlzr9s4ylpq8ikbybsq-ninja-1.8.2/bin
patching script interpreter paths in /nix/store/hlvhnbprimqq6rlzr9s4ylpq8ikbybsq-ninja-1.8.2
checking for references to /build/ in /nix/store/hlvhnbprimqq6rlzr9s4ylpq8ikbybsq-ninja-1.8.2...
/nix/store/jglaxw6aghh4rplmv3xxhslhdr3vmmzi-glib-2.56.0-bin
/nix/store/hlvhnbprimqq6rlzr9s4ylpq8ikbybsq-ninja-1.8.2

Success on x86_64-linux (full log)
Attempted: glib, ninja
Partial log (click to expand)
patching script interpreter paths in /nix/store/cayd6cjsjsv745w5xia2kxnvff5jn8lx-glib-2.56.0-dev
/nix/store/cayd6cjsjsv745w5xia2kxnvff5jn8lx-glib-2.56.0-dev/bin/gdbus-codegen: interpreter directive changed from "/usr/bin/env /nix/store/47rm1s86gm284237b1gkv2kdq37jhb6j-python-2.7.15/bin/python" to "/nix/store/47rm1s86gm284237b1gkv2kdq37jhb6j-python-2.7.15/bin/python"
/nix/store/cayd6cjsjsv745w5xia2kxnvff5jn8lx-glib-2.56.0-dev/bin/glib-gettextize: interpreter directive changed from " /bin/sh" to "/nix/store/qnp0bgn3icxrwcnnhz4pcjynxbcnxfv9-bash-4.4-p23/bin/sh"
checking for references to /build/ in /nix/store/cayd6cjsjsv745w5xia2kxnvff5jn8lx-glib-2.56.0-dev...
shrinking RPATHs of ELF executables and libraries in /nix/store/gqk0ml9793dhv648wv25bx67rsjx9fl0-glib-2.56.0-devdoc
strip is /nix/store/j13c9z0z495wxdc97if8z451x53m1j25-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/gqk0ml9793dhv648wv25bx67rsjx9fl0-glib-2.56.0-devdoc
checking for references to /build/ in /nix/store/gqk0ml9793dhv648wv25bx67rsjx9fl0-glib-2.56.0-devdoc...
/nix/store/pv0s3g4qxqflz2c8jbywdfjlr349jra7-glib-2.56.0-bin
/nix/store/r384i98cn696g968rgaw4gylw545l7sn-ninja-1.8.2

Timed out, unknown build status on x86_64-darwin (full log)
Attempted: glib, ninja
Partial log (click to expand)
cannot build derivation '/nix/store/3z43haz23x1kfprq92qpkac270rq84qs-xnu-osx-10.11.6.drv': 8 dependencies couldn't be built
cannot build derivation '/nix/store/nm4i2ygdarqr5p7s8qaryp41xr6szy03-IOKit-osx-10.11.6.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/qjbzpk5ah45ss79piq19z6b1hj5inkwg-configd-osx-10.8.5.drv': 8 dependencies couldn't be built
cannot build derivation '/nix/store/bmxfgrckxrhvjyxxfvsddjj2kxvm9v8a-python-2.7.15.drv': 8 dependencies couldn't be built
cannot build derivation '/nix/store/0bmjh9v19n96cdjgck26nilsqbnmas0i-asciidoc-8.6.9.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/ms5rjgpa1hlrp7sdp8bi1y9096i0pjwm-glib-2.56.0.drv': 6 dependencies couldn't be built
cannot build derivation '/nix/store/37mnp68y5xxklji2x2gp0142w057p5jl-libxml2-2.9.8.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/4c3s5n99szgm3nm79rzwnvy37q5zjx8j-libxslt-1.1.32.drv': 4 dependencies couldn't be built
cannot build derivation '/nix/store/z7lazzi3gvlmvkygqf4r77jckff5lxhl-ninja-1.8.2.drv': 7 dependencies couldn't be built
error: build of '/nix/store/ms5rjgpa1hlrp7sdp8bi1y9096i0pjwm-glib-2.56.0.drv', '/nix/store/z7lazzi3gvlmvkygqf4r77jckff5lxhl-ninja-1.8.2.drv' failed

@jtojnar This looks like it breaks a few packages that have broken tests. Especially with meson+ninja packages (gnome-keyring).
/cc @oxij

One thing meson test has, it accepts extra arguments. For example, I can filter the tests or wrap them in xvfb-run: http://mesonbuild.com/Unit-tests.html#testing-tool

@jtojnar That is definitely a disadvantage of doing make check. But, I believe ninja test will pass these correctly. Ideally you should just have to pass them in as checkFlags = "...";.

Ninja does not have flags, it has only targets.

Failure on aarch64-linux (full log)
Attempted: glib, meson, ninja
Partial log (click to expand)
bootstrap complete.  rebuilding...
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/byhldspwspzjjs9325ghyjj0qb8c4fhi-ninja-1.8.2
shrinking /nix/store/byhldspwspzjjs9325ghyjj0qb8c4fhi-ninja-1.8.2/bin/ninja
strip is /nix/store/1jprj383qnzd50vn8qq3a0id6a08a9fi-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/byhldspwspzjjs9325ghyjj0qb8c4fhi-ninja-1.8.2/bin
patching script interpreter paths in /nix/store/byhldspwspzjjs9325ghyjj0qb8c4fhi-ninja-1.8.2
checking for references to /build/ in /nix/store/byhldspwspzjjs9325ghyjj0qb8c4fhi-ninja-1.8.2...
error: build of '/nix/store/zyh2zgqv8zqvnzbirwh2asqzcrjhrji2-meson-0.48.2.drv' failed

Failure on x86_64-linux (full log)
Attempted: glib, meson, ninja
Partial log (click to expand)
patching file mesonbuild/compilers/compilers.py
patching file mesonbuild/scripts/depfixer.py
applying patch /nix/store/f8hlcmkcwvzamf6iikb7vcz19g4clyhi-a87496addd9160300837aa50193f4798c6f1d251.patch
patching file mesonbuild/compilers/compilers.py
Reversed (or previously applied) patch detected!  Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file mesonbuild/compilers/compilers.py.rej
builder for '/nix/store/0vb7x0jzn1gjczqnacyvrxrpc4c9qq3a-meson-0.48.2.drv' failed with exit code 1
error: build of '/nix/store/0vb7x0jzn1gjczqnacyvrxrpc4c9qq3a-meson-0.48.2.drv' failed

Failure on aarch64-linux (full log)
Attempted: meson, ninja
Partial log (click to expand)
bootstrap complete.  rebuilding...
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/2bsynb359mrr8rfkvvjri7p3yngjydyl-ninja-1.8.2
shrinking /nix/store/2bsynb359mrr8rfkvvjri7p3yngjydyl-ninja-1.8.2/bin/ninja
strip is /nix/store/1jprj383qnzd50vn8qq3a0id6a08a9fi-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/2bsynb359mrr8rfkvvjri7p3yngjydyl-ninja-1.8.2/bin
patching script interpreter paths in /nix/store/2bsynb359mrr8rfkvvjri7p3yngjydyl-ninja-1.8.2
checking for references to /build/ in /nix/store/2bsynb359mrr8rfkvvjri7p3yngjydyl-ninja-1.8.2...
error: build of '/nix/store/zyh2zgqv8zqvnzbirwh2asqzcrjhrji2-meson-0.48.2.drv' failed

Failure on x86_64-linux (full log)
Attempted: meson, ninja
Partial log (click to expand)
bootstrap complete.  rebuilding...
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/rvq00k7ch3kdzlwgdg0sax8ink6z1xsr-ninja-1.8.2
shrinking /nix/store/rvq00k7ch3kdzlwgdg0sax8ink6z1xsr-ninja-1.8.2/bin/ninja
strip is /nix/store/j13c9z0z495wxdc97if8z451x53m1j25-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/rvq00k7ch3kdzlwgdg0sax8ink6z1xsr-ninja-1.8.2/bin
patching script interpreter paths in /nix/store/rvq00k7ch3kdzlwgdg0sax8ink6z1xsr-ninja-1.8.2
checking for references to /build/ in /nix/store/rvq00k7ch3kdzlwgdg0sax8ink6z1xsr-ninja-1.8.2...
error: build of '/nix/store/0vb7x0jzn1gjczqnacyvrxrpc4c9qq3a-meson-0.48.2.drv' failed

Timed out, unknown build status on x86_64-darwin (full log)
Attempted: glib, meson, ninja
Partial log (click to expand)
cannot build derivation '/nix/store/d6fsin2smra7g390z862fdvjbk63zw7q-libxml2-2.9.8.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/9c97hslvfkd9xz4iyh7drcnfvkajqz5k-libxslt-1.1.32.drv': 4 dependencies couldn't be built
cannot build derivation '/nix/store/k0jid42z9m7jjfhfwzjl98hlyk3pxhks-ninja-1.8.2.drv': 7 dependencies couldn't be built
cannot build derivation '/nix/store/5ag7hcglas7vs7495xx583zmpmcryl6q-swift-corefoundation.drv': 6 dependencies couldn't be built
cannot build derivation '/nix/store/wxdqhk8ahxz24jv7fm10s4pmmld5c895-python3-3.7.1.drv': 9 dependencies couldn't be built
cannot build derivation '/nix/store/asmk1fp8dj48mwjdrg9vm6z8rr2fg1y4-hook.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/xnf9fwibx1z6grjlp7vfydddn84wbl99-python3.7-bootstrapped-pip-18.1.drv': 4 dependencies couldn't be built
cannot build derivation '/nix/store/8lvyw58l01saz97kjia06c8vfpi74sm2-python3.7-setuptools-40.4.3.drv': 4 dependencies couldn't be built
cannot build derivation '/nix/store/hp988qnb31qxqvdi7s3lyx0jk931h3c3-meson-0.48.2.drv': 9 dependencies couldn't be built
error: build of '/nix/store/hp988qnb31qxqvdi7s3lyx0jk931h3c3-meson-0.48.2.drv', '/nix/store/k0jid42z9m7jjfhfwzjl98hlyk3pxhks-ninja-1.8.2.drv', '/nix/store/ycdsz5ld11qdmzdahalm13i4i485aynk-glib-2.56.0.drv' failed

Timed out, unknown build status on x86_64-darwin (full log)
Attempted: meson, ninja
Partial log (click to expand)
cannot build derivation '/nix/store/izwwqcv1dhc13ywlb1k33q4yn7sdsm9m-libxml2-2.9.8.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/5j3p76750crbnc8p6rjff741kk513yya-libxslt-1.1.32.drv': 4 dependencies couldn't be built
cannot build derivation '/nix/store/3zyga9vikfqsxq9kbsvgv2s0ygdbsr1r-ninja-1.8.2.drv': 7 dependencies couldn't be built
cannot build derivation '/nix/store/m99lf43y7snjar14j8j8wixrg24d0kx6-swift-corefoundation.drv': 6 dependencies couldn't be built
cannot build derivation '/nix/store/n65m1qj9dkw4b9pzb5j51viknxnq5zbm-python3-3.7.1.drv': 9 dependencies couldn't be built
cannot build derivation '/nix/store/kix9rp51yrnadx3h3hwybqzhjdk1h0j4-hook.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/qg3fisjs8gwzdb4kfq14gv1jwxpfqr7i-python3.7-bootstrapped-pip-18.1.drv': 4 dependencies couldn't be built
cannot build derivation '/nix/store/y2fp2yh6i8qkinc2mbrqy35rzi8p5zqv-python3.7-setuptools-40.4.3.drv': 4 dependencies couldn't be built
cannot build derivation '/nix/store/xs3jnwy409pygiqyv9rwqcmpm5a1s5s9-meson-0.48.2.drv': 9 dependencies couldn't be built
error: build of '/nix/store/3zyga9vikfqsxq9kbsvgv2s0ygdbsr1r-ninja-1.8.2.drv', '/nix/store/xs3jnwy409pygiqyv9rwqcmpm5a1s5s9-meson-0.48.2.drv' failed

As a side note, it would be nice to have support for wrapping tests in the setup hooks so that we do not need to do
https://github.com/NixOS/nixpkgs/blob/0925c482c8378e8a6a8724edc6596ea60f90a113/pkgs/development/libraries/libdazzle/default.nix#L28-L33

As a side note, it would be nice to have support for wrapping tests in the setup hooks so that we do not need to do
nixpkgs/pkgs/development/libraries/libdazzle/default.nix
Lines 28 to 33 in 0925c48
checkPhase = ''
export NO_AT_BRIDGE=1
xvfb-run -s '-screen 0 800x600x24' dbus-run-session \
--config-file=${dbus.daemon}/share/dbus-1/session.conf \
meson test --print-errorlogs
'';

Yes! This would be nice to abstract out. It would also be useful with my "exeWrapper" work:
#50212
So, you could run tests after cross compiling. It gets a little bit complicated because you may not have all of the right tools cross built in this case, but it's a similar principle to dbus-run-session.

Success on aarch64-linux (full log)
Attempted: cmake, meson, ninja
Partial log (click to expand)
shrinking /nix/store/7likmi7hhwzmi5mqsbi63ja4vkwwyfij-cmake-3.12.1/bin/cpack
shrinking /nix/store/7likmi7hhwzmi5mqsbi63ja4vkwwyfij-cmake-3.12.1/bin/ctest
shrinking /nix/store/7likmi7hhwzmi5mqsbi63ja4vkwwyfij-cmake-3.12.1/bin/cmake
strip is /nix/store/1jprj383qnzd50vn8qq3a0id6a08a9fi-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/7likmi7hhwzmi5mqsbi63ja4vkwwyfij-cmake-3.12.1/bin
patching script interpreter paths in /nix/store/7likmi7hhwzmi5mqsbi63ja4vkwwyfij-cmake-3.12.1
/nix/store/7likmi7hhwzmi5mqsbi63ja4vkwwyfij-cmake-3.12.1/share/cmake-3.12/Modules/CPack.STGZ_Header.sh.in: interpreter directive changed from "/bin/sh" to "/nix/store/vg9477j4nafj505cr9agvgndxys7743x-bash-4.4-p23/bin/sh"
/nix/store/7likmi7hhwzmi5mqsbi63ja4vkwwyfij-cmake-3.12.1/share/cmake-3.12/Modules/Squish4RunTestCase.sh: interpreter directive changed from "/bin/sh" to "/nix/store/vg9477j4nafj505cr9agvgndxys7743x-bash-4.4-p23/bin/sh"
/nix/store/7likmi7hhwzmi5mqsbi63ja4vkwwyfij-cmake-3.12.1/share/cmake-3.12/Modules/SquishRunTestCase.sh: interpreter directive changed from "/bin/sh" to "/nix/store/vg9477j4nafj505cr9agvgndxys7743x-bash-4.4-p23/bin/sh"
checking for references to /build/ in /nix/store/7likmi7hhwzmi5mqsbi63ja4vkwwyfij-cmake-3.12.1...

Success on x86_64-linux (full log)
Attempted: cmake, meson, ninja
Partial log (click to expand)
shrinking /nix/store/2jv92s1gab5v15v9h2vh992xs9wpmwin-cmake-3.12.1/bin/ctest
shrinking /nix/store/2jv92s1gab5v15v9h2vh992xs9wpmwin-cmake-3.12.1/bin/cpack
shrinking /nix/store/2jv92s1gab5v15v9h2vh992xs9wpmwin-cmake-3.12.1/bin/cmake
strip is /nix/store/j13c9z0z495wxdc97if8z451x53m1j25-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/2jv92s1gab5v15v9h2vh992xs9wpmwin-cmake-3.12.1/bin
patching script interpreter paths in /nix/store/2jv92s1gab5v15v9h2vh992xs9wpmwin-cmake-3.12.1
/nix/store/2jv92s1gab5v15v9h2vh992xs9wpmwin-cmake-3.12.1/share/cmake-3.12/Modules/SquishRunTestCase.sh: interpreter directive changed from "/bin/sh" to "/nix/store/qnp0bgn3icxrwcnnhz4pcjynxbcnxfv9-bash-4.4-p23/bin/sh"
/nix/store/2jv92s1gab5v15v9h2vh992xs9wpmwin-cmake-3.12.1/share/cmake-3.12/Modules/Squish4RunTestCase.sh: interpreter directive changed from "/bin/sh" to "/nix/store/qnp0bgn3icxrwcnnhz4pcjynxbcnxfv9-bash-4.4-p23/bin/sh"
/nix/store/2jv92s1gab5v15v9h2vh992xs9wpmwin-cmake-3.12.1/share/cmake-3.12/Modules/CPack.STGZ_Header.sh.in: interpreter directive changed from "/bin/sh" to "/nix/store/qnp0bgn3icxrwcnnhz4pcjynxbcnxfv9-bash-4.4-p23/bin/sh"
checking for references to /build/ in /nix/store/2jv92s1gab5v15v9h2vh992xs9wpmwin-cmake-3.12.1...

Timed out, unknown build status on x86_64-darwin (full log)
Attempted: cmake, meson, ninja
Partial log (click to expand)
cannot build derivation '/nix/store/nvnmlpi78k3f505m5aydk0rhx5m6apii-libxslt-1.1.32.drv': 4 dependencies couldn't be built
cannot build derivation '/nix/store/60pnfr7mwnc9p934kyhm5vl357n36g6y-cmake-3.12.1.drv': 9 dependencies couldn't be built
cannot build derivation '/nix/store/nj8hhjh47zqykn9dq4lrwfgx7q69fn9d-ninja-1.8.2.drv': 7 dependencies couldn't be built
cannot build derivation '/nix/store/9d2bljywa8zr2r7k1lcshvjpi2d938rl-swift-corefoundation.drv': 6 dependencies couldn't be built
cannot build derivation '/nix/store/g40fd5kc6wyy7lxa4cazppyq4vvdqdgc-python3-3.7.1.drv': 9 dependencies couldn't be built
cannot build derivation '/nix/store/ifz1pzgb9vwb1djs5skxcswf0bw81q1m-hook.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/whk0z66j59g7n192wrf5zqc2g7ix5wcv-python3.7-bootstrapped-pip-18.1.drv': 4 dependencies couldn't be built
cannot build derivation '/nix/store/9c0i3kacv4xgnj5rcpgpccjyj0zxaisn-python3.7-setuptools-40.4.3.drv': 4 dependencies couldn't be built
cannot build derivation '/nix/store/b29065aij7w8dswxjy7g2a6hd7jxwbnm-meson-0.48.2.drv': 9 dependencies couldn't be built
error: build of '/nix/store/60pnfr7mwnc9p934kyhm5vl357n36g6y-cmake-3.12.1.drv', '/nix/store/b29065aij7w8dswxjy7g2a6hd7jxwbnm-meson-0.48.2.drv', '/nix/store/nj8hhjh47zqykn9dq4lrwfgx7q69fn9d-ninja-1.8.2.drv' failed

@grahamcofborg build cmark at-spi2-atk

Timed out, unknown build status on x86_64-darwin (full log)
Attempted: cmark, at-spi2-atk
Partial log (click to expand)
cannot build derivation '/nix/store/dfqabdp28vlv7a17f3j51pdscfhkgchn-apple-framework-Foundation.drv': 7 dependencies couldn't be built
cannot build derivation '/nix/store/wkrk521h2swd0xabcsgg96ha910pgwwd-apple-framework-QuartzCore.drv': 6 dependencies couldn't be built
cannot build derivation '/nix/store/bkccj6ahzwyqpfwzv1b9665y6chhsy13-apple-framework-Carbon.drv': 9 dependencies couldn't be built
cannot build derivation '/nix/store/d06pxzq36jpqxy8cz135yrl0zazjyvm0-cairo-1.16.0.drv': 17 dependencies couldn't be built
cannot build derivation '/nix/store/jgp3g91gnd149vl8a83bd0lfi6v0gwn5-absolute_gir_path.patch.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/8v4v4vhsrp30cw6hswa3kgsj9j7fivf8-gobject-introspection-1.56.0.drv': 10 dependencies couldn't be built
cannot build derivation '/nix/store/zp1443h950s80adljz684353zgqm5nws-at-spi2-core-2.28.0.drv': 11 dependencies couldn't be built
cannot build derivation '/nix/store/cihh91mmcnb8hlyq9qhj53q78hci1mch-atk-2.28.1.drv': 8 dependencies couldn't be built
cannot build derivation '/nix/store/ahlhx5hiyvhlpq3va13d6g3d5bzf0ba3-at-spi2-atk-2.26.2.drv': 10 dependencies couldn't be built
error: build of '/nix/store/ahlhx5hiyvhlpq3va13d6g3d5bzf0ba3-at-spi2-atk-2.26.2.drv', '/nix/store/kvypd8kny63v0b4z6qjhx19s8k7gqw6m-cmark-0.28.3.drv' failed

Timed out, unknown build status on x86_64-linux (full log)
Attempted: cmark, at-spi2-atk
Partial log (click to expand)
checking for references to /build/ in /nix/store/g610yh13619ac0k35nd2r4kgcpp4q2nk-dbus-1.12.10-lib...
shrinking RPATHs of ELF executables and libraries in /nix/store/d2p8adj78ga9zr6bbwddn8r7xmm89498-dbus-1.12.10-doc
strip is /nix/store/j13c9z0z495wxdc97if8z451x53m1j25-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/d2p8adj78ga9zr6bbwddn8r7xmm89498-dbus-1.12.10-doc
checking for references to /build/ in /nix/store/d2p8adj78ga9zr6bbwddn8r7xmm89498-dbus-1.12.10-doc...
Moving /nix/store/hizdfbiand4709p71fh2v7h4ahm43h9f-dbus-1.12.10/bin/dbus-launch to /nix/store/g610yh13619ac0k35nd2r4kgcpp4q2nk-dbus-1.12.10-lib/bin/dbus-launch
rmdir: failed to remove '/nix/store/hizdfbiand4709p71fh2v7h4ahm43h9f-dbus-1.12.10/bin': Directory not empty
cannot build derivation '/nix/store/4vw4jnlz2jhq3958vm0r33dp2z60zbw6-at-spi2-core-2.28.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/1zll3pp7nk9znrwdlvg33sls3ivj20qg-at-spi2-atk-2.26.2.drv': 2 dependencies couldn't be built
error: build of '/nix/store/1zll3pp7nk9znrwdlvg33sls3ivj20qg-at-spi2-atk-2.26.2.drv' failed

Success on aarch64-linux (full log)
Attempted: cmark, at-spi2-atk
Partial log (click to expand)
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/0x4wyn65ybl7b0ll14lnww2023is8lkr-at-spi2-atk-2.26.2
shrinking /nix/store/0x4wyn65ybl7b0ll14lnww2023is8lkr-at-spi2-atk-2.26.2/lib/gtk-2.0/modules/libatk-bridge.so
shrinking /nix/store/0x4wyn65ybl7b0ll14lnww2023is8lkr-at-spi2-atk-2.26.2/lib/libatk-bridge-2.0.so.0.0.0
strip is /nix/store/1jprj383qnzd50vn8qq3a0id6a08a9fi-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/0x4wyn65ybl7b0ll14lnww2023is8lkr-at-spi2-atk-2.26.2/lib
patching script interpreter paths in /nix/store/0x4wyn65ybl7b0ll14lnww2023is8lkr-at-spi2-atk-2.26.2
checking for references to /build/ in /nix/store/0x4wyn65ybl7b0ll14lnww2023is8lkr-at-spi2-atk-2.26.2...
/nix/store/gk48bwkkmj4i47vnp2jznpvq1ldcxy2c-cmark-0.28.3
/nix/store/0x4wyn65ybl7b0ll14lnww2023is8lkr-at-spi2-atk-2.26.2

This pull request has been mentioned on Nix community. There might be relevant details there:
https://discourse.nixos.org/t/using-xvfb-in-checkphase/1497/3


  But for some reason running with -p fails.
root@alexis2:~/docker-vlc# iptables -t nat -nvL | grep -i docker
  188 11960 DOCKER     all  --  *      *       <IP_ADDRESS>/0            <IP_ADDRESS>/0            ADDRTYPE match dst-type LOCAL
    0     0 DOCKER     all  --  *      *       <IP_ADDRESS>/0           !<IP_ADDRESS>/8          ADDRTYPE match dst-type LOCAL
   50 19670 MASQUERADE  all  --  *      !docker0  <IP_ADDRESS>/16        <IP_ADDRESS>/0
Chain DOCKER (2 references)

docker run hello-world

root@alexis2:~/docker-vlc# docker run hello-world

Hello from Docker.
This message shows that your installation appears to be working correctly.

To generate this message, Docker took the following steps:
 1. The Docker client contacted the Docker daemon.
 2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
 3. The Docker daemon created a new container from that image which runs the
    executable that produces the output you are currently reading.
 4. The Docker daemon streamed that output to the Docker client, which sent it
    to your terminal.

To try something more ambitious, you can run an Ubuntu container with:
 $ docker run -it ubuntu bash

Share images, automate workflows, and more with a free Docker Hub account:
 https://hub.docker.com

For more examples and ideas, visit:
 https://docs.docker.com/userguide/

docker run -p 1234:1234 hello-world

root@alexis2:~/docker-vlc# docker run -p 1234:1234 hello-world
FATA[0000] Error response from daemon: Cannot start container 4281c9ced19e168d30a1c0a0beeb74853ee937af5e183f2ba55c70a4361856ad:  (exit status 1)

I am 99% certain that at some point on this iteration of the environment the -p flags were working.  However, it may have been wiped since.. the base host is more or less disposable.. but this is running on physical hardware.

You're running a really old version of docker; can you try if you still have this issue on the current release? (currently 1.10.3, but 1.11 will be released soon)

Also, given that it worked before, I doubt this is a bug in docker, probably something on your system

aslo @gdoteof  just curiosity, for 1.6.* vesion, is it installed by ubuntu 14.04.4 by default?

@thaJeztah yes i agree, unlikely to be bug in docker, i just couldn't figure out what to do next.
i took your advice and just upgraded and it did work.
@HackToday yes it was the default version.


Debug console overlaps terminal when debug starts

Refs: https://github.com/Microsoft/vscode/issues/48423
I know there was already an issue for this but I could not find it, so creating a new one.

Have some simple node repo, for instance our smoke test repository
Have "console": "integratedTerminal" in your launch.json
Start debugging, notice how the debugConsole is shown over the integrated terminal

I thought the debug adapter will overwrite the alunch configuration and add "internalConsoleOptions": "neverOpen". I did not double check if the debug adapter is properly setting this argument.

@isidorn this is the fix (and the old issue) on my side:
https://github.com/Microsoft/vscode-node-debug/blob/8c6f4d53dfda491d1bb335dd57147e9fdad9c782/src/node/extension/configurationProvider.ts#L92-L95

@isidorn I cannot reproduce this (and I've verified that "internalConsoleOptions" is set to "neverOpen" iff "console" is "integratedTerminal")


Pulls/4/badge in crumbs

Issue: https://github.com/silverstripe/silverstripe-versioned/issues/51

@phalkunz please make sure you title the pull request so that it's easy to identify :)


Update quickstart for spring cloud

2.5.5 is not available on Spring initializar. we should use 2.5.7 instead of 2.5.5.

@sasukeh : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#label:"aq-pr-triaged"

#sign-off


add support for role assignments for containers, queues, tables & shares

Describe your changes
This fixes #42 and allows for role assignments against all child resources (containers, queues, tables & shares).
An accompanying E2E example has been added
The organisation of code into child resources has been slightly reorganised to align to the @matt-FFFFFF Key Vault resource (e.g. splitting the child resources into different "main" files.
Issue number
#42
Checklist before requesting a review

[X] The pr title can be used to describe what this pr did in CHANGELOG.md file
[X] I have executed pre-commit on my machine
[X] I have passed pr-check on my machine

https://github.com/kewalaka/terraform-azurerm-avm-res-storage-storageaccount/actions/runs/7938300972/job/21677122237

Thanks for your cooperation!

You're welcome 😂

i've noticed

that the tests can fail depending on the region that gets randomly selected (it appears GRS is not supported everywhere)
also there is occasionally a timing issue with the customer manage keys resource

There are no relevant changes in this PR that modify the status quo regarding those points.
@matt-FFFFFF is it possible to get a dev branch added please, as done elsewhere, to avoid the E2E OIDC issue?

re-introduced main.diagnostics.tf and main.locks.tf as requested:

ref: https://github.com/kewalaka/terraform-azurerm-avm-res-storage-storageaccount/actions/runs/8044073657/job/21967137644
I'll just add one more commit to re-introduce the Azure E2E workflow file & then re-point the target branch


GoogleAnalyticsBlocker should block ssl.google-analytics.com too

For HTTPS sites, my understanding is that Google Analytics recommends (or at least has recommended in the past) using ssl.google-analytics.com rather than www.google-analytics.com.  Could you block that too?
It might be worth simply blocking everything under google-analytics.com.

@cjwatson It has been updated in version 1.0.1, thank you


possible that a certain lib is interfering with the awus036achm mt7610u drivers

version: 6.5.0-kali3-amd64
lsusb: Bus 001 Device 002: ID 0e8d:7610 MediaTek Inc. WiFi
hcxdumptool -l : available wlan devices:
phy idx hw-mac       virtual-mac  m ifname           driver (protocol)
0   3 00c0cab4623a 00c0cab4623a * wlan0            mt76x0u (NETLINK)
1   4 40ed007efa41 9ee7ecaba507 + wlan1            rtl8821au (NETLINK)
└─$ sudo hcxdumptool -I wlan0
Requesting interface capabilities. This may take some time.
Please be patient...
interface information:
phy idx hw-mac       virtual-mac  m ifname           driver (protocol)
0   3 00c0cab4623a 00c0cab4623a * wlan0            mt76x0u (NETLINK)
available frequencies: frequency [channel] tx-power of Regulatory Domain: 00
2412 [  1] 3.0 dBm      2417 [  2] 3.0 dBm      2422 [  3] 3.0 dBm      2427 [  4] 3.0 dBm
2432 [  5] 3.0 dBm      2437 [  6] 3.0 dBm      2442 [  7] 3.0 dBm      2447 [  8] 3.0 dBm
2452 [  9] 3.0 dBm      2457 [ 10] 3.0 dBm      2462 [ 11] 3.0 dBm      2467 [ 12] 3.0 dBm
2472 [ 13] 3.0 dBm      2484 [ 14] 3.0 dBm      5180 [ 36] 18.0 dBm     5200 [ 40] 18.0 dBm
5220 [ 44] 18.0 dBm     5240 [ 48] 18.0 dBm     5260 [ 52] 18.0 dBm     5280 [ 56] 17.0 dBm
5300 [ 60] 17.0 dBm     5320 [ 64] 17.0 dBm     5500 [100] 14.0 dBm     5520 [104] 14.0 dBm
5540 [108] 14.0 dBm     5560 [112] 14.0 dBm     5580 [116] 13.0 dBm     5600 [120] 13.0 dBm
5620 [124] 13.0 dBm     5640 [128] 13.0 dBm     5660 [132] 13.0 dBm     5680 [136] 14.0 dBm
5700 [140] 14.0 dBm     5720 [144] 14.0 dBm     5745 [149] 14.0 dBm     5765 [153] 14.0 dBm
5785 [157] 14.0 dBm     5805 [161] 14.0 dBm     5825 [165] 15.0 dBm     5845 [169] disabled
5865 [173] disabled
bye-bye
└─$ sudo hcxdumptool -v
hcxdumptool 6.3.1 (C) 2023 ZeroBeat
Let me preface this by saying that i know that i shouldnt be attempting this stuff if im a noob, but im trying to collect as many documentation maybe it helps someone in the future or you to probably find whats wrong.
Basically the journey started with wifite, it would always crash after i try to capture a pmkid or do a pmkid attack it crashes my stuff, sudo would not work anymore with commands and the vm will not reboot or turn off unless i force shutdown.
after some more investigation, i couldnt find anything other than that the wifi adapter drivers mt7610u are having an issue with something and crashing

i tried manually finding the drivers for the mt7610u and replacing the one i had and that did nothing at all, and surprisingly even when i hadent added the driver after deleting the old set the adapter it still ran normally
i downloaded a fresh image of kali weekly and tried wifite without installing hcxdumptool or hcxtools and it seemed to not crash my vm at all
after got the dependencies and libs needed for hcxdumptool and hcxtools wifite started doing the same.
so i thought id try airgeddon instead maybe its just a wifite issue right?
everything worked until the point of trying to capture a pmkid and it did the same thing wifite would do.
i am running another wifi adapter (not at the same time) TP-Link Archer T2U PLUS [RTL8821AU] and that seems to work normally.
i will provide a journalctl -e and a dmesg in case those provide any help, whatever i can do to fix my post or info to provide i would really love to help fix this issue or at least troubleshoot it
please do let me know if i should just copy/paste the text of the dmesg and journalctl instead in the comments or here, i just didnt want to clutter it more than it is
dmesg airgeddon hcxdumptool.txt
journalctl -e.txt
please let me know if theres something else i can help with, sorry im still a noob and i do need some hand holding but id really love to help.

First of all: Your wireless regulatory domain is unset 00!
available frequencies: frequency [channel] tx-power of Regulatory Domain: 00

That limits the capability of the device. To avoid this it is mandatory to set a valid regulatory domain, e.g.
$ sudo iw reg set
$ sudo iw reg set US
$ iw reg get
global
country US: DFS-FCC
	(902 - 904 @ 2), (N/A, 30), (N/A)
	(904 - 920 @ 16), (N/A, 30), (N/A)
	(920 - 928 @ 8), (N/A, 30), (N/A)
	(2400 - 2472 @ 40), (N/A, 30), (N/A)
	(5150 - 5250 @ 80), (N/A, 23), (N/A), AUTO-BW
	(5250 - 5350 @ 80), (N/A, 24), (0 ms), DFS, AUTO-BW
	(5470 - 5730 @ 160), (N/A, 24), (0 ms), DFS
	(5730 - 5850 @ 80), (N/A, 30), (N/A), AUTO-BW
	(5850 - 5895 @ 40), (N/A, 27), (N/A), NO-OUTDOOR, AUTO-BW, PASSIVE-SCAN
	(5925 - 7125 @ 320), (N/A, 12), (N/A), NO-OUTDOOR, PASSIVE-SCAN
	(57240 - 71000 @ 2160), (N/A, 40), (N/A)

From now on hcxdumptool use this settings:
available frequencies: frequency [channel] tx-power of Regulatory Domain: US

A few days ago I ran several tests on several interfaces.
https://github.com/ZerBea/hcxdumptool/discussions/361
One of them an ALFA AWUS036ACHM:
https://github.com/ZerBea/hcxdumptool/discussions/361#discussioncomment-7553512
And everything is working as expected and dmesg log confirm that:
[44542.787098] usb 1-9.3: new high-speed USB device number 8 using xhci_hcd
[44542.940504] usb 1-9.3: New USB device found, idVendor=0e8d, idProduct=7610, bcdDevice= 1.00
[44542.940509] usb 1-9.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[44542.940512] usb 1-9.3: Product: WiFi
[44542.940514] usb 1-9.3: Manufacturer: MediaTek
[44542.940516] usb 1-9.3: SerialNumber: 1.0
[44543.086957] usb 1-9.3: reset high-speed USB device number 8 using xhci_hcd
[44543.226505] mt76x0u 1-9.3:1.0: ASIC revision: 76100002 MAC revision: 76502000
[44546.818464] mt76x0u 1-9.3:1.0: EEPROM ver:02 fae:04
[44547.074553] ieee80211 phy2: Selected rate control algorithm 'minstrel_ht'
[44547.092444] mt76x0u 1-9.3:1.0 wlp22s0f0u9u3: renamed from wlan0
[44907.787065] mt76x0u 1-9.3:1.0 wlp22s0f0u9u3: entered promiscuous mode
hcxdumptool is running....
hcxdumptool is terminated by ctrl+c
[44922.323768] mt76x0u 1-9.3:1.0 wlp22s0f0u9u3: left promiscuous mode

The ERROR you mentioned above always appear if the device is disconnected:
[45041.212682] mt76x0u 1-9.3:1.0: vendor request req:07 off:1134 failed:-71
[45041.292360] usb 1-9.3: USB disconnect, device number 8
[45041.298018] mt76x0u 1-9.3:1.0: MAC error detected
[45041.518186] mt76x0u 1-9.3:1.0: MAC stop failed

this always happens if the device has been disconnected:
[45440.131372] usb 5-2.4: new high-speed USB device number 7 using xhci_hcd
[45440.238662] usb 5-2.4: New USB device found, idVendor=0e8d, idProduct=7610, bcdDevice= 1.00
[45440.238666] usb 5-2.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[45440.238668] usb 5-2.4: Product: WiFi
[45440.238669] usb 5-2.4: Manufacturer: MediaTek
[45440.238670] usb 5-2.4: SerialNumber: 1.0
[45440.328165] usb 5-2.4: reset high-speed USB device number 7 using xhci_hcd
[45440.425786] mt76x0u 5-2.4:1.0: ASIC revision: 76100002 MAC revision: 76502000
[45441.645411] mt76x0u 5-2.4:1.0: EEPROM ver:02 fae:04
[45441.685125] ieee80211 phy3: Selected rate control algorithm 'minstrel_ht'
[45441.695093] mt76x0u 5-2.4:1.0 wlp48s0f4u2u4: renamed from wlan0
[45457.833535] mt76x0u 5-2.4:1.0 wlp48s0f4u2u4: entered promiscuous mode
hcxdumptool is running....
hcxdumptool is terminated by ctrl+c
[45466.638355] mt76x0u 5-2.4:1.0 wlp48s0f4u2u4: left promiscuous mode
device has been disconnected
[45560.159052] mt76x0u 5-2.4:1.0: vendor request req:07 off:1134 failed:-71
[45560.258333] usb 5-2.4: USB disconnect, device number 7
[45560.262669] mt76x0u 5-2.4:1.0: MAC error detected
[45560.481955] mt76x0u 5-2.4:1.0: MAC stop failed

In your case you got more than one ERROR. I suggest to check your cable connection.
All attack modes are working as expected and the ERROR appears only after the device has been disconnected.
There is nothing I can do.


Add impac dashboard feature flag to frontend config settings

@ouranos Leaving comments in JIRA, please review :)

See maestrano/mno-enterprise-angular#382


add check_neural_compressor_min_version for 4 bit behavior

What does this PR do?

add check_neural_compressor_min_version for 4 bit loading behavior to fix [SW-195965].
It is fixed when INC version >= 3.2
Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[ ] Did you make sure to update the documentation with your changes?
[ ] Did you write any new necessary tests?

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@xin3he  Also, should we remove all the wrapper that we added last time? If all are fixed now on 3.2 release?
https://github.com/huggingface/optimum-habana/pull/1421

@jiminha Yes, but we should wait till 1.19.0 is released. This fix could be merged ahead of it.


Druid tasks fail occasionally on Azure Storage

Very frequently, druid tasks fail on Azure Storage with com.microsoft.azure.storage.StorageException: The specified block list is invalid.
Does anybody know what could be the issue or how to solve this? Full stack trace below:
2018-11-03T01:05:05,774 ERROR [native-content-events-2018-11-02T00:00:00.000Z-persist-n-merge] io.druid.segment.realtime.plumber.RealtimePlumber - Failed to persist merged index[native-content-events]: {class=io.druid.segment.realtime.plumber.RealtimePlumber, exceptionType=class java.lang.RuntimeException, exceptionMessage=java.io.IOException, interval=2018-11-02T00:00:00.000Z/2018-11-03T00:00:00.000Z}
java.lang.RuntimeException: java.io.IOException
	at com.google.common.base.Throwables.propagate(Throwables.java:160) ~[guava-16.0.1.jar:?]
	at io.druid.storage.azure.AzureDataSegmentPusher.push(AzureDataSegmentPusher.java:162) ~[?:?]
	at io.druid.segment.realtime.plumber.RealtimePlumber$2.doRun(RealtimePlumber.java:447) [druid-server-0.12.3.jar:0.12.3]
	at io.druid.common.guava.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:42) [druid-common-0.12.3.jar:0.12.3]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_111]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_111]
	at java.lang.Thread.run(Thread.java:745) [?:1.8.0_111]
Caused by: java.io.IOException
	at com.microsoft.azure.storage.core.Utility.initIOException(Utility.java:639) ~[?:?]
	at com.microsoft.azure.storage.blob.BlobOutputStream.close(BlobOutputStream.java:280) ~[?:?]
	at com.microsoft.azure.storage.blob.CloudBlockBlob.upload(CloudBlockBlob.java:580) ~[?:?]
	at com.microsoft.azure.storage.blob.CloudBlockBlob.upload(CloudBlockBlob.java:497) ~[?:?]
	at io.druid.storage.azure.AzureStorage.uploadBlob(AzureStorage.java:86) ~[?:?]
	at io.druid.storage.azure.AzureDataSegmentPusher.uploadDataSegment(AzureDataSegmentPusher.java:115) ~[?:?]
	at io.druid.storage.azure.AzureDataSegmentPusher$1.call(AzureDataSegmentPusher.java:155) ~[?:?]
	at io.druid.storage.azure.AzureDataSegmentPusher$1.call(AzureDataSegmentPusher.java:151) ~[?:?]
	at io.druid.java.util.common.RetryUtils.retry(RetryUtils.java:63) ~[java-util-0.12.3.jar:0.12.3]
	at io.druid.java.util.common.RetryUtils.retry(RetryUtils.java:81) ~[java-util-0.12.3.jar:0.12.3]
	at io.druid.storage.azure.AzureUtils.retryAzureOperation(AzureUtils.java:58) ~[?:?]
	at io.druid.storage.azure.AzureDataSegmentPusher.push(AzureDataSegmentPusher.java:149) ~[?:?]
	... 5 more
Caused by: com.microsoft.azure.storage.StorageException: The specified block list is invalid.
	at com.microsoft.azure.storage.StorageException.translateException(StorageException.java:89) ~[?:?]
	at com.microsoft.azure.storage.core.StorageRequest.materializeException(StorageRequest.java:307) ~[?:?]
	at com.microsoft.azure.storage.core.ExecutionEngine.executeWithRetry(ExecutionEngine.java:182) ~[?:?]
	at com.microsoft.azure.storage.blob.CloudBlockBlob.commitBlockList(CloudBlockBlob.java:245) ~[?:?]
	at com.microsoft.azure.storage.blob.BlobOutputStream.commit(BlobOutputStream.java:313) ~[?:?]
	at com.microsoft.azure.storage.blob.BlobOutputStream.close(BlobOutputStream.java:277) ~[?:?]
	at com.microsoft.azure.storage.blob.CloudBlockBlob.upload(CloudBlockBlob.java:580) ~[?:?]
	at com.microsoft.azure.storage.blob.CloudBlockBlob.upload(CloudBlockBlob.java:497) ~[?:?]
	at io.druid.storage.azure.AzureStorage.uploadBlob(AzureStorage.java:86) ~[?:?]
	at io.druid.storage.azure.AzureDataSegmentPusher.uploadDataSegment(AzureDataSegmentPusher.java:115) ~[?:?]
	at io.druid.storage.azure.AzureDataSegmentPusher$1.call(AzureDataSegmentPusher.java:155) ~[?:?]
	at io.druid.storage.azure.AzureDataSegmentPusher$1.call(AzureDataSegmentPusher.java:151) ~[?:?]
	at io.druid.java.util.common.RetryUtils.retry(RetryUtils.java:63) ~[java-util-0.12.3.jar:0.12.3]
	at io.druid.java.util.common.RetryUtils.retry(RetryUtils.java:81) ~[java-util-0.12.3.jar:0.12.3]
	at io.druid.storage.azure.AzureUtils.retryAzureOperation(AzureUtils.java:58) ~[?:?]
	at io.druid.storage.azure.AzureDataSegmentPusher.push(AzureDataSegmentPusher.java:149) ~[?:?]
	... 5 more
2018-11-03T01:05:05,844 INFO [native-content-events-2018-11-02T00:00:00.000Z-persist-n-merge] io.druid.server.coordination.BatchDataSegmentAnnouncer - Unannouncing segment[native-content-events_2018-11-02T00:00:00.000Z_2018-11-03T00:00:00.000Z_2018-11-02T00:00:18.801Z] at path[/druid/segments/<IP_ADDRESS>:8101/<IP_ADDRESS>:8101_realtime__default_tier_2018-11-02T00:00:18.927Z_5ce6a9ad766940469addc11518f593bf0]
2018-11-03T01:05:05,844 INFO [native-content-events-2018-11-02T00:00:00.000Z-persist-n-merge] io.druid.curator.announcement.Announcer - unannouncing [/druid/segments/<IP_ADDRESS>:8101/<IP_ADDRESS>:8101_realtime__default_tier_2018-11-02T00:00:18.927Z_5ce6a9ad766940469addc11518f593bf0]
2018-11-03T01:05:05,858 INFO [native-content-events-2018-11-02T00:00:00.000Z-persist-n-merge] io.druid.indexing.common.actions.RemoteTaskActionClient - Performing action for task[index_realtime_native-content-events_2018-11-02T00:00:00.000Z_0_0_icgaffmf]: LockReleaseAction{interval=2018-11-02T00:00:00.000Z/2018-11-03T00:00:00.000Z}
2018-11-03T01:05:05,859 INFO [native-content-events-2018-11-02T00:00:00.000Z-persist-n-merge] io.druid.indexing.common.actions.RemoteTaskActionClient - Submitting action for task[index_realtime_native-content-events_2018-11-02T00:00:00.000Z_0_0_icgaffmf] to overlord: [LockReleaseAction{interval=2018-11-02T00:00:00.000Z/2018-11-03T00:00:00.000Z}].
2018-11-03T01:05:05,860 INFO [native-content-events-2018-11-02T00:00:00.000Z-persist-n-merge] io.druid.java.util.http.client.pool.ChannelResourceFactory - Generating: http://<IP_ADDRESS>:8080
2018-11-03T01:05:05,881 INFO [native-content-events-2018-11-02T00:00:00.000Z-persist-n-merge] io.druid.segment.realtime.plumber.RealtimePlumber - Deleting Index File[var/druid/task/index_realtime_native-content-events_2018-11-02T00:00:00.000Z_0_0_icgaffmf/work/persist/native-content-events/2018-11-02T00:00:00.000Z_2018-11-03T00:00:00.000Z]
2018-11-03T01:05:05,904 INFO [native-content-events-2018-11-02T00:00:00.000Z-persist-n-merge] io.druid.segment.realtime.plumber.RealtimePlumber - Removing sinkKey<PHONE_NUMBER>000 for segment native-content-events_2018-11-02T00:00:00.000Z_2018-11-03T00:00:00.000Z_2018-11-02T00:00:18.801Z
2018-11-03T01:05:05,911 ERROR [task-runner-0-priority-0] io.druid.indexing.common.task.RealtimeIndexTask - Failed to finish realtime task: {class=io.druid.indexing.common.task.RealtimeIndexTask, exceptionType=class io.druid.java.util.common.ISE, exceptionMessage=Exception occurred during persist and merge.}
io.druid.java.util.common.ISE: Exception occurred during persist and merge.
	at io.druid.segment.realtime.plumber.RealtimePlumber.finishJob(RealtimePlumber.java:557) ~[druid-server-0.12.3.jar:0.12.3]
	at io.druid.indexing.common.task.RealtimeIndexTask.run(RealtimeIndexTask.java:458) [druid-indexing-service-0.12.3.jar:0.12.3]
	at io.druid.indexing.overlord.ThreadPoolTaskRunner$ThreadPoolTaskRunnerCallable.call(ThreadPoolTaskRunner.java:444) [druid-indexing-service-0.12.3.jar:0.12.3]
	at io.druid.indexing.overlord.ThreadPoolTaskRunner$ThreadPoolTaskRunnerCallable.call(ThreadPoolTaskRunner.java:416) [druid-indexing-service-0.12.3.jar:0.12.3]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_111]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_111]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_111]
	at java.lang.Thread.run(Thread.java:745) [?:1.8.0_111]
2018-11-03T01:05:05,912 ERROR [task-runner-0-priority-0] io.druid.indexing.overlord.ThreadPoolTaskRunner - Exception while running task[AbstractTask{id='index_realtime_native-content-events_2018-11-02T00:00:00.000Z_0_0_icgaffmf', groupId='index_realtime_native-content-events', taskResource=TaskResource{availabilityGroup='native-content-events-2018-11-02T00:00:00.000Z-0000', requiredCapacity=1}, dataSource='native-content-events', context={}}]
io.druid.java.util.common.ISE: Exception occurred during persist and merge.
	at io.druid.segment.realtime.plumber.RealtimePlumber.finishJob(RealtimePlumber.java:557) ~[druid-server-0.12.3.jar:0.12.3]
	at io.druid.indexing.common.task.RealtimeIndexTask.run(RealtimeIndexTask.java:458) ~[druid-indexing-service-0.12.3.jar:0.12.3]
	at io.druid.indexing.overlord.ThreadPoolTaskRunner$ThreadPoolTaskRunnerCallable.call(ThreadPoolTaskRunner.java:444) [druid-indexing-service-0.12.3.jar:0.12.3]
	at io.druid.indexing.overlord.ThreadPoolTaskRunner$ThreadPoolTaskRunnerCallable.call(ThreadPoolTaskRunner.java:416) [druid-indexing-service-0.12.3.jar:0.12.3]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_111]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_111]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_111]
	at java.lang.Thread.run(Thread.java:745) [?:1.8.0_111]
2018-11-03T01:05:05,912 INFO [task-runner-0-priority-0] io.druid.indexing.overlord.TaskRunnerUtils - Task [index_realtime_native-content-events_2018-11-02T00:00:00.000Z_0_0_icgaffmf] status changed to [FAILED].
2018-11-03T01:05:05,913 INFO [task-runner-0-priority-0] io.druid.indexing.worker.executor.ExecutorLifecycle - Task completed with status: {
  "id" : "index_realtime_native-content-events_2018-11-02T00:00:00.000Z_0_0_icgaffmf",
  "status" : "FAILED",
  "duration" : 90289188
}

Stil an issuel

Hi, @fdoumet
First off, apologies for letting your issue get stale, we get quite a lot and sometimes we miss them, so thanks for chasing away the stale bot 😅. On the bright side, it made me notice this issue, and while I don't have access to an Azure environment to actually test this, I was able to do a bit of research and have an idea about how maybe we can improve the situation.
Looking into the error message the issue report, specifically the
The specified block list is invalid.
i ran into this stackoverflow discussion, and these 2 issue reports for a .net library https://github.com/Azure/azure-storage-net/issues/456 and https://github.com/Azure/azure-storage-net/issues/780 seem to indicate that this error message can potentially happen when multiple writers try to write to the same blob, and a potential solution might be to perform a retry.
The good news is that the Azure storage pusher does have a retry mechanism, controlled by druid.azure.maxTries and it defaults to 3, but in this case it looks like an IOException which was not internally considered as retry-able. However, the StorageException which is the cause of that IOException is considered eligible for retry,  so I've opened a PR, #8296, that adjusts the retry logic that the push implementation uses to now retry in the case of the error messages like you have reported.
I don't know if this will actually fix this issue and unfortunately am unable to test, but with any luck maybe it will do the trick 🤞.

Has anyone had the chance to try Druid 0.16 with Azure deep storage to determine if this issue is still present after the changes made in #8296?


Video recording on PC enabled.

A minimal, redistributable version of ffmpeg is included, and the
video option is added to the multicam.

Can't wait to try it out!
Reminder for me to check if the GeneratedThirdPartyNotices.txt will update to include the ffmpeg license.

Can't wait to try it out!
Reminder for me to check if the GeneratedThirdPartyNotices.txt will update to include the ffmpeg license.

I don't think you need to add it in to the generated third party notices. In fact, I think you shouldn't add it.
The third party notices are for code that is included in Tilt Brush; ffmpeg is bundled with it, and has its notices alongside it. Given that ffmpeg is GPL you can't mix its code with Tilt Brush.

I don't think you need to add it in to the generated third party notices. In fact, I think you shouldn't add it.
The third party notices are for code that is included in Tilt Brush; ffmpeg is bundled with it, and has its notices alongside it. Given that ffmpeg is GPL you can't mix its code with Tilt Brush.

I fixed the conflicts locally, and was able to run the video capture through the editor. On built windows Mono versions, attempting to use the video recorder throws a null reference exception:
NullReferenceException: Object reference not set to an instance of an object
  at TiltBrush.UsdPathSerializer.get_IsFinished ()
  at TiltBrush.VideoRecorderUtils.get_UsdPathSerializerIsBlocking ()

Note that this doesn't occur if USD_SUPPORTED is removed from the Scripting Define Symbols in PC Project settings.

I need to redo this - I'm not used to the Github PR system and hadn't
realized that later commits would get included in the Pull Request.
On Tue, 2 Feb 2021 at 14:43, Mike Nisbet<EMAIL_ADDRESS>wrote:

I fixed the conflicts locally, and was able to run the video capture
through the editor. On built windows Mono versions, attempting to use the
video recorder throws a null reference exception:
NullReferenceException: Object reference not set to an instance of an object
at TiltBrush.UsdPathSerializer.get_IsFinished ()
at TiltBrush.VideoRecorderUtils.get_UsdPathSerializerIsBlocking ()
Note that this doesn't occur if USD_SUPPORTED is removed from the
Scripting Define Symbols in PC Project settings.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/icosa-gallery/open-brush/pull/2#issuecomment-772063888,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA65PGTGN3GQEYSUWZKXFVDS5B5ZLANCNFSM4WWPMXXA
.


Manual install has bad path

Under the manual install Bash commands the wrong DOTNET_ROOT path is given.
it shows:
export  DOTNET_ROOT=$(pwd)/dotnet
it should be:
export  DOTNET_ROOT=$(pwd)/.dotnet
as later on the Bash profile is modified to $HOME/.dotnet
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 885585df-1c7c-c774-34e4-4b274a7c2602
Version Independent ID: 2be3647d-495b-c9f0-cf06-9a7bf687d3bb
Content: Manually install .NET on Linux - .NET
Content Source: docs/core/install/linux-scripted-manual.md
Product: dotnet
Technology: dotnet-install
GitHub Login: @adegeo
Microsoft Alias: adegeo

Thank you for opening this issue. I'll get this fixed up.


WSA Camera crash when setting 90º rotation inside W11 (black screen and crash)

Type of issue
Other (describe below)
Feedback
I need WSA to be able to take pictures in Portrait (vertical) as if it was a normal phone device.
The issue is that WSA will only open its camera and take pictures in Landscape (horizontal).
I found out a solution that may be the trick by rotating Windows 11 Camera privacy settings .
This works perfectly with Windows 11 internal camera as it respects the ratio and the displayed image takes place in portrait.
However  as soon as you open WSA and open any android camera it crashes.
A few other things I tried was to use adb commands with developper options inside WSA, but it wont affect the camera orientation
adb shell settings put system accelerometer_rotation 0
adb shell settings put system user_rotation 1 (flip landscape)
adb shell settings put system user_rotation 1 (flip back to portrait)

Is WSA still being worked on? As far as I was aware it's deprecated and will be EOL in March 2025?
NB: I wish it wasn't personally as it was great for debugging Android MAUI apps from VS 2022 - I'm not even sure whether the typical Android emulators work on a WoA dev machine as there are warnings about hardware acceleration

Yes - unfortunately WSA is deprecated. The end of support message is in the "Important" note at the top of this doc: https://learn.microsoft.com/windows/android/wsa/
I don't know the full backstory about why, but have heard that it got complicated. There's instructions for debugging Android MAUI apps here: https://learn.microsoft.com/dotnet/maui/android/device/setup?view=net-maui-8.0  I believe that WoA devices will support emulators, but am interested to hear if you're finding that isn't the case.


[BUG] Tests are failing

The generator for the User schema added many tests that are not valid

Can confirm that running mix test does not work.
Following error:
➜  jeopardixir git:(feature/add-github-actions) mix test
==> connection
could not compile dependency :connection, "mix compile" failed. You can recompile this dependency with "mix deps.compile connection", update it with "mix deps.update connection" or clean it with "mix deps.clean connection"
** (File.Error) could not make directory (with -p) "/home/geetfun/projects/jeopardixir/_build/test/lib/connection": no such file or directory
    (elixir 1.12.2) lib/file.ex:316: File.mkdir_p!/1
    (mix 1.12.2) lib/mix/project.ex:675: Mix.Project.build_structure/2
    (mix 1.12.2) lib/mix/tasks/compile.all.ex:34: Mix.Tasks.Compile.All.run/1
    (mix 1.12.2) lib/mix/task.ex:394: anonymous fn/3 in Mix.Task.run_task/3
    (mix 1.12.2) lib/mix/tasks/compile.ex:128: Mix.Tasks.Compile.run/1
    (mix 1.12.2) lib/mix/task.ex:394: anonymous fn/3 in Mix.Task.run_task/3
    (mix 1.12.2) lib/mix/tasks/deps.compile.ex:172: anonymous fn/2 in Mix.Tasks.Deps.Compile.do_mix/2


Test Suite

We should include tests for basic functionality for

[ ] Generated wind

[x] Generated wind should be div-free. Refer to Section V.B in Keith et al.
[ ] Check symmetries in the tensor based on the uniform shear. Refer to Section V.B in Keith et al.

[ ] Parameter setting/ interface initialization**
[ ] Data Generation
[x] GPU allocation (as of writing, GPU load is consistently 99% throughout training past initialization). Related tests to perf should serve as mandatory regression tests.

**We already have some tests for this by @alizma; this item exists since presumably it is not complete and perhaps more should be written.

On the topic of perf tests, the quantity of interest is GPU utilization during training, which is currently a consistent >95% as of the first release. I added a crude test to check utilization immediately after the training loop completes. The resulting perf statistics are accurate since the sample period refreshes only once per second using torch.cuda.utilization(), so the utilization reflects the tail end of training. However, the proper way of doing this would be to introduce a mock of the training loop that tracks GPU utilization during each Wolfe iteration, which can be done with TB utilities. Though this might seem necessary for completeness, it would be more effort than necessary to accomplish the goal since perf regression would definitely break the crude way of testing. So I'll consider the crude way of doing this sufficient for the purpose of these tests, unless it's critical to get iteration-wise granularity on GPU utilization...


Fail to build in some cases

When any content targets aren't descendants of the current directory, tinypublish command will fail to build.

For now, raise exception in this case. commit
And take care of that in the future.


Status check fails

I have tried this process with 2FA on and off.  Both time when I try to check the status after putting in the AWS info and then my Ring login information and check the status it says there is an error.  When I go check on the Ring Alarm device in the ST app it says it is off and I can't change the status.  I get this screen in the Ring Alarm device

I got it to check the status.  I was still getting codes in emails even though I didn't have 2FA turned on.  Once I put that code in the 2FA section it got my statuses such as ZID and location.  The Ring Alarm device still shows as the screen above though.  How do I get it to refresh?  I also can't change the status from the Ring Alarm device.  I hit the buttons to change the state of the alarm but it says it is just attempting to change the alarm status and it never actually changes.

I believe this is same as https://github.com/asishrs/smartthings-ringalarmv2/issues/34
I need some more time as my schedule is rough due to new work arrangements.

I pushed the fix for this. Follow the deployment process described here https://github.com/asishrs/smartthings/blob/master/RELEASE.md#release-v-330

How do we change location on V3?

the app doesn't support location mode change. I recommend to remove the location from Ring account and finish the ST app setup and then add the location back in Ring.

I'm still getting a status check failed when initially trying to install this.

do you get the 2FA codes?

Yes, I get a 2FA code everytime.  I type it in, then when I check status is fails.  When I click back I get another 2FA code.  Process repeats...


Test and fix case controller local development test failures

What and why?
The recently updated urllib3 library (from 1.X to 2.X) has introduced a local development environment (Mac Book build) test failure with an existing RequestMock. The URL mock of a 204 (no content) that returns an empty array [ ] throws a ChunkedEncodingError under urllib3 2.X. This doesn't happen under urllib3 1.X. This also doesn't happen in GHA under urllib3 2.X (Linux build)
By definition, a 204 should not return any content. Having tested, the case service doesn't actually return any content for these endpoints when it returns a 204 and it's only the test mock that is wrong. Hence the empty array in the mock has been removed. The test assertion still checks for an empty array [ ] as the internal method under test is returning an empty array when it receives the 204 from case.
How to test
Ensure all tests pass in both GHA and in a local development (Mac Book) environment

/deploy scorfs


created function getTileEntitiesInBox(box)

You shouldn't do that!
It's an abstract class which means no one is using those functions but they are there to help other classes to know what functions they need..
It's empty on purpose


Question about model performance of the learning to count model

Hi, I used the bottom-up attention features with 'output size = 36' and extracted text features by implementing 'python preprocessing_text.py'. I trained the full model on VQA v2 train-set and tested it on validation set. But the best accuracy I got was 64.58%, not as good as the performance you mentioned in the paper, the accuracy of which is around 65.42%.
So could you please give me some suggestions on how to gain a better accuracy? I would truly appreciated.

I don't remember exactly how much the difference in performance between using 36 and 100 proposals is, but using 100 will definitely give you better results. Try training with the adaptive bottom-up features (remember to set output size to 100 again) and you should be able to get the results in the paper.

Great thanks to you! I'll try it. :)

Oops, I just realised that I didn't commit the download script. It's now where it should be. (https://github.com/Cyanogenoid/vqa-counting/blob/master/vqa-v2/data/download.sh)


Best way to serialize optional property which has a custom class

I would to use custom classes with optional types in realm.
In order to serialize and work with a CLLocation instance my idea is this:
class MyClass : Object  {
	dynamic var _coordinates	:NSData?

	var coordinates :CLLocation? {
		get {
			if _coordinates == nil {
				return nil
			}
// we can cache it too to avoid deserialization every time
			let coordinatesObj : CLLocation = NSKeyedUnarchiver.unarchiveObjectWithData(_coordinates!) as! CLLocation
			return coordinatesObj
		}
		set(newCoordinates) {
			if newCoordinates == nil {
				_coordinates = nil
			} else {
				_coordinates = NSKeyedArchiver.archivedDataWithRootObject(newCoordinates!)
			}
		}
	}
...
}

Is there a better way?
Should we have some sort of protocol in Realm which allow us to return optional NSData for a specific property?
Another idea is to have a custom method like ignoredProperties which can be used to implement the logic to convert an object to NSData? and viceversa for a set of custom properties.

For simple values, I'd encourage you to "translate" your model into properties that can be stored in Realm so you can perform queries on the underlying data and store/access them more efficiently.
In this specific case, since there are opaque types that you want to persist (like CLFloor), using NSKeyedArchiver is probably your best best.

So did you think my proposed solution is the best we can achieve at this time?
I would to avoid all of this boilerplate code and make something more generic for these kind of properties but I'm not sure how to proceed

Your approach is what I'd recommend. If you're looking to cut down on some of the boilerplate, here's a slightly trimmed down version of your property getters & setters:
class MyClass: Object  {
    dynamic var _coordinates: NSData?

    var coordinates: CLLocation? {
        get {
            return _coordinates.flatMap(NSKeyedUnarchiver.unarchiveObjectWithData) as? CLLocation
        }
        set {
            _coordinates = newValue.flatMap(NSKeyedArchiver.archivedDataWithRootObject)
        }
    }
}

Great, thank you, it is much cleaner. Is there any plan to support some sort of [semi]automatic serialization for these properties?

No, not currently. We'd easily end-up pulling in CoreLocation for everyone trying to use Realm, which might be a bit problematic in practice. (This was discussed before in #2199 though.)
Closing that for now. If you have other ideas though, please let us know.


Fix issue with Chrome 67+

…D_INPUT anymore. Refactored code to pass empty object if ALLOW_KEYBOARD_INPUT is not found.

document.body.webkitRequestFullScreen(Element.ALLOW_KEYBOARD_INPUT) works fine, so I'm not sure what the issue actually is?

I tried demo page on chrome 68 and found this error.   It is reproducible on multiple system, I can see it is working on some other chrome 68 as well. Not sure what 's the special settings that you need to turn on your chrome to reproduce this.
Assume you cannot reproduce this but below line is still buggy:
elem[request](keyboardAllowed && Element.ALLOW_KEYBOARD_INPUT);
Let say keyboardAllowed is false so this method would be invoked with:
elemrequest
i.r webkitRequestFullScreen(false)
But this method takes object as an argument and it will throw error as specified in screen shot.
This PR will handle this case.

I cannot reproduce this on either 68.0.3440.106 or 70.0.3534.0 on macOS. Which exact Chrome version are you on? It might have been fixed in a minor v68 version.

I don't like changing something I cannot reproduce, but alright. Please remove the dist content. This will be generated on release.

Ok.. Removed dist folder changes for screenfull.js

There's still a diff for dist/screenfull.min.js

@dheerajkumarmadaan @sindresorhus I’m able to reproduce with the same browser/os
Adding error text to this issue so other people can search for it.
TypeError
Failed to execute 'requestFullscreen' on 'Element': parameter 1 ('options') is not an object.

@dheerajkumarmadaan @sindresorhus @amccloud -- I’m also able to reproduce the issue. Looking at the PR - the fix looks good as well as safe. Thanks!!

@sindresorhus  I just removed dis changes.

I can reproduce this issue on Chrome Canary, which version is : 72.0.3616.0 (Official Build) canary (64-bit).
Since this commit is merged,  I will upgrade to the latest version and try again.

Updating to from v3.3.2 - 2017-10-27 to v4.1.0 - 2019-03-19 worked for me! 👍


Slower timer in Ultraghost

[x] Start reducing score slowly, then accelerate near the end.
[x] Add a pause button, and let players decide when they're allowed to use it.

Here's the formula I used for making the score start off slowly and then decline quickly at the end:
    float progress = Math.min(solutionDelay/MAX_DELAY, 1);
    float potentialScore = 101 - (float)Math.exp(progress*Math.log(101));

And here's what that looks like as the timer goes for 50 seconds:


iOS 14 Widgets

Create a widget that displays the latest notification and changes it's background accordingly.

Currently the contents are centered, instead they should be pinned to the top.
Also time is missing for the redacted view

Also: currently a click only opens the app, instead of the selected channel.
Can we force re-render widgets?

Especially on the iPad and also in small Widget sizes, the font size must be reduced.

Although the current implementation isn’t perfect and has its flaws, it’s better than not shipping at all.


JBS-38 Remove sbom/cyclonedx

This will help trim the size of the build-request-processor-image

/retest


chore: pkg lock pointing to new released ver in main

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Codecov Report

Merging #575 (ec0dc82) into tagged-release/forms-and-views (ab67240) will not change coverage.
The diff coverage is n/a.

@@                       Coverage Diff                       @@
##           tagged-release/forms-and-views     #575   +/-   ##
===============================================================
  Coverage                           89.62%   89.62%
===============================================================
  Files                                  78       78
  Lines                                2929     2929
  Branches                              799      799
===============================================================
  Hits                                 2625     2625
  Misses                                290      290
  Partials                               14       14

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 ab67240...ec0dc82. Read the comment docs.


Adapt to Grafana 10.3.2

The login mask is no longer recognized.
Traceback (most recent call last):
File "/app/./grafanascreenshots.py", line 104, in <module>
capture_screenshot()
File "/app/./grafanascreenshots.py", line 40, in capture_screenshot
driver.find_element(By.ID, ':r0:').send_keys(username)
File "/usr/local/lib/python3.10/dist-packages/selenium/webdriver/remote/webdriver.py", line 742, in find_element
return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"]
File "/usr/local/lib/python3.10/dist-packages/selenium/webdriver/remote/webdriver.py", line 348, in execute
self.error_handler.check_response(response)
File "/usr/local/lib/python3.10/dist-packages/selenium/webdriver/remote/errorhandler.py", line 229, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"css selector","selector":"[id=":r0:"]"}
(Session info: chrome-headless-shell=120.0.6099.109); For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#no-such-element-exception
Stacktrace:
#0 0x55cc56233f83 <unknown>
#1 0x55cc55eeccf7 <unknown>
#2 0x55cc55f3c99e <unknown>
#3 0x55cc55f3caa1 <unknown>
#4 0x55cc55f87d64 <unknown>
#5 0x55cc55f660dd <unknown>
#6 0x55cc55f85006 <unknown>
#7 0x55cc55f65e53 <unknown>
#8 0x55cc55f2ddd4 <unknown>
#9 0x55cc55f2f1de <unknown>
#10 0x55cc561f8531 <unknown>
#11 0x55cc561fc455 <unknown>
#12 0x55cc561e4f55 <unknown>
#13 0x55cc561fd0ef <unknown>
#14 0x55cc561c899f <unknown>
#15 0x55cc56221008 <unknown>
#16 0x55cc562211d7 <unknown>
#17 0x55cc56233124 <unknown>
#18 0x7f6341f3cac3 <unknown>

This is not a bug of non-matching website content, but was a problem with loading the site which has been fixed in #2


Cannot use "int" scalar typehint, must use "integer"

If I have a class with a scalar typehint:
public function myFunc(int $id);

if I try to mock that class, Mockery will throw the error that the mocked class method declaration is incompatible because Mockery attempts to declare the signature as
public function myFunc(integer $id);

Simply changing the original function to use integer instead of shorthand int is a sufficient workaround for now.

Seems odd. int is the preferred version, with integer the alias.

Did you try against master?
<?php

declare(strict_types=1);

require "vendor/autoload.php";

class Foo {
    public function myFunc(int $id) { }
}

$mock = Mockery::mock(Foo::class);
$mock->shouldReceive("myFunc")->andReturn(123);
var_dump($mock->myFunc(456)); // int(123)

Just tried against master - correct, it works. The 0.9.4 release still has this bug, so next release should fix it.
Thanks!


Adds role based inflection method for rails5

Basically just added
        def define_role_based_inflection_5(role)
          has_many "#{role.to_s}_comments".to_sym,
                   -> { where(role: role.to_s) },
                   has_many_options(role)
        end

For rails5 compatibility

👍 we need this in order to upgrade our app to Rails 5. For now I'm using @ingedmundo 's fork. Would appreciate if this could be merged into the official gem.

+1 on using @ingedmundo's fork till this is merged in.  Been working great for us in practice. Would love to get back onto the main line gem.
<3

Is this library still maintained?

Is this ever going to get merged? We're approaching 2 years now.


Unsubscribing from auto-renewable subscription

I understand that it is recommended we use server-to-server to validate subs, but how do we actually unsubscribe?

Hey @dhoffens , users can unsubscribe by using the provided UI from the native OS.
For Apple: https://support.apple.com/en-us/HT202039
For Google: https://support.google.com/googleplay/answer/7018481?co=GENIE.Platform%3DAndroid&hl=en

thanks @PeterStaev !
while I have you, for testing purposes, since the subscriptions would be in sandbox environment and not in settings quite yet, would there be a way to test that whole workflow? (sub and unsub)
Appreciate your prompt response!

@dhoffens , I havent implemented subscriptions myself, so can't say for sure how those work in Sandbox. But google yields the following:
https://davidbarnard.com/post/164337147440/testing-auto-renewable-subscriptions-on-ios
Sadly for Android couldnt find anything related so not sure how those work.

No further response so closing this one for now. In case you still have problems, please provide more details.


[Feature/Improvement] Confirmation on workout deletion

Purpose: As a user, I would like to be asked for confirmation before a workout is deleted.
More details: Some more details on the feature/improvement
Currently, it is easy to accidentally delete a workout as workouts are immediately deleted upon tapping the delete icon.
Implement something similar to the alert dialog shown here: https://medium.com/multiverse-software/alert-dialog-and-confirmation-dialog-in-flutter-8d8c160f4095
Acceptance Criteria:

Deletion confirmation screen appears after tapping the delete icon.

Hi @a-mabe ,I would like to work on this, Assign this to me.

Hello @gantanikhilraj, thank you for contributing to the project, I will assign the issue to you

@a-mabe Can you provide some more information about the issue ?

Sure, there is a delete button that is accessible after tapping on a timer, shown in the screenshot below:

When the user taps this button, the timer is immediately deleted. This makes it easily to accidentally tap the icon and delete the timer without intending to.
Instead of immediately deleting the timer, there should be a pop-up that asks for confirmation to delete the timer. This way, on an accidental tap of the delete button, the user is able to undo their action and keep the timer.
The pop-up can be something like the AlertDialogue shown in this blog post: https://medium.com/multiverse-software/alert-dialog-and-confirmation-dialog-in-flutter-8d8c160f4095
Something like:
Are you sure you would like to delete <timer name>?

Cancel        Delete

Thank you for the contribution @gantanikhilraj! Closed in #107


onPress event not firing on Polygons when using custom styling

Hi! Great work on the library.
I want to draw one polygon for each country in a custom styled map and bind to the onPress event for adding interaction.
import React, { Component } from 'react';
import { Dimensions, Text, View } from 'react-native';
import { MapView } from 'expo';
import countries from './countries';
import mapStyle from './mapStyle';

const { width, height } = Dimensions.get('window');

export default class App extends Component {
  constructor() {
    super();

    let polygons = []
     countries.forEach((country) =>{
      country.polygons.forEach((p) => {
        polygons.push(p)
      })
    })
    this.state = {
      region: {
        latitude: 24.889831,
        longitude: 67.0672087,
        latitudeDelta: 100,
        longitudeDelta: 100,
      },
      polygons: polygons
    }
  }

  onPolygonPress(polygon) {
    console.log('onPress');

  }

  render() {
    return (
      <View style={styles.container}>
        <MapView
          provider={MapView.PROVIDER_GOOGLE}
          style={styles.map}
          initialRegion={this.state.region}
          customMapStyle={mapStyle}
        >
          {this.state.polygons.map((polygon, index) => (
            <View key={index}>
              <MapView.Polygon
                coordinates={polygon}
                fillColor="rgba(255,255,255,0.5)"
                onPress={() => this.onPolygonPress(polygon)}
              />
            </View>
          ))}
        </MapView>
      </View>
    );
  }
}

const styles = {
  container: {
    alignItems: 'stretch',
    flex: 1,
  },
  map: {
    flex: 1,
  },
};

This is working ok except for the onPress event not firing on the polygons.
The weird thing is that if I remove this line provider={MapView.PROVIDER_GOOGLE} the onPress event starts working, but I lose the custom styling.
This is only occurring on IOS. If I remove the provider line and open the app in an android device it works with the styling and the onPress event.
Any ideas on how can I get both functionalities?
Cheers!

Hi! Any updates on this? I'm having the same problem too.
Thanks!


Usage guide

Hi thanks a lot for this but I'm hoping I can ask a newbie question:
I know I have to create the files in my server's folder. But how would I implement sending, would I incorporate the "Usage" section of the readme in my regular php file? If so what are the $collapsekey and $payloaddata supposed to be? I'm assuming payloaddata is the actual message, but not sure what collapsekey would be.

Yes, the Usage section in the README is a simple example of how to send a gcm message to a device.
I recommend you read the Cloud Messaging Guide to better understand the protcol and what collapse keys and payloads are.


Change to save wallpapers in .png format

https://github.com/Reverend-Toady/Wallpaper-Changer/blob/main/WallpaperChanger/config_wallpaper.py#L71
Change in main.py file as well to accept .png files instead of .jpg files

https://github.com/Reverend-Toady/Wallpaper-Changer/blob/main/main.py#L8
main.py file


Undo/redo does not work when moving items around in InventoryGrid

https://github.com/peter-kish/gloot/pull/28 does not cover undo/redo for moving items in InventoryGrid

Implemented in https://github.com/peter-kish/gloot/pull/31


bufferedByLine does not work with File due to @safe <> @system conflict

This is the first time I am using tsv-utils. I am trying to compile the following chunk of code:
import std.stdio;
import std.typecons : Yes, No;
import tsv_utils.common.utils : bufferedByLine;

enum testFile = "test.tsv";

void main(string[] args)
{
    foreach (line; testFile.File().bufferedByLine!(Yes.keepTerminator))
    {
        writeln(line);
    }
}

and get the following exception:
> dub build --single preprocessor.d --compiler=ldc2 --force
Performing "debug" build using ldc2 for x86_64.
mir-core 1.1.2: building configuration "library"...
mir-algorithm 3.7.28: building configuration "default"...
preprocessor ~master: building configuration "application"...
C:\Users\tasty\AppData\Local\dub\packages\tsv-utils-1.6.0\tsv-utils\common\src\tsv_utils\common\utils.d(899,38): Error: @safe function tsv_utils.common.util
s.bufferedByLine!(cast(Flag)true, char, cast(ubyte)10u, 131072LU, 16384LU).bufferedByLine.BufferedByLineImpl.popFront cannot call @system function std.stdio
.File.rawRead!ubyte.rawRead
C:\ldc2-1.20.0-windows-x64\bin\..\import\std\stdio.d(1076,9):        std.stdio.File.rawRead!ubyte.rawRead is declared here
preprocessor.d(29,40): Error: template instance tsv_utils.common.utils.bufferedByLine!(cast(Flag)true, char, cast(ubyte)10u, 131072LU, 16384LU) error instan
tiating
ldc2 failed with exit code 1.

Am I using it correctly?

Thanks for the report. Yes, far as I can tell it you are using it correctly. When I compile your main I do not see this bug. (I'm calling dmd and ldc directly.)
Looking at the phobos library, this looks like a difference between rawRead on Unix/MacOs vs Windows. (tsv-utils are tested on Unix and MacOS, but not Windows.) On Windows there is a call to an @system function. On Unix and other non-Windows platforms rawRead calls trustedFread, which has been marked @trusted, so it can be called from @safe code.
I should probably remove the @safe attribute on the popFront call. I'll do that as part of the next point release. It'll be a few days before I can make this change though. If you want to try making the change locally, the place to make it is here

Hopefully PR #283 addresses this case. dub won't pick up the new version until I tag a new version, and I might not get to for a few days. (There's some additional work on my part.)

@tastyminerals - A new release (v1.6.1) with the change has been tagged and is available via dub. Hopefully this enables compilation.
I'm closing this for now. When you get a chance I'm hoping you can test in your environment and report if it worked or not. If it didn't work, reopen this issue or a new issue as appropriate.
Thanks again for the report.


Unknown beeps

Sometimes often app is beeping, and Its take time to understand that beeps is from Hilink App, that its means some connection issues - threre are no logs (didnt found) and no opportunity to disable beeps.
Imagine - you hear two-four beeps. And you tray icon is ok (connection restored) and you as new user dont understand what application beeping sometimes

It plays a sound and sends a notification about unread SMS if you system supports that. Read all SMS in the HiLink interface and the app won't send notifications.

so each time it reconnects - it will beep for one unreaded sms? okay. will try. tnx

it will beep for one unreaded sms?

It will beep for each notification. After reconnect it sends one notification that tells the number of unread SMS.

okay. seems not obvious for me that its from hilink app and its case of SMS (no tooltip, only anonymous sound) - but as you wish - issue can be closed


allow DevDocs floating on top of fullscreen app

When I'm working on macOS fullscreen app, launch DevDocs.app will switch to another desktop.
This commit make DevDocs.app be able to float on top of fullscreen app.

Hmm but now it will always float on top of almost any app, maybe make this optional?

Ok, I will fix that

yeah, like a menu item

Whoa! Would love this feature as I use SublimeText/Atom on fullscreen, iterm2 floating over windows and it would be awesome to have devdocs floating as well =)

One way to make this less intrusive is to hide when it loses focus.


Add computersurgeon.dev to used by

Hey! I find your project Lanyard to be very cool and useful, so I decided to implement it on my new personal developer portfolio I started a few days ago.

The domain doesn't resolve to any nameservers, so there is no suitable usage of Lanyard.


chore: consistently lower case the query in at search level

At the moment, because the query is lower-cased in def search, there is no way to reimplement and of the match_ methods with case sensitive search.
The query is already being lower-cased in match_app and match_model. Added lower-casing to filter_field and removed it from search.
This will amke the plugin more flexible.

Great spot - thanks for raising! I'll get this merged and released in the next week or so.

Great spot - thanks for raising! I'll get this merged and released in the next week or so.

Thank you

Merged, added a few regression tests, and 0.4.1 released 🎉
Thanks again!


Any datetime support

It seen that whether marker or line, they only display within the max bar datetime, Can It support this widget put at any datetime?

Hey @OdinLin,
I'm unsure as to why you would need markers to be placed after the last bar as there is nothing to 'mark'.
By line i'm assuming your referring to create_line; this can be displayed further than the last candle bar.
If i've misunderstood, could you provide a minimal reproducible example, describing what you would expect to happen and what actually happens?
Louis

You could place a marker after the last candle by first creating a line and then placing a marker on that line:
import pandas as pd

from lightweight_charts import Chart

if __name__ == '__main__':
    chart = Chart()

    df = pd.read_csv('ohlcv.csv', parse_dates=['date'])

    line = chart.create_line()

    marker_line = pd.DataFrame([
        {'time': df.iloc[-1]['date']+pd.Timedelta(days=1), 'value': 200},
        {'time': df.iloc[-1]['date']+pd.Timedelta(days=2), 'value': 200},
    ])
    line.set(marker_line)
    line.marker(marker_line.iloc[0]['time'])
    chart.set(df)
    chart.show(block=True)