Add version info to build.gradle

I copied this approach from other plugin repos, for example common-utils.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

This should help test it out https://github.com/opensearch-project/opensearch-plugins/blob/main/WORKFLOWS.md#publishing-java-plugins-snapshots

I'm merging this now to unblock initial integration testing. We can revisit the specific values here if they turn out to be incorrect.


ThisType should use the intrinsic keyword

Suggestion

🔍 Search Terms

thistype intrinsic
✅ Viability Checklist

My suggestion meets these guidelines:

[X] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[X] This wouldn't change the runtime behavior of existing JavaScript code
[X] This could be implemented without emitting different JS based on the types of the expressions
[X] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.)
[X] This feature would agree with the rest of TypeScript's Design Goals.

⭐ Suggestion
ThisType is quite confusing in that it appears to do nothing when you go to its definition:
interface ThisType<T> { }

but it actually has secret intrinsic functionality? so imo it should use the intrinsic keyword:
type ThisType<T> = intrinsic

or better yet, why not implement it in the language?
type ThisType<OldThis, NewThis> = {
    [K in keyof OldThis]: OldThis[K] extends (...args: never[]) => unknown
        ? (this: NewThis, ...args: Parameters<OldThis[K]>) => ReturnType<OldThis[K]>
        : OldThis[K]
}

(though that would probably break existing code)
motivation
it's misleading in a language when a symbol has a "fake" implementation you can look at, but its behavior is actually defined intrinsically somewhere else. for example, the NoReturn type in python:
NoReturn = Union[None]

this is as non-sensical as its typescript equivalent:
type never = undefined

Union[None] has nothing to do with NoReturn. its behavior is actually intrinsically defined in type checkers such as mypy. if never had a fake definition like this, it would be extremely confusing and it would blur the lines between what's intrinsic and what isn't.

Ironically Union[None] is pretty much exactly what never is in TypeScript, i.e. an empty union.  type never = undefined seems like a poor comparison, since undefined is a unit type, not a bottom type.

Union[None] in python doesn't actually mean an empty union. it's a union with one type in it (None), so if you attempt to recreate it, it behaves differently:
from typing import Union, NoReturn

NoReturn2 = Union[None]

foo: NoReturn
foo2: NoReturn2

bar: int = foo # no error
bar2: int = foo2 # error: Incompatible types in assignment (expression has type "None", variable has type "int")

and this is what i mean by secret intrinsic behavior. ThisType looks like it's implemented in the language, but if you attempt to recreate it, its magic disappears:
interface Foo {
    a: () => void
    foo: number
}

interface Bar {
    a: () => void
    bar: number
}

interface ThisType2<T> { }

type Baz = Foo & ThisType<Bar>
type Baz2 = Foo & ThisType2<Bar>

const foo: Baz = {
    foo: 1,
    a() {
        this.bar //no error
    }
}
const foo2: Baz2 = {
    foo: 1,
    a() {
        this.bar //Property 'bar' does not exist on type 'Foo & ThisType2<Bar>'.(2339)
    }
}

i thought maybe ThisType is augmenting an interface that's already defined elsewhere? but as far as i can tell it isn't

