Solid gray image as a result

So, after many hours running the software, i just got 10 images like this:

The command I run was:
./Software/Git/neural-style/neural_style.lua -style_image ./Imágenes/style.jpg   -content_image ./Imágenes/foto.png -output_image ./Imágenes/NeuralStyle_test  -model_file ./Software/Git/neural-style/models/vgg_normalised.caffemodel  -proto_file ./Software/Git/neural-style/models/VGG_ILSVRC_19_layers_deploy.prototxt  -gpu -1  -num_iterations 1000 -seed 123 -content_layers relu0,relu3,relu7,relu12 -style_layers relu0,relu3,relu7,relu12 -content_weight 10 -style_weight 1000 -image_size 512 -optimizer adam
Any ideas?

Try turning off TV regularization: -tv_weight 0

Ok, will try, thanks.

Hi.
I got the same result. Input image is the same size as the style image (468x600). I tried with only 3 iterations (running on cpu) just to give it a try.
Here is the command with arguments used :
th neural_style.lua -style_image examples/inputs/picasso_selfport1907.jpg -content_image photo.jpg -output_image photo_styled.jpg -model_file models/vgg_normalised.caffemodel -proto_file models/train_val.prototxt -gpu -1 -backend clnn -num_iterations 3 -seed 123 -content_layers relu0,relu3,relu7,relu12 -style_layers relu0,relu3,relu7,relu12 -content_weight 10 -style_weight 100 -image_size 256 -optimizer adam -print_iter 1 -tv_weight 0

Not even close to enough iterations to do anything. You can flag it to use the source image as the starting point rather than a blank field.
On March 5, 2016 3:59:19 AM PST, Gordakan<EMAIL_ADDRESS>wrote:

Hi.
I got the same result. Input image is the same size as the style image
(468x600). I tried with only 3 iterations (running on cpu) just to give
it a try.
Here is the command with arguments used :
th neural_style.lua -style_image
examples/inputs/picasso_selfport1907.jpg -content_image photo.jpg
-output_image photo_styled.jpg -model_file
models/vgg_normalised.caffemodel -proto_file models/train_val.prototxt
-gpu -1 -backend clnn -num_iterations 3 -seed 123 -content_layers
relu0,relu3,relu7,relu12 -style_layers relu0,relu3,relu7,relu12
-content_weight 10 -style_weight 100 -image_size 256 -optimizer adam
-print_iter 1 -tv_weight 0

Reply to this email directly or view it on GitHub:
https://github.com/jcjohnson/neural-style/issues/149#issuecomment-192626774

@Flyingvette How do I tag it as a source image?

Sam Hesssenauer<EMAIL_ADDRESS>kirjoitti 26.4.2016 kello 10.34:

@Flyingvette How do I tag it as a source image?

-init image
As described in the Readme.md:
-init: Method for generating the generated image; one of random or image. Default is random which uses a noise initialization as in the paper; image initializes with the content image.

Has anyone ever gotten this working?  Even with tv_weight at 0 I get images that are largely grey versions of the content image @ 1k iterations.

For the record, I noticed you're using vgg_normalised.caffemodel, which produces a blank image for me as well. On the other hand VGG_ILSVRC_19_layers.caffemodel works just fine!

It appears to me that the issue is that the size of the layer deck is not #cnn, but #cnn.modules when using the backend nn (in particular, when -gpu -1).

I used neural-style extensively with only nn on CPU for almost a year, and never experienced any problem with #cnn. I also experimented with many modifications to the code.
So while loadcaffe appears sometimes to return a model object where #cnn does not give the number of layers, it surely does not depend merely on nn and cpu.
The #cnn question has also been discussed in https://github.com/jcjohnson/neural-style/pull/338

Sorry I am not an expert at all: I was just looking for this solid grey error, and since I found no help here, I started debugging.  I have found the key to this fix in the nn package, hence I was assuming that there might be the difference… given also that things are probably working in most of the cases for everybody else.
Anyway: probably it is an Arch thing, since I have Torch and the packages from AUR too like in #338.

@winnyec  How to fix  the nn package?

@syz825211943: The computer on which I did this is packed up for the time, so cannot check what exactly I did.  But based on my comment above try editing #cnn into #cnn.modules.  Apparently #cnn should also work just the same way, but with the versions Arch has (had?) only the explicit #cnn.modules works.

I am on Archlinux and just used the AUR packages.
It works if you just change #cnn into #cnn.modules in neural_style.lua .


Clean up: person

MINOR changes:

improved instructions
establish alphabetical order

MAJOR changes:
none
SPECIAL ATTENTION:
none

@Peyman-N or @apdavison or @aeidi89 feel free to merge if you also approve


Use git submodules for remote git repos

Instead of using west to manage remote repos would it be possible to use git submodules? i.e. git submodule add https://github.com/nrfconnect/sdk-nrf.git instead of including sdk-nrf in the west manifest.

Submodules are great, but the tooling isn't supported for it unfortunately. 😢


Add pre-commit hook for rstcheck

Issue number of the reported bug or feature request: #349
Describe your changes

Added rstcheck pre-commit hook to validate reStructuredText for news fragments.

Testing performed

Created rST files in the news directory, both valid and invalid. Some good examples for invalid rST are found in the rstcheck README.
Staged the files and ran pre-commit. Errors should pop up for the invalid files. Unstaging the invalid files should allow everything to pass.

Additional context
Closes #349

Thanks for the contribution, @BradonZhang!


minor bugs and additional arguments on ec2 authentication

Hello!
I think there's a bug on Client.auth_ec2() method,
as below:
  File "/hvac/v1/__init__.py", line 595, in auth_ec2
  return self.auth('/v1/auth/aws-ec2/login', json=params, use_token=use_token).json()

AttributeError: 'dict' object has no attribute 'json'

When I looked at the code, all methods returning _post has no chaining method like .json(). I think it probably is a bug, so I am using Client.auth() method for the meantime.
The changed code is as follow:
params = {
        'pkcs7': os.environ.get('PKCS7', None),
  }

if nonce:
    params.update({'nonce': nonce})

vault_client.auth(url='/v1/auth/aws-ec2/login', json=params, use_token=True)

As evidenced above, developer needs to define all the params before using auth() method which is not desirable way.
I made a simple fix of this, and added some additional arguments Vault introduced for ec2 authentication. - Actually I don't know those are newly introduced arguments.
bound_region
bound_vpc_id
bound_subnet_id

Closing since https://github.com/ianunruh/hvac/pull/157 was merged


PLATUI-3299

Purpose of PR

To utilise a NotFoundPage when users navigate to an incorrect ticket id survey
Utilise Messages for the NotFoundPage
Bump Scala version to 3.3.4

looks good to me, I wonder if we can add some test coverage though for this - we could repurpose these unit tests https://github.com/hmrc/contact-frontend/blob/main/test/controllers/SurveyControllerSpec.scala#L49-L58 into something like "SurveyController should return a page not found html error page when ticketId is invalid" and check the status code is 404 and the content type of the response is text/html (where before it would have been 400 and text/plain I think)


bm-info-window如何显示多个信息窗体？

Auto closed by issues bot. Please create your issue by issue generator.
当前问题由机器人自动关闭，请使用 ISSUE 生成器提交您的问题。


Add 'scaleByDistance' to labels

This is a convenient property to use for Billboards.  It would be nice to have for labels as well.

duplicate #1075


Add [spacebar] modifier to quickly toggle hand tool

Pressing space to jump into navigation mode is a shortcut known from other professional editing tools such as Gimp and Inkscape.
It could be a quick alternative to h (manually toggling the hand tool on / of).

[ ] with spacebar keydown, make every drag a navigation instead of an element move operation
[ ] indicate active hand via hand cursor during spacebar keydown

It is being actively developed. If you'd like to influence which tasks we pick up when add your :+1: reaction to the respective issue.

This is already available behind the CTRL/CMD modifier.

This is pending a proper integration into the editor.
We do not use the default keyboard, thus spacebar does not trigger the implemented behavior.


Feature extended metadata api

This PR addresses and resolves vitrivr/cineast#63 and vitrivr/cineast#64.
In general, the changes in this PR lead to a more sophisticated metadata api for the RESTful API, as the Websocket API was not touched (yet).
Three new RESTful actions where added and an existing one was slightly altered, as the remainder of this desription describes:
Altered find/metadata/by/id
Optionally there are filter's allowed in the JSON body.
Currently two filters are supported: domain and key.
The former filters on the domain property, the latter on the key property of metadata.
Given the following example JSON body:
{
  "filters":[
    {
      "type":"domain",
      "keywords":[
        "location"
      ]
    },
    {
      "type":"key",
      "keywords":[
        "latitude"
      ]
    }
  ],
  "ids": [
    // some ids
  ]
}

This will result in a response containing only metadata of domain location (case insensitive) and with the key latitude (case insensitive) for the given ids.
Adding several filters of the same type is not recommended, as they are applied sequentially (first in, first out). All filtering is case insensitive.
Omitting the filters array results in an unfiltered metadata list response.
Domain based metadata
Enables domain-based metadata lookup, where the client does not have to filter metadata any more.
GET
The new action find/metadata/in/:domain/by/id/:id results in a list of metadata from the domain :domain for the object with id :id.
POST
The new action find/metadata/in/:domain will result in a list of metadata from the domain :domain.
The request body is expected to be an IdList.
Key based metadata
Enables key-based metadata lookup, regardless of the domain, again having the advantage of server-side filtering.
GET
The new action find/metadata/with/:key/by/id/:id results in a list of metadata with the key :key
Edit: ~NOTE: As of a94eb4d, this feature is not yet implemented.~ This feature exists as of a4f9bd2.
POST
The new action find/metadata/with/:key results in a list of metadata with the key :key.
The request body is expected to be an IdList.
Specific metadata item
Sometimes it is desired to get specific metadata of one or multiple objects.
This new action enables this feature.
GET
The new action find/metadata/of/:id/in/:domain/with/:key results of the metadata item of the object with the specified :id, :domain and :key.
POST
This is roughly covered by the optional filters of action find/metadata/by/id

This now conflicts with dev after merging #67, @sauterl could you please have a look at this?

The merge conflicts were caused due to the fact, that this branch already included the changes of #66 (at least in the metadata action handler).
Should be fixed by f54e301 and was tested using a CURL-Client (insomnia).


Add installation test to Getting Started.md

This PR add an installation test to the Getting Started document.

Please merge.


Update google-cloud-nio to 0.127.1

About this PR
📦 Updates com.google.cloud:google-cloud-nio from 0.127.0 to 0.127.1
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.google.cloud", artifactId = "google-cloud-nio" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "com.google.cloud", artifactId = "google-cloud-nio" }
}]

labels: test-library-update, early-semver-minor, semver-spec-patch, commit-count:1

Superseded by #940.


Azure fails to deploy (4.12, 4.13, and 4.14)

