Slim build failed for any image on the Apple M1 (ARM)

I'm following (on mac M1) by how-to guide from the main README page and getn an error with the base example:
>> slim build --target archlinux:latest --tag archlinux:curl --http-probe=false --exec "curl checkip.amazonaws.com"
> ...

And get an error like:
level=error msg="dockerutil.BuildEmptyImage: dockerapi.BuildImage() error = invalid reference format"
level=fatal msg="slim: failure" error="invalid reference format"

Expected Behavior
>> docker images
archlinux                 curl                ...        ...         17.4MB
archlinux                 latest              ...        ...         467MB

Actual Behavior
level=error msg="dockerutil.BuildEmptyImage: dockerapi.BuildImage() error = invalid reference format"
level=fatal msg="slim: failure" error="invalid reference format"

Full slim output
An output of the cmd slim --debug build --target archlinux:latest --tag archlinux:curl --http-probe=false --exec "curl checkip.amazonaws.com"

slim --debug build --target archlinux:latest --tag archlinux:curl --http-probe=false --exec "curl checkip.amazonaws.com"
time="2023-06-16T15:02:03+03:00" level=debug msg="sysinfo => system.SystemInfo{Sysname:\"darwin\", Nodename:\"KK-SUDO-MacBook-Pro.local\", Release:\"22.5.0\", Version:\" Mon Apr 24 20:52:24 PDT 2023; root:xnu-8796.121.2~5/RELEASE_ARM64_T6000\", Machine:\"arm64\", Domainname:\"\", OsBuild:\"22F66\", Distro:system.DistroInfo{Name:\"\", Version:\"\", DisplayName:\"other\"}}"
app='slim' message='Join the Gitter channel to ask questions or to share your feedback' info='https://gitter.im/docker-slim/community'
app='slim' message='Join the Discord server to ask questions or to share your feedback' info='https://discord.gg/9tDyxYS'
app='slim' message='GitHub Discussions' info='https://github.com/slimtoolkit/slim/discussions'
time="2023-06-16T15:02:03+03:00" level=debug msg="param.error.app.options - no app params"
cmd=build info=exec message='changing continue-after from probe to nothing because http-probe is disabled'
cmd=build info=exec message='updating continue-after mode to exec'
time="2023-06-16T15:02:03+03:00" level=debug msg="customImageTag='archlinux:curl', additionalTags=[]string(nil)" app=slim command=build
time="2023-06-16T15:02:03+03:00" level=debug msg="docker-slim: new Docker client (default) [6]"
time="2023-06-16T15:02:03+03:00" level=debug msg="docker-slim: configured DOCKER_HOST env var"
cmd=build state=started
cmd=build info=params rt.as.user='true' keep.perms='true' tags='archlinux:curl' target.type='image' target='archlinux:latest' continue.mode='exec'
time="2023-06-16T15:02:03+03:00" level=info msg="image=archlinux:latest http-probe=false remove-file-artifacts=false image-overrides=map[] entrypoint=[] (false) cmd=[] (false) workdir='' env=[] expose=map[]" app=slim command=build
cmd=build info=app container='false' dsimage='false' location='/usr/local/bin' cmd='build' version='darwin|Transformer|1.40.2|762eea87bafc4b04fe6b0642a62534a148acdaca|2023-05-20_06:13:34AM'
cmd=build info=host release='22.5.0' sysname='darwin' cmd='build' osname='other' osbuild='22F66' version=' Mon Apr 24 20:52:24 PDT 2023; root:xnu-8796.121.2~5/RELEASE_ARM64_T6000'
cmd=build info=docker operating.system='Docker Desktop' ostype='linux' server.version='24.0.2-38-g8e70a1b23e' architecture='aarch64' cmd='build' name='docker-desktop' kernel.version='5.15.49-linuxkit-pr'
cmd=build info=dclient cmd='build' api.version='1.43' mini.api.version='1.12' build.time='2023-06-02T15:58:50.000000000+00:00' git.commit='8e70a1b23e965d86ec8c2feb77605196ae124630'
cmd=build state=image.inspection.start
time="2023-06-16T15:02:03+03:00" level=info msg="inspecting 'fat' image metadata..." app=slim command=build
time="2023-06-16T15:02:04+03:00" level=debug msg="PrepareImageStateDirs(,sha256:28cafcbd4df875971df45047bbbe80882e0cd7a8bfa02ff6bb4f702e0a3f87a6)"
time="2023-06-16T15:02:04+03:00" level=debug msg="PrepareImageStateDirs - statePrefix=/usr/local/bin appDir=/usr/local/bin badPath=/usr/local/bin"
time="2023-06-16T15:02:04+03:00" level=debug msg="PrepareImageStateDirs - overriding state path to /tmp/slim-state"
time="2023-06-16T15:02:04+03:00" level=debug msg="PrepareImageStateDirs - statePrefix=/tmp/slim-state appDir=/usr/local/bin badPath=/usr/local/bin"
time="2023-06-16T15:02:04+03:00" level=debug msg="PrepareImageStateDirs - copying sensor to state path (to /tmp/slim-state)"
time="2023-06-16T15:02:04+03:00" level=debug msg="CopyRegularFile(false,/usr/local/bin/slim-sensor,/tmp/slim-state/slim-sensor,true)"
time="2023-06-16T15:02:04+03:00" level=debug msg="PrepareImageStateDirs - removing existing state location: /tmp/slim-state/.slim-state/images/28cafcbd4df875971df45047bbbe80882e0cd7a8bfa02ff6bb4f702e0a3f87a6/artifacts"
time="2023-06-16T15:02:04+03:00" level=debug msg="PrepareImageStateDirs - created new image state location: /tmp/slim-state/.slim-state/images/28cafcbd4df875971df45047bbbe80882e0cd7a8bfa02ff6bb4f702e0a3f87a6/artifacts"
time="2023-06-16T15:02:04+03:00" level=debug msg="localVolumePath=/tmp/slim-state/.slim-state/images/28cafcbd4df875971df45047bbbe80882e0cd7a8bfa02ff6bb4f702e0a3f87a6, artifactLocation=/tmp/slim-state/.slim-state/images/28cafcbd4df875971df45047bbbe80882e0cd7a8bfa02ff6bb4f702e0a3f87a6/artifacts, statePath=/tmp/slim-state, stateKey=28cafcbd4df875971df45047bbbe80882e0cd7a8bfa02ff6bb4f702e0a3f87a6" app=slim command=build
cmd=build info=image id='sha256:28cafcbd4df875971df45047bbbe80882e0cd7a8bfa02ff6bb4f702e0a3f87a6' size.bytes='146088413' size.human='146 MB'
time="2023-06-16T15:02:04+03:00" level=info msg="processing 'fat' image info..." app=slim command=build
time="2023-06-16T15:02:04+03:00" level=debug msg="IMAGE INSTRUCTIONS:"
time="2023-06-16T15:02:04+03:00" level=debug msg="FROM scratch"
time="2023-06-16T15:02:04+03:00" level=debug msg="# new image"
time="2023-06-16T15:02:04+03:00" level=debug msg="\n# instruction set group 1\n"
time="2023-06-16T15:02:04+03:00" level=debug msg="LABEL org.opencontainers.image.title=Arch Linux base Image"
time="2023-06-16T15:02:04+03:00" level=debug msg="LABEL org.opencontainers.image.description=Official containerd image of Arch Linux, a simple, lightweight Linux distribution aimed for flexibility."
time="2023-06-16T15:02:04+03:00" level=debug msg="LABEL org.opencontainers.image.authors=Santiago Torres-Arias<EMAIL_ADDRESS>(@SantiagoTorres), Christian Rebischke<EMAIL_ADDRESS>(@shibumi), Justin Kromlinger<EMAIL_ADDRESS>(@hashworks)"
time="2023-06-16T15:02:04+03:00" level=debug msg="LABEL org.opencontainers.image.url=https://gitlab.archlinux.org/archlinux/archlinux-docker/-/blob/master/README.md"
time="2023-06-16T15:02:04+03:00" level=debug msg="LABEL org.opencontainers.image.documentation=https://wiki.archlinux.org/title/Docker#Arch_Linux"
time="2023-06-16T15:02:04+03:00" level=debug msg="LABEL org.opencontainers.image.source=https://gitlab.archlinux.org/archlinux/archlinux-docker"
time="2023-06-16T15:02:04+03:00" level=debug msg="LABEL org.opencontainers.image.licenses=GPL-3.0-or-later"
time="2023-06-16T15:02:04+03:00" level=debug msg="LABEL org.opencontainers.image.version=20230611.0.157136"
time="2023-06-16T15:02:04+03:00" level=debug msg="LABEL org.opencontainers.image.revision=a395f71b6337b7612e5749a62698d598869059f0"
time="2023-06-16T15:02:04+03:00" level=debug msg="LABEL org.opencontainers.image.created=2023-06-11T00:06:39+00:00"
time="2023-06-16T15:02:04+03:00" level=debug msg="COPY dir:5bcbc6d753462b5256bd3e682323362d50da99be384069b33450827f76bbb1bb /"
time="2023-06-16T15:02:04+03:00" level=debug msg="RUN ldconfig && \\\n\tsed -i '/BUILD_ID/a VERSION_ID=20230611.0.157136' /etc/os-release"
time="2023-06-16T15:02:04+03:00" level=debug msg="ENV LANG=C.UTF-8"
time="2023-06-16T15:02:04+03:00" level=debug msg="CMD [\"/usr/bin/bash\"]\n"
time="2023-06-16T15:02:04+03:00" level=debug msg="# end of image: archlinux:latest (id:  tags: archlinux:latest)"
time="2023-06-16T15:02:04+03:00" level=debug
cmd=build info=image.stack index='0' name='archlinux:latest' id='sha256:28cafcbd4df875971df45047bbbe80882e0cd7a8bfa02ff6bb4f702e0a3f87a6'
cmd=build state=image.inspection.done
cmd=build state=container.inspection.start
time="2023-06-16T15:02:04+03:00" level=debug msg="FatContainerCmd - [/usr/bin/bash]" app=slim command=build component=container.inspector
time="2023-06-16T15:02:04+03:00" level=info msg="starting instrumented 'fat' container..." app=slim command=build
time="2023-06-16T15:02:04+03:00" level=debug msg="sensor.EnsureLocalBinary: sensor (/tmp/slim-state/slim-sensor) perms => 0777" app=slim command=build component=container.inspector
time="2023-06-16T15:02:04+03:00" level=debug msg="dockerutil.HasVolume: volume not found - slim-sensor.1.40.2"
time="2023-06-16T15:02:04+03:00" level=debug msg="ensureSensorVolume: no volume yet = slim-sensor.1.40.2" app=slim command=build component=container.inspector
time="2023-06-16T15:02:04+03:00" level=error msg="dockerutil.BuildEmptyImage: dockerapi.BuildImage() error = invalid reference format"
time="2023-06-16T15:02:04+03:00" level=debug msg="ensureSensorVolume: dockerutil.BuildEmptyImage() - error = invalid reference format" app=slim command=build component=container.inspector
time="2023-06-16T15:02:04+03:00" level=fatal msg="slim: failure" error="invalid reference format" stack="goroutine 1 [running]:\nruntime/debug.Stack()\n\truntime/debug/stack.go:24 +0x64\ngithub.com/docker-slim/docker-slim/pkg/util/errutil.FailOn({0x104270c80, 0x1400000c948})\n\tgithub.com/docker-slim/docker-slim/pkg/util/errutil/errutil.go:32 +0x38\ngithub.com/docker-slim/docker-slim/pkg/app/master/inspectors/container.(*Inspector).RunContainer(0x14000452dc0)\n\tgithub.com/docker-slim/docker-slim/pkg/app/master/inspectors/container/container_inspector.go:430 +0x5fc\ngithub.com/docker-slim/docker-slim/pkg/app/master/commands/build.OnCommand(_, _, {_, _}, _, {_, _}, {_, _}, {_, ...}, ...)\n\tgithub.com/docker-slim/docker-slim/pkg/app/master/commands/build/handler.go:1117 +0x3a00\ngithub.com/docker-slim/docker-slim/pkg/app/master/commands/build.glob..func1(0x140007f6080)\n\tgithub.com/docker-slim/docker-slim/pkg/app/master/commands/build/cli.go:743 +0x4854\ngithub.com/urfave/cli/v2.(*Command).Run(0x1050499c0, 0x1400019dac0)\n\tgithub.com/urfave/cli/v2@v2.3.0/command.go:163 +0x4fc\ngithub.com/urfave/cli/v2.(*App).RunContext(0x14000583860, {0x104289f50?, 0x1400019e008}, {0x140001a6000, 0xa, 0xa})\n\tgithub.com/urfave/cli/v2@v2.3.0/app.go:313 +0x860\ngithub.com/urfave/cli/v2.(*App).Run(...)\n\tgithub.com/urfave/cli/v2@v2.3.0/app.go:224\ngithub.com/docker-slim/docker-slim/pkg/app/master.Run()\n\tgithub.com/docker-slim/docker-slim/pkg/app/master/app.go:15 +0x4c\nmain.main()\n\tgithub.com/docker-slim/docker-slim/cmd/slim/main.go:15 +0x1c4\n" version="darwin|Transformer|1.40.2|762eea87bafc4b04fe6b0642a62534a148acdaca|2023-05-20_06:13:34AM"

