Add parser for dimension property from WMTS Capabilities.xml

This add the possibility to parse the Dimension section of a WMTS Capabilities.xml with OpenLayers. I have a small question regarding tests: currently none of your xml used for testing have such a section. Should I add one with for instance:
<Dimension>
    <ows:Identifier>Time</ows:Identifier>
    <Default>20110805</Default>
    <Value>20110805</Value>
    <Value>20081024</Value>
</Dimension>

Or are these xml real xml from a server that shouldn't be modified?

I think you can just add a Dimension section to the existing XML document.

Just updated the PR to add tests.

okay I see now, didn't know there was stuff already like this in the WMTS parser, in that case I can't really object to adding another one outside of the OWS parser ;-)

I am not opposed to add it to owsformat but I will need some help. I also guess that I will have to "correct" all the current usage.

Right, I think we can consider that out of scope for your PR. I'm happy to reconsider my comment, no problem.

Any plans on continuing this review?

Let's set this to the 3.10.0 release.
@Jenselme, this at least needs a rebase.

@elemoine sounds great. I just rebased the PR.

@elemoine or @bartvde, I'm moving this to the 3.11 milestone. If you want to have it in 3.10, you shoiuld merge it in the next hour or so.

I am sorry, but this needs rebasing. I'll review and merge once rebased.

@elemoine PR rebased

Thanks. I'll merge when the goog.isDef is changed.

@elemoine commit updated to remove goog.isDef.

Merged. Thanks for the patch.


FaceRecoEngineAdapter - MapHResults.h:17 - EXC_BAD_ACCESS - iOS

Please provide us with the following information:

Minimal steps to reproduce

I'm adding SPM to my UIKit project and adding LivenessActor.swift file from sample to my project, when I call start(usingSource: visionSource, sessionAuthorizationToken: token)  function most of the time I'm facing the issue in image below:

Any log messages given by the failure

#5 Microsoft::CognitiveServices::Speech::Impl::FaceRecoEngineAdapter::CSpxFaceRecoEngineAdapter::GentlemenStartYourFaceEngines(Microsoft::CognitiveServices::Speech::Impl::RecoEngineAdapterMode, Microsoft::CognitiveServices::Speech::Impl::Either<Microsoft::CognitiveServices::Speech::Impl::Media::MediaOffset, Microsoft::CognitiveServices::Speech::Impl::Media::LiveMediaPosition>, std::__1::shared_ptrMicrosoft::CognitiveServices::Speech::Impl::ISpxNamedProperties const&) at /Users/runner/work/1/s/source/core/vision_recognizers/face_reco_engine_adapter/source/face_reco_engine_adapter.cpp:1012

#4	0x00000001037b5650 in FaceEngine_CreateImageFromBuffer ()

this is my last stack thread issue.
Expected/desired behavior

It's crashed on this state

OS and Version?

iOS 16.7.5

Mention any other details that might be useful
I want to know what would be happens this crash occurred that I can fix that if I'm doing wrong

Thanks! We'll be in touch soon.

Thank you for your report. Could you please detail a few more things:

Which version of the SDK are you using?
Since the code is EXC_BAD_ACCESS, which device were you using to test, or how much memory does it have?

Thanks @dipidoo Sure,
Until now i'm investigating the issue, I found when I add a reference image to LivenessActor this issue occurs, I'll send you briefly of my code:

as you can see when I add a reference image here, my crash occured.
for your answer I'm just reading from main branch with commit bf640ff for vision face framework, of course be appreciate if you could give me a link to find latest versions of the frameworks.
my testing phone is iPhone X, memory is 187 MB

Hi,
As best practice, the VerifyImage should be set during token creation. Please refer to the API Documentation and this section of the code on how to set it.

Hi, we followed as you told me about best practices and the problem goes. so I close this issue. Thanks


proposal: reflect: add MakeType

reflect.TypeOf is one of a few fundamental reflect APIs. It returns the dynamic type of a value. This is, strictly speaking, sufficient. However, it is non-obvious how to use it to get a static type. The correct code is long, awkward, and hard to explain.
Pre-generics, there was no way to write a nice API to get a static reflect.Type. Now there is.
// MakeType returns the reflection Type that represents the static type of T.
func MakeType[T any]() reflect.Type {
	return reflect.TypeOf((*T)(nil)).Elem()
}

I propose that we add it.
It is a single line implementation, but it fills an obvious gap in the package reflect API and makes call sites clear.
I strongly suspect that almost all uses would be in conjunction with reflect.Type.Implements. An alternative would be make a generic version of implements that accepts an interface type as a type parameter, but fundamental building blocks compose better.
EDIT: this originally proposed StaticTypeOf; renamed to MakeType, per discussion.

Compare #50741

Gob uses tricks like
binaryMarshalerInterfaceType   = reflect.TypeOf((*encoding.BinaryMarshaler)(nil)).Elem()

and this would let us write
binaryMarshalerInterfaceType   = reflect.StaticTypeOf[encoding.BinaryMarshaler]()

which is definitely nicer. Static is probably not the right word - that's a C word with lots of overloaded meanings. But something with that behavior would help.

I've wanted something like this on more than one occasion as well. There have been several talks about adding a nicer generic way to get a zero value of a type, something similar to nil but for any value. If one of those actually goes somewhere, let's say using _ as a value, then combining that with #50741 would let you do something like reflect.GenericTypeOf[int](_).

Can someone do a corpus analysis to see what the relative frequencies of different reflect operations are (GenericTypeOf vs StaticTypeOf)?

To bikeshed on shorter names: TypeOfT, TypeFrom.

or even reflect.T ?

A cursory look at just the standard library reveals dozens of places where reflect.T[whatever] could be substituted in for greater clarity. reflect.GenericValueOf is harder to qualify because there are a few places where the interface type were clearly what's wanted, but in a lot of cases, the underlying concrete type is the target. Adding reflect.GenericValueOf will add a level of ambiguity: Does the author really want the concrete type here or did they just see generics and assume this function is newer and therefore better? It adds a second way of doing things without being 100% clear about what's intended. So I'm leaning towards +1 on reflect.T but +0 on reflect.GenericValueOf.

reflect.TypeOf is a good name.  I hope I'm not missing anything, but it seems to me that the new proposed function will always return the same value as reflect.TypeOf except when passing an argument of interface type.  So since we already have reflect.TypeOf, and it works fine, what we need is a function that returns that reflect.Type for an interface type.  I suggest reflect.TypeOfInterface.

@ianlancetaylor I'm not sure I agree; I would personally want to use the generic API consistently. There would be little reason to use a mix of both APIs if the new one is more than enough. Consistency is the same reason why I use reflect.TypeOf((*string)(nil)).Elem() instead of reflect.TypeOf(""), for example.
Put another way, I much prefer reflect.NewAPI[string] (whatever its name) over either of the existing options above.

Thanks, that kind of makes this an instance of #48287.  It's hard to think of a good name, since the right name is already taken.

I feel a little confused by the discussion above because the proposal I see at the time of writing does not take a value and return its type, but instead takes a type directly (via a type parameter) and returns the reflect equivalent of that type. Has the proposal changed since the discussion started?
I suppose the assumption of the subsequent discussion is that it's idiomatic to use the zero value of a type with TypeOf to obtain the reflect value of that type, in which case indeed it would be true that the zero value of any type other than an interface type would produce the same result as passing the same type as the type parameter to the proposed function.
However, I think even then this proposal is defensible, because directly asking for the reflect representation of a type is a clearer representation of author intent than asking for the type of a zero value of a type:
reflect.TypeOf(0)
reflect.StaticTypeOf[int]()

Of course this is subjective, but the second one reads more clearly to me as "get the reflect representation of int" than the first one does. The first one just reads as a workaround for the lack of generics in Go.
In some codebases I'm responsible for I can see expressions very similar to the ones found in the standard library which would benefit from this proposal, like this one:
// (intAlias is a named type based on int)
reflect.TypeOf((*intAlias)(nil)).Elem()

// (I don't recall why this one uses a pointer to a separate zero-valued variable rather
// than a nil pointer, but perhaps this just demonstrates that it's non-obvious how
// to get a reflect.Type of an interface type, as the proposal claims.)
var victimExpr hcl.Expression // hcl.Expression is an interface type
var exprType = reflect.TypeOf(&victimExpr).Elem()

I can also see some examples like the one I showed above where the zero value to TypeOf doesn't directly name the type, so the reader just has to know what type the expression has:
// this is from a test of an encoding/json-like marshalling library, testing the string case
reflect.TypeOf("")

// (cty.NilType is a variable containing the zero value of a struct type,
// so this is the same as writing an empty composite literal for that type.)
reflect.TypeOf(cty.NilType)

The amount of variation in these examples suggests to me that having one obvious way to do it would also reduce the deviation caused by different developers inventing slightly different approaches to the same problem.

I do agree that the name StaticTypeOf feels a bit unfortunate. My first idea would've been reflect.GetType[T] since it seems like we're literally getting the type itself, and not getting the type of something. Though of course I'll concede that it isn't typical to use the Get prefix on getter-shaped functions in Go, so that would itself be a little unfamiliar.
I feel okay about reflect.T too, although I feel unsure about whether I would've guessed correctly what that represents if I hadn't already been primed by reading this discussion. On the other hand, obtaining reflect.Type values is one of the two main operations in the reflect API -- obtaining reflect.Value values being the other -- so it does seem defensible to give it a short, concise name. I feel ambivalent about whether T is too short or not. :grinning:
I don't see so much value in a generic version of reflect.ValueOf, because indeed that seems only marginally different to the interface-based version, and the difference between the two would be pretty subtle for less experienced gophers as described above.

It's a little odd, but perhaps reflect.MakeType[userType]() to make a reflect.Type from some other type.

This proposal has been added to the active column of the proposals project
and will now be reviewed at the weekly proposal review meetings.
— rsc for the proposal review group

I love this proposal, but the "make" in MakeType makes it sound way more expensive than it is. It will likely compile to approximately nothing. It's certainly not as expensive as the existing MakeMap, MakeMapWithSize, MakeSlice, New, NewAt.
I know nobody loves the word "Get" but @apparentlymart's reflect.GetType[T] sounds closer to the weightiness I'd expect.

Yet another color is reflect.ToType[userType]() returning a reflect.Type.

If we're listing all possible names, #60274 suggests the name Reflect[T ...]() for a related purpose. reflect.Reflect[userType]() stutters, but I don't find it unnatural.

Maybe reflect.AsType[userType](), meaning “userType as a reflect.Type”?

TypeOf: would be best, but it's taken.
GetType: Considered un-Go-ish
MakeType: Feels more heavyweight than the operation is. MakeFunc makes a new function (similarly MakeMap, MakeChan etc.), but this returns a reflect.Type of an existing type.
AsType: "As" usually means some kind of dynamic conversion or unwrapping
NewType: Has similar problems to Make, but I think slightly less so.

reflect.TheType[T]()?

Maybe reflect.Types[userType]().

reflect.ConstantType[string]()?

reflect.TypeFor[string]() reads pretty well.
reflect.TypeFrom[string]() also good.

I'm liking reflect.TypeFor.

Is it possible add builtin typeof like recently added max/min/clear ?
func typeof[T any]() reflect.Type

It looks like people are happy with
package reflect
func TypeFor[T any]() reflect.Type