Cross-posting from: https://github.com/openshift/installer/issues/7703
Version
tested on release-4.12, release-4.13, and release-4.14
$ openshift-install version
bin/openshift-install unreleased-master-8673-gc0f108be993307e519f8847264d06bc99a9cc7ad
built from commit c0f108be993307e519f8847264d06bc99a9cc7ad
release image registry.ci.openshift.org/origin/release:4.14
release architecture amd64

Platform:
Azure IPI
What happened?
Installer times out after creating masters:
INFO Pulling debug logs from the bootstrap machine
DEBUG Using SSH_AUTH_SOCK /private/tmp/com.apple.launchd.V4UxPZEsUw/Listeners to connect to an existing agent
ERROR Attempted to gather debug logs after installation failure: failed to create SSH client: failed to use pre-existing agent, make sure the appropriate keys exist in the agent for authentication: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain
ERROR Bootstrap failed to complete: timed out waiting for the condition
ERROR Failed to wait for bootstrapping to complete. This error usually happens when there is a problem with control plane hosts that prevents the control plane operators from creating the control plane.

SSH'ing into one of the masters shows two failed services:
Fedora CoreOS 38.20231002.3.1
Tracker: https://github.com/coreos/fedora-coreos-tracker
Discuss: https://discussion.fedoraproject.org/tag/coreos

[systemd]
Failed Units: 2
  ovsdb-server.service
  systemd-sysusers.service

systemd-sysusers log:
Nov 09 18:56:43 hz1-fdpth-master-2 systemd[1]: Starting systemd-sysusers.service - Create System Users...
Nov 09 18:56:43 hz1-fdpth-master-2 systemd-sysusers[799]: /usr/lib/sysusers.d/20-setup-groups.conf:24: Conflict with earlier configuration for group 'nobody' in /usr/lib/sysusers.d/00-coreos-nobody.conf:8, ignoring line.
Nov 09 18:56:43 hz1-fdpth-master-2 systemd-sysusers[799]: /usr/lib/sysusers.d/20-setup-users.conf:13: Conflict with earlier configuration for user 'nobody' in /usr/lib/sysusers.d/00-coreos-nobody.conf:9, ignoring line.
Nov 09 18:56:43 hz1-fdpth-master-2 systemd-sysusers[799]: /usr/lib/sysusers.d/basic.conf:13: Conflict with earlier configuration for group 'nobody' in /usr/lib/sysusers.d/00-coreos-nobody.conf:8, ignoring line.
Nov 09 18:56:43 hz1-fdpth-master-2 systemd-sysusers[799]: /usr/lib/sysusers.d/basic.conf:14: Conflict with earlier configuration for user 'nobody' in /usr/lib/sysusers.d/00-coreos-nobody.conf:9, ignoring line.
Nov 09 18:56:43 hz1-fdpth-master-2 systemd-sysusers[799]: /usr/lib/sysusers.d/chrony.conf:2: Conflict with earlier configuration for user 'chrony' in /usr/lib/sysusers.d/00-coreos-static.conf:21, ignoring line.
Nov 09 18:56:43 hz1-fdpth-master-2 systemd-sysusers[799]: /usr/lib/sysusers.d/dbus.conf:2: Conflict with earlier configuration for user 'dbus' in /usr/lib/sysusers.d/10-static-extra.conf:19, ignoring line.
Nov 09 18:56:43 hz1-fdpth-master-2 systemd-sysusers[799]: /usr/lib/sysusers.d/openssh-server.conf:2: Conflict with earlier configuration for user 'sshd' in /usr/lib/sysusers.d/10-static-extra.conf:23, ignoring line.
Nov 09 18:56:43 hz1-fdpth-master-2 systemd-sysusers[799]: /usr/lib/sysusers.d/openvswitch.conf:2: Conflict with earlier configuration for user 'openvswitch' in /usr/lib/sysusers.d/35-rpmostree-pkg-user-openvswitch.conf:2, ignoring line.
Nov 09 18:56:43 hz1-fdpth-master-2 systemd-sysusers[799]: /usr/lib/sysusers.d/systemd-resolve.conf:8: Conflict with earlier configuration for user 'systemd-resolve' in /usr/lib/sysusers.d/00-coreos-static.conf:31, ignoring line.
Nov 09 18:56:43 hz1-fdpth-master-2 systemd-sysusers[799]: /usr/lib/sysusers.d/systemd-timesync.conf:8: Conflict with earlier configuration for user 'systemd-timesync' in /usr/lib/sysusers.d/00-coreos-static.conf:32, ignoring line.
Nov 09 18:56:43 hz1-fdpth-master-2 systemd-sysusers[799]: Creating group 'hugetlbfs' with GID 978.
Nov 09 18:56:43 hz1-fdpth-master-2 systemd-sysusers[799]: Creating group 'openvswitch' with GID 977.
Nov 09 18:56:43 hz1-fdpth-master-2 systemd-sysusers[799]: Creating group 'unbound' with GID 976.
Nov 09 18:56:43 hz1-fdpth-master-2 systemd-sysusers[799]: Creating user 'openvswitch' (Open vSwitch Daemons) with UID 977 and GID 977.
Nov 09 18:56:43 hz1-fdpth-master-2 systemd-sysusers[799]: Creating user 'unbound' (Unbound DNS resolver) with UID 976 and GID 976.
Nov 09 18:56:43 hz1-fdpth-master-2 systemd-sysusers[799]: /etc/gshadow: Group "openvswitch" already exists.
Nov 09 18:56:43 hz1-fdpth-master-2 systemd[1]: systemd-sysusers.service: Main process exited, code=exited, status=1/FAILURE

ovsdb-server log:
Nov 09 18:56:48 hz1-fdpth-master-2 systemd[1]: Starting ovsdb-server.service - Open vSwitch Database Unit...
Nov 09 18:56:48 hz1-fdpth-master-2 chown[1434]: /usr/bin/chown: invalid user: ‘openvswitch:hugetlbfs’
Nov 09 18:56:48 hz1-fdpth-master-2 sh[1439]: /usr/bin/chown: invalid user: ‘openvswitch:hugetlbfs’
Nov 09 18:56:48 hz1-fdpth-master-2 sh[1440]: /usr/bin/chown: invalid user: ‘openvswitch:hugetlbfs’
Nov 09 18:56:48 hz1-fdpth-master-2 sh[1441]: /usr/bin/chown: invalid user: ‘openvswitch:hugetlbfs’
Nov 09 18:56:48 hz1-fdpth-master-2 ovs-ctl[1471]: id: 'openvswitch': no such user
Nov 09 18:56:48 hz1-fdpth-master-2 ovs-ctl[1472]: id: 'openvswitch': no such user
Nov 09 18:56:48 hz1-fdpth-master-2 ovs-ctl[1474]: id: 'openvswitch': no such user
Nov 09 18:56:48 hz1-fdpth-master-2 ovs-ctl[1476]: setpriv: failed to parse reuid: ''
Nov 09 18:56:48 hz1-fdpth-master-2 ovs-ctl[1478]: id: 'openvswitch': no such user
Nov 09 18:56:48 hz1-fdpth-master-2 ovs-ctl[1479]: id: 'openvswitch': no such user
Nov 09 18:56:48 hz1-fdpth-master-2 ovs-ctl[1481]: id: 'openvswitch': no such user
Nov 09 18:56:48 hz1-fdpth-master-2 ovs-ctl[1483]: setpriv: failed to parse reuid: ''
Nov 09 18:56:48 hz1-fdpth-master-2 ovs-ctl[1484]: install: invalid user 'openvswitch'
Nov 09 18:56:48 hz1-fdpth-master-2 ovsdb-server[1486]: ovs|00001|daemon_unix|EMER|(null): user openvswitch not found, aborting.

This repeats over and over, and the cluster never comes up.
What you expected to happen?
Cluster to come up
How to reproduce it (as minimally and precisely as possible)?

git checkout release-4.14
hack/build.sh
bin/openshift-install create cluster
provide azure creds
wait

References
Nothing I can find except an old libvirt issue that seems to have the same error, but no resolution.

hack/build.sh

Did you pass "TAGS=okd"?
Please attach or upload log bundle

That was the trick, TAGS=okd got me to the image failure. Had to revert to 4.11 to get a working cluster, and then upgrade my way through.

Does not work for me with release: 4.11 or 4.14.
I modified build.sh: TAGS="${TAGS:-okd}"
./openshift-install create cluster
Fails with:
FATAL failed to fetch Metadata: failed to fetch dependency of "Metadata": failed to fetch dependency of "Bootstrap Ignition Config": failed to fetch dependency of "CVO Ignore": failed to fetch dependency of "Openshift Manifests": failed to generate asset "Image": stable/x86_64: No azure build found


Difference between plasma-integration, kwayland-integration and plasma-browser integration?

Issue description
When searching on https://search.nixos.org for "plasma integration" there are 2 different packages : plasma-integration and plasma-browser-integration. Looking further in the repo to try and find a distinction, there's additionally a kwayland-integration. To make matters even more confusing plasma-integration/default.nix requires kwayland
What are all these packages? Are they related? Aliases? Copies?
@ttuegel @bkchr would probably know more.
I don't know if mkDerivation allows adding a description, but that or a comment in the .nix files would be greatly appreciated.

This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/whats-the-difference-between-plasma-integration-kwayland-integration-and-plasma-browser-integration/24998/1

Even if I have plasma-browser-integration in my configuration.nix, it seems that librewolf is not able to connect to the host

Old issue, but these all have congruent kde packages:
https://github.com/KDE/plasma-browser-integration
https://github.com/KDE/plasma-integration
https://github.com/KDE/kwayland-integration
The naming in Nixpkgs is simply mirroring the KDE naming convention.

It would be great if they had descriptions. Maybe I'll find some time to add it unless somebody beats me to the punch :)


rbac: fix a data race in listener generation

Fixes: https://github.com/istio/istio/issues/13298

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: yangminzhu
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

pilot/pkg/networking/plugin/authz/OWNERS [yangminzhu]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@yangminzhu: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-integ-k8s-tests.sh
3b50eeb659dcfc18527e694cbef66d11795c3d92
link
/test istio-integ-k8s-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/lgtm

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: howardjohn, yangminzhu
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

pilot/pkg/networking/plugin/authz/OWNERS [yangminzhu]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Traefik dashboard support for managing nearly all configurations

Do you want to request a feature or report a bug?

Feature
What did you expect to see?
I hope you can consider the dashboard that support modifying nearly all configurations and make configuration take affect immediately.

Hello @li1234yun ,
We've looked at your issue, and we found an existing issue that deals with this subject.
Therefore, we will close this issue as a duplicate in favor of #2481 .
Thus, we encourage you to participate in the other issue.
Thank you for your contribution.


If you re-enter the police car that you spawned with, you will get a full felony bar.