Steps to Reproduce the Problem

Run slim --debug build --target archlinux:latest --tag archlinux:curl --http-probe=false --exec "curl checkip.amazonaws.com"

Specifications

MacOS version: 13.4 (22F66), Slim version: 1.40.2
Platform: Apple M1 Pro

Docker version

Local docker context
docker version
Client:
Cloud integration: v1.0.33
Version:           24.0.2
API version:       1.43
Go version:        go1.20.4
Git commit:        cb74dfc
Built:             Thu May 25 21:51:16 2023
OS/Arch:           darwin/arm64
Context:           desktop-linux
Server: Docker Desktop 4.20.1 (110738)
Engine:
Version:          24.0.2-38-g8e70a1b23e
API version:      1.43 (minimum version 1.12)
Go version:       go1.20.4
Git commit:       8e70a1b23e965d86ec8c2feb77605196ae124630
Built:            Fri Jun  2 15:58:50 2023
OS/Arch:          linux/arm64
Experimental:     true
containerd:
Version:          1.6.21
GitCommit:        3dce8eb055cbb6872793272b4f20ed16117344f8
runc:
Version:          1.1.7
GitCommit:        v1.1.7-0-g860f061
docker-init:
Version:          0.19.0
GitCommit:        de40ad0
Docker settings

Slim version

Slim version
app='slim' message='Join the Gitter channel to ask questions or to share your feedback' info='https://gitter.im/docker-slim/community'
app='slim' message='Join the Discord server to ask questions or to share your feedback' info='https://discord.gg/9tDyxYS'
app='slim' message='GitHub Discussions' info='https://github.com/slimtoolkit/slim/discussions'
cmd=version info=app location='/usr/local/bin' outdated='false' current='1.40.2' verdict='you have the latest version' cmd='version' version='darwin|Transformer|1.40.2|762eea87bafc4b04fe6b0642a62534a148acdaca|2023-05-20_06:13:34AM' container='false' dsimage='false'
cmd=version info=host osname='other' osbuild='22F66' version=' Mon Apr 24 20:52:24 PDT 2023; root:xnu-8796.121.2~5/RELEASE_ARM64_T6000' release='22.5.0' sysname='darwin' cmd='version'
cmd=version info=docker architecture='aarch64' cmd='version' name='docker-desktop' kernel.version='5.15.49-linuxkit-pr' operating.system='Docker Desktop' ostype='linux' server.version='24.0.2-38-g8e70a1b23e'
cmd=version info=dclient api.version='1.43' mini.api.version='1.12' build.time='2023-06-02T15:58:50.000000000+00:00' git.commit='8e70a1b23e965d86ec8c2feb77605196ae124630' cmd='version'
app='slim' message='Join the Gitter channel to ask questions or to share your feedback' info='https://gitter.im/docker-slim/community'
app='slim' message='Join the Discord server to ask questions or to share your feedback' info='https://discord.gg/9tDyxYS'
app='slim' message='GitHub Discussions' info='https://github.com/slimtoolkit/slim/discussions'