Retitled to reflect that (sorry).
Have all remaining concerns been addressed?

Based on the discussion above, this proposal seems like a likely accept.
— rsc for the proposal review group

No change in consensus, so accepted. 🎉
This issue now tracks the work of implementing the proposal.
— rsc for the proposal review group

Change https://go.dev/cl/555597 mentions this issue: reflect: optimize TypeFor for non-interface types

Change https://go.dev/cl/555597 mentions this issue: reflect: optimize TypeFor for non-interface types

Change https://go.dev/cl/555597 mentions this issue: reflect: optimize TypeFor for non-interface types

hi @dsnet, is this optimization necessary?
goos: darwin
goarch: arm64
pkg: code.byted.org/ecom/main
BenchmarkTypeForString
BenchmarkTypeForString-10     	568044871	         2.112 ns/op
BenchmarkTypeForError
BenchmarkTypeForError-10      	287675214	         4.177 ns/op
BenchmarkTypeForString2
BenchmarkTypeForString2-10    	914612360	         1.309 ns/op
BenchmarkTypeForError2
BenchmarkTypeForError2-10     	918391360	         1.299 ns/op

type Type struct{ /** copy of abi.Type **/ }
type PtrType struct { Type; Elem *Type }

var abiTypeITab uintptr

func init() {
	t := reflect.TypeOf(0)
	abiTypeITab = (*[2]uintptr)(unsafe.Pointer(&t))[0]
}

func TypeFor2[T any]() (t reflect.Type) {
	v := any((*T)(nil))
	vp := (*[2]uintptr)(unsafe.Pointer(&v))
	tp := (*[2]uintptr)(unsafe.Pointer(&t))
	tp[0] = abiTypeITab
	tp[1] = *(*uintptr)(unsafe.Pointer(vp[0] + unsafe.Offsetof(PtrType{}.Elem)))
	return
}

var sinkType reflect.Type

func BenchmarkTypeForString(b *testing.B) {
	for i := 0; i < b.N; i++ {
		sinkType = TypeFor[string]()
	}
}

func BenchmarkTypeForError(b *testing.B) {
	for i := 0; i < b.N; i++ {
		sinkType = TypeFor[error]()
	}
}

func BenchmarkTypeForString2(b *testing.B) {
	for i := 0; i < b.N; i++ {
		sinkType = TypeFor2[string]()
	}
}

func BenchmarkTypeForError2(b *testing.B) {
	for i := 0; i < b.N; i++ {
		sinkType = TypeFor2[error]()
	}
}

This function can be inlined.
func TypeFor2[T any]() (t reflect.Type) {
	v := any((*T)(nil))
	vp := (*[2]uintptr)(unsafe.Pointer(&v))
	tp := (*[2]uintptr)(unsafe.Pointer(&t))
	tp[0] = abiTypeITab
	tp[1] = *(*uintptr)(unsafe.Pointer(vp[0] + unsafe.Offsetof(PtrType{}.Elem)))
	return
}

Rather than do this kind of inscrutable unsafe data structure manipulation, let's improve the compiler.  Thanks.


Relocate general purpose snippets still in 5ePHB theme to Blank

This relocates a significant number of Snippets from the V3/5ePHB theme to the V3/Blank theme

Text Editor Menu

Table of Contents
Index

Style Editor Menu
Remove Drop cap
Tweak Drop cap

It also removes redundant entries:

Images Menu

Image
Background Image
Watermark

Solves #3602

Remove Drop cap
Tweak Drop cap

We should then add a drop cap to the blank theme as well, probably not a bad idea.

Hey hey hey! the styles for the cover page should remain in the PHB theme! Those fonts and assets are from the phb theme, Blank should have a cover, but neither the markdown nor the less should be the same as in the PHB

Hey hey hey! the styles for the cover page should remain in the PHB theme! Those fonts and assets are from the phb theme, Blank should have a cover, but neither the markdown nor the less should be the same as in the PHB

I reverted this back then but it leads me to questions:

Should Blank be the base theme that is loaded for Homebrewery ( not Brews, but the app ) instead of 5ePHB? Or should we establish a distinct Homebrewery theme that decouples this from the Brew theme ( even if it is initially indistinct ). I know this is  a little bit of a tangent to this PR and probably should be handled as a distinct task - but it factors into the thinking

Regarding the styles and such that were moved, I will clone those, lacking the font definitions for now. We may want to have a separate discussion as to if we want specific faces to be the defaults for Blank as opposed to system/browser defaults.

questions:

Should Blank be the base theme that is loaded for Homebrewery ( not Brews, but the app ) instead of 5ePHB? Or should we establish a distinct Homebrewery theme that decouples this from the Brew theme ( even if it is initially indistinct ). I know this is  a little bit of a tangent to this PR and probably should be handled as a distinct task - but it factors into the thinking

There has been discussion about this, but we have never reached a full consensus, first, we want to decouple the HB from the brews, meaning, style for both should be kept separate, the blank theme only contains CSS for the brews.
Even if we made a Homebrewery theme, we should keep blank, for other themes to be built over it without having to worry about little stuff, this is my personal opinion, and, i believe, the team's(if i recall correctly)
I believe we should improve the blank theme to a more apt version of itself, adding covers and a TOC styling should help, but we don't need to make more changes than necessary, and changing the blank theme would today impact all themes out there, so also all brews out there.
We are open to talk about this, definitely.

Regarding the styles and such that were moved, I will clone those, lacking the font definitions for now. We may want to have a separate discussion as to if we want specific faces to be the defaults for Blank as opposed to system/browser defaults.

I will assume that by faces you mean typefaces, yeah, not sure either of what the blank theme styling should be.


unrar: 5.8.3 -> 5.8.4

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/unrar/versions.
meta.description for unrar is: '"Utility for RAR archives"'.
meta.homepage for unrar is: '"http://www.rarlab.com/"

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

directory tree listing: https://gist.github.com/2a3c01c276bda680afd909946165457d

du listing: https://gist.github.com/60a5f35c63f7d9118312541437bf6dbe

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

13 total rebuild path(s)
5 package rebuild(s)
5 x86_64-linux rebuild(s)
3 i686-linux rebuild(s)
2 x86_64-darwin rebuild(s)
3 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
pdfread
rarcrack
sabnzbd
unrar
zod

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/i781q04wx40q0ygibkrr8jzyh9jc8cdk-unrar-5.8.4 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
nix-build -A unrar https://github.com/r-ryantm/nixpkgs/archive/47b7af39f91150235a51d67f4588a965cc14de72.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/i781q04wx40q0ygibkrr8jzyh9jc8cdk-unrar-5.8.4
ls -la /nix/store/i781q04wx40q0ygibkrr8jzyh9jc8cdk-unrar-5.8.4/bin

cc @ehmry for testing.

@GrahamcOfBorg build unrar

Works for me.


Backdrop events

This issue is related to #2686. I really need to pause an animation when the user is doing something else (popover, popup, actionsheet, you name it), and afaik it's currently impossible (because only the popups have on/off events).
I think that the best way to solve it (maybe better than what I suggested in #2686) would be to add on/off events to the $ionicBackdrop service. Binding to it would be trivial and semantically right.

Greetings @arcanis!
Thank you for the feature request. We will review this further and possibly add it to our Feature Request board if we feel it is appropriate for Ionic.
Thank you for allowing me to assist you.


Multiple query parameter empty arrays append orphaned ampersands to query string

Discussed in https://github.com/openapi-ts/openapi-typescript/discussions/1934

Originally posted by BlakeSzabo October  1, 2024
Hi,
I've been using openapi-fetch and have been enjoying it so far but I have noticed a strange behaviour with arrays being passed in query params
here's a basic implementation of a client that will call the /posts endpoint and pass in four separate query params, each an empty array just to be a bit dramatic:
import createClient from 'openapi-fetch';
import type { paths } from '../types/api';

const client = createClient<paths>({ baseUrl: 'http://localhost:3001' });

export const getPosts = () => {
    client.GET('/posts', {
        params: {
            query: {
                first_array: [],
                second_array: [],
                third_array: [],
                fourth_array: [],
            },
        },
    });
};

Given all these arrays are empty, I wouldn't expect them to impact the query params; similar to how undefined or null would behave. However, the resulting request URL is http://localhost:3001/posts?&&&

I assume this behaviour isn't intended but wanted to check before raising an issue. I'm also willing to contribute to help solve this if I can. Thanks.

Hi @drwpow I'm happy to do the work for this one if that's all good


bring back monument and marhaba

About the PR
title
Why / Balance
they are space station classics you dont realise how much you love em till theyre gone
Technical details
no
Media
listen to them

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes
no
Changelog
:cl:

add: Added back Monument and Marhaba as lobby music.

we literally just removed both of these.

both of these songs are so generic they sound like background music to a knockoff deus ex game from 2005.

:sob:

I like atomic amnesia but for all I care remove everything but title1 - title3.


Use semantic-ui?

Currently using bootstrap v4 need to test semantic and see if making the change is a good idea.

Had a look, the components look great but styling and theming support aren't there for the react use-case yet: https://github.com/Semantic-Org/Semantic-UI-React/issues/1009


🚀 Added aws-sdk package for Heroku deployment

Just added a package for deployment, so I figured we don't need a review for that. :)


Add Alibaba Disk CSI driver

Alibaba Disk CSI driver should be part of upcoming OCP release.

cc @openshift/storage


Output files not generating after uploading bulk files

I tested this solution with 3-4 audio calls and was able to get the results in SQL DB. Now I have uploaded 45 calls and i see functions are running but no outputs in outputs blob. Is there any limitation of batch size to be done . Please suggest me how to do this also is it possible to get outputs based on call name rather than generating hash id's.

Could you please provide more details about "this solution"? There are multiple samples for different scenarios in this sample repository. Are you using batch transcriptions? If yes, there should not be any limitation in batch size. Could you please provide the transcription ids for transcription requests that have been submitted by functions but no result have been received, also together with the region and approximate time, so that we can help to check?
The output name has the transcription as prefix. It is not possible to get output based on call name, since call name might not be unique and you could transcribe the same file multiple times. In the result files (.json) the "Source" field is the original audio source file you provide, you can use that to corelate the result file with the audio.
Thanks,

Thanks for your reply , call processing took some time. I was just wondering if we can get sentiment analysis on a call level into SQL database than n best from all calls. Please let me know how can i achieve this.

@HenryvanderVegte @PanosPeriorellis Could you please help on that? Thanks

My nbest results output first 1000 rows gave all sentiments as zero, could you please let me know the reason for this.
all three sentiments are zero in columns.

solution not making progress after 4 calls, it would be great if someone can connect with me and help me understanding  the issue. I have uploaded 45 files and only 4 calls got processed rest are not updating. Even DB count is not increasing.
Thanks
Mahesh

it would be great if someone can take a session and help us understanding the issue.

Hi @maheshcheetirala,
if you didn't enable Sentiment Analysis when you deployed the ARM template (meaning if you didn't enable a TextAnalyticsKey and set SentimentAnalysis to 'None'), it is expected that you see zeros in the database. If you enable SentimentAnalysis, you will either see it on the level of NBest if you enabled UtteranceLevel sentiment, or on the Level of the channel if you enabled AudioLevel sentiment.

Please suggest me how to do this also is it possible to get outputs based on call name rather than generating hash id's.