Since it's the vehicle that you spawned with, it means it's your personal one and it doesn't really make sense to have a full felony bar as if you stole a parked police car that you found around the map.
You can check it by choosing a police car in the car select menu, exit and re-enter the vehicle to have the felony bar full.
This bug also happens in regular Driver 2.

Fixed in d7e3ef0


usage confusing

Category

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

OS

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

Shell

[ ] bash
[ ] zsh
[ ] fish

I was used to peco and switched to "fzf" after discovering its nice preview option.
The usage in the README is very confusing. I had to read it many times to understand.
For example:

fzf will launch interactive finder, read the list from STDIN, and write the selected item to STDOUT.
find * -type f | fzf > selected
What is the use of the redirection ? It outputs defaults to STDOUT so no > seems to be necessary.
Without STDIN pipe, fzf will use find command to fetch the list of files excluding hidden ones. (You can override the default command with FZF_DEFAULT_COMMAND)
vim $(fzf)
Confusing is that in the example above it, you use the find command and a STDIN pipe, and then say that it also uses find without STDIN pipe. Maybe use another command than find in the first example, and explain which find-command is used without STDPIPE.
I also think its beter to say that it fetches the list of files from the current directory and explain what the example does e.g. something like: Select a file (in the current directory) with fzf and open/execute it with vim.
Using the above given vim-example since then is very confusing because vim has nothing to do with the explanation. E.g. under layout you give  examples like
vim $(fzf --height 40%)
Why not give as example fzf --height 40%
4)Fuzzy completion for bash and zsh
It took a while for me to find out that again this has nothing to do with vim or the by fzf modified cd and that it has become a feature of the terminal. E.g. *ls * also activates fzf.

I also have a question:
How to deactivate a key binding cq functions like *Alt-C", temporary or always. FZF_CTRL_T_COMMAND="" didn't work.

Thanks for the suggestions, I'll think about them.

How to deactivate a key binding cq functions like *Alt-C"

You can choose not to enable the key bindings during the installation process. However, if you want to disable not all, but only a subset of the bindings, you can rebind each one of them as you like. For example, if you use bash,
[ -f ~/.fzf.bash ] && source ~/.fzf.bash

# Remove bindings
bind -r "\C-t"

# Or, rebind to the original functions
bind '"\C-t": transpose-chars'
bind '"\C-r": reverse-search-history'
bind '"\ec": capitalize-word'

Similarly in zsh,
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh

if [[ $- =~ i ]]; then
  bindkey '\ec' capitalize-word
fi

I knew how to set a key binding but not how to remove one, nor could remember the orginal C-t binding (although I'm an Emacs-user). Now I see that the real key binding problem is with  marker.
Thank you for the quick and clear reply, and of course for sharing the more than usefull fzf.


Set builtin pos for redundant positions

Purpose
$subject
Fixes #42039
Approach
Samples
Remarks
Check List

[x] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

The code coverage is as follows for the default fields in records and objects with this PR. This shows code coverage does not have any impact after the changes.


@mutate doesn't apply mutations progressively

I'm working on porting over some tests from the dplyr source code, and this one came up as a failing test.
In dplyr, a column created via mutate can be referenced within the same mutate call. For example:
library(dplyr)
df <- tibble(x = 1)
df |>
    mutate(
        y = x + 1,
        z = y + 1
    )

#> # A tibble: 1 × 3
#>       x     y     z
#>   <dbl> <dbl> <dbl>
#> 1     1     2     3

However, in Tidier, if we try to do the same thing, an error gets thrown.
df = DataFrame(x = 1)
@mutate df begin
     y = x + 1
     z = y + 1
end

ERROR: ArgumentError: column name "y" not found in the data frame; existing most similar names are: "x"
Stacktrace:
  [1] lookupname
    @ ~/.julia/packages/DataFrames/58MUJ/src/other/index.jl:416 [inlined]
  [2] getindex
    @ ~/.julia/packages/DataFrames/58MUJ/src/other/index.jl:422 [inlined]
  [3] (::DataFrames.var"#555#556"{DataFrames.Index})(n::Symbol)
    @ DataFrames ./none:0
  [4] iterate
    @ ./generator.jl:47 [inlined]
  [5] collect(itr::Base.Generator{Vector{Symbol}, DataFrames.var"#555#556"{DataFrames.Index}})
    @ Base ./array.jl:834
  [6] normalize_selection(idx::DataFrames.Index, sel::Pair{<:Any, <:Pair{<:Union{…}, <:Union{…}}}, renamecols::Bool)
    @ DataFrames ~/.julia/packages/DataFrames/58MUJ/src/abstractdataframe/selection.jl:436
  [7] manipulate(::DataFrame, ::Any, ::Vararg{Any}; copycols::Bool, keeprows::Bool, renamecols::Bool)
    @ DataFrames ~/.julia/packages/DataFrames/58MUJ/src/abstractdataframe/selection.jl:1697
  [8] select(::DataFrame, ::Any, ::Vararg{Any}; copycols::Bool, renamecols::Bool, threads::Bool)
    @ DataFrames ~/.julia/packages/DataFrames/58MUJ/src/abstractdataframe/selection.jl:1298
  [9] transform(::DataFrame, ::Any, ::Vararg{Any}; copycols::Bool, renamecols::Bool, threads::Bool)
    @ DataFrames ~/.julia/packages/DataFrames/58MUJ/src/abstractdataframe/selection.jl:1378
 [10] macro expansion
    @ ~/Documents/github/TidierData.jl/src/TidierData.jl:293 [inlined]
 [11] top-level scope
    @ ~/Documents/github/TidierData.jl/test/test_mutate.jl:18
Some type information was truncated. Use `show(err)` to see complete types.

In the testset I wrote, all of the tests fail due to this error specifically.

The full testset should be on a branch called add-mutate-tests, but just in case I've dropped it below as well:
    @testset "mutations applied progressively" begin
        df = DataFrame(x = 1)
        @test isequal(
            (@mutate df begin
                    y = x + 1
                    z = y + 1
                end
            ),
            DataFrame(x = 1, y = 2, z = 3)
        )

        @test isequal(
            (@mutate df begin
                    x = x + 1
                    x = x + 1
                end
            ),
            DataFrame(x = 3)
        )

        @test isequal(
            (@mutate df begin
                    x = 2
                    y = x
                end
            ),
            DataFrame(x = 2, y = 2)
        )

        df = DataFrame(x = 1, y = 2)
        @test isequal(
            (@mutate df begin
                x2 = x
                x3 = x2 + 1
            end
            ),
            (@mutate df begin
                x2 = x + 0
                x3 = x2 + 1
            end
            )
        )
    end

I think this may have to do with how Julia works.
This discourse convo may help

Ahhhh I thought it might be something like that but wasn't sure. Thanks for the link!
I'll remove the tests for this before I put in a PR, and just add an example in the docstrings explaining that this doesn't work and requires separate calls to @mutate.


[stable/sonarqube] Deployment strategies

Signed-off-by: Ricardo Deitoz Posser<EMAIL_ADDRESS>@rjkernick @tsiddique
What this PR does / why we need it:
Enable deployment strategy configuration
Checklist

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/chart])

/assign @rjkernick

/ok-to-test

@rjkernick  Why this pull request wasn't merged and the https://github.com/helm/charts/pull/16651 got merged?

Just got lost in the shuffle. Sorry about that.

@RDPzero
Could you resolve conflicting files please? Thank you.

@RDPzero Could you solve the merge conflicts? Would be great to have this merged.

ping @RDPzero

@torstenwalter sorry for the delay
the pull request mentioned above (#16651) included the same functionality, so this one is useless


Removing ComplianceServer

You're basically forcing people to not upgrade to WMF 5.
If I have a working environment based on v4, I cant enjoy any of the good things in WMF5 just bacuase theres no backward compatibility now for my ComplianceServer.
A better way would be to check if the caller is a v5 or a v4, and then enable to disable the ComplianceServer resource, no ?

I agree with Arie to some extent.
To add to his post...IsComplianceServer functions perfectly fine in WMF5.
There are two methods in DSC 5 to register nodes and two methods to reporting. The problem is...

Nodes using the Configuration ID method can only be reported on by using a "Compliance Server" (IsComplianceServer).

Nodes using Registration Keys method can only be reported on by using a "Report Server".

Since you can only use one registration method with node and with the removal of IsComplianceServer, everyone who has their whole infrastructure setup for Configuration ID's would be forced to move to Registration Keys which should not be the case since Configuration ID's are supposed to be fully supported in PS5.
Please correct me if I'm wrong.

@ArieHein,
Compliance server was reporting server for high level pull operations only. In WMF 5 we extended that functionality by introducing reporting server. You can read more about it here: https://msdn.microsoft.com/en-us/powershell/dsc/reportserver
In WMF 5 pull client supports sending detailed status reports for pull as well as push operations.
@Zuldan ,
#1 and #2 bullets in your comments section are incorrect.
Nodes using ConfigurationID can now report to reporting server. Compliance server was extended to support push as well as detailed status reporting data from pull operations. Anyone who is using configurationID can continue using it after moving to reporting server without being forced to use registration keys.This topic talks about how to setup a node for pulling configurations from the pull server and reporting DSC operation status to reporting server using configuration ID:
https://msdn.microsoft.com/en-us/powershell/dsc/pullclientconfigid

Ok, seems like the newly updated docs make more sense now.


Markdown TOC is generated incorrectly when # appears in a code block.

What is the problem?
Table of contents is generated incorrectly when I comment a line in a code block.
Such as:
# I commented this line.
echo 'The line above is commented.'

When I have a block of code similar to above in a Markdown file, the TOC auto-generation-tool thinks the line I commented is a header and tries to put it in the TOC as a independent title.
How can I reproduce it?
When I have such code block in a Markdown file.
Below is yet another example.

👆 The TOC auto generated.

👆 The original Markdown snippet.
Is there any error message in the console?

As far as I see, it's not an error, it's a design problem.

Good catch. This is fixed in the latest dev build.
More information

（另外想问下你截图里的字是用笔在触屏上写的吗😂，有意思）

@neilsustc Cool, that's good to know. Looking forward to your next update.🎉🎉🎉
（是的哈哈哈哈哈哈哈哈哈哈哈，ThinkPad Yoga 💻）

Hey @neilsustc how long until it rolls into the normal distro?

Actually, I have been waiting for the stable version of KaTeX (an upstream module) for two months 😂

Anyway, I will release a new version this weekend.


feat(core): add logic to compose and send email

Part of #262.
all logic was copied from the internal project and adapted to freeats
we may discuss this pr via call to make your review easier

[x] I have reviewed my code in "Files changed" tab.
[x] I have re-read the issue and this PR fully resolves it.

!!need to create issue about signing out even alert about unsaved changes is displayed!!

!!need to create issue about signing out even alert about unsaved changes is displayed!!

https://github.com/freeats/freeats/issues/274

I suggest to remove emails counter in this PR too because we do not use related code.

When selecting email addresses in the bсс and сс fields, we can select emails of deactivated members. How correct is this?


cloud.aws.stack.auto

Describe the bug
Please provide details of the problem, including the version of Spring Cloud that you
are using.
In ECS, when using the Fargate launch type, the application works fine. But in the EC2 launch type, it complains with this error:
"com.amazonaws.services.cloudformation.model.AmazonCloudFormationException: Stack for i-0b56483f9029ab476 does not exist (Service: AmazonCloudFormation; Status Code: 400; Error Code: ValidationError; Request ID: 54e5b990-d2c7-4bbc-bfb0-d5f51cc166d0)"
However, setting the cloud.aws.stack.auto to false explicitly in the "application.properties" resolves the issue.
Note that there is no CloudFormation Stack, and no AutoScaling Group, so why does it look for one by default?

Spring Cloud AWS by default assumes application runs within Cloud Formation stack. If your application does not you should set cloud.aws.stack.auto to false.
We will reconsider the defaults.


Removed error log on roku connection error

Description:
If the Roku is powered off or not on the network it is currently logging an error every 10 seconds. It is not uncommon for the roku to off the network at any given time so logging this is just filling up the logs for no benefit. Once the roku appears on the network again it continues working normally.

Thanks! :dolphin:


Issue (not displaying instrument) when loading own symbol list

So when adding my own symbol list with loads of non-crypto tickers, I ran into this problem whereby i can't see the instrument name. Easiest to show you by images, So for example:
Here's the alert message I created in Alertz Manager:

But actual alert comes out like this in TV:

I would guess this is because I uploaded my own symbol list, and stocks etc seem to have different names, eg:
{{exchange}}-{{ticker}}
However, I tried using the above too with no luck, so maybe something needs changing on the backend?
BTW, Thanks again for an awesome product, which keeps getting better 🙏😁

Hi there - were you able to figure this out? There was a time when the uploaded .csv format was different...in theory you should be able to use the template on the site. If still a problem I'd be interested in seeing your .csv file..


Tried to invite a user by writing to<EMAIL_ADDRESS>=> failed

I tried to use the "sharing encrypted files" way to invite a user to Keybase.  Since I didn't know the user's twitter handle, but only an email address, I tried to use that email address.  I got an "No such file or directory" error trying to write the file.  From reading the doc, I would have expected that this would have worked, and that a) the file would have been encrypted with my public key, and b) an invitation would be sent to the email address used.  Upon that user's registration (with that email address), I would have expected to have the file automatically rekeyed with the user's public key.
Is it the case that this approach doesn't work with email addresses?  If so, that is a pretty serious deficiency, since an email address is the most likely "handle" that a user will know for another user.
My log id is:  11a411f83372d14638d9011c

