Structure disable mega list (includes Immersive Structures)

Key
🔴 - Shouldn't add
🟠 - Maybe add
🟣 - Shouldn't add but it looks cool so maybe add anyway :3
Immersive Structures
Namespace: imst

🟠 alpine_house - 25 blocks in length but a rare structure
🔴 bandit_camp - Too Large
🔴 beehouse - Too Large
🔴 cactus_farm - Too Large
🔴 caravan - Way too large, overhangs a lot
🟠 cocoa_farm - Large but generates in jungle biomes so well hidden
🟠 el_dorado - 25 x 25 so quite large
🔴 flowerdome - Too Large
🔴 igloo - Too Large
🟠 mountain_camp - Not that large but it spawns in a mountain so very likely to overhang
🟣 observatory - Large and common but it looks absolutely sick
🔴 pyramid - Large and It doesn't add much. Looks like Minecraft Desert Pyramid
🔴 rail_station - Absolutely Massive. Overhangs all the time
🔴 sunflower_farm - Too Large
🟠 viking_house - Large but it looks really good and has a rare chance of spawning

Phillips Ruins
Most of the structures are basically puzzle pieces so it would be very difficult to disable them all. Most of the structures overhang as well. Most of the single-piece dungeons are way too large. Suggested substitute: https://modrinth.com/datapack/dungeons-and-taverns
TODO: Arboria

nice work


ebiten: running a pulled iterator can crash the game

Ebitengine Version
52820e2b43903f5460f21f46eeb9038cd0973260
Operating System

[ ] Windows
[ ] macOS
[ ] Linux
[ ] FreeBSD
[ ] OpenBSD
[ ] Android
[ ] iOS
[ ] Nintendo Switch
[ ] PlayStation 5
[ ] Xbox
[ ] Web Browsers

Go Version (go version)
go version go1.23rc1 darwin/arm64
What steps will reproduce the problem?
Run this program with Go 1.23 (rc1):
package main

import (
	"iter"

	"github.com/hajimehoshi/ebiten/v2"
)

type Game struct {
	next func() (int, bool)
}

func (g *Game) Update() error {
	g.next()
	return nil
}

func (g *Game) Draw(screen *ebiten.Image) {
}

func (g *Game) Layout(outsideWidth, outsideHeight int) (screenWidth, screenHeight int) {
	return outsideWidth, outsideHeight
}

func main() {
	seq := func(yield func(int) bool) {
		for {
			if !yield(0) {
				break
			}
		}
	}
	next, _ := iter.Pull(seq)
	g := &Game{
		next: next,
	}
	if err := ebiten.RunGame(g); err != nil {
		panic(err)
	}
}

What is the expected result?
No crash
What happens instead?
Crash:
coro: got thread 0x14000100008, want 0x100cce260
coro: got lock internal 0, want 0
coro: got lock external 0, want 1
fatal error: coro: OS thread locking must match locking at coroutine creation

runtime stack:
runtime.throw({0x100a106ee?, 0x14000103dc0?})
        /Users/hajimehoshi/sdk/go1.23rc1/src/runtime/panic.go:1067 +0x38 fp=0x17167ae80 sp=0x17167ae50 pc=0x100812b38
runtime.coroswitch_m(0x14000103dc0?)
        /Users/hajimehoshi/sdk/go1.23rc1/src/runtime/coro.go:125 +0x46c fp=0x17167af00 sp=0x17167ae80 pc=0x1007ae0ec
runtime.mcall()
        /Users/hajimehoshi/sdk/go1.23rc1/src/runtime/asm_arm64.s:193 +0x54 fp=0x17167af10 sp=0x17167af00 pc=0x100818204
...

Anything else you feel useful to add?
Reported by @eihigh
If needed, let's backport the fix to 2.7

The problem is that Ebitengine calls LockOSThread in an internal init function, so the goroutine for the main function already locks an OS thread.
Actually, this works without crashing:
package main

import (
	"iter"

	"github.com/hajimehoshi/ebiten/v2"
)

type Game struct {
	next func() (int, bool)
}

func (g *Game) Update() error {
	g.next()
	return nil
}

func (g *Game) Draw(screen *ebiten.Image) {
}

func (g *Game) Layout(outsideWidth, outsideHeight int) (screenWidth, screenHeight int) {
	return outsideWidth, outsideHeight
}

func main() {
	var next func() (int, bool)
	ch := make(chan struct{})
	go func() {
		seq := func(yield func(int) bool) {
			for {
				if !yield(0) {
					break
				}
			}
		}
		next, _ = iter.Pull(seq)
		close(ch)
	}()
	<-ch
	g := &Game{
		next: next,
	}
	if err := ebiten.RunGame(g); err != nil {
		panic(err)
	}
}

Related: https://github.com/golang/go/issues/67694
We might not need LockOSThread for main. See https://github.com/golang/go/issues/64777#issuecomment-2163641860

Sorry, 3d385ef0aa9ec5dabb41076c79e1290c15da32a0 doesn't fix the issue.