Union[None] isn't an empty union, it's a union of NoneType, an empty union would be something like Union[] which is a syntax error.
Python type machinery (like Union) converts None to NoneType(the builtins.type of None.
And the Union factory checks if there is only one argument, and in that case just returns that argument, not a union of that argument.
So despite how it might read, Union[None] returns types.NoneType/builtins.none(types.NoneType is an alias for the inaccessible builtins.none)

I don't think this would be problematic, but it seems like the easier fix would be to just put a comment above the declaration, since neither declaration form is going to tell you what's going on.
Why is everyone talking about Python unions? 😅

Because python's typing is cringe, not based. And this particular definition looks like something straight outta python

I guess intrinsic tells users there is magic within, at least it's not a empty interface (which is any).
It's just a very small thing that can but not must be done.


Missing embedding, vocab and MSN model.

I am preprocessing my own dataset, but I don't know where to get the word embedding, vocab, and MSN model as shown below.
https://github.com/hengyicai/ContrastiveLearning4Dialogue/blob/a3e2c1fc04e85231b33c65abec2a87a05cb06494/projects/contrastive_learning/scripts/compute_score.py#L75-L77
I have read the Github below to find the word embedding and MSN model I need.
https://github.com/MarkWuNLP/MultiTurnResponseSelection
https://github.com/twoflypig/MultiTurnResponseSelection
However, I think the one they provided is slightly different from what I want.
Could you provide the ones you used or give me some hints?
Thanks!

Hi, you can use the original MSN codebase (see https://github.com/chunyuanY) to build the matching model using your own dataset. The embedding and vocab files you mentioned above are required by the original MSN codebase to conduct model training and inference. For the embedding and vocab file, as well as the training data for MSN model, you can build your own dataset into the right format using projects/contrastive_learning/retrieval_models/MSN/create_training_data.py, in which you need to provide your train/valid/test data and a pre-trained embedding file. This script will dump the training data into the right format required by the MSN codebase, including {train, dev, test}.pkl and vocab_and_embeddings.pkl. You can then use these data to train the MSN model. The args.vocab_embed_path refers to vocab_and_embeddings.pkl and args. msn_model  refers to the trained MSN model (e.g., model.pt).


Canceling SpeechRecognition

Hi, is there any way to cancel the SpeechRecognition after it starts recording,
so I don't have to wait until it stops because of silence.
I can see there is a method cancel() in BaseSpeechRecognitionEngine,
but there is no interface to access it. Is there any workouround around it?
Thanks!

Yes, you can do it by using stopListening() method.
linearLayout.setOnClickListener(view -> {
            Speech.getInstance().stopListening();
            button.setVisibility(View.VISIBLE);
            linearLayout.setVisibility(View.GONE);
        });

linearlayout is the layout of progress view by clicking on layout you can stopListening.
I hope this will be help full to you.


The source string is not grammatically correct, it lacks something or needs to be divided into two sentences.

Hello,
please review this source string: "This Azure Communication Services Call Automation AI sample demonstrates how to use the Call Automation SDK to answer an inbound call, recognizes user voice input using Call Automation recognize API with support for Speech-to-Text."
It is not fluent language. My interpretation of it is as follows:
"This Azure Communication Services Call Automation AI sample demonstrates how to use the Call Automation SDK to answer an inbound call. It recognizes user voice input using Call Automation recognize API with support for Speech-to-Text."
Kind regards,
Anne H., QC

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

ID: cc020b95-83f3-36cc-31b9-014b2c0ffaae
Version Independent ID: 47d2f88c-9dd1-d60e-78a3-aa2c4e326b93
Content: Call Automation AI sample - An Azure Communication Services sample overview
Content Source: articles/communication-services/samples/call-automation-ai.md
Service: azure-communication-services
Sub-service: call-automation
GitHub Login: @kpunjabi
Microsoft Alias: kpunjabi

@QueryCoordinator
Thanks for your feedback! We will investigate and update as appropriate.


VXRD: Long-term Goals

[x] Move all web-app related files to top-level flask/ directory.
[ ] JSmol

[x] Determine if install-able as separate dependency w/o including in source
[ ] Embed next to submission form (to the right)

[ ] Implement "background jobs" for calculations
[ ] Progress bars
[ ] Make alerts dismissible
[ ] Enable error logging (to file)
[ ] Setup/configure error email notifications to admins
[ ] Design

[ ] VXRD Logo (nav-bar brand)
[ ] Site footer (w/ copyright, year, authors, etc.)
[ ] Color palette (CSS)

[ ] Add'l pages?

[ ] Home/splash
[ ] Link to GitHub repo?
[ ] Contact/comment/feedback?
[ ] About?

[ ] Change default Flask port (from 5000)
[ ] Turn off debug mode (when ready to go live)

@qzhu2017, for JSmol, do we want to include the unzipped static/jsmol in this repo or just jsmol.zip and instruct the end-user to unpack it themselves? Unpacking it makes it easier for anyone cloning the repo, but it will also commit almost 2,000 individual files and add another ~80 MBs.
Let me know what you prefer.

Let's just keep this file local and do not upload it to github repo

@qzhu2017 JSmol has been added in 9994626d4b41c8f4480f7b0de3f0dbda131a3af3. Per c01e932873e950281bccf42e26914bac3b956171, you'll need to unzip jsmol.zip in the right subfolder (where jsmol.js is).
After checking it out, what's your thoughts on the following open questions?

Default "Unit cell" size? (currently 1x1x1)
Set "Unit cell" list options? (see current dropdown)
Is download as "json" needed? (see "xyz" under "Download" dropdown)
How best to implement on "Comparison" page? Two JSmols? Only the first?

@qzhu2017 JSmol has been added in 9994626. Per c01e932, you'll need to unzip jsmol.zip in the right subfolder (where jsmol.js is).
After checking it out, what's your thoughts on the following open questions?

Default "Unit cell" size? (currently 1x1x1)
Yes
Set "Unit cell" list options? (see current dropdown)
no need to change
Is download as "json" needed? (see "xyz" under "Download" dropdown)
I don't think we need this option
How best to implement on "Comparison" page? Two JSmols? Only the first?
Maybe two JSmols and arrange them vertically?
@sabaronett wow thanks. Are you coming to school tomorrow? or video meeting?

I'm coming to school tomorrow. I'll finish classes around 12:45 PM. Come to your office afterwards?

@qzhu2017, I'm coming to school tomorrow. I'll finish classes around 12:45 PM. Come to your office afterwards?

@sabaronett sounds good. see u tomorrow


Update request headers on declared response

Hello,
I have updated my Next project dependencies and now I am getting the warning from the middleware.
next-firebase-auth-edge: NextResponse returned by handleValidToken was not decorated by modified request headers. This can cause token verification to happen multiple times in a single request. See: https://github.com/awinogrodzki/next-firebase-auth-edge#middleware-token-verification-caching
The problem is that in docs your response looks like this which create a brand new response with modified headers:
return NextResponse.next({
        request: {
          headers,
        },
      });

However, I declare the response at the top of my middleware and it goes through a couple of stages in the middleware where it is being modified for example by edge-csrf library for security.
So my response looks like the following:
export async function middleware(request: NextRequest) {
  const response = NextResponse.next();

  const csrfError = await csrfProtect(request, response);

  if (csrfError) {
      return new NextResponse('Unauthorized', { status: 403 });

  }
  return authentication(request, {...};

I have found similar question asked here, and I think there is no way to update headers on existing response, also I did not find a way to maybe combine the two together.
I think the link in the warning is also out of date.

Hi @awinogrodzki,
Sorry, I should have mentioned that changing the execution order helped. Although thinking purely from the logical perspective, it may make sense to check that the request is valid first (e.g., the csrf token is valid, etc..) before passing it to the auth and other middlewares. At least if the request is invalid, you can throw an error early and reduce the number of requests and execution instead of checking the token at the end, which is quite a cheap operation.
Thanks for updating the link and pointing out the authentication, I have updated it to authMiddelware 👍

I totally understand your point. I will be rethinking this modified headers approach to allow better flexibility in situations like this.

Hey, I spent some time investigating if I could change the behaviour in order to allow authMiddleware to be called before csrfProtect. Unfortunately, current implementation of Next.js limits us by requirement to pass Modified Request Headers as an argument to NextResponse.next.
There is no other way to modify request headers on existing response. Due to this fact, authMiddleware has to be called at the top level.
I will close the issue for now. If Next.js upgrades its API and allows to modify request headers on existing response instance, I will reopen the issue.
Cheers 🎉


Change all loop indexes to size_t instead of int

This is a confusion because of my Java experience. Using size_t (stddef.h or stdlib.h includes) is the preferred method here. size_t is always positive (unsigned)

fixed and committed on branch dlw-dev

closes with merge


Create intersection types when interface members conflict.

Let's use:
interface A = {
   data: number;
}
interface B = {
  data: string;
}
interface C extends A, B {}

This will throw an error as data has two separately defined types. I think that it would be really useful to allow C to become a union of the two interfaces either implicitly or to allow explicit unions of the conflicting types. The ultimate result being that:
interface C extends A, B {} = { data: number | string; }

Otherwise, a new interface would have to be created which would be a duplication of effort or the type would have to be overridden with any, which defeats the purpose of having strict types.
It's just a thought, but since TypeScript allows multiple inheritance with interfaces and has union types, I thought that this could be a beneficial merging of the two ideas.

It is already possible to redefine members in a sub-interface with any type:
interface A {
  data: number;
}
interface B {
  data: string;
}
interface C extends A, B {
  data: any;
}

or with a sub-type:
interface A {
  data: Text;
}
interface B {
  data: Comment;
}
interface TextOrComment extends Text, Comment {}
interface C extends A, B {
  data: TextOrComment;
}

However it is not possible to redefine members as a union type:
interface A {
  data: number;
}
interface B {
  data: string;
}
interface C extends A, B {
  data: string | number;
}

Because string | number is not assignable to string or number.
I was also hit by this problem in https://github.com/duanyao/typescript-fluent-dom . I think what we want is a new concept of "sub union type" (||) which is assignable to its component types. E.g.:
var a: number;
var b: string;
var c1: number | string; // union type
var c2: number || string; // sub union type
a = c1; // error
a = c2; // ok
c1 = a; // ok
c2 = a; // ok

Thanks for responding so quickly.
I think a sub union would be a great idea. We've already had a number of cases where we've had to override types with any and do typeof checks because we need the same object to adhere to different similar sets of types under separate contexts.
I've been thinking about creating a set of interfaces, but I was just going to run into the same problem and have to set the interface property types to any.
Sub unions would go a long way to alleviating these concerns and putting us back in a place where we can start using strict types again.

I think what you'd want is:
interface A {
  data: number;
}
interface B {
  data: string;
}
interface C mixin A, B {
  data: string | number;
}

So you're not inheriting but mixin in A & B in that order.
Since data is already in C, it checks that A.data and B.data is assignable to C.data (string|number)

What you want is for data to be an intersection, not a union (something like https://github.com/Microsoft/TypeScript/issues/1256). Consider:
interface A {
    data: number;
}
interface B {
    data: string;
}
interface C extends A, B {
    //data: string | number;
    data: any;
}

var a: A = { data: 1 };
var c: C = { data: "bye" };
a = c;
a.data.toFixed() // no compiler error, runtime exception

data in C is a string AND a number, not a a string OR a number.

@danquirk Would this seem correct?
interface A {
  data: number;
}
interface B {
  data: string;
}
interface C mixin A, B {
}
C.data; // number & string (intersection by default)

interface C2 mixin A, B {
  data: string | number;
}
C.data; // number | string (union) cause C2 wins

interface C3 mixin A, B {
  data: string & number;
}
C.data; // number & string (intersection) cause C3 wins

@danquirk

data in C is a string AND a number, not a a string OR a number.

Because no value can be both a string and a number, it seems nothing except any can be assigned to C::data, which in turn makes nothing except any can be assigned to variable of C. This is why I suggested "sub union type (||)", which makes string || number and string assignable in double way; however I'm not sure if this is doable.

Pick a more comprehensible intersection type if that makes it clearer:
interface A {
    data: { x: number, y: number };
}
interface B {
    data: { x: number; z: number };
}
interface C extends A, B {
	// not ok
    //data: { x: number; y: number } | { x: number; z: number }

	// ok, this is something like the intersection of A.data and B.data
	data: { x: number, y: number, z: number }
}

The 'sub union type' you seem to be describing is this intersection type that has the members of both constituents (instead of only the members that exist in both like what a union means today). That's the only way it would make sense to allow the assignability relation between instances of A and C for example. Right now you have to manually describe this type when implementing conflicting interface members and you're not protected from a refactoring of A and B's members in the same way you would if there was an operator to combine the 2 types.

If it's possible, I think that both intersection and sub-union could be equally usable. After bringing up intersection, it is clear to me that any implicit type inference on the compiler's part could be very confusing to a developer so an explicit union or an explicit intersection should be required.
In most cases, it seems that any would make more sense than intersection since the intersection of most types wouldn't make sense. There are examples like the one above though where intersection would be needed, though in that case, it's more like intersection is being used as a recursive call to resolve another instance of multiple inheritance.
If possible, intersection could serve as a very useful meta-type. An example would be the intersection of number and string. If data were assigned the value '2', then data is both a string and can be resolved to a number.

@danquirk
If I understand it correctly, primitive types are completely different from interface types. Intersection of 2 interfaces is equivalent to a sub interface of them; however, primitive types can't be inherited.
So 'sub union type' in my mind is two-fold:

If A and B are both interface types, A || B is equivalent to intersection of A and B (or sub interface of of A and B).

If one of A and B is primitive type, A || B means both intercetion and union of A and B. This sounds contradictory, like "wave-particle duality" -- yes it is. For example, if variable c is of type string || number, then it acts as string & number on read, and acts as string | number on written. Thus string || number and string are assignable to each other. We can also view 'sub union type' of primitive types as a constrained verision of any.

Maybe we don't have to introduce 'sub union type', instead just overload operator & for primitive types.

@duanyao can you provide an example where this type operator would be useful, and how is that any safer than any?

Suppose we have these interfaces:
interface A { value: string; }
interface B { value: number; }
interface AB1 extends A, B { value: string || number; }
interface AB2 extends A, B { value: any; }

Code below shows that "sub union type(||)" is safer than any and has better tooling support:
var a : A;
var ab1: AB1 = { value: "12" } // ok, on write, value is string | number
a = ab1; // ok, on read, value is string & number
ab1 = { value: true } // error, on write, value is string | number
var ab2: AB2 = { value: true } // ok, but unexpected
ab2 = { value: "15" } // ok

ab1.value.substring(1); // ok, and IDE can autocomplete;
ab1.value.subString(1); // error, on read, value is string & number
ab1.value.substring(1); // ok, but IDE can't autocomplete;
ab2.value.subString(1); // ok, but unexpected

ab1.value.toFixed(1); //ok, but throws at runtime
ab2.value.toFixed(1); //ok, but throws at runtime

Developers should be sure of the actual type of ab1.value, to prevent errors like ab1.value.toFixed(1).
A real world example is A = HTMLInputElement, B = HTMLProgressElement. They have member value of types string and number, respectively. I encounter this issue when creating UniversalElement (#3304).

So if the developer is expected to do a runtime check, why not use union types and type guards:
var stringOrNumber: number | string;

if(typeof stringOrNumber === "number" ) {
     stringOrNumber.toFixed(1); // does not blow up at runtime, and compiles fine.
}

I do not think there is value in creating another any, we already have one.
I have not seen any convincing scenarios in this thread so far that motivates changing what extends mean for an interface.

So if the developer is expected to do a runtime check, why not use union types and type guards

Because union type is not allowed when redefining a member inherited from super interfaces:
interface A { value: string; }
interface B { value: number; }
interface AB1 extends A, B { value: string | number; } // error

I do not think there is value in creating another any, we already have one.

any has absolutely no type check and tooling support, but sub union type is different, as shown above.
But I must admit that sub union type, combined witn union type and intersection type, can introduce a lot of complexity.
I think this issue is caused by the tension between primitive types and interface types, and the tension between dynamic type and static type, which is hard to resolve.

I just found a partial workaround for this issue: you need an additional "adapter" interface in the middle of the hierachy which redefines the conflicting member as any:
interface A { value: string; }
interface B { value: number; }
interface AB0 extends A, B { value: any; } // "adapter" interface
interface AB extends AB0 { value: string | number; } // here you can define the member with whatever type you like

// but AB is not compitable with A and B, a cast is needed
var a: A;
var ab: AB;
a = ab; // error
a = <A>ab; //ok

interface A { value: string; }
interface B { value: number; }
interface AB0 extends A, B { value: ... }

interface AB0 extends A, B is never safe however we define the type of value.

value can't be string & number because there is no value that is both string and number simultaneously.
value can't be string | number because it violates the subtype relationship between AB0 and A (or B).

So both union types and intersection types are not a solution for this problem. What we need here is a way to override the type checker, but we don't just want to make it any because we already know that it is either string or number.
I think we have two options here:

Just stick to any.
Create a special construct to override the type checker in the way we want. For example, make it assignable to and from string or number, but treat it like any in other places. Sub union operator (||) suggested by @duanyao is one way to implement this. But this inevitably complicates the typing rule.

A few questions, if any of you wouldn't mind taking the time to answer them:

Is there currently a way to implicitly create an intersection of two interfaces? Or would an adapter have to be defined?
Can a union type in a parent interface be constrained by a child interface?
During compilation, is it not possible to assert the claim that a value is both a string and number? Intersection types seems really interesting to me and from a compile standpoint, values could be checked if that satisfies the language spec for both a string and a number. Intersection types would also make it very easy to create types that extend multiple interfaces without having to create a namespace for it.

Is there currently a way to implicitly create an intersection of two interfaces? Or would an adapter have to be defined?

No. but it is a structural type system, so you can define a new type that has a union type member and that would be assignable to both types.

Can a union type in a parent interface be constrained by a child interface?

yes. the only check here is that an interface is expected to be a subtype of its base types. that matches the intuition in interface Foo extends Bar that any Foo is a Bar.
in the example above, number | string is not assignable to number, but the opposite is true. so you can define interface hierarchy as such:
interface Base {
    value: number | string;
}
interface A extends Base {
    value: string;
}
interface B extends Base {
    value: number;
}

During compilation, is it not possible to assert the claim that a value is both a string and number?

this is an type operation that is not supported. we are looking into adding a mixin/intersection operator, that would serve in this case.

Thanks @mhegazy .

What about conflicting access modifiers? say interface A has a required attribute, but in interface B it should be optional?
interface A {
  id: number;
}
interface B extends A {
  id?: number;
}
// Error: Property 'id' is optional in type 'B' but required in type 'A'.


Rolling ugrades not working as expected

Hi all,
I deployed a simple Mesh application, with 1 service. There are two replicas.
1- I have changed the replica count on my Template and deployed
Expected Behavior : No downtime
What really happened : A downtime, my site was down
2- I have 2 replicas. I changed the image tag i'm using and deployed my template
Expected behavior : No downtime
What really happened : A downtime, my site was down
Is this expected ?
Thanks

Did you leave everything else as is and only changed replica count and image name?
If so, please send us application resource id, region, and time when you issued the upgrade.

When i said downtime, i meant downtime for 30 seconds, which is something unexpected too. Yes, i have changed nothing except the image tag, or the replica count. Also noticed that the Gateway was taking long time during the deployment, like it was re-deploying.

ResourceID : /subscriptions/a7321ec3-3919-442b-8a85-3c8580527c41/resourcegroups/test-sfm/providers/Microsoft.ServiceFabricMesh/applications/helloapp
Region: eastasia
Time: between 7 and 8 pm utc+1 (last deployment at 7.43)

I uploaded a video, please see the behavior.
https://www.youtube.com/watch?v=nSkuuhl89ws

Hi Samir, it looks like we have a bug in how we allocate ports for Gateways. I'll fix it and deploy in the next few days.
Thanks!

I was testing exposing multiple ports via Gateway on this issue https://github.com/Azure/service-fabric-mesh-preview/issues/315 and notice the same problem
When we apply an upgrade to the gateway, the existing routes stop working for a while and requests are not completed.

What changes did you make to the gateway in this scenario? Are you just adding ports?
This issue was initially raised for application upgrades (which should work without a problem now) but there is some expected downtime when a gateway is changed.

I've noticed that any changes on services would slow down or break the gateway, scenarios like scaling the service or upgrading it like mentioned above.
Also, adding new routes to the gateway put down every service behind it until update is complete.
I understand all these events have an impact in the gateway routes, as the services might move around, so I would expect the gateway to be more reliable and hot reload the routing  configuration.
These kind of events will be very common and in the worse scenario only the related service\route should be affected, On scenarios where application updates happens multiple times a day, it would be unacceptable a gateway that fails on every release.

I noticed this en every app update like scaling the replica count or changing the code package container image version. Like i have showed on tge video. I will retry and report back

I have rested. Scaling from 1 to 2 replicas for example causes a downtime of few minutes.
This is unusable is real life

We are focusing on getting this fixed.

Just an update, the fix for this is being worked on, but holidays are slowing things down a bit.  We have testing in place now so hopefully we can turnaround something quickly in January.  Just FYI the expectation is that a single replica would maintain availability even during upgrades (upgrading container image for example).

@mattrowmsft This issue is still open and I am still experiencing similar issues. Is there a fix coming (your comment mentions January).


Switch to snackbar style fixed notification

Switch to floating (fixed position) notification based on Material's snackbar.

@Mogost I created a first draft of floating notification. It's based on another branch, so ignore the first commit. Anyhow, I'd like to get some early feedback from you before fleshing things out.

Hi. I will invite my colleague @glizer here.

Hi. I will invite my colleague @glizer here.

Less talk, more action :)
@codingjoe please check #229


feature

add support to mysql, support to put to each nexus block a condition to be able to break, for example to be able to break the block x times a day and every x hours, that you need to fulfill certain conditions like kill 20 zombies, get 64 rottenflesh, have x level of experience, have x island level (here it would be nice to add support for different skyblock plugins like bentobox, superiorskyblock2 and iridiumskyblock), be able to break it only at certain time of the day, have voted for the server x times, need a permission, have x item either a normal minecraft item or a custom item.

Thanks for ideas


Convert Minion component to function component

Currently this is a class component. Convert the existing code by implementing it as a function component in React.

Hey, i will work on this issue

@imrishabh18 I have assigned you another issue. Please complete that first.

I can work on this issue.Please assign it to me.

@sharmaaditya570191 I would like to work on this issue. please assign this to me.


BREAKING CHANGE: Reverting TemplateSpec UIDefinition due to rebrand and feature rollout

Linked to https://github.com/Azure/azure-rest-api-specs/pull/11344

/check-enforcer reset


CSS, filter not supported by Firefox, leads to no outline in theme-arrow-bounce

In drop-theme-arrow-bounce
-moz-filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.2));

Doesn't work, because Firefox doesn't fully support filter yet. So you end up with no outline around the Drop, which is confusing (but not a huge deal).

Good point. As a workaround, I would suggest adding custom styles if you need to fully support Firefox. You could augment the styles with box-shadow on .drop-content, but keep in mind that it will not produce a shadow under the arrow (as arrow is created using border).


edit section 5 of main page

Here as well - too much text and graphics everywhere. What we will do is merge everything into something more appealing...
Current title: UTILIZING THE THREEFOLD GRID ...... DECENTRALIZE NOW
1st: Remove UTILIZING THE THREEFOLD GRID and text under... (projects....technology)
New directions with content for that section:
On right side of screen:
New title: JOIN THE DECENTRALIZATION MOVEMENT (Use same title size as SECTION 2)
New text: Any application that runs on Linux can run on the ThreeFold Grid with more speed, cost-efficiency, privacy & security, and sustainability. Any individual or organization can now deploy any current or future IT workload (i.e., blockchain, IoT, 5G, AI, and VR/AR) on a truly decentralized architecture with greater efficiency.
Buttons below: DEPLOY YOUR APPLICATION [BETA]
ADD logos of all projects on the left side of the screen

just checked - lets improve spacing and try put title in 1 line + remove 2 projects on right and move it to bottom


Newline causes cursor to jump about 8 tabs

I don't know how it happened...i haven't messed with settings or anything but everytime I enter a new line...the cursor is out approx 8 tabs(4space each).
is this a bug or a setting thing?

@carinlynchin What does the Spaces/Tabs button on the bottom right corner say?

(One shouldn't be able to insert values more than <9 though...)

Does this occur without extensions too? Debug -> Reload Without Extensions. Couldn't replicate myself. Might be due to some formatting error?

says "tabsize:4" but i switch to spaces to test it and it still does teh  same thing..it used to not do this

@carinlynchin I edited my message after I realized this was about new line indentation, not indendation in general, sorry!

I reloaded without extensions and it seems to be fixed
So maybe it was one of the extensions..thanks for that. ididn't even know that was an option

actually it did come back...i figured out why...i am using a custom coding language from my employer and  it doesn't exist in the color coding options...so normally i just use C# to at least get some kind of color for readability...after the reload, it went back to "Text" and was fine. I switch to C# and the same thing happens.

i also tried "Javascript"  as an option and it works fine then too

Ok guys..thanks so much...at least I know whats going on now. I just never noticed it before. But pretty much any of the compiler languages causes the spacing...heck, vbscript almost takes it to the end of the line..but I'm pretty sure its because these formatting options have to look at typical code and since this is  a custom language and doesn't fit any of them...it probably is formatting the best way possible. Not a big deal...i"ll just use javascript or something similar for coloring the text.
I think i read about a way to make your own custom one, but it seemed a bit more difficult and I wasn't really really to go that far in :)
thanks though

@carinlynchin :+1:
You can try and find some other CodeMirror modes from the extension repo if you can find one that fits better but considering the language is custom it might be easier said than done :fire:

I think the situation may be the same as this example from JS:
    var someReallyLongVarName = someReallyLongFunctionName(x,

Copy and paste this line of code into a .js file. Place cursor at end of line and hit Enter. The next line is indented to align cursor with "x" (just inside opening paren).
You'd have to look at the code of the custom mode definition -- possibly in "indent" or "electricInput" functions.
You might also be able to turn off this behavior with the preference "smartIndent": false, which can be specified on a per language basis.


CDS-79628-videos-canary-and-strat-overview

https://harness.atlassian.net/browse/CDS-79628
Harness Developer Pull Request
Thanks for helping us make the Developer Hub better. The PR will be looked at
by the maintainers.
What Type of PR is This?

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

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

https://harness.atlassian.net/browse/CDS-79628

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

[ ] Tested Locally
[ ] Optional Screen Shoot.

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

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


Re-enable arm neon routines

see https://github.com/libsdl-org/SDL_ttf/issues/215

It works for me!


Does not work on Firefox

This JS is perfectly working on chrome but having issues with FireFox.

Stick class is not applying
By default there is some CSS applied - http://bsf.io/xgnwd

Which version of Firefox?
Could you check the development pages linked on the read me section with
the same browser to see if examples works properly.
Class will not be applied when native positive sticky is used. You can try
to disable native sticky usage. See how to do, on read me section.
On Friday, 10 June 2016, Pratik Chaskar<EMAIL_ADDRESS>wrote:

This JS is perfectly working on chrome but having issues with FireFox.

Stick class is not applying
By default there is some CSS applied - http://bsf.io/xgnwd

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/bbarakaci/fixto/issues/41, or mute the thread
https://github.com/notifications/unsubscribe/ABtwNOSjkfULVGuxKCGuzYeYLXTsgjNjks5qKVf_gaJpZM4Iy5wG
.

Hey! Thanks for your help.
I have used useNativeSticky to false & it works perfectly!
http://bsf.io/b2vop


v3.5.5+: Workflow stuck in Running but all nodes completed

Pre-requisites

[X] I have double-checked my configuration
[X] I have tested with the :latest image tag (i.e. quay.io/argoproj/workflow-controller:latest) and can confirm the issue still exists on :latest. If not, I have explained why, in detail, in my description below.
[X] I have searched existing issues and could not find a match for this bug
[ ] I'd like to contribute the fix myself (see contributing guide)

What happened? What did you expect to happen?
I have a workflow template that recursively calls a DAG and uses some conditional logic to skip/omit certain tasks. It also slaves on the built-in suspend template.
What I notice is that all nodes and pods run to completion and are in either a Succeeded, Skipped or Omitted state but the workflow status is still Running
Name:                workflow-keeps-running
Namespace:           argo-events
ServiceAccount:      argo-workflows
Status:              Running
Conditions:
 PodRunning          False
Created:             Fri Aug 23 15:42:49 +0200 (3 minutes ago)
Started:             Fri Aug 23 15:42:49 +0200 (3 minutes ago)
Duration:            3 minutes 26 seconds
Progress:            8/8
ResourcesDuration:   0s*(1 cpu),17s*(100Mi memory)

STEP                          TEMPLATE       PODNAME                                          DURATION  MESSAGE
 ✔ workflow-keeps-running     entrypoint
 ├─✔ task                     task-template  workflow-keeps-running-task-template-2223580216  3s
 ├─✔ await-task               delay
 ├─○ task-finished            finishing                                                                 when 'false' evaluated false
 └─✔ task-next-iteration      entrypoint
   ├─✔ task                   task-template  workflow-keeps-running-task-template-2686283671  3s
   ├─✔ await-task             delay
   ├─○ task-finished          finishing                                                                 when 'false' evaluated false
   └─✔ task-next-iteration    entrypoint
     ├─✔ task                 task-template  workflow-keeps-running-task-template-2162925756  3s
     ├─✔ await-task           delay
     ├─○ task-finished        finishing                                                                 when 'false' evaluated false
     └─✔ task-next-iteration  entrypoint
       ├─✔ task               task-template  workflow-keeps-running-task-template-3056561099  3s
       ├─○ await-task         delay                                                                     when 'false' evaluated false
       ├─✔ task-finished      finishing      workflow-keeps-running-finishing-3897901956      5s

I'd expect the workflow state to be Succeeded iso of Running.
I traced back all argo workflow releases and this workflow works as expected in v3.5.4.
Version(s)
v3.5.10
Paste a minimal workflow that reproduces the issue. We must be able to run the workflow; don't enter a workflows that uses private images.
apiVersion: argoproj.io/v1alpha1
kind: Workflow
metadata:
  name: workflow-keeps-running
spec:
  serviceAccountName: argo-workflows
  entrypoint: entrypoint

  templates:
    - name: entrypoint
      dag:
        tasks:
          - name: task
            template: task-template

          - name: await-task
            depends: "task.Succeeded"
            when: "{{=jsonpath(tasks['task'].outputs.result,'$.value') > 0}}"
            template: delay

          - name: task-next-iteration
            template: entrypoint
            depends: "await-task.Succeeded"

          - name: task-circuit-breaker
            depends: "task.Skipped"
            template: finishing

          - name: task-finished
            depends: "task.Succeeded"
            when: "{{=jsonpath(tasks['task'].outputs.result,'$.value') == 0}}"
            template: finishing

    - name: delay
      suspend:
        duration: 1s

    - name: task-template
      container:
        command: [ sh, -c ]
        image: alpine:3.7
        args:
          - |
            JSON_FMT='{"value":%s}'
            RND=$(( $RANDOM % 2 ))
            printf "$JSON_FMT" "$RND"

    - name: finishing
      container:
        image: busybox
        command: [ echo ]
        args: [ "near the finish" ]

Logs from the workflow controller
None

Logs from in your workflow's wait container
None

This sounds like a duplicate of #12103, although this is concretely a v3.5.5 regression. cc @jswxstw

This sounds like a duplicate of #12103, although this is concretely a v3.5.5 regression whereas that one happened in v3.4. cc @jswxstw

I can't reproduce it and I don't see what's wrong with this. I think it needs more infomation.

If you say you can't reproduce

How did you run it
Against which version did you test so I can retry that one

What kind of extra information are you looking for ?

I'll share my test setup if it can help
Running on minikube
minikube version
minikube version: v1.33.1
commit: 5883c09216182566a63dff4c326a6fc9ed2982ff

Argo installed on minikube using a small ZSH script
#!/bin/zsh
set -euo pipefail

ARGO_NAMESPACE=argo
ARGO_VERSION=v3.5.10

echo "Install argo workflows ${ARGO_VERSION} in ${ARGO_NAMESPACE}"
kubectl create namespace ${ARGO_NAMESPACE} --dry-run=client -o yaml | kubectl apply -f -
kubectl apply -n ${ARGO_NAMESPACE} -f https://github.com/argoproj/argo-workflows/releases/download/${ARGO_VERSION}/install.yaml

I am also using Argo events but this is out of scope for the issue.

If you say you can't reproduce

How did you run it
Against which version did you test so I can retry that one

I'm running it locally by branch main and release-3.5.
# argo get workflow-keeps-running
Name:                workflow-keeps-running
Namespace:           argo
ServiceAccount:      unset (will run with the default ServiceAccount)
Status:              Succeeded
Conditions:
 PodRunning          False
 Completed           True
Created:             Mon Aug 26 16:18:31 +0800 (4 minutes ago)
Started:             Mon Aug 26 16:18:31 +0800 (4 minutes ago)
Finished:            Mon Aug 26 16:18:47 +0800 (3 minutes ago)
Duration:            16 seconds
Progress:            2/2
ResourcesDuration:   0s*(1 cpu),5s*(100Mi memory)

STEP                       TEMPLATE       PODNAME                                          DURATION  MESSAGE
 ✔ workflow-keeps-running  entrypoint
 ├─✔ task                  task-template  workflow-keeps-running-task-template-2223580216  4s
 ├─○ await-task            delay                                                                     when 'false' evaluated false
 ├─✔ task-finished         finishing      workflow-keeps-running-finishing-1300587817      6s

What kind of extra information are you looking for ?

Logs from the workflow controller
Logs from in your workflow's wait container
Detail status of the workflow workflow-keeps-running

I don't have the time now to run the devcontainer setup so I am continuing with my minikube environment.
I tried the 3.5.5 release and it looks like it is just stuck in general. I am still using my ServiceAccount etc.
Good idea to get the logs out because I see a smoking gun in the wait container logs
time="2024-08-26T08:47:32.753Z" level=warning msg="failed to patch task set, falling back to legacy/insecure pod patch, see https://argo-workflows.readthedocs.io/en/release-3.5/workflow-rbac/" error="workflowtaskresults.argoproj.io \"workflow-keeps-running-2223580216\" is forbidden: User \"system:serviceaccount:argo-events:argo-workflows\" cannot patch resource \"workflowtaskresults\" in API group \"argoproj.io\" in the namespace \"argo-events\""

wf-get-3_5_5.json
wf-logs-3_5_5.txt
wf-logs-wait-container-3_5_5.txt
wf-controller-logs-3_5_5.txt

Can you try v3.5.10 and additionally provide detailed status of the pod?

I can't reproduce it either. I'm running on v3.5.10. This is the result of my run. I tried about 3 times and each time it was Succeeded
apiVersion: argoproj.io/v1alpha1
kind: Workflow
metadata:
  labels:
    workflows.argoproj.io/completed: "true"
    workflows.argoproj.io/phase: Succeeded
  name: workflow-keeps-running
  namespace: default
  resourceVersion: "78560"
  uid: a81ec63c-6733-4a81-baa2-b64f4542bdbf
spec:
  arguments: {}
  entrypoint: entrypoint
  templates:
  - dag:
      tasks:
      - arguments: {}
        name: task
        template: task-template
      - arguments: {}
        depends: task.Succeeded
        name: await-task
        template: delay
        when: '{{=jsonpath(tasks[''task''].outputs.result,''$.value'') > 0}}'
      - arguments: {}
        depends: await-task.Succeeded
        name: task-next-iteration
        template: entrypoint
      - arguments: {}
        depends: task.Skipped
        name: task-circuit-breaker
        template: finishing
      - arguments: {}
        depends: task.Succeeded
        name: task-finished
        template: finishing
        when: '{{=jsonpath(tasks[''task''].outputs.result,''$.value'') == 0}}'
    ...
status:
  artifactGCStatus:
    notSpecified: true
  artifactRepositoryRef:
    artifactRepository: {}
    default: true
  conditions:
  - status: "False"
    type: PodRunning
  - status: "True"
    type: Completed
  finishedAt: "2024-08-26T09:06:41Z"
  nodes:
    ...
  phase: Succeeded
  progress: 2/2
  startedAt: "2024-08-26T09:05:59Z"
  taskResultsCompletionStatus:
    workflow-keeps-running-1300587817: true
    workflow-keeps-running-2223580216: true

I found the problem, it is related to the role configuration in my k8s setup. The logs I attached here from the wait container (https://github.com/user-attachments/files/16746500/wf-logs-wait-container-3_5_5.txt)  gave it away :).
When using  v3.4.x I did not have workflowtaskresults as resources configured and everything works:
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
  name: operate-workflow-role
rules:
  - apiGroups:
      - argoproj.io
    resources:
      - workflows
      - workflowtemplates
      - cronworkflows
      - clusterworkflowtemplates

As soon as I add the workflowtaskresults resource and switch to v3.5.5 everything runs to completion. Somehow I missed this requirement.
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
  name: operate-workflow-role
rules:
  - apiGroups:
      - argoproj.io
    resources:
      - workflows
      - workflowtemplates
      - cronworkflows
      - clusterworkflowtemplates
      - workflowtaskresults

It works for v3.5.5
Name:                workflow-keeps-running
Namespace:           argo-events
ServiceAccount:      argo-workflows
Status:              Succeeded
Conditions:
 PodRunning          False
 Completed           True
Created:             Mon Aug 26 11:03:03 +0200 (41 seconds ago)
Started:             Mon Aug 26 11:03:03 +0200 (41 seconds ago)
Finished:            Mon Aug 26 11:03:44 +0200 (now)
Duration:            41 seconds
Progress:            4/4
ResourcesDuration:   0s*(1 cpu),16s*(100Mi memory)

STEP                       TEMPLATE       PODNAME                                          DURATION  MESSAGE
 ✔ workflow-keeps-running  entrypoint
 ├─✔ task                  task-template  workflow-keeps-running-task-template-2223580216  14s
 ├─✔ await-task            delay
 ├─○ task-finished         finishing                                                                 when 'false' evaluated false
 └─✔ task-next-iteration   entrypoint
   ├─✔ task                task-template  workflow-keeps-running-task-template-2686283671  3s
   ├─○ await-task          delay                                                                     when 'false' evaluated false
   ├─✔ task-finished       finishing      workflow-keeps-running-finishing-2920786288      6s

It also works for v3.5.10
Name:                workflow-keeps-running
Namespace:           argo-events
ServiceAccount:      argo-workflows
Status:              Succeeded
Conditions:
 PodRunning          False
 Completed           True
Created:             Mon Aug 26 12:27:21 +0200 (1 minute ago)
Started:             Mon Aug 26 12:27:21 +0200 (1 minute ago)
Finished:            Mon Aug 26 12:28:35 +0200 (28 seconds ago)
Duration:            1 minute 14 seconds
Progress:            10/10
ResourcesDuration:   26s*(100Mi memory),0s*(1 cpu)

STEP                            TEMPLATE       PODNAME                                          DURATION  MESSAGE
 ✔ workflow-keeps-running       entrypoint
 ├─✔ task                       task-template  workflow-keeps-running-task-template-2223580216  13s
 ├─✔ await-task                 delay
 ├─○ task-finished              finishing                                                                 when 'false' evaluated false
 └─✔ task-next-iteration        entrypoint
   ├─✔ task                     task-template  workflow-keeps-running-task-template-2686283671  4s
   ├─✔ await-task               delay
   ├─○ task-finished            finishing                                                                 when 'false' evaluated false
   └─✔ task-next-iteration      entrypoint
     ├─✔ task                   task-template  workflow-keeps-running-task-template-2162925756  3s
     ├─✔ await-task             delay
     ├─○ task-finished          finishing                                                                 when 'false' evaluated false
     └─✔ task-next-iteration    entrypoint
       ├─✔ task                 task-template  workflow-keeps-running-task-template-3056561099  3s
       ├─✔ await-task           delay
       ├─○ task-finished        finishing                                                                 when 'false' evaluated false
       └─✔ task-next-iteration  entrypoint
         ├─✔ task               task-template  workflow-keeps-running-task-template-4192763504  4s
         ├─○ await-task         delay                                                                     when 'false' evaluated false
         ├─✔ task-finished      finishing      workflow-keeps-running-finishing-2721574369      6s

Sorry for the ruckus, I should have checked the logs better before reaching out.

Release v3.5.5 has bug: #12733. Can you try v3.5.10 since you said your version is v3.5.10?

@alexpeelman I think you wrote the wrong version(v3.5.10) in your issue description. #12733 has been fixed in v3.5.10.

This is IMO same same, but different.  I was using v3.5.10 when the issue popped up. Considering this is related to an incorrect role configuration from my side it mimics the same behaviour as the the issue you are referencing. So independent from the fix, if I don't include workflowtaskresults in my k8s role definition used by the service account, the patch operation fails and hence the workflow is stuck.
... cannot patch resource "workflowtaskresults" in API group "argoproj.io"

I don't know how to proceed with this to make it work for you guys ? I can close and mark this as resolved because it's really a config mistake.

Workflow will not stuck in Running even if there are RBAC problems, this is a bug if so(like #12733).
Have you tested your workflow in v3.5.10 without workflowtaskresults  access permissions? We haven't reproduced it in v3.5.10.

Retried it again on v3.5.10, with workflowtaskresults set it works
wf-get-3_5_10-success.json
wf-logs-wait-3_5_10-success.txt
Removed workflowtaskresults, then it is stuck and it it keeps the workflow in Running state.
Do mind, the WF controller runs in a different namespace (argo) then the runtime for the workflow and pods (argo-events).
wf-get-3_5_10-stuck-running.json
wf-logs-wait-3_5_10-running.txt
The complete WF controller logs for both runs
wf-controller-full-logs-3_5_10.txt

Removed workflowtaskresults, then it is stuck and it it keeps the workflow in Running state.

@alexpeelman Can you additionally provide detailed status of one pod?

I reproduced it when executor only has workflowtaskresults create permission but does not have patch permission.

create workflowtaskresults with workflows.argoproj.io/report-outputs-completed: "false" succeeded.
patch workflowtaskresults with workflows.argoproj.io/report-outputs-completed: "true" failed.
patch pod with workflows.argoproj.io/report-outputs-completed: "true" succeeded.

As a result, the outputs reported by workflowtaskresult and pod are inconsistent, and the status in workflowtaskresult is finally taken, which is wrong.
Controller debug log:
taskresults of workflow are incomplete or still have daemon nodes, so can't mark workflow completed

@agilgur5 Do you think this is a bug in the controller? Or do we need to adapt to this mismatch scenario?

As a result, the outputs reported by workflowtaskresult and pod are inconsistent, and the status in workflowtaskresult is finally taken, which is wrong.

Well that's very confusing. Technically the Pod should take priority since it's a fallback.
Note that the fallback code will all be removed in 3.6 as well: #13100 , so that is perhaps not worth fixing.

Controller debug log:

Should this case be handled by #13454? Since incomplete WorkflowTaskResult but completed Pod is the case of #12993

Should this case be handled by #13454? Since incomplete WorkflowTaskResult but completed Pod is the case of #12993

@agilgur5 I'm afraid not. I've found that #13454 solves little or no problem at all, but I don't know where to report this issue: at the closed issue or create a new one?

@Joibel do you think you could take a look at this case of the issue as well?

isn't this a case of just documenting required permissions?


Doctrine Second Level Cache

Please implement support for Doctrine Second Level Cache

from: http://doctrine-orm.readthedocs.org/en/latest/reference/second-level-cache.html
"The second level cache functionality is marked as experimental for now. "
Shouldn't we wait until it is no longer "experimental"?

@mevdschee Sure. Can you leave this open as reminder?

These days I think the second level cache is "experimental" the way that Google was "beta" for about a decade.


Create a specific  component for parallax effect

The idea is to create a custom <Image /> component aware of Carousel's current scroll position and thus able to offer a nice parallax effect when scrolling.
react-native-parallax can serve as a good starting point.
For a preview of the effect we're after, see:

News App, by Krijn Rijshouwer for Framer
Invision Projects - Spaces iOS, by Charles Patterson for InVision

Implementation ideas :

Airbnb gif, biubiubiu freestyle, by JEE_lion

And here it is!

This can be tested in the flatlist branch.
Documentation and example have been updated. Let me know what you think!

Available in version 3.0.0.

Hi @bd-arc !
I have an issue with the example above on Android.
When working with ParallaxImage (parallax={true}) the topLeft and topRight borders doesn't have radius.
Although when switching to React Native's Image (parallax={false}) works fine...
Any suggestion? Thanks!

Hi @crHand,
I'm sad to say that I'm well aware of the issue. Unfortunately, Android is incredibly buggy when it comes to border radiuses and images. As you can see by looking at RN issues #8885 or #3198, this is a classic problem.
There are a couple of workarounds in these threads that I've previously tried but weren't working at that time. Can you try them on your own and let me know if one of them is of any help?

@crHand I've tried it all, and there's just nothing we can do ATM; this is really a RN issue.
Good news though: apparently this has been fixed by this commit which will land in RN 0.50.0.

@bd-arc
Yes!! I was about to reply you with that. Let's wait and see how that fix works.
Thanks!


scale_mat in preprocess.py

Hi thanks for the great work!
How do you compute the scale_mat in preprocess.py? How can we change this for our own data?
Thanks

Hi,
In our implementation, scale_mat describes the center and size of the dynamic object. For example, If the bounding box of the object has a size of [2,3,4] and its center locates at [1,2,3], our scale_mat is set to
2 0 0 1
0 3 0 2
0 0 4 3

You can use visualhull to determine the bounding box of the object. In addition, scale_mat is to scale and translate the object from a roughly set bounding box to the range of [-1, -1, -1]~[1, 1, 1], and it does not need to be very precise.

Hi,
In our implementation, scale_mat describes the center and size of the dynamic object. For example, If the bounding box of the object has a size of [2,3,4] and its center locates at [1,2,3], our scale_mat is set to
2/2 0 0 1
0 3/2 0 2
0 0 4/2 3

You can use visualhull to determine the bounding box of the object. In addition, scale_mat is to scale and translate the object from a roughly set bounding box to the range of [-1, -1, -1]~[1, 1, 1], and it does not need to be very precise.

Does such a rendering result mean that I need to adjust scale_mat?


API: Complete deprecations

Post-release deprecation changes.

Here are a handful of XXX bits in our code that might(?) make sense to address now:
mne/channels/montage.py:683:    # XXX: to change to the new naming in v.0.20 (all this block should go)
mne/commands/mne_compute_proj_ecg.py:64:                      default=False)  # XXX: change to default=True in 0.17
mne/commands/mne_compute_proj_eog.py:68:                      default=False)  # XXX: change to default=True in 0.17
mne/fixes.py:32:    XXX: Can be removed when numpy introduces a fix.
mne/tests/test_annotations.py:65:    assert raw.annotations is not None  # XXX to be fixed in #5416
mne/tests/test_annotations.py:66:    assert len(raw.annotations.onset) == 0  # XXX to be fixed in #5416
mne/tests/test_annotations.py:250:    assert raw_read.annotations is not None  # XXX to be fixed in #5416
mne/tests/test_annotations.py:251:    assert len(raw_read.annotations.onset) == 0  # XXX to be fixed in #5416
mne/tests/test_cov.py:323:        # XXX don't use "shrunk" here, for some reason it makes Travis 2.7
mne/utils/docs.py:1892:"""  # XXX make sure we deal with this deprecation in 0.23
mne/viz/_brain/tests/test_brain.py:438:    # XXX disable for sprint because it's too unreliable
mne/viz/utils.py:993:    # XXX: Bug in matplotlib won't allow setting the position of existing
server_environment.yml:18:- nbformat <5.1  # XXX remove pinning once https://github.com/jupyter/nbformat/issues/206 has been fixed

Those comments probably just need to be updated, will look a bit more in-depth tomorrow

I'll take care of those in a separate PR so that it's easier to review


Proposal : want to create separate contact us form with direct social handles links  which helps to connect easily with all felid validation.

okay go for it.. @AbhijitMotekar99


how to switch from ipywidgets 4.x to 5.x?

Hi,
Can you please update the instruction (or show me the link) how to switch from ipywidgets 4.x to 5.x
We have this nglview work nicely with 4.x version but my widget is not displayed with 5.x version.
I don't think jupyter nbextension enable --py widgetsnbextension is enough to make the widget works at all. I kept getting errors from console log (Chrome)

The errors are so silent in Python side and this makes our debugging is super difficult, especially I myself is not good at JS at all.
PS: I already this [https://github.com/ipython/ipywidgets/wiki/ipywidgets-5.0-Release-Document]
thanks

Hi @hainm thanks for posting. nglview looks awesome. Congrats on the work there!
ipywidgets 5.x is indeed backward incompatible with 4.x. However, things should be much more stable from now on.
Once you complete the migration, we should be able to include your visualization in static webpages such as the online are building for the jupyter.org website https://github.com/jupyter/jupyter.github.io/pull/93
There is a bit of work to do the migration but it is not so hard. A good place to start is probably to use the widget-cookiecutter project to generate a new nglview widget, to create a base project with the right project structure and boilerplate, and migrate your source to it... It also generates all the logic to build and webpack the javascript.
You can study the generated directory structure. We follow exactly the same template in ipyleaflet, pythreejs and bqplot...
Some background on what is going on

the js directory holds the JavaScript code, in the form of an npm package.
The webpack configuration generates 3 bundles

../{python_module_Name}/extension.js the notebook extension loaded on load of the page
../{python_module_Name}/index.js the amd module holding the model and views (most of the code)
dist/embed.js the amd module that is published on npmcdn and used for widget persistence.

On the python side, the view module must become the name of your npm package
You should also have custom models for all the widgets (with the same view modules). The custom js models hold the default javascript values. This  will reduce the footprint of the serialized blobs used for persistence.

PS: I was looking at the nglview codebase earlier this week end. You should not need the es6-promise which is already included into both the notebook and the inline bundler.

thanks @SylvainCorlay for all of your info. It seems too much work to do, but we will do that with the flow of Jupyter project. I will keep you updated. Thanks and cheers.
@arose: ping you.

I have recently migrated pythreejs and ipyleaflet to the new format. I could give you a hand but I am traveling a lot in the next couple of weeks...

thanks, I think we will try by ourself first before bothering you. It's good to learn anyway.

@SylvainCorlay cool, that helps us a lot, I will try starting anew from the widget-cookiecutter
@hainm with the reorganizing of the ngl code I can son build a single amd module to be used in nglview
I am curious how the persistence works, having that is quite exciting.

To build an amd module, we use webpack in the other libraries.
As soon as you get it to work, we will be able to include it in the new showcase gallery here:
http://jupyter.org/widgets.html

@hainm any news on this?

@SylvainCorlay hi, there is no progress on this. It's totally up to @arose time slot.

I'll start with it once we have 0.5 and 0.5.1 released and come back here if something is unclear, thanks for asking!

just add to @arose reply: v0.5 and 0.5.1 are intended to work with ipywidget < 5.0

@SylvainCorlay  we finally have a working version of nglview with ipywidgets 5.1.5 (and notebook 4.2.1)
You can check this out: https://github.com/hainm/test_nglview_ipywidget5/blob/master/README.md
However, I still can not make the embeded code work yet

first, I publish nglview-js here<EMAIL_ADDRESS>

create an html file with embeded code copied from jupyter notebook
http://hainm.github.io/nglview_demo.html

(source: view-source:http://hainm.github.io/nglview_demo.html)
Nothing shows up. Looking at console log, error says: http://hainm.github.io/nglview-js.js Failed to load resource: the server responded with a status of 404. Any idea how I can get the nglview-js.js file?
thanks.

woot! I will check out this branch later today.

updated: in case you would check out, please use the ipywidgets5 branch in official repo.
https://github.com/arose/nglview/tree/ipywidgets5

I am closing this since we officially support ipywdgets >= 5. thanks.


next: Select breaks when using transition on content

Describe the bug
When using a transition on the select content, the select is no longer part of the form after a selection is made.
Reproduction. (you made need to npm install --force)
The page has 3 selects,
The first has no transition, select a value and hit submit, the form values will display and log to the console.
The second has a transition with the {#snippet child({...})} Pattern, select a value and it will be removed from the form values.
The third has a global transition, select a value and it will be removed from the form values.
Reproduction
https://stackblitz.com/edit/github-shpwk7-zlxesb?file=src%2Froutes%2F%2Bpage.svelte
Logs
No response
System Info
System:
    OS: Linux 5.0 undefined
    CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 0 Bytes / 0 Bytes
    Shell: 1.0 - /bin/jsh
  Binaries:
    Node: 18.20.3 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 10.2.3 - /usr/local/bin/npm
    pnpm: 8.15.6 - /usr/local/bin/pnpm
  npmPackages:
    @sveltejs/kit: ^2.0.0 => 2.6.3
    bits-ui: ^1.0.0-next.15 => 1.0.0-next.15
    svelte: ^5.0.0-next.262 => 5.0.0-next.262

Severity
blocking an upgrade

Hmm, I actually don't think this one is fully fixable with the Select using the child snippet and a conditional. You'll miss functionality like the typeahead portal link and such. I'm considering dropping the Select in favor of just having the Listbox; I just need to figure out how to handle the typeahead stuff for that.
It requires a child/children to register the values for each<Select.Items> when they mount. I could probably hack it together but until that open conditional is true, anything within the content isn't mounted and therefore doesn't register.

That would work for most cases, I have a few that are visually grouped, so it’s nice to be able to provide a top level content child, could the components just accept a items/options prop with an array of label/value to be used?

Yep! That's exactly what I'm implementing now 😃


Modify spec of WebPay::Charge#retrieve that doesn't covered

According to [this line] (https://github.com/webpay/webpay-mock/blob/master/spec/webmock_wrapper_spec.rb#L49-L54), the spec for WebPay::Charge#retrieve doesn't covered failure case of API request. (maybe duplicate spec of #create has been placed by mistake?)
So I added the test case for that.

😵
Thanks a bunch 💖

thx for merging!


Inclusion of near-bottom oxygen minima indicator for test assessments

To include the oxygen minima assessment concept, several important basics need to be defined for the assessment season, maximum depth above sea floor, buffers around stations for pooling of stations with slightly different coordinates and aggregation/integration rules. Key points of oxygen minima indicator concept are also included in document attached.
Steps for implementation in HEAT:

Use oxygen data in assessment season: July-November (in the Western Baltic), July-Sept (Bothnian Bay, Bothnian Sea, The Quark)
Deepest sample from each observation, maximum distance of 4m above sea floor (information on bottom depth from EMODnet needed where missing)
Use buffer to aggregate stations into time-series (3x3 km)
Exclude individual measurements (less than 3 single observations in the entire assessment period)
Apply rule for classification of stations according to seasonally stratified or well-mixed conditions and related different thresholds (bottom depth <15 m: well-mixed 6 mg l-1; >15 m: seasonally stratified 4 mg l-1), acceptable deviation to be used: 50%
Apply rule for classification of stations according to repeated or occasional sampling (for subsequent weighted approach in spatial integration): Frequent sampling (defined as stations with several samplings per season and data in four or more years of 6-year period), count 3; Sampling frequency less than defined for frequent sampling, count 1
Determine seasonal minimum per station and year
Median of seasonal minima per station in assessment period
Apply threshold per station to result in GES or non-GES
Apply weighting of station results for integration to final assessment result (majority principle based on classification of stations/weighting (count 3 or 1))

Oxygen-minima-indicator-for-HELCOM-HEAT-implementation-20210914.docx

@birgitheyden since this indicator now seem to be produced elsewhere and reported directly into HEAT, I guess this task can be closed?


Basic environments of the branch

Hi, It's a wonderful work! I just want to know the basic environments of the branch, e.g. python version, cuda version etc. Would you please provide me the infomation? Thanks!

Please refer to the requirements in this conda configuration file: requirement.
You could simply use conda to install all the requirements following this list.
Python: 2.8.1 (https://github.com/DirtyHarryLYL/HAKE-Action-Torch/blob/6284bd7c6e49922949e7d2c9f2bc84d27f0c18a6/requirements.txt#L59).
As for cuda, simplify-x needs 10.0, and for our main model in TF 8.0 is enough.

So you could first run simplify-x with 10.0 and then change the version back to 8.0 to run the main project.

@DirtyHarryLYL  Thanks for the reply. I will try it!


Actually fix use-after-free in Python API

As it turns out, cffi actually handles properly calls taking a
as argument and decrements references afterwards, which makes the
previous fix useless. However, storing a  pointer into another
 doesn't count as a reference -- hence, the Tiling object was
still allocated, but pointed to an integer buffer which had been freed,
and that was the source of the use-after-free.
This changes the API slightly so that we use a wrapper class instead
that we ensure outlives the C call.

After offline discussion -- let's use numpy buffers instead.


Allow support for gradients

Changes

Allow gradients in themes, or more specifically don't replace all commas in variables so anything that uses a comma will still work. See: https://github.com/raulmelo/addon-variablecss-theme/issues/1

Before

After

Added an outline button to demo gradient support

The lightning icon in Firefox didn't scale so I've added the default storybook icon width to it

Before

After

Hei, @lambry!
Thank you for your collaboration. I'm approving and add the new version with your commit.

Hey @raulmelo, awesome thanks for taking a look at this so fast! And thanks for making this addon.


Thanos Storegateway Failed to get meta.json file

Thanos, Prometheus and Golang version used:
thanos:v0.36.0, prometheus:v2.54.0

Object Storage Provider:
AWS S3
What happened:

Thanos storegateway pod is getting failed to get meta.json file (Back-off restarting failed container storegateway in pod thanos-storegateway-0)
I have configured lifecycle policy on s3 bucket used by thanos, which moves data to Standard-IA after 30days and Glacier Flexible Retrieval after 90days
Promethues Retention: 10days
Storegateway is unable to get meta.json for data residing in S3 Glacier. Additionally due to this it's showing data of 10days only.

What you expected to happen:
Storegateway should successfully fetch data from S3 from last 30days atleast
How to reproduce it (as minimally and precisely as possible):

I have copied few chunks from last 30 days and copied it another bucket, and change the storegateway configurations. It started working, but with the glacier data it's getting failed.

Full logs to relevant components:

Success Logs:
2024-12-10T13:42:56+05:30 ts=2024-12-10T08:12:56.05607968Z caller=bucket.go:781 level=info msg="loaded new block" elapsed=1.370666ms id=01JAFMHJA8ER9BJRAGSQRPZ4J5
2024-12-10T13:42:56+05:30 ts=2024-12-10T08:12:56.056272584Z caller=bucket.go:781 level=info msg="loaded new block" elapsed=803.619µs id=01JD6KXWDN0TDZDJG4Y8GE0NM3
2024-12-10T13:42:56+05:30 ts=2024-12-10T08:12:56.057381044Z caller=bucket.go:781 level=info msg="loaded new block" elapsed=1.268913ms id=01JDPF9X7BSS3KYN1EBC9NPK2K
2024-12-10T13:42:56+05:30 ts=2024-12-10T08:12:56.057698972Z caller=bucket.go:781 level=info msg="loaded new block" elapsed=1.345296ms id=01JD9193FKQ1G99XTVP726P7E4
Error Logs:
2024-12-10T13:49:01+05:30 ts=2024-12-10T08:19:01.955573302Z caller=intrumentation.go:67 level=warn msg="changing probe status" status=not-ready reason="bucket store initial sync: sync block: incomplete view: 419 errors: get meta file: 01J45Y67416J4TEBSSQNXVK2SR/meta.json: The operation is not valid for the object's storage class; get meta file: 01J4952G29VQ15VP90BAZVA5HD/meta.json: The operation is not valid for the object's storage class; get meta file: 01J46520MJP5NR1J5YFQVPZ5KM/meta.json: The operation is not valid for the object's storage class; get meta file:
....

**Anything else we need to know**:
Entire PTG stack is running on AWS EKS.
<!--
Uncomment and fill if you use not casual environment or if it might be relevant.
<p>Environment:

OS (e.g. from /etc/os-release):
Kernel (e.g. uname -a):
Others:

-->

In order to solve the issue "The operation is not valid for the object's storage class;" I have restore the objects from S3 glacier into standard storage class.
When I have restarted my Thanos pod, it started working and I am able to see previous data.
Afterwards, when some data is moved back into glacier, Thanos added "deletion-mark.json" file to all the objects (both in standard and glacier flexible retrieval) and none of the previous data even in standard storage class is visible on Grafana.

I think it is not a bug of Thanos itself. Glacier storage class is not supported.


Demo.py

I trained my model for japanese language. The validation accuracy goes upto 99.9% but when testing on test image it fails very badly. Can you share demo.py file so that I can check if I am doing everything correctly or not.
Thank you

我为我的模型训练了日语。验证准确率高达 99.9%，但在测试图像上进行测试时，它非常失败。你能分享 demo.py 文件，以便我可以检查我是否正确地做所有事情。 谢谢
Hello, I also have the same problem. I have a high accuracy rate in other language training, but the test fails. Have you solved the problem now?

@Preethse @LeeBronOff23 Hello, I also have the same problem. I have a high accuracy rate in other language training, but the test fails. Have you solved the problem now?


Added missing feathers-hooks-common dependency

The realtime-3 example requires feathers-hooks-common to run.

Thank you!


Problem with Identifier starting with 0?

I have a meitrack MT90, and have registered/tested with their free service to make sure the device and communication works fine. Changed to my IP and port 5020 afterwards.
I have installed traccar on OS X Mavericks, including Java, and traccar is running.
I have port forwarding activated on the router (port 5020), and verified with yougetsignal.
I have launched the web client, registered the device, but 'No results found for selected period.'
And I cannot find any entry in the log indicating incoming communication.
The IMEI for the device starts with a zero - would that be a problem?
STATUS | wrapper  | 2014/01/05 22:16:59 | --> Wrapper Started as Daemon
STATUS | wrapper  | 2014/01/05 22:16:59 | Java Service Wrapper Community Edition 64-bit 3.5.22
STATUS | wrapper  | 2014/01/05 22:16:59 |   Copyright (C) 1999-2013 Tanuki Software, Ltd. All Rights Reserved.
STATUS | wrapper  | 2014/01/05 22:16:59 |     http://wrapper.tanukisoftware.com
STATUS | wrapper  | 2014/01/05 22:16:59 |
STATUS | wrapper  | 2014/01/05 22:16:59 | Launching a JVM...
INFO   | jvm 1    | 2014/01/05 22:17:00 | WrapperManager: Initializing...
INFO   | jvm 1    | 2014/01/05 22:17:01 | 2014-01-05 22:17:01.470:INFO:oejs.Server:jetty-8.1.13.v20130916
INFO   | jvm 1    | 2014/01/05 22:17:01 | 2014-01-05 22:17:01.510:INFO:oejw.WebInfConfiguration:Extract jar:file:/opt/traccar/traccar-web.war!/ to /private/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/jetty-<IP_ADDRESS>-8082-traccar-web.war-_-any-/webapp
INFO   | jvm 1    | 2014/01/05 22:17:03 | 2014-01-05 22:17:03.459:INFO:oejw.StandardDescriptorProcessor:NO JSP Support for /, did not find org.apache.jasper.servlet.JspServlet
INFO   | jvm 1    | 2014/01/05 22:17:03 | 2014-01-05 22:17:03.645:INFO:oejs.AbstractConnector:Started SelectChannelConnector@<IP_ADDRESS>:8082
INFO   | jvm 1    | 2014/01/05 22:20:32 | log4j:WARN No appenders could be found for logger (org.jboss.logging).
INFO   | jvm 1    | 2014/01/05 22:20:32 | log4j:WARN Please initialize the log4j system properly.
INFO   | jvm 1    | 2014/01/05 22:20:32 | log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.

hi, how can I register my MT90 in Traccar Linux server?
Thanks


Add VSCode homepage sample

Purpose

$Subject

@TharmiganK - We need to change the name of the sample to a meaningful one.

@TharmiganK - Shall we use dash instead of underscore when naming the project to be consistent with the other samples in https://github.com/ballerina-guides?

@TharmiganK - Can we add the GSheet connector also to the sample as done in the Consuming services sample in https://ballerina.io/?
This is required to generate a comprehensive sequence diagram.


Outdated cask: radio-silence

Outdated cask: radio-silence.
Info:

version: 2.1.
appcast url: https://radiosilenceapp.com/update.

Please do not run find_outdated_appcasts unless you are a maintainer.


Error with russian translation after installation

I have just installed symfony-demo, and i see this message:
An exception has been thrown during the rendering of a template ("Unable to load "/Users/arseny/www/symfony_demo/app/Resources/translations/messages.ru.xliff": [ERROR 94] Validation failed: no DTD found ! (in n/a - line 2, column 21)
[ERROR 76] Opening and ending tag mismatch: trans-unit line 198 and body (in n/a - line 254, column 16)
[ERROR 76] Opening and ending tag mismatch: body line 4 and file (in n/a - line 255, column 12)
[ERROR 76] Opening and ending tag mismatch: file line 3 and xliff (in n/a - line 256, column 9)
[ERROR 77] Premature end of data in tag xliff line 2 (in n/a - line 257, column 1)") in default/homepage.html.twig at line 14.
when i go to http://localhost:8000/en, everything is ok.

@ar7n thanks for reporting this error. In fact, this issue was fixed a few days ago in this pull request. I'm going to release a new version of the Symfony Demo application to publish the bugfix. Sadly, it takes 24 hours to make the new version available in our CDN cache, so we'll need to wait until tomorrow for the real fix.

The new 0.6.0 version has been released (https://github.com/symfony/symfony-demo/releases/tag/v0.6.0). It will be available in 24 hours. Thanks!


Multicompany

Hi dear coding fellows.
This is the state of my work on multicompany support and I'd like an educated opinion on what's done and what's missing.
Peace,
Bert'

Deploying this release.


Use ZSH fpath in hyprland.conf

Description
I would like to setup vars, path and fpath with ZSH before starting Hyprland and be able to use them in my hyprland.conf.
This could be done by sourcing a script before starting Hyprland. Like in your login shell for example:
if tty -s; then
  if [[ $(tty) == "/dev/tty1" ]]; then
    source /usr/local/share/setup-zsh
    dbus-run-session Hyprland
  fi
fi

Benefits
Allow you to reference scripts and functions from your fpath.

I don't understand. How do you want for hyprland to launch something... before hyprland?

Thanks for the response. I wasn't sure exactly if this was a bug, feature, or just general question.
I'm trying to understand why I can't reference scripts that are on my fpath from hyprland.conf. I would expect the Hyprland process to have fpath in it's environment if I imported it in the parent process.
I'm pretty new to shell scripting though so maybe the fact that nobody else's config does this means it's harder than I think. Is it something that I could potentially work on/help with if it is possible but annoying?

I'm trying to understand why I can't reference scripts that are on my fpath from hyprland.conf. Primarily for binds.

on bind ..., exec Hyprland calls /bin/sh, not your shell
you can use exec zsh -c 'somecommand -someflag', but you still need source your /usr/local/share/setup-zsh in .zprofile, because zsh will not run in interactive mode in this case, and fpath will be the default one, not from .zshrc

on bind ..., exec Hyprland calls /bin/sh, not your shell

Oh it uses bin/sh...that makes sense now thank you!

you can use exec zsh -c 'somecommand -someflag', but you still need source your /usr/local/share/setup-zsh in .zprofile, because zsh will not run in interactive mode in this case, and fpath will be the default one, not from .zshrc

Sorry I'm confused. I know .zprofile is read before .zshrc, but are you saying that by sourcing what I need explicitly before running Hyprland in my .zprofile (like in my example above ^), that my 'fpathstill won't be available if I usezsh -c 'somecommand -someflag'in myhyprlan.conf`?

you can test what fpath it will use by binding exec zsh -c 'echo $fpath > /tmp/fpathtest'

Sorry I'm confused.

yeah sorry, I've been incorrect, it should be .zshenv to modify, because zsh -c is neither login nor interactive.
I don't know content of your setup-zsh, but anyway you can source or fpath+=( '...' )
in .zshenv, or what you are doing in .zshrc

On second thought this is pretty convenient as is, but still curious on your thoughts.
bind = $mainMod, X, exec, zsh -c screen-capture-area-note
vs
bind = $mainMod, X, exec, $SCRIPTS/screen-capture-area-note


Can a pipeline process be cancelled?

Hi @akariv @roll
I've been diving deeper into the code of datapackage pipelines in order to build a feature that runs a pipeline in the background using python (without opening a subprocess). I am able to successfully call run_pipelines in a seperate thread. I can also check the status of the running pipeline with Pipeline Execution and Pipeline Status.
However, I am unable to find a way to access the process that is running a pipeline and delete/stop that process. I can use the invalidate and delete functions in the Pipeline Execution class, but that only seems to update the status displayed by the Status class. The process is still executing (I can see it logging the results on the other thread), and if it is a long running process (sometimes our pipelines last >60 minutes) it will eventually bog down the server.
Is there any functionality to delete a process that running available within datapackage pipelines? I know that I could handle this myself by keeping track of the thread (likely switching over to celery on my server or something) and cancel it myself, but it seems like something that would make sense to be in datapackage pipelines. This is a pretty high priority issue, as I am currently developing this feature and I'm hoping to have it done asap in order to allow for long running pipelines running in the background.

Hi @cschloer I've asked @akariv if he can help to suggest some idea

Hey,
I ended up figuring out a solution. If you are interested I can go into deeper detail, but the basic idea was to actually use the subprocess function (that I originally wanted to avoid) to call the dpp command. Then I can kill the process with os.kill - though the important difference is that I have to kill the children of the process as well (the slave process).

Great. Awesome!


Ownbit list on bitcoin.org

Hi guys,
We want to apply for listing on bitcoin.org as one of the recommend Bitcoin Wallets. Ownbit has a long history back to 2013 which contributes a lot for Bitcoin growing up, especially in China.
And now Ownbit is one the most featured Bitcoin Wallets, which supports SegWit, MultiSig, Customize UTXO, Offline Cold Wallet and etc. It has a very good reputation as the BEST Bitcoin Wallet in the community(If you try it , you will see).
And also Ownbit has been trusted by many other popular projects, and has been listed as their recommended 3rd wallets, like Litecoin, DASH and so on. And also Stellar will list Ownbit in their new website soon. All these can be checked and they are true.
So, Ownbit as one of the modern Bitcoin Wallets apply for listing, and it deserves to be accessed by more Bitcoin users. Wish to get feedback from you soon.
Ownbit website: https://ownbit.io
Apps can be downloaded at Appsotre/Google Play searching: Ownbit.

This is not the repository for bitcoin.org. Bitcoin.org's repo is at https://github.com/bitcoin-dot-org/bitcoin.org


Preset only version

As I made changes that will reflect once #13 is merged, I was at a crossroad before settling on the default behavior. Currently (starting from v0.5.0 ), when you do:
mag modify --set-version=1.1.1 --set-prelease=foo --set-build=bar --bump --major

# Or

mag modify --preset --set-version=1.1.1 --set-prelease=foo --set-build=bar --bump --major

Results in the same behavior. This because --set-version defaults --preset to always true. Thus, version , prerelease and build if passed will be preset before version is bumped.
However, doing:
mag modify --set-prelease=foo --set-build=bar --bump --major

Only sets the  prerelease and build after the current version 's major version in yaml has been bumped.
The crossroad then was:

preset should preset the value before bumping. Part of the default behavior.
set-version should only preset the version if preset is not specified. Thus:

mag modify --set-version=1.1.1 --set-prelease=foo --set-build=bar --bump --major

Only presets version and adds prelease and build metadata after the major version has been bumped up.

Coming to think of it, the second way makes sense. Will add the necessary one liner once PR is ready.


Performance hit with numerous class initializations

During a performance pass of develop branch for 1.0, I noticed that creating the instances and setting up classes was taking a lot of time and in most cases it took more time than the actual CQL execution.

Turning these into static would alleviate the setup time for the classes and improve execution time.
Note: Please assign this bug to me as I already have it fixed and add the label that this is for 1.0, not 2.0.

PR with fix located here: #548

When running all of our measures I noticed some measures that relied heavily on the caching took a huge performance hit. These are the execution time on all of our measures/decks on the same build machine for our nightly runs.
Before the singleton updates when we still had Lazy variables.
ADD-E: Duration: 57m 4s
CRE: Duration: 1h 41m 27s
PND-E: Duration: 44m 15s
SPD: Duration: 9h 24m 18s
After singleton
ADD-E: Duration: 3h 32m 35s
CRE: Duration: 2h 46m 1s
PND-E: Duration: 10h 48m 39s
SPD: Duration: 3h 10m 21s
Here is the total run time of all measures on our build machine.
Latest 1.0 with singleton changes

I realized we needed an update to use scoped measures and singleton libraries. Here is the same run on our build machine with local changes in the engine to have both.

ADD-E: Duration: 38m 0s
CRE: Duration: 57m 4s
PND-E: Duration: 53m 39s
SPD: Duration: 1h 36m 22s
As you can see, huge performance gains using singleton libraries to reduce the constructor initialization of all supporting libraries as well as improved performance to use caching/lazy variables inside the measure CQL to improve the performance when you write 1 CQL define that is used in multiple places, like a list of episode dates.


Visualizations disappear when project loads

Discord username
No response
What type of issue is this?
Permanent – Occurring repeatably
Is this issue blocking you from using Enso?

[ ] Yes, I can't use Enso because of this issue.

Is this a regression?

[ ] Yes, previous version of Enso did not have this issue.

What issue are you facing?
A project with some visualizations is reloaded. After reboot, some visualizations appear to be fetching data and then suddenly disappear. There is no failure from LS, it also appears that IDE gets not only the response to the request but also the underlying data. Nevertheless IDE appears to send an explicit request to detach visualizations for unknown reason.
Expected behaviour
Visualization should load data and stay up, preserving the state on closure of the project.
~Pretty sure this has worked in the past.~ Unable to confirm if this is a regression since visualizations have been rather unstable until recently.
How we can reproduce it?
Same project as in https://github.com/enso-org/enso/issues/7140.
Screenshots or screencasts
Kazam_screencast_00016.webm
Logs
No response
Enso Version
b78a7e74e890bbc573178e5e856c65e6e8c83052
Browser or standalone distribution
Chrome
Browser Version or standalone distribution
110.0.5481.100
Operating System
Linux
Operating System Version
No response
Hardware you are using
No response

Can reproduce on the latest develop, IDE sends detachVisualization for some reason.

No longer reproducible in GUI2


Hope to support Pre-script

Hope to support pre-script like postman, which can greatly improve the efficiency of the test, and the access_token can be automatically obtained in advance before the request is sent

I'll have to think about how to go about this, and it indeed seems pretty heavy :|
I'll give it a shot if I have time.

https://learning.postman.com/docs/writing-scripts/pre-request-scripts/
This is postman's pre-script document


fix(pure-cell): fixed missing typography styles

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.01%) to 79.902%

Totals

Change from base Build<PHONE_NUMBER>:
0.01%

Covered Lines:
7594

Relevant Lines:
8629

💛  - Coveralls

Спасибо за пр. Предлагаю тест написать для этого случая.


[Bug] LED does not report a color mode, will stop working in HA Core 2025.3

The problem
since latest core update, a warning appears about LED not reporting a color mode
Your device model
RT-AX86U
Firmware type
Stock
Firmware version
<IP_ADDRESS>.388.24231_gbc11d13
Integration version with the issue
0.29.0
Method of the integration installation
HACS
What version and type of Home Assistant installation do you use
core 2024.3.0
Is there anything useful in the logs?
Logger: homeassistant.components.light
Source: components/light/__init__.py:914
integration: Light (documentation, issues)
First occurred: 11:07:42 (1 occurrences)
Last logged: 11:07:42

light.rt_ax86u_led (<class 'custom_components.asusrouter.light.ARLightLED'>) does not report a color mode, this will stop working in Home Assistant Core 2025.3, please create a bug report at https://github.com/Vaskivskyi/ha-asusrouter/issues

Diagnostics information
No response
Additional information
No response

Seeing the same issue after upgrading to 2024.3

RT-AX88U Pro on Merlin [3004.388.6_2] same issue.

Hello, guys. Thanks for your reports. This issue will be fixed in #808 and the release will be available in the next 48 hours.
Unfortunately, lately, I haven't had any free time, so I didn't yet know about this new feature of 2024.3

The release is already available in HACS. In case if the issue persists, please, reopen this issue


How to write WindIO

Hi,
Is there a package or a set of options that I can use to open, modify and write WindIO files? I've tried using the ruamel.yaml package to modify a yaml file that has a windIO format and it changes the format of specific parameters. It transposes certain variables and renames others. For example:
grid: [0.0, 0.4, 0.8,  1.0]
becomes:
grid:

0.0
0.4
0.8
1.0

The WindIO project really just aims to define the ontology / parameterization and not push any particular tool or workflow.  If it helps, there are some python tools for the WindIO schema in WISDEM here.
For the example you showed, putting an array of numbers in brackets or sub-bullets is equivalent in yaml language, just a style thing.


Linting Gone Astray?

We've started seeing a number of posts on the forum that seem to be caused by this plugin.

https://forum.sublimetext.com/t/remove-syntax-highlight-red-wavy-underlines-everywhere/41663
https://forum.sublimetext.com/t/how-to-disable-the-spell-syntax-error-checker-red-underlines/41703

I figured I'd give you a heads up.

Here is another case: https://forum.sublimetext.com/t/unwanted-underlines-in-vue-components/41801

I tho it was only me.
Have not any problem like this before.

MacOS Mojave 10.14.3
Does not happen when opened, it shows like this after do some action and sometimes.

For me disabling the "TypeScript" plugin (as suggested here: https://forum.sublimetext.com/t/remove-syntax-highlight-red-wavy-underlines-everywhere/41663/10 ) has solved this issue.

Hi

I need some help.

Sorry about this everyone - I think I have the fix. I'll try to put it out tomorrow.

Hi,
Okay, no problem.
On Mon 25 Feb, 2019, 3:13 PM Daniel Rosenwasser<EMAIL_ADDRESS>wrote:

[image: Boxbe] https://www.boxbe.com/overview Daniel Rosenwasser (
<EMAIL_ADDRESS>is not on your Guest List
https://www.boxbe.com/approved-list?tc_serial=48260258339&tc_rand=1059193376&utm_source=stf&utm_medium=email&utm_campaign=ANNO_MWTP&utm_content=001&key=9bztL86b%2FVgHr5vQu7dOGhx4ZGeoYIwBdEHgj8CrSYY%3D&token=YMNSwW%2BaMVnF5gOW9sUydqsHJx61oYaZLkR3DGEZLMQVlj5nRJB5fX%2FQKabv65Mk
| Approve sender
https://www.boxbe.com/anno?tc_serial=48260258339&tc_rand=1059193376&utm_source=stf&utm_medium=email&utm_campaign=ANNO_MWTP&utm_content=001&key=9bztL86b%2FVgHr5vQu7dOGhx4ZGeoYIwBdEHgj8CrSYY%3D&token=YMNSwW%2BaMVnF5gOW9sUydqsHJx61oYaZLkR3DGEZLMQVlj5nRJB5fX%2FQKabv65Mk
| Approve domain
https://www.boxbe.com/anno?tc_serial=48260258339&tc_rand=1059193376&utm_source=stf&utm_medium=email&utm_campaign=ANNO_MWTP&utm_content=001&dom&key=9bztL86b%2FVgHr5vQu7dOGhx4ZGeoYIwBdEHgj8CrSYY%3D&token=YMNSwW%2BaMVnF5gOW9sUydqsHJx61oYaZLkR3DGEZLMQVlj5nRJB5fX%2FQKabv65Mk
Sorry about this everyone - I think I have the fix. I'll try to put it out
tomorrow.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/TypeScript-Sublime-Plugin/issues/703#issuecomment-466944012,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AjM0h1wlQiAaS2dW4oJ4h7VZtRu2Gnyzks5vQ7AtgaJpZM4ahsXA
.

Fix is out at #705.


TouchableHighlight onPress issue on iPad physical device

Issue Description
I made a ListViewGridLayout starting from this example:
react-native/Examples/UIExplorer/js/ListViewGridLayoutExample.js
I made it with class style and not React.createClass (Itested both version anyway)
Like the example my _renderRow function returns a TouchableHighlight, when onPress is fired from the TouchableHighlight i would like to use something like
this._pressRow(rowID) { /*do something with rowID*/ }

It works perfectly on the iOS simulator but not on my iPad:
when the _pressRow function is fired the argument passed is undefined or empty
Steps to Reproduce / Code Snippets
minimal example
class ListViewGridLayout extends Component {
_pressRow(rowID) {
console.log(`selected row id: "${rowID}");
}

_renderRow(item, sectionID, rowID) {
    return (
      <TouchableHighlight onPress={() => this._pressRow(rowID)}>
          <Text>{item.name}</Text>
      </TouchableHighlight>
    );
  }

render() {
    return(
      <ListView
        enableEmptySections={true}
        dataSource={this._createDataSource(this.props.items)}
        renderRow={this._renderRow}
      />
    );
  }
}

Expected Results
expected output example
selected item with id: "0"

real output
selected item with id: "undefined"
#or
selected item with id: ""

Additional Information

React Native version: 0.32.0
Platform(s) (iOS, Android, or both?): iOS
Operating System (macOS, Linux, or Windows?): macOS

Anyone found a solution to this? Is it impossible to have a grid with an onPress event? :(

HI, you can just instead  renderRow={this._renderRow} to
renderRow = {this._renderRow.bind(this)}
I think it would be ok

Closing this issue because it has been inactive for a while. If you think it should still be opened let us know why.


Send alerts via Opsgenie integration

Is your feature request related to a problem?
There is a lack of integration to send alerts via other mediums besides slack. I currently have alerts going through Opsgenie where we take care of further alert management/routing and would like the same for elementary-data
Describe the solution you'd like
Add integration with Opsgenie and have the ability to assign to different Opsgenie teams to send alerts
Describe alternatives you've considered
Have my own query setup to look at the tables generated by elementary and have an script that write to opsgenie for alerting, which is set on a cronjob.
Would you be willing to contribute this feature?
Yes

I will give this a go, I am going to follow the comments from this post - https://github.com/elementary-data/elementary/issues/324#issuecomment-1444150209


Scrapper to get jobs with job description related to user resume

The current implementation only has the algorithm to calculate how related is the resume to the job description the user enters in the text area. The enhancement idea is to

Implement a scrapper which would scrape the job postings on the internet
Suggest related jobs to the user based on his resume

@vamshi-chidara Any update?

I had completed the scrapper and pushed it in this commit

Great! Time to close it :P


Display attempts left # in pwp_until() debug output

Closes #1

It's not ideal but.. one day I'll split debug for humans and debug for RX/TX


Character Page Issues

I see where you're trying to run the script as character page 949. I didn't get an error about not having support for this and instead got a very garbled mess. I know you're only in a beta/WIP progress right now; but for a wider audience it might help to convert it to UTF-8.
The End-Of-Line sequence was also just LF and not CRLF. This actually caused the script to fail to execute completely.
I used VSCode to convert from 949 to UTF-8, fixed the CRLF, modified the codepage command. Works on my system.

I fixed this and submitted a pull request.