This is a strange failure... appears to happen when the app tries to create an empty image. Can't repro the failure with my M1 (will try to update Docker Desktop).
Also wanted to double check... The archlinux:latest image you are trying to work with is an amd image (not an arm image), right? At least, for me I couldn't get/pull the arm version on my machine. If it's the case you'll need to use the --image-build-engine flag and you'll need to set it to internal. The default build engine uses the Docker API, which will only build images with the platform/architecture that matches your machine architecture (at least, it's the case with the Docker version I have installed).

The archlinux:latest image you are trying to work with is an amd image
Before I use it, I export amd64 export DOCKER_DEFAULT_PLATFORM=linux/amd64. The main issue, It's happens with any image, not only this one.
With remote docker engine (when I try to use docker context on my remote server) I get exactly the same error.
image-build-engine - no effect

Thanks for the extra context! The --image-build-engine is relevant for the output image and the failure you've observed happens way before that when slim is trying to create a volume for the sensor where it Docker fails to create the empty container image needed to create the volume. Looks like you are using the latest version of Docker Desktop and there's a good chance the failure is related to their latest enhancements to their default build engine. Good news it's easy to fix :-) Will make it work as-is in the next day or so and then will replace that logic not to use Docker at all.

Couldn't repro the empty image create failure with the latest. Can you try the latest release to see if you still getting the same problem there: https://github.com/slimtoolkit/slim/releases/tag/1.40.3


Groovy test changes to add multi-arch support

Description
This PR intends to add multi-arch support for the groovy tests.
Test images used in respective test are changed to use alternate multi-arch images which support 3 platforms viz. x86_64, ppc64le and s390x.
Changes are verified manually using ./gradlew test --tests=TestName

Hi @pratham-m, Once this PR runs the default CI ok can you:

Add the label ci-all-qa-tests
And then get more coverage with: /test openshift-newest-qa-e2e-tests and /test gke-qa-e2e-tests comments
Thanks,
-Gavin

/test openshift-newest-qa-e2e-tests
/test gke-qa-e2e-tests

Hi @gavin-stackrox  cc @robbycochran test execution is complete. kindly let me know if you have any review comments.


cmd/compile: error message for bad case in switch should suggest select

When writing a switch statement like this:

package main

func main() {
    ch := make(chan int)
    switch {
    case <-ch:
    default:
    }
}

The compiler error is:

prog.go:6: invalid case <-ch in switch (mismatched types int and bool)

This is a correct message, but for cases where the user is doing channel operations in
the cases, can we add to the parenthetical "; did you mean select?" ? It
shouldn't be displayed if the type of the channel expression is bool, obviously.

I've mailed https://go-review.googlesource.com/37392.

As mentioned by @griesemer in CL 37392, the compiler giving such suggestions is a slippery slope, so for now let's keep the issue and the CL open in case new ideas come up.


A Dragon Game

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
https://github.com/Sulagna-Dutta-Roy/GGExtensions/assets/138589633/5334d5b7-16d0-4822-9d43-c702e2671029
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
What problem is this feature trying to solve?
How do we know when the feature is complete?

Is this an extension? Because currently not accepting any sample projects

@Sulagna-Dutta-Roy can i add this as an extension??

Received the pull request. Closing this


Ignoring files in cheat folder

It should be possible to ignore files and directories in the cheat folder.
Like ".git/" or ".DS_Store"

Looking into the issue. Thanks for the report.

Thanks mate. Now all the hidden file and directory will be ignored. i.e., everything starting with ..


Heroku deployed version keeps crashing

Hey i just wanted to test your library out i was trying to extract some data out from a league and everytime i run it it crashes the entire heroku

Which call, specifically? It appears to be working fine for me...

@FahdW @whatadewitt I think the docs just need to be updated to reflect the current version.. For example, the docs say to pass in an array for League Key like so..
yf.players.leagues([leagueKey], { start: 0 }, [], (err, data) => {
  // do your thing
})

However, in the current version, league key just needs to be a string (or a string containing multiple league keys separated by commas) like this..
yf.players.leagues(leagueKey, { start: 0 }, [], (err, data) => {
  // do your thing
})

I’m replying on my phone, but I think it’s just a simple misunderstanding,
or maybe I’m so tired I don’t know what’s what right now, but you can pass
a single league key as a string, or an array of league keys. The sandbox
app takes the comma separated list of strings and converts that to an array
when it’s POSTs to the server and the library handles it from there... am I
making any sense or am I just way off?
On Sun, Jul 22, 2018 at 6:57 PM lsbyerley<EMAIL_ADDRESS>wrote:

@FahdW https://github.com/FahdW @whatadewitt
https://github.com/whatadewitt I think the docs just need to be updated
to reflect the current version.. For example, the docs say to pass in an
array for League Key like so..
yf.players.leagues([leagueKey], { start: 0 }, [], (err, data) => {
// do your thing
})
However, in the current version, league key just needs to be a string (or
a string containing multiple league keys separated by commas) like this..
yf.players.leagues(leagueKey, { start: 0 }, [], (err, data) => {
// do your thing
})
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/whatadewitt/yfsapi/issues/46#issuecomment-406899985,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAWM0uuFpfU6si5Pll4ASjgsAwS-qMxlks5uJPU1gaJpZM4VGewH
.

@whatadewitt Your making sense, all I'm saying is when running this request..
yf.players.leagues([leagueKey], { start: start }, function(err, data) {
  //stuff
})

On version 3.0.3, I get a args.shift(...).split is not a function error at this line https://github.com/whatadewitt/yfsapi/blob/master/collections/playersCollection.mjs#L48
However, if I just pass in a string instead of an array, it works

I'm finally about to push a fix for this. Sorry for the delay, life with a newborn is tough!

No worries! Congrats on the new addition to the family!


v0.1.2

Added the following features :
-Clicking on a Resource opens it up on the Inspector (thanks to @KingTempest07 for that)
-Double clicking on a Folder opens up the respective script of the Resource
-Right clicking on a Folder allows you to color it and its respective Resources (saved as meta-data "COLOR_HINT" in the respective script of the Resource)
-Added a button for expand/contract all folders
-Folder's expansion/contraction is now stored when switching tabs/adding a new item

If you plan on adding more, I have a few things I think would be nice to have:

Renaming like that of the file system

Double-click the name or right-click and press the rename button

Filtering by resource type

Blacklist/whitelist

Visible icons

In the file system, icons assigned by @icon (or [Icon] in C#) are visible, but the resource window currently does not seem to have that functionality, instead replacing all of them with the default icon.

Option to show scripts, scenes, etc. (built-in/not custom resources)

This may be a bit unnecessary and leaning more towards just being the file system, but technically they are still resources and would be expected to show up there. This may also fit in with the filter option I suggested previously.
This might conflict with the folder structure I suggested.

For this last idea I had, you might just want to ignore this unless you have any ideas on how to make it work better or be more useful. For one, I don't think I explained my thoughts that well, but it also has a lot of flaws in the design. But I do think it could serve a genuine niche use if designed better. I figure I should still leave it here, though.

Option to use exact folder paths rather than type organization

As in using the actual folder layout of the project rather than the current one based on the resource type.
I'm not sure what the root dropdown types would be, but I think the best option would be to make the user add the ones they want manually.

My problem with automatic dropdown generation with this layout is that it would be either too specific or not specific enough. For instance, it may just do all resources and have only one dropdown, go one layer deep and have a few dropdowns but you need to search intensely, go two layers deep and have confusing dropdowns that may separate related resource types, or go to each individual type at the end of the chain and have WAY too many dropdowns that might only have one resource at the end of it.

I reason that it would be helpful not to have to search for the folder you want to add a new resource to every time. Currently, the workaround is to dig for the folder you want to place it in with the file system, search for a resource type from the list, and then add it, but it would be much more streamlined to simply right-click the folder and add it. It may not be worth the effort though lol. Plus I figure you would still have to search for the specific resource type unless you can automatically filter the resource selection menu by type, which I don't think you can(?).

And I really do appreciate your additions so far to this! I would try to help out a bit more with functional additions, but I honestly am kinda clueless when it comes to UI and editor stuff lol. That one addition you mentioned I made took me about 20 minutes to figure out lmao. I just like designing stuff, so I avoid that like the plague

Hey! Yeah I might add more features, I'm really using it, I use a ton of custom resources, I find them very handy and applicable at most cases, most of my stuff in my game is custom resources instead of relying on multiple scenes, so organizing them and making them easily accessible is something I was looking for, and this was a good start.
So, about adding scenes/scripts, the way that I'm currently working, is that scripts are on a separate tab (I script on 2nd monitor), so my scripts are in the search function there. Also for scenes, I have a plugin installed (tabmanager I think?) that has that functionality, but not for custom resources! I think a plugin that features both would probably end up being a File manager like you said.
Adding icons is not difficult, I'm assuming they would simply inherit the one from the folder, I can easily add that.
Filter by resource type, well search bar works like that. I could add a filter button that selects specific classes and only displays those, but just typing "curse_effect" on the search bar or something is just as fast (we're devs after all!)
Renaming is something I'll definitely add, probs with right-click cause double-clicking and editing a tree item is gonna have a few problems (replacing the label with textedit etc).
Would like some feedback from @warent as well regarding these features and a potential merge, code is clean but not documented, will document it at a later date.

Hey guys, I just tried out the PR and it looks fantastic, thanks! Happy to merge it in soon.
The only question I have is about the addons/ResourcePlus/src/data.tres. What purpose does that serve / should we .gitignore it? I noticed the one in your PR seems to have some project-specific data.

Regarding all the other comments: will happily review and reply to these later when I have more time. Thanks again for the awesome contributions.

I'm doing some more polishing - the data.tres is a custom resource type that saves the collapse tag of each element of the tree, as well as the colour of each class - given that you can't store meta-data to scripts in Godot.
I've added a few more things, like class icons appearing on each resource, creating a new resource type by right-clicking on a blank space (as well as an icon for it on top left) etc.
Will update later today.

Cleaned up the code! Also to answer your question, yes, the data.tres should be .gitignore'd, a new one will be created when the user loads up the addon and store all appropriate info there.
Waiting for review & merge.
Cheers!

Thank you for your patience. I started a new job when this was submitted and promptly forgot to circle back here :face_exhaling:


Add documentation on how to setup the dev environment.

This change is

Review status: :shipit: complete! undefined

README.md, line 55 at r1 (raw file):

```sh
docker run --rm -it -v $(pwd):/work/:ro -w /work/ python:3 bash

python*:*3?
circle ci will run it with python2.7 it won't be a problem?

Comments from Reviewable


Embed VU codes in layer_validation_tests error messages

Append the VU code for easier identification of specific error messages in lvl tests.  Enabled in debug builds only.
2nd commit is a whole-file clang-format only, with no code changes.

I like it!


Changed Core\Config to check for array in base_url-item in case there is …

…defined more than 1 domain set for site.

This is a lazy, bad practice IMO.
The fact that we give an example in the userguide for it is for BC purposes, and because we know a lot of people will do worse on their own.
But baking-in this functionality would arguably encourage its usage, which is not what we want.
I'm leaving this open for now, if you want to try convincing us otherwise, but you'll need some strong arguments.


Add captcha on sign up

From David Ascher - Auth0 has support for recaptcha assuming we're still using it. https://auth0.com/docs/configure/attack-protection/bot-detection?_ga=2.226958749.1890185848.1636507724-1735048712.1636507723&_gl=1164yawsrollup_gaMTczNTA0ODcxMi4xNjM2NTA3NzIzrollup_ga_F1G3E656YZ*MTYzNjUwNzcyMy4xLjEuMTYzNjUwNzc1Mi4zMQ

@paninee lets talk about when to prioritize this at our next meeting. probably after the "reviewed entries" project, before adding dutch (which is still TBC, waiting to hear from Bonny) or multi language search.


Current indicative price in XLM - tip in Asset Summary. Actually it is in USD

Fixed in v0.9.23


Improve latency measurement

We want to remove the both CPU and GPU launch latency from GPU kernel runtime. Right now do_bench uses CUDA event, which means it will include the GPU launch latency.
It would be more accurate to measure GPU kernel latency with Kineto/CUPTI, or nsys.

I'm going to add a nsys report analyzer this week, but may only focus on kernel execution time summary and number of kernels.

We can have different ways to measure the kernel latency, by default we use triton do_bench/do_bench_cudagraph, but user can choose to use nsys to get more accurate kernel run time at the cost of slower benchmarking.

Let's take kl_div as an example.
python run.py --op kl_div --mode fwd --precision fp32 --num-inputs 1 --input-id 5 --metrics kineto_trace,latency,ncu_rep,nsys_rep,nsys_kernel_names,nsys_kernel_durations, --csv

For inductor implementation, the final kernel triton_red_fused_mul_sub_sum_xlogy_0's statistics are the following.

profiler
measured latency

kineto
1.916171ms

ncu
1.837184ms

nsys
1.903886ms


Refined client_cli.

Refined tools settings.

Codecov Report

Merging #29 (3e74ff5) into main (ec637cc) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head 3e74ff5 differs from pull request most recent head e304e94. Consider uploading reports for the commit e304e94 to get more accurate results

Additional details and impacted files

@@           Coverage Diff           @@
##             main      #29   +/-   ##
=======================================
  Coverage   89.60%   89.60%
=======================================
  Files          89       89
  Lines        9712     9712
=======================================
  Hits         8702     8702
  Misses       1010     1010


Optional parameter child required property should not be generated as required parameter of new-* cmdlet

Swagger:

"username" and "password" are required for object "IscsiTargetCredentials"
"IscsiTargetCredentials" is optional in "Acl"

So "username" and "password" should be actually optional in "Acl"
generated code
Run following command to generate a cmdlet that will create "Acl" object,
New-InMemoryObjectScriptCreator -CsPath .\generated\api\Models\Api20200315Preview\Acl.cs -OutputDir ./custom -ModuleName DiskPool
The generated cmdlet will have "CredentialsUsername" and "CredentialsPassword" as required, but they are actually optional.
New-AzDiskPoolAclObject -CredentialsPassword <String> -CredentialsUsername <String> -InitiatorIqn <String> -MappedLun <String[]> [<CommonParameters>]

Fixed in 3.0.411.


Investigate css-shrink

http://cssshrink.com/velocity/
https://github.com/stoyan/cssshrink has been dead for awhile, but it has a lot of useful content.

Thanks, yeah I've done some fairly extensive testing in the past, with just about every minifier available. It's been one of my aims to try and gather enough data on expected behaviour for CSS optimisations, because I found that different minifiers often produce different output. Of course, this is now also true for cssnano, but definitely parsing CSS has much more advantages than using regexes.
The test suite I was using has ~100 tests across 11 engines; some of the fixtures may need updating for cssnano's bug fixes, but is a pretty good representation of minification performance across libraries. It also needs converting to async since it still relies on the sync code in v1 of https://github.com/ben-eb/css-minifiers; but you can have a look here: https://github.com/ben-eb/css-minifier-tests.
If there's a specific case where the module is outperformed in compression and you think it should be added, it would be great if you could detail it here: https://github.com/ben-eb/cssnano/issues/46

Thanks @ben-eb!


docs: remove module-metadata.json and commitlint.config.js

:tada: This PR is included in version 1.25.5 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Rename metadata.schema_extension_list back to metadata.extensions

Please, revert https://github.com/ocsf/ocsf-schema/pull/934. My reasons why I think it's a good idea.

There are users that are already building on top of 1.1.0-dev, this change is going to cause lot of headaches to them. For example, one of the reasons we took the risk to use 1.1.0-dev was that we needed to specify multiple extensions, which was impossible in 1.0.0
I do not expect anyone to confuse metadata.extensions with tls.extension_list. I can't imagine a scenario when it could happen.
tls.extension_list is actually deprecated since 1.1.0
It's called "Extensions" in OCSF server UI, you are adding a new extension to an extension directory, the new name is actually more confusing to me.

@floydtree Can you please address this before 1.1.0 release? 🙏

Currently, OCSF has an even mix of plural, _list suffix in the names of array-type attributes. The intention of the change you referred to was to bring about consistency in such attributes across OCSF by aligning to a single convention. But considering your points and the number of other such attributes that we have today, we established that we need to have a broader convention for naming of array-type attributes and decided to revert schema_extension_list to extensions.
As an outcome of this decision, we'll be updating OCSF's conventions/guidelines about naming array type fields to include both plural and _list for arrays, pending further discussions. cc @pagbabian-splunk @zschmerber @mikeradka @Aniak5

Thank you


docs.rs

@homu r+

:pushpin: Commit 732ab28 has been approved by kvark

:zap: Test exempted - status


validator contains the errors method, not person

Actually on line 58 person was assigned the errors: as stated in the doc, if person has attr_accessor on errors, then errors are passed to it. So this PR seems not to be correct.

It's been way too long since I opened this PR to remember anything about it. I'll go ahead and close it since your info is more likely up-to-date than this work.


Parallels Desktop recipes

The scoping in the existing recipe is causing problems, so prioritise switch to jamf recipes.

New recipes are now in place.


WinUI 2.6 design?

I have setup a very simple project. And the NavigationView don't seems to have the WinUI 2.6 design. No rounded corner at hover. And old settings icon. How I can update? Or it is planned?

Thanks!

Until fairly recently (version 0.65), the default WinUI version included by React Native for Windows was earlier than 2.6. I believe it was WinUI 2.3 on 0.64? Anyway, with the latest version the new app template should give you WinUI 2.6 styles. What version is your app pulling in?
You can provide some more environment info with these commands:

npx react-native --version:
npx react-native info:

There should be some documentation on how to easily update your WinUI version (outside of adjusting the nuget version directly in Visual Studio) - I'm trying to track that down.

Here's that documentation: https://microsoft.github.io/react-native-windows/docs/customizing-sdk-versions

Thanks for your answer.
npx react-native --version:
6.0.0

npx react-native info:
System:
    OS: Windows 10 10.0.19043
    CPU: (8) x64 Intel(R) Core(TM) i5-9300HF CPU @ 2.40GHz
    Memory: 2.55 GB / 7.92 GB
  Binaries:
    Node: 14.17.6 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.5 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
    npm: 7.21.0 - C:\Program Files\nodejs\npm.CMD
    Watchman: Not Found
  SDKs:
    Android SDK: Not Found
    Windows SDK:
      AllowDevelopmentWithoutDevLicense: Enabled
      AllowAllTrustedApps: Enabled
      Versions: 10.0.16299.0, 10.0.17763.0, 10.0.18362.0, 10.0.19041.0
  IDEs:
    Android Studio: Version     2<IP_ADDRESS> AI-203.7717.56.2031.7678000
    Visual Studio: 16.11.31702.278 (Visual Studio Community�2019)
  Languages:
    Java: Not Found
  npmPackages:
    @react-native-community/cli: Not Found
    react: 17.0.2 => 17.0.2
    react-native: 0.65.0 => 0.65.0
    react-native-windows: 0.65.2 => 0.65.2
  npmGlobalPackages:
    *react-native*: Not Found

And inside the Visual Studio project and node_modules\react-native-windows\Microsoft.ReactNative\packages.config I have WinUI 2.6.
packages.config
<?xml version="1.0" encoding="utf-8"?>
<packages>
  <package id="boost" version="<IP_ADDRESS>" targetFramework="native" />
  <package id="Microsoft.Build.Tasks.Git" version="1.0.0" targetFramework="native" developmentDependency="true" />
  <package id="Microsoft.SourceLink.Common" version="1.0.0" targetFramework="native" developmentDependency="true" />
  <package id="Microsoft.SourceLink.GitHub" version="1.0.0" targetFramework="native" developmentDependency="true" />
  <package id="Microsoft.UI.Xaml" version="2.6.0" targetFramework="native" />
  <package id="Microsoft.Windows.CppWinRT" version="2.0.210312.4" targetFramework="native" />
  <package id="Microsoft.WinUI" version="3.0.0-preview4.210210.4" targetFramework="native" />
  <package id="ReactNative.Hermes.Windows" version="0.8.0-ms.0" targetFramework="native" />
  <!-- package id="ReactNative.V8Jsi.Windows.UWP" version="0.65.2" targetFramework="native" / -->
</packages>

So I don't understand why I don't have the good design.

What's your JSX like? Make sure you are using NavigationView from WinUI, not the plain one (as that uses system xaml).
i.e. <WinUI.NavigationView ...>

What's your JSX like? Make sure you are using NavigationView from WinUI, not the plain one (as that uses system xaml).
i.e. <WinUI.NavigationView ...>

Interesting. I didn't realize that the styling for NavView wasn't just a style change via generic.xaml, but required that you use the different namespaced control.
If you look at the example in react-native-gallery it does not include the WinUI. namespace prefix. I'm not seeing the rounded NavView items in the current gallery version (@chiaramooney FYI) even though it does pull in the XamlControlResources in App.xaml.

yeah that's because we added the react-native-xaml controls to gallery before I added the "use winui 2.x" feature to the react-native-xaml codegen :)

My bad. This is it. Before I use the plain NavigationView. Not the WinUI.NavigationView. So it is why.
Thanks for your time and patient!
Maybe you can help, I don't how to set an Icon now. Seems different than with the "legacy" NavigationViewItem. I have try this but don't work.
<WinUI.NavigationViewItem content={{string: 'Tableau de bord'}} icon={{string: 'Home'}}>
        </WinUI.NavigationViewItem>

Nior
<WinUI.NavigationViewItem content={{string: 'Clients'}}>
          <FontIcon glyph="" />
        </WinUI.NavigationViewItem>

Maybe you can help, I don't how to set an Icon now. Seems different than with the "legacy" NavigationViewItem. I have try this but don't work.
<WinUI.NavigationViewItem content={{string: 'Tableau de bord'}} icon={{string: 'Home'}}>
        </WinUI.NavigationViewItem>

The NavigationViewItem.Icon is supposed to take a value from the Symbol enumeration. Is the conversion from string "Home" to Symbol working?
Can you inspect your UI with the Live Visual Tree and see if you're getting the NavigationViewItems you expect?

@Brouilles the fact that it crashes when setting an icon is a bug, fix is in #124


Experiment: saving SQLite connection to a file

Can we dump an open SQLite connection to a file? Figure it out and create a prototype.
For file-backed DBs we could always flush/close the connection and copy the underlying file. But it would be best to be able to do this without having to close the connection.
For in-memory DBs, having this ability could be useful. See if it's possible.

Can we use this https://www.sqlite.org/backup.html through the JDBC driver somehow?


Apparently I've been removed as maintainer

@conda-forge-admin I received a mail informing me You’ve been removed from the bar_chart_race team on the conda-forge organization. I wrote the first recipe and I added @tdpetrou as maintainer as he is the author of the code. I'd like to know why I've been removed and if it's possible to revert.

Hey Roberto,
I have no idea why that would be the case. You'll have to contact the
conda-forge maintainers for an answer.
Hope all is well,
Ted
On Sun, Aug 9, 2020 at 1:49 PM Roberto Panai<EMAIL_ADDRESS>wrote:

@conda-forge-admin https://github.com/conda-forge-admin I received a
mail informing me You’ve been removed from the bar_chart_race team on
the conda-forge organization. I wrote the first recipe and I added
@tdpetrou https://github.com/tdpetrou as maintainer as he is the author
of the code. I'd like to know why I've been removed and if it's possible to
revert.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/conda-forge/bar_chart_race-feedstock/issues/5, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABXEK7ZTYXLUGA5I4NI6IE3R73OSBANCNFSM4PZJNFRQ
.

@tdpetrou it looks like in this commit i was removed as maintainer. Funnily enough it was me that then merged to master that commit. @conda-forge-coordinator how can we revert this?

So the admin and coordinator users are bots. To get added back, any of the current maintainers can add your GitHub username to the recipe in a pr. Once that pr is merged, our bots will add you back.


Running into an issue with evaluating the model

I'm running your example as a demo and it keeps failing whenever I introduce evaluation to the training.
I get the following error:
TypeError: _eval_predictions() missing 1 required positional argument: 'predictions'

Traceback (most recent call last):File "/opt/conda/lib/python3.6/site-packages/torch/multiprocessing/spawn.py", line 20, in _wrapfn(i, *args)File "/opt/conda/lib/python3.6/site-packages/detectron2/engine/launch.py", line 94, in _distributed_workermain_func(*args)File "/opt/ml/code/training.py", line 172, in _train_implTrainer.test(cfg, model, evaluator)File "/opt/conda/lib/python3.6/site-packages/detectron2/engine/defaults.py", line 552, in testresults_i = inference_on_dataset(model, data_loader, evaluator)File "/opt/conda/lib/python3.6/site-packages/detectron2/evaluation/evaluator.py", line 182, in inference_on_datasetresults = evaluator.evaluate()File "/opt/conda/lib/python3.6/site-packages/detectron2/evaluation/coco_evaluation.py", line 175, in evaluateself._eval_predictions(predictions, img_ids=img_ids)

--
Have you ran into this issue?

Hi @jaddoescad ! were you able to solve the issue?

having same issue for me

Hello, I have just executed the training session of the notebook demo and the training job was successful. Could please share here your changes if any and the CloudWatch log of the failing job?

2021-04-26T22:31:48.654+03:00
#011nonzero(*, bool as_tuple) (Triggered internally at /pytorch/torch/csrc/utils/python_arg_parser.cpp:766.) num_fg = fg_inds.nonzero().numel()

2021-04-26T22:31:48.654+03:00
/opt/conda/lib/python3.6/site-packages/detectron2/modeling/roi_heads/fast_rcnn.py:103: UserWarning: This overload of nonzero is deprecated:

2021-04-26T22:31:48.654+03:00
#011nonzero()

2021-04-26T22:31:48.654+03:00
Consider using one of the following signatures instead:

2021-04-26T22:31:48.654+03:00
#011nonzero(*, bool as_tuple) (Triggered internally at /pytorch/torch/csrc/utils/python_arg_parser.cpp:766.) return start_processes(fn, args, nprocs, join, daemon, start_method='spawn') File "/opt/conda/lib/python3.6/site-packages/torch/multiprocessing/spawn.py", line 158, in start_processes while not context.join(): File "/opt/conda/lib/python3.6/site-packages/torch/multiprocessing/spawn.py", line 119, in join raise Exception(msg)

2021-04-26T22:31:48.654+03:00
Exception:

2021-04-26T22:31:48.654+03:00Copy-- Process 0 terminated with the following error:
-- Process 0 terminated with the following error:

2021-04-26T22:31:48.654+03:00CopyTraceback (most recent call last):  File "/opt/conda/lib/python3.6/site-packages/torch/multiprocessing/spawn.py", line 20, in _wrap    fn(i, *args)  File "/opt/conda/lib/python3.6/site-packages/detectron2/engine/launch.py", line 94, in _distributed_worker    main_func(*args)  File "/opt/ml/code/training.py", line 172, in _train_impl    Trainer.test(cfg, model, evaluator)  File "/opt/conda/lib/python3.6/site-packages/detectron2/engine/defaults.py", line 552, in test    results_i = inference_on_dataset(model, data_loader, evaluator)  File "/opt/conda/lib/python3.6/site-packages/detectron2/evaluation/evaluator.py", line 182, in inference_on_dataset    results = evaluator.evaluate()  File "/opt/conda/lib/python3.6/site-packages/detectron2/evaluation/coco_evaluation.py", line 175, in evaluate    self._eval_predictions(predictions, img_ids=img_ids)
Traceback (most recent call last): File "/opt/conda/lib/python3.6/site-packages/torch/multiprocessing/spawn.py", line 20, in _wrap fn(i, *args) File "/opt/conda/lib/python3.6/site-packages/detectron2/engine/launch.py", line 94, in _distributed_worker main_func(*args) File "/opt/ml/code/training.py", line 172, in _train_impl Trainer.test(cfg, model, evaluator) File "/opt/conda/lib/python3.6/site-packages/detectron2/engine/defaults.py", line 552, in test results_i = inference_on_dataset(model, data_loader, evaluator) File "/opt/conda/lib/python3.6/site-packages/detectron2/evaluation/evaluator.py", line 182, in inference_on_dataset results = evaluator.evaluate() File "/opt/conda/lib/python3.6/site-packages/detectron2/evaluation/coco_evaluation.py", line 175, in evaluate self._eval_predictions(predictions, img_ids=img_ids)

2021-04-26T22:31:48.654+03:00CopyTypeError: _eval_predictions() missing 1 required positional argument: 'predictions'  num_fg = fg_inds.nonzero().numel()
TypeError: _eval_predictions() missing 1 required positional argument: 'predictions' num_fg = fg_inds.nonzero().numel()

2021-04-26T22:31:48.654+03:00Copy/opt/conda/lib/python3.6/site-packages/detectron2/modeling/roi_heads/fast_rcnn.py:103: UserWarning: This overload of nonzero is deprecated:
/opt/conda/lib/python3.6/site-packages/detectron2/modeling/roi_heads/fast_rcnn.py:103: UserWarning: This overload of nonzero is deprecated:

2021-04-26T22:31:48.654+03:00Copy#011nonzero()
#011nonzero()

2021-04-26T22:31:48.654+03:00CopyConsider using one of the following signatures instead:
Consider using one of the following signatures instead:

2021-04-26T22:31:48.654+03:00Copy#011nonzero(*, bool as_tuple) (Triggered internally at  /pytorch/torch/csrc/utils/python_arg_parser.cpp:766.)  num_fg = fg_inds.nonzero().numel()
#011nonzero(*, bool as_tuple) (Triggered internally at /pytorch/torch/csrc/utils/python_arg_parser.cpp:766.) num_fg = fg_inds.nonzero().numel()

2021-04-26T22:31:48.655+03:00CopyTraceback (most recent call last):  File "training.py", line 459, in     train(_parse_args())  File "training.py", line 206, in train    args=(args,),  File "/opt/conda/lib/python3.6/site-packages/detectron2/engine/launch.py", line 59, in launch    daemon=False,  File "/opt/conda/lib/python3.6/site-packages/torch/multiprocessing/spawn.py", line 200, in spawn    return start_processes(fn, args, nprocs, join, daemon, start_method='spawn')  File "/opt/conda/lib/python3.6/site-packages/torch/multiprocessing/spawn.py", line 158, in start_processes    while not context.join():  File "/opt/conda/lib/python3.6/site-packages/torch/multiprocessing/spawn.py", line 119, in join    raise Exception(msg)
Traceback (most recent call last): File "training.py", line 459, in  train(_parse_args()) File "training.py", line 206, in train args=(args,), File "/opt/conda/lib/python3.6/site-packages/detectron2/engine/launch.py", line 59, in launch daemon=False, File "/opt/conda/lib/python3.6/site-packages/torch/multiprocessing/spawn.py", line 200, in spawn return start_processes(fn, args, nprocs, join, daemon, start_method='spawn') File "/opt/conda/lib/python3.6/site-packages/torch/multiprocessing/spawn.py", line 158, in start_processes while not context.join(): File "/opt/conda/lib/python3.6/site-packages/torch/multiprocessing/spawn.py", line 119, in join raise Exception(msg)

2021-04-26T22:31:48.655+03:00CopyException:
Exception:

2021-04-26T22:31:48.655+03:00
-- Process 0 terminated with the following error:

2021-04-26T22:31:48.655+03:00CopyTraceback (most recent call last):  File "/opt/conda/lib/python3.6/site-packages/torch/multiprocessing/spawn.py", line 20, in _wrap    fn(i, *args)  File "/opt/conda/lib/python3.6/site-packages/detectron2/engine/launch.py", line 94, in _distributed_worker    main_func(*args)  File "/opt/ml/code/training.py", line 172, in _train_impl    Trainer.test(cfg, model, evaluator)  File "/opt/conda/lib/python3.6/site-packages/detectron2/engine/defaults.py", line 552, in test    results_i = inference_on_dataset(model, data_loader, evaluator)  File "/opt/conda/lib/python3.6/site-packages/detectron2/evaluation/evaluator.py", line 182, in inference_on_dataset    results = evaluator.evaluate()  File "/opt/conda/lib/python3.6/site-packages/detectron2/evaluation/coco_evaluation.py", line 175, in evaluate    self._eval_predictions(predictions, img_ids=img_ids)
Traceback (most recent call last): File "/opt/conda/lib/python3.6/site-packages/torch/multiprocessing/spawn.py", line 20, in _wrap fn(i, *args) File "/opt/conda/lib/python3.6/site-packages/detectron2/engine/launch.py", line 94, in _distributed_worker main_func(*args) File "/opt/ml/code/training.py", line 172, in _train_impl Trainer.test(cfg, model, evaluator) File "/opt/conda/lib/python3.6/site-packages/detectron2/engine/defaults.py", line 552, in test results_i = inference_on_dataset(model, data_loader, evaluator) File "/opt/conda/lib/python3.6/site-packages/detectron2/evaluation/evaluator.py", line 182, in inference_on_dataset results = evaluator.evaluate() File "/opt/conda/lib/python3.6/site-packages/detectron2/evaluation/coco_evaluation.py", line 175, in evaluate self._eval_predictions(predictions, img_ids=img_ids)

2021-04-26T22:31:48.655+03:00CopyTypeError: _eval_predictions() missing 1 required positional argument: 'predictions'
TypeError: _eval_predictions() missing 1 required positional argument: 'predictions'

The only change is the augmented training set, the rest are default, I have tried both the 'fast' and 'coco' evaluations, it calculates the val losses and fails the job.
We've also built and pushed the image from EC2, as it was throwing insufficient memory issues on sagemaker.

The release of detectron2 version 0.4 upgrade caused evaluation to break because the signature of _eval_predictions changed. I solved in commit e65a32e:

Update the signature of D2CocoEvaluator._eval_predictions
Specify Detectron2 0.4 in Docker files

As for memory issues in SageMaker, you can increase the size of the EBS volume attached to your notebook instance.


[6.0] Merge changes from main

We have made many low-risk fixes on sourcekit-lsp’s main branch last week. Cherry-pick them to release/6.0
PRs:

#1145
#1144
#1143
#1141
#1140
#1132
#1138
#1137
#1136
#1124
#1126
#1133
#1134
#1135

@swift-ci Please test


App not working on my Android as previously builds worked

Since This build. The app completely won't open.
https://del.dog/ninudexori

Same issue, but works after reinstall

Yep but local favorites will be gone if I reinstall

That's it. Keep the good work Dar9586, Greetings.


Support ".mdx" file extension for Markdown preview.

Currently Markdown preview works with *.md files.
It would be great to support .mdx file extension as well, as it's commonly used to blend JSX with Markdown.
Read more:
https://mdxjs.com/
Mentioned it in #5432

If you'd like to see this feature implemented, add a 👍 reaction to this post.

That kind of .mdx file has a very narrow consumer group. The .mdx extension is already in use for Daemon Tools disc images.

how would you want this rendered?  like, if the file was renamed to just .md, would how that would render right now be 'good enough'?

how would you want this rendered?

I don't have any preference, I think existing rendering solution would suffice.

@kubawolanin can you provide an example file?


Beckn-gemini-bot - Enhancements

Description
Enhance the existing AI bot Lisa in Beckn-Gemini with several key improvements. These enhancements will make Lisa more robust, flexible, and capable of handling various user inputs while maintaining the context of the conversation. The following features are to be implemented:

Switching Between Flow Without Breaking: The bot should allow users to switch between different conversation flows without disrupting the ongoing flow. For instance, while in the consumer flow, users can ask unrelated questions, and the bot will handle them while returning to the original flow. 117

Adding Retrial Mechanism in Case of Failure: Implement a mechanism where the bot retries certain actions in case of errors or failures in the API/model, ensuring a more reliable experience and reducing disruptions in conversation 116.

Adding Support for Voice/Image/Video Input: Since Lisa is designed to be multimodal, the bot should support voice, image, and video inputs. Users should be able to switch between these input modes at any point in the conversation. 115

Controlling JSON/Code Output: Prevent the bot from returning JSON objects, variable names, or code snippets as responses, ensuring that all outputs are user-friendly and conversational. 114

Preserving Chat Context: The bot should preserve the context of conversations across multiple interactions, allowing users to ask follow-up questions without having to restate their previous input. 113

Goals

[ ] Enable the bot to switch between different conversation flows without breaking the original flow.
[ ] Implement a retrial mechanism to recover from API/model errors or failures.
[ ] Add support for multimodal inputs (voice, image, video) to allow flexible user interactions.
[ ] Ensure that the bot does not return JSON objects or code snippets in its responses.
[ ] Preserve conversation context so the bot can handle follow-up questions without losing the thread of the previous conversation.

Expected Outcome

A more robust and flexible AI bot that can handle flow switching, multimodal inputs, and retry mechanisms.
Improved user experience by ensuring that the bot can recover from errors and respond contextually without exposing internal code or logic.
Users will have the ability to engage with the bot using different input formats (voice, image, video) and expect consistent responses.

Acceptance Criteria

[ ] The bot successfully allows users to switch between conversation flows without breaking the original flow.
[ ] The retrial mechanism is implemented and works to handle API/model failures.
[ ] The bot supports voice, image, and video inputs and can respond accordingly.
[ ] JSON objects or code snippets are never returned in responses, ensuring conversational outputs.
[ ] The bot preserves the context of previous conversations, enabling smooth follow-up queries.

Mockups / Wireframes
NA
Product Name
Beckn-Gemini Bot (Lisa)
Domain
Conversational AI / Multimodal Input / Error Handling
Tech Skills Needed

Conversation Flow Management
Multimodal Input Processing (Voice, Image, Video)
Error Handling and Retry Mechanism
Context Preservation in AI
JavaScript/TypeScript (or relevant language)

Complexity
High
Category
Bot Enhancement
Sub Category
Multimodal Interaction / Error Handling / Context Management
Project View
Beckn-Gemini Bot
Project Name
Beckn-Gemini Bot Enhancements

Current Progress

@shreyvishal has started exploring blogs/documentation for preserving chat context
Had a session with monojith on the correct approach
Did a POC for preserving context

Next Step

To demonstrate the POC, on 14th October'24
Proceed to incorporate the changes in the existing codebase
Move to next point

Current Progress

@shreyvishal  completed POC for preserving chat context
2.@ankitShogun initialized langraph framework to the transactional_ai_bap project

Next Step

Need some questions to be answered by ravi, post that team can work on integrating langraph framework with the ai bot


[BUG?] Resulting images broken

I don't know what exactly happened but the resulting images got completely broken in ansible/ansible-lint repo.
Context:

https://github.com/ansible/ansible-lint/pull/416
https://github.com/ansible/ansible-lint/issues/435
https://github.com/ansible/ansible-lint/pull/437

Maybe you could figure out what was that from logs or so.

Hey thanks for reporting this!
I just forked the project and reproduced the same outcome. Something strange for sure.
https://github.com/dabutvin/ansible-lint/pull/1/files
I wonder if there is a way we can detect this in the code here when it happens or if ImageMagick had any idea it was creating corrupted files.

Maybe try loosely comparing images?


Updated code to use C++11 regex and ditch SLRE

Unit tests should be written, but I've done some cursory tests on my computer, and corrected some small bugs in basic_string.


Poll system for new-member voting

A poll system for outfit-related decision-making, like voting in new members.
A logged-in user should be able to navigate to a page for creating a custom poll. Polls will have the following properties:

A title/prompt describing what the poll is for.
A multiple-choice response and/or an essay response text-box (either one, or both).
An option for the poll-maker to only allow logged-in users to vote.
An option for the poll-maker to whitelist certain user IDs for voting.
An option for the poll-taker to vote anonymously (only available if the poll-maker did not use the two options above.)

The poll-maker will be able to view the results as they come in, and a poll-taker can view the results after voting (but cannot see who voted for what.)
This is the MVP for now - more functionality like Discord integration (voting via Discord application commands), linking users to an outfit and whitelisting them to a poll automatically, poll expiration times, etc. could be prompted in future issues.
@dm0896665 Does this look good to you? Anything to add/change?

I think this looks good, I honestly really like the quick vote through discord option, but could be rough for longer polls, not sure though.


[BUG] When the gltFast project hits its Git LFS limit, the MRTK3 sample project fails to work

Describe the bug
A fresh clone of MRTK3 main branch repo fails to load in Unity Editor with Unity Package Manager Error shown next:

To reproduce

Clone MRTK3 main branch locally
Use Unity Hub to add project located in <REPO_ROOT>\UnityProjects\MRTKDevTemplate
See error

Expected behavior
After Step 2, Unity Editor should open, import packages, without displaying any Unity Package Manager Error.
Screenshots

Your setup (please complete the following information)

Unity Version 2021.3.21f1
MRTK Version: 3 or Commit [e.g. v3.0] [e.g. 3aa92c5]

Target platform (please complete the following information)

Windows 11 Desktop

Additional context
It seems that a package from https://github.com/atteneder/glTFast is registered in the package manager.

This in some way is an external issue.   We can look at updating the sample to Unity gltf plugin instead, which wouldn't have the same issues.

Won't fix because:

We lack the resources to exhaustively test the proposed fix in all devices where MRTK3 is deployed and Qualcomm has suggested to test the proposed fix on their devices.
The issue is known and accepted.
For historical reference:  The PR that was proposing a solution is this one: https://github.com/MixedRealityToolkit/MixedRealityToolkit-Unity/pull/631

Re-opening to continue tracking. Assigning to myself.


all: harmonise APIs across all packages

There is a low level of variety in the conventions we use across the different repos. We should take the opportunity when merging repos and the concomitant breakage that comes with that to fix these into a smaller number of consistent conventions.
For example (feel free to add more):

[ ] https://github.com/gonum/matrix/pull/436
[ ] https://github.com/gonum/stat/issues/179
[ ] https://github.com/gonum/stat/pull/170
[ ] https://github.com/gonum/matrix/issues/403

There are a bunch of API changes we've discussed. Would you like me to add them here, or should they be different issues?

This is an aggregator for issues that exist in the other repos. If you have issues that exist (or you are writing) and need to be addressed after the merge, then this is the right place to remind us about them. I avoided writing issues here because there is nothing code here to have issues yet.
I don't recall the exact changes, but if they exist in particular repo, write the issue there and link here. If they are general things, write a new issue here.

Using this to keep track of the major changes

[] Moved import paths to gonum.org/v1/gonum/pkg
[] Moved c-wrappers for BLAS and Lapack out of main repository into gonum.org/v1/netlib/pkg
[] Plot still it's own repository (not a change, but important to note)

Looks like these are all done. Agreed @kortschak ?

Seems so.


Fix #15965 - Remove desktop app deep link on quit

Details

This PR adds a callback to the Electron app when it is about to quit. The callback un-registers the electron app as default protocol client.
Fixed Issues

$ https://github.com/Expensify/App/issues/15965
PROPOSAL: https://github.com/Expensify/App/issues/15965#issuecomment-1483182952
Tests

Install the New Expensify Desktop app on your machine.
Start the local electron app by running npm run desktop.
Open any web browser and enter: new-expensify://test.
Verify that the browser shows a prompt mentioning Open with Electron App.
Close the local Electron app and re-enter new-expensify://test in the browser.
Verify that the browser shows a prompt mentioning Open with New Expensify App.

[x] Verify that no errors appear in the JS console

Offline tests

N/A
QA Steps

Install the New Expensify Desktop app on your machine.
Start the local electron app by running npm run desktop.
Open any web browser and enter: new-expensify://test.
Verify that the browser shows a prompt mentioning Open with Electron App.
Close the local Electron app and re-enter new-expensify://test in the browser.
Verify that the browser shows a prompt mentioning Open with New Expensify App.

[x] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android / native
[x] Android / Chrome
[x] iOS / native
[x] iOS / Safari
[x] MacOS / Chrome / Safari
[x] MacOS / Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method
[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is correct English and approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If a new component is created I verified that:

[x] A similar component doesn't exist in the codebase
[x] All props are defined accurately and each prop has a /** comment above it */
[x] The file is named correctly
[x] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[x] The only data being stored in the state is data necessary for rendering and nothing else
[x] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[x] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[x] All JSX used for rendering exists in the render method
[x] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)

[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] I have checked off every checkbox in the PR author checklist, including those that don't apply to this PR.

Screenshots/Videos

Web

Mobile Web - Chrome

Mobile Web - Safari

Desktop

https://user-images.githubusercontent.com/30054992/228371727-0adb0c32-6600-4a9f-bfc0-6db2dd09806e.mp4

iOS

Android

@allroundexperts is this ready for my review?

All you @eVoloshchak. Testing should be pretty easy since this is only relevant to Desktop.

Reviewer Checklist

[ ] I have verified the author checklist is complete (all boxes are checked off).
[ ] I verified the correct issue is linked in the ### Fixed Issues section above
[ ] I verified testing steps are clear and they cover the changes made in this PR

[ ] I verified the steps for local testing are in the Tests section
[ ] I verified the steps for Staging and/or Production testing are in the QA steps section
[ ] I verified the steps cover any possible failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[ ] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)

[ ] I checked that screenshots or videos are included for tests on all platforms
[ ] I included screenshots or videos for tests on all platforms
[ ] I verified tests pass on all platforms & I tested again on:

[ ] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[ ] MacOS / Chrome / Safari
[ ] MacOS / Desktop

[ ] If there are any errors in the console that are unrelated to this PR, I either fixed them (preferred) or linked to where I reported them in Slack
[ ] I verified proper code patterns were followed (see Reviewing the code)

[ ] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick).
[ ] I verified that comments were added to code that is not self explanatory
[ ] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[ ] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method
[ ] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[ ] I verified any copy / text that was added to the app is correct English and approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[ ] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[ ] I verified the JSDocs style guidelines (in STYLE.md) were followed

[ ] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[ ] I verified that this PR follows the guidelines as stated in the Review Guidelines
[ ] I verified other components that can be impacted by these changes have been tested, and I retested again (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar have been tested & I retested again)
[ ] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[ ] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[ ] If a new component is created I verified that:

[ ] A similar component doesn't exist in the codebase
[ ] All props are defined accurately and each prop has a /** comment above it */
[ ] The file is named correctly
[ ] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[ ] The only data being stored in the state is data necessary for rendering and nothing else
[ ] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[ ] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[ ] All JSX used for rendering exists in the render method
[ ] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[ ] If any new file was added I verified that:

[ ] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[ ] If a new CSS style is added I verified that:

[ ] A similar style doesn't already exist
[ ] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)

[ ] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[ ] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[ ] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[ ] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[ ] I have checked off every checkbox in the PR reviewer checklist, including those that don't apply to this PR.

Screenshots/Videos

Web

Mobile Web - Chrome

Mobile Web - Safari

Desktop

iOS

Android

Cool, good point about the QA. I marked it [No QA] and removed the QA steps from the description.

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by https://github.com/neil-marcellini in version: 1.2.93-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
failure ❌

🚀 Deployed to production by https://github.com/thienlnam in version: 1.2.93-4 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Trigger ALL sticky events on registerSticky()

It would be great if registerSticky() method trigger ALL sticky events current class is subscribed to. My case: activity (sender), and fragment (built into layout) inside it (receiver). Activity sends bunch of events from onCreate, but, of course, they should be posted as sticky as there still no live fragment.
When fragment is fully created it is registered to the EventBus, but now I have to check if there are sticky events for ALL event types this fragment is subscribed to. Very ugly.
It would be much better if registerSticky() trigger delivery of all sticky events sent to current class.

I agree, It would be useful.

I agree too! If  only the last sticky event delivered to the subscriber, it means sometimes maybe miss some useful event!

+1

Meaning, keeping a queue of sticky event per event class.
And then, we would need, methods for

clearing this queue (per event class)
get all events
get last event

Does anyone knows of a fork based on version 3 that implemented this ?

Or maybe, just keep a counter of how many sticky events were fired, until
a subscriber subscribed to this event class instance.
So, saving only the last one, BUT knowing there were more, a user can decide
to take some extra steps in, say, refreshing a view.

Sounds to me like you need proper persistence (a queue), like a log file or database. Or as said above, create an in-memory queue that you access if required. -ut

Yes, i started a few commits on my fork. After i create something that works, I will post it here, or create a pull request. So If it is in compliance with your code, other may benefit from it.


TypeError: locales[locale] is not a function

Describe the bug
When viewing a page using a locale that is not the default locale, I get this error:
node_modules/next-international/dist/app/server/index.js (180:61) @ eval
 ⨯ TypeError: locales[locale] is not a function
    at Generator.next (<anonymous>)
    at new Promise (<anonymous>)
    at OverviewLayout (house/[id]/overview/layout.tsx:23:85)
    at async Promise.all (index 0)
    at async Promise.all (index 0)
    at async Promise.all (index 0)

This also happens when I try to use the getI18n function in the generateMetadata function in order to translate the page title
To Reproduce
Steps to reproduce the behavior:

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

Expected behavior
Shouldn't get an error, should just translate the page correctly as it does with the default locale.
Screenshots
If applicable, add screenshots to help explain your problem.

About (please complete the following information):

next-international version [1.1.2-rc.1]
Next.js version [e.g. 13.5.4]

Additional context
Add any other context about the problem here.

To Reproduce
Steps to reproduce the behavior:
Go to '...'
Click on '....'
Scroll down to '....'
See error

I cannot help without a reproduction, as this error doesn't happen in the example or the CodeSandbox. Please provide a repository or Stackblitz/CodeSandbox so we can look into that.
It might also be related to https://github.com/QuiiBz/next-international/issues/219 or https://github.com/QuiiBz/next-international/issues/193 (specifically https://github.com/QuiiBz/next-international/issues/193#issuecomment-1733918687)

I am getting the same issue

Update, I fixed it.
For my case i was using fallbackLocale so i had to remove that and add locale to it.

That fixed everything.
Please look into this
https://next-international.vercel.app/docs/app-setup#move-your-existing-files @stefanlogue

See the migration guide in the release note for 1.1.0: https://github.com/QuiiBz/next-international/releases/tag/1.1.0 (Support Static Rendering in nested Client Components)


Invoice Types do not seem accurate.

For this specific S/O question, our spec says there can be 8 enums, but old docs just had the two.. (which looks correct)
I tested trying to create with a few of those 6/8, got:
"Message": "Invoice not of valid type for creation"

Queried all demo company Invoice types, getting only:
"Type": "ACCREC",
"Type": "ACCPAY",

https://stackoverflow.com/questions/67986653/xero-invoice-types

Expected Behavior

Expect the OAS to only have the Invoice types declared that are possible and expected
Expect the core Xero docs (built from this spec) to accurately show descriptions for each invoice type.

Current Behavior

types have no descriptions
types don't seem accurate for Invoices

Possible Solution
Lots of talk in the OAS work about this. Need to investigate.

https://github.com/json-schema-org/json-schema-spec/issues/1062

Attaching Enum descriptions all throughout the spec.

Another example is that the descriptions of the UK payroll enums were never represented in the spec.
Once we surface descriptions clearly in the new docs, this solve should be as simply as porting to the OAS the legacy desc's.


Import tensorflow ,Kernel died,restarting

System information

OS Platform and Distribution (Windows 10):
**TensorFlow installed from :pip3
**TensorFlow version :1.5
**Python version: 2.7.14
**GPU model and memory: Nvidia GT540M 1GB

Describe the problem
On importing tensorflow i get this error. Downgraded to 1.5 still the same error as on the lastest version.

Spyder and Jupyter both result in the same error

Install a lower version of tensorflow, It works for me.

Got this error when i run the command:
Collecting ipykernal
Could not find a version that satisfies the requirement ipykernal (from versions: )
No matching distribution found for ipykernal

@yaskh Have you tried with a lower version of tensorflow ?

@yaskh There is also a possibility that the firewall/internet security is blocking the kernel to start. So can you stop the firewall and try it again. Please post your observation once done. Thank you !

Automatically closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks!

I have a version 1.5 of tensorflow(have downgraded it) and 3.3.1 of spyder.
I have tried updating the wait time to more than 60 seconds and also installed ipykernel and still the problem persists.
I am running anaconda on a 16GB DDR4 ram with i7-7500u processor machine

apple m1, when import tensorflow: dead kernel

same issue not able to solve it after 3 dayss


Some objects in the GChat template in README doesn't work

GoCD Version: 23.3.0 (16991-f38981e8aa684d63ac96f517996cd888eff37640).
Thanks for this plugin. I am trying it out. If I copy-paste the GChat template in README, there are errors.

It seems like the error is caused by ${serverInfo.secure_site_url}.

Thanks for the ticket! Probably some of the objects have changed in the meantime, so I'll need to consolidate.

Just out of curiosity, do you access your GoCD via HTTP or HTTPS?

I have tested with GoCD 23.4.0, it looks ok.
The serverInfo object comes from the server directly.
Please try the following and paste the results here:
GChat template:
<#list .serverInfo?keys as key>
  ${key}
</#list>

Condition for sending:
true

With this combination we'll get all keys of the serverInfo object with the next pipeline run.

I cannot press the Apply button.

Maybe I need to update my GoCD?

I haven't update my GoCD yet. Still at GoCD Version: 23.3.0 (16991-f38981e8aa684d63ac96f517996cd888eff37640).
Thank you for guiding me with patience. There is no errors now, but my result is different. I only have server_id.

Ok, then it is probably a bad idea to rely on secure_site_url when giving examples. It probably relies on certain server settings to be existing, and does not get transferred when they are missing.
I'll adapt the examples so the secure_site_url is optional and the template can live with that.

@Kotsuha I have adjusted the README.
You can try it yourself:
*Failed:* ${stageStatus.pipeline.group}/${stageStatus.pipeline.name}/${stageStatus.pipeline.stage.name} is ${stageStatus.pipeline.stage.state}, result ${stageStatus.pipeline.stage.result}
<#list stageStatus.pipeline.stage.jobs as job>
${job.name}: ${job.result} <#if serverInfo['secure_site_url']??><${serverInfo.secure_site_url}/go/tab/build/detail/${stageStatus.pipeline.name}/${stageStatus.pipeline.counter}/${stageStatus.pipeline.stage.name}/${stageStatus.pipeline.stage.counter}/${job.name}|console></#if>
</#list>

This is the example that does graceful degradation when the secure_site_url is not set.

You can try it yourself:

No errors now. Thanks!
Should I close this one?

Thanks for reporting


Destructuring argument with default does not work in generators

function *foo({bar=0}) {
    console.log(bar)
}

// should print 3, instead prints 0
foo({bar: 3}).next()

Nope, this is expected behaviour. Just because you have a destructuring parameter doesn't mean that it automatically defaults to an object.
function *foo({ bar = 0 } = {}) {
    console.log(bar)
}

I edited that example out pretty quickly, the first case is still wrong.

Variant of #617. Fixed in 3.3.1, thanks!


Varint enum tags and lengths

Resolves #157
Resolves #75
This is a continuation of PR #271 based on feedback in that PR. The primary change is to use a config option instead of a feature in order to use varint sequence lengths and discriminants.

@dtolnay can I get a review of this?

@dtolnay I thought based on #157 (which you opened) and #271 (which you seemed agreeable towards) that this PR would be a good fit for the library. It doesn't offer all of the configuration of #294 because IMO the amount of config in #294 is a bit of a footgun.

Codecov Report

Merging #306 into master will decrease coverage by 3.49%.
The diff coverage is 44.79%.

@@            Coverage Diff             @@
##           master     #306      +/-   ##
==========================================
- Coverage   63.18%   59.68%   -3.50%
==========================================
  Files           7        7
  Lines         622      697      +75
==========================================
+ Hits          393      416      +23
- Misses        229      281      +52

Impacted Files
Coverage Δ

src/config.rs
23.56% <26.08%> (+1.97%)
:arrow_up:

src/ser/mod.rs
76.44% <90.47%> (+0.16%)
:arrow_up:

src/de/mod.rs
77.14% <100.00%> (ø)

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 a8ce052...ece3a4e. Read the comment docs.

Hi! Is there anything blocking that to land?

@fabricedesre COVID, but also I'd like to add varint encoding forall integers.

When this PR will be accepted?

@Zaxar163 once we've worked out the kinks with signed number varints.

Hi. When will this be released as a crate?

Hi @alanjds this was release a few months ago as part of bincode 1.3


Remove version: Ditto.Ditto version <IP_ADDRESS>

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

Close with reason: URL works;


Exercise 3.8.2. What parameters to geom_jitter() control the amount of jittering?

This exercise asks about geom_jitter but your solutions use geom_point. While this is a way to achieve the same plots it is not the answer to the question and causes confusion as there is no clear way to see how you got from geom_jitter -> position_jitter. I propose the following edited code as more clear examples for this exercise.
Exercise 3.8.2. {.unnumbered .exercise}
What parameters to geom_jitter() control the amount of jittering?
From the position_jitter documentation, there are two arguments to jitter: width and height, which control the amount of vertical and horizontal jitter.
No horizontal jitter
ggplot(data = mpg, mapping = aes(x = cty, y = hwy)) +
geom_jitter(width = 0)
Way too much vertical jitter
ggplot(data = mpg, mapping = aes(x = cty, y = hwy)) +
geom_jitter(width = 0, height = 15)
Only horizontal jitter:
ggplot(data = mpg, mapping = aes(x = cty, y = hwy)) +
geom(height = 0)
Way too much horizontal jitter:
ggplot(data = mpg, mapping = aes(x = cty, y = hwy)) +
geom_jitter(height = 0, width = 20)

Looks good to me. Sorry about the confusion. It's old habits, since I was using ggplot2 since before geom_jitter() existed. I can add this, or do want to open a pull request?

Thanks!

Thank you. And please let me know if you have any more corections/suggestions. I know that there is much more that can be improved in them!

I can take notes as I find road blocks if you are interested. Like right now I am on exercise in arrange and the solutions use concepts not introduced until later chapters, like select and pipes. I have some familiarity with pipes so I recognize that is what you are using but others may not. So if you are interested in things like that I could just keep running notes and pass them on directly instead of going through stack exchange.
From: Jeffrey Arnold<EMAIL_ADDRESS>Sent: Thursday, August 30, 2018 10:41 AM
To: jrnold/r4ds-exercise-solutions<EMAIL_ADDRESS>Cc: carajoos<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [jrnold/r4ds-exercise-solutions] Exercise 3.8.2. What parameters to geom_jitter() control the amount of jittering? (#96)
Thank you. And please let me know if you have any more corections/suggestions. I know that there is much more that can be improved in them!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/jrnold/r4ds-exercise-solutions/issues/96#issuecomment-417365679 , or mute the thread https://github.com/notifications/unsubscribe-auth/AIeWqlerLPtvROS1RU85guJuW14_H5cVks5uWAd9gaJpZM4WSIzi .  https://github.com/notifications/beacon/AIeWqsNpp357fmEXSHrKufg5DJjTJllvks5uWAd9gaJpZM4WSIzi.gif

Like right now I am on exercise in arrange and the solutions use concepts not introduced until later chapters, like select and pipes

This would be really useful! Keeping track of what I know and what was introduced is something that I still find difficult. I wrote these solutions without the intent of them being distributed as widely as they are now, which meant I paid even less attention to that than I should have.
github issues like this are best. Don't worry about opening up too many of them, as long as they are clear (what you did with this one was more than sufficient).


Changing UI logo using MELTANO_UI_LOGO_URL doesn't change logo on login page

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/2181
Originally created by @al.whatmough on 2020-07-18 08:45:14

When the MELTANO_UI_LOGO_URL environment variable is set (https://meltano.com/docs/settings.html#ui-logo-url) it changes the logo at the top left of the UI. However, it doesn't change the logo on the login page when AUTHENTICATITON is set to 1.
It would be good if this setting changed the logo URL globally - I'm not sure if there are any other places where it's in use?

View 3 previous comments from the original issue on GitLab


Remove version: SmartSoft.SmartFTP version 10.0.3234.0

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

URL: https://static.smartftp.com/static/Products/Client/10.0.3234.0/x64/SmartFTP.msi
Response Error: The remote server returned an error: (404) Not Found.
(Automated message - build 912)


Add social media icon

Need to add social media icon on the below of button, it might be linkedin, instagram, facebook and twitter. Icon can be from material icon, simpleicons.org, etc. Please use white color for the icon.

Can I take this ?

Can I take this ?

Yes sure, thanks

I've done that in #22


[Enh] Labels polygon tool: use a setting for completion_radius, by default double-click always works.

References and relevant issues
Another part of addressing https://github.com/napari/napari/issues/6489
Description
In this PR I add a setting under Application for the labels polygon tool completion_radius. This is the maximum radius from the first vertex for double-click completion of the shape to work.
By default, I set this now to -1, which makes double-click always complete (treating it as infinite radius).
Then, in the overlay machinery, I add a method to get the value from the settings and if it's negative, set the distance to inf so that double-click to complete always works, just like for the Shapes layer.
In the process I discovered that the last vertex was being deleting. e.g it wasn't possible to make a triangle.
This was masked by the fact that last vertex had to be so close to first vertex, but now that you can double-click to complete anywhere it becomes apparent. So I've fixed that too, keeping the vertex from the double-click location, just like the Shapes layer polygon tool.

I was looking into adding the completion_radius (which I don't like, but whatever) to the Shapes polygon tool. But it doesn't appear to be possible without serious refactoring -- for the worse I think.
So I'm leaning towards moving this setting to Experimental changing the text to say Labels polygon tool.
Any thoughts?

Ok, I refactored a bit.
I was confused by the behavior of the old double_click_completion, so I made it more clear.
So now you can do:
viewer.layers['Labels']._overlays['polygon'].use_double_click_completion_radius = True
and then it will return the old behavior with the default radius of 20. You can do:
viewer.layers[0]._overlays['polygon'].completion_radius = 50
and that works.
And I moved the setting to Experimental, labeling it for Labels:

The lasso tool stuff is there for the time being too, so I think it makes sense.

I think "wasn't possible to make a triangle" is an exaggeration — you can make it, you just have to first single click the triangle vertex, then double click (anywhere) to finish. Playing around with it I agree that this was slightly unintuitive, but I think it was chosen because it's harder to be steady when double-clicking vs single-clicking. So I'm not 100% sure about the choice here...

... In fact, thinking more about it, I think that it should remain at 2-last-clicks-removed when the radius is positive: the point there is that by closing the polygon close to the initial vertex, you are signaling your intent that you want to go directly to that vertex, not add another vertex nearby.

@jni I can go with it -- done. But it will make trying to port this over to Shapes layer polygon tool even harder...