KBFS only support Keybase proofs, and Keybase proofs have to be publicly verifiable.  We don't have a good way yet to support public proofs for emails (though we've done a little bit of thinking about it).
Where in the docs does it imply that an email address should work?

Nowhere in the docs is this implied. The example I've seen has only shown one "handle" -- the twitter id. I just assumed (incorrectly) that since you sign up with an email address and then generates proofs and associated these with your account, that Keybase would allow use of the email address as the "handle". I, obviously, just assumed incorrectly.

Ok, understood.  The issue is there is no foolproof way to prove to user1 that user2 really signed up for Keybase with a given email address, without trusting the server (and leaking the email address associated with the account).  We might be able to support certain types of email addresses (e.g., gmail.com), but we're unlikely to find a general solution for this in the near term.  Sorry!


Added XOR From 1 to N in Kotlin

Have you read the Contributing Guidelines on Pull Requests?
YES
Checklist

[x] I've read the contribution guidelines.
[x] I've checked the issue list before deciding what to submit.
[x] I've edited the README.md and link to my code.

Related Issues or Pull Requests
Closes: #6808

@HarshCasper @ankitaggarwal23 @bhav09 Please review this

@ankitaggarwal23 Please review this


⚠ ClamAV has degraded performance

In 788e640, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 195 ms

Resolved: ClamAV performance has improved in 4bb0294.


Annotated Answers with description of guestions

Annotated Answers with description of guestions
Microsoft Reviewers: Open in CodeFlow

I'd rather not duplicate the instructions in two places.


net/quagga: fix message for log

Doesn't need a version bump, should be ok for the next bigger change to be included :)

👍


[EVAL] Add RewardBench

Evaluation short description

Why is this evaluation interesting?

RewardBench is perhaps the only evaluation suite to provide broad coverage of the strengths and weaknesses of reward models across domains like reasoning, chat, and safety. It would be great to have this in lighteval so one can have a unified evaluation suite and not have to hop across different repos and dependencies.

How used is it in the community?

RewardBench is the de facto leaderboard for comparing reward models and is widely used by the post-training subset of the community for advanced methods like RL, rejection sampling, and others.
Evaluation metadata
Provide all available

Paper url: https://arxiv.org/abs/2403.13787
Github url: https://github.com/allenai/reward-bench
Dataset url: https://huggingface.co/datasets/allenai/reward-bench

Note: this eval is not a typical LLM eval since it relies on sequence classification. I'm not sure if that is out of scope for lighteval

It's in scope for the generative models, not as much for the classifier ones (as we would need to add a whole new pipeline for loading and running them) - do you think having it only for gen models would already be interesting enough?

OK I think that would be too restrictive since most reward models today are currently trained as sequence classifiers. Feel free to close the issue if you want :)


Error in SvgDocument.Draw(), if SVG-file contains line with arrow

