'list installed' command?

Hi,
How to find what is installed with Sdkman?
There doesn't seem to be a sdk list installed commands, and just calling sdk list simply shows all potential SDKs to install.
Thanks.

Please refrain from using Github issues for usage questions. Use the Gitter user-issues chat instead.

@marc0der it's not a usage question :) .

Sorry for sounding harsh, that was not the intention. The website usage page clearly states that the command to use here is sdk current.

Thank you very much.  Not sure how I missed that one :( .

Thanks, helped me as well. Intuitively I also went for sdk list --installed or something like that.

Probably a good thing to consider changing sdk list, to sdk available. 1 makes more sense, and 2 that frees you up for using sdk list to show the list of installed. sdk current isn't exactly clear on what it does in its name as sdk list would be for showing all installed. Better yet, get rid of sdk current and just add a sdk list --installed. Probably even better.

While using current does show what I'm currently using, it does not seem to list the other SDKs I have installed. For example, I'm currently using Java 11, but it sure would be nice to know I also have OpenJDK 8u111 installed - and switching to it would not require a download.

@btassone apologies for never replying on this but don't think I ever got notified about your comment.
I agree that renaming list to available would make a lot of sense. It would however be very confusing for all our long-time users though.
Regarding the other suggestion of qualifying sdk list with a --installed flag, I don't think this is a good idea as it goes against the command syntax of sdkman. We don't use flags like this anywhere else. The syntax always (strictly) falls into the pattern:
sdk <command> [version] [qualifier]
If we introduce something better or more intuitive it should fall into the same pattern.
In other words, sdk list installed would fall into this pattern, but then what does sdk list do if we rename it to available?
My suggestion that we bring about such change in small steps: Leave sdk list to be what it currently is for the time being, then introduce the installed qualifier on top of the list command to replace current. wdyt?

I think the last suggestion sounds best. "sounds" meaning the way it reads or is spoken. so sdk list installed and sdk list available reads nice and looks intuitive. sdk list could stay the same for some time and then change or simply point to the other statements.

was this ever done? - confused me for a bit this AM before some googling lol

@tb582 no, still waiting for the pull requests to come in :laughing:

4 years later, still not solved？

@lcxw the beauty of open source is that you can contribute a solution.

sdk list could continue as an alias for sdk available.  sdk installed could implement the new functionality.  I don't see a need to insert list after sdk and before available|installed.

I've installed several javas, how can I list them all with their paths? The 'sdk current' shows only the current one.

The only way I've found is:
sdk list java | grep installed

Hope that helps

Unless I'm missing something, sdk current only shows the currently active JDK version.
It doesn't list all the installed versions.
As per @ibethencourt answer, this is the only way (AFAIK) for checking all currently installed versions, which I'd love to have in SdkMan itself!
If I'm missing something please correct me.
Have a nice day!

I don't think it's an issue rather than inprovment.
As @ibethencourt saying,  sdk list java | grep installed is such a good way to solve the issue.

This doesn't work if you want to see all candidates their installed versions.
So I resorted to this:
➜ tree -L 2 ~/.sdkman/candidates/
/home/aairey/.sdkman/candidates/
└── gradle
    ├── 6.4
    └── current -> /home/aairey/.sdkman/candidates/gradle/6.4

3 directories, 0 files

This works as long as you use the default local-path for your candidates.

added this into my .zshrc
sdkman() {
        [[ "$1" == "installed" ]] && sdk list $2 | grep installed || sdk "$@"
}

now i can run sdkman installed java
works great

Stumbled here because I was searching for something similar. I have 4 jdk's installed for different purposes. so when I wanted to switch between, for example jdk 8 to jdk 11, I always forget the exact identifier, "11.0.7.hs-adpt" So I was hoping there was some command which just list just the installed java instead of entire list which require me to scroll up and search for the correct identifier.
I am surprised this isn't readily available since the list of sdk and jdk has gotten really large. An ideal case would be something like sdk switch java, which would show an alternatives like menu to switch java version.

@Abhinav1217: If you use zsh, oh-my-zsh has command line argument completion for sdkman.
Commands that only work with installed versions will only display / autocomplete installed versions.
I don’t know if sdkman argument completion exists for bash, or how well any such argument completion works.

I am on primarily bash, But I have omz installed I can switch to it temporarily. Currently I set sdkman to offline to limit the list to installed only.

Hi Guys from 2020. Is there a SDKMAN command that list all locally installed packages or it is better to back to the question in 2021 or 2022 ?

@barmalei Not yet. Best I usually work with is set sdkman to offline and then list Java, It shows only installed versions, making it easier to switch. I did create a script for sdkman to do it automatically, but I usually ends up typing whole set as I distro-hop quite frequently.

+1

a must have feature

I use shell autocompletion with sdk use and it works well for me. Review https://github.com/sdkman/sdkman-cli/issues/83 to see how to enable it for your favorite shell

The official sdk plugin for zsh is already available in your ohmyzsh installation.
Just enable it in your plugins list .zshrc file and restart the terminal.
plugins=(sdk)

Hi!
With Bash completion now in place, we could display the list of installed candidates when autocompleting the use command.
That way we wouldn't need to introduce another command only for showing installed version. @marc0der wdyt?

I came up with a pretty geek solution myself by means of a proxy function for the sdkcommand:
function sdk_proxy {
  if (( $# == 2 )) && [[ $1 =~ ^(u|use)$ ]]; then
    sdk use $candidate $(sdk_fuzzy_find_local_version $2)
  else
    sdk "$@"
  fi
}

(The exact mechanism for turning the above into a proxy function in bash is irrelevant here but you can check out https://frederic-hemberger.de/articles/speed-up-initial-zsh-startup-with-lazy-loading/ in case you're interested).
The snippet above just says that whenever I invoke the use subcommand followed by a candidate BUT NOT a version (i.e. sdk use java or sdk u java) then I plug in a custom fuzzy search:
function sdk_fuzzy_find_local_version {
  __sdkman_build_version_csv $1 |
    tr ',' '\n' |
    sort -r -n |
    fzf -d '\.' --nth 1
}

I know this is a bit fragile as I'm relying on an internal sdkman function (named __sdkman_build_version_csv) that is bound to change (or be gone) in the future. But, after all, this is just a workaround and besides I ❤ proxies  ¯_(ツ)_/¯

@helpermethod is it worth keeping this issue open until we have a working solution for ZSH too?

@mperezi very cool, and it must have been fun doing this :smile: However, I certainly would recommend that you use the command line completion that @helpermethod just implemented instead. I'll also look at doing the same for ZSH soon.

Re-opening this issue until ZSH is also supported. This will involve porting the oh-my-zsh plugin back into our completion mechanism.

@marc0der Yes, we should keep the issue open. I can take a stab at ZSH this evening, but I also wouldn't be to sad if anyone else takes over the ZSH completion 😄.

I can have a crack at it sometime, you've already done ample with bash completion.

The autocompletion functionality is now available for both bash and ZSH. It was released as v5.11.1.

For zsh I cannot get shell completion enabled from using the instructions:  https://sdkman.io/usage#completion
I tried them as-is as well as replacing bash with zsh.

Hi @franco-circleup, it seems an error has sneaked into the docs.
The correct command is
source <(sdk completion bash)

or for zsh
source <(sdk completion zsh)

I'll fix the documentation tomorrow. Sorry for the inconvenience!

That works perfectly, thanks!

I have enabled completion, But I only get completion for first parameter.

I type sdk , double tap the tab key.
I get list of accepted parameter, I select use then  type java

What is expected
3. double tab should list installed java candidates.
What actually happens.
3. double tab just list all the folders and files ( this is, AFAIK, the  default  behavior of bash shell )

Hi @Abhinav1217,
works fine for me. Are you using the bash or zsh completion?

I am using bash completion, I updated sdk and recreated sdk completion, It did not work.
Then based on someone's advice on reddit,

I removed the line  source <(sdk completion bash)
I then created a separate completion file by running sdk completion bash >> 00_sdkman_bash_completion  in terminal
I edited the file to remove all the comments, remove broadcast message (if printed) and (optionally) added shebang for bash.
Sourced that file inside my ~/.bashrc

Reason given was that sometimes, sdkman prints broadcast messages which will make completion fails. I stumbled upon it as I was occasionally getting this issue whenever I launch new terminal. Which I suspected was something to do with sdk completion but wanted to be sure before I come here.

When I created the 00_sdkman_bash_completion file, I did find the broadcast message in the output. I removed it issue was gone, Only downside is that now I would have to manually update the completion file from time to time.
This issue is resolved for me, unless broadcast message should not have been printed when subcommand is completion. In that case, I have no idea why I got it.

Hi @Abhinav1217, we are already aware of this issue and tracking it in #912. We should have a fix out for this soon. In the meanwhile, please source the completion file directly from your profile rather than using the completion command.

Sorry to resurrect this issue that started rather unfortunate.
I'm a fish shell user and hence only got to use sdk!man by omf i sdk. I stumbled over exact the same issue as OP, and after scrolling through this issue I feel that it is still open and very relevant. Even more: I still don't know how to achieve my query!
For illustration. This is what i.e. omf tells you after simply typing omf:

I immediately understand: omf l is the way to go.
I was really strained looking at the sdk output:

I never would have assumed/understood that sdk current at least reveals some of the installed candidates
The aforementioned sdk list | grep installed does not list any hits at all
I understood that the rest of this tickets addressed only user-specific shell hack workarounds. Not the think I'd expect from a package manager.

I'd still propose, that this issue is still relevant and an easy command to the list the locally installed packages should be offered and easily discoverable from the CLI.
I feel that should not need to become a shell programming expert or documentation archaeologist to fulfil this task… For me this sounds like a very, very easy and task and undoubtedly relevant functionality. Anybody willing to explain me the backgrounds for this discussion which is ongoing for more than five years?

I agree with @bentolor
What's the expectation of the maintainers? For the cimmunity to create a fork just for the sake of one useful feature that is very very easy to implement without any risk for the existing functionality? (e.g. add an explicit command)

still no way to list the installed versions?

I solved it by
sdk list java|grep installed

It works but it's workaround...
Also I have some installs that have the label "local only", so I have to use: sdk list java | grep -e installed -e local
This thread if full of workarounds but there's no doubt that some kind of a sdk list installed command would be much more user friendly.

Point taken. I'll certainly include a flag listing only installed versions when I rewrite this command.

@MTyson It's insanely simple!
$ sdk default java <tab>

Now pick the one you want to make default. Simple, isn't it? :smile:

sdk list java | grep -e installed -e local  is the actual answer. If you have a version that isn't available from sdkman anymore, it won't show up as installed.

 We spend our spare time delivering software that you get to use for free every day of your life. No cost and with no strings attached.
If a feature that you really want isn't supported, you can easily get stuck in and contribute by way of a pull request, provided that your code is up to standard. Alternatively, feel free to put down a bounty on our open collective page.

To see what versions are in use:
➜  ~ sdk current

Using:

gradle: 8.1.1
java: 17.0.7-tem
kotlin: 1.8.20
maven: 3.9.1
visualvm: 2.1.5

To list all available and installed versions of tools that at least have one version installed on the machine:
for i in `ls .sdkman/candidates/`; do sdk list $i; done

Haven't found out how to avoid the use of more. The suggested grep doesn't work for the multi column syntax used for example for gradle.
Would be cool to have something like sdk list -h / sdk list --help to get available flags listed.

agree with the sdk list --install stuff, would be more useful and intuitive IMHO.
In addition, I have 4 JDK's installed and sometimes I have to use JDK11. Rather than grepping the internals of the sdkman what is the proper way to get  folders for a sdk?

Hello, what's the progress? for list installed softwares.

Hello,
I have created an extension to do the trick. I added a file sdkman-installed.sh in $SDKMAN_DIR/ext with the following content:
#!/usr/bin/env bash

#stolen from src/main/bash/sdkman-list.sh!
function __sdkman_build_version_csv() {
	local candidate versions_csv

	candidate="$1"
	versions_csv=""

	if [[ -d "${SDKMAN_CANDIDATES_DIR}/${candidate}" ]]; then
		for version in $(find "${SDKMAN_CANDIDATES_DIR}/${candidate}" -maxdepth 1 -mindepth 1 \( -type l -o -type d \) -exec basename '{}' \; | sort -r); do
			if [[ "$version" != 'current' ]]; then
				versions_csv="${version},${versions_csv}"
			fi
		done
		versions_csv=${versions_csv%?}
	fi
	echo "$versions_csv"
}

function __sdkman_build_candidate_csv() {
	local candidates_csv
	candidates_csv=""
	if [[ -d "${SDKMAN_CANDIDATES_DIR}" ]]; then
		for candidate in $(find "${SDKMAN_CANDIDATES_DIR}" -maxdepth 1 -mindepth 1 -type d -exec basename '{}' \; | sort -r); do
			candidates_csv="${candidate},${candidates_csv}"
		done
		candidates_csv=${candidates_csv%?}
	fi
	echo "$candidates_csv"
}

function __print_versions_installed() {
	local versions_csv
	versions_csv="$1"
	local versions=($(echo ${versions_csv//,/ }))
	for version in "${versions[@]}"; do
		echo -e "\t* ${version}"
	done
}

function __sdk_installed() {
	local candidates_csv
	candidates_csv=$(__sdkman_build_candidate_csv)
	local candidates=($(echo ${candidates_csv//,/ }))
	for candidate in "${candidates[@]}"; do
			echo "* ${candidate}"
			__print_versions_installed $(__sdkman_build_version_csv "${candidate}")
	done
}

Now you can list installed candidates with sdk installed.
The code is a little bit rough (there are duplicates...) but if there is interest I can clean it and make some tests to do a PR.
Pro tip: You can format the output with glow: sdk installed | glow -.

Hi,
This is an old thread, not sure if in the meantime there is a better solution, but since sdk list will output the 'available' sdk's, when you're in online mode, it will show what is available online, while in offline mode, it shows what is available offline (thus installed).
The solution to your problem using the available commands of sdkman is thus (using example of java here) :
prompt> sdk offline enable && sdk list java && sdk offline disable

@bvdriel i tried that, and it doesn't seem to work on MacOS.  i have 11.0.20-tem and 17.0.8-tem installed and it only shows  11.0.20-tem

I tried something like this:
❯ ls ~/.sdkman/candidates/* | grep -v "current"
/Users/username/.sdkman/candidates/java:
11.0.16-ms
<IP_ADDRESS>-ms
<IP_ADDRESS>-ms

/Users/username/.sdkman/candidates/maven:
3.6.3

/Users/username/.sdkman/candidates/tomcat:

It's pretty similar to what mbogner has done in the previous thread.

sdk list java | grep -e installed -e local  is the actual answer. If you have a version that isn't available from sdkman anymore, it won't show up as installed. Instead it shows up as "Local Only"

This doesn't show my older hs-adpt Java installs.
$ sdk use java
11.0.9.hs-adpt   13.0.2.hs-adpt   14.0.2.hs-adpt   15.0.1.hs-adpt   15.0.2.hs-adpt   16.0.1.hs-adpt   17.0.0-tem       19.0.2-tem       8.0.275.hs-adpt

$ sdk list java | grep -e installed -e local
We periodically need to update the local cache. Please run:
               |     | 19.0.2       | tem     | local only | 19.0.2-tem
               | >>> | 17.0.0       | tem     | local only | 17.0.0-tem

Appreciate this is free, but it's still odd to make an SDK manager without a simple command to list your installed versions and which is currently selected. That would be like the first command I'd think of adding. Any other manager I've used has this feature like nvm list, rbenv versions, pyenv versions, phpenv versions etc

Could we maybe reopen this issue? — A lot of interest by the community …

Hi @sdavids,
did you see the comment with sdk current? From my perspective this solves it for me. There you can see all installed packages (via sdkman) and the version. If you then want to drill down what versions exist for something you can do sdk list <name>. So you have the overview and details call. What are you missing exactly?

sdk list

Using:

gradle: 8.7
java: 21.0.2-graalce
kotlin: 1.9.23
maven: 3.9.6
visualvm: 2.1.8

sdk list maven

================================================================================
Available Maven Versions
================================================================================
     4.0.0-alpha-13      3.8.8               3.5.0
     4.0.0-alpha-12      3.8.7               3.3.9
     4.0.0-alpha-10      3.8.6               3.3.3
     4.0.0-alpha-9       3.8.5               3.3.1
     4.0.0-alpha-8       3.8.4               3.2.5
     4.0.0-alpha-7       3.8.3               3.2.3
     4.0.0-alpha-5       3.8.2               3.2.2
     4.0.0-alpha-4       3.8.1               3.2.1
 > * 3.9.6               3.6.3               3.1.1
     3.9.5               3.6.2               3.1.0
     3.9.4               3.6.1               3.0.5
     3.9.3               3.6.0               3.0.4
     3.9.2               3.5.4
     3.9.1               3.5.3
     3.9.0               3.5.2

================================================================================
+ - local version
* - installed
> - currently in use
================================================================================

sdk list

================================================================================
Available Candidates
================================================================================
q-quit                                  /-search down
j-down                                  ?-search up
k-up                                    h-help

--------------------------------------------------------------------------------
Apache ActiveMQ (Classic) (5.17.1)                  https://activemq.apache.org/

Apache ActiveMQ® is a popular open source, multi-protocol, Java-based message
broker. It supports industry standard protocols so users get the benefits of
client choices across a broad range of languages and platforms. Connect from
clients written in JavaScript, C, C++, Python, .Net, and more. Integrate your
multi-platform applications using the ubiquitous AMQP protocol. Exchange
messages between your web applications using STOMP over websockets. Manage your
IoT devices using MQTT. Support your existing JMS infrastructure and beyond.
ActiveMQ offers the power and flexibility to support any messaging use-case.

                                                          $ sdk install activemq
--------------------------------------------------------------------------------
Ant (1.10.13)                                            https://ant.apache.org/

Apache Ant is a Java library and command-line tool whose mission is to drive
processes described in build files as targets and extension points dependent
upon each other. The main known usage of Ant is the build of Java applications.
Ant supplies a number of built-in tasks allowing to compile, assemble, test and
run Java applications. Ant can also be used effectively to build non Java
applications, for instance C or C++ applications. More generally, Ant can be
used to pilot any type of process which can be described in terms of targets and
tasks.

                                                               $ sdk install ant
--------------------------------------------------------------------------------
AsciidoctorJ (2.5.12)                                    http://asciidoctor.org/

AsciidoctorJ is the official library for running Asciidoctor on the JVM. Using
AsciidoctorJ, you can convert AsciiDoc content or analyze the structure of a
parsed AsciiDoc document from Java and other JVM languages.

                                                      $ sdk install asciidoctorj
--------------------------------------------------------------------------------
Ballerina (swan-lake-p3)                                   https://ballerina.io/

Open source programming language and platform for cloud-era application
...

@mbogner
I would like to have something similar to
$ apt list --installed

list
list [...] can display [...] installed (--installed) [...] versions.

https://manpages.ubuntu.com/manpages/xenial/man8/apt.8.html#description
or
$ dnf list --installed

dnf [options] list --installed [...]
Lists installed packages.

https://www.man7.org/linux/man-pages/man8/dnf.8.html
or
$ brew list

list
List all installed formulae.

https://docs.brew.sh/Manpage#list
Status Quo
$ sdk current

Using:

ant: 1.10.13
gradle: 8.7
java: 21.0.2-tem
maven: 3.9.6
$ sdk offline enable && sdk list java && sdk offline disable
Offline mode enabled.
--------------------------------------------------------------------------------
Offline: only showing installed java versions
--------------------------------------------------------------------------------
 * 22-tem
 > 21.0.2-tem
 * 17.0.10-tem
 * 11.0.22-tem
--------------------------------------------------------------------------------
* - installed
> - currently in use
--------------------------------------------------------------------------------
Online mode re-enabled!
$ sdk list java | grep -e installed -e local
               |     | 8.0.402      | librca  | installed  | 8.0.402-librca
 Temurin       |     | 22           | tem     | installed  | 22-tem
               | >>> | 21.0.2       | tem     | installed  | 21.0.2-tem
               |     | 17.0.10      | tem     | installed  | 17.0.10-tem
               |     | 11.0.22      | tem     | installed  | 11.0.22-tem

Feature Request
$ sdk list java --installed
================================================================================
Installed Java Versions
================================================================================
 Vendor        | Use | Version      | Dist    | Identifier
--------------------------------------------------------------------------------
 Liberica      |     | 8.0.402      | librca  | 8.0.402-librca
 Temurin       |     | 22           | tem     | 22-tem
               | >>> | 21.0.2       | tem     | 21.0.2-tem
               |     | 17.0.10      | tem     | 17.0.10-tem
               |     | 11.0.22      | tem     | 11.0.22-tem

@sdavids Ok, got your point.
Isn't
apt list --installed

Listing... Done
adduser/jammy,now 3.118ubuntu5 all [installed,automatic]
amd64-microcode/jammy-updates,jammy-security,now 3.20191218.1ubuntu2.2 amd64 [installed,automatic]
apache2-bin/jammy-updates,now 2.4.52-1ubuntu4.8 amd64 [installed,automatic]
apache2-data/jammy-updates,now 2.4.52-1ubuntu4.8 all [installed,automatic]
apache2-utils/jammy-updates,now 2.4.52-1ubuntu4.8 amd64 [installed,automatic]
apache2/jammy-updates,now 2.4.52-1ubuntu4.8 amd64 [installed]
apparmor/jammy-updates,now 3.0.4-2ubuntu2.3 amd64 [installed,automatic]
apport-symptoms/jammy,now 0.24 all [installed,automatic]
apport/jammy-updates,now 2.20.11-0ubuntu82.5 all [installed,automatic]
apt-utils/jammy-updates,now 2.4.11 amd64 [installed,automatic]
apt/jammy-updates,now 2.4.11 amd64 [installed,automatic]
augeas-lenses/jammy,now 1.13.0-1 all [installed,automatic]
base-files/jammy-updates,now 12ubuntu4.6 amd64 [installed]
...

the same as
sdk current

?
Afaik you can't have multiple versions of the same debian package installed at the same time. That would be the selected one with sdkman. I agree that it would be nice for maintenance of a system to have a command that just lists all locally installed packages instead of just the currently selected version. Even more handy for me would be to have an option to uninstall all currently not used versions of all packages (or of listed packages). Something like this:
sdk uninstall java --keep-current

or for all installed packages ->
sdk uninstall --keep-current

I guess it is a question of how one defines "installed" …
a) "exists on the file system"
b) "accessible via $PATH"

I'm using SDKMan to juggle between different major Java versions needed to build, test and benchmark different LTS branches of our software. The sdk installed feature requested above by @sdavids sounds exactly like what I need.
I'm aware that sdk list java | egrep 'installed|local' already does more or less what I want, but it's quite an awkward command to use.

why is closed?

So there is no such command even in 2024 ? 🤣

So there is no such command even in 2024 ? 🤣

no. and it was closed. just workarounds

So... I continue using grep for list installed?

So... I continue using grep for list installed?

see my answer from Mar 28. sdk current for listing active versions and sdk list  for available versions. Fine for me.


exporting utility function getStringWidth from @vx/text

@vx/text is a great package and has a great utility function getStringWidth which I currently use in some charts in the following way (@vx@0.0.163):
import getStringWidth from '@vx/text/build/util/getStringWidth'

After installing the 0.0.165-beta.0 this breaks and my charts don't work anymore with the following error:
ReferenceError: babelHelpers is not defined
  at Object.<anonymous> (node_modules/@vx/text/build/util/getStringWidth.js:9:17)
  at Object.<anonymous> (src/utils/utils.js:5:1)
  at Object.<anonymous> (src/utils/utils.test.js:3:14)

I'm not quite sure why but I think it has to do with the rollup update and I'm not even supposed to import from @vx/text/build/util/.
Maybe this function can get a named export so users of vx can use it with
import { getStringWidth } from '@vx/text'

I can try to come up with a PR but I'm not familiar with Rollup and some directions are really appreciated if this is a feature you want for vx.

Good catch! i need to remove the external-helpers babel plugin when we build the build/ dir of cjs modules.
Will also export the util from @vx/text

@sto3psl released in 0.0.165-beta.1 mind giving that version a shot and let me know? you should be able to do either:
import getStringWidth from '@vx/text/build/util/getStringWidth';
// or
import { getStringWidth } from '@vx/text';
``

@hshoff from a first quick look the charts all work. Will test it tomorrow in our actual app with real data but it looks good. Thanks for the quick update!


Improve logic for build graph generation status

generateBuildGraph was named misleadingly because the primary purpose of these tasks was to schedule indexing tasks and generating the build graph was just a necessary step for this. Also update it to take into account that multiple tasks scheduling indexing tasks might be running in parallel.

@swift-ci Please test

@swift-ci Please test

@swift-ci Please test Windows


open-watcom-v2-unwrapped: unstable-2022-04-24 -> unstable-2022-04-29

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for open-watcom-v2-unwrapped is: "The v2 fork of the Open Watcom suite of compilers and tools"
meta.homepage for open-watcom-v2-unwrapped is: "https://open-watcom.github.io"
meta.changelog for open-watcom-v2-unwrapped is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found unstable-2022-04-29 in filename of file in /nix/store/widmmz7b77calqc060qp67x6h262g9kb-open-watcom-v2-unwrapped-unstable-2022-04-29

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

4 total rebuild path(s)

2 package rebuild(s)

2 x86_64-linux rebuild(s)
2 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
open-watcom-v2
open-watcom-v2-unwrapped

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/widmmz7b77calqc060qp67x6h262g9kb-open-watcom-v2-unwrapped-unstable-2022-04-29 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

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

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/widmmz7b77calqc060qp67x6h262g9kb-open-watcom-v2-unwrapped-unstable-2022-04-29
ls -la /nix/store/widmmz7b77calqc060qp67x6h262g9kb-open-watcom-v2-unwrapped-unstable-2022-04-29/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

2 packages built:

open-watcom-v2
open-watcom-v2-unwrapped

Maintainer pings
cc @OPNA2608 for testing.

@ofborg build open-watcom-v2.passthru.tests


Hardware Considerations for FPGA/ESP32-P4

Saw your recent comment on FuryGPU at hackernews; figured I'd pop in and let you know that the ESP32-P4 is on the way soon (should start hearing a bunch of buzz about it come june or july) with a PPA (Pixel Processing Accelerator) and better support for high resolution outputs. The flipside is, it will lack a radio, so will need a companion from the ESP32 family running another firmware package like ESP-Hosted to do radio-work. But a GPU shouldn't need that.

Initial documentation's already partially available here:
https://docs.espressif.com/projects/esp-idf/en/latest/esp32p4/index.html
At the moment, a preliminary datasheet (v0.1) is available from here:
https://www.erlendervik.no/ESP32-C5 Beta_ESP32-P4_ESP8686_ESP32-C3FH4X/ESP32_P4_Chip_Datasheet_V0.1_PRELIMINARY_EN.pdf
Here's the highlights I've pulled from it:
104 pin package, with two memory options: 16MiB PSRAM or 32MiB PSRAM
~768K of 200Mhz on-die SRAM + 32K of 40Mhz SRAM for LP
8K of 400Mhz on-die TCM memory
4KiB of eFUSE with 1792 bits reserved for user data "such as encryption key and device ID"
External flash or PSRAM can be mapped into 64MB of CPU instruction space in blocks of 64KB
External PSRAM can be mapped into 64MB of CPU data space as blocks of 64KB (separate ranges)
It has 16 PMPs so it may be able to run a minimal linux kernel or some of the more advanced RTOSs (but probably won't because of Espressif's love of FreeRTOS in ESP-IDF)
It has a dedicated audio PLL for the I2S, up to 125Mhz. This can be abused for many other tasks, including filtering off higher harmonics to transmit on the upper bands. (See CNLohr's recent explorations)
Same ol' crappy nonlinear espressif audio-quality ADCs, good enough to capture up to 14 near and far field mic channels, battery voltage divisors and other tasks, but if you need good analog capture characteristics, like for an oscilloscope, look elsewhere.
55 GPIO pins via pin multiplexing, with the Low power core getting up to 16. Two high speed SPI busses you can use.
Two more internally to deal with the flash and PSRAM channels, which should be ignored as GPIOs.
Five of them can be used as UARTs, with one being exclusive the the low power core.
I3C, I2C, and I2S interfaces, and the thing of most interest: two USB 2.0 "High-Speed" interfaces. One of them supports general OTG, while the other is limited to USB serial/JTAG/Boot. These are GPIO24-27.
Ethernet has what appears to be three sets of GPIOs it can be set to (28-36, 40-48, and 49-54) to dodge use of other pins.
GPIOs 35-42 can be assigned to a MIPI 2 lane DSI display interface, which is going to be very interesting for higher resolution panels, or for going directly out to a DSI-to-DisplayPort bridge chip. Very possible this little dude might be able to raster out 4K at terrible framerates, but will definitely be able to handle 1080p.
One of the more interesting peripherals (which we may, or may not get reasonable access to) will be the h.264 encoder, which says it has a maximum encoding performance of 1920x1088@24FPS. Pretty close to something I'd expect out of a 1080p security camera. And indeed, it can deal with MIPI 2 lane CSI on GPIOs 42-49.
So, a 1080P display on GPIOs 35-42, a 1080P camera on 42-49, and ethernet on the few remainders, with enough room for USB2.0, SD card, some captouch buttons, encoders, or charlieplexed LEDs.
Throw a DSI to displayport chip on, skip the HDMI license fees, and this appears to be quite a nice little HMI controller.
Considering that ESP-Hosted can be used to throw 40Mbit of radio bandwidth at it, as well as alleviate the ethernet GPIOs away from the whole TCP/IP stack, it's a pretty reasonable security camera design too. Plus some genius will remember that the PiKVM has a HDMI to CSI-2 bridge chip swapping the camera capture for monitoring a computer display. Taking bets on how fast we'll see P4KVMs show up?
Anyway, since you expressed interest in looking into the FPGA space in that posting, I figured I'd point you at the ICE40 lineup of low cost FPGAs. There's a new flashcart out for the nintendo switch called a MiGSwitch which pairs a ESP32-S2 or S3 (can't recall) with the ICE40 to act as high speed glue logic.
However, I don't really think that it would really suit the S2/S3 as a good companion doing DSP-like work like fast mul or div repetitions, but the PicoDVI with an overclocked RP2040 has been the lowest cost solution I've seen so far to generating 720p output that cheap modern displays can deal with without going unhinged, losing color, or showing out of range errors.
Good luck with the project, and if I get a chance I'll play with microgpu myself.

Wow thanks for the info!  The P4 sounds incredibly useful for my GPU purposes indeed.  I see that the PSRAM is octal SPI like the S3 but I wonder what the actual SPI speed of that lane will be.  I know it's 80Mhz on the S3 and on a 800x480 display that I have it's definitely a bottleneck I have right now for frame buffer work.  I've almost thought about seeing how well splitting the frame buffer up into tiles would help with cache prefetching (though I haven't done anything to vet the viability of that yet).
So to manage a 1080p frame buffer we'd need faster than 80Mhz SPI RAM I think?  If my math is right (and it could not be, I just woke up) it would take ~52ms to retrieve a 1080p RGB565 frame buffer from PSRAM at 80Mhz (and in practice it would probably act like the S3 and only do the DMA transfer at 40Mhz to allow for some bandwidth for user code).
I'm pretty impressed with ESP's APIs thus far though so I am assuming they have some tricks up their sleeves to manage it.  I recently found asynchronous memory transfer capabilities they have, which can potentially speed up some of my sprite drawing code.

Anyway, since you expressed interest in looking into the FPGA space in that posting, I figured I'd point you at the ICE40 lineup of low cost FPGAs. There's a new flashcart out for the nintendo switch called a MiGSwitch which pairs a ESP32-S2 or S3 (can't recall) with the ICE40 to act as high speed glue logic.

I've had a notch in the back of my mind that my FPGA goals would benefit from an CPU + FPGA duo instead of trying to jam everything on the FPGA.  I currently have possession of a Nandland Go board (which I think is ICE40), a DE0-NANO and DE10-Lite (the latter two were donated by colleagues who bought them then realized they had no use case).
I've installed tools and started learning verilog, and spent some time with Nandgame to get familiar with digital logic.  Unfortunately, my time has been a bit consumed recently with these esp32-s3 all-in-one boards.  In theory these make amazing Microgpu boards because they are larger displays than SPI can feasibly use, and no custom pcbs required.  Just flash the firmware and connect your Logic MCU to it and go.
Unfortunately, I keep getting corrupted SPI into it even though SPI works perfectly well into my custom PCB and the dev board.  My lack of expertise in electronics and lack of free time due to kids has made it hard to make progress.  I"m going to give UART a shot though, since in theory the data going between the logic MCU and the MicroGPU is in the hundreds of bytes range, so the slower speed shouldn't be an issue assuming I can get it to be reliable.

However, I don't really think that it would really suit the S2/S3 as a good companion doing DSP-like work like fast mul or div repetitions, but the PicoDVI with an overclocked RP2040 has been the lowest cost solution I've seen so far to generating 720p output that cheap modern displays can deal with without going unhinged, losing color, or showing out of range errors.

Haha, I have 2 Pi Picos, one of them is the one with the DVI connector built into the PCB.  I started this project in that direction (and is one of the reasons I tried to make the core Microgpu firmware agnostic to support adding a Pico firmware in the future.  Unfortunately, the 265K of memory on the PICO makes it hard to do much, especially when talking about a display that needs to be constantly fed (like a normal RGB LCD display).
I have wondered if there's a more efficient way for me to store drawing commands so I can work on demand without a frame buffer more easily, but I haven't had time to thoroughly think that through.
Anyways, appreciate you stopping by!


Add uncurry function

const uncurry = (fn) => (...args) => args.reduce((left, right) => left(right), fn)
really simple and yet super-useful. I just ran into a problem where I couldn't use uncurryN, as it works differently than I thought. This one accepts one function and partially applies each argument to a function.

Do you have some example use cases this function solves?

I'm not talking about deprecating uncurryN. But I noticed that it doesn't work in my use case.
Example:
http://goo.gl/VwUDOv
const uncurry = (fn) => (...args) => args.reduce((left, right) => left(right), fn)

const arr = [{
  foo: {
    bar: 2
  }
},{
  foo: {
    bar: 1
  }
},{
  foo: {
    bar: 3
  }
},{
  foo: {
    bar: 3
  }
},{
  foo: {
    bar: 3
  }
}]

const equalsN = pathEq(['foo', 'bar'])
const filterBy = uncurry(compose(filter, equalsN))

filterBy(3, arr)
// [{"foo": {"bar": 3}}, {"foo": {"bar": 3}}, {"foo": {"bar": 3}}]

try replacing uncurry with uncurryN and see that it will not result into anything useable.

I find uncurry confusing here. I would simply write:
const filterBy = (n, xs) => R.filter(equalsN(n), xs);

If a point-free solution is desired, one could use R.useWith:
const filterBy = R.useWith(R.filter, [equalsN, R.identity]);

@buzzdecafe if you use ramdas curry to create the curried function const a3 = curry((a, b, c) => a + b + c)) then it works with (1)(2, 3). Not sure why though.


DuplicateAssociation is not (yet?) safe correctable.

Be clear, concise and precise in your description of the problem.
Open an issue with a descriptive title and a summary in grammatically correct,
complete sentences.
Use the template below when reporting bugs. Please, make sure that
you're running the latest stable RuboCop and that the problem you're reporting
hasn't been reported (and potentially fixed) already.
Before filing the ticket you should replace all text above the horizontal
rule with your own words.

Expected behavior
Remove the later copy.
Actual behavior
Removed the earlier copy.
Steps to reproduce the problem
Create duplicate associations in a model file and use it between them.
RuboCop version
1.66.1 (using Parser <IP_ADDRESS>, rubocop-ast 1.32.3, running on ruby 3.3.4) [arm64-darwin23]

rubocop-performance 1.18.0
rubocop-rails 2.19.1
rubocop-rspec 2.29.2

Can you provide code samples? There is not much to go on here.
Please also upgrade rubocop-rails first and check if the issue still occurs. It is more than one year out of date.

I'm going to close this issue, but feel free to reopen it with reproducible steps.

class Test < ApplicationRecord
  belongs_to :toast, optional: true
  alias taste toast
  belongs_to :toast, optional: true
end

Can not seem to reopen.

Please just remove the later one.


Support Extended Cron Expressions which include Seconds

Coverage increased (+0.5%) to 85.211% when pulling ef331459c2b11d1962895d92828136c02ea84e77 on feature/support_seconds into 7601d91446f557e55d132f8c29a7ff86bfb2b594 on master.

Coverage increased (+0.5%) to 85.211% when pulling ef331459c2b11d1962895d92828136c02ea84e77 on feature/support_seconds into 7601d91446f557e55d132f8c29a7ff86bfb2b594 on master.

Coverage increased (+0.5%) to 85.211% when pulling 951aca8af6423cefbe0c3131e91f754ef1117501 on feature/support_seconds into 7601d91446f557e55d132f8c29a7ff86bfb2b594 on master.


[AI-2416] Revert "Implement automatic exposition format detection (#14445)"

This reverts commit 7d8dc6d28ec16239b32b2549daa27ff9e4289cd8.
What does this PR do?

Motivation

Additional Notes

Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] PR title must be written as a CHANGELOG entry (see why)
[ ] Files changes must correspond to the primary purpose of the PR as described in the title (small unrelated changes should have their own PR)
[ ] PR must have changelog/ and integration/ labels attached
[ ] If the PR doesn't need to be tested during QA, please add a qa/skip-qa label.

Thanks! Closing the PR this we are not going to revert it because the issue the user saw is coming from their side as their payload do not match the header we receive


One concat space

Fixed in https://github.com/PrestaShop/ps_shoppingcart/pull/45/ thanks @MathiasReker


"Open with" in Windows 10: The plugin that registers to read this file type fails to read the content of this file

If I open an nupkg with double click. When starting NuGetPackageExplorer and then "open a local package", it works.

*** The plugin that registers to read this file type fails to read the content of this file. ***

We should at least log the message? I think it could a permission/security issue.
https://github.com/NuGetPackageExplorer/NuGetPackageExplorer/blob/4ba823deb94a360cc95bdf4775349d5bd65822f7/PackageViewModel/Commands/ViewContentCommand.cs#L101
it should be:

tested with 3.9 and 3.10 RC2

Can't reproduce in 3.11. Close for now.

Hello.
I have the same problem with Windows 10 and Nuget Package Explorer 3.13.

*** The plugin that registers to read this file type fails to read the content of this file. ***

System.ArgumentNullException: Value cannot be null.
Parameter name: source
at System.Linq.OrderedEnumerable`2..ctor(IEnumerable`1 source, Func`2 keySelector, IComparer`1 comparer, Boolean descending)
at PackageExplorer.AssemblyFileViewer.GetView(String extension, Stream stream)
at PackageExplorerViewModel.ViewContentCommand.ShowFile(PackageFile file)

Hi!
Which file do you like to read (.dll etc)? Can you post a screenshot?
Thanks!

Problem appears for .dll and .exe files, here is a screenshot:

.xml and .config files do not have this problem.
Issue appears only when I open an nupkg with double click. When starting NuGetPackageExplorer and then "open a local package", it works fine.

Thanks! I will check this in the source code

I checked the source code. Something goes wrong when reading the file. I added a nullref check for the exception in the master, but that won't resolve your case.
I have no issues when reading the package (so it's not package related), but I know this can be an issue.

I had also this problem, and I think it's a ClickOnce/registry  issue. Did you have installed a previous version before?
After a registry cleanup with CCleaner (beware not to install the toolbar!), https://www.piriform.com/ccleaner/builds, it was solved. Can you test that?

I'm thinking to include NLog in this project, although that also won't work well with ClickOnce I guess

Hello again.

Did you have installed a previous version before?

No.

After a registry cleanup with CCleaner (beware not to install the toolbar!), https://www.piriform.com/ccleaner/builds, it was solved. Can you test that?

That didn't help:

I still can reproduce this issue.

closed by #196


Fix i18n plugin is optional

Since the plugin @strapi/plugin-i18n is an optional package that is not required by Strapi website (as mine) so it will cause an error like this even if locale parameter is not passed
strapi-api       | [2022-06-01 04:27:35.125] error: Cannot read properties of undefined (reading 'services')
strapi-api       | TypeError: Cannot read properties of undefined (reading 'services')
strapi-api       |     at validateQuery (/app/node_modules/strapi-plugin-fuzzy-search/server/utils/validateQuery.js:4:60)
strapi-api       |     at /app/node_modules/strapi-plugin-fuzzy-search/server/services/fuzzySearchService.js:14:15
strapi-api       |     at Array.map (<anonymous>)
strapi-api       |     at Object.getResults (/app/node_modules/strapi-plugin-fuzzy-search/server/services/fuzzySearchService.js:13:20)
strapi-api       |     at Object.search (/app/node_modules/strapi-plugin-fuzzy-search/server/controllers/search-controller.js:14:7)
strapi-api       |     at dispatch (/app/node_modules/koa-compose/index.js:42:32)
strapi-api       |     at returnBodyMiddleware (/app/node_modules/@strapi/strapi/lib/services/server/compose-endpoint.js:52:24)

This PR to fix this error.

Hey @nhvu1988 nice catch!
Thank you so much for the PR and the fix.
@all-contributors please add @nhvu1988 for code


typo fix

typo fix in Repository.java readme

Codecov Report

Merging #1519 (5c9a77c) into master (bb5073f) will decrease coverage by 1.29%.
The diff coverage is 50.76%.

@@             Coverage Diff              @@
##             master    #1519      +/-   ##
============================================
- Coverage     72.08%   70.79%   -1.30%
- Complexity     5126     5326     +200
============================================
  Files           473      493      +20
  Lines         21970    23275    +1305
  Branches       2351     2548     +197
============================================
+ Hits          15838    16477     +639
- Misses         4925     5519     +594
- Partials       1207     1279      +72

Impacted Files
Coverage Δ

api/src/main/java/ai/djl/modality/cv/Image.java
69.23% <ø> (-4.11%)
:arrow_down:

...i/djl/modality/cv/translator/BigGANTranslator.java
21.42% <ø> (-5.24%)
:arrow_down:

...odality/cv/translator/BigGANTranslatorFactory.java
33.33% <0.00%> (+8.33%)
:arrow_up:

...nslator/InstanceSegmentationTranslatorFactory.java
14.28% <0.00%> (-3.90%)
:arrow_down:

.../modality/cv/translator/YoloTranslatorFactory.java
8.33% <0.00%> (-1.67%)
:arrow_down:

...i/djl/modality/cv/translator/YoloV5Translator.java
5.69% <0.00%> (ø)

...odality/cv/translator/YoloV5TranslatorFactory.java
8.33% <0.00%> (-1.67%)
:arrow_down:

...pi/src/main/java/ai/djl/ndarray/BytesSupplier.java
54.54% <0.00%> (-12.13%)
:arrow_down:

...pi/src/main/java/ai/djl/repository/Repository.java
83.33% <ø> (ø)

...l/training/loss/SigmoidBinaryCrossEntropyLoss.java
64.00% <0.00%> (ø)

... and 184 more

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 14fd3be...5c9a77c. Read the comment docs.


[Feature Request] ideas for improving plot rendering and Python Interactive tab per se

vscode: 1.30.2
python extension:  2018.21.1

Under the current version, if a user opens a new window with Ctrl+K O and then Run Cell in the new window. A new Python Interactive (kernel) tab will be opened aside in the window.
Separate the code editor and the python interactive tab into two windows. This will enable the users to use different aspect ratios of the two windows and make the usage of the screen more efficient. For example, if one has a two-screen setup, put the code editor in the horizontal screen and python interactive window in the vertical one. Btw, I saw some discussion here  and wonder if this is too hard to achieve now.

Fix the colorization issue to increase readability of the outputs.

Large plots will be automatically fitted on your screen and fully toggle it when you double click it, like Jupyter lab.

ability to adjust the Markdown text font size

Related to this thread, I see that there has been an update to use the matplotlib 'dark_background' theme whenever the editor is in a dark theme mode for plots in the output window.
Is there a way to change this behavior by default in VS Code?
It's fine to look at plots with the dark background in the interactive window, but it's annoying having to re-generate all of the theme settings every time I want to save a plot with a white background.
Using matplotlib canned styles doesn't seem to help either (at least with the backgrounds and font colors; see screen shot, below).
That is, can we customize whether or not this extension defaults to the dark background theme when we have a general dark theme in Code? I'd like to keep my plots with a white background/black font without having to piecemeal set parameters.

Well technically we fixed a bug that made this 'work' for the first time on all themes recently. This is how we intended it to always work.
This is a tough problem though. We'd need to generate the plots twice for each. One that's visible on the interactive window and one for export.
@dstanner, When you say 'save a plot with a white background' how are you saving it? Are you talking about export, or are you copying it to the clipboard?

Whoops.  Forgot to attach screenshot above.
Below is the example with code.

I'm using savefig().

This is more specific than export. Can you enter a feature request/new issue? Just include your picture above.
This issue that Steven has entered is more generic. I think your needs could be met sooner if we split it out.

sounds good! Thanks!

@rchiodo So in the python interactive window, the plot will rescale if I change the size of it as those gifs above shows. However, sometimes some packages may print out a long warning message and a scroll bar will apply at the bottom so that the plot no long auto rescale itself. Is there any solution for this issue right now?

I believe this is a dupe of #4224.
MaxOutputSize is for the vertical size. We have no way to control the horizontal width at the moment.

I think what you're really asking for is a way to dynamically size plots no matter what else is on the screen?

@rchiodo It is amazing how many works you guys have done to make everything mentioned in this issue happen. The only remaining issue is this horizontal width and seems like you've got it here
https://github.com/microsoft/vscode-python/issues/5734


Issue with RemoveChirrtl smem

Type of issue: bug report
If the current behavior is a bug, please provide the steps to reproduce the problem:

If possible, please directly provide the FIRRTL file or a relevant fragment if the file is large
These two Chisel statements:
outBundle:= mem.read(currentItem)
outBundle := mem.read(Mux(currentItem =/= RegNext(currentItem), currentItem, currentItem))

And corresponding CHIRRTL:
read mport _T_428 = mem[currentItem], clock
node _T_408 = neq(currentItem, _T_407) node _T_409 = mux(_T_408, currentItem, currentItem) read mport _T_410 = mem[_T_409], clock
Do not result in the same emitted Verilog. In fact, the first leads to an issue where the memory read is enabled only when currentItem changes. However, since there is a one-cycle delay for this mem, this means that the read will only update after the next address is given, not one cycle later!
By adding in the unnecessary Mux, the correct behaviour emerges, which leads me to suspect that it might have to do with optimisation of the read, but looking at the RemoveChirrtl transform, I am unable to find the cause.

Please tell us about your environment:
a6

What is the use case for changing the behavior?
Circuits working like the documentation suggests
Impact: API modification
Development Phase: request
Other information
#702 #727 both include similar things, although 702 appears to be dealing with the clock rather than the enable. This would hopefully be fixed by 727, although it is important to ensure this bug does not remain in the transition.
I can provide the full chisel/firrtl/verilog to people within BAR if need be, as well as the full trace of the firrtl run. It is quite large (392 MB), but the important part is before and after the RemoveChirrtl transform.

Issue appears to be with using a register as the address, adding in a temporary wire fixes it as well.

Adam's plan: Insert a temporary wire between register and address

Closed and absorbed into #727


Add kubectl create for missing workloads

Add new kubectl create commands for missing workloads.  Flags for fields shared between all workloads - e.g. image (and everything else in Pod or PodTemplate) should be factored into a single library.  Flags for field shared between many workloads should be factored into another library - e.g. replicas.

create statefulset
create daemonset
create replicaset
create pod

@pwittrock @alexandercampbell seems intersting with this. Can I have a go at this?

/unassign
/assign @zjj2wry
Sure, go for it.

Good to see it :) :+1:

@pwittrock and others I'm working on statefulset. Already submitted a PR #51944. PTAL.

@pwittrock and others I'm working on replicaset. Already submitted a PR #51946. PTAL.

This is still relevant, right? Please close this PR again if it is no longer relevant.
/remove-lifecycle rotten
/assign

/reopen

/unassign

/sig cli
/area kubectl

@pwittrock This work has been completed--right?

This is still not possible with kubectl v1.13.1, right?

interested doing for it

/remove-lifecycle stale

/remove-lifecycle stale


Error: grecaptcha is not defined

Hello, First thanks for this great package.
and second sorry for my english
I have this issue:
When I try to singup with a already register email i got
ReferenceError: grecaptcha is not defined

no matter if option showReCaptcha: false,
thanks for your attention.

I made a
$ meteor update

and problem solved

Related #599


Bug in scalar addition

Some scalars add to the wrong number (see https://github.com/webwarrior-ws/secp256k1-zkp/commit/1c27f7096ca3eb2413e7ed2ca040c076e567e747).
Numbers in that commit were cross-checked using Wolfram Alpha, Python and Pharo.
So I assume there is either a bug in addition or in byte array representation of scalars.

Your test also fails if you try it against the latest version of bitcoin-core's secp lib https://github.com/bitcoin-core/secp256k1. All of our core scalar code is derived from versions of that (and not anything we would have ever modified ourselves). If there is a provable issue, you definitely want to focus efforts there as opposed to our fork.

Apparently scalars use different order than field characteristic, so there's no bug.
https://github.com/bitcoin-core/secp256k1/issues/1180


Intelligent caching of yfinance results not implemented

This would be a feature request.  But in reality it is not.  For the very future viability of this project, the amount of requests hammering yahoo which especially for parsing web data is not officially allowed, should be minimized.
The easiest thing is to add a new module e.g. TickerCache, which checks for a file <TickerName>.data.csv that contains all information about the stock (info, financials, balance sheet, cashflow, sustainability, history, options).  This way the whole history need not be refatched but only from the end of the history in the file to current time.  The time can be used to decide if 3 months has elapsed on the quarterly or a year for yearly financial data before re-retrieving those.  The details of market trading hours can also be used for even fetching day-to-day history.
I will submit a PR with a good amount of the propose code.
A major reason I requested timezone support was to deal with all the mechanics of this.  I already have it implemented in my projects.  It should be a de facto standard for this tool.  Anyone doing serious work with this likely requires it as well.

I don't think the caching should be handled by the library as this will turn it from a library into an app. It should be a good idea to maybe create new wrapper library that handles the caching... Maybe call it yfinance_cache 😄

Indeed that is one solution - you are right it is more of an "app" but nonetheless I think if the library is causing excessive traffic to yahoo due to laziness such they might start changing or protecting things, it would be better if the app was just bundled as an extra class here since people might not find the cache plugin.

import requests_cache
requests_cache.install_cache(cache_name=".cache", backend='sqlite')

can do the cache job

perfect timing. thanks for the share, @jamespan :1st_place_medal:

I get Json decoder error when trying to use cache:
Invalid JSON body:
Traceback (most recent call last):
  File "C:\Users\lee\Anaconda3\lib\site-packages\requests_cache\cache_keys.py", line 165, in normalize_json_body
    body = json.loads(decode(original_body))
  File "C:\Users\lee\Anaconda3\lib\json\__init__.py", line 348, in loads
    return _default_decoder.decode(s)
  File "C:\Users\lee\Anaconda3\lib\json\decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "C:\Users\lee\Anaconda3\lib\json\decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

using this code:

tickers = yf.Tickers(" ".join(current_stocks))  #my list of stocks
analysis = pd.DataFrame()
requests_cache.install_cache(cache_name=".cache", backend='sqlite')

for key, to in tickers.tickers.items():
    print("Fetching analysis on {}".format(key))
    an = to.analysis
    if an is not None:
        an["symbol"]=key
        analysis = analysis.append(an)


Add charts and helm repository to deploy sensity-api

Closes https://github.com/sensity-ai/detection-api/issues/1714
Adds:

sensity-api chart with a subchart per service that can be enabled or
disabled depending on what the client needs

every subchart is composed by a kubernetes service, ingress rules, a secret to
read the license and a deployment where the service runs

values file that can be customized by the needs of the client

all the subcharts uses the same deployment, except id-document-reader which is
composed by the webapi as a sidecar to be deployed under the same pod

ingress rules are configured by the path but can be customised by the client

workflow to create a Helm chart repository in GitHub pages

Deployed with Helm and works smoothly. I will add how to set up a proxy with nginx so we have it documented and the clients also have an example.


cannot connect to cluster in arc via azure cloud shell and az connectedk8s

https://docs.microsoft.com/en-us/azure/azure-arc/kubernetes/cluster-connect?tabs=azure-cli#service-account-token-authentication-option
from the above link:
I cannot connect to azure arc enabled eks cluster.
here is my cloud shell logs:
john@Azure:~/.kube$ az connectedk8s proxy -n Arc-EKS-Demo -g Arc-EKS-Demo --token eyJhbGciOiJSUzI1NiIsImtpZCI6Ilp4Wmp2TUpXczVnN0k2TWc1ZXFMRW0yZHViN3dtNjhaaFdadWRMSWxnalkifQ.eyJpc3MiOiJrdWJlcm5ldGVzL3NlcnZpY2VhY2NvdW50Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9uYW1lc3BhY2UiOiJkZWZhdWx0Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9zZWNyZXQubmFtZSI6ImRlbW8tdXNlci1zZWNyZXQiLCJrdWJlcm5ldGVzLmlvL3NlcnZpY2VhY2NvdW50L3NlcnZpY2UtYWNjb3VudC5uYW1lIjoiZGVtby11c2VyIiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9zZXJ2aWNlLWFjY291bnQudWlkIjoiYzg5NGY1MTYtMDRjNS00MzY2LTk5ZjYtNGFiMjcwNTYyYmRjIiwic3ViIjoic3lzdGVtOnNlcnZpY2VhY2NvdW50OmRlZmF1bHQ6ZGVtby11c2VyIn0.nj-L4-HfheIB_BIptr_kIsRorv_PPy1cGdnmn_eLvFRpAhQuVxMVh66gCxrEISkLNg3Vjh2LkFpBTZwUuMA9U0PcrKoYdcMqi1FntxQFG6sepO2QA2mx5Tuo8WjPHGxP8XKgq-CCI0dlDpQte00gTIy9wkp3O6YypOBgsxlgc7EcQqE6FoJe9KSTqrvN5CzSpI7_RgP29r9h92PqYgj7-srTYy1A0u3trPhQRqUdSTRyJHRk19gFQ8os7byj4QX1hB6h_vNXjU7V5-330liY8933RCSNfRUsGfiOMB975LFZ4DhlXRYcEAZZ1F9iwUxsCWXJntObmp_XVlfs11_13g
Proxy is listening on port 47011
Merged "Arc-EKS-Demo" as current context in /home/john/.kube/config
Start sending kubectl requests on 'Arc-EKS-Demo' context using kubeconfig at /home/john/.kube/config
Press Ctrl+C to close proxy.
when I type in kubectl cmds nothing happens.  When I press Ctrl+Delete, then run kubectl commands, I get:
The connection to the server <IP_ADDRESS>:47011 was refused - did you specify the right host or port?
I've created an azure service principal, and tried using the command after logging in as the sp.
I've also created service account token.  both produce the same result.
NOTE that the service account token DOES work in the portal to view the arc enabled information.

@jwaltireland this does not look like the Jumpstart scenario since we do not have proxy implementation in it.

@jwaltireland : I quickly tested this scenario and was able to run the kubectl commands by opening parallel Azure Cloud Shell.

@jwaltireland : I quickly tested this scenario and was able to run the kubectl commands by opening parallel Azure Cloud Shell.

Ah.  so you have to leave the connectedkk8s proxy command open.
Thanks for the update


Upgrade MeshSync to go1.23

Current Behavior

Desired Behavior

Contributor Resources
The meshery.io website uses Jekyll and GitHub Pages. Site content is found under the master branch.

See the Contributing to Meshery.io Website section of the readme.md and other contributing instructions, too.
See Meshery site designs in Figma (open invite).
Fill-in a Community Member Form and join the Community Slack for access.

Here we are, @devhindo


[CDS-85383] Documentation for Expression resolution of deployments

Harness Developer Pull Request
Thanks for helping us make the Developer Hub better. The PR will be looked at
by the CODEOWNERS.
What Type of PR is This?

[ ] Issue
[x] Feature
[ ] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

CDS-85383: Documentation for Expression resolution of deployments

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[x] Tested Locally
[ ] Optional Screen Shoot.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://65607cf280af0605a3e3fba4--harness-developer.netlify.app

We cannot leave this PR open any longer. I'm closing it. PM has sent the customer a document through other channels. Whenever we have something for Tech Docs to publish to HDH, we can create a new PR.


Can you clarify what "These classic IaaS resources are supported during migration" means?

Hello, is the Resources listed in this URL will run during the migration process without disconnection?
The Title does not match slightly.
Does this meant for the IaaS resources that able to migration?
Supported resources for migration
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/migration-classic-resource-manager-overview#supported-resources-for-migration
These classic IaaS resources are supported during migration

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

ID: 3e6639a0-0876-89a9-1ad3-7bc0c6525b1f
Version Independent ID: 2550fb37-013b-6a77-a5b2-e407190ed236
Content: Migrate classic resources to Azure Resource Manager - Overview
Content Source: articles/virtual-machines/windows/migration-classic-resource-manager-overview.md
Service: virtual-machines-windows
GitHub Login: @singhkays
Microsoft Alias: kasing

@KeiroKamioka0000 Thanks for your feedback. We are checking on this and will respond to you soon.

@singhkays Can you please look into this issue and update the document as required.

@KeiroKamioka0000 Correct. Those are the list of resources you can migrate as opposed to these https://docs.microsoft.com/en-us/azure/virtual-machines/windows/migration-classic-resource-manager-overview#unsupported-features-and-configurations that you cannot migrate

@singhkays Thanks for your response.

@KeiroKamioka0000 I am closing this issue for now. Mention my name in the comment if you need any other information on this, we can reopen the issue if required and can continue.

@KeiroKamioka0000 I am closing this issue for now. Mention my name in the comment if you need any other information on this, we can reopen the issue if required and can continue.


The accessibility section of the book does not explain many of the offered features.

In the accessibility book keyboard shortcuts, keyboard navigation, Keyboard alternatives to pointer actions and IME support are not explained and only given passing mentions.

I'll try to elaborate more in the coming few weeks

thanks for all the work you do on this project.


Improve testing (and add tests for client.Attest)

This PR implements multiple testing fixes:

Only uses PCRs 16 and 23 (to avoid breaking real systems)
Change client.GetEventLog to take the TPM as an argument (allowing the TPM to override the implementation)
Add tests for client.Attest

@jkl73 I confirmed that running the tests against a real TPM only changed PCR 16, and kept the TPM in a usable state.


route ignoring

Consider a situation where we log every time for a certain route,
and we're not interested in seeing the request completed for this route
(in particularly I'm thinking about transmitting logs from the browser to the server,
say to a /logs route)
I'd like to be able to do
var pinoHttp = require('pino-http')({ignore: ['/logs']})

and maybe even
var pinoHttp = require('pino-http')({ignore: [{method: 'POST', url: '/logs'}]})

It would also be good to be able to do
var pinoHttp = require('pino-http')
pinoHttp.ignore('/logs') // or pinoHttp.ignore({method: 'POST', url: '/logs'}]})

This wouldn't remove the req.log method, it would just avoid emitting the "request completed" log for a route

I do not think it's a great idea. We would need to a router, and then parametric routes, and then wildcards, and then this would become very slow. Let's log everything.

another approach... if we could dynamically swap out the req serializer the log message from the browser could be injected into the req object instead on request completed to a /logs endpoint


streamz integration

I assume you're referring to this: https://streamz.readthedocs.io/
What I'm wanting to do is have a WebSocket in Python that connects to a server, and then the server continuously sends metrics to dsio, and dsio sends back any anomalies it finds via the WebSocket.

Yes, that's the project we are referring to. With regards to web sockets would you connect directly, or via Kafka? Do you have a reason to not want a queue in your stack? We're interested!

Yeah, I would be connecting directly. We don't want/need the overhead of managing Kafka just for message queuing, we already have an orchestrator node that maintains information about the behavior of our system, and that we want to connect to the dsio library to learn the behavior of our system by feeding it data points, and then notify our orchestrator re: outliers so we can take the appropriate action(s).


Settings modal for roles blocks/hides roles list

Opening the roles menu under server settings blocks off the roles list.

Pretty much fixed, there's still the "Manage Members" tab to do but I cannot be bothered with that at the moment.
Discord for some unknown reason uses two different components for the exact same thing.

Thank you so much for the fix! And yes, its ok. I really don't mind the aesthetic bug, it was just this functionality block which you have fixed graciously.

Huh, yours is still kinda broken. Mind sending me your .theme.css file?

Oh don't worry that's probably due to my slate modal theme plugin added on top of this. Now that you mention it, i was wondering if the modal view box you've set in your theme could be bigger by default? It's kind of the reason I've added this over your theme.

Ahhhh okay.

Here they are: https://github.com/DiscordStyles/Slate/wiki/Hidden-Variables#settings-modal-variables
--settings-min-height: 450px;
--settings-max-height: 650px;
--settings-min-width: 960px;
--settings-max-width: 960px;

Thanks! That fixes my minor scuffle as well


Windows binary

Dear Christopher,
Could you be so kind to generate .exe for the rest of us who use Windows w/o Node?
I’m told that either Nexe or EnclosureJS might help you to achieve that.

Is there anything I could do to expedite a resolution of this issue?

Six months passed. Err… Hello?


Add additional note for GMSA

Please add a note that you must check use a different account for exchange to use GMSA in the next screen.
If you do not you will receive the error The service account shouldn't be managed.

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

ID: 075343f5-fb83-36e7-2b3f-667aed1bda45
Version Independent ID: a0962eb3-fa18-f808-818d-1d76c803045a
Content: Install Microsoft Identity Manager Service and Portal
Content Source: MIMDocs/install-mim-service-portal.md
Product: microsoft-identity-manager
GitHub Login: @EugeneSergeev
Microsoft Alias: esergeev

already mentioned in step #7: "MIM 2016 SP2 and later: if you are using Group Managed Service Accounts, you must check Use different user for Exchange checkbox even if you do not plan to use Exchange."

not sure how I missed that one.


Create pennylane.md

Proposed changes

add documentation for using Pennylane on Lumi
here is a link to the preview page.

Checklist before requesting a review

[x] I have followed the instructions in the Contributing and Styleguide documents.
[x] My pull request passes all tests.
[x] I have included a link to the appropriate preview page (select your branch from the list).

Nice! Just a quick comment, the example batch script is claimed to reserve one GPU and two CPU cores. However, I can see only one being requested? Or does this imply virtual cores (i.e. multi-threading)? Maybe clarify still that?


Version 2.11.0

Codecov Report
Patch coverage has no change and project coverage change: +1.59% :tada:

Comparison is base (5aca3bb) 88.28% compared to head (ca01f74) 89.88%.

Additional details and impacted files
@@             Coverage Diff              @@
##               main     #811      +/-   ##
============================================
+ Coverage     88.28%   89.88%   +1.59%
============================================
  Files           155       82      -73
  Lines         17882    14716    -3166
  Branches        862        0     -862
============================================
- Hits          15788    13227    -2561
+ Misses         1860     1489     -371
+ Partials        234        0     -234

Flag
Coverage Δ

uitests
?

uitests-android
?

uitests-ios
?

unittests
89.88% <ø> (+2.94%)
:arrow_up:

unittests-android
?

unittests-ios
?

unittests-rust
89.88% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
see 73 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


[Discussion] getstorybook.io

I am aware of the contributors have tried to change the karma becomes jest aka super jasmine.
thank you very much for this. Unit testing is becoming more efficient, with a jest, and enzime mount.
What do you think if one day we are adding interactive testing  features like getstorybook.io.
I think it would be fun and not boring when creating a testing scenario
if there is a user here who are experienced in using getstorybook, asked to share what you have done and how the results so far

I don't think we'll add storybook by default as the integration is very quick and not everybody needs it. Thusly, the value of us adding it by default isn't very high and will annoy more people than it'll please.
Thanks for contributing!

Just wrote a blog post about this topic.
<EMAIL_ADDRESS>


Custom models

Describe the feature you'd like to request
I have a Whisper model which I've fine-tuned.
How can I use it with Wordcab?
Describe the solution you'd like
A method to specify a custom model.

I think WAAS is unfortunately not being developed anymore.

We are maintaining the project but do not have resources to develop new features pr. now.
But we are happy to review pr's for enhancing Waas🫶

We are maintaining the project but do not have resources to develop new features pr. now. But we are happy to review pr's for enhancing Waas🫶

Ahh, thanks for the update and sorry for assuming!

We have this as a goal, but right now we don't have the resources for this. We have started working on splitting up the backend and frontend in the PR here: https://github.com/schibsted/WAAS/pull/215 We want to do that so we can select different backends based on the models we want to use.

If you have a Mac you could use the Jojo Mac app, it has support for NB whisper https://apps.apple.com/no/app/jojo-transcribe/id1659864300


WIP: Create Jenkins Pipeline Part 1 - CIBuild

Create a Jenkinsfile that uses a cibuild.sh script to automatically build docker images.

Nice. Jenkins is happy with it as well. 👍


How to change font size?

Hey,
I had previously edited some setting for EVND whereby I had increased the font size of body text (for both the Preview pane, and what's rendered to Evernote).
Unfortunately after the last update, the setting seems to be gone, and now I can't remember how I did it. It wasn't that intuitive to me last time, because I had to spend quite some time to find the proper setting.

Seems like the solution is to navigate to /Users/niklas/.atom/packages/ever-notedown/assets and find the CSS file for the theme you are using. Mine is called custom1/style.css.
I then edited font-size: 20px; and other font-related things, saved and restarted Atom.

Just for reference, you can edit your custom theme by going (from the Atom menu bar) "Packages --> Ever Notedown --> Settings --> Themes (markdown -> HTML rendering)", then you can choose to edit custom1/style.css or custom2/style.css. After that you'll need to choose either Custom 1 or Custom 2 from the package settings page. And yeah I'd recommend backing up the css file after you have modified it and got something you like.


add bmpstr support

tested on node v0.10.40 and v5.1.0

I'm also saw bmpstr implementation in #47, it uses ucs2 (utf16le), but bmpstr should use utf16be (like here), am I right?

@fleg do you have any use case for this? Perhaps some DER encoded data that could be included in a test?

Few nits, otherwise LGTM. Thank  you!

fixed

I have this cert
Almost all strings in issuer filed have bmpstr encoding, it also has unsupported numstr and printstr strings.

Thank you! Landed and released in 4.1.0.


Not working with mt7612u on kernel 4.19

./hcxdumptool -i wlx00c0ca95876c
initialization...
failed to save current interface mode: Operation not supported
failed to init socket

Thanks for reporting that. Now, the driver bug arrived in 4.19.

Yesterday, I made an update on device wiki and README.me.
Due to several driver issues, many devices are not working any longer. The issues are still present in 5.1
And this one
https://bugzilla.kernel.org/show_bug.cgi?id=202541
affects all of them.

That's unfortunate given that 4.19 introduces mt7612u...

Please test the driver running this commands:
$ hcxdumptool -I wlx00c0ca95876c
$ hcxdumptool -i wlx00c0ca95876c -c --ignore_warning
$ hcxdumptool -i wlx00c0ca95876c --enable_status=1 --ignore_warning
Maybe we can find out, which driver issue exactly caused it.
The xhci bug is a really ugly one and still unfixed - all ALFAs are affected!

BTW:
AWUS036ACM seen in linux-5.0.8/drivers/net/wireless/mediatek/mt76/mt76x2/usb.c:
static const struct usb_device_id mt76x2u_device_table[] = {
{ USB_DEVICE(0x0e8d, 0x7612) }, /* Alfa AWUS036ACM /
{ USB_DEVICE(0x0b05, 0x1833) },/ Asus USB-AC54 /
{ USB_DEVICE(0x0b05, 0x17eb) },/ Asus USB-AC55 /
{ USB_DEVICE(0x0b05, 0x180b) },/ Asus USB-N53 B1 /
{ USB_DEVICE(0x0e8d, 0x7612) },/ Aukey USB-AC1200 /
{ USB_DEVICE(0x057c, 0x8503) },	/ Avm FRITZ!WLAN AC860 /
{ USB_DEVICE(0x7392, 0xb711) },/ Edimax EW 7722 UAC /
{ USB_DEVICE(0x0846, 0x9053) },/ Netgear A6210 /
{ USB_DEVICE(0x045e, 0x02e6) },/ XBox One Wireless Adapter */
{ },
};
but unfortunately not in linux-4.19.35/drivers/net/wireless/mediatek/mt76/mt76x2_usb.c:
static const struct usb_device_id mt76x2u_device_table[] = {
{ USB_DEVICE(0x0b05, 0x1833) },/* Asus USB-AC54 /
{ USB_DEVICE(0x0b05, 0x17eb) },/ Asus USB-AC55 /
{ USB_DEVICE(0x0b05, 0x180b) },/ Asus USB-N53 B1 /
{ USB_DEVICE(0x0e8d, 0x7612) },/ Aukey USB-AC1200 /
{ USB_DEVICE(0x057c, 0x8503) },	/ Avm FRITZ!WLAN AC860 /
{ USB_DEVICE(0x7392, 0xb711) },/ Edimax EW 7722 UAC /
{ USB_DEVICE(0x0846, 0x9053) },/ Netgear A6210 /
{ USB_DEVICE(0x045e, 0x02e6) },/ XBox One Wireless Adapter */
{ },
};

Eh no that’s incorrect. The ID is the same as the Aukey. My ALFA works fine in 4.19

Ok, see it. WIll send Stanislaw a notice about that double entry.
Thanks
Cheers
Mike

unfortunately the issue is still present on kernel 5.1.2
https://bugzilla.kernel.org/show_bug.cgi?id=202541#c23
Additionally non of my rt2800usb devices is working any longer.

That's seriously unfortunate given that mt7612u support was added in 4.19.

Is rt2800usb on 4.19 also affected?

The issue is related to the xhci system and affects all connected devices (irrespective of the driver)
$ hcxdumptool -I
wlan interfaces:
00c0ca367a0d wlp3s0f0u10u2 (rt2800usb)
ALFA AWUSH036NH
ID 148f:3070 Ralink Technology, Corp. RT2870/RT3070 Wireless Adapter
$ sudo hcxdumptool -i wlp3s0f0u10u2 --enable_status=1
initialization...
start capturing (stop with ctrl+c)
INTERFACE................: wlp3s0f0u10u2
ERRORMAX.................: 100 errors
FILTERLIST...............: 0 entries
MAC CLIENT...............: dc7014bd61f7
MAC ACCESS POINT.........: 00238c314a88 (incremented on every new client)
EAPOL TIMEOUT............: 150000
REPLAYCOUNT..............: 62111
ANONCE...................: 641329e38d27618344e7dadbbd54fea1b9963876543e70a9d85f65c2067b2f6a
INFO: cha=6, rx=0, rx(dropped)=0, tx=20, powned=0, err=0^C
terminated...
$ dmesg
[  855.923953] xhci_hcd 0000:03:00.0: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.
and the issue still exists in
$ uname -r
5.1.4-arch1-1-ARCH

$ uname -r
5.1.5-arch1-2-ARCH
and no fix:
[19881.339443] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 5390, rev 0502 detected
[19882.017891] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 5370 detected
[19882.039403] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[19882.039932] usbcore: registered new interface driver rt2800usb
[20001.915937] ieee80211 phy0: rt2x00lib_request_firmware: Info - Loading firmware file 'rt2870.bin'
[20001.921788] ieee80211 phy0: rt2x00lib_request_firmware: Info - Firmware detected - version: 0.36
[20069.638944] xhci_hcd 0000:03:00.0: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.
Most of the WiFi dongles are still useless!

tested mainline kernel 5.2, still no fix:
https://bugzilla.kernel.org/show_bug.cgi?id=202541#c38
but we get a funny new error message:
[77.562305] ieee80211 phy1: rt2800_wait_csr_ready: Error - Unstable hardware
Tested device is an ALFA AWUS 036NH

Pushed another update.
Now hcxdumptool has a new option --check_driver.
If everything is ok, result should be something like this:
$ sudo hcxdumptool -i wlp3s0f0u10u4 --check_driver
driver tests passed - all required ioctl() system calls are supported by driver
If an error ocured, hcxdumptool will inform you about possible unsupported/not working driver system calls.

The mt7612u support (mt76 driver) should be arrived in kernel >= 5.1:
https://wikidevi.com/wiki/Mt76
https://github.com/raspberrypi/linux/issues/3014


Linux - Rebooting - Causes error in JavaScript

This error is displayed in the browser's console when I try to reboot the Linux distro.

Official COPY.SH web for ArchLinux is returning this error.

i think its meant to send restart but sends reset which doesnt exist

i think its meant to send restart but sends reset which doesnt exist

I do not call restart method in my code. It is inside the V86.js script.


2560: recompute router vcaps on CalculateVcapJob

Context
Bug: We also need to update router vcaps when processing  Allocation jobs!
Changes proposed in this pull request
Guidance to review

 Allocation update not sending vcap router cap_updates


Remove Logger.mongo_process_id

Changelog Description
Remove Logger.mongo_process_id
Additional info
Was once used a long time ago in ftrack services back in OpenPype era?
Testing notes:

Logger should work
Addons should still work (esp. ftrack)

Was once used a long time ago in ftrack services back in OpenPype era?

Yes, Logger did store logs to mongo, and because ftrack does create subprocess this helped to store it under same process (and see in logs viewer the same in console).


Also support ToPrimitive

Hi!
I think adding ToPrimitive implementations would be a great benefit. Very often I need to convert to and from an enum with primitives. Do you think you can also add this implementation? Otherwise right now I can use your macro but then need to go implement ToPrimitive on my own :)
I'm new to rust and macro programming, so I don't know if I can pull it off easily. Let me know what you think!

I have the same problem - I'm also not sure what to do. I think this should definitely be supported. I'll see if I can figure out a PR.


Scala API

This adds a SBT project under bindings that provides a Scala API around JNR-FFI based bindings to the Omega Edit library.
Adds

Covers major concepts within Omega Edit API
Linux and MacOS builds
Git describe versioning on artifacts
Native bindings with JNR-FFI
Native shared library delivered via jar and unpacked at runtime
GitHub Actions CI to test and verify the local publishing
Cross build for Scala 2.12 and 2.13
Headers enforced with sbt-header
Code quality enforced withsbt-tpolecat plugin

Installation
Note there are no public artifacts published at this time, the installation from source tree below is the suggested method for installation.
Artifacts will be available from public repositories in a future revision of this library.
Artifacts use Maven rather than Ivy to better support the use of the classifier to identify the native platform.
install from source tree
Running sbt +install from the root directory of this project will install the artifacts into the local Maven cache.
To use these artifacts from SBT you must add the M2 local resolver:
resolvers += Resolver.mavenLocal
sbt dependency
Artifacts are being built for Scala 2.12 and 2.13.
The native binaries are delivered via artifacts that use a classifier to indicate the platform they target.
There is no explicit dependency from the api to the native library, so that dependency must be specified by the client.
val omegaEditVersion = "0.7.0-58-gbcb712d"
libraryDependencies ++= Seq(
    "com.ctc" %% s"omega-edit" % omegaEditVersion,
    "com.ctc" %% s"omega-edit-native" % omegaEditVersion classifier linux-64
)

The classifier controls identifies the platform binaries to match the runtime.
Platform identifiers are as follows

linux-{32|64}
osx-{32|64}
windows-{32|64}

todo
This gets the API to a point where you can build Omega and publish the bindings locally for development.  Artifact publishing to public sources will be addressed in a follow-up PR.
Windows build can also be added once the core library build for Windows is fixed
follow-up with

Expose floating viewports in API

How is the Scala FFI dealing with the non-defaulted is_floating parameter?

The underlying JNI invocations are not typesafe, nor parameter count safe, not really safe at all.
If the C API changes then the bindings that consume that part of the API need to change, if they don't change then it is possible that a square peg fits in a round hole.

There are 2 todo;; bug? comments in the test cases. What is the plan for clarifying and/or fixing those?

Draft PR, fixing before out of draft.

Linux will allow multiple dlopen calls, macos not so much.  That is a piece of information I wish I had known earlier or never had come to learn.

General comment for all copyright comments.
https://www.copyrightlaws.com/copyright-symbol-notice-year/

I missed the /osx/macos/ change, will fix and send shortly.


Redaction App - Files Causing Stall During Initial Load/Stitch

Describe the bug in current situation
On FOR-2023-30509 in PROD, several email files that are part of an email chain were throwing errors in Console in the Redaction App, and stalling the loading/stitching. This prevented the user from proceeding in the Redaction App. I have since found the files causing the issues, and worked with the user to resolve them manually. But this should be investigated further.
The files in question are on FOR-2023-30509. The original files with issues have an upload date between 2023 Dec 07 | 11:56 AM and 2023 Dec 07 | 12:10 PM (not posting file names for confidentiality purposes). The four original files with issues should be at the top of the Records tab. They are all part of the same email thread. They uploaded fine to the 'Records' tab, and were converted to PDF.
Previously, this issue was occurring in Test / Test-Marshal (roughly one week ago), and I reproduced it. However, since then these files are now throwing errors in the 'Records' tab. So this may need investigated as well.
I will also note that a similar issue is/was occurring on COR-2023-34118 in PROD. However, when testing the files in TEST, there are no issues.
This is/was also occurring on MAG-2023-33856 in PROD. The Redaction App is/was throwing an error and stalling during stitching/loading:

Link bug to the User Story
Impact of this bug
Describe the impact, i.e. what the impact is, and number of users impacted.
Chance of Occurring (high/medium/low/very low)
Pre Conditions: which Env, any pre-requesites or assumptions to execute steps?
COR-2023-34118 in PROD
FOR-2023-30509 in PROD
MAG-2023-33856 in PROD
Steps to Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Actual/ observed behaviour/ results
Expected behaviour
A clear and concise description of what you expected to happen. Use the gherking language.
Screenshots/ Visual Reference/ Source

Believe this was resolved in 9.1 or 9.2 release. Closing, but retain for future reference.

Confirm these issues were fixed already?

I will QA and see if still occurring - may have been fixed with #4600

QA'd the problem files from the requests above in Test, and these do appear to be resolved in #4600. I will note, the issue on MAG-2023-33856 is also related to >999 files/records being in the records tab, which we know is causing issues loading in the Redaction App. Closing this ticket.

cc: @sumathi-thirumani-aot @abin-aot


Fix "Latest Council Meeting" section on front page

This is currently a mess. We should consider either hiding it for now, or fixing it, or doing some combination of that on different parts of it.
Fixing the tags/topics (#31), might resolve parts of this, so we're probably blocked on that.

I'll see if I can make this feature useful, otherwise I'll hide it.


[bug report] CMakeList config error

Please go to Stack Overflow for help and support:
https://stackoverflow.com/questions/tagged/tensorflow
If you open a GitHub issue, here is our policy:

It must be a bug or a feature request.
The form below must be filled out.
It shouldn't be a TensorBoard issue. Those go here.

Here's why we have that policy: TensorFlow developers respond to issues. We want to focus on work that benefits the whole community, e.g., fixing bugs and adding features. Support only helps individuals. GitHub also notifies thousands of people when issues are filed. We want them to see you communicating an interesting problem, rather than being redirected to Stack Overflow.

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
TensorFlow installed from (source or binary):
TensorFlow version (use command below):
Python version:
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version:
GPU model and memory:
Exact command to reproduce:

You can collect some of this information using our environment capture script:
https://github.com/tensorflow/tensorflow/tree/master/tools/tf_env_collect.sh
You can obtain the TensorFlow version with
python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"
Describe the problem
When using cmake config to build tensorflow under windows, after enabling gpu, following error appears:
CMake Error at tf_core_framework.cmake:215 (list):
  list sub-command REMOVE_ITEM requires two or more arguments.
Call Stack (most recent call first):
  CMakeLists.txt:385 (include)

after checking tf_core_framwork.cmake, it is requesting to remove "${tensorflow_source_dir}/tensorflow/core/platform/default/gpu_tracer.cc" from core resources. However, this file is missing from the latest tensorflow. Commenting this line help to finish cmake config but I don't think this is a good practice.
Would the development team consider to update the cmake file?
Source code / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached. Try to provide a reproducible test case that is the bare minimum necessary to generate the problem.

Met the same issue, to cheat cmake, either comment the line for deleting gpu_tracer.cc or create a fake empty file, but still I don't think it's a good practice.

Seems gpu_tracer.cc is renamed to device_trace.cc, changing the filename in .cmake file help to solve the problem but the git repository need to be updated

Thanks for the fix @concerttttt. This should resolve your problem @jackyko1991 .


Tween does not finish with the final value due to precision loss in conversion of big integers to float

Godot version:
3.1.1 Stable
OS/device including version:
Windows 10
Issue description:
Tween does not end with final value
Steps to reproduce:

Create a Linear Tween to call a method with a value from 99999999 to 999999999
Method prints the values
The final printed value will be larger than 999999999

Note: This is also the case for the printed starting value. Where a larger number is to be expected but a smaller number not.
Note2: Time does not influence the result.
Note3: I also saw this problem with floats, where the final value was also not the expected one, but with some rounding issues. It only seems to work correctly on floats with a larger number of decimals
Minimal reproduction project:
tween_values.zip

Is it any different if you set Playback Process Mode to Physics? This might help with timing to be more deterministic. Floats are expected to have rounding issues due to error accumulation. Perhaps some parts use mixed float/double internally so that conversion loses precision as well?

I added a Project to reproduce it. It does not matter in Process Mode the Tween runs and how long it goes. The problem is with the last output. It is to be expected the last output is the final value, but it is not. Also I just use the linear transition, where it is to be expected the numbers in between the start and final value are not larger/smaller then the final/starting value.
Here is the output of the example project:
output.txt

Duplicate issue with some more info: #40237
This issue is indeed caused by using float/double internally by the tween.

As described in #40237, the value is converted to real_t, which is float currently in Godot 3.2.x.
There's plan to add support for double precision in Godot 4.0 which might alleviate this issue, but a better fix would be to see how to have a dedicated code path to treat integer values as such.

@KoBeWi Was this fixed in your Tween rewrite?

No, the interpolation code didn't change for the most part, so it's still reproducible. Here's some test code:
@tool
extends EditorScript

func twee(v, o):
	o.set_meta("tw", v)

func _run() -> void:
	print(self)
	var ref = RefCounted.new()
	var tween = get_editor_interface().create_tween()
	tween.tween_method(twee.bind(ref), 99999999, 999999999, 1)
	await tween.finished
	print(ref.get_meta("tw"))

Compiling with float=64 fixes the issue though.
There's however a simple fix I could try for 32-bit floats.


[BUG] pgindent not working properly

Describe the bug
I'm playing with v1.4.2, there seems still some unexpected behaviors, take src/backend/utils/mmgr/mcxt.c as an example, after format with the extension, there are some format issues, e.g. function return void * changed to void      *, it seems that in runPgindentInternal, you are downloading typedefs.list from internet because pg_bsd_indent directory doesn't contains it.
I see you comment that to use pg_bsd_indent directly instead of pgindent for some reason, but in my case(out of tree build) the issue happened. The following command works in my case, hope this can give you some hints.
src/tools/pgindent/pgindent --indent /home/postgres/build/src/tools/pg_bsd_indent/pg_bsd_indent /home/postgres/postgres/src/backend/utils/mmgr/mcxt.c

I'd suggest keeping the PgindentPath setting, when user set it, call pgindent instead of pg_bsd_indent directly, what do you think? @ashenBlade

Hi! Thanks for request. I looked as sources on pgindent again and found that i have missed post_indent function that performs some clean ups (including single space before *).
I will fix this soon.
And the reason why I do not use pgindent directly - because of many backup files *.BAK that it creates. If pg_bsd_indent fails (sometimes it happens randomly) that file will not go away. I do think this logic will be changed it near future, so just copying the code logic is a good compromise (i will add this note to source code).

Hi! Thanks for request. I looked as sources on pgindent again and found that i have missed post_indent function that performs some clean ups (including single space before *). I will fix this soon.
And the reason why I do not use pgindent directly - because of many backup files *.BAK that it creates. If pg_bsd_indent fails (sometimes it happens randomly) that file will not get deleted. I do think this logic will be changed it near future, so just copying the code logic is a good compromise (i will add this note to source code).

Ok, reasonable. Looking forward to testing the fixed version.

Fixed this in new 1.4.3 release

Fixed this in new 1.4.3 release. If it helped, then close the issue, please.

Hi, I just did a quick test, it works for the * case, but there are still some unexpected behavior, like if I format the mcxt.c file, the following happens:
diff --git a/src/backend/utils/mmgr/mcxt.c b/src/backend/utils/mmgr/mcxt.c
index 70d33226cb..9e9d09efb2 100644
--- a/src/backend/utils/mmgr/mcxt.c
+++ b/src/backend/utils/mmgr/mcxt.c
@@ -200,12 +200,12 @@ GetMemoryChunkMethodID(const void *pointer)
        Assert(pointer == (const void *) MAXALIGN(pointer));

        /* Allow access to the uint64 header */
-       VALGRIND_MAKE_MEM_DEFINED((char *) pointer - sizeof(uint64), sizeof(uint64));
+       VALGRIND_MAKE_MEM_DEFINED((char *) pointer -sizeof(uint64), sizeof(uint64));

-       header = *((const uint64 *) ((const char *) pointer - sizeof(uint64)));
+       header = *((const uint64 *) ((const char *) pointer -sizeof(uint64)));

        /* Disallow access to the uint64 header */
-       VALGRIND_MAKE_MEM_NOACCESS((char *) pointer - sizeof(uint64), sizeof(uint64));
+       VALGRIND_MAKE_MEM_NOACCESS((char *) pointer -sizeof(uint64), sizeof(uint64));

        return (MemoryContextMethodID) (header & MEMORY_CONTEXT_METHODID_MASK);
 }
@@ -222,12 +222,12 @@ GetMemoryChunkHeader(const void *pointer)
        uint64          header;

        /* Allow access to the uint64 header */
-       VALGRIND_MAKE_MEM_DEFINED((char *) pointer - sizeof(uint64), sizeof(uint64));
+       VALGRIND_MAKE_MEM_DEFINED((char *) pointer -sizeof(uint64), sizeof(uint64));

-       header = *((const uint64 *) ((const char *) pointer - sizeof(uint64)));
+       header = *((const uint64 *) ((const char *) pointer -sizeof(uint64)));

        /* Disallow access to the uint64 header */
-       VALGRIND_MAKE_MEM_NOACCESS((char *) pointer - sizeof(uint64), sizeof(uint64));
+       VALGRIND_MAKE_MEM_NOACCESS((char *) pointer -sizeof(uint64), sizeof(uint64));

        return header;
 }

Hi, after some hours of searching i found that not only source code must be processed, but also typedefs.list (add and remove some entries).
Experiments shew that it was root cause of problem. I will fix this soon.

I created prerelease version 1.4.4 with fixes. If this helps then tell me, i will publish it.

I created prerelease version 1.4.4 with fixes. If this helps then tell me, i will publish it.

It works, I will close this issue with this comment, thanks ;)