I'm not sure what you mean, can you elaborate? On blob storage the transcription has the name of your input audio file - and in the database we also provide the name of the audio input file.

solution not making progress after 4 calls, it would be great if someone can connect with me and help me understanding the issue. I have uploaded 45 files and only 4 calls got processed rest are not updating. Even DB count is not increasing.

I suspect that the other calls are still processing. Do you see anything in the error-report container or are there any errors in the function logs (under 'Monitor')?
Thanks,
Henry

Hello Henry,
Thank you for your reply. I am trying to get sentiment based on a call or
any date so I can use it in reports.
Please suggest me how we do this , after getting the results in database I
find difficult filtering the results based on specific call . I am looking
to do the sentiment analysis on a call level  here the output comes as a
batch and facing difficult filtration on a call level.
Thanks
Mahesh
On Wed, 17 Mar, 2021, 4:56 pm Henry van der Vegte, @.***>
wrote:

Hi @maheshcheetirala https://github.com/maheshcheetirala,
if you didn't enable Sentiment Analysis when you deployed the ARM template
(meaning if you didn't enable a TextAnalyticsKey and set SentimentAnalysis
to 'None'), it is expected that you see zeros in the database. If you
enable SentimentAnalysis, you will either see it on the level of NBest if
you enabled UtteranceLevel sentiment, or on the Level of the channel if you
enabled AudioLevel sentiment.
Please suggest me how to do this also is it possible to get outputs based
on call name rather than generating hash id's.
I'm not sure what you mean, can you elaborate? On blob storage the
transcription has the name of your input audio file - and in the database
we also provide the name of the audio input file.
solution not making progress after 4 calls, it would be great if someone
can connect with me and help me understanding the issue. I have uploaded 45
files and only 4 calls got processed rest are not updating. Even DB count
is not increasing.
I suspect that the other calls are still processing. Do you see anything
in the error-report container or are there any errors in the function logs
(under 'Monitor')?
Thanks,
Henry
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Azure-Samples/cognitive-services-speech-sdk/issues/993#issuecomment-801006489,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKRRSI4LHMYEJFVRGPVCGW3TECGWZANCNFSM4ZJ54SWA
.

Hi Mahesh,
when you deploy the ARM template, please provide a Microsoft Text Analytics Key, the region of the Key and 'AudioLevel' for sentiment analysis as shown here:

If you don't see any sentiment scores afterwards, please check the 'error-report' container on your storage account, there might be something wrong with your key then.
In the database, each Channel Result is linked to a TranscriptionID of the transcriptions table. You can get the name of the transcription from there.
Or you can just have a look at the .json file that is written to your storage account.
Thanks,
Henry

I tried at audio level and got all sentiments zero as discussed earlier.
After changing to utterance level  I was able to get the sentiment. Now I
want a granular level of sentiment based on any filter like call or  date
so that we can use it in reports abd show to management.
Thanks.
Mahesh
On Wed, 17 Mar, 2021, 5:32 pm Henry van der Vegte, @.***>
wrote:

Hi Mahesh,
when you deploy the ARM template, please provide a Microsoft Text
Analytics Key, the region of the Key and 'AudioLevel' for sentiment
analysis as shown here:
[image: Capture]
https://user-images.githubusercontent.com/12466089/111463895-664da580-8720-11eb-9d71-01218ec61101.PNG
If you don't see any sentiment scores afterwards, please check the
'error-report' container on your storage account, there might be something
wrong with your key then.
In the database, each Channel Result is linked to a TranscriptionID of the
transcriptions table. You can get the name of the transcription from there.
Or you can just have a look at the .json file that is written to your
storage account.
Thanks,
Henry
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Azure-Samples/cognitive-services-speech-sdk/issues/993#issuecomment-801027188,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKRRSI4V77EIUEQQP27SVIDTECK4PANCNFSM4ZJ54SWA
.

Hi Mahesh,
the sentiment scores in the NBest are expected to be zeros if enable sentiment analysis at audio level, you will see the sentiment score on an audio level instead (inside of the CombinedRecognizedPhrases table).
We don't have any filtering on call/date built-in, you'll need to write a query for that on your own.
Thanks and best regards,
Henry

Thank you for the clarification.
On Wed, 17 Mar, 2021, 5:41 pm Henry van der Vegte, @.***>
wrote:

Hi Mahesh,
the sentiment scores in the NBest are expected to be zeros if enable
sentiment analysis at audio level, you will see the sentiment score on an
audio level instead (inside of the CombinedRecognizedPhrases table).
We don't have any filtering on call/date built-in, you'll need to write a
query for that on your own.
Thanks and best regards,
Henry
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Azure-Samples/cognitive-services-speech-sdk/issues/993#issuecomment-801032426,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKRRSI3OOIZ5OBGRWOALSZ3TECL7JANCNFSM4ZJ54SWA
.

Hello,
The issue is still there, initially I uploaded 23 files and it generated 23
outputs.
Now added additional 22 files but the outputs folder and  count in database
is not increasing.
[image: image.png]
[image: image.png]
these are my output and input blobs, output blob not increasing  from last
time. I restarted the functions apps as well but counts are not increasing.
Thanks
Mahesh
On Wed, Mar 17, 2021 at 5:41 PM maheshc @.***> wrote:

Thank you for the clarification.
On Wed, 17 Mar, 2021, 5:41 pm Henry van der Vegte, <
@.***> wrote:

Hi Mahesh,
the sentiment scores in the NBest are expected to be zeros if enable
sentiment analysis at audio level, you will see the sentiment score on an
audio level instead (inside of the CombinedRecognizedPhrases table).
We don't have any filtering on call/date built-in, you'll need to write a
query for that on your own.
Thanks and best regards,
Henry
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Azure-Samples/cognitive-services-speech-sdk/issues/993#issuecomment-801032426,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKRRSI3OOIZ5OBGRWOALSZ3TECL7JANCNFSM4ZJ54SWA
.

Hi @maheshcheetirala,
the count in database is probably not increasing because the files were not completely processed yet. You can always check the json output container (json-result-output) first to see if they were transcribed already. I expect that you won't see them in there, which means that your transcription job inside of the speech service did not complete yet.
Please try again and wait a while for the results.
Thanks and best regards,
Henry


Enabling more rows on -column demo

Change that will enable more rows also on -columns demo page.
When I did this I found bug on our implementation. Way to reproduce the issue:
Steps:

Use demo app from this PR
Select -column view
Select more rows config

Expected outcome:
More rows shown correctly with correct columns
Actual outcome:
You have generated columns and defined columns at the same time.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


mobile: Make the opt AAR build use the non-debug .so file

The opt build should use the non-debug version of libenvoy_jni.so, not the other way around.

/retest

/retest


PyNaCl library needed in order to use voice

discord.ext.commands.errors.CommandInvokeError: Command raised an exception: RuntimeError: PyNaCl library needed in order to use voice
every time i try to make my bot join the channel i get that error even though i have pynacl installed can someone help?
Join function code:
Join function.txt

Hello, this place is for issues relating to our own bot. If you need help with your bot, you can ask in the designated discord.py channel in our server.


adding schema detection feature

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@kaklisamir  can you please approve this merge request.  I have uploaded schema detection.


Fixed Finder key and value

When getIterator is not annotated, Psalm thinks that iterator value is SplFileInfo|mixed.
The key is always non-empty, because it's a realpath.

@vudaltsov thank you


Add doc hint that default is different than tar

The default of tar is to include a symlink in the archive. The default of tar::Builder is to resolve symlinks and replace them with the resulting file.
This commit clarifies that difference by highlighting that follow_symlinks(true) provides the same behavior as tar -h.
Context
I ran into a problem that caused much head-scratching: calling tar resulted in much smaller file sizes than what I thought was the comparable Rust code. I created a reproduction as part of that debugging process (if you're interested): https://github.com/schneems/tar_comparison/blob/bfd420a012b46e80435cf4e7c67ca1661357fde3/README.md.
It turns out this was the issue I was facing:
$ tar -tvzf system_tar_gzip_one_operation.tar.gz | grep libruby.so
-rwxr-xr-x  0 rschneeman staff 12364984 Jun  5 16:13 lib/libruby.so.3.1.6
lrwxr-xr-x  0 rschneeman staff        0 Jun  5 16:14 lib/libruby.so.3.1 -> libruby.so.3.1.6
lrwxr-xr-x  0 rschneeman staff        0 Jun  5 16:14 lib/libruby.so -> libruby.so.3.1.6

$ tar -tvzf rust_tar_gzip_one_operation.tar.gz | grep libruby.so
-rwxr-xr-x  0 501    20   12364984 Jun  5 16:13 lib/libruby.so.3.1.6
-rwxr-xr-x  0 501    20   12364984 Jun  5 16:13 lib/libruby.so.3.1
-rwxr-xr-x  0 501    20   12364984 Jun  5 16:13 lib/libruby.so

In the "system" archive produced by the tar cli there's one so binary and two symlinks to the same file. In the "rust" version (using tar::Builder) there are three copies of the same binary.
I previously saw that option's documentation when I was debugging my issue but didn't fully internalize the implications. By documenting what feature this is similar to in (system) tar, I hope the reader will make a connection that the two have different defaults.

Thanks!


[stable/spinnaker] Spinnaker v1.6.0

Updates Spinnaker to version 1.6.0

/retest

Ran the following on GKE successfully (following steps here, but using the chart from this branch):
...:~$ ./helm install -n cd ./charts/spinnaker -f spinnaker-config.yaml --timeout 600
NAME:   cd
LAST DEPLOYED: Tue Feb 27 17:10:15 2018
NAMESPACE: default
STATUS: DEPLOYED
...

App comes up OK:

Version of clouddriver seems to be the correct (i.e. new) one:

Thanks for taking care of this, @viglesiasce!

/lgtm

/retest


Feature request

Hy can you add discord as notification?

you can see this https://github.com/seczq/jsmon


deps badges

Added dependency badges to README.md.

Thanks for the PR. However we try to avoid those badges. https://github.com/gruntjs/grunt/pull/795#issuecomment-24289160

@vladikoff just out of curiosity.. why?


Eliminate vfsgen again.

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

Test name
Commit
Details
Rerun command

operator-lint
718c73a336b4cae4389deee72eccc9433087a566
link
/test operator-lint

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

@ostromart Please see the change in the README file regarding installing go-bindata if are building without the build-tools container.

/cherry-pick release-1.3

@ostromart: #200 failed to apply on top of branch "release-1.3":
.git/rebase-apply/patch:2152: trailing whitespace.
  namespace: {{ .Release.Namespace }}
.git/rebase-apply/patch:3454: trailing whitespace.
---
.git/rebase-apply/patch:3502: trailing whitespace.
       cluster_replacement: ".svc.{{ .Values.global.proxy.clusterDomain }}"
.git/rebase-apply/patch:5998: trailing whitespace.
Galley relies on DNS certificates. Before installing it in a custom namespace you should update Citadel or
.git/rebase-apply/patch:23192: trailing whitespace.

warning: squelched 8 whitespace errors
warning: 13 lines add whitespace errors.
error: Failed to merge in the changes.
Using index info to reconstruct a base tree...
M	pkg/vfsgen/vfsgen_data.go
Falling back to patching base and 3-way merge...
CONFLICT (modify/delete): pkg/vfsgen/vfsgen_data.go deleted in Eliminate vfsgen again. and modified in HEAD. Version HEAD of pkg/vfsgen/vfsgen_data.go left in tree.
Auto-merging pkg/vfs/vfs.go
Removing cmd/vfsgen/vfsgen.go
Patch failed at 0001 Eliminate vfsgen again.

In response to this:

/cherry-pick release-1.3

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

/cherrypick release-1.3

@ostromart: #200 failed to apply on top of branch "release-1.3":
.git/rebase-apply/patch:2152: trailing whitespace.
  namespace: {{ .Release.Namespace }}
.git/rebase-apply/patch:3454: trailing whitespace.
---
.git/rebase-apply/patch:3502: trailing whitespace.
       cluster_replacement: ".svc.{{ .Values.global.proxy.clusterDomain }}"
.git/rebase-apply/patch:5998: trailing whitespace.
Galley relies on DNS certificates. Before installing it in a custom namespace you should update Citadel or
.git/rebase-apply/patch:23192: trailing whitespace.

warning: squelched 8 whitespace errors
warning: 13 lines add whitespace errors.
error: Failed to merge in the changes.
Using index info to reconstruct a base tree...
M	pkg/vfsgen/vfsgen_data.go
Falling back to patching base and 3-way merge...
CONFLICT (modify/delete): pkg/vfsgen/vfsgen_data.go deleted in Eliminate vfsgen again. and modified in HEAD. Version HEAD of pkg/vfsgen/vfsgen_data.go left in tree.
Auto-merging pkg/vfs/vfs.go
Removing cmd/vfsgen/vfsgen.go
Patch failed at 0001 Eliminate vfsgen again.

In response to this:

/cherrypick release-1.3

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


Please add 4.3.2 version Carthage support

Hello,
Please add 4.3.2 version support to carthage, as currently latest version is no accessible via https://nutifront.s3.amazonaws.com/sdk_carthage/CartoMobileSDK.json

Hi. Thanks for reporting, should be working now.

Thanks! :)