If SVG-file contains line with arrow (style attribute "marker-end:url(#mrkr13-6);"), raise an exeption in SvgDocument.Draw(): Object reference not set to an instance of the object.
Look like parser can`t to resolve link url(#mrkr13-6).

This seems to be fixed. Cannot really verify without the original svg - please reopen if there remain issues.


Switch to pytest

From the docs for nose:

Nose has been in maintenance mode for the past several years and will likely cease without a new person/team to take over maintainership. New projects should consider using Nose2, py.test, or just plain unittest/unittest2.

Pytest seems to be the standard in the scientific python ecosystem

Looks like nose is actually just used for travis - so #106 will close this


fix: add word break style to error message

Description
Error message got truncated. Add word break style to fix it.
Task Item
Closes #5182
Screenshots

Coverage decreased (-0.02%) to 55.304% when pulling a13b8eadf81aa38c96e608a391ed00d9c2f0bb72 on liweitian:showFullError into 547f604d25ec4a7b99e468dec007454cd888b900 on microsoft:main.


Revert "[6.0][immediate] Load Foundation early enough for bridging"

Reverts swiftlang/swift#75634
This is breaking CommandLine.arguments in scripts in at least some configurations. Foundation is triggering the arguments to get cached before we override them for the script.
rdar://133308716

@swift-ci please test


Buckled entities will be deleted if their chair/bed is destroyed by an explosive.

Description
Anything to which an entity can be buckled being destroyed by an explosive will cause the entity in question to be deleted. This includes anything they were holding, wearing or carrying.  It seems to have to be an explosive, or erase mode.
Reproduction
Buckle an entity to a chair or bed, anything that accepts buckled entities.  If the bed of chair is destroyed, the entity should be deleted wholly.
Additional context
As stated, this will not happen if the thing that the entity is buckled to is destroyed by melee damage. It will occur with Erase Mode, an immovable rod deleting the chair/bed, or an explosive doing so. Unsure if there are more possibilities.
Pretty significant bug. Particularly for med of shuttlebombings, which is how I unfortunately came to learn about this bug's existence the hard way.

additional possibility: the object can also be transmogrified to cause this

apparently simply screwdriving to deconstruct the chair/bed works too
so deleting the entity in any way

should be fixed by #29718

I've tested this and the buckled entity doesn't get deleted if disassembling or destroying the chair.
But the entity still does get deleted if admin-deleting the chair though.


ENH: improve repr and str

This improves __repr__ and __str__ to represent masked elements of the data as "_". I chose "_" instead of "-" to make reprs executable (unless there are ellipses, of course).
To ensure that print options of the underlying array library are respected, the approach leverages the __repr__ and __str__ of the underlying library rather than creating one standard representation from scratch. Consequently, it relies on correctly parsing the string produced by the underlying library, but the assumptions are pretty mild:

[ and ] indicate the beginning and end of slices (including 0d elements, 1d rows, 2d tables, etc), respectively.
Ellipses indicate data omitted from the representation. There will be an equal number of slices before and after the parentheses.
[, ], and ... aren't used to indicate anything else.
The regular expressions for individual elements (e.g. numbers, booleans, inf, nan) are complete.[^1]
No numbers appear outside of a slice until after the last ] (where metadata, like shape=(2, 3, 1000), might begin)

[^1]: This isn't working for complex NaN/infs. I might try to improve that in this PR, or if you can help make that work, great! If not, I'd be comfortable merging this and opening a bug report.
          _          _          _]]]

Supersedes #5

I switched to an even more robust approach that doesn't really try to identify numbers; it just splits thing up based on commas and brackets in the repr. For now, this means that str is generated by removing isolating the array between [ and ] and removing commas, which might not render the same as str of the underlying array, but it's probably close in most cases. I think I'll go ahead and merge this as an improvement, and we can continue to improve if we notice issues.


webhook uses wrong main method

I noticed playing around with a derivative of this that the webhook isn't using the webhook main method, and so all API server calls fail with connection refused (because it ain't listening).
We should switch ./cmd/webhook/main.go to use the proper webhook main method.
cc @pmorie
/kind good-first-issue

I'd like to try.

Go for it!


uniswap_v3_lp error after opening position - One of the tokens in this position isn't recognized

Describe the bug
I'm running latest latest Hummingbot(1.18.0) and Gateway(1.18.0). The strategy i'm trying to run is uniswap_v3_lp on ethereum arbitrum one but I'm getting this error immediately after a position is added:
One of the tokens in this position isn't recognized. | Error: One of the tokens in this position isn't recognized.

Error in logs:
2023-07-25 13:49:08,017 - 29915 - GatewayEVMAMMLP - INFO - Created ADD liquidity order add-WETH-USDT-1690282143386635 txHash: 0xdf4772e2301b4cf7045538a7596bbb056b994754bf8ef05453eee0010703c930 on arbitrum_one. Estimated Gas Cost: 0.000015069000000000  (gas limit: 3000000, gas price: 0.1000000000000000055511151231257827021181583404541015625)
2023-07-25 13:49:08,018 - 29915 - hummingbot.core.event.event_reporter - EVENT_LOG - {"timestamp":<PHONE_NUMBER>.0, "order_id": "add-WETH-USDT-1690282143386635", "exchange_order_id": "0xdf4772e2301b4cf7045538a7596bbb056b994754bf8ef05453eee0010703c930", "order_action": "LPType.ADD", "trading_pair": "WETH-USDT", "fee_tier": "LOWEST", "lower_price": "1846.253652335600000", "upper_price": "1864.808965424400000", "amount": "0.001000", "creation_timestamp":<PHONE_NUMBER>.0, "token_id": 0, "event_name": "RangePositionUpdateEvent", "event_source": "uniswapLP_ethereum_arbitrum_one"}
GatewayEVMAMMLP - INFO - Liquidity added for position with ID 743687.
hummingbot.core.event.event_reporter - EVENT_LOG - {"timestamp":<PHONE_NUMBER>.0, "order_id": "add-WETH-USDT-1690282143386635", "exchange_order_id": "0xdf4772e2301b4cf7045538a7596bbb056b994754bf8ef05453eee0010703c930", "trading_pair": "WETH-USDT", "lower_price": "1846.253652335600000", "upper_price": "1864.808965424400000", "amount": "0", "fee_tier": "LOWEST", "creation_timestamp":<PHONE_NUMBER>.0, "trade_fee": {"percent": "0", "percent_token": null, "flat_fees": [{"token": "ETH", "amount": "0.0001393066000000000077330697401"}]}, "token_id": 743687, "event_name": "RangePositionLiquidityAddedEvent", "event_source": "uniswapLP_ethereum_arbitrum_one"}
hummingbot.core.gateway.gateway_http_client - WARNING - Call to https://localhost:15888/amm/liquidity/position failed. See logs for more details.
GatewayEVMAMMLP - ERROR - Error on POST https://localhost:15888/amm/liquidity/position Error: {'message': 'Unknown error.', 'httpErrorCode': 503, 'errorCode': 1099, 'stack': "Error: One of the tokens in this position isn't recognized.\n    at UniswapLP.<anonymous> (/gateway/dist/src/connectors/uniswap/uniswap.lp.js:76:23)\n    at Generator.next (<anonymous>)\n    at fulfilled (/gateway/dist/src/connectors/uniswap/uniswap.lp.js:28:58)\n    at processTicksAndRejections (node:internal/process/task_queues:96:5)"}
Traceback (most recent call last):
  File "/hummingbot/hummingbot/connector/gateway/amm_lp/gateway_evm_amm_lp.py", line 1097, in _status_polling_loop
    await safe_gather(
  File "/hummingbot/hummingbot/core/utils/async_utils.py", line 22, in safe_gather
    return await asyncio.gather(*args, **kwargs)
  File "/hummingbot/hummingbot/connector/gateway/amm_lp/gateway_evm_amm_lp.py", line 970, in update_nft
    raise nft_update_result
  File "/hummingbot/hummingbot/core/gateway/gateway_http_client.py", line 798, in amm_lp_position
    return await self.api_request("post", "amm/liquidity/position", request_payload)
  File "/hummingbot/hummingbot/core/gateway/gateway_http_client.py", line 218, in api_request
    raise e
  File "/hummingbot/hummingbot/core/gateway/gateway_http_client.py", line 206, in api_request
    raise ValueError(f"Error on {method.upper()} {url} Error: {parsed_response}")

Steps To Reproduce
Here are the steps to reproduce the issue (see attachments in the section below):

Connect gateway to UniswapLP and ethereum arbitrum_one
Choose uniswap_v3_lpStrategy as your strategy
Start the strategy
A new liquidity position should be created, but fail immediately after when the strategy tries to get the position info
...

Release version
1.18.0

Hi there,
I'm experiencing the same issue described above. I've tried installing the software directly from the master branch as well as using the Docker package, and in both cases, I encountered the same error.
Just to provide some additional context:
Hummingbot Version: 1.18.0
Gateway Version: 1.18.0
Strategy: uniswap_v3_lp on ethereum arbitrum one
I get the identical error message ("One of the tokens in this position isn't recognized.") immediately after a position is added.
Is there any workaround for this, or is a fix in progress?
Thanks in advance for any assistance!


Possible BUG, Data Mismatch but still provides data

This is a strange one. Running a task on core 0. Below is my code and in loop I am occasionally sending a push to firebase with a new lastSeen value:
void Task1( void * parameter) {
  for (;;) {
    if(firebaseSet && !sendingTimer) {
      if (!Firebase.readStream(firebaseData)){
        Serial.print("Read stream error: ");
        Serial.println(firebaseData.errorReason());
        Serial.println();
      }

      if (firebaseData.streamTimeout()){
        Serial.println("Stream timeout");
        Serial.println();
      }

      if (firebaseData.streamAvailable()){
        Serial.print("Stream data: ");
        String type = firebaseData.dataType();
        Serial.print(type);
        Serial.print("  -  ");
        if (firebaseData.dataType() == "int")
          Serial.print(firebaseData.intData());
        else if (firebaseData.dataType() == "float")
          Serial.print(firebaseData.floatData(), 5);
        else if (firebaseData.dataType() == "double")
          printf("%.9lf", firebaseData.doubleData());
        else if (firebaseData.dataType() == "boolean")
          Serial.print(firebaseData.boolData() == 1 ? "true" : "false");
        else if (firebaseData.dataType() == "string")
          Serial.print(firebaseData.stringData());
        else if (firebaseData.dataType() == "json")
          Serial.print(firebaseData.jsonString());
        Serial.println();
      }
    }
    vTaskDelay(2000);
  }
}

My serial output shows this with the last two lines repeating indefinitely:
Stream data: json  -  {"color":{"b":150,"g":71,"r":255},"lastOnline":"1605184636","status":2}
Stream data: json  -  {"color":{"b":150,"g":71,"r":255},"lastOnline":"1605184636","status":2}
Stream timeout

Read stream error: data type mismatch

Stream data: json  -  {"color":{"b":150,"g":71,"r":255},"lastOnline":"1605184859","status":2}
Read stream error: data type mismatch

Stream data: json  -  {"color":{"b":150,"g":71,"r":255},"lastOnline":"1605184859","status":2}
Read stream error: data type mismatch

Stream data: json  -  {"color":{"b":150,"g":71,"r":255},"lastOnline":"1605184859","status":2}

Where I push the lastSeen value I have a delay in the sendingTimer variable that is true for 3s before and 3s after the sendingTimer is active. Do you know why it is saying mismatch and then providing the json values anyway?

It's not a bug. It's the desired behavior to keep the last success operation payload data.
If the current operation failed, the payload data should not be changed.

I understand now thanks. What is "data type mismatch" then.

When you create the separate RTOS task for stream. The library can't access to your stream task recourses as normally.
The uncontrol condition may be occurred.
This issue also describe in the stream task examples of a years ago of obsoleted version and the usage like this is not recommended.
Use the stream callback or run the read stream on the main task which called by loop instead.

Thanks I'll give it a go

In the stream callback or loop, if you get this data type mismatch again please let me know.

When I have the streamCallback enabled instead I get this immediately after a firebase command to update a value:
[E][fb_ssl_client32.cpp:69] start_ssl_client(): ERROR opening socket
[E][FB_WCS32.cpp:160] connect(): start_ssl_client: -1
[E][fb_ssl_client32.cpp:69] start_ssl_client(): ERROR opening socket
[E][FB_WCS32.cpp:160] connect(): start_ssl_client: -1
[E][fb_ssl_client32.cpp:69] start_ssl_client(): ERROR opening socket
[E][FB_WCS32.cpp:160] connect(): start_ssl_client: -1
[E][fb_ssl_client32.cpp:69] start_ssl_client(): ERROR opening socket
[E][FB_WCS32.cpp:160] connect(): start_ssl_client: -1
[E][fb_ssl_client32.cpp:69] start_ssl_client(): ERROR opening socket
[E][FB_WCS32.cpp:160] connect(): start_ssl_client: -1
Firebase Timeout
[E][fb_ssl_client32.cpp:69] start_ssl_client(): ERROR opening socket
[E][FB_WCS32.cpp:160] connect(): start_ssl_client: -1
[E][fb_ssl_client32.cpp:69] start_ssl_client(): ERROR opening socket
[E][FB_WCS32.cpp:160] connect(): start_ssl_client: -1
[E][fb_ssl_client32.cpp:69] start_ssl_client(): ERROR opening socket
[E][FB_WCS32.cpp:160] connect(): start_ssl_client: -1

The code for begin the stream ever called?

Yes but do I need to call again after a Firebase.set() is run? Code works until Firebase.set() runs then those error show

You can use the same Firebase Data object for stream in the callback mode and normal Firebase calls.
It's because, that Firebase Data object is belong to the internal stream tasks already and any firebase calls which access to this Firebase Data objects will interrupt the stream task and some unhandled behavior my occur (wdt reset or anything)
If you want this for saving the memory usage by using only one Firebase Data object, please check the stream loop example.

Thats fine I have spare memory. Did not even think of this. Appreciate it. All fixed. Keep up the good work. Great library.

If you're using the library, version older than 3.8.9, when the stream payload is bigger than 512 bytes, the wdt reset may occur.
Please update the library to latest version which you can limit the payload response size with setResponseSize method of Firebase Data object as in ESP8266.
Note that, when the payload data or stream data is JSON which its size is bigger than set in the setResponseSize, the JSON payload can't parse due to truncated data and you will get the empty FirebaseJson object instead.


Redo post structure

Right now, the post structure is very hacky.
For one, everything is one component and everything is watched to show the right things. This can be much improved by not doing that.
Also, we should decrease the number of requests dramatically. Now, opening a list of posts sends about 10 requests. Then clicking on one sends another 2. This is bad and can be improved by actually using different components and merging some functionality.
Another thing we could do is using keep-alive to cache components and making it even snappier

Also, the vue router setup is horrible, a list of some names and route URLS which makes it very hard to use


'GeometryArray' object has no attribute 'tolist'

In this line
country_shape = country.geometry.values.tolist()[-1]
Will be solved by changing this line to:
country_shape = country.geometry.to_numpy()[-1]

This has now been updated and pushed to master branch. Thanks for reporting the problem. :+1:


improve the baseimage

run custom script if exists and ...

I can see how prepare_custom.sh can be useful, but I don't agree with the 'trusty' tag. We already tag each release with a version number. Furthermore, I also see no reason to install busybox. Isn't busybox mostly useful in environments where you can't have a full Linux distro?

Because of lack of feedback, I'm closing this pull request for now.


streamingClient.filter() hangs

Hello, I have the following sample code, where I try using the streamingClient for Twitter's API v2, however, when running the filter() function it just keeps hanging without returning anything. I have tested it on multiple basic rules.
Note: I have tested the streamingClient with the sample() function and it works, however the filter() doesn't
Here is the code:

Any fix?

I'm unable to reproduce this issue.
Are you getting a successful response from add_rules?
Is there any relevant information when you enable logging?

@Harmon758 The following is the response I get for adding a rule. Afterwards, as you can see running the filter() just stays hanging.
I'm using tweepy 4.8.0 btw

@Harmon758 And this is the logger's output

Any idea ?

Can you paste the relevant code here?
What response do you get from calling get_rules after you add the rule?

@Harmon758 Here is the response of get_rules :

Ah, it seems like this is an issue on Twitter's end rather than an issue with Tweepy.

https://twittercommunity.com/t/stream-stopped-getting-updates/169105 might also be relevant.

I believe this is resolved now on Twitter's end.


Add full enum interoperability

This PR completes the goal of having sealed enums be "strictly more powerful" than enums.
It accomplishes this in two ways:

SealedEnum now specifies nameOf and valueOf functions, which use the simple names of the objects joined by _.

Previously, there was an interoperability layer to create SealedEnums from normal enums.
Now, there is now the reverse layer: generating enum classes in addition to generating SealedEnum classes. If the new optional generateEnum parameter of @GenSealedEnum is true, then a regular enum class will be generated that is isomorphic to the sealed enum. This enum class can be specified in annotations, or passed to any interface built around normal enum classes. The bijection is implemented by an EnumForSealedEnumProvider interface, which also contains the Class of the enum.
Normal enum classes are more restrictive than sealed classes, but they can implement interfaces. Thus, the generated enum class implements all of the interfaces that the sealed class does via delegation to the sealed objects.

To make the above possible, generics are also now handled with more nuance. In short, whenever possible invariant types are used. If there are covariant or contra-variant types, they will be star-projected when possible, and when that isn't possible (such as the direct arguments for an interface that the enum class should implement), that interface is left out.
Edit:
Through the review, this PR evolved to also include the following changes:

@GenSealedEnum must now be applied to the companion object of the sealed class.
The above allows generation of extension properties and methods on the sealed class and its companion object to allow for nicer syntax for accessing the properties in a more enum-like way
The autogeneration feature has been removed.

The review and working on this PR also surfaced 5 issues: #11 , #12 , #13 , #14  and #15 .

@cdflynn The latest commit of 7dda726 adds all of the extensions properties and methods discussed above.
I ended up making the companion object required, by enforcing that the companion object of the sealed class is annotated with `@GenSealedEnum

