compdef: unknown command or service: git

zsh 4.3.12
lastest clone of oh-my-zsh
After manually installing it (not using the wget method) whenever I login I get a load of code outputted to iterm2.
compdump () {
# undefined
builtin autoload -XUz
}
compinit () {
emulate -L zsh
setopt extendedglob
typeset _i_dumpfile _i_files _i_line _i_done _i_dir _i_autodump=1
typeset _i_tag _i_file _i_addfiles _i_fail=ask _i_check=yes _i_name
while [[ $# -gt 0 && $1 = -[dDiuC] ]]
do
case "$1" in
(-d) _i_autodump=1
shift
if [[ $# -gt 0 && "$1" != -[dfQC] ]]
then
_i_dumpfile="$1"
shift
fi ;;
(-D) _i_autodump=0
shift ;;
(-i) _i_fail=ign
shift ;;
(-u) _i_fail=use
shift ;;
(-C) _i_check=
shift ;;
esac
done
typeset -gA _comps _services _patcomps _postpatcomps
typeset -gA _compautos
typeset -gA _lastcomp
if [[ -n $_i_dumpfile ]]
then
typeset -g _comp_dumpfile="$_i_dumpfile"
else
typeset -g _comp_dumpfile="${ZDOTDIR:-$HOME}/.zcompdump"
fi
typeset -ga _comp_options
_comp_options=(bareglobqual extendedglob glob multibyte nullglob rcexpandparam unset NO_allexport NO_aliases NO_cshnullglob NO_cshjunkiequotes NO_errexit NO_globsubst NO_histsubstpattern NO_ignorebraces NO_kshglob NO_ksharrays NO_kshtypeset NO_markdirs NO_octalzeroes NO_shwordsplit NO_shglob NO_warncreateglobal)
typeset -g _comp_setup='local -A _comp_caller_options;
_comp_caller_options=(${(kv)options});
setopt localoptions localtraps ${_comp_options[@]};
local IFS=$''\ \t\r\n\0''
exec </dev/null;
trap - ZERR
local -a reply
local REPLY'
typeset -ga compprefuncs comppostfuncs
compprefuncs=()
comppostfuncs=()
: $funcstack
compdef () {
local opt autol type func delete eval new i ret=0 cmd svc
local -a match mbegin mend
emulate -L zsh
setopt extendedglob
if (( ! $# ))
then
print -u2 "$0: I need arguments"
return 1
fi
while getopts "anpPkKde" opt
do
case "$opt" in
(a) autol=yes  ;;
(n) new=yes  ;;
([pPkK]) if [[ -n "$type" ]]
then
print -u2 "$0: type already set to $type"
return 1
fi
if [[ "$opt" = p ]]
then
type=pattern
elif [[ "$opt" = P ]]
then
type=postpattern
elif [[ "$opt" = K ]]
then
type=widgetkey
else
type=key
fi ;;
(d) delete=yes  ;;
(e) eval=yes  ;;
esac
done
shift OPTIND-1
if (( ! $# ))
then
print -u2 "$0: I need arguments"
return 1
fi
if [[ -z "$delete" ]]
then
if [[ -z "$eval" ]] && [[ "$1" = = ]]
then
while (( $# ))
do
if [[ "$1" = = ]]
then
cmd="${1%%=}"
svc="${1#=}"
func="$_comps[${_services[(r)$svc]:-$svc}]"
[[ -n ${_services[$svc]} ]] && svc=${_services[$svc]}
[[ -z "$func" ]] && func="${${_patcomps[(K)$svc][1]}:-${_postpatcomps[(K)$svc][1]}}"
if [[ -n "$func" ]]
then
_comps[$cmd]="$func"
_services[$cmd]="$svc"
else
print -u2 "$0: unknown command or service: $svc"
ret=1
fi
else
print -u2 "$0: invalid argument: $1"
ret=1
fi
shift
done
return ret
fi
func="$1"
[[ -n "$autol" ]] && autoload -Uz "$func"
shift
case "$type" in
(widgetkey) while [[ -n $1 ]]
do
if [[ $# -lt 3 ]]
then
print -u2 "$0: compdef -K requires   "
return 1
fi
[[ $1 = * ]] || 1="$1"
[[ $2 = .* ]] || 2=".$2"
[[ $2 = .menu-select ]] && zmodload -i zsh/complist
zle -C "$1" "$2" "$func"
if [[ -n $new ]]
then
bindkey "$3" | read -A opt
[[ $opt[-1] = undefined-key ]] && bindkey "$3" "$1"
else
bindkey "$3" "$1"
fi
shift 3
done ;;
(key) if [[ $# -lt 2 ]]
then
print -u2 "$0: missing keys"
return 1
fi
if [[ $1 = .* ]]
then
[[ $1 = .menu-select ]] && zmodload -i zsh/complist
zle -C "$func" "$1" "$func"
else
[[ $1 = menu-select ]] && zmodload -i zsh/complist
zle -C "$func" ".$1" "$func"
fi
shift
for i
do
if [[ -n $new ]]
then
bindkey "$i" | read -A opt
[[ $opt[-1] = undefined-key ]] || continue
fi
bindkey "$i" "$func"
done ;;
() while (( $# ))
do
if [[ "$1" = -N ]]
then
type=normal
elif [[ "$1" = -p ]]
then
type=pattern
elif [[ "$1" = -P ]]
then
type=postpattern
else
case "$type" in
(pattern) if [[ $1 = (#b)()=() ]]
then
_patcomps[$match[1]]="=$match[2]=$func"
else
_patcomps[$1]="$func"
fi ;;
(postpattern) if [[ $1 = (#b)()=() ]]
then
_postpatcomps[$match[1]]="=$match[2]=$func"
else
_postpatcomps[$1]="$func"
fi ;;
() if [[ "$1" = = ]]
then
cmd="${1%%=}"
svc=yes
else
cmd="$1"
svc=
fi
if [[ -z "$new" || -z "${_comps[$1]}" ]]
then
_comps[$cmd]="$func"
[[ -n "$svc" ]] && _services[$cmd]="${1#=}"
fi ;;
esac
fi
shift
done ;;
esac
else
case "$type" in
(pattern) unset "_patcomps[$^@]" ;;
(postpattern) unset "_postpatcomps[$^@]" ;;
(key) print -u2 "$0: cannot restore key bindings"
return 1 ;;
() unset "_comps[$^@]" ;;
esac
fi
}
typeset _i_wdirs _i_wfiles
_i_wdirs=()
_i_wfiles=()
autoload -Uz compaudit
if [[ -n "$_i_check" ]]
then
typeset _i_q
if ! eval compaudit
then
if [[ -n "$_i_q" ]]
then
if [[ "$_i_fail" = ask ]]
then
if ! read -q "?zsh compinit: insecure $_i_q, run compaudit for list.
Ignore insecure $_i_q and continue [y] or abort compinit [n]? "
then
print -u2 "$0: initialization aborted"
unfunction compinit compdef
unset _comp_dumpfile _comp_secure compprefuncs comppostfuncs _comps _patcomps _postpatcomps _compautos _lastcomp
return 1
fi
_i_wfiles=()
_i_wdirs=()
else
(( $#_i_wfiles )) && _i_files=("${(@)_i_files:#(${(j:|:)_i_wfiles%.zwc})}")
(( $#_i_wdirs )) && _i_files=("${(@)_i_files:#(${(j:|:)_i_wdirs%.zwc})/}")
fi
fi
typeset -g _comp_secure=yes
fi
fi
autoload -Uz compdump compinstall
_i_done=''
if [[ -f "$_comp_dumpfile" ]]
then
if [[ -n "$_i_check" ]]
then
read -rA _i_line < "$_comp_dumpfile"
if [[ _i_autodump -eq 1 && $_i_line[2] -eq $#_i_files && $ZSH_VERSION = $_i_line[4] ]]
then
builtin . "$_comp_dumpfile"
_i_done=yes
fi
else
builtin . "$_comp_dumpfile"
_i_done=yes
fi
fi
if [[ -z "$_i_done" ]]
then
typeset -A _i_test
for _i_dir in $fpath
do
[[ $_i_dir = . ]] && continue
(( $_i_wdirs[(I)$_i_dir] )) && continue
for _i_file in $i_dir/^([^]|~|*.zwc)(N)
do
_i_name="${_i_file:t}"
(( $+_i_test[$_i_name] + $_i_wfiles[(I)$_i_file] )) && continue
_i_test[$_i_name]=yes
read -rA _i_line < $_i_file
_i_tag=$_i_line[1]
shift _i_line
case $_i_tag in
(#compdef) if [[ $_i_line[1] = -pPkK ]]
then
compdef ${_i_line[1]}na "${_i_name}" "${(@)_i_line[2,-1]}"
else
compdef -na "${_i_name}" "${_i_line[@]}"
fi ;;
(#autoload) autoload -Uz "$_i_line[@]" ${_i_name}
[[ "$_i_line" != \ # ]] && _compautos[${_i_name}]="$_i_line"  ;;
esac
done
done
if [[ $_i_autodump = 1 ]]
then
compdump
fi
fi
for _i_line in complete-word delete-char-or-list expand-or-complete expand-or-complete-prefix list-choices menu-complete menu-expand-or-complete reverse-menu-complete
do
zle -C $_i_line .$_i_line _main_complete
done
zle -la menu-select && zle -C menu-select .menu-select _main_complete
bindkey '^i' | read -A _i_line
if [[ ${_i_line[2]} = expand-or-complete ]] && zstyle -a ':completion:' completer _i_line && (( ${_i_line[(i)_expand]} <= ${#_i_line} ))
then
bindkey '^i' complete-word
fi
unfunction compinit compaudit
autoload -Uz compinit compaudit
return 0
}
compinstall () {
# undefined
builtin autoload -XUz
}
edit-command-line () {
# undefined
builtin autoload -XU
}
url-quote-magic () {
# undefined
builtin autoload -XU
}
compdef: unknown command or service: git
compdef: unknown command or service: git
compdef: unknown command or service: git
compdef: unknown command or service: git
compdef: unknown command or service: git
compdef: unknown command or service: git
Tab complete doesn't work, the git plugin seems to be working and themes are also working. This is my 5th install of oh-my-zsh and I've not seen this issue before.

Try running this and see if it fixes it for you:
compaudit | xargs chmod g-w
It did for me.

I'm having the same issue as well.  The above recommendation had no change as compaudit did not print out any lines.
Any other theories?

Here's a bit more info about the system I am currently using:
Mac OS X 10.5.8
zsh 4.3.4 (i386-apple-darwin9.0)
iTerm2 Build <IP_ADDRESS>11020

Confirm that on N900 Maemo:
$ uname -a
Linux Nokia-N900 <IP_ADDRESS>-power49 #1 PREEMPT Fri Nov 18 23:59:53 EET 2011 armv7l unknown
$ zsh -v
zsh 4.3.10 (arm-unknown-linux-gnu)

I am having these same issue. I am using zsh 4.3.15 installed in /usr/local/bin/zsh and git <IP_ADDRESS>
This is on a Centos 5.7 machine and the problem happens with regular users but not with the root user.
Curiously I have an identical install on a Centos 6 machine that worked just fine.

You can't really call two similar CentOS 5.7 and 6.X installs identical.  Also, are you sure that your non-root users are using the zsh 4.3.15 installed in /usr/local/bin/zsh?  There are three commands you can run to verify:
echo $SHELL
which zsh
zsh --version

I had an issue where I thought I had the right version installed, but the way my paths where I was using the system installed version of ZSH, and not the one I had installed.

To make more generic what @ajorpheus put above (you can copy and paste this with the comments, they will not run, but will just show up in your prompt command history:
This will perform chmod g-w for each file returned by compaudit to remove write access for group
compaudit | xargs -I % chmod g-w "%"
This will perform chown to current user (Windows and Linux) for each file returned by compaudit
compaudit | xargs -I % chown $USER "%"
Remove all dump files (which normally speed up initialization)
rm ~/.zcompdump*
Regenerate completions file
compinit
It is not recommended to run this all the time, as it will slow down your shell startup a bit and completely negate the benefits of the dump files.
If you don't want them to get generated and therefore corrupted, just replace wherever compinit gets called in the start scripts with compinit -D to avoid creating a dump file at all.

I had a similar problem with babun on windows 7, using tmux gave me that error.
I solved changing this:
Save the location of the current completion dump file.
ZSH_COMPDUMP="${ZDOTDIR:-${HOME}}/.zcompdump-${SHORT_HOST}-${ZSH_VERSION}"
to:
ZSH_COMPDUMP="${ZDOTDIR:-${HOME}}/.zcompdump"
I don't know the implications of this mod, but it seems to work now

rm -f ~/.zcompdump; compinit did the trick here too. thanks!!

In the time-honoured open-source tradition of "If you want a bug murdered, pick up the hatchet yourself.", I've submitted a pull request that:

Fixes the bulk of these issues under Cygwin.
Significantly improves startup error reporting (although not quite fixing these issues) under non-Cygwin platforms. This means OS X and Linux, primarily.

And the Octopus saw it, and it was good. :octopus:

I am still seeing this issue on MacOS 10.10.3, anyone else? I tried all of the fixes listed above, but every time I start a new shell I get:
compdef: unknown command or service: git
compdef: unknown command or service: git
zsh 5.0.7 (x86_64-apple-darwin14.0.0)
I cloned oh-my-zsh this morning and currently have this revision:
3ea33841863c4f5f22a27e64ae7950d901b674af

Fixed. rm -f ~/.zcompdump; compinit fixed the launch errors, git errors, and no autocompletion issues for me.
I'm on a Mac:
sw_vers
ProductName:	Mac OS X
ProductVersion:	10.10.4
BuildVersion:	14E46

which zsh
/usr/local/bin/zsh

zsh --version
zsh 5.0.6 (x86_64-apple-darwin14.0.0)

I met this issue after migrating data from old Air to a new Pro via migration assistant.
Fixed the issue after running below commands from one of above comments.
compaudit | sudo xargs chmod g-w
compaudit | sudo xargs chown root
rm ~/.zcompdump*
compinit

I just comment
plugins=(git)

in .zshrc and fix it

@zxkane It works for me. but I need login as a root to fix this problem.

@BigForNothing Thanks for the snippet, it worked for me :+1:

Just for the record - adding gitfast fixed this issue for me
plugins=(git gitfast)

Thanks, @pfdai. Worked like a charm, running with plugins=(git gitfast mvn zsh-syntax-highlighting) now. :+1:

Thanks @pfdai ! Adding gitfast did it for me too! None of the other things worked for me!

I get
 compinit:496: no such file or directory: /usr/local/share/zsh/site-functions/_git
compinit:shift:498: shift count must be <= $#
compinit:496: no such file or directory: /usr/local/share/zsh/site-functions/_j
compinit:shift:498: shift count must be <= $#

when i do compinit

Same.

@nnadboralski-zz Thanks Bro !! You made my day.

I just got this error on today's update:
~/.oh-my-zsh/lib/directories.zsh:32: command not found: compdef

Run upgrade_oh_my_zsh for a fix.

yep, that fixed it. Thanks.
On Wed, May 8, 2019 at 2:14 PM Marc Cornellà<EMAIL_ADDRESS>wrote:

Run upgrade_oh_my_zsh for a fix.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/robbyrussell/oh-my-zsh/issues/630#issuecomment-490375556,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAS7JR2JZOXQOH2EK3PKQC3PUJ4UFANCNFSM4ABRMYGQ
.

upgrade_oh_my_zsh doesn't fix it

Try rm $ZSH_COMPDUMP, then exec zsh. See the wiki FAQ for details.

removing the compdump also doesn't work. it looks like it was a syntax error in my .zshrc file
the plugins are listed as a comma separated list:
plugins=(git, docker)
and the error message was exactly correct, with the dangling comma:
[oh-my-zsh] plugin 'git,' not found
removing the comma fixes the error. hopefully that's helpful for someone else out there. it's one of those typos that's hard to see to begin with, and harder to recognize when you spend most of your day working in scripts or languages where a space delineated list would be an error.

So I ran through all of the fixes and none of them worked for me... my error was slightly different. It wasn't from a complete function call but an eval call...
(eval):6: command not found: compdef
So after trying everything else, I started looking into my ~/.zshrc file for any eval commands. I noticed that oh-my-zsh had put all eval type commands at the bottom of the file wrapped in if statements to ensure the command existed (which mine do/did exist, but can't be too careful).
I found two that were being called before oh-my-zsh was being initialized and decided to move those to the bottom of the file. After moving them and wrapping them in if statements for future proofing my configuration these are the two I moved...
if command -v thefuck 1>/dev/null 2>&1; then
    eval $(thefuck --alias)
fi

if command -v pipenv 1>/dev/null 2>&1; then
    eval "$(pipenv --completion)"
fi

It is possible only one of these was causing the issue, but I moved all eval related statements to the bottom of my ~/.zshrc file.
I hope this helps someone and saves some time!


Boosted Stats

Im new to this program and don't know some features, I was wondering how the boosted stats work? They have specific numbers that go way over the max boosted stats that shows in the game and in the wiki despite my miis not being maxed stats? How can I max their stats properly, what number should i go for?

In my note in 3DS version max value is 8000, it's probably same in Switch version.


Increase "local" space of ParamValue

ParamValue holds "small" data locally (in the struct), and only
allocates when above that threshold. Previously, the threshold was 8
bytes, the size that the allcoated pointer would be anyway. But it seems
to me that the way we us ParamValue frequently must contain a color (3
floats), so I bumped the local space from 8 to 16 bytes (meaning it can
hold up to 4 floats or ints before a malloc). This increases the total
size of a ParamValue from 32 to 40 bytes, but I think it will make it
fairly rare to allocate, so we'll come out ahead.
This should all be inconsequential from an API perspective.

LGTM


Users can replace-by-fee their own transactions by accident

It is possible to replace-by-fee your own transactions by queuing transactions in quick succession. This happened for people on btc.us when they clicked Preorder and then Register within seconds of each other. I have debated adding a timer or waiting until the Preorder transaction is seen on the network but I think this should be fixed on the extension level.

We discussed this as a team during our weekly meeting yesterday and the core issue here seems to be related to these two transactions sharing the same nonce. And apparently this nonce problem has been rather unique to the BTC app in how transactions have been generated?
If that's indeed the case, we should figure out how to iron out the nonce issue instead of implementing some other mechanism to avoid accidental replace-by-fees (e.g. a timer).
@aulneau may have additional thoughts here to share.

Agreed. If anything, the BTC app is just the first app that brought the issue to light. Nothing special goes on when generating those transactions.
https://github.com/hirosystems/btc-us-website/blob/a99e59f0da83dee645534b3b664aeaebdd53af80/src/lib/nameservice.js#L93-L123

This is not necessarily a bug in the web extension, nor is this a bug in the BTC app. Moreso, this is a result of higher network activity and nodes/api endpoints being out of sync. During the height of the increased activity due to the interest in registering names via the .btc app, there was a slow down in the network and it was harder for the API to always present the latest data. Given that, it's nearly impossible for any client to correctly determine the next nonce for a given user. It's possible we can do a better job of keeping a local client side state of where the users nonce is at, but I think this is something that would ultimately be improved via work on the API and tooling around the network.
There is a new endpoint on the API that will be released once the microblock support work is completed that will enable clients to better know the correct nonce to use, and there might be a service in the future that acts as a broadcaster which will orestrate all of this behavior so clients don't need to implement this complex logic.

Interestingly, this still happened just a few days ago with someone at the Foundation. (So when network activity was lower than on the launch day of btc.us.)

Interestingly, this still happened just a few days ago with someone at the Foundation. (So when network activity was lower than on the launch day of btc.us.)

Yeah there are some improvements we are about to ship to nonce calculation in the extension, and like I said, when the API changes are live, that will vastly improve the nonce usage in all of our wallets/clients.


proto3 fields should be optional (Option)

Version
tonic 0.3.0
Platform
Linux Ubuntu 18
Description
I have a .proto with
syntax = "proto3";

message Packet {
    bytes data = 1;
}

message PacketWrapper {
    Packet packet = 1;
    int64 packet_id = 2;
}

After the build process, tonic_build will generate
pub struct PacketWrapper {
    pub packet: Option<Packet>,
    pub packet_id: i64,
}

But according to proto3 specs, all fields should be "optional" by default, so why don't we have an Option<i64> here ?

Well, I just saw that you were using Prost https://github.com/danburkert/prost#field-modifiers , I will look at that

These fields can use the Default trait I believe.


Clone and Customize creates a new profile set instead of copying existing.

XRTK - Mixed Reality Toolkit Bug Report
Describe the bug
Clone and Customize creates a new profile set instead of copying existing.
To Reproduce

Import XRTK Core & SDK in to new project
Click on "Mixed Reality Toolkit -> Configure"
Select the MixedRealityToolkit object in the hiearchy
Double click in to it's configuration script
Click "Clone and Customize"

Expected behavior
A new custom configuration should be generated with a copy of the existing profile set
Actual behavior
A brand new configuration is generated with blank values
Your Setup (please complete the following information)

Unity Version 2019.1.1
XRTK Version 0.1.21

Target Platform (please complete the following information)

N/A

Additional context
Reported on Discord by Dino

I mean it's supposed to create a new one 😂
It's just not copying the values

I bet we need to actually ping (select) the profile before we attempt to copy it to get the serialized values cached by the prev inspector


Fixed kubeflow docs

Describe changes
I fixed a small mistake in the kubeflow docs.
Pre-requisites
Please ensure you have done the following:

[ ] I have read the CONTRIBUTING.md document.
[ ] If my change requires a change to docs, I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] I have based my new branch on develop and the open PR is targeting develop. If your branch wasn't based on develop read Contribution guide on rebasing branch to develop.
[ ] If my changes require changes to the dashboard, these changes are communicated/requested.

Types of changes

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

from the last release on "orchestrator.kubeflow": kubeflow_settings is not needed and "orchestrator": kubeflow_settings works, so we can close this PR :-)

@htahir1 I found something else in the docs page that seemed off though


increased ovary apotosis - correct typo

Please correct typo in increased ovary apotosis [MP:0013507]
Anna

done


Is there any way for me to rotate the video on surfaceView without using ExoUi

My application is using a video player on Surface, I want to rotate the video, can someone help me? any suggestions !

Hi! Please provide complete information as requested in the question template. The template can be
found here.
Unfortunately we can't answer unclear questions or those with insufficient information.

Sorry for the missing information
Currently my application is playing a video on Surface View, can I rotate the video with Exo, I don't use ExoUI

Unfortunately, this amount of information is still not enough for us to proceed with a discussion of your issue. It is unclear what you mean by ExoUI and Preview - these are not components that this library supports.
If you are looking for a more generic issue of rotating views by 90 degrees when you rotate your phone, for example, your best option would be asking such questions on Stack Overflow. We'll leave this issue open for ~2 weeks in case anyone wishes to answer it here. Although you might want to expand and give a minimal reproducible example of your MainActivity and the necessary Composables you've created.

I have an activity with xml like to :

and in activity i using exo :

My question is : can i rotate video with ExoPlayer ?
I did find rotating the video with com.google.android.exoplayer2.ui.PlayerView , it is similar to exo3 but my project not using PlayerView


Trying to reference backgrounds but not working

Hi There - I'd love to use both (CustomBackgrounds & CustomMainMenu) mods to customize the splash screen but for some reason, I don't see the referenced images in the config files or in the jars.  Am I missing something or need to do something to see them?  For the main mod, I see the 4 texture/gui images but that's it between the two.
Seems I can point my mainmenu.json background to minecraft folder, but I can't find the image when naming my resource.
This works and shows the background for the Minecraft screen for madness.png image.
"background": { "image" : "textures/gui/presets/madness.png" }
But none of these work as I see the purple/black squares (placeholder image).
"background":{"image":"textures/gui/presets/tmtmclogo.png"}
"background":{"image":"tmtmc:textures/gui/presets/tmtmclogo.png"}
"background":{"image":"tmtmc/textures/gui/presets/tmtmclogo.png"}
"background":{"image":"resources/tmtmc/textures/gui/presets/tmtmclogo.png"}
"background":{"image":"resources/tmtmc:textures/gui/presets/tmtmclogo.png"}
where my folder structure is: resources/tmtmc/textures/gui/presets/ and my image is tmtmclogo.png.
What am I doing that I can't get the simple image to show? :-(  Is there another folder somewhere not mentioned that needs updating?  Thanks!

A picture is worth everything so here is what is shown on the client after loading.

and the configuration to point to it in mainmenu.json

Thanks -Steve

Closing - figured out that the right path should be tmtmc:textures/blocks/tmtmc-370-246.png as the splash screen I was trying to display, checks for the /blocks/ folder and nowhere else.  Now I just need to figure out the buttons. :-)


README.md for Merge sort is ready  and is in file mergesort.md in branch merge.

Hey kindly go to Algorithms/Sorting_Algorithms/Merge_Sort/README.md and put the file there!


[stable/sentry] make worker concurrency configurable

What this PR does / why we need it:
This PR makes the worker's concurrency flag configurable in values.yaml file. By default, sentry worker pods set their concurrency to the number of cores available on the machine on which the pod is running. This is often a waste, and without setting the memory resource limit to something high for such pods, the pods are inevitably OOM killed.
Which issue this PR fixes

fixes https://github.com/helm/charts/issues/12865

Checklist

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md

@paulczar do you mind taking a look at this?

/assign @paulczar


Why did you switch from native promises instead of bluebird?

According to this post, bluebird promises are faster than native promises: http://softwareengineering.stackexchange.com/questions/278778/why-are-native-es6-promises-slower-and-more-memory-intensive-than-bluebird
Is there any specific reason to stop using bluebird?

I want the library to be Promise implementation agnostic, and therefore default to native promises. I do not see a reason to lock in or add additional dependencies to such a simple module. Native implementation has seen some performance improvements over the releases, and I believe that will continue as well.  Usually there are bigger performance bottlenecks in real world applications anyway, but I do appreciate the fact that every tick counts. Having said that, 1.x uses bluebird, and otherwise it's easy to make the current version use bluebird as well if you don't mind overriding the native global:
Promise = require('bluebird')
const promisifyCall = require('promisify-call')

function _uppercase(param, fn) {
  setTimeout(() => {
    return fn(null, param.toUpperCase());
  }, 50);
}

function uppercase(param, fn) {
  return promisifyCall(this, _uppercase, ...arguments);
}

// now we can call it using callback-style
uppercase('foo', (err, res) => {
  console.log(res); // FOO
});

// OR promise style
const res = uppercase('bar');
console.log(res); // Bluebird promise
res.then(s => console.log(s));


SEDPlotter.plot_corner: AttributeError: 'XTick' object has no attribute 'label'

Hi @jvines,
I just installed astroARIADNE and tried running through the example in the README, but got the following error when creating the corner plot:
AttributeError: 'XTick' object has no attribute 'label'
from line 1203 in plotter.py.
Not sure if it has something to do with the versions I have of matplotlib (3.8.2) or corner (2.2.2). Have you encountered this before?
In any case, I installed an editable version and changed label to label1 in lines 1203 and 1204 cf. this. It then changed to AttributeError: 'YTick' object has no attribute 'label', so I also changed it in lines 1173, 1174, 1183, and 1184. That seems to have solved the issue.
Thanks!

Could you share with me your version of matplotlib??

@rcamuccio and I came across this very same issue today. Just found the API change from matplotlib:
https://matplotlib.org/stable/api/prev_api_changes/api_changes_3.8.0.html#unused-methods-in-axis-tick-xaxis-and-yaxis
The XTick and YTick classes inherit Tick base class.
@emilknudstrup points to the recommended updated API.
We could see about making a patch and pull request to ease the transition between versions with a try/except block if you'd like.

I've updated the requirements.txt so this doesn't happen again.


Video compressing

How do I compress the video output? @Awalz
Can you add this feature?

This is a feature I would like to add. It will be time consuming as AVAssetReader and AVAssetWriter are not simple API's.
In the short term, I use SDAVAssetExportSession. Its older and objective-c, but should work fine for compression

Can anyone show me how to use SDAVAssetExportSession with SwiftyCam to do a video compression ? I just can't understand how it works.


#import "React/RCTBridgeModule.h" not found

Hi @zaguiini ,
I installed react-native-pure-jwt in my react native project. Everything seems to be working fine on android. However, on IOS, I get 2 error.

#import "React/RCTBridgeModule.h" not found
Failed to emit precompiled header '/Users/apple/Library/Developer/Xcode/DerivedData/

I have already tried many solutions. But they don't seem to work. I have unchecked parallelized build and my react is on top in Target Section. As instructed in library documentation, I have added the JWT swift file in libraries.
React Native - 0.58.5
react-native-pure-jwt- v1.6.0
Still, it's not working. Any help would be great.
Thanks in advance

Hey Guys!  Can someone here help me?

The same issue...

Hey Guys!  Can someone here help me?

The same issue...

Hey. I've just released v2. Please read the README and give me a feedback. You don't need a bridge anymore.


[BUG] Unable to start httpServer on port 0

Information

Version: 5.52.1

As the title says, it is not possible to start httpServer on port 0.
Problem is here as 0 evaluates to false in condition.

:tada: This issue has been resolved in version 5.52.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Sweep: Add inline comments for each value in application-local.yml-example

Add inline comments documenting each property in the src/main/resources/application-local.yml-example yaml file.  This is a Spring Boot application.

Sweep: testing

Sweep: testing again

Sweep: Testing again:)


Document initialRouteKey

Related to https://github.com/react-navigation/react-navigation/pull/3540.

Updated the description and documented usage in both major versions.

@brentvatne Anything needed from my side to get this merged?

@sonaye - sorry for the back and forth. Thinking on this more, I think we might just want to document the option but not add it to the navigating doc. I think it is rare that people will need to use this in 2.x, so just putting it in the API doc should be enough.

@brentvatne Make sense, reverted the changes in navigating.

thanks!


Create nltu

@denusdisa Could you please rename lib/domains/ua/lviv/nltu to lib/domains/ua/lviv/nltu.txt to follow this repository rules? Thank you!

i am so sorry i has no connection ot the internet i has renamed it

@denusdisa Pull request merged. Thank you!


Favicon.ico Not Found

Describe the bug
Starting version 231 svelte-kit is no longer able to display static asset favicon.ico. I have previously described the issue here: https://github.com/sveltejs/kit/issues/3393#issuecomment-1017608444:

I have [probably] the same issue, starting v 231. However, I haven't applied any special settings for kit.paths nor the adapter. Everything is set to default.
The only affected file is favicon.ico.
HTTP/1.1 404 Not Found
Content-Length: 9

But the very same file renamed to favicon2.ico works just fine:
HTTP/1.1 200 OK
Content-Length: 61

Every other file seems to be working just fine.

Reproduction
https://github.com/lemmon/svelte-kit-favicon-issue
Try to load http://localhost:3000/favicon.ico -> 404 Not Found
Logs
No response
System Info
System:
    OS: macOS 11.5.2
    CPU: (4) x64 Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz
    Memory: 407.90 MB / 16.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 14.17.1 - /usr/local/bin/node
    npm: 8.3.1 - /usr/local/bin/npm
  Browsers:
    Brave Browser: <IP_ADDRESS>
    Chrome: 97.0.4692.99
    Firefox: 96.0.1
    Safari: 15.0
  npmPackages:
    @sveltejs/adapter-auto: next => 1.0.0-next.14
    @sveltejs/kit: next => 1.0.0-next.240
    svelte: ^3.44.0 => 3.46.2

Severity
annoyance
Additional Information
No response

Not sure if that line is needed.
The workaround:
diff --git a/packages/kit/src/core/dev/plugin.js b/packages/kit/src/core/dev/plugin.js
index f8116132..90ec560c 100644
--- a/packages/kit/src/core/dev/plugin.js
+++ b/packages/kit/src/core/dev/plugin.js
@@ -141,7 +141,7 @@ export async function create_plugin(config, cwd) {
                                vite.middlewares.use(async (req, res) => {
                                        try {
                                                if (!req.url || !req.method) throw new Error('Incomplete request');
-                                               if (req.url === '/favicon.ico') return not_found(res);
+                                               //if (req.url === '/favicon.ico') return not_found(res);

                                                const base = `${vite.config.server.https ? 'https' : 'http'}://${req.headers.host}`;

Commit that added it. Looks like a refactor though, so might have been introduced earlier.

It seems like this line has always been there ... I checked the git logs all the way back to march of last year. I can't think of a good reason of why this line is needed. I don't see why SvelteKit should not support .ico files for the favicon as they are broadly used. Also the current behaviour is inconsistent as 404 is only returned in dev mode. I'll remove it and create a PR.


After executing command I am getting this issue(not using vorpal prompt)

vorpal
    .command('connect [username] [password]')
    .description('Connect to server.')
    .action(function (args, callback) {
        setTimeout(function () {
            // deleting options key from args
            delete args.options;

            var context = domain.create();

            // error handling in domain
            context.on('error', errorHandler);

            // running the connect in domain
            context.run(function() {
                console.log("Arguments : ", args);
            });
        }, 0);
    });

vorpal
    .delimiter('hdb$')
    .show();

Vorpal Prompt error: TypeError: Cannot read property 'setRawMode' of null
at ReadStream.setRawMode (tty.js:67:15)
at Interface._setRawMode (readline.js:177:23)
at new Interface (readline.js:137:10)
at Object.exports.createInterface (readline.js:39:10)
at Object.Interface.createInterface (/home/users/my-cli/node_modules/vorpal/node_modules/inquirer/node_modules/readline2/index.js:34:21)
at module.exports (/home/users/my-cli/node_modules/vorpal/node_modules/inquirer/lib/ui/baseUI.js:14:30)
at new module.exports (/home/users/my-cli/node_modules/vorpal/node_modules/inquirer/lib/ui/prompt.js:15:8)
at Object.promptModule [as prompt] (/home/users/my-cli/node_modules/vorpal/node_modules/inquirer/lib/inquirer.js:27:14)
at Object.ui.prompt (/home/users/my-cli/node_modules/vorpal/lib/ui.js:171:25)
at EventEmitter.vorpal._prompt (/home/users/my-cli/node_modules/vorpal/lib/vorpal.js:528:15)
at EventEmitter. (/home/users/my-cli/node_modules/vorpal/lib/vorpal.js:542:12)
at callback (/home/users/my-cli/node_modules/vorpal/lib/vorpal.js:705:22)
at /home/users/my-cli/node_modules/vorpal/lib/vorpal.js:824:7
at EventEmitter._commandSetCallback (/home/users/my-cli/node_modules/vorpal/lib/session.js:455:5)
at EventEmitter.session.completeCommand (/home/users/my-cli/node_modules/vorpal/lib/session.js:519:12)
at onCompletion (/home/users/my-cli/node_modules/vorpal/lib/session.js:465:10)
Please let me know if I am doing something wrong in this.

Thanks. Could you please post this as a StackOverflow question? In this way, I can help others with an answer as well.

Hi Team,
http://stackoverflow.com/questions/34304036/after-successful-execution-of-vorpal-command-error-is-thrown

Please look into it ASAP.
Thanks.
Hitesh Baldaniya
Application Engineer | @builtio
On Tue, Dec 15, 2015 at 11:23 PM, dc<EMAIL_ADDRESS>wrote:

Thanks. Could you please post this as a StackOverflow
http://stackoverflow.com/questions/tagged/vorpal.js question? In this
way, I can help others with an answer as well.
—
Reply to this email directly or view it on GitHub
https://github.com/dthree/vorpal/issues/59#issuecomment-164839134.

Thanks!


Missing validation: Transitioning an image before binding memory to it is illegal

As described in the title.
When initializing a texture image, I use vkCmdPipelineBarrier to transition it to from UNDEFINED to TRANSFER_DST_OPTIMAL before vkCmdCopyBufferToImage, which should be a normal way to go about things. However, I accidentally did this before binding memory to the image. Turns out most implementations don't care, as presumably any transition from UNDEFINED is generally a no-op apart from possibly updating a bit of metadata. Intel's ANV Linux driver did care though, and promptly crashed.
The validation layers didn't catch this, but probably should - seems like an easy case to detect.

Agree this should be validated.
There doesn't appear to be a VUID asserting that memory must be bound, but in the spec there is text

Image layout transitions may perform read and write accesses on all memory bound to the image subresource range

And

VkBuffer and VkImage resources in Vulkan must be bound completely and contiguously to a single VkDeviceMemory object. This binding must be done before the resource is used, and the binding is immutable for the lifetime of the resource.

So there appears to be an assumption of memory being bound to the Image at command record time (for non-sparse images), and at execution time (for sparse images).

Clear rule for non-sparse cases in the 1.0.68 spec:
11.6:

Non-sparse resources must be bound completely and contiguously to a single VkDeviceMemory object before the resource is passed as a parameter to any of the following operations:

creating image or buffer views
updating descriptor sets
recording commands in a command buffer

This needs a Valid Usage statement, no?

@hrydgard -- the merge above should address your concern.

@jzulauf-lunarg Great, thanks!


chore: bump dependencies and rust-toolchain

bump rust-toolchain to 1.62.1, required by ckb-vm-definitions v0.21.4
bump ckb dependencies to 0.104.0
bump ckb-vm to 0.21.3
bump other dependencies by cargo audit fix
bump blake2b-ref to 0.3.1

👍
There was a TransactionWithStatus shim (in gw-jsonrpc-types). Could it be removed now?

+1
There was a TransactionWithStatus shim (in gw-jsonrpc-types). Could it be removed now?

Removed in commit https://github.com/nervosnetwork/godwoken/pull/779/commits/84dc5bf5c7679a29091248839bad930d554ee80f

Please use https://crates.io/crates/blake2b-ref/0.3.1

Please use https://crates.io/crates/blake2b-ref/0.3.1

bump in https://github.com/nervosnetwork/godwoken/pull/779/commits/84140e1889804ddda77a4201f60e6d7ca82d9c3e

I think we can wait rust 1.63 (will be released tonight).

If we update rocksdb, we should use the march-native feature.

If we update rocksdb, we should use the march-native feature.

This pr ?

https://github.com/nervosnetwork/godwoken-docker-prebuilds/pull/67

ckb-rocksdb 0.18.3 with march-native targets the native CPU, like 0.18.1:
https://github.com/nervosnetwork/rust-rocksdb/pull/41
We only use PORTABLE=1 SSE=1 when building docker image.

ckb-rocksdb 0.18.3 with march-native targets the native CPU, like 0.18.1:
nervosnetwork/rust-rocksdb#41
We only use PORTABLE=1 SSE=1 when building docker image.

enable march-native feature in https://github.com/nervosnetwork/godwoken/pull/779/commits/94e79b116c5736a5e6b6bb18d7863dda5696b056


Expose SANIC_RESPONSE_TIMEOUT config option in a sensible way

Is it possible to configure the sql_time_limit_ms beyond 60 seconds?  It seems queries are still timing out at 60 seconds when sql_time_limit_ms is set to 180000.  We have a very large data set and often encounter timeouts when testing new queries from the datasette UI.  We are optimizing our database as much as we can, but still may require more than 60 seconds for complex queries.

It sounds like you're running into the Sanic default response timeout value of 60 seconds: https://github.com/channelcat/sanic/blob/master/docs/sanic/config.md#builtin-configuration-values
For the moment you can over-ride that using an environment variable like this:
SANIC_RESPONSE_TIMEOUT=6000 datasette fivethirtyeight.db -p 8008 --config sql_time_limit_ms:600000

I'm going to turn this into an issue about better supporting the above option.

Thanks for the quick reply.  Looks like that is working well.

Closing this as obsolete since Datasette no longer uses Sanic.


Enable extra fonts in kernel configuration

Issue description
NixOS's default kernel configuration only enables the 8x8 and 8x16 fonts. This is not ideal, because they are too small for high-resolution displays. The current workaround used by config.hardware.video.hidpi.enable is to set console.font = lib.mkDefault "${pkgs.terminus_font}/share/consolefonts/ter-v32n.psf.gz". There are problems with this however:

during early boot, before the GPU drivers are loaded, the firmware or bootloader may initialize the display at a lower resolution, resulting in an oversized font

in fact, the hidpi module sets boot.loader.systemd-boot.consoleMode = mkDefault "1", which in my opinion is a bad idea, because it will force switching to a low resolution when the firmware could have set us up with a high-res framebuffer; this also breaks seamless boot for those who care (sd-boot's default is to keep the mode unchanged)

resolution switches reset the font to the kernel default, and under certain circumstances it seems a race condition can prevent userspace from setting the font correctly again

The kernel is actually able to select an appropriate font for the current resolution using a simple heuristic since mid-2019 (https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=dfd19a5004eff03755967086aa04254c3d91b8ec). This bypasses the problems listed above and ensures a good font is always selected after resolution switches. The only requirement appears to be that the fonts must be built into the kernel.
Technical details
Font-related kconfig options as configured by NixOS:
CONFIG_FONT_SUPPORT=y
# CONFIG_FONTS is not set
CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=y

Arch Linux:
CONFIG_FONT_SUPPORT=y
CONFIG_FONTS=y
# CONFIG_FONT_8x8 is not set
CONFIG_FONT_8x16=y
# CONFIG_FONT_6x11 is not set
# CONFIG_FONT_7x14 is not set
# CONFIG_FONT_PEARL_8x8 is not set
# CONFIG_FONT_ACORN_8x8 is not set
# CONFIG_FONT_MINI_4x6 is not set
# CONFIG_FONT_6x10 is not set
# CONFIG_FONT_10x18 is not set
# CONFIG_FONT_SUN8x16 is not set
# CONFIG_FONT_SUN12x22 is not set
CONFIG_FONT_TER16x32=y
# CONFIG_FONT_6x8 is not set

So Arch enables the default 8x16 and Terminus 16x32 (the same font that the hidpi module sets). The observed behavior on Arch is that it seamlessly switches fonts after mode switches, and I've never seen this break since it has been enabled.

Same issue here with a NVIDIA card and a 3840x2160 monitor. The tty0 console text covers the entire screen. I couldn't resolve this issue manually with boot.initrd.availableKernelModules = [ "nvidia" ]; and boot.kernelParams = [ "video=DP-3:3840x2160@60" ]; (DP-3 is my monitor).
Setting the font manually to the default value (console.font = "Lat2-Terminus16";) gives the right font size but this particular font doesn't have antialiasing which looks quite bad on a HIDPI monitor.

There's no antialiasing in console fonts, they're all bitmap fonts.

Gotcha, thanks.
On side note, I looked for a different consolefont and came up with this. Looks a lot better now:
console = {
  earlySetup = true;
  font = "${pkgs.tamzen}/share/consolefonts/TamzenForPowerline8x16.psf";
  packages = with pkgs; [ tamzen ];
};


Can only provision and bootstrap the first VM in any given cloud service

As at release 0.2, it is not possible to create more than a single VM using chef-provisioning-azure. The issues can be summarised as:

Adding a second VM to a cloud service fails with the message: "ConflictError : The specified deployment slot Production is occupied."
SSH bootstrap transport always uses the listening SSH port of the machine irrespective of the public endpoint port in use and hence overwrites the /etc/chef/client.rb of the first VM added to the cloud service

I have made some fixes in my fork to address these problems and will be sending in the PR shortly, just recording this issue first.

This was fixed by the associated merge :)  Thanks!

I am currently getting "ConflictError : The specified deployment slot Production is occupied." and only able to create a single VM in a cloud service with the latest version. This is for Windows.


Can I use sketch columns with druid datasource

Hi,
We are using sketches with druid. Is it possible to query that in caravel? If yes, how?
Thanks,
Imtiaz

You can just paste the json for the aggregation (as specified here http://druid.io/docs/latest/development/extensions-core/datasketches-aggregators.html) in the DruidMetric's expression field.

This pull request should fix this issue: https://github.com/airbnb/caravel/pull/613


FID score changes a lot during the model training

Hi, I found that FID score becomes larger and larger during the Stage 2 (512x512) training of SD-2.0-base, but the loss keeps at the same level, roughly about 0.12~0.13. Any thoughts? Thanks.

Update: The FID and CLIP score after the Stage 1 (256x256) training of SD-2.0-base is 10.79 and 25.43, respectively.
However, the FID/CLIP becomes very weird during the Stage 2 (512x512) training of SD-2.0-base as shown below:
Step | FID   | CLIP
-------------------
400k | 25.22 | 24.19
500k | 13.63 | 25.11
600k | 22.31 | 24.21
720k | 21.94 | 24.5
770k | 23.89 | 24.6
-------------------

This is related to this issue https://github.com/mosaicml/diffusion/issues/88


Update script to cope with new libgit2 directory layout

I changed libgit2 directory structure so I can have x64 and Win32 side-by-side with no customization to libigit2. That means we have 2 separate copies as CMake doesn't play nicely with building both in the same location.

Done


feat/Change color of navlinks while 'hovering' and on 'active' , also…

… give shadow to 'contact with us' button on hover.

Change color while hovering on navLinks
Change color when clicked on navLinks to show which link is active
Box shodow to 'contact with us' button in navigation bar
Fixes Issue
Fixes #194
This PR fixes the following issues:
This PR does the following work:

Change color while hovering on navLinks
Change color when clicked on navLinks to show which link is active
Box shodow to 'contact with us' button in navigation bar

#example

Changes proposed
Here comes all the changes proposed through this PR

Check List (Check all the boxes which are applicable)

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] All new and existing tests passed.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

Screenshots and video
Add all the screenshots and a video which support your changes
https://github.com/NSCC-BPIT/NSCC-BPIT-Website/assets/97829838/5b07f4ff-a124-47ed-ac54-4222cefd3f06

@pradeeptosarkar have a look


pc - try using environment file instead of setting env values directly

In this PR, propose a quick and dirty (though specifically "not recommended") fix to the broken CI/CD pipeline.
The CI/CD pipeline via GitHub actions is currently broken because of a change made by GitHub to work around a security vulnerability, described here: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
The quick and dirty fix is to add this line into the workflow as done in #321
    env:
      ACTIONS_ALLOW_UNSECURE_COMMANDS: true

But this is not recommended.  A better approach is to use something called environment files.   This PR uses this approach.
We should merge either this PR or #321 first before anything else, to restore the CI/CD pipeline.

nice!


No client certificate used

When I try to set up the extension I get an 'unknown error' notification and the Icinga 2 logs show:
[2015-11-21 18:02:39 +0100] information/ApiListener: New client connection (no client certificate)
[2015-11-21 18:02:39 +0100] warning/TlsStream: TLS stream was disconnected.
[2015-11-21 18:02:39 +0100] warning/ApiListener: No data received on new API connection.
Context:
(0) Handling new API client connection

Do you use a self-signed certificate for your API, like the one generated by the automatic API setup? If so, you need to add this certificate to Chrome as trusted before, otherwise Chrome will block the connection as unsafe. Just open the API in a browser tab.

Works like a charm! Thanks Daniel :)


🐛 [firestore] Listen not working sometimes

My client always tells me, he didn't get the latest message when the app opens from the recent menu. Is there any chance to disconnect / pause / close this stream? or can you give me any solution?
I am using latest stable Flutter version and latest firebase plugins.
ChatFieldService
class ChatFieldService {
  static final ChatFieldService _singleton = ChatFieldService._internal();

  factory ChatFieldService() {
    return _singleton;
  }

  ChatFieldService._internal();

  final FirebaseService db = FirebaseService();

  static BehaviorSubject<List<ChatFieldModel>> _chatFields$ = BehaviorSubject<List<ChatFieldModel>>();

  StreamSubscription streamSubscription;

  void initialize(String id) {
    getAllChatFields(id);
  }

   BehaviorSubject<List<ChatFieldModel>> getChatFields() {
     return _chatFields$.stream;
  }

  void dispose() {
    streamSubscription?.cancel();
  }

  void getAllChatFields(String id) {
    streamSubscription = db.getAllChatField(id).listen((event) {
      if (!_chatFields$.isClosed) _chatFields$.add(event);
    });
  }
}

DB Service
  Stream<List<ChatFieldModel>> getAllChatField(String toUserId) {
    return _db
        .collection('chats')
        .where('toUserId', isEqualTo: toUserId)
        .snapshots()
        .map((event) => event.docs.map((e) => ChatFieldModel.fromForestore(e)).toList());
  }

I listen to this way on all pages.
  ChatFieldService cfs = ChatFieldService();

 @override
  void initState() {
    super.initState();
    oneSubscription = cfs.getChatFields.listen(allChatField);//I create local variable and add that variable to my UI
  }

  @override
  void dispose() {
    oneSubscription?.cancel();
    super.dispose();
  }

Hi @bhanuka96
Could you please provide your flutter doctor -v and flutter pub deps -- --style=compact?
Have you been able to reproduce this yourself and can you provide a minimal complete reproducible code sample?
Thank you

flutter doctor -v
flutter doctor -v
[✓] Flutter (Channel stable, 2.2.2, on macOS 11.4 20F71 darwin-x64, locale en-LK)
    • Flutter version 2.2.2 at /Users/bhanukaisuru/dev/flutter
    • Framework revision d79295af24 (2 weeks ago), 2021-06-11 08:56:01 -0700
    • Engine revision 91c9fc8fe0
    • Dart version 2.13.3

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/bhanukaisuru/Library/Android/sdk
    • Platform android-30, build-tools 30.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.5, Build version 12E262
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)

[✓] VS Code (version 1.57.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.23.0

[✓] Connected device (1 available)
    • Chrome (web) • chrome • web-javascript • Google Chrome 91.0.4472.114

• No issues found!

flutter pub deps -- --style=compact
flutter pub deps -- --style=compact
Dart SDK 2.13.3
Flutter SDK 2.2.2
yellochat 1.0.83+47

dependencies:
- cached_network_image 3.0.0 [flutter flutter_cache_manager octo_image]
- camera 0.8.1+3 [camera_platform_interface flutter pedantic quiver]
- carousel_slider 4.0.0-nullsafety.0 [flutter]
- cloud_firestore 2.2.2 [cloud_firestore_platform_interface cloud_firestore_web firebase_core firebase_core_platform_interface flutter meta]
- connectivity_plus 1.0.3 [flutter meta connectivity_plus_platform_interface connectivity_plus_linux connectivity_plus_macos connectivity_plus_web connectivity_plus_windows]
- cupertino_icons 1.0.3
- device_info_plus 2.0.1 [flutter device_info_plus_platform_interface device_info_plus_linux device_info_plus_macos device_info_plus_web device_info_plus_windows]
- emoji_picker_flutter 1.0.6 [flutter shared_preferences]
- extended_image 4.1.0 [extended_image_library flutter meta]
- facebook_app_events 0.12.0 [flutter]
- file_picker 3.0.3 [flutter flutter_web_plugins flutter_plugin_android_lifecycle plugin_platform_interface]
- firebase_analytics 8.1.2 [firebase_analytics_platform_interface firebase_analytics_web firebase_core flutter meta]
- firebase_auth 1.4.1 [firebase_auth_platform_interface firebase_auth_web firebase_core firebase_core_platform_interface flutter meta]
- firebase_core 1.3.0 [firebase_core_platform_interface firebase_core_web flutter meta]
- firebase_crashlytics 2.0.6 [firebase_core firebase_core_platform_interface firebase_crashlytics_platform_interface flutter stack_trace]
- firebase_database 7.1.1 [firebase_core flutter]
- firebase_dynamic_links 2.0.6 [firebase_core flutter]
- firebase_messaging 10.0.2 [firebase_core firebase_core_platform_interface firebase_messaging_platform_interface firebase_messaging_web flutter meta]
- firebase_remote_config 0.10.0+2 [firebase_core firebase_core_platform_interface firebase_remote_config_platform_interface flutter]
- firebase_storage 8.1.3 [firebase_core firebase_core_platform_interface firebase_storage_platform_interface firebase_storage_web flutter]
- flutter 0.0.0 [characters collection meta typed_data vector_math sky_engine]
- flutter_google_places_hoc081098 1.0.0-nullsafety.2 [flutter google_api_headers google_maps_webservice http rxdart listenable_stream collection]
- flutter_html 2.1.0 [html csslib flutter_layout_grid video_player chewie webview_flutter chewie_audio flutter_svg flutter_math_fork collection numerus flutter]
- flutter_image_compress 1.0.0 [flutter]
- flutter_keyboard_visibility 5.0.2 [meta flutter_keyboard_visibility_platform_interface flutter_keyboard_visibility_web flutter]
- flutter_rating_bar 4.0.0 [flutter]
- flutter_slidable 0.6.0 [flutter]
- flutter_sound 8.1.4 [path_provider logger recase uuid provider flutter_spinkit path synchronized flutter flutter_sound_platform_interface flutter_sound_web]
- flutter_svg 0.22.0 [flutter meta path_drawing vector_math xml]
- fluttertoast 8.0.7 [flutter flutter_web_plugins]
- geocoder 0.2.1 [meta flutter]
- geolocator 7.1.1 [flutter geolocator_platform_interface geolocator_web]
- gesture_x_detector 1.0.0 [flutter vector_math]
- google_maps_place_picker 2.0.0-nullsafety.3 [flutter google_maps_flutter geolocator permission_handler provider google_maps_webservice google_api_headers tuple http]
- google_maps_webservice 0.0.20-nullsafety.5 [http meta json_annotation]
- google_static_maps_controller 0.6.0 [flutter]
- image_picker 0.8.0+4 [flutter flutter_plugin_android_lifecycle image_picker_platform_interface image_picker_for_web]
- intl 0.17.0 [clock path]
- just_audio 0.8.0 [just_audio_platform_interface just_audio_web audio_session rxdart path path_provider async uuid crypto meta flutter]
- lottie 1.0.1 [archive characters charcode collection flutter logging meta path vector_math]
- mapbox_search 3.0.0-nullsafety.0 [http]
- navigation_history_observer 1.1.0 [flutter built_collection]
- open_file 3.2.1 [flutter ffi]
- package_info_plus 1.0.3 [flutter package_info_plus_platform_interface package_info_plus_linux package_info_plus_macos package_info_plus_windows package_info_plus_web]
- path_provider 2.0.2 [flutter path_provider_platform_interface path_provider_macos path_provider_linux path_provider_windows]
- permission_handler 8.1.1 [flutter meta permission_handler_platform_interface]
- photo_manager 1.2.2 [flutter]
- photo_view 0.11.1 [flutter]
- pin_code_text_field 1.8.0 [flutter]
- provider 5.0.0 [collection flutter nested]
- share_plus 2.1.4 [meta mime flutter share_plus_platform_interface share_plus_linux share_plus_macos share_plus_windows share_plus_web]
- shared_preferences 2.0.6 [meta flutter shared_preferences_platform_interface shared_preferences_linux shared_preferences_macos shared_preferences_web shared_preferences_windows]
- shimmer 2.0.0 [flutter]
- smooth_page_indicator 0.3.0-nullsafety.0 [flutter]
- strings 0.2.1 [characters unicode]
- transparent_image 2.0.0
- tuple 2.0.0 [quiver]
- url_launcher 6.0.4 [flutter url_launcher_platform_interface url_launcher_linux url_launcher_macos url_launcher_windows url_launcher_web]
- video_player 2.1.6 [flutter flutter_test meta video_player_platform_interface video_player_web]
- webview_flutter 2.0.8 [flutter]

dev dependencies:
- flutter_test 0.0.0 [flutter test_api path fake_async clock stack_trace vector_math async boolean_selector characters charcode collection matcher meta source_span stream_channel string_scanner term_glyph typed_data]

dependency overrides:
- permission_handler 8.1.1 [flutter meta permission_handler_platform_interface]
- shared_preferences 2.0.6 [meta flutter shared_preferences_platform_interface shared_preferences_linux shared_preferences_macos shared_preferences_web shared_preferences_windows]

transitive dependencies:
- archive 3.1.2 [crypto path]
- args 2.1.0
- async 2.6.1 [meta collection]
- audio_session 0.1.5 [flutter flutter_web_plugins rxdart meta]
- boolean_selector 2.1.0 [source_span string_scanner]
- built_collection 5.0.0
- camera_platform_interface 2.0.1 [flutter meta plugin_platform_interface cross_file stream_transform]
- characters 1.1.0
- charcode 1.2.0
- chewie 1.2.0 [cupertino_icons flutter provider video_player wakelock]
- chewie_audio 1.2.0 [cupertino_icons flutter video_player]
- clock 1.1.0
- cloud_firestore_platform_interface 5.1.2 [collection firebase_core flutter meta plugin_platform_interface]
- cloud_firestore_web 2.1.2 [cloud_firestore_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins js]
- collection 1.15.0
- connectivity_plus_linux 1.0.2 [flutter connectivity_plus_platform_interface dbus meta]
- connectivity_plus_macos 1.0.2 [connectivity_plus_platform_interface flutter]
- connectivity_plus_platform_interface 1.0.2 [flutter meta plugin_platform_interface]
- connectivity_plus_web 1.0.2 [connectivity_plus_platform_interface flutter_web_plugins flutter]
- connectivity_plus_windows 1.0.2 [connectivity_plus_platform_interface flutter]
- cross_file 0.3.1+1 [flutter meta]
- crypto 3.0.1 [collection typed_data]
- csslib 0.17.0 [source_span]
- dbus 0.2.5 [args meta pedantic xml]
- device_info_plus_linux 2.0.0 [device_info_plus_platform_interface file flutter meta]
- device_info_plus_macos 2.0.0 [device_info_plus_platform_interface flutter]
- device_info_plus_platform_interface 2.0.0 [flutter meta plugin_platform_interface]
- device_info_plus_web 2.0.0 [device_info_plus_platform_interface flutter_web_plugins flutter]
- device_info_plus_windows 2.0.0 [device_info_plus_platform_interface ffi flutter win32]
- extended_image_library 3.1.0 [crypto flutter http_client_helper path path_provider]
- fake_async 1.2.0 [clock collection]
- ffi 1.1.1
- file 6.1.1 [meta path]
- firebase 9.0.1 [http http_parser js]
- firebase_analytics_platform_interface 2.0.1 [flutter meta]
- firebase_analytics_web 0.3.0+1 [firebase firebase_analytics_platform_interface flutter flutter_web_plugins meta]
- firebase_auth_platform_interface 4.3.1 [firebase_core flutter meta plugin_platform_interface]
- firebase_auth_web 1.3.1 [firebase_auth_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins http_parser intl js meta]
- firebase_core_platform_interface 4.0.1 [collection flutter meta plugin_platform_interface]
- firebase_core_web 1.1.0 [firebase_core_platform_interface flutter flutter_web_plugins js meta]
- firebase_crashlytics_platform_interface 3.0.6 [collection firebase_core flutter meta plugin_platform_interface]
- firebase_messaging_platform_interface 3.0.2 [firebase_core flutter meta plugin_platform_interface]
- firebase_messaging_web 2.0.2 [firebase_core firebase_core_web firebase_messaging_platform_interface flutter flutter_web_plugins js meta]
- firebase_remote_config_platform_interface 0.3.0+2 [firebase_core flutter meta plugin_platform_interface]
- firebase_storage_platform_interface 2.1.2 [collection firebase_core flutter meta plugin_platform_interface]
- firebase_storage_web 1.1.2 [async firebase_core firebase_core_web firebase_storage_platform_interface flutter flutter_web_plugins http js meta]
- flutter_blurhash 0.6.0 [flutter meta pedantic]
- flutter_cache_manager 3.1.0 [clock collection file flutter http image path path_provider pedantic rxdart sqflite uuid]
- flutter_keyboard_visibility_platform_interface 2.0.0 [flutter meta plugin_platform_interface]
- flutter_keyboard_visibility_web 2.0.0 [flutter_keyboard_visibility_platform_interface flutter_web_plugins flutter]
- flutter_layout_grid 1.0.1 [flutter collection meta quiver]
- flutter_math_fork 0.3.3 [flutter flutter_svg provider meta collection tuple]
- flutter_plugin_android_lifecycle 2.0.2 [flutter]
- flutter_sound_platform_interface 8.1.4 [flutter meta plugin_platform_interface]
- flutter_sound_web 8.1.4 [flutter_sound_platform_interface flutter flutter_web_plugins meta js]
- flutter_spinkit 5.0.0 [flutter]
- flutter_web_plugins 0.0.0 [flutter js characters collection meta typed_data vector_math]
- geolocator_platform_interface 2.1.1 [flutter plugin_platform_interface vector_math meta]
- geolocator_web 2.0.3 [flutter flutter_web_plugins geolocator_platform_interface]
- google_api_headers 1.0.0 [flutter package_info]
- google_maps_flutter 2.0.6 [flutter flutter_plugin_android_lifecycle google_maps_flutter_platform_interface]
- google_maps_flutter_platform_interface 2.0.4 [flutter meta plugin_platform_interface stream_transform collection]
- html 0.15.0 [csslib source_span]
- http 0.13.3 [async http_parser meta path pedantic]
- http_client_helper 2.0.2 [http]
- http_parser 4.0.0 [charcode collection source_span string_scanner typed_data]
- image 3.0.2 [archive meta xml]
- image_picker_for_web 2.0.0 [image_picker_platform_interface meta flutter flutter_web_plugins]
- image_picker_platform_interface 2.1.0 [flutter meta http plugin_platform_interface]
- js 0.6.3
- json_annotation 4.0.1
- just_audio_platform_interface 3.1.0 [flutter plugin_platform_interface]
- just_audio_web 0.3.2 [just_audio_platform_interface flutter flutter_web_plugins]
- listenable_stream 1.1.0 [rxdart flutter]
- lists 1.0.0 [meta]
- logger 1.0.0
- logging 1.0.1
- matcher 0.12.10 [stack_trace]
- meta 1.3.0
- mime 1.0.0
- nested 1.0.0 [flutter]
- numerus 1.1.1
- octo_image 1.0.0+1 [flutter flutter_blurhash]
- package_info 2.0.2 [flutter]
- package_info_plus_linux 1.0.2 [package_info_plus_platform_interface flutter path]
- package_info_plus_macos 1.1.1 [flutter]
- package_info_plus_platform_interface 1.0.1 [flutter meta plugin_platform_interface]
- package_info_plus_web 1.0.2 [http package_info_plus_platform_interface flutter flutter_web_plugins meta]
- package_info_plus_windows 1.0.1 [package_info_plus_platform_interface ffi flutter win32]
- path 1.8.0
- path_drawing 0.5.1 [vector_math meta path_parsing flutter]
- path_parsing 0.2.1 [vector_math meta]
- path_provider_linux 2.0.0 [path xdg_directories path_provider_platform_interface flutter]
- path_provider_macos 2.0.0 [flutter]
- path_provider_platform_interface 2.0.1 [flutter meta platform plugin_platform_interface]
- path_provider_windows 2.0.1 [path_provider_platform_interface meta path flutter ffi win32]
- pedantic 1.11.0
- permission_handler_platform_interface 3.6.0 [flutter meta plugin_platform_interface]
- petitparser 4.1.0 [meta]
- platform 3.0.0
- plugin_platform_interface 2.0.0 [meta]
- process 4.2.1 [file path platform]
- quiver 3.0.1 [matcher]
- recase 4.0.0
- rxdart 0.27.1
- share_plus_linux 2.0.3 [share_plus_platform_interface file flutter meta url_launcher]
- share_plus_macos 2.0.2 [share_plus_platform_interface flutter]
- share_plus_platform_interface 2.0.1 [flutter meta mime plugin_platform_interface]
- share_plus_web 2.0.4 [share_plus_platform_interface url_launcher flutter flutter_web_plugins meta]
- share_plus_windows 2.0.3 [share_plus_platform_interface flutter meta url_launcher]
- shared_preferences_linux 2.0.0 [flutter file meta path path_provider_linux shared_preferences_platform_interface]
- shared_preferences_macos 2.0.0 [shared_preferences_platform_interface flutter]
- shared_preferences_platform_interface 2.0.0 [flutter]
- shared_preferences_web 2.0.0 [shared_preferences_platform_interface flutter flutter_web_plugins meta]
- shared_preferences_windows 2.0.0 [shared_preferences_platform_interface flutter file meta path path_provider_platform_interface path_provider_windows]
- sky_engine 0.0.99
- source_span 1.8.1 [collection path term_glyph]
- sqflite 2.0.0+3 [flutter sqflite_common path]
- sqflite_common 2.0.0+2 [synchronized path meta]
- stack_trace 1.10.0 [path]
- stream_channel 2.1.0 [async]
- stream_transform 2.0.0
- string_scanner 1.1.0 [charcode source_span]
- synchronized 3.0.0
- term_glyph 1.2.0
- test_api 0.3.0 [async boolean_selector collection meta path source_span stack_trace stream_channel string_scanner term_glyph matcher]
- typed_data 1.3.0 [collection]
- unicode 0.3.0 [lists]
- url_launcher_linux 2.0.0 [flutter]
- url_launcher_macos 2.0.0 [flutter]
- url_launcher_platform_interface 2.0.3 [flutter plugin_platform_interface]
- url_launcher_web 2.0.0 [url_launcher_platform_interface meta flutter flutter_web_plugins]
- url_launcher_windows 2.0.0 [flutter]
- uuid 3.0.4 [crypto]
- vector_math 2.1.0
- video_player_platform_interface 4.1.0 [flutter meta flutter_test]
- video_player_web 2.0.0 [flutter flutter_web_plugins meta video_player_platform_interface]
- wakelock 0.5.2 [flutter meta wakelock_macos wakelock_platform_interface wakelock_web wakelock_windows]
- wakelock_macos 0.1.0+1 [flutter flutter_web_plugins wakelock_platform_interface]
- wakelock_platform_interface 0.2.1+1 [flutter meta]
- wakelock_web 0.2.0+1 [flutter flutter_web_plugins js wakelock_platform_interface]
- wakelock_windows 0.1.0 [flutter wakelock_platform_interface win32]
- win32 2.1.1 [ffi]
- xdg_directories 0.2.0 [meta path process]
- xml 5.1.1 [collection meta petitparser]

Same question as before about a reproducible sample.

I have a similar problem too. This is reproduced randomly in one case out of 100. I have a subscription query.snapshots().listen and sometimes changes stop arriving there. If I restart the application, then everything starts working again

I have a similar problem too. This is reproduced randomly in one case out of 100. I have a subscription query.snapshots().listen and sometimes changes stop arriving there. If I restart the application, then everything starts working again

@otopba I found a temporary solution. I think now it's working
create a function
  void callStream() async {
    oneSubscription?.cancel();
    oneSubscription = cfs.getChatFields(userId).listen(allChatField);
}

I normally call stream on my initState
  @override
  void initState() {
    super.initState();
    WidgetsBinding.instance.addObserver(this);
    callStream();
  }

Then I restart stream when the app coming from the background
  @override
  void didChangeAppLifecycleState(AppLifecycleState state) {
    super.didChangeAppLifecycleState(state);
    if (state == AppLifecycleState.resumed) {
      callStream();
    }
  }

@markusaksli-nc I think I added all codes to my question.  It's just a stream. my solution is working for now.

@bhanuka96 Thank you so much!

@bhanuka96
Can this issue be closed or are you going to provide a sample project ?
Thanks.

@darshankawar Don't close without any solution. This issue is happening to @otopba too. I think I share all files you need. It's just a listen

@bhanuka96
Not sure why you thought we are going to close it. I just asked you to confirm. Moreover, in order to properly address and replicate, we would need a complete minimal code sample that we can directly use to verify this, instead of gathering all the code pieces together and come up with a complete sample, so please provide one, as you had mentioned earlier that you are going to create a sample project.


can't convert notebooks with package dependencies

When I try to convert a notebook 2x2Jacobians.jl that has a dependency on Symbolics (which is installed, and using Symbolics works at the julia> prompt), I get an error:
julia> using NotebookToLaTeX, Makie, CairoMakie, Plots

julia> notebooktolatex("notes/2x2Jacobians.jl", template=:book)
ERROR: ArgumentError: Package NotebookToLaTeX does not have Symbolics in its dependencies:
- You may have a partially installed environment. Try `Pkg.instantiate()`
  to ensure all packages in the environment are installed.
- Or, if you have NotebookToLaTeX checked out for development and have
  added Symbolics as a dependency but haven't updated your primary
  environment's manifest file, try `Pkg.resolve()`.
- Otherwise you may need to report an issue with NotebookToLaTeX
Stacktrace:
 [1] macro expansion
   @ ./loading.jl:1167 [inlined]
 [2] macro expansion
   @ ./lock.jl:223 [inlined]
 [3] require(into::Module, mod::Symbol)
   @ Base ./loading.jl:1144
 [4] top-level scope
   @ none:2
 [5] eval
   @ ./boot.jl:368 [inlined]
 [6] collectoutputs(notebookdata::Dict{Symbol, Any}, path::String)
   @ NotebookToLaTeX ~/.julia/packages/NotebookToLaTeX/lDy6Q/src/plutoconverter.jl:91
 [7] plutotolatex(notebookname::String, targetdir::String; template::Symbol, fontpath::Nothing)
   @ NotebookToLaTeX ~/.julia/packages/NotebookToLaTeX/lDy6Q/src/plutoconverter.jl:154
 [8] #notebooktolatex#30
   @ ~/.julia/packages/NotebookToLaTeX/lDy6Q/src/NotebookToLaTeX.jl:56 [inlined]
 [9] top-level scope
   @ REPL[3]:1

It looks like it might be eval-ing the notebook in the wrong module, in NotebookToLaTeX.Runner (which cannot load Symbolics) rather than in Main (which can)?

In particular, this patch fixes the problem for me:
diff --git a/src/NotebookToLaTeX.jl b/src/NotebookToLaTeX.jl
index 66d8299..5b7c028 100644
--- a/src/NotebookToLaTeX.jl
+++ b/src/NotebookToLaTeX.jl
@@ -20,15 +20,6 @@ include("jupyterconverter.jl")

 export nestedget

-"""
-    Runner is a module for controling the scope
-    when running the notebook files, avoinding that any
-    command interferes with the "outside" script.
-"""
-module Runner
-end
-
-
 function __init__()

     @require Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80" begin
diff --git a/src/plutoconverter.jl b/src/plutoconverter.jl
index dd42774..86f847b 100644
--- a/src/plutoconverter.jl
+++ b/src/plutoconverter.jl
@@ -62,6 +62,7 @@ Runs the Pluto notebook and saves the outputs of
 each cell into a list.
 """
 function collectoutputs(notebookdata, path)
+    Runner = Core.eval(Main, :(Module())) # anonymous submodule of Main
     figureindex = Dict(:i => 0)
     runpath = pwd()
     cd(notebookdata[:notebookdir])

Thanks, I'll check if your patch passes the tests, and I'll submit a PR. Did you find any other issues?


Install Enterprise via repo

Add ability to install Vault Enterprise via HashiCorp repo
Removed check of non-existent variable "vault_install_remote_repo" in tasks/main.yml

Hey @sschmittsva,
I included your latest changes from the master in this PR, responded to your comments and fixed a few things I agree with.
Feel free to check my PR again.
We should discuss on releasing v2.5.9 with this PR. If we do a release by this PR, we should remove the "- WIP" from the changelog. If you plan other changes before releasing the next version, we could keep the "- WIP".
Thank you for your help! :)

I added another small change concerning the default value of the vault_version_repo_suffix variable

I added two more small changes:

set the default value of the vault_version_repo_suffix variable according to the vault_enterprise variable
notify the service restart handler on installation via HashiCorp repo

Hello @FalcoSuessgott,
thank you for your review. :)
I just fixed the remarks you issued.


Issue549repair

Fixes issue #549, but fixes IP v6 and adds many tests.

Note that there are no changes to devices since the last iteration, but I tidied up the code in endpoints fixing the breaking of IP v6, and wrote enough tests to cover every line that I had changed.

@plwhite - guess what - it's still broken; http://calico-jenkins:8080/job/run-fv-tests/901/console
I've reverted the merge again.  Since this has gone wrong twice already, please can you manually run the FVs over this before resubmitting it.
Thanks


Fix release-qa pipeline by passing in region code to deployment launcher

Description
pass in region code
as we'll be in the UK for QA, we will use the EU region
Tests
buildkite
Documentation
n/a
Primary reviewers
If your change will take a long time to review, you can name at most two primary reviewers who are ultimately responsible for reviewing this request. @ mention them.

Insert Brexit joke here


Fix README issues

Previous commit broke some doc links
Koin DI example wouldn't compile.

Thanks for fixing this!


python311Packages.apricot-select: init at 0.6.1

Module for submodular optimization for the purpose of selecting subsets of massive data sets
https://github.com/jmschrei/apricot
Description of changes

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 268478 run on x86_64-linux 1

4 packages built:

python310Packages.apricot-select
python310Packages.apricot-select.dist
python311Packages.apricot-select
python311Packages.apricot-select.dist


New universal handling

Breaking change

universalRender callback will now only accept return value of:

either React element or
Promise (that resolves React element)

Default handleRender will be stringRenderer, due many node stream limitation

Codecov Report

Merging #66 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master    #66   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           4      3    -1
  Lines          56     49    -7
  Branches       10      9    -1
=====================================
- Hits           56     49    -7

Impacted Files
Coverage Δ

...s/universal-loader/src/renderer/string-renderer.js
100% <100%> (ø)
:arrow_up:

<EMAIL_ADDRESS>100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Docs.MS Release Updates for Azure.Storage.Common

Docs.MS Release Updates for Azure.Storage.Common

Docs Build status updates of commit 7eb1ec6:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

api/overview/azure/storage.common-readme.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
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.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Create Hello.py

I believe I fixed this now.

I believe I fixed this now.

Let me help you! Your code is correct, but you need to add in the file CONTRIBUTORS.md some infos in order to participate and have your PR accepted. Have a look in the file, please. Thanks!


Update includes for exr v3.0+

ReleaseNote
Compatibility (major, minor, patch, build):  build
Jira ticket:
Release Notes Comment:  Fix build with OpenEXR v3+
Special Notes: OpenEXR v3+ moved around some of the headers, includes need updating.
Look or Scene Setup Change: No

Note this pull request was closed as an unintended side-effect of our removal of the release branch.   Please feel free to file a new pull request against the main branch, If these changes are still relevant.  Thank you!


Adding support for Hungarian localisation

@robertfodor Thanks for adding this to the package! It is great to have community support.

Changed date and version in line 7 and 10.


Introduces access policies and the legacy banded matrix

This commit adds one new feature, called Access policies.
Every routine in <T>LAPACK assumes access the whole or parts of their input matrices. We call it access type. For example, potrf accesses either the upper triangle or lower triangle. In syrk, one of the matrices has all its positions read, while the other matrix will be read and written only on its upper or lower triangle. Some routines will have input flags that will determine the access type.
Access policies define the pairs (i,j) where A(i,j) returns a valid value (read_policy() or reference (write_policy()). This is the way guarantees a certain array is allowed for the routine using it. For example, in a banded matrix, the algorithms can only write on the entries inside the band. In a upper triangular matrix, only the upper triangle entries can be accessed. This is critical when the layout prohibits reading and/or writing in certain positions. For instance, the LAPACK packed format only allows for reading and accessing the upper or lower triangle part of the matrix.
The objective of this PR is to introduce a way to verify if the access type is compatible with the data access policy.
Policies and types will have the same range of values. The current access policies are values of
/**
 * @brief Matrix access policies
 *
 * They are used:
 *
 * (1) on the data structure for a matrix, to state the what pairs (i,j)
 * return a valid position A(i,j), where A is a m-by-n matrix.
 *
 * (2) on the algorithm, to determine the kind of access
 * required by the algorithm.
 */
enum class MatrixAccessPolicy {
    Dense = 'G',            ///< 0 <= i <= m,   0 <= j <= n.
    UpperHessenberg = 'H',  ///< 0 <= i <= j+1, 0 <= j <= n.
    LowerHessenberg = 'h',  ///< 0 <= i <= m,   0 <= j <= i+1.
    UpperTriangle = 'U',    ///< 0 <= i <= j,   0 <= j <= n.
    LowerTriangle = 'L',    ///< 0 <= i <= m,   0 <= j <= i.
    StrictUpper = 'S',      ///< 0 <= i <= j-1, 0 <= j <= n.
    StrictLower = 's',      ///< 0 <= i <= m,   0 <= j <= i-1.
};

and objects of the class
/**
 * @brief Band access
 *
 * Pairs (i,j) such that max(0,j-ku) <= i <= min(m,j+kl) in a m-by-n matrix,
 * where kl is the lower_bandwidth and ku is the upper_bandwidth.
 *
 *      x x x 0 0
 *      x x x x 0
 *      0 x x x x
 *      0 0 x x x
 */
struct band_t : dense_t {
    std::size_t lower_bandwidth; ///< Number of subdiagonals.
    std::size_t upper_bandwidth; ///< Number of superdiagonals.

    constexpr band_t(std::size_t kl, std::size_t ku)
    : lower_bandwidth(kl), upper_bandwidth(ku)
    {}
};

One may also use the following constant expressions instead of values of MatrixAccessPolicy:
// constant expressions
constexpr dense_t dense = { };
constexpr upperHessenberg_t upperHessenberg = { };
constexpr lowerHessenberg_t lowerHessenberg = { };
constexpr upperTriangle_t upperTriangle = { };
constexpr lowerTriangle_t lowerTriangle = { };
constexpr strictUpper_t strictUpper = { };
constexpr strictLower_t strictLower = { };

The use of constant expressions enable compile time checking.
How does the verification between access policy and access policy work?
We propose to use two checkers: access_granted and access_denied, to do the comparison. The latter is the negative of the former. The former is as follows:
/**
 * @brief Check if a given access type is compatible with the access policy.
 *
 * Examples of outputs:
 *
 *      access_granted( MatrixAccessPolicy::UpperTriangle,
 *                      MatrixAccessPolicy::Dense )             returns true.
 *      access_granted( MatrixAccessPolicy::Dense,
 *                      MatrixAccessPolicy::LowerHessenberg )   returns false.
 *      access_granted( Uplo::Upper,
 *                      MatrixAccessPolicy::UpperHessenberg )   returns true.
 *      access_granted( Uplo::Upper,
 *                      Uplo::Lower )                           returns false.
 *      access_granted( upperTriangle,
 *                      Uplo::Lower )                           returns false.
 *      access_granted( strictUpper,
 *                      Uplo::Upper )                           returns true.
 *
 * @tparam access_t         Access type.
 *      Either MatrixAccessPolicy, Uplo, or any type that implements
 *          operator MatrixAccessPolicy().
 * @tparam accessPolicy_t   Access policy.
 *      Either MatrixAccessPolicy, Uplo, or any type that implements
 *          operator MatrixAccessPolicy().
 *
 * @param a Access type.
 * @param p Access policy.
 *
 * @ingroup utils
 */
template< class access_t, class accessPolicy_t >
inline constexpr
bool access_granted( access_t a, accessPolicy_t p ) { /* ... */ }

/**
 * @return ! access_granted( a, p ).
 *
 * @see bool access_granted( access_t a, accessPolicy_t p )
 *
 * @ingroup utils
 */
template< class access_t, class accessPolicy_t >
inline constexpr
bool access_denied( access_t a, accessPolicy_t p ) {
    return ! access_granted( a, p );
}

The rules for granting access are based on the the diagram of inheritance:

In a few words, an access type that derives from an access policy will result in "access granted".
Access policy is different from layout in at least two ways:

A upper triangular matrix can be stored using either a dense or a
packed layout, but the access policy will always be: A(i,j)
for i <= j.

The access policy has to do with the algorithms, so we suppose there
is a small number of ways an algorithm will access a given data. For
example, in LAPACK, we have: dense, upper/lower Hessenberg,
upper/lower triangle, upper/lower strict triangle, and banded. The
layout has to do with specialized code. For example, for the
column-major layout, one may use BLAS algorithms from optimized BLAS
packages like MKL and OpenBLAS.

This PR also:

Creates legacyBandedMatrix and and the helper function banded_matrix().
Contains an example for the use of access policies: example/access_types.
New (optional) trait: layout_trait. This simplifies the layout checks from allow_optblas.
Use of the concept Argument-Dependent Lookup (ADL) present in C++ to avoid ambiguous calls of overloaded functions.
Provides major improvement in the design of lascl.
Has some bug fixes.

Description above was updated to better represent the changes.


Loading Data Crashes

I think the new Flutter Beta 3 update with more strongly typed objects is causing a crash?

Issue fixed in PR #2


Browsers cache lift.js even if source has changed.

As pointed out in this thread on the ML, Lift 3's lift.js artifact will be cached by browsers.  I have verified that changes to lift.js do not in any way trigger a refresh of the asset in the browser.  This will cause browsers to use older version of lift.js as teams upgrade Lift versions.

We can, if we want to, make lift.js also alias as lift-3.0.0.js, so you can include the version in the script reference.
(The good news is, lift.js changes are (a) relatively rare and (b) usually internal.)

Yep, I certainly agree they're rare.  But rare things that need manual intervention are arguably more harmful than a frequent change requiring manual handling.... it's easy to forget!

For sure!


k8sattributes processor not collecting metadata on AKS

Description
I am attempting to enhance logs from the OLTP receiver with metadata using the k8sattributes processor. Unfortunately, I cannot observe any metadata in App Insights or even in the logging exporter. There are no errors visible in the logging exporter either.
I am deploying through the Terraform Helm provider in daemonset mode.
Within the logging exporter, I can see k8s.pod.ip: Str(<IP_ADDRESS>), indicating that there is an IP available to map the resource's metadata.
Component(s)
processor/k8sattributes
Helm version
0.73.0
Expected Result
to see default metadata described here

k8s.namespace.name
k8s.pod.name
k8s.pod.uid
k8s.pod.start_time
k8s.deployment.name
k8s.node.name

Configuration
mode: daemonset

presets:
  kubernetesAttributes:
    enabled: true

config:
  receivers:
    otlp:
      protocols:
        grpc:
          endpoint: ${env:MY_POD_IP}:4317
        http:
          endpoint: ${env:MY_POD_IP}:4318

  exporters:
    azuremonitor:
      instrumentation_key: "key"
      spaneventsenabled: true

    logging:
      loglevel: debug

  service:
    pipelines:
      traces:
        receivers: [otlp]
        processors: [k8sattributes]
        exporters: [azuremonitor, logging]

      logs:
        receivers: [otlp]
        processors: [k8sattributes]
        exporters: [azuremonitor]

      metrics:
        receivers: [otlp]
        processors: [k8sattributes]
        exporters: [azuremonitor]

@libormezl is it possible the incoming telemetry is coming from an IP address that is different than the pod's IP address? By default the processor uses the incoming connection to map the data to the pod.  If the processor is not reporting errors and isn't associating data my guess is that the IP address are not matching.
If the incoming telemetry already has k8s.pod.name set on the resource the processor can use that value to match to the pod metadata instead.

@TylerHelmuth, you are right. The every incoming k8s.pod.ip I have found in logs is xxx.xxx.xxx.1 (same for one node, different per multiple nodes) and does not belong to any existing pod in the node.
Thank you for you hint, I am going to investigate this behavior.

I have resolved this issue by referencing the daemonset using service with internalTrafficPolicy: Local and not using status.hostIP


DOC: add Blatt–Weisskopf with Hankel report

Implementation proposal for https://github.com/ComPWA/ampform/issues/417.

[!TIP]
See preview of TR-029 here.

Very good job.
I suggest adding a citation to the original paper by Hippel and Quigg
The paper suggest using them as FF, and list a few lower polynomials,

Maybe worth mentioning difference of small h and big H.
https://mathworld.wolfram.com/SphericalHankelFunctionoftheFirstKind.html


Add contexts missing for plugin

https://github.com/stolostron/backlog/issues/21598

/cc @chenz4027


node: make demotion on node side

Leave cluster and update role when we receiving worker role from agent.
Updating role to manager only when certificate issued.
ping @tonistiigi @aaronlehmann @diogomonica

@LK4D4: Does this fix #1165?

@aaronlehmann yes

@diogomonica pushed update

[Current coverage][cc-pull] is 55.17%

Merging [#1173][cc-pull] into [master][cc-base-branch] will decrease coverage by 0.10%

@@             master      #1173   diff @@
==========================================
  Files            77         77
  Lines         12103      12112     +9
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
- Hits           6691       6683     -8
- Misses         4498       4515    +17
  Partials        914        914

[][cc-pull]

Powered by Codecov. Last updated by [2d2d952...d586443][cc-compare]
[cc-base-branch]: https://codecov.io/gh/docker/swarmkit/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/docker/swarmkit/compare/2d2d952a06292109ee1a02b8b550c37dee6cbc3b...d5864437f39d7cf1fd915aad3d9bbc33732f8081?src=pr
[cc-pull]: https://codecov.io/gh/docker/swarmkit/pull/1173?src=pr

@aaronlehmann I've pushed an update to avoid deadlock on sending to forceCertRenewal. Thanks!

LGTM

@tonistiigi pushed an update. Thanks!

LGTM

LGTM


Collections wiped after 304 responses / Models parsed

Type: Bug
Description: Backbone wipes Collections when 304 responses are returned from the server by calling set and/or reset on the Collection. Models are parsed, which may be harmless in certain situations, but not all.
Expected behavior: Backbone does not empty the collection, and Backbone shouldn't call parse on the model, but still triggers the sync event in both situations.
====
Wat is this 304 response?
Servers can be configured to return a 304, or "Not modified," response. This response means that the version of the resource that the server has is the same one that you have on the client. This behavior is distinct from client-side caching (which typically means not making an AJAX request at all) and server-side caching (which typically means not hitting the database; sometimes even the application interfacing with the database). Rather, it is more like a handshake between the client and server. For the feature to work according to the specification, both the server and client must be configured appropriately.
The server must store one of two things for each resource: the time that it was last modified, or an ETag. An ETag is a unique identity for a resource at a given URL. Note again that these are completely independent from arbitrary caching times configured on the server. These modified dates and ETags must reference specific versions of resources.
When a request is made by a client, the API will always return the full resource unless one of two headers is passed in: the If-Last-Modified header or the If-None-Matched header. These headers correspond to the computed last modified timestamp and the ETag value on the server, respectively. The server can use these values to determine whether or not the client has an outdated version of the resource or not.
If the server determines that the resource has not changed, it returns the 304 response.
So, who cares, right? Well, the final piece of the 304 response is that it contains an empty body, which is where the problems with Backbone stem from. In this situation the client is supposed to keep the current version of the resource that it has. For more on why this whole process is convenient, this blog post may do a better job at explaining the details.
===
So where does Backbone go wrong?
Backbone goes wrong because it always sets the data on a successful callback. Even 304 responses, which return no data. Because of this, collections get wiped due to the behavior of set, and Models get parse called on them, which is not only inefficient but could reasonably throw errors if you aren't checking for empty responses. Within parse, there isn't enough information to determine whether it was a 304 or an actually empty response, so that method should never be relied upon to make the distinction.
===
Are there any hooks to prevent this?
No, but you can make it work. Backbone wraps the success callback you pass in with its own success callback, which is what erases your data. The only way to get around this is to wrap Backbone's wrapped method by overriding Backbone.$.ajax, as in this example.
The way that it works is that it updates the empty response with the value that you have cached. It then sets that as the response, so that by the time Backbone's code accesses it, it doesn't even realize that the response was actually empty.
This is fine from the standpoint of functionality, but it still causes unnecessary code to be executed, such as set and parse. Ideally nothing happens other than Backbone saying 'ok ur good' and firing the success callbacks.
===
Can we see an example?
In the following example, we use jQuery's ifModified option to configure jQuery to automatically manage our caching for us. This means that jQuery will automatically send the appropriate If- headers along with every request. In other words, it handles the client's side of things for us.
We also use Github's API, which is configured to manage the server's role in this feature.
We can see that Backbone wipes the collection after the second fetch, wherein the server informs us that our resource is up-to-date.
// Configure jQuery
Backbone.$.ajaxSetup({ ifModified: true });

// Define and instantiate a collection
var Gists = Backbone.Collection.extend({ url: 'https://api.github.com/users/jmeas/gists' });
var gists = new Gists();

// Fetch it twice and log the length after each fetch
gists.fetch().then(function() {
  // This logs 28
  console.log('First fetch:', gists.length);
  gists.fetch().then(function() {
    // This logs 0
    console.log('Second fetch:', gists.length);
  });
});

By switching things up a bit, we can create a Model that has parse called (unnecessarily). In this situation, there is no problem; the data remains. But if your parse function isn't checking for 304 responses (I don't think that it should), then you might calculate some incorrect data.
// Configure jQuery
Backbone.$.ajaxSetup({ ifModified: true });

// Define and instantiate our model w. parse
var Model = Backbone.Model.extend({
  url: 'https://api.github.com/gists/026b3b6b90b498d8bb09',
  parse: function(data) {
    console.log('parse has been called');
    return data;
  }
});
var model = new Model();

// Fetch it twice and log the attributes after each fetch
model.fetch().then(function() {
  console.log('First fetch:', model.attributes);
  model.fetch().then(function() {
    console.log('Second fetch:', model.attributes);
  });
});

===
How can we fix this?
One idea is to revert d04b0f793b95ea which reverted ea24e0a2 which was PRed in #3410
In that PR, @braddunbar gives a counter-example where he shows Backbone appearing to be functioning correctly. The issue with that example is twofold:

The server is not following any specification. It should only return a 304 if the resource hasn't changed based on the If-X headers, not arbitrary caching times. The correct response in that situation is a 200 response + the data, as if the caching layer didn't exist.
Even so, had the server returned a correct 304 response, it should have been empty. It's not unreasonable to conceive of situations where this could cause a parse method to error out or otherwise calculate an incorrect value.

Other concerns with that PR
That PR requires a specific convention with using models, which is that once a model is created it cannot be destroyed.
The reason for this is that the PR does not provide any new hooks to fetch data from a cache. Rather, it assumes that the current version of the model still has the data from the last fetch. Because jQuery fetches by URI, if I get rid of my Model instance, or otherwise make a new one, I will be unable to get new data for that model unless I reference the original model (or some external cache).
This is fine for my apps, as this is how I use Backbone, but maybe there are folks out there who are destroying and instantiating models that all point to the same URI.

That doesn't solve the issue for second instantiation. And what I meant by { ifModified: false} when fetching for the first time is:
var gists = new Gists();
gists.fetch();
var gists2 = new Gists();
gists2.fetch(); // 304, gists2 is empty.
Passing { ifModified: false } for gists2 (its first fetch) would grab the new data needed for a second instance. A caching layer would solve this for you, since the empty response body would be replaced by the original request's.


different handling environment (missing dotenv.load_dotenv() in sample 08)

Describe the bug
most python samples use
# import dotenv
dotenv.load_dotenv()

However in sample08 the environment variables are only used, (so .env files are ignored)
e.g. transcript_enrich_summaries.py
# no usage of dotenv
API_KEY = os.environ["AZURE_OPENAI_API_KEY"]

I could contribute a patch/merge request for this.
To Reproduce
all python programs transcript*.py in C:\work\microsoft\generative-ai-for-beginners\08-building-search-applications\scripts
are missing dotenv and are using the environment variables only.
Expected behavior
dotenv should be used in all examples

is fixed via https://github.com/microsoft/generative-ai-for-beginners/pull/577


Separate SampleMover.move into two functions

._get_samples_from_sample_set: use the input sample set to select relevant samples
.move_core: uses selected samples; returns move change

This will facilitate parallelization.

@dwhswenson What is the status on this?

@jhprinz : Question -- should the method to get samples from a sample set (for a given mover) be hidden API or public API? (Use underscore or not?) I've wavered back and forth on this.
Other than deciding on that, this is ready. Note that this only does it for some moves; support for a few other moves (e.g., MinusMover) will be added in future PRs.

I think it should be public, since I don't see a reason to hide this. It could be used standalone for testing and experiments or doing statistics, etc.

Made the change to make that public. This can be reviewed at any time.


Triage on ostracon#508

https://github.com/finschia/ostracon/pull/508 removes an unused function. It can be merged if the cometbft does not use it.

There is no problem that we delete it after upstream delete it.