I think this is not a fixable issue unless mainthread package is introduced... (golang/go#67694)


[FeatureRequest] Hide function shotcut/ Tasker supporr

Feature Description / 功能描述
A clear and concise description of what you want to happen. / 请描述你想建议加入的新功能
It would be great to  add tasker/macrodroid support, or a direct shortcut to the hide function (that can work with auto tasks apps)so it can be triggered when needed in a rush without noticing, thanks
Reason / 理由
Please describe why this feature should be added. / 请描述为什么应该加入这个功能。
Suggest Solution / 实现方案
(Optional) Possible ways to implement this feature / （可选）如果你已想出新功能的实现方案，请在这里写出。

Hey @MA9008
A cool suggestion! :laughing: However personally I'm not very familiar with tasker or Macrodroid - what shall I do to make them work together? Maybe I can set up an intent filter, so you can send an intent with your automation apps to trigger?

so it can be triggered when needed in a rush without noticing, thanks

Hey actually there is a new feature I'm working on currently called "Panic Button". When you are in the "unhide" state, Amarok will create a floating button on your screen, over other apps. And when you click the panic button, Amarok will hide all the stuff! I plan to roll out this feature soon, maybe in the next pre-release :smiley:

Hey @MA9008
I added a BroadcastReceiver. Try this CI version: f7688ff (Login to GitHub to open the link, or you'll get a 404)

Package: PackageID of Amarok, different versions have different IDs. For the CI build one: deltazero.amarok.foss.debug
Class: deltazero.amarok.ActionReceiver
Action:

deltazero.amarok.HIDE (hide)
deltazero.amarok.UNHIDE (unhide)

Instructions: macrodroid, tasker

I'd like to provide instructions in-app in the next major version.

That's great news, thank you.
I will try and report if there's any bug..

Could you give a snippet on how to trigger it from an android application?

@ironlungx Sure. Here is the snippet to trigger the hiding process:
Intent intent = new Intent();
intent.setAction("deltazero.amarok.HIDE");
sendBroadcast(intent);

See sending broadcasts section in the Android developer guide and our action receiver for reference.

thank you!

I'd like to provide instructions in-app in the next major version.

Doc added. Mark this issue complete :)


Use chat template

Since https://github.com/huggingface/swift-transformers/pull/104, it's now possible to use the chat template from tokenizer_config.json. I've updated LLMEval to use the chat template, but I noticed that the output from the Mistral models ends with <|im_end|>, even when this string is included in extraEOSTokens. Perhaps @pcuenca has an idea why this might be happening?

Using the chat templates with Llama 3.2 will result in an error until none and tojson are implemented in the Jinja package: https://github.com/maiqingqiang/Jinja/pull/4

Using the chat templates with Llama 3.2 will result in an error until none and tojson are implemented in the Jinja package: maiqingqiang/Jinja#4

OK, should we hold off on taking this until that is merged (and we can pick it up here)?

OK, should we hold off on taking this until that is merged (and we can pick it up here)?

Yes, since LLMEval includes model configs for Llama 3.2. In the meantime, this branch can be used to test Llama 3.2 with the work in progress on Jinja.

We had a similar issue with an EOS token at the end of the output of Gemma 2: https://github.com/ml-explore/mlx-swift-examples/issues/89
This shouldn't be appearing in the output if it's included in extraEOSTokens. Maybe it's an issue with the tokenizer?

Llama 3.2 1B and 3B and Mistral 7B now work with chat templates, thanks to the changes in swift-transformers and Jinja.


Remove blockquotes

Rebase bro!

They're all separate changes. You want to squash them?

Better 👍

But what about the agreement?
https://github.com/hemanth/functional-programming-jargon/blame/master/contributing.md#L20

I just wrote that styleguide. What's the discrepancy?

Parenthesis around function arguments

Need to keep the brackets for a single argument or not?

Git got mucked up. Going to reopen with a different branch


clear ambiguity about CDN usage

Make it clear how to use actual CND links.

Reasoning about the PR. I actually tried to use cdnjs and put short notation 1.9 to reference showndownjs file but it failed since it requires explicit full notation 1.9.0. At the other hand jsdlvr is smart enough and can handle any notation.

thank you. merged


Enable right click menu for Quest Tracker entries

Mostly for GM (changing quest status, copying links) but also for Players (marking quest as primary).
Small qol that removes one additional step that require you to one Quest Entry.

Thanks for the suggestion @happy-cujo! I got this in and it works great. Just as a note only GMs can set the primary quest; not players.

Released in 0.7.7


Fixed Maven Release

#180 - fix
AB#14447238
This PR fixes the right Maven version in Cloud Shell. Currently the maven and java for Cloud Shell is downloaded from CBL-D Quinault where the Maven version is outdated (3.6) which causes this issue.
The fix is to download the openjdk and download maven explicitly from Apache mirrors and set MAVEN_HOME and JAVA_HOME in the image itself as ENV vars.
Also the agent app.js script, actually sets JAVA_HOME to the directly where it found javac so the agent build might still override JAVA_HOME. This is fine because it points to the same location anyway.

So why are we creating a new file for this? Why not do it inline like most of the other installations?

So why are we creating a new file for this? Why not do it inline like most of the other installations?

Didn't feel good about the base image having a "pinned' version like 3.8.5 in it. So I thought let me just throw it inside a script.

So why are we creating a new file for this? Why not do it inline like most of the other installations?

Mostly because I didn't want to put a pinned release like 3.8.5 onto the base image. Can do inline too. Let me know if you prefer it inline.


Required manual data entry

Issues, and potential workflows
"Care of" for addresses:
--Encoder ctrl-F's the personography for "care of" and "c/o" and other variants.
--Encoder manually scrolls through entire first section of personography (people with cards--we don't have address info for people only in the logbooks) and makes sure they haven't missed anything.
--Encoder notes this in the database (since the handling of addresses is changing, we will need input from dev on how this will work).
Start-end dates for addresses:
--Ongoing research task
--There is no notation on the cards or in logbooks to directly indicate duration of addresses
--Research team will need to figure out how to reasonably prioritize this task; do we want to start with the most famous people, and work our way more obscure?

I've started a list of manual data entry needs above--Josh, do you have anything to add?

I'm moving this out of GitHub--I'll check out the "care-of" issue, but the start-end dates is something for the future.

Thanks @elspethgreen .  Subscription start date issue is now documented in #80.


Introduce "never-stale" label exemption to stalebot

Since stalebot will try to make stale and close issues/prs
that correlate with tanzu-framework tracking issues,
this introduces the use of "never-stale" to ignore those issues.
Details for the Release Notes (PLEASE PROVIDE)
stale-bot now ignores issues tracking tanzu-framework issues

Which issue(s) this PR fixes
N/a - followup to https://github.com/vmware-tanzu/community-edition/pull/2877
Describe testing done for PR
N/a wait and see what the action does
Special notes for your reviewer
N/a

Upstream uses lifecycle/frozen. Maybe we should do the same?

I'm up for that! I have no preference!
@joshrosso thoughts on the label name here?

Since we don't use the lifecycle/ prefix today, I recommend we don't introduce it. However, I'm open to it if ya'll wanna introduce and define the value of lifecycle/ in this project.

I'm not passionate either way; maybe in the future, as the need arises to introduce lifecycle/ labels, we can refactor this to include that label?

I think never-stale is good.


Downgrade ahash for wasm build

When running ./build_web.sh, I ran into the following errors:
error: target is not supported, for more information see: https://docs.rs/getrandom/#unsupported-targets
   --> /Users/sss/.cargo/registry/src/github.com-1ecc6299db9ec823/getrandom-0.2.0/src/lib.rs:224:9
    |
224 | /         compile_error!("target is not supported, for more information see: \
225 | |                         https://docs.rs/getrandom/#unsupported-targets");
    | |_________________________________________________________________________^

error[E0433]: failed to resolve: use of undeclared type or module `imp`
   --> /Users/sss/.cargo/registry/src/github.com-1ecc6299db9ec823/getrandom-0.2.0/src/lib.rs:246:5
    |
246 |     imp::getrandom_inner(dest)
    |     ^^^ use of undeclared type or module `imp`

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0433`.
error: could not compile `getrandom`.

To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: build failed

Seems like getrandom doesn't see wasm32-unknown-unknown as a valid target.
Dropping ahash, which has the getrandom dependency, to version 0.4.6 fixes this for now.

Thanks for noticing this!
Seems to me like two other things should also happen:

Open an issue for ahash
Run the web build on the CI so this doesn't happen again

I have also been thinking about making ahash an optional dependency (I only use it for a speed boost anyway).... just me thinking out loud :)

Issue filed to https://github.com/tkaitchuck/aHash/issues/59

Upgraded to ahash 0.5 in 8393d1df4714f82c813fe24242a51c8220038d2e


Validate chain ID in the config

It's possible that the chain ID in the Airseeker configuration to be wrong. This happened here.
The chain ID is used for internal purposes and should match the chain ID of the target chain (the ID that providers use).

I would propose just doing a one-time config validation where we would call the RPC providers for chain IDs.

What happens if they don't match though, WARN?

I wanted to error out. I think it's pretty serious if these don't match and most likely an human mistake.

This is still only a log that discards the provider, right?

No. I mean, it will be a validation error during configuration parsing and Airseeker will exit immediately. What I am saying is that this configuration parsing is the first thing Airseeker does and is done only once (so it's just 1 RPC call).

This will result in the user thinking that they have an Airseeker running even though they don't, we don't want this. If the user is expected to listen to error logs, we can just log an error and discard the provider. If the user sees it and fixes the issue, good, if not, everything else still runs.
It's not unheard of for an RPC provider to route the call to a node of the wrong blockchain, returning the wrong chain ID. They can even do it as an attack. Being able to take down the whole Airseeker this way is weird.

This will result in the user thinking that they have an Airseeker running even though they don't, we don't want this. If the user is expected to listen to error logs, we can just log an error and discard the provider. If the user sees it and fixes the issue, good, if not, everything else still runs.

This happens anyway. Airseeker validates the configuration and if there is an error the container stops. You should always check whether the service runs after deploying it. Btw. what you mention won't happen, because when you deploy and the service errors out, AWS will try to restart it (maybe a few times) and then fail the deployment.

It's not unheard of for an RPC provider to route the call to a node of the wrong blockchain, returning the wrong chain ID. They can even do it as an attack. Being able to take down the whole Airseeker this way is weird.

They would need to know exactly when you deploy Airseeker and the end result is deployment error which I consider a feature because it's a faulty provider which shouldn't be used.

I'm optimizing Airseeker for a multiple-chain incident that happens in the middle of the night and the behavior you describe has the potential to be extremely detrimental in some cases (for example where an RPC provider is acting up across multiple chains).
If the chain ID is wrong, log a WARN and discard the provider. What I say is technically the user requirements.

Superceded by https://github.com/api3dao/airseeker-v2/issues/154


ARROW-3610: [C++] Add interface to turn stl_allocator into arrow::MemoryPool

First outcome from PyConDE collaboration with @wolfv

The test failure is because I have removed the DCHECK from the MemoryPoolStats while I moved them to the header. As we don't allow DCHECK in the header, I'm currently tending to removing this test.

I think it's OK to remove that test

The "death test" is failing on AppVeyor.

AppVeyor partly succeeded here: https://ci.appveyor.com/project/xhochy/arrow/builds/20006144
Seems like there is some AppVeyor-internal problem currently.


De-couple wavelength calibration and spectrum extraction

Last week I used Goodman with an astronomer using a custom angle and could not run redspec. He pointed that it would be very useful to have the extracted spectrum even without wavelength calibrated. How easy/difficult is it to de-couple these two steps?

It is actually very easy, it was not implemented before because I was avoiding to create too many files. It would be good to know if it is necessary to have a command line argument for switching it on or off. I left it saving the extracted files all the time because 1D files are just 50K in size.

That's great! I believe we could keep the extracted files for now as it is.
My suggestion would, then, to have an argument in the command line that stops the program after extraction.

That's great!
So that is actually done. If you do not want to add an argument to stop the program after the extraction, is it possible to make it more obvious to the user that you saved the extracted spectrum?

It would be totally fine to add new arguments but eventually the amount will become very large.
Regarding the argument for stopping the program, do you mean preventing it from attempting to obtain a wavelength solution? I can do that but for now I would like to focus on the wavelength solution and the comparison library. Maybe another issue?
I don't have any simple idea regarding  informing the user other than printing a message (already done).

Since @simontorres made the extracted spectrum to be always written, I would close this issue. We just need the updated version at soardata3.

Agreed, The updated version is already installed on soardata3 using the virtual environment astroconda We can later create another issue/discuss how do we want to handle control over this feature.


Exam Mode: Refactor alert when registering instructors or admins

Checklist
General

[ ] I tested all changes and their related features with all corresponding user types on a test server.
[x] Language: I followed the guidelines for inclusive, diversity-sensitive, and appreciative language.
[x] I chose a title conforming to the naming conventions for pull requests.

Server

[x] I followed the coding and design guidelines.

Client

[x] I followed the coding and design guidelines and ensured that the layout is responsive.
[x] I added multiple screenshots/screencasts of my UI changes.

Motivation and Context

At the moment, it was not clear why there was an error in registering instructors or administrators for an exam.
Description

Added a new class: AccessForbiddenAlertException
Caught the exception on the client and provide an alert

We should think about to refactor the ErrorHandlerInterceptor in the future to avoid duplicated or similar alerts, but for the moment this should be okay.
Steps for Testing

Prerequisites:

1 Instructor
1 Exam

Log in to Artemis
Navigate to Exam Management
Try to register an instructor or admin
See the correct reason why action this is not successful

Please also verify that the change in ConflictException.java does not brake anything on the client :)
Review Progress

Code Review

[ ] Review 1
[ ] Review 2

Manual Tests

[ ] Test 1
[ ] Test 2

Screenshots

Before:

After:

@manuelmanso as described in the description this is currently intended and needs a refactoring of the ErrorHandlerInterceptor which is out of the scope of this bug fix. This PR fixes the artemisApp.exam.null alert :+1:

@manuelmanso i implemented a workaround - this should now prohibit duplicated forbidden responses with custom identifier key :+1:


doc nge vs lt

document why a person would use negated comparisons.

Alright we're gonna close this because there's no arg order subtlety like was first thought.


Migrate jobmanager from jekyllbuilder project

Add job manager
fix linting errors

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 134 (0.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-20.3%) to 48.115%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/jobmanager/jobmanager.go
0
134
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
-20.3%

Covered Lines:
217

Relevant Lines:
451

💛  - Coveralls


Use OsString instead of String so that paths are actually represented correctly

Fixes #42

IMO OsString is the objectively correct type to use:

OS-independent, unlike PathBuf
Supports non-UTF-8 characters properly

The bad news is even though this is an absolutely mandatory change to do (since keeping string paths is strictly not an option), it's undoubtedly a breaking change, so if the project's maintainers want to follow semver, a 3.0.0 version bump will be needed

I can testify to this functioning correctly at least on SFTP client because the suite of 24 tests that cover the vast majority of the russh-sftp API pass:
https://github.com/kanpov/remoteify/blob/master/tests/filesystem_russh.rs

There are issues with this solution, I described them better here.


Added Mozilla Developer and Academind

Added Mozilla Developer and Academind to YouTube Channels

Thanks, @RitikPatni for merging my PR


Handle pbf input too

Today we support XML input: https://github.com/a-b-street/osm2streets/blob/main/streets_reader/src/osm_reader/reader.rs
I've been using the osmpbf crate in other projects, like https://github.com/dabreegster/od2net/blob/main/od2net/src/network/create_from_osm.rs. We should support this in osm2streets too -- pbf files are so much smaller than xml, and can be faster to parse.

hey Dustin!
Been having a little look at this over the weekend and have a (mostly..) working quick and dirty version of this up and running over on my fork.
Used this pbf for testing and have gotten some nice results on the outputs so far.

(geojson data visualized)

(the dot file is exremely large so I wasn't able to get it visualized, but it seems correct).
I'll continue testing and working on this when I get a moment to do so. Hopefully I'll have something nice and clean and fully functional before too terribly long.
Thanks and have a great rest of your weekend :) If you need anything just let me know.

Wow, awesome to see this! Let me know if you have any questions or hit weird problems with the codebase.

(the dot file is exremely large so I wasn't able to get it visualized, but it seems correct)

I wouldn't worry about testing this much; I've never looked at any beyond a super tiny test area

I can look into it in detail in a few days maybe, but it sounds suspiciously similar to a problem I hit in https://github.com/a-b-street/abstreet/pull/1014 ages ago. Something about passing a vector of bytes breaks.
I would vote for moving on with the PR and not worrying about parsing pbf from WASM. I don't know of a great use case for it anyway; Overpass doesn't output as pbf. The goal of handling pbf at all in osm2streets is for native use cases, I think. The A/B Street import pipeline could get much faster and require less disk to store pbf than xml. But the web importer for osm2streets will probably keep handling xml, unless there's a nice API somewhere that can extract a bbox or polygon and output as pbf.

Okay, great, good stuff.
In that case, I'll remove all the JS/WASM side changes and keep this PR focused on native. We'll consider the WASM/StreetExplorer stuff as a seperate issue and keep this PR nice and thin.
Be back when the fork is ready 👍 thanks a ton. have a nice day.


After installation, my debugger menu is not available。

What should I do?

Not sure what you mean by the debugger menu but you should look in the sublime console for errors. If you are not installing from package control then you will need to use the st3 branch if you are on Sublime Text 3.


⚠ Bofrost.lu has degraded performance

In c738ca0, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1386 ms

Resolved: Bofrost.lu performance has improved in bbdd61d after 45 minutes.


Added C++ code of Old GCD problem

Hey there....
I have added solution cpp file and readme file to the problem Odd GCD (Problem Code : BININVER) of CodeChef Starters 14.  Hope you like it and if you do then kindly merge this pull request.
Thank you......!!!!!

Hello there. Actually I am new to this github platform. So, I just want to ask the PR has been accepted or not under hacktoberfest label. It is showing 1 check failed. Is there anything wrong ?
Please let me know.

Hello there. Actually I am new to this github platform. So, I just want to ask the PR has been accepted or not under hacktoberfest label. It is showing 1 check failed. Is there anything wrong ? Please let me know.

Nope :)
You can confirm it by visiting your hacktoberfest profile.


Migrate App to Vite

Is your feature request related to a problem?
I would love to see Vite in the repo. To enable it
import { defineNuxtConfig } from '@nuxt/bridge'

export default defineNuxtConfig({
  bridge: {
    vite: true,
  }
})

Nuxt Feature Flags
However, it shows a ton of errors
 ERROR  11:33:19 AM [vite] Internal server error: Can't find stylesheet to import.                                                                                11:33:19
  ╷
2 │ @import "~bulma/sass/utilities/_all";
  │         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵
  styles/variables.scss 2:9    @import
  components/Footer.vue 117:9  root stylesheet
  Plugin: vite:css
  File: /Users/vikival/Documents/Work/KodaDot/nft-gallery/styles/variables.scss
  Error: Can't find stylesheet to import.
    ╷
  2 │ @import "~bulma/sass/utilities/_all";
    │         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ╵
    styles/variables.scss 2:9    @import
    components/Footer.vue 117:9  root stylesheet
      at Object.wrapException (/Users/vikival/Documents/Work/KodaDot/nft-gallery/node_modules/sass/sass.dart.js:1254:17)
      at /Users/vikival/Documents/Work/KodaDot/nft-gallery/node_modules/sass/sass.dart.js:69064:25
      at _wrapJsFunctionForAsync_closure.$protected (/Users/vikival/Documents/Work/KodaDot/nft-gallery/node_modules/sass/sass.dart.js:3737:15)
      at _wrapJsFunctionForAsync_closure.call$2 (/Users/vikival/Documents/Work/KodaDot/nft-gallery/node_modules/sass/sass.dart.js:27919:12)
      at _awaitOnObject_closure.call$1 (/Users/vikival/Documents/Work/KodaDot/nft-gallery/node_modules/sass/sass.dart.js:27907:32)
      at Object._rootRunUnary (/Users/vikival/Documents/Work/KodaDot/nft-gallery/node_modules/sass/sass.dart.js:4111:18)
      at StaticClosure.<anonymous> (/Users/vikival/Documents/Work/KodaDot/nft-gallery/node_modules/sass/sass.dart.js:96990:16)
      at _CustomZone.runUnary$2$2 (/Users/vikival/Documents/Work/KodaDot/nft-gallery/node_modules/sass/sass.dart.js:29325:39)
      at _Future__propagateToListeners_handleValueCallback.call$0 (/Users/vikival/Documents/Work/KodaDot/nft-gallery/node_modules/sass/sass.dart.js:28388:51)
      at Object._Future__propagateToListeners (/Users/vikival/Documents/Work/KodaDot/nft-gallery/node_modules/sass/sass.dart.js:3907:93)
      at _Future._completeWithValue$1 (/Users/vikival/Documents/Work/KodaDot/nft-gallery/node_modules/sass/sass.dart.js:28247:9)
      at _AsyncAwaitCompleter.complete$1 (/Users/vikival/Documents/Work/KodaDot/nft-gallery/node_modules/sass/sass.dart.js:27894:14)
      at Object._asyncReturn (/Users/vikival/Documents/Work/KodaDot/nft-gallery/node_modules/sass/sass.dart.js:3709:17)
      at /Users/vikival/Documents/Work/KodaDot/nft-gallery/node_modules/sass/sass.dart.js:69168:24
      at _wrapJsFunctionForAsync_closure.$protected (/Users/vikival/Documents/Work/KodaDot/nft-gallery/node_modules/sass/sass.dart.js:3737:15)
      at _wrapJsFunctionForAsync_closure.call$2 (/Users/vikival/Documents/Work/KodaDot/nft-gallery/node_modules/sass/sass.dart.js:27919:12)

Describe the solution you would like
I would like to see Vite 🚀
Describe alternatives you have considered
I have tried this Nuxt Bridge with Webpack 4
Screeenshots
ℹ Server built in 11949ms                                                                                11:38:33
ℹ Waiting for file changes                                                                                11:38:33
ℹ Memory usage: 636 MB (RSS: 942 MB)                                                                                11:38:33
ℹ Listening on: http://localhost:9090/                                                                                11:38:33
✔ Nitro built in 110 ms                                                                                11:38:33

Ref

#2677

Might be related to auto imports?

Had the same problems when trying to integrate Vite on its own. Vite in its current form cannot handle tilde sign '~' so i think you need to replace it with a regex somewhere in vite config. Let me see if I can find the issue

Wow 💯, nicely written!

There's a blocker with Vite migration.
Nuxt i18n (v7 the latest) is not compatible with Vite.
v8 is in development to make it compatible for Vite.

Is this still relevant? Are we using Vite or still Nitro stuff?

Closing in favour

https://github.com/kodadot/nft-gallery/issues/3908


Overwriting list elements of a configuration not documented

Let us assume my process consists of a list of steps:
@experiment.config
def config():
    model_sequence = [
        dict(name='a', model_id='5943a94ba421dc1600fdb4e2'),
        dict(name='b'),
        dict(name=b'),
        dict(name='c', a_min=1e-6, a_max=1 - 1e-6),
        dict(name='evaluate')
    ]

How can I, for example overwrite model_sequence[-2]['a_min']?
It seems to be either not implemented or not documented well.
If you recommend a completely different approach to define such a setup, I am also welcoming it.

Hey, unfortunately, overwriting list elements is not supported ATM.
The reason I chose not to support lists is that it is unclear how setting a list element should interact with many list operations like append and delete. At which point in the construction of the list should the element be fixed?
My usual workaround would be to use a dict instead (note the string keys):
@experiment.config
def config():
    model_sequence = {
        '1': dict(name='a', model_id='5943a94ba421dc1600fdb4e2'),
        '2': dict(name='b'),
        '3': dict(name=b'),
        '4': dict(name='c', a_min=1e-6, a_max=1 - 1e-6),
        '5': dict(name='evaluate')
    }

I have thought about adding list support, but I'm not sure what the best way would be. Currently, my favorite approach would be to allow setting list elements and to fail dynamically if the length of the list is somehow altered during the configuration. That would at least support basic use-cases like yours.

I think that is a good workaround for now.
Other than that, failing on list length changes is a good idea. In scenarios I can think of, chaning the number of list elements would be a drastic model change already.
This issue can be closed then.


Sound is missing from Reddit Videos

Ripme version: running the latest version
Java version: (<IP_ADDRESS>)
Operating system: (Windows 10)

Exact URL you were trying to rip when the problem occurred: https://www.reddit.com/r/tiktokthots/
Please include any additional information about how to reproduce the problem:

tried using this fork to download media posted on subreddit, all of the videos downloaded do not include any sound at all. it only downloads the videos, not the audio file with them, this is the same issue that the original abandoned version of ripme had, please see here for more info and how to fix this.
https://github.com/RipMeApp/ripme/issues/1819
should be downloading the video with the audio as well but only downloads the video files.

it works in the original at ripmeapp?

i dont remember if the original did include the sound but i know that SCrawler has no issue with downloading videos with audio.
i cant believe this is still being updated, thats amaazing!


deploy pod library to cocoapods

repo: https://github.com/michaelhenry/deploy-to-cocoapods-github-action

@michaelhenry your changes have been merged, thanks for your contribution 👍

@gep13 Thank you .


Module pulls in test files

I install your module in an application, it copies over .pem and .key files that are in your tests. This means that when we put our application through security scans, it fails because it finds these files and classifies them as sensitive data. What I'm asking is whether you can not include these in the bundled version of the application.
To resolve it, you can have a section in the package.json that doesn't pull the test files over to the build of the module when it is pulled in.

Fixed by #220


[HOLD Web-Expensify 31190] Sync newly returned report objects from commands

Details
We were re-fetching the chat and IOU report objects once the payIOU, payWithWallet, and rejectTransaction commands completed, which was completely unnecessary. Now, since we're returning the updated IOU and Chat report objects from https://github.com/Expensify/Web-Expensify/pull/31190, we can directly update Onyx with them.
Fixed Issues
$ https://github.com/Expensify/Expensify/issues/165863
Tests

Create accounts A and B (or use any two testing accounts with no IOU report history between one another)
Use A to request money from B.
In account B, use "I'll settle up elsewhere" to pay the IOU report.
Verify that the IOU report is settled, and the UI is updated to reflect it:

Use A to request money from B.
In account B, decline the request.
Verify that the transaction was rejected correctly, and that the UI is updated to reflect it:

QA Steps
Same as the above tests
Tested On

[x] Web
[x] Mobile Web
[x] Desktop
[x] iOS
[x] Android

Screenshots
https://user-images.githubusercontent.com/31285285/122041383-7a7e6d00-ce0b-11eb-98da-df9f4dcfcf47.mp4
https://user-images.githubusercontent.com/31285285/122041403-7f432100-ce0b-11eb-80b9-2ecc085305a6.mp4
https://user-images.githubusercontent.com/31285285/122041408-80744e00-ce0b-11eb-8448-b19a0db1aa59.mp4
https://user-images.githubusercontent.com/31285285/122041422-823e1180-ce0b-11eb-8956-79aee92dde3d.mp4

I'm happy to review this as an additional reviewer, but we should always assign Pullerbear :)

I was testing it with the Web-Expensify brach and I was getting this stacktrace error and the create report button was just spinning for very long time. Not sure what to do about it, seems like Jules pointed at some problem with returning information about the Report, which could be the reason why it keeps spinning.

Not sure what to do about it, seems like Jules pointed at some problem with returning information about the Report, which could be the reason why it keeps spinning.

In my case, I didn't see the spinner. The request returned quickly, but it was missing the extra data 😕

To be fair, there is something wrong with my dev environment, it is a second day it does not work as it should. I will escalate this to #engineering-chat

Thanks for the suggestions @mountiny, requested another review!

THis is looking good, but I believe we're still held on this issue in the Web-E PR?

I have taken my approval down and I will test it again once the problem mentioned by Jules will be addressed.

The API tests well, but I think something is off here. When rejecting a transaction the IOU Preview remains and shows a total. But the total should be 0, and the Preview should be hidden.
This only occurred for me when I re-opened the Modal, as this retrieved the IOU data again.

Ah yup, this was the bug I was asking you about before. I wasn't sure what state the report was supposed to be in after it was rejected, and I guess this isn't correct.

Hey @jasperhuangg, sorry to be a pain but I think I was wrong previously. I tested this branch again today against Web-E master and everything works as expected...

The API tests well, but I think something is off here. When rejecting a transaction the IOU Preview remains and shows a total. But the total should be 0, and the Preview should be hidden.

I can no longer reproduce this. Are you still able to reproduce this problem? If not, then I think we're all good here.

@Julesssss It's still happening on my end with Web-E master. Here's a screen recording of how it looks. It's a bit hard to see, but as soon as the API.RejectTransaction returns with the report object, we update the UI incorrectly. If I reload the IOU report, then everything works as expected.
https://user-images.githubusercontent.com/31285285/123364724-89051b00-d5a7-11eb-8882-5c9f9be95d4e.mp4
The initial value returned from API.RejectTransaction returns a total !== 0. This is what's causing the UI to update incorrectly. Once I reload the IOU report (as in the video), then an IOU report with total === 0 is returned
For whatever reason, this Get call is getting an IOU report with a total that hasn't been updated.

This is unblocked now, testing.

Tested it too, works as expected 👏

Looks like https://github.com/Expensify/Web-Expensify/pull/31318 has been deployed, so I'm gonna merge this!

Unfortunately the deploy comments are not working right now. This was deployed to staging yesterday.


502 - Bad Gateway =>TypeError: Cannot read property 'payload' of undefined

After updating and restarting my HomeAssistant, zigbee2mqtt won't start anymore. The interface shows a "502 - Bad Gateway" error. The log shows following issue:

Zigbee2MQTT:error 2021-10-06 22:58:07: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2021-10-06 22:58:07: Failed to start zigbee
Zigbee2MQTT:error 2021-10-06 22:58:07: Check https://www.zigbee2mqtt.io/information/FAQ.html#help-zigbee2mqtt-fails-to-start for possible solutions
Zigbee2MQTT:error 2021-10-06 22:58:07: Exiting...
Zigbee2MQTT:error 2021-10-06 22:58:07: TypeError: Cannot read property 'payload' of undefined
at AdapterNvMemory.writeItem (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/adapter-nv-memory.ts:111:31)
at ZnpAdapterManager.clearAdapter (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/manager.ts:473:9)
at ZnpAdapterManager.beginCommissioning (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/manager.ts:331:9)
at ZnpAdapterManager.beginRestore (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/manager.ts:296:9)
at ZnpAdapterManager.start (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/manager.ts:80:17)
at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:123:29)
at Zigbee.start (/app/lib/zigbee.ts:63:27)
at Controller.start (/app/lib/controller.js:116:27)
at start (/app/index.js:95:5)
[22:58:07] INFO: Handing over control to Zigbee2mqtt Core ...
<EMAIL_ADDRESS>start
node index.js

I'm using following releases:
zigbee2mqtt; 1.21.2-1
Core: core-2021.10.0
Host OS: Home Assistant OS 6.4
Supervisor: supervisor-2021.09.6
Is this any compability issue between these new releases?

Were you be able to resolve this?
I am having similar log entries.
Thnx.

I have this exact problem. It is my first time using HA and zigbee2mqtt and figured i was doing something wrong? I have followed countless tutorials with this exact same result everytime. Does anyone have any progress?

Same here, did not find a solution yet unfortunately...

@Koenkk  , any idea what is going wrong here?

Probably something wrong on the adapter side, try reflashingit.

I have the same error
i use sonoff zigbee 3.0 usb dongle plus
flashed CC1352P2_CC2652P_launchpad_coordinator_20210708
zigbee2mqtt; 1.22.1-1
Core: core-2021.11.5
Host OS: Home Assistant OS 64

Probably something wrong on the adapter side, try reflashing it.

Yes I think there is something wrong with my adapter. I did reflash it several times. At some point the message disappeared and zigbee2mqtt started working again. So I don't have a 100% answer, but reflashing could help.

Hi I also have the sonoff zigbee 3.0 usb dongle.
For me reflashing didn't help.
Also, the adapter works fine when I use the ZHA addon but not with zigbee2mqtt, so shouldn't be an adapter issue
I get the following errors, after each z2m tries restarting itself:
Zigbee2MQTT:error 2021-12-10 22:45:42: TypeError: Cannot read property 'payload' of undefined
Zigbee2MQTT:error 2021-12-10 22:46:09: TypeError: Cannot read property 'payload' of undefined
Zigbee2MQTT:error 2021-12-10 22:46:36: Error: SRSP - SYS - getExtAddr after 6000ms
Zigbee2MQTT:error 2021-12-10 22:47:55: Error: SRSP - ZDO - startupFromApp after 40000ms
Zigbee2MQTT:error 2021-12-10 22:48:23: Error: SRSP - SYS - getExtAddr after 6000ms
Zigbee2MQTT:error 2021-12-10 22:49:10: Error: SRSP - ZDO - startupFromApp after 40000ms
Zigbee2MQTT:error 2021-12-10 22:50:05: Error: SRSP - ZDO - startupFromApp after 40000ms
Zigbee2MQTT:error 2021-12-10 22:51:01: Error: SRSP - ZDO - startupFromApp after 40000ms
Zigbee2MQTT:error 2021-12-10 22:51:22: Error: SRSP - SYS - getExtAddr after 6000ms
Zigbee2MQTT:error 2021-12-10 22:51:36: Error: SRSP - SYS - getExtAddr after 6000ms
Zigbee2MQTT:error 2021-12-10 22:52:25: Error: SRSP - ZDO - startupFromApp after 40000ms

I have the same error i use sonoff zigbee 3.0 usb dongle plus flashed CC1352P2_CC2652P_launchpad_coordinator_20210708 zigbee2mqtt; 1.22.1-1 Core: core-2021.11.5 Host OS: Home Assistant OS 64

were you able to solve? I have the same problem...

Probably something wrong on the adapter side, try reflashing it.

Reflashing solved it for me...

I reflashed it and it started working again. But now it is throwing new errors without me touching it or updating it. It is to unreliable for day to day use. Im gonna find something else instead, because it is simply not "smart" home at all, when you have to reflash and reinstall everything at random times without any idea what is going wrong or what is causing it.

Same issue here when using a brand new and z-stack flashed "sonoff zigbee 3.0 usb dongle plus".
I can pair clients and it all looks very fine, but node red give the error "502: Bad Gateway".
From the log I have this information:
22-01-23 15:41:22 ERROR (MainThread) [supervisor.api.ingress] Ingress error: Cannot connect to host <IP_ADDRESS>:8099 ssl:default [Connect call failed ('<IP_ADDRESS>', 8099)]
Hmm wondering what the new gateway IP address and port is...
Everything has been working a kind of stable before I change from a 2531 based dongle to the new sonoff zigbee 3.0 usb dongle plus.
Best regards
Bjarke

Hello, does somebody find a solution?
because I have the problem too :)  with a CC2652, HA detect directly the key, but I can't start Z2M with error on payload.

Mine randomly worked at one point. But I never got it working properly as intended. So I ended up just abandoning the project, seeing as no one was able to help. Everyone else seems to make it work, so I assume it’s me. I tried suggesting them that I could a better tutorial is they could me get going. as all the tutorials are all lacking in some aspect. But no one ever replied. So i gave up.
Sorry i Can’t help you better. You Might be better of with a network version indstead of That USB version.

I found the reason of my problem.
The name of this integration is "Zigbee Home Automation" aka ZHA, and ZHA use the key, so you can't use it with zigbee in the same time!!
So I just disabled ZHA and it's work :),
So it's solved for me

Well done, mate! I did not know This! I’m gonna give it another go when I have the time, and report back!

That was indeed the problem. I always let it setup, after plugging it in, not knowing that I would take up the spot, so mqtt couldn’t acces it.
Well spotted, and thank you for your time!
mine works now as well!

I found the reason of my problem.  The name of this integration is "Zigbee Home Automation" aka ZHA, and ZHA use the key, so you can't use it with zigbee in the same time!! So I just disabled ZHA and it's work :), So it's solved for me

mate you save my life) thank you

I found the reason of my problem.  The name of this integration is "Zigbee Home Automation" aka ZHA, and ZHA use the key, so you can't use it with zigbee in the same time!! So I just disabled ZHA and it's work :), So it's solved for me

Thanks! This solved it for me as well.


Error Running Image Demo

(pose) λ python image_demo.py --model 101 --image_dir ./images --output_dir ./output
2019-07-05 11:32:41.033388: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX AVX2
2019-07-05 11:32:41.252994: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1433] Found device 0 with properties:
name: Quadro P620 major: 6 minor: 1 memoryClockRate(GHz): 1.354
pciBusID: 0000:01:00.0
totalMemory: 2.00GiB freeMemory: 1.61GiB
2019-07-05 11:32:41.277022: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1512] Adding visible gpu devices: 0
2019-07-05 11:32:41.660454: I tensorflow/core/common_runtime/gpu/gpu_device.cc:984] Device interconnect StreamExecutor with strength 1 edge matrix:
2019-07-05 11:32:41.675743: I tensorflow/core/common_runtime/gpu/gpu_device.cc:990]      0
2019-07-05 11:32:41.685065: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1003] 0:   N
2019-07-05 11:32:41.695527: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1115] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 1353 MB memory) -> physical GPU (device: 0, name: Quadro P620, pci bus id: 0000:01:00.0, compute capability: 6.1)
C:\Users\user\folder\Desktop\Atom Files\AI Files\Demos\posenet-python-master\posenet\converter\config.py:9: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
cfg = yaml.load(cfg_f)
Cannot find model file ./models\model-mobilenet_v1_101.pb, converting from tfjs...
Traceback (most recent call last):
File "image_demo.py", line 74, in
main()
File "image_demo.py", line 22, in main
model_cfg, model_outputs = posenet.load_model(args.model, sess)
File "C:\Users\user\folder\Desktop\Atom Files\AI Files\Demos\posenet-python-master\posenet\model.py", line 42, in load_model
convert(model_ord, model_dir, check=False)
File "C:\Users\user\folder\Desktop\Atom Files\AI Files\Demos\posenet-python-master\posenet\converter\tfjs2python.py", line 164, in convert
variables = load_variables(chkpoint)
File "C:\Users\user\folder\Desktop\Atom Files\AI Files\Demos\posenet-python-master\posenet\converter\tfjs2python.py", line 54, in load_variables
variables = json.load(f)
File "C:\Users\user\AppData\Local\conda\conda\envs\pose\lib\json_init.py", line 296, in load
return loads(fp.read(),
File "C:\Users\user\AppData\Local\conda\conda\envs\pose\lib\encodings\cp1252.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x8f in position 72: character maps to
Package List
Name                    Version                   Build  Channel
_tflow_select             2.1.0                       gpu
absl-py                   0.7.1                    py36_0
astor                     0.7.1                    py36_0
blas                      1.0                         mkl
ca-certificates           2019.5.15                     0
certifi                   2019.6.16                py36_0
cudatoolkit               9.0                           1
cudnn                     7.6.0                 cuda9.0_0
gast                      0.2.2                    py36_0
grpcio                    1.16.1           py36h351948d_1
h5py                      2.9.0            py36h5e291fa_0
hdf5                      1.10.4               h7ebc959_0
icc_rt                    2019.0.0             h0cc432a_1
intel-openmp              2019.4                      245
keras-applications        1.0.8                      py_0
keras-preprocessing       1.1.0                      py_1
libprotobuf               3.8.0                h7bd577a_0
markdown                  3.1.1                    py36_0
mkl                       2019.4                      245
mkl_fft                   1.0.12           py36h14836fe_0
mkl_random                1.0.2            py36h343c172_0
mock                      3.0.5                    py36_0
numpy                     1.16.4           py36h19fb1c0_0
numpy-base                1.16.4           py36hc3f5095_0
opencv-python             <IP_ADDRESS>
openssl                   1.1.1c               he774522_1
pip                       19.1.1                   py36_0
protobuf                  3.8.0            py36h33f27b4_0
pyreadline                2.1                      py36_1
python                    3.6.8                h9f7ef89_7
pyyaml                    5.1.1            py36he774522_0
scipy                     1.2.1            py36h29ff71c_0
setuptools                41.0.1                   py36_0
six                       1.12.0                   py36_0
sqlite                    3.28.0               he774522_0
tensorboard               1.13.1           py36h33f27b4_0
tensorflow                1.13.1          gpu_py36h1635174_0
tensorflow-base           1.13.1          gpu_py36h0fff12a_0
tensorflow-estimator      1.13.0                     py_0
tensorflow-gpu            1.13.1               h0d30ee6_0
termcolor                 1.1.0                    py36_1
vc                        14.1                 h21ff451_3    anaconda
vs2015_runtime            15.5.2                        3    anaconda
werkzeug                  0.15.4                     py_0
wheel                     0.33.4                   py36_0
wincertstore              0.2              py36h7fe50ca_0
yaml                      0.1.7                hc54c509_2
zlib                      1.2.11               h62dcd97_3

Are your paths exactly as you showed or did you change them? It may be unicode characters in a path if user\folder are not as shown or some other issue caused by combination of Windows + non-English region...

I changed the showed path for privacy. Yes, the path has spaces, hyphens and a period. I'll see if changing that works. That will most likely solve this problem.

I'm having the same issue but my paths don't have any illegal characters. It looks to me like there's an error decoding the json file containing the model save using the cp1252 encoding.

@Padu0827  I assume you're on Windows as well? I don't currently have regular access to a Windows machine, I tested once and it seemed to work, others have reported success as well.
Could both of you try this, at this location in the code https://github.com/rwightman/posenet-python/blob/master/posenet/converter/tfjs2python.py#L53
Change:
    f = open(manifest_path)
    variables = json.load(f)
    f.close()

To:
    with open(manifest_path, encoding='utf8') as f:
        variables = json.load(f)

After making that change I'm now receiving this error
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte

Hi changed my files paths and changed that those lines. Same error:
D:\test\posenet-python\posenet\converter\config.py:9: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
cfg = yaml.load(cfg_f)
Cannot find model file ./models\model-mobilenet_v1_101.pb, converting from tfjs...
Traceback (most recent call last):
File "image_demo.py", line 74, in
main()
File "image_demo.py", line 22, in main
model_cfg, model_outputs = posenet.load_model(args.model, sess)
File "D:\test\posenet-python\posenet\model.py", line 42, in load_model
convert(model_ord, model_dir, check=False)
File "D:\test\posenet-python\posenet\converter\tfjs2python.py", line 163, in convert
variables = load_variables(chkpoint)
File "D:\test\posenet-python\posenet\converter\tfjs2python.py", line 54, in load_variables
variables = json.load(f)
File "C:\Users\matt.ciolino\AppData\Local\conda\conda\envs\pose\lib\json_init.py", line 296, in load
return loads(fp.read(),
File "C:\Users\first.last\AppData\Local\conda\conda\envs\pose\lib\codecs.py", line 321, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte

Was broken on linux as well. It looks like the storage server was changed so that the JSON files were always gzip encoded. I think the last commit should fix things on both OS.

@mrciolino @Padu0827 after updating to the latest commit, you'll have to find the temp folder and delete...
Usually something like this on windows but can change if you define diff temp: C:\Users\user\AppData\Local\Temp\_posenet_weights


Document inferencing option defaults

Sourced from: https://github.com/fermyon/spin/blob/09da960ee590a36170608737948f22e0d6de35b4/crates/llm/src/lib.rs#L386

More generally we should go back and review how we present APIs.  The tabular structure was, I think, adopted in a bit of a hurry for Spin 1.0 (and I think the blame for that is on me), and was already showing its limitations a few APIs ago.  Not only does it run hard into the limitations of Markdown tables, it doesn't provide room for talking about the language projections against the API itself.  (This was partly an artifact of the hurry.  Presenting the abstract API and then notes on the language projections was quicker than writing out multiple similar SDK surfaces at reference quality.  But it does have the advantage of focusing on the language neutral nature of the APIs-as-WIT-interfaces.)  So I'd be keen to revisit the API pages generally in the light of our greater experience, which would provide a better framework for APIs like this.  That's out of scope for this PR of course!

@itowlson - This is good feedback, and I agree. The APIs are also different between Rust and JS/TS, as in the latter there is only one function, with an optional option argument.
This PR only added the default values for the options, and I believe your suggestion removes that again, is that true?
If we don't want to add those defaults value here now, then I'll close this PR, and we can add an issue to fix based on your comments. Let me know what you think.

@mikkelhegn My suggestion does not merely remove the default values - it removes ALL details of the options! ...with the recommendation to move all that info, including the default values, to a separate table.
But yes, I somehow missed that the big honkin' text was already there and you were only adding the defaults.  Doh!  Given that we already have the big cell, I'm okay with adding the defaults to that big cell,   Apologies for the misreading.

No worries @itowlson :-)


Trying to correct indentation

Closes https://github.com/MicrosoftDocs/office-docs-powershell/issues/7758

Docs Build status updates of commit 6fa3410:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

skype/skype-ps/skype/Set-CsTeamsMeetingPolicy.md
:white_check_mark:Succeeded
View (skype-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

@Kateyanne Please merge this PR. Thanks

Docs Build status updates of commit 9cfa88a:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

skype/skype-ps/skype/Set-CsTeamsMeetingPolicy.md
:white_check_mark:Succeeded
View (skype-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit ae28dc6:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

skype/skype-ps/skype/Set-CsTeamsMeetingPolicy.md
:white_check_mark:Succeeded
View (skype-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

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

File
Status
Preview URL
Details

skype/skype-ps/skype/Set-CsTeamsMeetingPolicy.md
:white_check_mark:Succeeded
View (skype-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Support for surface loads, from Nastran file and as direct input

Also adding multi-load-case linear statics simulation, etc.

jenkins build this with ifem=675 please


Mouse cursor hides while dragging texture to sprite

Godot version:
Godot 3.2.3
OS/device including version:
Windows 10 GLES3
Issue description:
My mouse pointer just hides and never show on screen again sometimes while i am dragging a texture to my sprite when using animation player to animate it. The pointer will never show up again unless I restart Godot
Steps to reproduce:
Open a godot scene
add a sprite and an animation player to the scene.
Try dragging textures into the sprite and animating it with the animation player
Note: This is not a regular occurrences
Minimal reproduction project:

This is likely related to either mouse cursor changing or mouse mode being changed to MOUSE_MODE_CAPTURED while dragging a SpinBox or EditorSpinSlider.

Yes i suspect MOUSE_MODE_CAPTURED but how can i fix it. it just toggle on by itself and it sometimes annoying to just restart the app again

Yes i suspect MOUSE_MODE_CAPTURED but how can i fix it. it just toggle on by itself and it sometimes annoying to just restart the app again

As a workaround, you can click the [empty] text (or the arrow besides it), choose Load and select the texture there.


Alternative to instanceof check ?

I am wondering how this could be approached with stamps. I have created something like simple models with stamps:
export default Model.compose(
	Getter('id'),
	Property('treeId'),
	Property('active', true)
);

I kinda like it this way, it automatically creates getter/setter methods for me with actual data hidden in property identified by the Symbol (see current implementation)
I would like to add some invariant checks for development to verify that correct model is passed in. I suppose that I have to create and store some identifier of that object along with custom method. Is there some other way?

Alright, I've got it. Luckily I noticed that v2 supports statics too, that helped a lot. Now I can simply write invariant(TreeModel.isCreatorOf(tree), 'tree model expected') and it works like magic :) Here it's implemented

Well done! 👍
Here is another way to implement it: https://github.com/stampit-org/stampit/blob/master/docs/advanced_examples.md#attach-function-to-prototype-memory-efficient

Thanks, but I am not sure how could that help me. At first I was thinking in that direction too, storing stamp reference in init a using instance method to check it. However usually I just have an object which might be even null or something and I would need to check if it actually has that checking method before invoking it.
In the end I had to go with static method. That doesn't have access to final stamp object thus creating private Symbol to identify this was only good way to go. That's also the spot where I found out about supermixer issue and instead simple refs({ [mySymbol]: true }) I had to go with that ugliness init(({ instance }) => { instance[mySymbol] = true; }).

I would highly recommend to avoid instanceof checks in your code altogether. This is an often asked feature, we deliberately not implementing instanceof. Every time people ask it - we suggest duck typing as more robust solution. And here is why.
If you really-really sure you need it, then you can implement a simpler isInstanceOf static function without any need for Symbols.
stampit v2:
const IsInstanceOf = stampit({ static: {
  isInstanceOf(obj) {
    return this.fixed.methods === obj.__proto__;
  }
}});

stampit v3:
const IsInstanceOf = stampit({ static: {
  isInstanceOf(obj) {
    return this.compose.methods === obj.__proto__;
  }
}});

I like my approach with Symbol because it's universal. With so much changes coming in v3, I don't want to end up rewriting everything. Actually how close we are you to releasing v3? Is it matter of weeks or something much longer?
Duck typing is nice - sometimes, but in my case would be horrible. Since all my models have the ˙id˙ property, I would need to check for some other property. I would need to do something like invariant(obj && obj.getTreeId). Anybody looking at that code would think all but nice things about me :) Since I am doing this check purely for validating input into method, there isn't really any relevant method or property to check.

Thanks for the explanation.
Stampit v3 was the matter of weeks few months ago. I can an RC0 any day now though.

That would be nice, I am more willing to change to v3 now before I write most of stuff in v2 so I can help out with polishing it.

Stampit Release Candidate v3-rc.0 was just released. npm i stampit@rc
https://github.com/stampit-org/stampit/tree/v3_0


Add instructions for APNS pem cert generation

Each time I need to renew certificates or setup a new project I waste time
fighting with Apple generating a certificate then digging around for decent
instructions for converting that exported certificate to a usable PEM format.
I'd like to begin documenting a sensible, repeatable method for at least the
conversion here.

@jamaalscarlett the docs are correct as far as generating a PEM file goes, but can it be split from the README? just have it in a separate file in docs/

@jleclanche could this be merged? Perhaps factoring pieces out into a separate docs directory could come as a separate effort.

Hi @lukeburden! I cherry-picked your commit and fixed the conflicts, and merged it into master via #504. Thanks for the contribution! :smile:
Ill just close this.

No worries, thanks for getting it in there. Hopefully it's not too stale after 2 years. :)


golangci configuration contains deprecated/non-working linters

Is this a BUG REPORT or FEATURE REQUEST?:

Uncomment only one, leave it on its own line:
/kind bug

/kind enhancement
What happened:
Following warnings are shown during make lint:
WARN [runner] The linter 'deadcode' is deprecated (since v1.49.0) due to: The owner seems to have abandoned the linter.  Replaced by unused.
WARN [runner] The linter 'structcheck' is deprecated (since v1.49.0) due to: The owner seems to have abandoned the linter.  Replaced by unused.
WARN [runner] The linter 'varcheck' is deprecated (since v1.49.0) due to: The owner seems to have abandoned the linter.  Replaced by unused.
WARN [linters_context] rowserrcheck is disabled because of generics. You can track the evolution of the generics support by following the https://github.com/golangci/golangci-lint/issues/2649.
WARN [linters_context] structcheck is disabled because of generics. You can track the evolution of the generics support by following the https://github.com/golangci/golangci-lint/issues/2649.

Originally posted by @lyarwood in https://github.com/kubevirt/containerdisks/issues/52#issuecomment-1488870194
What you expected to happen:
No warnings should be shown during make lint.
How to reproduce it (as minimally and precisely as possible):
Run make lint after #52 was merged
Anything else we need to know?:
The .golangci.yml was taken from kubevirt/kubevirt, so it should be fixed there first.
Environment:

KubeVirt version (use virtctl version):
Kubernetes version (use kubectl version):
common-templates version:
VM or VMI specifications:
Cloud provider or hardware configuration:
OS (e.g. from /etc/os-release):
Kernel (e.g. uname -a):
Install tools:
Others:

/remove-lifecycle stale

We should pull in changes from https://github.com/kubevirt/kubevirt/pull/9962 once it is merged.

/reopen
/remove-lifecycle rotten


install issue - ERROR: scipy 1.7.1 has requirement numpy<1.23.0,>=1.16.5, but you'll have numpy 1.16.3 which is incompatible.

Hi,
when I trying install this app I have in Zorin OS issue:
"ERROR: scipy 1.7.1 has requirement numpy<1.23.0,>=1.16.5, but you'll have numpy 1.16.3 which is incompatible."
Is this important?

and other issue when I try to run autotest.sh:
Traceback (most recent call last):
File "train.py", line 4, in
from settings import ProblemTypes, version, Setting as st
File "/home/tomek/AI/NeutronBlocks/NeuronBlocks/settings.py", line 61
class ConstantStatic(metaclass=Constant):
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "test.py", line 4, in
from settings import ProblemTypes, version
File "/home/tomek/AI/NeutronBlocks/NeuronBlocks/settings.py", line 61
class ConstantStatic(metaclass=Constant):
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "train.py", line 4, in
from settings import ProblemTypes, version, Setting as st
File "/home/tomek/AI/NeutronBlocks/NeuronBlocks/settings.py", line 61
class ConstantStatic(metaclass=Constant):
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "test.py", line 4, in
from settings import ProblemTypes, version
File "/home/tomek/AI/NeutronBlocks/NeuronBlocks/settings.py", line 61
class ConstantStatic(metaclass=Constant):
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "train.py", line 4, in
from settings import ProblemTypes, version, Setting as st
File "/home/tomek/AI/NeutronBlocks/NeuronBlocks/settings.py", line 61
class ConstantStatic(metaclass=Constant):
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "test.py", line 4, in
from settings import ProblemTypes, version
File "/home/tomek/AI/NeutronBlocks/NeuronBlocks/settings.py", line 61
class ConstantStatic(metaclass=Constant):
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "train.py", line 4, in
from settings import ProblemTypes, version, Setting as st
File "/home/tomek/AI/NeutronBlocks/NeuronBlocks/settings.py", line 61
class ConstantStatic(metaclass=Constant):
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "test.py", line 4, in
from settings import ProblemTypes, version
File "/home/tomek/AI/NeutronBlocks/NeuronBlocks/settings.py", line 61
class ConstantStatic(metaclass=Constant):
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "./autotest/tools/get_results.py", line 2, in
from calculate_AUC import main
File "/home/tomek/AI/NeutronBlocks/NeuronBlocks/autotest/tools/calculate_AUC.py", line 5, in
from sklearn.metrics import roc_auc_score
ImportError: No module named sklearn.metrics


Cleaning up a done graph

Hi Guys,
I was wondering if I could know that shutting down a graph causes it be disposed by GC or not? I do not keep a reference of after I call its shutdown method. I use ComponentLoader to load and start the graph.
Best,
Afshin

Shutdown doesn't drop the graph reference, since typically graphs can be restarted as needed. However, if you drop the reference to the NoFlo network, then it should get garbage collected eventually

Hi Bergie,
Appreciated your rapid reply. Actually I drop my reference to the used graph but I keep my reference to the loader which loaded my graph. Does not it keep a reference to the already loaded graph? I am asking this because I have memory issue!
Afshin

@afshin2003 no, loader doesn't keep instance references, only the list of components available.

I got your point.  I get network object from the graph!

What do you mean "shutting down the graph"? There is no shutdown/stop for a graph (nor is there a start)

@jonnor I use shutdown method of the return instance of ComponentLoader's load method. I suppose the return object is a graph object! Isn't it?

It is a Component. Which may be a direct instance/subclass if the thing is defined in code. Or if the loaded thing is a graph, then its a noflo.components.Graph instance (which subclasses Component). This is different from a noflo.Graph (which is just a description of a graph, doesnt/cannot be started).
And to answer the questions. Yes, component.shutdown for a subgraph causes this.network.stop. Looking at the code, it does not unset/unreference this.network though...

Ok, I switched to network.stop() for shutting down. So if I don't keep any reference to graph / network, do you expect that it is collected by the GC?

Yes. There is at least one webservice which creates a new Graph instance per HTTP request, and I have not heard of any such problems there.
If you see something else will probably need a small executable example of the problem to be able to help. Btw, Chrome devtools heap debugger can be very helpful for checking memory issues. Can attach to the built-in Node.js debugger

So so much thanks!

OK, sounds like this one is resolved. Please reopen if there are still issues.


GHA: prefer to use a macro over changing the headers

-D_ALLOW_COMPILER_AND_STL_VERSION_MISMATCH should allow us to workaround the mismatch. This is cleaner than the solution of modifying system headers.

CC: @z2oh

Yeah that's much better. Not sure how I missed that #ifndef. Thanks!

The broken invocation is actually of swiftc, so I think this needs to be passed to CMAKE_Swift_FLAGS as -Xcc -D_ALLOW_COMPILER_AND_STL_VERSION_MISMATCH. I'm testing this now, will file a PR soon.


Leaks runner improvements

This PR does two different things:

It makes leaks runner support C-c.
It makes leaks runner fail nicely when a subtask segfaults instead of just throwing an IndexError.

rdar://31544274

@swift-ci python lint

@swift-ci smoke test and merge

@erg @shahmishal
Question. I ran python lint and it succeeded. Why is it also failing when performing smoke tests?

*Why is it failing in the smoke tests when python lint succeeded on the bot.

@swift-ci smoke test and merge

@swift-ci smoke test and merge

smoke test has python lint test now:
FAIL: Swift(macosx-x86_64) :: Python/python-lint.swift (8776 of 9637)
******************** TEST 'Swift(macosx-x86_64) :: Python/python-lint.swift' FAILED ********************
Script:
--
/usr/bin/python /Users/buildnode/jenkins/workspace/swift-PR-osx-smoke-test/branch-master/swift/utils/python_lint.py
--
Exit Code: 1

Command Output (stdout):
--
./benchmark/scripts/Benchmark_RuntimeLeaksRunner.in:115:19: E128 continuation line under-indented for visual indent

--

********************

*Why is it failing in the smoke tests when python lint succeeded on the bot.

Good question.


add allowed CIDR blocks to HostedCluster API

Add spec.networking.apiServer.allowedCIDRBlocks to HC API and use spec.LoadBalancerSourceRanges for enforcement on the kube-apiserver Service
https://issues.redhat.com/browse/HOSTEDCP-464
What this PR does / why we need it:
Which issue(s) this PR fixes (optional, use fixes #<issue_number>(, fixes #<issue_number>, ...) format, where issue_number might be a GitHub issue, or a Jira story:
Fixes #
Checklist

[ ] Subject and description added to both, commit and PR.
[ ] Relevant issues have been referenced.
[ ] This change includes docs.
[ ] This change includes unit tests.

@sjenning for private clusters, I suppose you need to specify allowed cidrs that include node ips in your vpc? If so, it'd be good to mention that in the godoc

@csrwng yeah, I don't think we want to leave that up to the user.  We should add that rule automatically.  I'm going to make sure that they aren't already allowed by some other rule on the node SG first.

confirmed that existing rules in the node SG allow access across PriviteLink

/retest-required

/retest-required

/lgtm cancel

F0614 16:43:06.445549       1 ovnkube.go:133] error when trying to initialize libovsdb NB client: unable to connect to any endpoints: failed to connect to ssl:ovnkube-master-0.ovnkube-master-internal.e2e-clusters-v69k9-example-rqlrc.svc.cluster.local:9641: failed to open connection: dial tcp: lookup ovnkube-master-0.ovnkube-master-internal.e2e-clusters-v69k9-example-rqlrc.svc.cluster.local: no such host. failed to connect to ssl:ovnkube-master-1.ovnkube-master-internal.e2e-clusters-v69k9-example-rqlrc.svc.cluster.local:9641: endpoint is not leader. failed to connect to ssl:ovnkube-master-2.ovnkube-master-internal.e2e-clusters-v69k9-example-rqlrc.svc.cluster.local:9641: endpoint is not leader

The nested e2e failed because ovnkube pods (1 & 2) failed to lookup the master-0 pod. I wonder if this can be fixed via init container.
/lgtm


CodeIgniter + Session usage with Redis is slow

I'm migrating my application with CodeIgniter 3 to use Redis as a session manager, but as the app makes many requests in AJAX I noticed that they tend to take longer, 11 requests that in all took 300ms (sessionHandler=files) now take 11s (sessionHandler=redis).
I made some code changes to get all sessions at the beginning of each controller, put the values in a model and after that I run session_write_close().
The request time even improved, lowering the time to an average of 3 - 5s, but far from ideal.
Reading the CodeIgniter documentation I saw this:

CodeIgniter’s Session library does NOT use the actual ‘redis’ session.save_handler.

With that I decided to disable the autoload of the native CodeIgniter session and directly use the session_start() at the beginning of the Controllers before getting the session values and feeding my Model.
To my surprise, the application load the data again in less than 300ms. And even not using session_write_close() anymore, it still continued at the same speed.
What could be happening with CodeIgniter that makes it take longer to connect and read the session in Redis?
Both CI and PHP are configured with Redis as the session manager.
Version:
CodeIgniter 3.1.13
PHP 7.4
Redis 7

Correct, the problem is the fixed long interval (1 second). Default interval for the PHPRedis driver is 20 ms...
You have two alternatives:

Extend (or edit...) the CI Session redis driver in order to customize the lock polling timeout to a more reasonable smaller value (in case, follow what I wrote in #6157 and substitute sleep with usleep)
dealing with sessions outside the framework. That is, use $_SESSION, the phpredis settings in php.ini etc..


deal with exception stacktraces better - needs tidyup

I've pulled the RemoteException part of this out into a separate tidier PR #662


fixed arrowhead programming

LGTM
:+1:
@wyaeiga, think about improving the readability (or the prettiness of the code - if that's even a thing) by using constant and the ending conditional


Bluesky FA icon not displaying

Hi,
I'm trying to use the BlueSky FA icon on my menu.footer however it's not displaying. I have the latest font awesome files on my site under css.
[[menu.footer]]
name = "Bluesky"
pre = "<i class = 'fab fa-bluesky'></i>"
url = ""
[[menu.footer]]

I let this sit for a while but it works now. I think I had a cache problem on my browser.


When using search and being directed to target coordinates, place a pin on the map

Helps the user understand and orient themselves around where the search query just took them
Example from google maps:

@ri0nardo hopefully this is a small ask, but any preference on how we would do this or what a pin should look like if we do go this route?

@ri0nardo hopefully this is a small ask, but any preference on how we would do this or what a pin should look like if we do go this route?

First thoughts on this task is that the pin should not be green. The reasoning is that the majority of tree vectors are green on the map and its going to be difficult to locate where the pin is.
The pin design at this stage I would recommend that you just put down a fill icon as the pin so it doesnt block you from progressing forward. For the style of pin I would recommend that it is a different shape from the circle vector on the map, so even a shape similar to what google uses would be appropriate at this stage. I will look into what would potentially be a good fit, but feel free to pick something that interest you.
Another example I just quickly looked at is Yelp style of pin. Nearly a circle, but close to a tree vector node.

The other slightly relevant question is whether we want to close out on any currently selected trees if a user initiates a search. Maybe if the tree is no longer within the user's viewport?

@ri0nardo hopefully this is a small ask, but any preference on how we would do this or what a pin should look like if we do go this route?

First thoughts on this task is that the pin should not be green. The reasoning is that the majority of tree vectors are green on the map and its going to be difficult to locate where the pin is.
The pin design at this stage I would recommend that you just put down a fill icon as the pin so it doesnt block you from progressing forward. For the style of pin I would recommend that it is a different shape from the circle vector on the map, so even a shape similar to what google uses would be appropriate at this stage. I will look into what would potentially be a good fit, but feel free to pick something that interest you.
Another example I just quickly looked at is Yelp style of pin. Nearly a circle, but close to a tree vector node.

Awesome, thanks!

The other slightly relevant question is whether we want to close out on any currently selected trees if a user initiates a search. Maybe if the tree is no longer within the user's viewport?

I would ask @zoobot regarding her thoughts on this.
My thoughts would be that would be a great idea if we can limit our viewport. Does it currently load all trees? Is this what tom was initially working on? or is this different?

@zoobot this is not regarding the side panel, this is about the pin design and whether or not we should only show the tree that is searched or if we should show all trees at all times when you search.
@mwpark2014 to differentiate the design of the trees searched we could give the searched tree nodes a white outline? with a number? This is just another idea. but will the side panel popup with the search? I think that is another conversation right?

Ooh, I like the idea of trying to match. Might be better to try to do geocoded latlng/address -> tree search in the backend. I'll include it somewhere in the search roadmap. Sounds like until that's a thing, let's just close out the previously selected tree. The search starts a new flow for finding a particular tree of interest to the user


Addition of More Templates

Can add Persistent-volume-claim, persistent-volume and statefulsets?

Thanks @dipankardas011 - definitely!
Which input configuration properties would you suggest we add to the wizard for each of these?

Thanks @dipankardas011 - definitely!
Which input configuration properties would you suggest we add to the wizard for each of these?

Are you asking about which Kubernetes object I want to add?

no - i mean for each of these templates (PVC, PV, SS) - what should the user have to specify apart from name/namespace - and what yaml should we generate based on the users input?
(we can try to figure this ourselves - I just wanted to see if you had any specific requests)

okay understood

PV : labels, storage capacity, accessModes, reclaim policy
PVC : labels , request storage, accessMode
Statefuleset : labels, serviceName, replicas, container name, image, accessMode

awesome - thank you!

I have made it so can I send the pictures of the template.yaml for each of them

great - or just attach them in a gist?

or open a PR to this repo with them...

okay making a PR🙂

Thanks for your proposal and PR @dipankardas011 ! 👍

In the author : ??

[ ] should I put kubeshop.io

Hi @dipankardas011
You did it, you are the author :)

Whatever makes you feel comfortable. We appreciate what you did a lot, that's why we think you can put your name 👍

Thanks

Leaving a comment, as the PR #4 has not been reviewed🙂

Thanks for merging PR #4


Issue on audio ratio for XTTS

Hi ! Work great with VITS and MS but every use of XTTS (custom or studio, like Damien Black example) crashed.
Computing speaker latents...
Reading from 83 to 83
  0%|                                                                                | 0/5 [00:00<?, ?it/s]Error: isin() received an invalid combination of arguments - got (test_elements=int, elements=Tensor, ), but expected one of:
 * (Tensor elements, Tensor test_elements, *, bool assume_unique, bool invert, Tensor out)
 * (Number element, Tensor test_elements, *, bool assume_unique, bool invert, Tensor out)
 * (Tensor elements, Number test_element, *, bool assume_unique, bool invert, Tensor out)
 ... Retrying (1 retries left)
Error: isin() received an invalid combination of arguments - got (test_elements=int, elements=Tensor, ), but expected one of:
 * (Tensor elements, Tensor test_elements, *, bool assume_unique, bool invert, Tensor out)
 * (Number element, Tensor test_elements, *, bool assume_unique, bool invert, Tensor out)
 * (Tensor elements, Number test_element, *, bool assume_unique, bool invert, Tensor out)
 ... Retrying (0 retries left)
  0%|                                                                                | 0/5 [00:00<?, ?it/s]
Traceback (most recent call last):
  File "/home/lucas/apps/epub2tts/.venv/bin/epub2tts", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/home/lucas/apps/epub2tts/.venv/lib/python3.11/site-packages/epub2tts.py", line 945, in main
    mybook.read_book(
  File "/home/lucas/apps/epub2tts/.venv/lib/python3.11/site-packages/epub2tts.py", line 648, in read_book
    f"Something is wrong with the audio ({ratio}): {tempwav}"
                                          ^^^^^
UnboundLocalError: cannot access local variable 'ratio' where it is not associated with a value

Any idea ?

Can you paste the full exact command you called epub2tts with?
Also, MAYBE try again with the addition of --minratio 0 and see if that works (though I don't think it will). I suspect you've found an actual bug, but it might have to do with the specific way you're calling the script.

Hi, I'm getting the same error. I'm calling this via the same command structure as mentioned in readme example.
epub2tts mybook.txt --engine xtts --speaker "Damien Black" --cover mybookcover.png --sayparts

Maybe this has something to do with CUDA, so far I am unable to reproduce. Can you share platform details, as well as the output at the start of the run, similar to what I see testing on Windows under WSL with a machine that has an nVidia GPU:
Saving to sample-damien-black.m4b
Total characters: 727
Using GPU
VRAM:<PHONE_NUMBER>
Loading model: /home/doc/.local/share/tts/tts_models--multilingual--multi-dataset--xtts_v2
 > tts_models/multilingual/multi-dataset/xtts_v2 is already downloaded.
 > Using model: xtts
[2024-05-24 08:33:08,729] [INFO] [real_accelerator.py:161:get_accelerator] Setting ds_accelerator to cuda (auto detect)
[2024-05-24 08:33:09,080] [INFO] [logging.py:96:log_dist] [Rank -1] DeepSpeed info: version=0.12.6, git-hash=unknown, git-branch=unkno
wn
[2024-05-24 08:33:09,081] [WARNING] [config_utils.py:69:_process_deprecated_field] Config parameter replace_method is deprecated. This
 parameter is no longer needed, please remove from your call to DeepSpeed-inference
[2024-05-24 08:33:09,081] [WARNING] [config_utils.py:69:_process_deprecated_field] Config parameter mp_size is deprecated use tensor_p
arallel.tp_size instead
[2024-05-24 08:33:09,081] [INFO] [logging.py:96:log_dist] [Rank -1] quantize_bits = 8 mlp_extra_grouping = False, quantize_groups = 1
Using /home/doc/.cache/torch_extensions/py310_cu121 as PyTorch extensions root...
Detected CUDA files, patching ldflags
Emitting ninja build file /home/doc/.cache/torch_extensions/py310_cu121/transformer_inference/build.ninja...
Building extension module transformer_inference...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
ninja: no work to do.
Loading extension module transformer_inference...
Time to load transformer_inference op: 0.0545198917388916 seconds
[2024-05-24 08:33:10,075] [INFO] [logging.py:96:log_dist] [Rank -1] DeepSpeed-Inference config: {'layer_id': 0, 'hidden_size': 1024, '
intermediate_size': 4096, 'heads': 16, 'num_hidden_layers': -1, 'dtype': torch.float32, 'pre_layer_norm': True, 'norm_type': <NormType
.LayerNorm: 1>, 'local_rank': -1, 'stochastic_mode': False, 'epsilon': 1e-05, 'mp_size': 1, 'scale_attention': True, 'triangular_maski
ng': True, 'local_attention': False, 'window_size': 1, 'rotary_dim': -1, 'rotate_half': False, 'rotate_every_two': True, 'return_tuple
': True, 'mlp_after_attn': True, 'mlp_act_func_type': <ActivationFuncType.GELU: 1>, 'specialized_mode': False, 'training_mp_size': 1,
'bigscience_bloom': False, 'max_out_tokens': 1024, 'min_out_tokens': 1, 'scale_attn_by_inverse_layer_idx': False, 'enable_qkv_quantiza
tion': False, 'use_mup': False, 'return_single_tuple': False, 'set_empty_params': False, 'transposed_mode': False, 'use_triton': False
, 'triton_autotune': False, 'num_kv': -1, 'rope_theta': 10000}
VRAM:<PHONE_NUMBER>
Computing speaker latents...
Reading from 1 to 2

Unfortunately, seems to still be the same output...
epub2tts mybook.txt --engine xtts --speaker "Damien Black" --sayparts --no-deepspeed --debug
Namespace(sourcefile='mybook.txt', engine='xtts', xtts=None, openai=None, model='tts_models/en/vctk/vits', speaker='Damien Black', scan=False, start=1, end=999, language='en', minratio=88, skiplinks=False, skipfootnotes=False, sayparts=True, audioformat='m4b', bitrate='69k', debug=True, export=None, no_deepspeed=True, skip_cleanup=False, cover=None)
Language selected: en
in main, Speaker is Damien Black
Section speakers: ['Damien Black']
...
Saving to mybook-damien-black.m4b
Total characters: 1415
Using GPU
VRAM:<PHONE_NUMBER>6
Loading model: /home/user/.local/share/tts/tts_models--multilingual--multi-dataset--xtts_v2
 > tts_models/multilingual/multi-dataset/xtts_v2 is already downloaded.
 > Using model: xtts
VRAM:<PHONE_NUMBER>6
Computing speaker latents...
Reading from 1 to 1
  0%|                                                                                | 0/14 [00:00<?, ?it/s]Information.
Error: isin() received an invalid combination of arguments - got (test_elements=int, elements=Tensor, ), but expected one of:
 * (Tensor elements, Tensor test_elements, *, bool assume_unique, bool invert, Tensor out)
 * (Number element, Tensor test_elements, *, bool assume_unique, bool invert, Tensor out)
 * (Tensor elements, Number test_element, *, bool assume_unique, bool invert, Tensor out)
 ... Retrying (1 retries left)
Information.
Error: isin() received an invalid combination of arguments - got (test_elements=int, elements=Tensor, ), but expected one of:
 * (Tensor elements, Tensor test_elements, *, bool assume_unique, bool invert, Tensor out)
 * (Number element, Tensor test_elements, *, bool assume_unique, bool invert, Tensor out)
 * (Tensor elements, Number test_element, *, bool assume_unique, bool invert, Tensor out)
 ... Retrying (0 retries left)
  0%|                                                                                | 0/14 [00:00<?, ?it/s]
Traceback (most recent call last):
  File "/home/user/.local/bin/epub2tts", line 8, in <module>
    sys.exit(main())
  File "/home/user/.local/lib/python3.10/site-packages/epub2tts.py", line 945, in main
    mybook.read_book(
  File "/home/user/.local/lib/python3.10/site-packages/epub2tts.py", line 648, in read_book
    f"Something is wrong with the audio ({ratio}): {tempwav}"
UnboundLocalError: local variable 'ratio' referenced before assignment

If it's not something weird coming from the text itself (like somehow it's trying to pass a special character, or pass an empty string to TTS), I'm not sure what this could be.
One more confirmation please, just to be sure Coqui TTS is working OK on it's own, try:
tts --model_name tts_models/multilingual/multi-dataset/xtts_v2  --speaker_idx 'Damien Black' --text "This is a test" --out_path test.wav --language_idx en
If that works, and using super simple text like "sample.txt" from the repo still throws the error, I might be out of ideas.

Downgrade transformers to 4.40.2
pip install transformers==4.40.2
transformers/generation/utils.py: _prepare_attention_mask_for_generation() is broken as of 4.41.0
This only seems to affect model.inference_stream(). Invoking tts from the command line still works in transformers 4.41.0.

@acerbusace can you try what @two-9 suggested and see if that solves it? If it does, I'll update requirements.txt and pin to that version of transformers.

Can confirm, downgrading transformers to 4.40.2 fixes the issue!

Excellent! Thanks for checking that, and thank you a ton to @two-9 for the fix, probably would have taken me a while to remember to start googling for tensor errors haha!


Windows compiled ok, but can't run

modified_files.zip
Here are the steps(All the files are in the zip file):
(1) Download the liblapack.lib and liblapacke.lib ,  and headers LAPACKE header file, LAPACKE mangling header file, liblapack.dll, liblapacke.dll
(2) Change the variance_reduction.c to  variance_reduction.cpp , and change the part to
#include <complex>

#define LAPACK_COMPLEX_CUSTOM
#define lapack_complex_float std::complex<float>
#define lapack_complex_double std::complex<double>

#include <Python.h>
#include <numpy/arrayobject.h>
#include <lapacke.h>

/* DGESVD prototype */
extern "C" void LAPACK_dgesvd( char* jobu, char* jobvt, int* m, int* n, double* a,
                    int* lda, double* s, double* u, int* ldu, double* vt, int* ldvt,
                    double* work, int* lwork, int* info )

(3) Change the setup.py file to :
   else:
        # assume linux otherwise, unless we support Windows in the future...
        print("Platform Detection: Linux. Link to liblapacke...")
        extra_link_args = []
        include_dirs = [(numpy.distutils.misc_util.get_numpy_include_dirs() +
                        ['/usr/include/']), "your_header_directory"]  #Change the header directory
        libraries = ['liblapacke', 'liblapack']
        library_dirs = ['D:/tools/LAPACK_3.1.1_for_Windows_VS/lib/x64']  #This is the lib directory

(4) Run: python setup.py install
(5) Put the dll files like this

Is there any error message that might suggest why it can't run?

The python's pyd file can't load. There may exist some dependencies error.

In my knowledge, the best way to install on windows is disable compile variance_reduction. Current version of setup.py allow to achieve this purpose by set env LIBACT_BUILD_VARIANCE_REDUCTION=0.


Add Belkin F7C063

Device information

Home Assistant Device information

Device info
Socket
by Belkin
Firmware: WeMo_WW_2.00.11565.PVT-OWRT-SNSV2
Checklist

[x] I have created a single PR per device. When you have multiple submissions please create separate PR's.
[ ] For lights - I have only included the gzipped files (*.gz), not the raw CSV files.
[ ] For lights - I have provided a CSV file per supported color mode. Look that up in Developer Tools -> States

Additional info

Nice! Thanks for the contribution.


Bump version to release 1.2.0

In preparation for a long-overdue 1.2.0 release

[x] Bumped version in version.rb
[x] Set version in CHANGELOG.md
[x] Re-ran tests
[x] ran bundle update to update gem dependencies to latest versions

👍  merge on green


New ops associated with opset 20

I am planning on updating DFT, IsInf, and IsNaN, however are there any new operations from ONNX 1.15.0 that we want to integrate into onnx-mlir?
ImageDecoder a new ImageDecoder operator to be used in preprocessing models
RegexFullMatch a new operator for regex matching that is commonly used in feature preprocessing
StringConcat takes two string tensors as input and returns the elementwise concatenation of the strings in each tensor
StringSplit takes a string tensor as input and splits each element based on a delimiter attribute and a maxsplit attribute
AffineGrid Generates a 2D or 3D flow field (sampling grid), given a batch of affine matrices theta

FYI- @AlexandreEichenberger @tungld @chentong319
I know @AlexandreEichenberger mentioned StringConcat and StringSplit. Anything else? Also I think we are still working on support string data types. I know there is a PR for review but has not be integrated as of yet.

I am closing this out for now :)


sf-client network list has no --namespace option

Should allow listing by namespace.
$ sf-client network list --help
Usage: sf-client network list [OPTIONS]

  List networks

Options:
  -a, --all  Include networks in error and deleted networks
  --help     Show this message and exit.

In fact, most calls lack a namespace argument. I think this is more complicated than I want it to be though -- at the moment we only support specifying a namespace if you're in the system namespace. Is that really worth adding something to every call? Or do we need a more complicated namespace permissions model?

This is a good question.
Should namespaces just be a separation tool or should they be a proper tenant separation?
Do we want a full RBAC model or should each SF cluster be used by cooperating trusted users.
At the moment (today), I like the idea of separate namespaces for separating jobs because I can use a single clean command to delete all the instances and networks in that namespace.
So maybe a tenant permissions model goes over the top of namespaces? (k8s style)

Yeah, I like the simplicity of what we have now. What I really want to do is something like:

you create a system client (if you're in the system namespace)
system clients can create sub-clients which are in another namespace
remove all the namespace arguments on individual calls

Something like:
system_client = apiclient.Client()
foo_client = system_client.subclient('foo')

When the subclient makes a call, how does the API server know that its authorized? Maybe _actual_request_url() could insert a header or something?

What about an X-ShakenFist-Namespace header which only works if you're authed in the system namespace?

I'm not sure about the actual efficiency of sending the namespace in the header vs as a parameter. Each call still needs to check the namespace for the particular parameter. I think you are also suggesting further change?
In the case where we have multiple CI jobs running plus a couple of people working in the same cluster - a perfect example of the SF use case - it would be great to just list the instances/networks in a particular namespace. As a user, I want to quickly create a namespace, test an idea for a few days then clean away everything in the namespace. I don't want to inadvertently interfere with other work or CI jobs but still have a quick clean up option.