c391838 removes the auto-generation option, which allows a bit of logic to be simplified. (No more need for SealedEnumSeed)
This also fixes the compilation warnings due to unrecognized options.
The final step for this PR will be to update all of the KDocs and README to reflect the new methods and behavior, and I will add issues for the additional warnings that would be nice to have to tighten the feedback loop.

@byencho @cdflynn This should be ready to go for another review! I responded to all feedback, and all KDocs and documentation should be up-to-date with the latest changes.
I opened up 5 issues that this PR didn't get to: #11 , #12 , #13 , #14  and #15 . Two of these deal with adding more warnings, and the other 3 are edge cases that I discovered while testing.

Thanks @cdflynn and @byencho for the reviews and feedback! Really proud of how far this has come.


Consider changing -f in hostinfo to --force (instead of --files)

-f == --force in all other functions

This is fixed in v0.22


NullPointerException when running ekstazi:ekstazi goal

I'm trying to run Ekstazi on newly created maven project, but the ekstazi:ekstazi goal always fails with a NullPointerException.
Steps to reproduce
Generate a new project with
    mvn -B archetype:generate \
     -DarchetypeGroupId=org.apache.maven.archetypes \
     -DgroupId=com.mycompany.app \
     -DartifactId=my-app

Then add the Surefire and Ekstazi plugins as in the guide and run
mvn ekstazi:ekstazi

Debugging log
I've run mvn ekstazi:ekstazi -X to get the debugging log and stored it here

You can check 5.2.0. Let me know if you are still facing the problem. (Sorry for the late reply; nobody is actively looking at the code these days).


Add more aliases for git merge and git rebase

Adds Git aliases for merging are rebasing, which are needed when conflicts occur.
Description
For a better user experience, the same pattern for constructing the aliases is applied for merge and rebase. The aliases also largely match the ones provided by OMZ. gms is inspired by OMZ (I have never used it, personally).
Motivation and Context
When working with branches conflicts can occur and need to be resolved. This may involve options like --continue and --abort for merge and rebase. Some developers may even want to perform --interactive rebasing.
How Has This Been Tested?
I have the identical changes integrated in a fresh, local installation of Bash-it on my developer laptop.
To verify that the aliases don't conflict with existing ones, I have grepped the current repository HEAD for "gma", "gmc", "gms", "grba", "grbc" and "grbi".
Types of changes

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

Checklist:

[x] My code follows the code style of this project.
[ ] If my change requires a change to the documentation, I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] If I have added a new file, I also added it to clean_files.txt and formatted it using lint_clean_files.sh.
[x] I have added tests to cover my changes, and all the new and existing tests pass.

Note that, as a topic, this is related to PR #2220, but the changes don't overlap.
The lint job fails for reasons that are unrelated to the changes in this PR.

Would someone mind merging this PR?

This PR looks like it would be ready for merging! :pretzel:

Hey there, this is a great enhancement! It makes the Git experience even more consistent than it is today. :smiley:
Easy choice. Go ahead, review and merge it! Now. :100: :dart: :bow_and_arrow: :bowing_woman:


Changing logo

Logo

Dear Administrator,
Could you please kindly update our logo? I've received the email saying that this request had been closed, however the logo is still the old one. We appreciate your help.
Kind regards,
HIT Team


help

Repro steps:

Action: acquireDotnet
Error type: 1
Error Message: Command failed: "c:\Users\themi.vscode\extensions\msazurermtools.azurerm-vscode-tools-0.8.2\assets\install scripts\dotnet-install.cmd" -InstallDir 'c:\Users\themi\AppData\Roaming\Code\User\globalStorage\msazurermtools.azurerm-vscode-tools.dotnet\2.2.5' -Runtime dotnet -Version 2.2.5
'PowerShell' is not recognized as an internal or external command,
operable program or batch file.
Version: 0.8.2
OS: win32
Product: Visual Studio Code
Product Version: 1.40.1
Language: en

Call Stack
ChildProcess.exithandler child_process.js:303:12
ChildProcess.emit events.js:200:13
maybeClose child_process.js:1021:16
Process.ChildProcess._handle.onexit child_process.js:283:5

@SirArthur30 Thanks for reporting. Right now we rely on PowerShell to install dotnet (needed for the language service), and are discussing what to do in this scenario.  So I take it  you do not have PowerShell installed?  This is a personal choice, or maybe company policy?
In the meantime, you can work around this by manually installing ASP.NET Core Runtime 2.2.8 from https://dotnet.microsoft.com/download/dotnet-core/2.2, then setting the vscode setting azureResourceManagerTools.languageServer.dotnetExePath to point to the path to dotnet.exe after it's installed.
Please let us know if this works for you.


[Bug]: Can build images after reinstall coolify

Is there an existing issue for this?

[X] I have searched the existing issues

Example public repository
n/a
Description
Hi,
After reinstall coolify with install script, something was lost and because this my apps don't build automatically from git commit and when i try manually build, im receiving error:
[16:07:00.916] {}
[16:07:00.922] secretOrPrivateKey must be an asymmetric key when using RS256

Steps To Reproduce
n/a
Version
3.12.17

I deleted the hidden path .env.
I think that two paths need be documented.
The file: ~/coolify/.env
The db: /var/lib/docker/volumes/coolify-db/_data/prod.db
The backup of these files are VERY important, else nothing work more.


I can not find the proper place to insert SHAP

Hi all,
There is an available code on GitHub in this link.
It uses a Conv model which is defined in this path: noiseprint/network.py
And then call the Conv model in this file: noiseprint/noiseprint.py
All proposed examples for using SHAP are really simple and I'm confused about how to use SHAP in a real project.
I want to use DeepExplainer or GradientExplainer to explain the above code, but I don't know where I should exactly insert SHAP codes.
And what changes are needed?
@slundberg

Anybody has an idea how to match the article code with SHAP?

Hi @Nima-pw, this is really a question for the Discussion board or stackoverflow, and should not be in the Issues section.
Regarding your question:
A shap explainer will need access to the model's predict function, or the model itself. It will also need access to either the vectorized features, or an embedding function that does the vectorization. I'm not familiar enough with the model you posted to tell you how to do it here specifically. This will depend on the model's architecture.
I think the better course of action here would be to contact the author's of the model paper. They are familiar with the code and can tell you where you will find what you are looking for.


Bug adjust scanner scheduler.submit and _num_scheduling_ctx maintain

Proposed changes
F0714 09:50:52.553777  9149 task_scheduler.cpp:249] Check failed: !task->is_pending_finish() must not pending close QueryId: 36e0dd2fc7104db2-bc2c1b434b3e9edd
InstanceId: 36e0dd2fc7104db2-bc2c1b434b3e9ef1
num_running_scanners = 0, num_scheduling_ctx = 1
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 51.86 seconds
stream load tsv:          506 seconds loaded<PHONE_NUMBER>9 Bytes, about 140 MB/s
stream load json:         19 seconds loaded<PHONE_NUMBER> Bytes, about 118 MB/s
stream load orc:          65 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
insert into select:          28.8 seconds inserted 10000000 Rows, about 347K ops/s
storage size:<PHONE_NUMBER>1 Bytes


cjxl: fix pfm input and allow jxl input

Fixes https://github.com/libjxl/libjxl/issues/2391 and https://github.com/libjxl/libjxl/issues/2193
Allowing jxl input for cjxl can be useful if the input is lossless or higher quality than what is desired for the output.
This change also makes it possible to run butteraugli_main or ssimulacra2 directly on jxl files, which is both convenient and slightly more accurate than running it on jxl files decoded to png.

This also fixes #430


#2 Adding code and tests for FE data library.

Codecov Report

Merging #6 (842f7bc) into main (6b27c4b) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##              main        #6    +/-   ##
==========================================
  Coverage   100.00%   100.00%
==========================================
  Files           10         5     -5
  Lines          507       138   -369
  Branches        63        24    -39
==========================================
- Hits           507       138   -369

Flag
Coverage Δ

data
100.00% <ø> (ø)

data-backend
?

data-frontend
100.00% <100.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

data-frontend/src/api-call.ts
100.00% <100.00%> (ø)

data-backend/src/headers.ts

data-backend/src/string-encoder-generic.ts

data-backend/src/body-generic.ts

data-backend/src/url.ts

data-backend/src/string-decoder-generic.ts

data-backend/src/body.ts


Remove quoting check for TVFs and Procedures during analysis

In the past, we needed procedure and TVF references to be fully quoted in a query for catalog resolution to work. To that end, we added this check to the analyzer that would throw an exception if it found a procedure or TVF which wasn't fully quoted.
Since then, we've updated the analyzer to rewrite queries and fully quote all resources before analysis. This makes the original check redundant and it should be removed.

Hello,
I have a comment for this part. Sometimes rewritten queries are quoted incorrectly. Because of this, the analyzer throws a syntax error.
Part of Original Query:
  round(sam.amountt, 2) as refundCashAmount,
  round(sam.amountt, 2) as price,
  ifnull(stl.commission_rate, mc.commission_rate) as commission,