AttributeError: 'PurePosixPath' object has no attribute 'timeout'

0.2.0 introduced a bug that prevents repomd from loading a URL.
Traceback (most recent call last):
  File "test.py", line 4, in <module>
    repo = repomd.load('https://mirror.rackspace.com/centos/7/updates/x86_64/')
  File "/usr/lib/python3.7/site-packages/repomd.py", line 20, in load
    with urllib.request.urlopen(base / 'repodata' / 'repomd.xml') as response:
  File "/usr/lib64/python3.7/urllib/request.py", line 222, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/lib64/python3.7/urllib/request.py", line 516, in open
    req.timeout = timeout
AttributeError: 'PurePosixPath' object has no attribute 'timeout'

6876975d8ff5e6b2d9fd1a5c1bb5385cfab732f1 is the problem.  urlopen doesn't accept PurePosixPath objects.  Even if it did, using PurePosixPath on the entire URL concatenates the consecutive slashes in the scheme.  The path needs to be parsed out from the URL.


Error installing cmake -DTHIRDPARTY=ON -DBUILD_JAVA=ON ..

I'm trying to install the Package. So I wanted to installed as follows:
cmake -DTHIRDPARTY=ON -DBUILD_JAVA=ON ..
make

I try to install it with the option -DBUILD_JAVA=ON  in ordre to have also fastrtpsgen as described in the documentation. Then the following error appears:
[  1%] Updating Git module fastcdr
[  1%] Built target git_submodule_update_fastcdr
[  2%] Updating Git module idl
[  2%] Built target git_submodule_update_idl
[  3%] Generating Java application
:buildIDLParser FAILED

FAILURE: Build failed with an exception.

* Where:
Build file '/home/aronnax/soft/Fast-RTPS/thirdparty/idl/idl.gradle' line: 17

* What went wrong:
A problem occurred evaluating root project 'idl'.
> Could not find method plugins() for arguments [idl_2cvm58vh3i6bi9bi68udgu3nq0$_run_closure1@59e7cbbc] on root project 'idl'.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 2.708 secs
make[2]: *** [CMakeFiles/java] Error 1
make[1]: *** [CMakeFiles/java.dir/all] Error 2
make: *** [all] Error 2

As a note, the compilation was sucessfull without -DBUILD_JAVA=ON , also, I'm using ubuntu 14.04. I have never used gradle. Could you give me some help to debug? Thanks.

Ok. I got the answer, the version of gradle in ubuntu 14.04 is pretty old. If anyone encounters the same problem you can update gradle with more updated PPA for gradle. Now it is compiling correctly.


(PUP-7380) Skip augesu test on Cisco XR

We have found that the new Cisco eXR 6.1.3 VM image has /etc/hosts
as a mount point, so the augeus host test fails to rename the it.

👍


Reduce the usage of _xds Bazel rules

This PR removes the unnecessary "_xds" hack from "grpcpp_admin".
In google3, "grpc_cc_library_xds" translates to a dummy target; "grpc_cc_test_xds" means injecting a DISABLED_XDS_PROTO_IN_CC C flag.
But there was an issue, "grpcpp_admin" will pick CSDS if none of GRPC_NO_XDS and DISABLED_XDS_PROTO_IN_CC is defined. There wasn't a mechanism to inject a DISABLED_XDS_PROTO_IN_CC flag to an intermediate library (":grpcpp_admin" in this case).
So, this updated approach reduces the usage of the hacks, but will cause 4 more targets to failed to build internally. We have many targets that are only buildable in OSS. Alternatively, we can add one more Bazel rule, but that makes the hack slightly more complex. WDYT?
# Targets that won't build internally
//third_party/grpc:alternative/grpcpp_admin
//third_party/grpc:grpcpp_admin_internal
//third_party/grpc:alternative/grpcpp_admin_internal
//third_party/grpc:grpcpp_admin

This change is

There is another C++ infra issue. We were exempt from strict headers check: https://source.corp.google.com/piper///depot/google3/java/com/google/devtools/build/lib/view/cpp/LayeringCheckAllowlists.java?q=grpc_cc_library. However, the new "_xds" Bazel rules ain't, and will trigger following error:

ERROR: /google/src/cloud/lidiz/github-sync-20210414144431/google3/third_party/grpc/BUILD:2647:20: in cc_library rule //third_party/grpc:grpcpp_admin: C++ rules should use 'strict' hdrs_check (not 'loose' or 'warn').The hdrs_check='strict' ensures that all #included files must be explicitly declared somewhere in the hdrs or srcs of the rules providing the libraries or the rules containing the including source. Please remove 'hdrs_check' attribute from this rule, as well as the 'default_hdrs_check' attribute from the package, or set them to 'strict'. If you think your use case qualifies for an exception, please see go/blaze-strict-layering-exception

Closing this PR in favor of https://github.com/grpc/grpc/pull/25980, which can completely remove the _xds hack.


Using React.Fragment

I tried to render LineSeries and AreaSeries in one component using React.Fragment like this:
const ChartArea = ({color, data}) => {
  return (
    <React.Fragment>
      <AreaSeries
        color={color}
        data={data}
        opacity={0.25}
      />
      <LineSeries
        curve={null}
        stroke={color}
        data={data}
      />
    </React.Fragment>
  );
};

Then use it like:
<ChartArea color="#00F" data={data} />
inside XYPlot component and after render i got it out of svg.rv-xy-plot__inner with null data:
<path d="M0,0L0,0L0,0L0,0L0,0L0,0L0,0L0,0L0,0L0,0L0,0L0,0Z" class="rv-xy-plot__series rv-xy-plot__series--line " transform="translate(undefined,undefined)" style="opacity: 0.25; stroke: rgb(0, 0, 255); fill: rgb(0, 0, 255);"></path>

Also i tried g tag instead React.Fragment and got the same result.

@mcnuttandrew The array return method works, but this seems like a workaround, not a real solution. Please add fragment support. That would make it so much easier and cleaner.


headless pull results in Error: auth headless is missing the following inputParams userPoolId, webClientId, nativeClientId

Before opening, please confirm:

[X] I have installed the latest version of the Amplify CLI (see above), and confirmed that the issue still persists.
[X] I have searched for duplicate or closed issues.
[X] I have read the guide for submitting bug reports.
[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.

How did you install the Amplify CLI?
npm
If applicable, what version of Node.js are you using?
v16.10.0
Amplify CLI Version
7.4.0
What operating system are you using?
Ubuntu 18.04
Amplify Categories
auth, hosting
Amplify Commands
pull
Describe the bug
I am trying to pull an amplify app in a headless manner, like below.
 Amplify App name is: corewebapp
Backend environment dev found in Amplify Console app: corewebapp
✔ Successfully pulled backend environment dev from the cloud.
✖ There was an error initializing your environment.
Failed to pull the backend.
auth headless is missing the following inputParams userPoolId, webClientId, nativeClientId
Error: auth headless is missing the following inputParams userPoolId, webClientId, nativeClientId
    at ensureHeadlessParameters (/home/david/.nvm/versions/node/v16.10.0/lib/node_modules/@aws-amplify/cli/node_modules/@aws-amplify/amplify-category-auth/src/provider-utils/awscloudformation/import/index.ts:1312:11)
    at Object.headlessImport (/home/david/.nvm/versions/node/v16.10.0/lib/node_modules/@aws-amplify/cli/node_modules/@aws-amplify/amplify-category-auth/src/provider-utils/awscloudformation/import/index.ts:1169:40)
    at importedAuthEnvInit (/home/david/.nvm/versions/node/v16.10.0/lib/node_modules/@aws-amplify/cli/node_modules/@aws-amplify/amplify-category-auth/src/provider-utils/awscloudformation/import/index.ts:946:18)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at updateConfigOnEnvInit (/home/david/.nvm/versions/node/v16.10.0/lib/node_modules/@aws-amplify/cli/node_modules/@aws-amplify/amplify-category-auth/src/provider-utils/awscloudformation/index.js:52:72)
    at /home/david/.nvm/versions/node/v16.10.0/lib/node_modules/@aws-amplify/cli/node_modules/@aws-amplify/amplify-category-auth/src/index.js:349:22

Expected behavior
Pull command should pull the app without errors.
Reproduction steps

Create an amplify app with auth
Run the headless pull script that I provided above.

GraphQL schema(s)
No response
Log output
No response
Additional information
No response

Hi @david-wb
Can you update your pull script with this info mentioned here: https://docs.amplify.aws/cli/usage/headless/#--categories
Updated pull script should look like this:
REACTCONFIG="{\
\"SourceDir\":\"src\",\
\"DistributionDir\":\"build\",\
\"BuildCommand\":\"npm run-script build\",\
\"StartCommand\":\"npm run-script start\"\
}"
AWSCLOUDFORMATIONCONFIG="{\
\"configLevel\":\"project\",\
\"useProfile\":true,\
\"profileName\":\"ci-dev\",\
\"region\":\"us-west-2\"\
}"
AMPLIFY="{\
\"projectName\":\"corewebapp\",\
\"appId\":\"d1dkk89c3sv7mb\",\
\"envName\":\"dev\",\
\"defaultEditor\":\"code\"\
}"
FRONTEND="{\
\"frontend\":\"javascript\",\
\"framework\":\"react\",\
\"config\":$REACTCONFIG\
}"
PROVIDERS="{\
\"awscloudformation\":$AWSCLOUDFORMATIONCONFIG\
}"

AUTHCONFIG="{\
\"userPoolId\": \"myproject-userpool-id\",\
\"webClientId\": \"appid-web\",\
\"nativeClientId\": \"appid-native\",\
}"

CATEGORIES="{\
\"auth\":$AUTHCONFIG\
}"

amplify pull \
--amplify $AMPLIFY \
--frontend $FRONTEND \
--providers $PROVIDERS \
--categories $CATEGORIES \
--yes

@akshbhu It seems the pull command does not accept a --categories argument.

Ok, I tried that @akshbhu, and categories arg is accepted, but now I am getting a different error:
$ ./scripts/amplify-pull-dev.sh
Amplify AppID found: d1dkk89c3sv7mb. Amplify App name is: corewebapp
Backend environment dev found in Amplify Console app: corewebapp
Failed to pull the backend.
File at path: '/home/david/github/bavard/core-web-app-aws/amplify/backend/auth/corewebappabb25022/parameters.json' does not exist
Error: File at path: '/home/david/github/bavard/core-web-app-aws/amplify/backend/auth/corewebappabb25022/parameters.json' does not exist
    at Function.JSONUtilities.readJson (/home/david/.nvm/versions/node/v16.10.0/lib/node_modules/@aws-amplify/cli/node_modules/amplify-cli-core/src/jsonUtilities.ts:25:15)
    at StateManager.getData (/home/david/.nvm/versions/node/v16.10.0/lib/node_modules/@aws-amplify/cli/node_modules/amplify-cli-core/src/state-manager/stateManager.ts:399:32)
    at StateManager.getResourceParametersJson (/home/david/.nvm/versions/node/v16.10.0/lib/node_modules/@aws-amplify/cli/node_modules/amplify-cli-core/src/state-manager/stateManager.ts:147:17)
    at ensureAmplifyMetaFrontendConfig (/home/david/.nvm/versions/node/v16.10.0/lib/node_modules/@aws-amplify/cli/src/extensions/amplify-helpers/on-category-outputs-change.ts:84:55)
    at AmplifyToolkit.onCategoryOutputsChange [as _onCategoryOutputsChange] (/home/david/.nvm/versions/node/v16.10.0/lib/node_modules/@aws-amplify/cli/src/extensions/amplify-helpers/on-category-outputs-change.ts:18:5)
    at generateFiles (/home/david/.nvm/versions/node/v16.10.0/lib/node_modules/@aws-amplify/cli/src/attach-backend-steps/a40-generateFiles.ts:45:27)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at attachBackend (/home/david/.nvm/versions/node/v16.10.0/lib/node_modules/@aws-amplify/cli/src/attach-backend.ts:30:5)
    at Object.run (/home/david/.nvm/versions/node/v16.10.0/lib/node_modules/@aws-amplify/cli/src/commands/pull.ts:59:5)
    at Object.executeAmplifyCommand (/home/david/.nvm/versions/node/v16.10.0/lib/node_modules/@aws-amplify/cli/src/index.ts:373:5)
    at executePluginModuleCommand (/home/david/.nvm/versions/node/v16.10.0/lib/node_modules/@aws-amplify/cli/src/execution-manager.ts:204:3)
    at executeCommand (/home/david/.nvm/versions/node/v16.10.0/lib/node_modules/@aws-amplify/cli/src/execution-manager.ts:30:5)
    at Object.run (/home/david/.nvm/versions/node/v16.10.0/lib/node_modules/@aws-amplify/cli/src/index.ts:205:5)

Can you check if the parameters.json present in the auth folder , if its present inside build dir , You can move that file outside build folder and try again ?
Are you using imported auth ??

@akshbhu I can confirm the parameters.json file exists, but the pull command still fails.

And yes this is imported auth.

Thank you for this info .
Can you try the same operation with our latest version 7.6.2?

I am using 7.6.2. If I downgrade to 7.4.0, it works.

Hmm , this is strange : /home/david/github/core-web-app-aws/amplify/backend/auth/corewebappabb25022/parameters.json
this filepath exists based on your screenshots
Can you check in the #current-cloud-backend , the parameters file exists  on same path ?
Can you mail your amplify folder to<EMAIL_ADDRESS>with issue number as subject and redacting any secret info present?
Ill try to repro this on my end

@akshbhu Sure, I'll do that. Please not that everything works on version 7.4.0 using the --categories arg.
However, on version 7.6.2, I get the parameters.json file not found error.
I can see that on 7.4.0 the parameters.json file is inside the auth/<app>/build/ folder, but on 7.6.2 it is in auth/<app>/ folder.

yes ,
for imported resources , parameters.json shouldn't be inside build folder. we have changed that , Just wanted to know why its failing in your case , since you have parameters.json present at right path .
Might be in your #current-cloud-backend , parameters.json is still present in build folder

I can see that your cloudformation is still present in build folder i. #current-cloud-backend.
You can try a forcePush to update #current-cloud-backend as same as your backend and try pull script again.
Let me know if these steps works for you?

Yes it worked for me finally after doing an amplify push --force. Thank you.

Closing based on comment above. Glad to hear you're back up and running @david-wb 🙂


Early stopping metric

fix to set the benchmarks to use for early stopping

tested and validated with 2x gpus


Update embedded-hal versions and explicitly pin

Pinning to ensure CI don't accidentally break.

bors r+

Thanks for attending to this so quickly!


DEP: Deprecate private namespaces in scipy.odr

Reference issue

See: #14360
References: https://github.com/scipy/scipy/pull/14419, https://github.com/scipy/scipy/pull/14447/

cc @rgommers

Lint checks are still failing, you need to add # noqa: F822 comments at the relevant places to avoid those. This is due to the recent changes in #14456. Feel free to start with linalg in parallel. :)

If this looks good should I start working on linalg next?

Yep, and it's fine to work on other modules in parallel too if you're waiting for review. Now that the first PR is merged the rest should be smooth sailing - and we can always rewrite history later.


Update Composer dependencies (2021-08-13-00-08)

Visual regression test passed!
View the visual regression test report


how to validate all steps in edit-mode

hi all,
now canexit/canenter were added, but if i use editMode,
how can i validate all steps?
e.g.
i have a wizard for regist.
steps:
account, infos, options.
infos has error.
but i can jump to options from account, and then press finish button.
can i get all steps validate infos? if invalid, can i jump back to the first invalid step?

@geminiyellow Along with the addition of the canexit canenter attributes there was also the creation of a context object.  This object is accessible by all steps and is automatically passed in as an argument to your canexit canenter functions.  So for example:
Your Controller
$scope.step1ExitValidation = function(){
    //logic for validation
    if(logicForValidation){
        WizardHandler.wizard().context.step1Valid = true;
        return true;
    } else {
        WizardHandler.wizard().context.step1Valid = false;
        return false;
    }

}

$scope.step3EnterValidation = function(contextObj){
    if(contextObj.step1Valid){
        return true;
    } else {
        return false;
    }
}

Your HTML
<wz-step canexit="step1ExitValidation></wz-step>
<wz-step></wz-step>
<wz-step canenter="step3EnterValidation"></wz-step>

Let me know if this was helpful.
Thanks.

@jacobscarter thanks for your help sir, can i use the context like this?
HTML：
<wizard on-finish="finishedWizard()">
    <wz-step title="Starting">
    </wz-step>
    <wz-step title="Continuing">
    </wz-step>
    <wz-step title="More steps">
    </wz-step>
</wizard>

JS：
$scope.finishedWizard = function(){
    var valid = _.every(stepnames, function(name){
        return WizardHandler.wizard().context[name].valid
    });

   if(valid) {
      // todo: end
   }else{
       WizardHandler.wizard().goto(firstInvalidStepTitle)
   }
}

@geminiyellow
So I might need a little more context, for example you are looping through stepnames. Where is the value assigned to this? Is this the steps array from angular-wizard?
You are correctly creating the key/value pair in the context object, but I don't see you assigning a value to the value key of the context object.
So assuming you have created/defined the stepnames variable and that you are setting a value for  context[name].valid somewhere, then yes that should work.

Let me know if this works for you and I will close the issue.


Convert MapJoin to GraceJoin callable with Broadcast

We need to use GraceJoin callable for MapJoin, but the plans need to be updated so we correctly display what is going on in EXPLAIN and EXPLAIN ANALYZE

https://github.com/ydb-platform/ydb/pull/8169


[Feature][dependencies] Bump hadoop-common from 2.7.3 to 3.2.3

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description
https://github.com/apache/dolphinscheduler/pull/9464
Use case
No response
Related issues
No response
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Done in dev branch


docs: subnav lightdom css

What I did

Added temporary lightdom CSS to fix layout shift created by rh-subnav before being defined.

Note: This lightdom CSS should be added to rh-subnav-lightdom.css and exported by RHDS for use everywhere that rh-subnav is being used above the fold. Reference: #777
Testing Instructions

View deploy preview footer docs page.

Notes to Reviewers
To test load the footer docs with rh-subnav implementation on a Slow 3G connection (network tab).  You should no longer see the layout shift found on ux.redhat.com on the same page.

Merging: https://github.com/RedHat-UX/red-hat-design-system/pull/781 will also fix this issue.  If we think there will be a lag time in merging that PR, we can deploy this, but no reason to do both.


Drag handles / drop target data

This PR is two fold:

Allow for a drag handle (ng-drag-handle) to be specified as a child element attribute so only a specific element can be used for dragging.
Allow for ng-drop to be specified as arbitrary object data that will be passed to the drop success callback as a third parameter.

Both of these have proved useful for me on my current project -- I imagine others might be interested in the functionality as well.

Yes please, this will be very useful.


Maybe a buffer overflow when different versions of the client use the same id to access the server at the same time

PHENOMENON:

It happens when two different versions of the client use the same id to access the server at the same time.
REPRODUCE:
1.fix the cid used:

2.generate two concurrently running clients:
./bin/http_client1 -H xxx -s xxx -p / -o version=Q043 -r 99999 -R 99999 -K
(99999 to ensure that the client is still running when the second client runs)
./bin/http_client2 -H xxx -s xxx -p / -o version=Q046 -r 1 -R 1 -K
ANALYSIS:
In find_or_create_conn func, when searching for connections by cid, sometimes one cid may correspond to more than one connection.

Yes of course. And I find that it cannot be reproduced in the newest version of lsquic, so maybe it has already been fixed?

This issue may same with the following issue, which has been fixed. #262

Oh thank you, I see it. I think I should pay more attention to the version update.


Transactions are started in PrepareStatement

For some unknown reason this bug has been here since a very long time ago (at least a year.)
In traffic_cop.cpp : 306 we prematurely start a transaction as soon as we see that this is a single statement or a begin immediately after parsing, before execute. We attempt to begin the transaction again in the execute phase in some twisted logic.
This is clearly wrong, and makes it extremely hard to reason about what's actually happening in tcop. We haven't been able to seriously exploit this to a bug, and it might just work out in some twisted manner, but we should remove this.
To test it out yourself you can just type ROLLBACK into a psql session and it will keep starting new transactions before immediately rolling them back, as opposed to telling you that no transaction can be rolled back (like postgres does). Alternatively, type in a PREPARE and see a transaction get started.
Just... wat?

After talking to @ChTimTsubasa it seems like Postgres does this as well so we don't have to invalidate plan on an interleaving like this:
plan
bind
drop table
execute
The code we have can still be fishy (starting a transaction when parsing an abort, e,g,). More discussion needed.


Service 'php-fpm' failed to build: The command '/bin/sh -c if [ ${INSTALL_APCU} = true ]; then     pecl install apcu &&     docker-php-ext-enable apcu USER root' returned a non-zero co de: 2

Service 'php-fpm' failed to build: The command '/bin/sh -c if [ ${INSTALL_APCU} = true ]; then     pecl install apcu &&     docker-php-ext-enable apcu USER root' returned a non-zero co
de: 2
system Linux miss-pc 4.19.13-1-MANJARO #1 SMP PREEMPT Sat Dec 29 15:43:56 UTC 2018 x86_64 GNU/Linux

try docker-compose build --no-cache php-fpm

尝试 docker-compose build --no-cache php-fpm

This answer will solve the problem.

try docker-compose build --no-cache php-fpm

This answer will solve the problem.

try docker-compose build --no-cache php-fpm

This answer will solve the problem.

Or try add "USER root" In the "Dockerfile"

try docker-compose build --no-cache php-fpm

This answer will solve the problem.

Or try add "USER root" In the Dockerfile


Add pecl pipelines for phpize & install.

Signed-off-by: Ville Aikas<EMAIL_ADDRESS>These are used here: https://github.com/wolfi-dev/os/pull/5508

FYI, just noting this discussion here in case somebody gets hit by this in the future:
https://github.com/wolfi-dev/wolfictl/issues/397


Output window does not update during run, only afterwards

No updates during run in Output window. Only when run finished
Running functions with RAISE INFO. This info is not being shown in the Output window. With version 6.3.0 no problems.
System information:

Windows 10
DBeaver version: 6.3.2
Additional extensions: none

Connection specification:

Postgres EDB 9.6
Driver name: default

Describe the problem you're observing:
No updates during run in Output window. Only when run finished

Thanks for the bug report
Fixed

verified

Version <IP_ADDRESS>002011957
Still has the problem


JSON schema custom error message support

JSON Schema support for values file validation is great. It would be nice if this supported custom error messages especially for more complex validations:
      "then": {
        "required": [
          "hosts"
        ],
        "message": "Hosts is required if ingress is enabled."
      }

I've tried message and errorMessage but neither work. By default the error message can be quite cryptic

Output of helm version: version.BuildInfo{Version:"v3.12.1", GitCommit:"f32a527a060157990e2aa86bf45010dfb3cc8b8d", GitTreeState:"clean", GoVersion:"go1.20.5"}
Output of kubectl version: Client Version: v1.29.2
Cloud Provider/Platform (AKS, GKE, Minikube etc.): EKS

/nostale


Add itertools::note_position.

note_position wraps each returned iterator element in a Position<T>
element, which indicates the position of the element in the iterator
results. This is useful for special-case handling of the first or
last elements of an iterator.
I wrote an implementation of this on a whim last week and someone suggested that itertools would be a good home for it. I've written lots of code in other languages where I've needed to handle the first or last
element of an iteration specially, and I was curious as to whether Rust would make writing a general-purpose implementation of that easy. Of course it did. :)