Same part of Rewritten Query.
  r`round`sam.amountt, 2) as refundCashAmount,
  r`round`sam.amountt, 2) as price,
  i`ifnull`stl.commission_rate, mc.commission_rate) as commission,

I debugged the code, but I could not understand the reason of this bug. I think it is writing the quoted string to the wrong position. But I am not sure.
Thanks in advance.

Thanks for pointing this out!
Can you share a full query that has this issue? I'm having trouble reproducing it

Removed the problematic checks this issue refers to. I'm keeping the issue open to see about the quoting issue mentioned.
@TunahanOcal I haven't been able to reproduce the behavior you're mentioning. It'd be awesome if you can share a whole query with the problem and I can help debug it.
Here's an example I put together using your fragment that works as expected.
-- Original
WITH sam AS (
  SELECT 1 AS amountt,
  CAST(NULL AS FLOAT64) AS commission_rate1,
  0.05 commission_rate2
)
SELECT
  round(sam.amountt, 2) as refundCashAmount,
  round(sam.amountt, 2) as price,
  ifnull(sam.commission_rate1, sam.commission_rate2) as commission
FROM sam;

-- Requoted
WITH sam AS (
  SELECT 1 AS amountt,
  CAST(NULL AS FLOAT64) AS commission_rate1,
  0.05 commission_rate2
)
SELECT
  `round`(sam.amountt, 2) as refundCashAmount,
  `round`(sam.amountt, 2) as price,
  `ifnull`(sam.commission_rate1, sam.commission_rate2) as commission
FROM `sam`;

Hello again,
The query is very long. There are local temp tables with queries and too many tables. I have debugged the code. When extracting substring named originalNamePath from query using parse locations, it returns 'ound(' for round. I think the parse locations are coming wrong. I tried other queries to see what was wrong.  They worked as expected.

I think there is a bug in zeta-sql framework. Parse location range is wrong. I could not find what causes this bug.

Hello again,
I found the reason. Non-ASCII characters are the cause of this bug. In my case; When a query contains string literal that includes Turkish characters, parse location ranges are affected.  In UTF-8 encoding, they require multi-byte representation.
I am gonna try work around solution for this.


Setup testing

Setup testing with jest and typescript. Once this is done, we can start adding small tests to the project.

Hey, can I pick this up?

@imanpalsingh Sure please go ahead!

Great, please assign me

Hey, which node version are you using?

@imanpalsingh This project uses Node v16.

Please have a look at https://github.com/blenderskool/seekr/pull/5


example_executor does not run

Some missing imports, can probably be fixed quickly.
Additionally, there is a bunch of commented code. Not sure if this is on purpose. Can you have a look @David-Kreplin ?

Will be fixed with my update on the mitigation user guide.


[TEST] Update longhorn-rancher-chart-test pipeline parameter

What's the test to develop? Please describe
We need to update the longhorn-rancher-chart-test pipeline parameters to accommodate the new versions of rancher v2.8.4. These updated parameters should ensure that Jenkins jobs function correctly with the latest versions. Additionally, add some comments and examples to the Jenkins job to make it easier for users to understand and use.
Describe the tasks for the test

[ ] Update the longhorn-rancher-chart-test pipeline job parameters for Rancher v2.8.x.
[ ]  Add some comments and examples to the Jenkins job to make it easier for users to understand and use.
[ ] Verify that all Jenkins jobs perform as expected with the latest versions.

Additional context
NA

https://github.com/longhorn/infra/pull/175 was merged
The test results are as follows:
https://ci.longhorn.io/job/private/job/longhorn-rancher-chart-test/97/


Zip of release source files issue

The zip contains a main.ts vs. main.js.  Does load properly in Obsidian. However, individual files downloaded works.

Otherwise, working great. Thank you.

Yes, the zip should contain a main.ts, as this is written in TypeScript and uses a transpiler to convert to javascript. The zip is the source code, you should probably use Obsidian42 - BRAT to install this until it's been released in the community plugins section.
Thanks for using! Looking forward to hear more suggestions!


Load model from local disk?

I have tried load my model from unity asset in my local disk.
  Look for some help~~~ thanks ^_^

I tried to write my predictor class accroding to Hand-Pose .
But the output features get total 0 values in the heat map.  so strange T_T

I tried to write my predictor class accroding to Hand-Pose .
But the output features get total 0 values in the heat map. so strange T_T

Hey @1165048017 , I'm closing this issue because it's technically not a NatML issue. Writing a predictor depends highly on what model you have and how it works, so it's almost impossible for someone who doesn't know much about your model to advise on how to write a predictor implementation.

Hey @1165048017 , I'm closing this issue because it's technically not a NatML issue. Writing a predictor depends highly on what model you have and how it works, so it's almost impossible for someone who doesn't know much about your model to advise on how to write a predictor implementation.

The model performs correctly in python and barracuda~~ But NatML seems to much faster than barracuda, so that i want to try it!
Could I email you or your team for some help~~
After that, our team may consider the Enterprise Plan with NatML. This framework seems to be so flexible when developing on cross platform.


Mqtt availability

This pull request adds the usage of MQTT availability topics.  This greatly enhances the security of the sensor by indicating when the remote sensor is no longer connected.
Upon initial connection, it sets a Last Will statement to set the availability to "offline" in the event the MQTT server doesn't receive any communication within the 60 seconds defined on the connect command.
Once connection is re-established, the availability is set to "online" and all currently configured sensor states are updated.
The attached image shows two Garage Doors in Home-Assistant (separate pi zeros).  The unit controlling the Double Garage Door was disconnected from the network.  After 60 seconds, Home-Assistant recognized the offline status.  Once I reconnected it to the network, the status was seamlessly updated and everything returned to full operation.

@craigInTx I don't think this repo is actively maintained.  I had a conversation with the author after waiting quite a while on a pull request.  He indicated that he moved and no longer uses the application.  I use it and am maintaining a fork here.  It includes availability and few other enhancements which are listed in the top of the read me.  I am open to other pull requests.

Thank you bg1000.  Moments after submitting this pull request, I found your fork.  I'm in the process of converting to your newer fork, and hope to contribute where necessary.
I only wish I had found yours sooner.  Would have saved me some development.  :)

@craigInTx Feel free to open and issue or reach out if you have any trouble. You can reach me me on the home assistant community forum or discord under the same user name (bg1000).


Introduce DeclRef and remove excessive clones to DeclId

Description
This PR is a subset of #3744. It introduces DeclRef, which is a smart wrapper type around DeclId and contains additional information aside from the DeclId. This allows us to make DeclId a copy type and remove excessive clones of DeclId and DeclRef.
This PR is a subset of #3744, so while not explicitly necessary right now on master, there will be additional fields added to DeclRef in #3744.
Checklist

[x] I have linked to any relevant issues.
[ ] I have commented my code, particularly in hard-to-understand areas.
[x] I have updated the documentation where relevant (API docs, the reference, and the Sway book).
[ ] I have added tests that prove my fix is effective or that my feature works.
[x] I have added (or requested a maintainer to add) the necessary Breaking* or New Feature labels where relevant.
[x] I have done my best to ensure that my PR adheres to the Fuel Labs Code Review Standards.
[x] I have requested a review from the relevant team or maintainers.

I would ask that Spans and Idents be included wherever possible as they are the primary type that we rely on in the language server for doing anything.

If I remember correctly that span is only used for a diagnostic which I've never even seen before. And can't we get the name from the declaration linked by the ID anyway?

Also the DeclRef type will get at least one additional field in #3744, so it's convenient to have the distinction. I'm trying to split up the refactoring bit of that PR before I submit "the real PR" ™ with the core logic 😅


Update deployment-vdi-microsoft-defender-antivirus.md

Removed the wording recommended for line 89.
Added and modified lines 133 - 147 to include additional required steps.

Learn Build status updates of commit 0e1f518:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error: GitBranchDeletedOrForcePushed]

Cannot sync git repo to specified commit because ref +refs/pull/10572/merge has been deleted or has been force pushed.
 If this is pull request, please ensure it is mergeable (no merge conflict) and open (not closed).

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Learn Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel


updated sso mission instructions based on feedback. Fixes RHOARDOC-1197

This also doesn't address the first item from RHOARDOC-1197, namely that there are two SSO-related routes in the output of oc get routes. Looking at https://appdev.prod-preview.openshift.io/docs/spring-boot-runtime.html#getting-the-secured-booster-api-endpoint, it's not only chapter 3.6.4, but also 3.6.6: the Getting the Secured Booster API Endpoint procedure doesn't really say which route is the right one. Same in the booster README.

@Ladicek updated based on feedback and address point 1


Minor typo in documentation

https://googlecloudplatform.github.io/google-cloud-powershell/#/google-compute-engine
"# Fecth information"
should be ~
"# Fetch information"

Thanks for the bug report. Fixed.


✨ Implement Visual Studio Code on Analytical Platform

User Story
As an Analytical Platform product engineering
I want to offer Visual Studio Code as part of our suite of web based IDEs
So that our users have an alternative to Jupyter Lab and RStudio
Value / Purpose
Our user base have been asking for Visual Studio Code for a long time, and we finally have an official feature reqeust for this (https://github.com/ministryofjustice/data-platform/issues/3137)
Delivering this would allow them to use a modern and more familiar IDE
Useful Contacts
@jacobwoffenden
User Types
Analytical Platform product engineering
Hypothesis
If we make Visual Studio Code available as a tool on the Analytical Platform
Then our users will love us
Proposal

[ ] Review ToS for hosting Visual Studio Code (https://aka.ms/vscode-server-license)

We do not resell it, but we do host it for our internal users

[ ] Build (scan and test) and publish image to GHCR
[ ] Build (and test) and publish Helm chart to GHCR
[ ] Make available as a new tool on Analytical Platform Control Panel

Additional Information
@jacobwoffenden already has a working prototype of Microsoft's Visual Studio Code
Definition of Done

[ ] ToS of Microsoft Visual Studio Code reviewed
[ ] Image published
[ ] Helm chart published
[ ] Control Panel updated
[ ] User guidance updated

The team worked on creating a Dockerfile - listed in this Canvas.
The Dockerfile creates an Ubuntu based image which installs code and runs this as a non-root user.
(Slack thread)

added terraform code to data-platform repo and created vs-core repo. here is the new repo

Work identified today which still needs to be done:

[ ] Check the SHASUM of the AWS CLI
[ ] Versioning the AWS CLI
[ ] Add test's like the ones which are done here.
[ ] Add the github workflows

Pull request merged to publish container https://github.com/ministryofjustice/analytical-platform-visual-studio-code/pull/7 🎉

21/02/24 summary:

Chart rebased from RStudio chart
Deployed new priority classes

https://github.com/ministryofjustice/analytics-platform-helm-charts/pull/738
https://github.com/moj-analytical-services/analytical-platform-flux/pull/1233

Unhardcoded RStudio from auth-proxy image https://github.com/ministryofjustice/analytical-platform-nginx-proxy/pull/31

Currently stuck due to request to the redirect_uri path but there's no session state found 🤷
@michaeljcollinsuk is having a look
suggestions for tomorrow:

Switch to non custom reverse proxy https://oauth2-proxy.github.io/oauth2-proxy/

22/02/24 summary:

no progress made on issues

Gary to contact John D for Microsoft contact RE licensing.

26/02/24 summary:

Patched NGINX proxy https://github.com/ministryofjustice/analytical-platform-nginx-proxy/pull/32
Released VS Code and Provision User charts https://github.com/ministryofjustice/analytics-platform-helm-charts/pull/737#pullrequestreview-1901296115

27/02/24 summary:

Tested oauth2 proxy as a replacement for in-house proxy

Wanted to test a quick win, but it isn't compatible with instance idling service
Also it didn't work out of the box, probably a configuration issue our end

Release updated in Control Panel to remove proxy.tool and set custom domain to vscode

502 error from ingress-nginx after authenticating with Auth0, indicating successful connection from ingress to tool service, but not sure where this is manifesting from

Service "user-jacobwoffenden/visual-studio-code-jacob" does not have any active Endpoint.

If we update tool service to point at VS Code directly, bypassing authentication, it works

Slack thread: https://mojdt.slack.com/archives/C06KZLNS0GL/p1709043748561829

✨  Added first run message to terminal

📝 User Guidance update

https://user-guidance.analytical-platform.service.justice.gov.uk/get-started.html#7-set-up-visual-studio-code
https://user-guidance.analytical-platform.service.justice.gov.uk/tools/visual-studio-code/

28/02/24 summary:

@Gary-H9 added first run notice https://github.com/ministryofjustice/analytical-platform-visual-studio-code/pull/17
@jacobwoffenden published user guidance https://github.com/moj-analytical-services/user-guidance/pull/398
Span beta out into #3478

This ticket remains open to track ToS with MS, maybe we should spin that out into another ticket and have delivery liaise with software/vendor management?


Login screen forces me to use Github/Google/Microsoft to login, no place to manually login

I provisioned a small environment and can reach m1.dcos. However, I get the login screen without the ability to login with a user/pass.
How can I proceed? Do I need to set some configuration that will enable me to use the default admin login? I tried to login with Github but get an error about not being connected to the internet.

Currently, internet is required for DC/OS to be fully functional, primarily for Oauth login and package management using Mesosphere Universe.
Local and LDAP auth options are features of Mesosphere Enterprise DC/OS: https://mesosphere.com/enterprise/
Auth can be disabled altogether, tho, by using the opt-out procedure before installation: https://dcos.io/docs/1.7/administration/opt-out/


Updates to Overview of Components doc to remove references to hot, warm, and cold paths

Hi @JohnPWSharp, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
We will now validate the agreement and then real humans will evaluate your PR.
TTYL, AZPRBOT;

There are a couple of things that I'd like to tweaks, but I'll open issues for those.


Fix 'modulation of complement activation in other organism' and children

Hello,
I think the following terms should be 'in host' rather than 'in other organism':
'modulation of complement activation in other organism'
and children:
'modulation of complement activation, alternative pathway in other organism'
'negative regulation of complement activation, alternative pathway in other organism'
'positive regulation of complement activation, alternative pathway in other organism'
'modulation of complement activation, classical pathway in other organism'
'negative regulation of complement activation, classical pathway in other organism'
'positive regulation of complement activation, classical pathway in other organism'
'modulation of complement activation, lectin pathway in other organism'
'negative regulation of complement activation, lectin pathway in other organism'
'positive regulation of complement activation, lectin pathway in other organism'
'modulation of mast cell degranulation in other organism'
'positive regulation of mast cell degranulation in other organism'
(note that there are no annotations to any of these terms)
OK @mgiglio99 @addiehl @ValWood ?
Thanks, Pascale

I agree these should just be in host.  There are proteins in the wild that could well be annotated to some of these terms: "Complement inhibition by gram-positive pathogens: molecular mechanisms and therapeutic implications" (PMID:20062962) is just the tip of the iceberg of such potential annotations, but of course I don't do annotation anymore and I have never annotated bacterial proteins.  Nevertheless, lack of annotations does not make a term invalid in this case.
Alex

Paper cited in one of the terms mentions some snake venom:
https://www.ncbi.nlm.nih.gov/pubmed/20837040
In this case the 'target' is not a host but a prey.
Most other terms relevant to venoms are under this branch:

GO:0051705 multi-organism behavior
--  GO:0035737 injection of substance in to other organism
---  GO:0035738 envenomation resulting in modification of morphology or physiology of other organism
--- etc

So specifically the terms above would be redundant with 'GO:0044646 envenomation resulting in modulation of complement activation in other organism' and children

GO:0044646 envenomation resulting in modulation of complement activation in other organism
GO:0044642 envenomation resulting in modulation of complement activation, alternative pathway in other organism
GO:0044636 envenomation resulting in modulation of complement activation, classical pathway in other organism
GO:0044639 envenomation resulting in modulation of complement activation, lectin pathway in other organism

Since there are no annotations on any of these terms, I can change the snake references to the envenomation terms and change the term labels as I suggested above.
Longer term - do we need two branches to represent hosts versus preys (and preys attached by envenomation versus other mechanisms to deliver a toxin?)
Thanks, Pascale

I initially thought there should already be host terms for these, thinking they were PAMGO or PAMGO-like. From the date looks like these were not PAMGO terms, so I guess that's why there's no corresponding host terms.
If we have the 'envenomation' set and we want a 'host' set, shouldn't they both be children of the 'other organism' set mentioned above?
And is it correct that the 'envenomation' parent is 'injection of substance into other organism'? It seems to me that parent is about the actual injection, where as the envenomation children are are about what the proteins are doing once they are in. Seems not quite right to me.

Seems not quite right to me.

Me neither. Moreover, other mechanism of delivering toxins (for example by frogs) would not apply, even though the mechanism of action of the actual toxin could be the same.
Moreover (again), the actual 'injection' is also unrelated to how a toxin acts, so I would argue in favor of uncoupling delivery and mode of action of the toxin.
See also #15553
Pascale

I agree.

Will be fixed in #22349


FE: add toggle to disable taxonomy elements to Taxonomy Manager

We need to add a checkbox or toggle that enables our users to mark a particular element in the taxonomy as disabled so that these elements don't show up when labeling systems.

Let's use the same design we use to indicate custom fields for indicating that the element has been disabled:

moving to done


functional tests: rkt fly tests fail on debian 8

rkt fly tests fail on debian 8 because we use an old kernel (3.16) which triggers https://github.com/coreos/rkt/issues/1922. That's why we require 3.18+.
I think we should test on debian stretch (testing) since we already use some packages from it and it comes with an updated kernel.

I agree. The problem there is that Debian doesn't provide [testing|unstable] images, so we either bake our own AMI (which is feasible and let us pin components, but requires a bit of maintenance) or we upgrade+kexec every time (which requires less maintenance, but it's slower and doesn't allow fine-pinning) or we convince debian to provide testing-flavor AMI (which is the cleaner way, but probably the longest path).
Thoughts?

We already create our own AMIs (using https://github.com/coreos/rkt/pull/2736) so I think we can just update the cloudconfig there to upgrade to stretch.

I updated the AMI and it passes now https://jenkins-rkt-public.prod.coreos.systems/job/rkt-master-periodic/os_type=debian-testing,stage1_flavor=fly/

Fixed by https://github.com/coreos/rkt/pull/2736


Is this project active ?

does not seem to be much activity but perhaps because its stable ? is that the case ?
Is there a sense for how incompatible  it may be with JavaFX 8 ?
thanks

@amiracam I recently got openjfx 8 installed on fedora core and the samples worked.  I will say stable is in the eye of the beholder.  We definitely should work on this more but many things just work now too.

thanks, I’ve not yet moved over to the “openjdk” side of things although it seems I should
--
Charles Monteiro
On Sep 21, 2018, 2:58 PM -0400, Thomas E Enebo<EMAIL_ADDRESS>wrote:

@amiracam I recently got openjfx 8 installed on fedora core and the samples worked. I will say stable is in the eye of the beholder. We definitely should work on this more but many things just work now too.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

JRubyFX 2.0 has been released. Your issue may have been fixed in 2.0. If your issue still applies to JRubyFX 2.0, please reopen this issue.


feat: getRandom JS Plugin

closes: https://github.com/polywrap/toolchain/issues/901

Closing this PR. I overlooked the fact that there exists a WASI "get random bytes" method: https://github.com/WebAssembly/WASI/blob/main/phases/snapshot/docs.md#-random_getbuf-pointeru8-buf_len-size---result-errno
Instead of creating this plugin, we can create a Rust wrapper, use this create, compile for wasi, and boom we're all good!
However this is obviously dependent on the Polywrap client supporting WASI, which is being tracked here: https://github.com/polywrap/toolchain/issues/1262


[firestore] Invalid argument when using whereIn

I'm currently playing around with firestore and flutter.
When I tried the whereIn-filter I encountered a strange error.
Stream<List<Topic>> getTopics() {
    return _topics
        .orderBy('name')
        .where(FieldPath.documentId,
            whereIn: ["KPOf8RnAG6eKiuM97bkA", "O4PMgvLSNKcSNPEofqOl"]
                .toList())
        .snapshots()
        .map((list) {
      return list.docs.map((doc) {
        return Topic.fromJson(doc.id, doc.data());
      }).toList();
    });
  }

The strange thing is that when I debug the result+mapping everything seems to be ok, but when hooking up a StreamBuilder it returns an error:
Client specified an invalid argument. Note that this differs from failed-precondition. invalid-argument indicates arguments that are problematic regardless of the state of the system (e.g., an invalid field name).
Any idea?
Regards
Daniel

Hey Daniel,
I've just used your function (slight tweak, I mapped maps in-place) and created a StreamBuilder with no problems on an iOS simulator. I'm using:
cloud_firestore: ^0.14.0+2
  firebase_core: ^0.5.0

Could you provide a reproducible example, please.

I'm using android and cloud_firestore: ^0.14.0+2.
I'm afraid not, at least not without a lot of work on my side. Could you please first check if you get it also running on Android?

Good night,
I have the same problem reported in the call.
I only use Flutter on Android.
Any solution to such a problem?

same issue here !!!

@russellwheatley @Shibynator @Peet-A
Still happening on cloud_firestore: 1.0.3, but it seems it should've been fixed already.
Check what Jon Skeet has replied.
https://stackoverflow.com/questions/61906792/firestore-wherein-query-with-fieldpath-documentid-is-throwing-exception
final query = collection.where(FieldPath.documentId,
          // workaround: collection.doc(e.id)
          whereIn: stringIds.map((e) => collection.doc(e.id)).toList());

I'm going to close this as the issue is stale and I cannot reproduce. Happy to reopen if a reproducible sample is forwarded.