This looks interesting. Why do you need to separate first from only? Just wondering.
Also, is the name .with_position() better?

I split Only out because if you are expecting to special-case the last element of an iterator and there's only one element, you'd miss it. If there's only one element it's the first and the last, but I don't think I'd want it to be returned twice, that seems more confusing.
I am open to whatever naming you want. I don't know of prior art in this area so I just sort of plucked that name out of thin air.
Thanks for the review! I tried to copy things from the surrounding context but I guess I missed a few things. :)

The rest that I didnt' comment on was very good. That's always what the reviewer forgets to say.

You know what, if you give the decision to me I'd prefer .with_position()
But now I have also contemplated Position<T> versus (Position, T) and I actually think the latter is better. The former is good if we want to force the user to handle each case exhaustively, but that's not necessarily the case. It seems harmless to allow (Position, T) instead?

Maybe embedding T in position has a point, that it makes people not forget about the Only case.

I've reported rust-lang/rust/issues/37784 since Peekable's current behaviour makes it very hard to use, indeed this PR shows why (the implementation needs to use .fuse()).

But now I have also contemplated Position versus (Position, T) and I actually think the latter is better. The former is good if we want to force the user to handle each case exhaustively, but that's not necessarily the case. It seems harmless to allow (Position, T) instead?

This argument is pretty compelling. If you only want to handle the first item specially, right now you'd have to write:
match item {
  Position::First(i) | Position::Only(i) => {}
  Position::Middle(i) | Position::Last(i) => {}
}

If the element type was a tuple you could instead write:
match item {
  (Position::First, i) | (Position::Only, i) => {}
  (_, i) => {}
}

with the downside that yeah, you could easily forget Position::Only. I guess an alternative here would be to instead do something like:
struct Position {
  pub is_first: bool,
  pub is_last: bool,
}

and then have the iterator produce (Position, T) tuples. Then you'd instead use it like:
for (pos, i) in iter.with_position() {
  if pos.is_first {
    //...
  }
  if pos.is_last {
    // ...
  }
}

What do you think?

Enum is better. Rust enforces exhaustive matching or explicit opt out, so that's good enough?

This just needs to be merged, then.

I'm sorry for keeping this waiting. This is going to be useful I think.

I still disagree about documenting it as fused, but I can make small edits myself.
I'm adding .into_inner() -> T, but further methods could be useful too, just don't know what to name them.
For example is_first() -> bool (First, Only) and is_strictly_first() -> bool (First), maybe?

I think is_first(), is_last() make sense, because they each cover two enum variants. I don't know about is_strictly_first(), it seems like at that point you could just match on the enum.


O365 working phishlets

tnx man 👐

Ripper

Can I get it?

His a scammer on telegram and icq the real person only have twitter

thanks for the heads up ... trying to ADFS working ...
On Sat, Sep 10, 2022 at 2:13 AM Sunnymoon2022 @.***>
wrote:

His a scammer on telegram and icq the real person only have twitter
—
Reply to this email directly, view it on GitHub
https://github.com/kgretzky/evilginx2/issues/824#issuecomment-1242653905,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFA6AM4Q45JXEYPFIKGLY3TV5QYJPANCNFSM57LHUGTA
.
You are receiving this because you commented.Message ID:
@.***>

You got telegram?

Indeed @diam0ndfox
Sent from my Galaxy
-------- Original message --------
From: Sunnymoon2022 @.>
Date: 2022-09-12 3:08 p.m. (GMT-08:00)
To: kgretzky/evilginx2 @.>
Cc: Subscribed @.***>
Subject: Re: [kgretzky/evilginx2] O365 working phishlets (Issue #824)
You got telegram?
—
Reply to this email directly, view it on GitHubhttps://github.com/kgretzky/evilginx2/issues/824#issuecomment-1244577313, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AZY3YSY4RWXETDN3ZB755YLV56SXFANCNFSM57LHUGTA.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

Hello! If you were already able to resolve your doubts and achieve your goals, close the issue so that we know which ones are pending.
Thank you!

[14:19:56] [inf] requesting SSL/TLS certificates from LetsEncrypt...
[14:20:16] [!!!] acme: Error -> One or more domains had a problem:
[m.adbuniversity.cf] acme: error: 400 :: urn:ietf:params:acme:error:dns :: DNS problem: NXDOMAIN looking up A for m.adbuniversity.cf - check that a DNS record exists for this domain; DNS problem: NXDOMAIN looking up AAAA for m.adbuniversity.cf - check that a DNS record exists for this domain, url:
[static.adbuniversity.cf] acme: error: 403 :: urn:ietf:params:acme:error:unauthorized :: <IP_ADDRESS>: Invalid response from http://static.faceb00k.cf/.well-known/acme-challenge/n5KEOTvOlu63DWeiWlzqxas7buc_7qVYiH7j-pZRnho: 404, url:
[www.faceb00k.cf] acme: error: 403 :: urn:ietf:params:acme:error:unauthorized :: <IP_ADDRESS>: Invalid response from http://www.faceb00k.cf/.well-known/acme-challenge/Ly_-anTgEuTcA4XRgeVBAGU7U0tJeoHtdy2kA5q6rqQ: 404, url:

Hello @atanu2679,
Make sure you have correctly created the dns records for that domain.
If you want expedited help and have the assistance of many professional people, join our private group. Contact us<EMAIL_ADDRESS>to give you access to the group.

Ok, thnks for your reply 🤗
On Fri, Oct 28, 2022, 03:28 Support-1535 @.***> wrote:

Hello @atanu2679 https://github.com/atanu2679,
Make sure you have correctly created the dns records for that domain.
If you want expedited help and have the assistance of many professional
people, join our private group. Contact us @.*** to give
you access to the group.
—
Reply to this email directly, view it on GitHub
https://github.com/kgretzky/evilginx2/issues/824#issuecomment-1294131281,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AR5RGYQ73T7GLRXV7BDRML3WFL3IXANCNFSM57LHUGTA
.
You are receiving this because you were mentioned.Message ID:
@.***>


⚠ Bofrost.de has degraded performance

In 09d1c14, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1629 ms

Resolved: Bofrost.de performance has improved in 776c9c0.


Update index.md

Updated for Minder Cloud

coverage: 48.181%. remained the same
when pulling f2a2e9d886f3f2ad7a4e811b94ef8e8f07f7521f on eryn-muetzel-patch-1
into e8d41c1a96854c660ff59bb088bfd224b9db2d52 on main.


Render freeze when window lose focus.

from magent2.environments import battle_v4,adversarial_pursuit_v4 from pettingzoo.utils import random_demo env = adversarial_pursuit_v4.env(render_mode='human',max_cycles=200) random_demo(env, render=True, episodes=2)
For the code above, the render window will freeze when it loss focus.

To solve:
Scroll to end of render.py in magent2 python library folder. Add the link "pygame.event.pump()" above the line "if self.mode = "human":"


Windows VSCode do not show error UI. Im new to swift

error code like below, vscode editor do not show error annotations, seems like nothing wrong, and not show in Problems view.

But have this in Output view :

Im new to swift. Want to try it. So I install swift follow the instructions on swift.org . Im on windows 11.
I can run "Hello world" in terminal, so I think everything is ok. But vscode spent a lot of time, it does not work as expected.
Expected behavior
Error shows in editor UI, and Problems view.
Environment

OS: Windows 11 26100.2454
Swift version
Swift version 6.0.2 (swift-6.0.2-RELEASE)
Target: x86_64-unknown-windows-msvc
Visual Studio Code version: 1.95.3
vscode-swift version: 1.11.3 (swift extension from Swift Server Work Group)

Additional context
A few hours ago, I installed everything.

and errors report twice. I do not know it's right or wrong.

Hi, are you building your code from the command line or from within VS Code? You may have to try and build your code once first from within VS Code using either Debug swift-executable or Release swift-executable in the drop down menu with the green play button on the Run and Debug navigator panel.
If that doesn't work and you're still not seeing any problems in the Problems tab could you run > Swift: Capture VS Code Swift Diagnostic Bundle, choose Capture Full Diagnostics, zip up the produced files and then attach them to this issue? Thanks!

Debug swift-executable can show error in editor and Problems tab, but it is not real time.
When I modify the code, the error will not disappear.
vscode-diagnostics-2024-11-29T20-06-14+08-00.zip

In your VS Code User settings.json (> Preferences: Open User Settings (JSON)) Could you try setting your "swift.diagnosticsStyle" to "swift" instead of "llvm"?

YES. I try it.  Does not work.
By the way, it can show Inline Hint but not error

Also although "swift.diagnosticsStyle" can be set to "swift" or "llvm", the "llvm" one is better so we can capture related issues

yes, task outputs problems.
And inline hint works, code completion works, api doc works.  Just not show error.

@wolonge95 nothing is jumping out. It seems like you should be able to get diagnostics from the language server or tasks. Can you double check you haven't modified settings like outline.problems.enabled or problems.visibility which would prevent diagnostics from being shown

Yeah, I do not change anything. My VSCode works for other languages. settings relate swift:
   "lldb.library": "C:\\Users\\wolonge\\AppData\\Local\\Programs\\Swift\\Toolchains\\6.0.2+Asserts\\usr\\bin\\liblldb.dll",
    "lldb.launch.expressions": "native",
    "swift.diagnosticsStyle": "swift",    // or llvm not work

Have the same problem here on Windows 11. The editor inline error can be shown after manually running the build all task, but they are not updated in real time. Even after fixing the error, the inline error messages are still there and I have to manually run the build task again

After manually running build all task

After fixing the error

Using the background compilation can be a workaround, but I don't really like it.

@wolonge95 @Star-Lord-PHB I was able to reproduce. Debugging on windows, the extension was not getting diagnostics from the language server, raised https://github.com/swiftlang/sourcekit-lsp/issues/1855


Powered OFF node in custom cluster should not be in active state

Rancher versions:
rancher/server: Master from March 20
Steps to Reproduce:

Create a 3 node custom cluster with ALL roles on each node using digital ocean hosts
Wait for the cluster to become active
Power OFF one of the nodes(N1)

After a node is powered OFF, the cluster is in "Unavailable" state but the node(in nodes tab) is still in active state.

Darren mentioned that if the cluster goes unavailable we can just let ui to mark all its nodes to unknown.

Why is the cluster unavailable with one node down in the first place?
I can easily change the displayed state for the nodes, but if it's not a real state then the CLI has to replicate the same behavior and a state shown in both won't exist in the API/docs.

Important/really bad part is that taking out one control plane node (when there are multiple) causes the cluster to go to unavailable.
@soumyalj can you ellaborate? are you losing the entire control plane or are there other control plane nodes?

Only cases that should cause clsuer to go to unavailabe: lost quorom or no cp nodes

@soumyalj basically, we nee this broken down into what specific cases causes it. Does the role of the node make a difference? Does the total number of nodes with that role make a difference?

@mrajashree to validate

rancher/rancher:master
Created a custom cluster with all roles on all 3 nodes.
Powered off one host
The message about cluster being unavailable was only for about a minute. The cluster got updated and showed the node as Inactive, and the cluster was available again

With a custom DO cluster I don't see cluster unavailable for even a minute and the node is not in active state once powered off

@soumyalj is going to take a look again as per slack converation

Tested the use case few times with rancher v2.1.0-rc3.

Create a 3 node custom cluster with ALL roles on each node using digital ocean hosts
Wait for the cluster to become active
Power OFF one of the nodes(N1)
After the node was turned off , cluster was still active, the powered off node was in "Unavailable" state as expected.

Also, for the issue @tfiduccia mentioned above, the clusters(GKE, AKS, DO) got deleted immediately, no nodes were displayed as active.


CI: enable Travis static checks

Set up the config file and .ci subdir files to enable Travis to perform static
checks on PRs to this repo.

ptal - I suspect we could:

optimise the Travis file
add more checks, like build checks for cmd/*

We can always land as is and improve upon...

/test

/AzurePipelines run

gentle nudge here - the PR is pretty simple, so easy to pick up and replicate - but, let me know if there is anything I can fix up to push this on. @jcvenegas @chavafg

@grahamwhaley, obs-packaging-ci is still failing though.

@fidencio - ack. I suspect it is unrelated to this PR (I cannot think how it would be related), but thought I'd let @jcvenegas look into it :-)

tried to look at logs, but build not found, so rerunning again.

/AzurePipelines run


 Nobody ever said that the code is for the purest clean code ever.
For info: cfgWeapon is not a cvar anyhow. And weapon_recoil_scale is.
"lenght" is a typo.
You are welcomed to make a PR instead of pointing someone "your code shit".
Thank you anyway. I will go through comments, and vars again to remove those typos.

Done, thank you.
PS: didn't really go through all comments, typos happen and user will still get the reference.


VMCtoMOP working but skeleton in UE not receiving movement

Hi, Thank you so much for your work,
I am trying to follow all the steps with both UE Mannequin and Metahuman,
the VMCtoMOP works, but using the default port 41622 in both VMCtoMOP and MopReceiver actor, it doesnt seem to move either my mannequin or metahuman.
i have OSC plugin & Control Rig enabled, anything i might be missing? this is 4.26.2

nevermind, it works in play mode. i thought it will work in editor mode.


Add migration and compare script

Add scripts to migrate a Jupyter or Jupyter extension project from setuptools to hatch.
The script handles most of the migration automatically, but prints prompts for the user on recommended follow up actions.
There is also a comparison script to ensure that all assets remain the same in the produced dist files.
Adds a unit test that starts from a setuptools-based cookiecutter extension and verifies all aspects of migration.

I've been moving one of my projects to use this plugin, and noticed that there's currently no "nice" way to get the version. If you use the code pathway, it will fail for cookiecutter-extension derivatives if the build has not yet been run because package.json won't have been bundled.
I thought about this, and I think the most elegant solution is, rather than modifying the cookiecutter to look in the parent directory :vomiting_face:, to create a version plugin that knows about package.json.
I wrote https://github.com/agoose77/hatch-nodejs-version for this, and I'd be interested to hear your thoughts on whether it's a good fit for the problem.

ooh, I like that approach, thank you!

Actually, thinking about this more: I think we should use tbump to keep these versions in sync, so we don't have to depend on importlib_resources at runtime.  We could then use a static version in pyproject.toml itself, as we do in jupyter_server.
Once we have the simplified workflow for jupyter-releaser done, we could update the cookiecutter to use releaser by default (or as an option).

Current output from migrating an extension made with jupyterlab-cookiecutter-ts:
[build-system]
requires = [
    "hatchling>=1.3.1",
]
build-backend = "hatchling.build"

[project]
name = "myextension"
description = "A JupyterLab extension."
readme = "README.md"
license = "BSD-3-Clause"
requires-python = ">=3.7"
authors = [
    { name = "me", email =<EMAIL_ADDRESS>},
]
keywords = [
    "Jupyter",
    "JupyterLab",
    "JupyterLab3",
]
classifiers = [
    "Framework :: Jupyter",
    "Framework :: Jupyter :: JupyterLab",
    "Framework :: Jupyter :: JupyterLab :: 3",
    "Framework :: Jupyter :: JupyterLab :: Extensions",
    "Framework :: Jupyter :: JupyterLab :: Extensions :: Prebuilt",
    "License :: OSI Approved :: BSD License",
    "Programming Language :: Python",
    "Programming Language :: Python :: 3",
    "Programming Language :: Python :: 3.7",
    "Programming Language :: Python :: 3.8",
    "Programming Language :: Python :: 3.9",
    "Programming Language :: Python :: 3.10",
]
dependencies = []
version = "0.1.0"

[project.urls]
Homepage = "https://github.com/github_username/myextension"

[tool.hatch.version]
path = "myextension/__init__.py"

[tool.hatch.build]
artifacts = [
    "myextension/labextension",
]

[tool.hatch.build.targets.wheel.shared-data]
"myextension/labextension/static" = "share/jupyter/labextensions/myextension/static"
"install.json" = "share/jupyter/labextensions/myextension/install.json"
"myextension/labextension/package.json" = "share/jupyter/labextensions/myextension/package.json"

[tool.hatch.build.targets.sdist]
exclude = [
    ".github",
]

[tool.hatch.build.hooks.jupyter-builder]
dependencies = [
    "hatch-jupyter-builder>=0.3.3",
]
build-function = "hatch_jupyter_builder.npm_builder"
ensured-targets = [
    "myextension/labextension/static/style.js",
    "myextension/labextension/package.json",
]
skip-if-exists = [
    "myextension/labextension/static/style.js",
]

[tool.hatch.build.hooks.jupyter-builder.build-kwargs]
build_cmd = "build:prod"
npm = [
    "jlpm",
]

[tool.hatch.build.hooks.jupyter-builder.editable-build-kwargs]
build_cmd = "install:extension"
source_dir = "src"
build_dir = "!!! needs manual input !!!"

[tool.tbump]
field = [
    { name = "channel", default = "" },
    { name = "release", default = "" },
]
file = [
    { src = "pyproject.toml" },
    { src = "myextension/_version.py" },
]

[tool.tbump.version]
current = "0.1.0"
regex = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)((?P<channel>a|b|rc|.dev)(?P<release>\\d+))?"

[tool.tbump.git]
message_template = "Bump to {new_version}"
tag_template = "v{new_version}"

Sketch for testing:

Include a current cookiecutter folder as a test asset
Add an expected pyproject.toml test asset
Migrate the current cookiecutter folder in a temp folder
Ensure the pyproject.toml files match
Run the compare script and ensure the sdists and wheels match

cc @jtpio.  I'm going to merge and iterate on this.

Nice thanks @blink1073 :+1:


editable topic tree names

Fix for issue #6413 https://github.com/concrete5/concrete5/issues/6413

This gives me an error about validate() on a non object when going to the topics page after applying it.

I confirm some steps with you to make sure we're doing the same thing;

Go to /dashboard/system/attributes/topics/4
Update topic name
Refresh page
Tree is displayed no errors

OR

Go to /dashboard/system/attributes/topics/4
Update topic name
Find blog article using it, page should load no errors

I don't get any errors there, I'm assuming I'm not on the correct topics page. Are you able to advise further? @aembler

@gutigrewal It's when I go to the topics page – /dashboard/system/attributes/topics.

@aembler I can't replicate that, could it be c5 cache ? I've got a fresh install of c5 locally. I updated Blog Entries to Blog that forwards me to http://concrete5/index.php/dashboard/system/attributes/topics/4 then I go to http://concrete5/index.php/dashboard/system/attributes/topics and I do not have any errors. If it persists after the cache clear can you go to /dashboard/reports/logs and see if theres more info there, happy to try and debug.

The problem is that there is no migration that adds the edit_topic_tree permission for upgrades. You'll need to create a new database migration class in Concrete\Core\Updater\Migrations\Migrations, make sure that the name of the class is found in concrete/config/concrete.php as the latest database migration (in the version_db config value), and make sure the upgradeDatabase method in the migration that you create adds the new permission.
An example of a migration class that adds a permission key can be found in Concrete\Core\Updater\Migrations\Migrations\Version20150504000000

@aembler have added a migration for that should work out of the box now 👍

Thanks!


How to allow collaborate to push to server?

Hi!
I'm maintaining a DigitalOcean server for a university lab. Recently I graduated and need to hand the server to another student. I know how to add another ssh file to digitalOcean, but I'm wondering what's going to happen with Dokku server. Is there anyway for me to add a user so he can also have access to Dokku and do local git push to update the app?
I couldn't find tutorial elsewhere except a little bit from here https://github.com/dokku-alt/dokku-alt (which is not really the dokku I'm using)

Try this:
echo <string_of_users_public_key> | sshcommand acl-add dokku <user_name>

Hi! Thank you for responding to my question! What does this command do? public_key normally tends to be long, do I just copy and paste the whole thing in the middle?

sshcommand is a subcomponent of dokku. Feel free to read up on it. Yes just echo the public (not private) key into sshcommand.
Example:
echo "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC7ScmhllvMKCnT0Ury5n6hgP9iNLV3KO38NP++15SyWbUqxM3qmJZiwwfJZuVLE5n5qCItRRpahfgbbRiaybszR47FMc9WiKyp8Pk8DuYrCOjj8RV73UKq5gwHYoedAPDIe8PK21W6KRvbQI+zbtt4mRFXGCyKTogZbttoAUDv4OE3jOG8haB0b55nXcdeqxOsjS6A0XFk3BUtRTJI/DwiBmxJk18uMVqZb98GxyxWX2JzRp6hU2cE3onQyvo+pHrf2mOcTVYr3z/htiKlRs2XMg3XkxuBYrGxgqksgeKeCJi7WWsWnYPajtOJOeZONT32rbhD0n3M3d6RArWlAXZR mhobbs@hostname" | sshcommand acl-add dokku mhobbs

@windweller save the key to a file and $ cat key.pub  | sshcommand acl-add dokku <user_name>.
If this user has a github account with only one key then you can do: $ culr https://github.com/kilianc.keys | sshcommand acl-add dokku kilian for example

Thank you! I'll try that tomorrow :)


Added safe area widget

Related Issue

Fixes #103

Proposed Changes

Added SafeArea widget to the app

Checklist

[x] Tested
[x] No Conflicts
[x] Change In Code
[x] Change In Documentation
[x] Follows linting rules

Resolved the conflicts @himanshusharma89

@D-Ajay-Kumar Do we always need SafeArea for any new Scaffold Widget? or one-time using SafeArea works fine?

Also @D-Ajay-Kumar I have seen a whole new screen in this PR, can you rebase your code again.

@D-Ajay-Kumar Do we always need SafeArea for any new Scaffold Widget? or one-time using SafeArea works fine?

If we use SafeArea on the topmost level then even the app bar's of scaffolds will get wrapped inside the safe area which is not usually done, only the body of every scaffold needs to be inside the safe area otherwise it gets uneven and ugly. To wrap only the body and maintain consistency a SafeArea is required everywhere.

Also @D-Ajay-Kumar I have seen a whole new screen in this PR, can you rebase your code again.

git rebase upstream/master
Right?  You can check your remote using git remote -v. If my repo with my HTTPS is not added add it in your remote and then do git rebase origin master

This is how it is currently. I thought origin is the forked repo on my GitHub where I commit changes, do I have it all wrong?

@D-Ajay-Kumar Oh so upstream is mine, so you can do one thing pull the latest code from upstream in your master branch (git pull upstream master) after that checkout to your branch and do git rebase master, (resolve and continue).
If doesn't work do git merge master

I...... have a slight doubt that it didn't work the way it was supposed to be. Could you please confirm it for me?

Most of the files changes in thus PR already exists. Did you comiited your code on every conflict? If so, you are not supposed to do that

I rebased my code with master after pulling from upstream so it showed me a bunch of conflicts and after resolving them I commited them. Should I not stage those files in the first place?

I rebased my code with master after pulling from upstream so it showed me a bunch of conflicts and after resolving them I commited them. Should I not stage those files in the first place?

Oh, this is the problem, after resolving a conflict, you just need to add them (git add .) and continue. You should not commit them.
Now, what you can do, try git reset --hard, if it is possible. If not, you can roll back to your old code where you initially created this PR(check the hash in this PR)

Any update @D-Ajay-Kumar?

Sorry about the delay, I had a couple of tests in college. Anyhow, this is how the git looks currently. I did the hard reset and this is where it brought me. What should I do next? There aren't anymore conflicts

@D-Ajay-Kumar Pull the code again, verify your work on all the screen, then do git push. If the issue still remains, you can do one thing, delete your branch locally and create that exact branch again(this time after pulling the latest code in master) and do your changes and push. No need to close this PR.

Lemme do the latter

Sorry for the late work, my college's announced tests all of a sudden. Anyhow, I have made the changes and I see that there seems to be a lot of deletion and addition but it's just that when I hit save on my editor it automatically added indentations and new lines for styling purposes. That's where there seem to be a lot of changes.

@D-Ajay-Kumar Any update? This has taken a lot of time


[bug]: reproducible nodes engine soft lock with collect/iterate nodes

Is there an existing issue for this?

[X] I have searched the existing issues

OS
Linux
GPU
cuda
VRAM
24GB
What version did you experience this issue on?
feat/ui/nodes-api
What happened?
When using collection/iterate nodes incorrectly - two times in a row - it is possible to soft lock the nodes engine. The API still responds but it does not generate until restarting.
This is the error (no error is emitted via events):
{'type': 'int_collection', 'collection': [1826701614]}
Exception in thread invoker_processor:
Traceback (most recent call last):
  File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.10/threading.py", line 953, in run
    self._target(*self._args, **self._kwargs)
  File "/home/bat/Documents/Code/InvokeAI/invokeai/app/services/processor.py", line 123, in __process
    self.__invoker.invoke(graph_execution_state, invoke_all=True)
  File "/home/bat/Documents/Code/InvokeAI/invokeai/app/services/invoker.py", line 28, in invoke
    invocation = graph_execution_state.next()
  File "/home/bat/Documents/Code/InvokeAI/invokeai/app/services/graph.py", line 817, in next
    prepared_id = self._prepare()
  File "/home/bat/Documents/Code/InvokeAI/invokeai/app/services/graph.py", line 1026, in _prepare
    create_results = self._create_execution_node(next_node_id, iteration_mappings)  # type: ignore
  File "/home/bat/Documents/Code/InvokeAI/invokeai/app/services/graph.py", line 876, in _create_execution_node
    input_collection_edge = next(
StopIteration

To reproduce, connect a range output to the index input of an iterate node, invoke all, then make a new session and do it again. The above error is output each time, but it's only on the second invoke all that the engine stops executing.
Example malformed graph_execution_state (use the simple source graph to reproduce - run the graph twice, changing its ID between runs):
{
  "id": "9d060c16-e8c3-4817-9ec7-17e47b423ae9",
  "graph": {
    "id": "e4bf01c2-10ce-4b93-b247-ac7d0016c59b",
    "nodes": {
      "f4372771-1866-4119-929a-b735478e54f1": {
        "id": "f4372771-1866-4119-929a-b735478e54f1",
        "type": "random_range",
        "low": 0,
        "high":<PHONE_NUMBER>,
        "size": 1,
        "seed": 0
      },
      "955935df-ee3c-4cdc-befd-7985f9f83347": {
        "id": "955935df-ee3c-4cdc-befd-7985f9f83347",
        "type": "iterate",
        "collection": [],
        "index": 0
      }
    },
    "edges": [
      {
        "source": {
          "node_id": "f4372771-1866-4119-929a-b735478e54f1",
          "field": "collection"
        },
        "destination": {
          "node_id": "955935df-ee3c-4cdc-befd-7985f9f83347",
          "field": "index"
        }
      }
    ]
  },
  "execution_graph": {
    "id": "3ce1b403-2506-419c-9ee1-28a4524bd95b",
    "nodes": {
      "b332dc93-3a72-4994-80fd-208cec63be28": {
        "id": "b332dc93-3a72-4994-80fd-208cec63be28",
        "type": "random_range",
        "low": 0,
        "high":<PHONE_NUMBER>,
        "size": 1,
        "seed": 0
      }
    },
    "edges": []
  },
  "executed": [
    "f4372771-1866-4119-929a-b735478e54f1",
    "b332dc93-3a72-4994-80fd-208cec63be28"
  ],
  "executed_history": ["f4372771-1866-4119-929a-b735478e54f1"],
  "results": {
    "b332dc93-3a72-4994-80fd-208cec63be28": {
      "type": "int_collection",
      "collection": [1826701614]
    }
  },
  "errors": {},
  "prepared_source_mapping": {
    "b332dc93-3a72-4994-80fd-208cec63be28": "f4372771-1866-4119-929a-b735478e54f1"
  },
  "source_prepared_mapping": {
    "f4372771-1866-4119-929a-b735478e54f1": [
      "b332dc93-3a72-4994-80fd-208cec63be28"
    ]
  }
}

Screenshots
No response
Additional context
No response
Contact Details
No response

Ah, you should never be connecting anything to the index input on an iterate node. That will be automatically filled in by the engine. I guess the docs on that aren't super clear. Is there a way to produce this aside from connecting to the index input on iterate nodes?


etcd-runner: watcher runner respect rounds

made watcher runner respect the round functionality

@xiang90 i have done the changes as per your suggestion of putting 1 key per per round. PTAL if its fine with you.
Thank you!

Sorry what i meant was 1 prefix per round

@xiang90 Thanks for your input will do the changes accordingly.

@sinsharat This looks awesome. Really appreciate that you could finish this with minimal code changes. Have you tried this locally to make sure it works?

@xiang90 yes thats why it took me so much time to raise the PR. For every change i was testing it to ensure it works fine. Functionality is working fine, just couldn't verify cancelling of channels.
Thanks for your guidance, it helped me getting this done.

@xiang90 i have done the changes. PTAL.
Thank you!

LGTM. Will merge when CI turns green.


Upload feature is broken

Upload feature is broken. When uploading a simple file, the application return Your image was not uploaded.
The apache log give this error.
docker exec [dvwa] cat /var/log/apache2/error.log

[Thu Dec 01 03:20:54.955287 2016] [:error] [pid 545] [client <IP_ADDRESS>:46222] PHP Warning:  move_uploaded_file(): Unable to move '/tmp/php7hTEUz' to '../../hackable/uploads/test.gif' in /app/vulnerabilities/upload/source/low.php on line 7, referer: http://localhost:8001/vulnerabilities/upload/

File permissions
The user www-data is not allowed to write to the uploads folder.
> docker exec [dvwa] ls -la /app/hackable/uploads
total 12
drwxrwxr-x 2 root root 4096 May  1  2013 .
drwxrwxr-x 4 root root 4096 May  1  2013 ..
-rw-rw-r-- 1 root root  667 May  1  2013 dvwa_email.png

Thanks for collaborating ;)

It works perfectly. 👍

what should i do yoiur image was not uploaded


Runtime CPU load balance strategy for local-task

Background
I compiled my models to deploy on platforms with 2 CPUs. The vmfb ran with --task_topology_group_count=2.
Observation
Two workers equally share the dispatch tasks.
If one worker completes its tasks, it waits for another worker to complete its tasks.
In other words, one worker is spared until another one completes the tasks.
For instance, I have a matmul op that is divided into 48 dispatch tasks. Both workers are responsible for 24 tasks each. They do not help each other.

Based on the image, it is evident that worker-1 is idle, while worker-2 still has 5 remaining dispatch tasks.
It makes CPU usage drop to 55%.
Question
Does this observation align with our expectations?
Why doesn't worker-1 assist worker-2 in completing the remaining 5 tasks?
FYR. @rednoah91

@benvanik Do you know if this case make sense?