Purge permission logic-reversed when adding streams

Purge permission prompting in CLI for str add is logic-reversed.  Also, --no-deny-purge has no effect.  Latest main commits.
$ nats str add foo
? Subjects foo.*
? Storage file
? Replication 1
? Retention Policy Limits
? Discard Policy Old
? Stream Messages Limit -1
? Per Subject Messages Limit -1
? Total Stream Size -1
? Message TTL -1
? Max Message Size -1
? Duplicate tracking time window 2m0s
? Allow message Roll-ups No
? Allow message deletion Yes
? Allow purging subjects or the entire stream Yes
Stream foo was created

Information for Stream foo created 2022-07-13 07:31:34

Configuration:

             Subjects: foo.*
     Acknowledgements: true
            Retention: File - Limits
             Replicas: 1
       Discard Policy: Old
     Duplicate Window: 2m0s
    Allows Msg Delete: true
         Allows Purge: false
       Allows Rollups: false
     Maximum Messages: unlimited
        Maximum Bytes: unlimited
          Maximum Age: unlimited
 Maximum Message Size: unlimited
    Maximum Consumers: unlimited

Cluster Information:

                 Name: cluster1
               Leader: vbox1

State:

             Messages: 0
                Bytes: 0 B
             FirstSeq: 0
              LastSeq: 0
     Active Consumers: 0

$ nats str add foo
? Subjects foo.*
? Storage file
? Replication 1
? Retention Policy Limits
? Discard Policy Old
? Stream Messages Limit -1
? Per Subject Messages Limit -1
? Total Stream Size -1
? Message TTL -1
? Max Message Size -1
? Duplicate tracking time window 2m0s
? Allow message Roll-ups No
? Allow message deletion Yes
? Allow purging subjects or the entire stream No
Stream foo was created

Information for Stream foo created 2022-07-13 07:37:14

Configuration:

             Subjects: foo.*
     Acknowledgements: true
            Retention: File - Limits
             Replicas: 1
       Discard Policy: Old
     Duplicate Window: 2m0s
    Allows Msg Delete: true
         Allows Purge: true
       Allows Rollups: false
     Maximum Messages: unlimited
        Maximum Bytes: unlimited
          Maximum Age: unlimited
 Maximum Message Size: unlimited
    Maximum Consumers: unlimited

Cluster Information:

                 Name: cluster1
               Leader: vbox2

State:

             Messages: 0
                Bytes: 0 B
             FirstSeq: 0
              LastSeq: 0
     Active Consumers: 0

$ nats str add foo --no-deny-purge
? Subjects foo.*
? Storage file
? Replication 1
? Retention Policy Limits
? Discard Policy Old
? Stream Messages Limit -1
? Per Subject Messages Limit -1
? Total Stream Size -1
? Message TTL -1
? Max Message Size -1
? Duplicate tracking time window 2m0s
? Allow message Roll-ups No
? Allow message deletion Yes
Stream foo was created

Information for Stream foo created 2022-07-13 07:39:13

Configuration:

             Subjects: foo.*
     Acknowledgements: true
            Retention: File - Limits
             Replicas: 1
       Discard Policy: Old
     Duplicate Window: 2m0s
    Allows Msg Delete: true
         Allows Purge: false
       Allows Rollups: false
     Maximum Messages: unlimited
        Maximum Bytes: unlimited
          Maximum Age: unlimited
 Maximum Message Size: unlimited
    Maximum Consumers: unlimited

Cluster Information:

                 Name: cluster1
               Leader: vbox1

State:

             Messages: 0
                Bytes: 0 B
             FirstSeq: 0
              LastSeq: 0
     Active Consumers: 0

Found the issue. PR incoming


how to solve this !!

Suppose you have a piece of paper in the shape of a circle, with a circumference of 8 feet. (It’s a pretty large piece of paper!) Now you fold the circle in half to produce a semi-circle; then fold that over to produce a quarter-circle; then fold that to produce an eight-size wedge of a circle; and so forth. How many folds (assuming, counterfactually, that the paper could withstand this) would it take before the edge of the remaining wedge is less than 0.01 inch?

@Rranjansolenoid Hi, I'm not sure whether this issue is related to echarts or not and it was closed for not using issue template.
It seems to be a mathematical problem. There are some example codes for you.
// circumference of the circle
let c = 8 * 12; // feet to inch

// the radius of circle
let r = c / (2 * Math.PI);

// target arc length we want to get
let targetArcLength = 0.01;

// the arc length of circle
let arcLength = c;

// fold count
let foldCount = 0;

// the center angle of circle
let circleCenterAngle = 360;

// loop until the arc length is less than 0.01
while(arcLength >= 0.01) {
	// calculate the center angle of circle by foldCount
	circleCenterAngle = 360 * Math.pow(2, -foldCount);
	// calculate the arc length(arcLength = nπr / 180)
	arcLength = circleCenterAngle * Math.PI * r / 180.0;
	// increases the foldCount
	++foldCount;
}

console.log('foldCount', foldCount)

Run it and then we can get the result foldCount 15. Is it expected?

14 folds.
Step-by-step explanation:
1 fold will cut the 8 feet to 4 feet.

2 feet

1 feet

6 inch

3 inch

.
.
.

0.005 inch which is less than 0.01 inch


Support for Proxmox provider

It would be great if Terraformer can support the proxmox provider, see https://registry.terraform.io/providers/Telmate/proxmox/latest

I still believe this would be a nice addition. I just haven't had the time to look into coding it myself.

Again, I still believe this would be a nice addition. I still just haven't had the time to look into coding it myself.

This is still relevant, I think!

Bumping this to see any plan for this support!

Yes, it would be great to see support for Proxmox!


Luminosity calculator

What are you changing?
https://guardian.github.io/csnx/apps/luminosity-calculator/
Why?

closing as the monorepo infrastructure is still in active development and not ready for an app to land in it yet


Extend the template lookup path when rendering

Hello,
this is a feature request and I want to know the community advice before moving to a PR and/or help me figure out if my use of Helm is reasonable:

We use Helm to template 10+ Charts for our infrastructure and in each of these Charts, we reuse some common parts with some slight configuration in each case: labels are normalised and applied to all objects, some specific CRDs are shared among most of the Charts, and we also share parts of the configmap.
to achieve an efficient re-use, we include to grab these small templates and we use symlinking (this is the ugly part) to share the same templates across several Charts

It work pretty well, but rather cumbersome and not very nice to maintain.
So I wanted to know if his would be interesting to provide a way to extend the templates load path so that we could include files which are actually outside the Chart base path. I was thinking of an additional flag that would extend the Template load path:
# Render the chart but also provide access to templates stored in k8s/templates
$ helm template \
   --name=myapp \
   --namespace=default
    -f k8s/common.yaml
    -f datacenter-config/datacenter1/helm/common.yaml
    -f datacenter-config/datacenter1/helm/myapp/values.yaml
    -i k8s/templates
    k8s/myapp

Let me know what you think of this.

Oh that's so interesting! If I'm understanding this correctly, templates in k8s/templates passed in via the -i flag contains libraries of common template libraries you use across charts which makes lots of sense. I'll let @prydonius and @technosophos weigh in here because they did quite a bit of work a while back around patterns from common templates used across charts.
I think this feature could be really useful. Generally speaking, the only issue I see here has to do with creating a complete chart artifact that can be shared and reused. How do you deal with these common templates in charts that are shared and passed around?
If you're passing in these common templates from the command line, then your actual chart may be incomplete and un-installable on its own. Would that be a correct assumption here in your case? Even if that's true though, I don't know if we'd want to block this kind of functionality/ability for an end users in the helm template command.
Would it make more sense to have these common templates (k8s/templates) in the chart as a subchart? I believe that's the direction @prydonius and @technosophos were headed in a while back.

Thanks for your quick feedback @michelleN !
Building a complete chart artifact it this case seems more complicated, indeed and using subchart could maybe be a nice in between solution.
I have been able to reproduce the intended behaviour using a mostly empty subchart and a requirements which has the form:
dependencies:
- name: commons
  version: 0.1.0
  repository: "file://../commons"

So far, this seems to do the trick for locally shared includes. Of course, if you want to push that in a Repository, you'll have to use the correct URL and version for these common includes.
If @prydonius and @technosophos think the subchart solutions is the recommended one, this could maybe be added to the official doc as a nice way to share templates across Charts.

closing as inactive.


When converting load [copy] -> load_borrow, do not insert end_borrow if the block insert point is a dead end block.

This is important to do since otherwise, we may be implicitly reducing the
lifetime of a value which we can not do yet since we do not require all interior
pointer instructions to be guarded by borrows (yet). Once that constraint is in
place, we will not have this problem.
Consider a situation where one has a @owned switch_enum on an
indirect box case which is post-dominated by an unreachable that we want
to convert to @guaranteed:
  enum MyEnum {
    indirect case FirstCase(Int)
    ...
  }

  bb0(%in_guaranteed_addr : $*MyEnum):
    ...
    %0 = load [copy] %in_guaranteed_addr : $*MyEnum
    switch_enum %0 : $MyEnum, case #MyEnum.FirstCase: bb1, ...

  bb1(%1 : @owned ${ var Int }):
    %2 = project_box %1 : ${ var Int }, 0
    %3 = load [trivial] %2 : $*Int
    apply %log(%3) : $@convention(thin) (Int) -> ()
    unreachable

In this case, we will not have a destroy_value on the box, but we may
have a project_box on the box. This is ok since we are going to leak the
value. But since we are using all consuming uses to determine the
lifetime, we will want to insert an end_borrow at the head of the
switch_enum dest block like follows:
  bb0(%in_guaranteed_addr : $*MyEnum):
    ...
    %0 = load_borrow %in_guaranteed_addr : $*MyEnum
    switch_enum %0 : $MyEnum, case #MyEnum.FirstCase: bb1, ...

  bb1(%1 : @guaranteed ${ var Int }):
    end_borrow %1 : ${ var Int }
    %2 = project_box %1 : ${ var Int }, 0
    %3 = load [trivial] %2 : $*Int
    apply %log(%3) : $@convention(thin) (Int) -> ()
    unreachable

which would violate ownership invariants. Instead, we need to realize
that %1 is dominated by a dead end block so we may not have a
destroy_value upon it meaning we should just not insert the end_borrow
here. If we have a destroy_value upon it (since we did not get rid of a
destroy_value), then we will still get rid of the destroy_value if we are
going to optimize this, so we are still correct.
rdar://68096662

@swift-ci test

Build failed
Swift Test Linux Platform
Git Sha - 0e05b51988366164d1b6d4825dcb2f9499bfaa03

@swift-ci test linux platform

@swift-ci clean test linux platform


Design for permission groups

Redesign permission management- from now on we want to create user roles, assign particular permissions to these roles. Instead of assigning permisions directly to users, we will put them into permission groups.

@maarcingebala
Review on designs. Waiting for feedback


Question: how Karpenter play with the default PodTopologySpread part of KubeSchedulerConfiguration?

I was wondering what karpenter would do by default in terms of spreading pods across nodes and availability zones?

is there any default built in karpenter in case a pod did not define topologySpreadConstraints?
does it honor the built in constraints of the scheduler?
in case the default was customized, would karpenter know and honor the new default?

related:
CA related issue

please remove the stale state

Bump.
We have PodTopologySpread on individual Deployment resources, and Karpenter acts on it. The cluster default is on.
defaultConstraints:
  - maxSkew: 3
    topologyKey: "kubernetes.io/hostname"
    whenUnsatisfiable: ScheduleAnyway
  - maxSkew: 5
    topologyKey: "topology.kubernetes.io/zone"
    whenUnsatisfiable: ScheduleAnyway

We didn't see spreading behavior before explicitly setting it on deployments, so I guess - Karpenter does not respect cluster level pod spreading.


Pull character descriptions from Wikipedia/Wiki of Ice and Fire

This will cut down on the amount of copy we need to generate (#11)

For GOT characters there are three options for where to pull the descriptions from:

Individual Wikipedia pages (when they exist).  Problem: many pages start with "___ is a character in Game of Thrones."
List of A Song of Ice and Fire characters Wikipedia page.  Problem: not sure if it's possible to do this using the MediaWiki API.
A Wiki of Ice and Fire pages.  Problem: some pages have poorly formatted hatnotes, and these show up in the descriptions.

Here is a rough outline of how you can get the descriptions from the list of characters Wikipedia page as follows:

Use the MediaWiki API to get a list of sections and their indices, i.e. https://en.wikipedia.org/w/api.php?action=parse&format=json&page=List_of_A_Song_of_Ice_and_Fire_characters&prop=sections.
Use it to build a dictionary of all the characters' indices.
When a character's name is clicked, look up their index in the dictionary and use the MediaWiki API to retrieve the corresponding section, e.g. https://en.wikipedia.org/w/api.php?action=parse&format=json&page=List_of_A_Song_of_Ice_and_Fire_characters&prop=text&section=12.
Use JavaScript to isolate the relevant HTML, e.g. the first <p>...</p> block.
You can use textContent to get rid of any tags within the isolated HTML.

Character info is not showing up when I view the page on the server.


Update RxMqttClinetExtensions.cs

Only use one instance of TopcFilter

Codecov Report

Merging #13 (30a36ff) into main (c210461) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main       #13   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            7         7
  Lines          256       266   +10
=========================================
+ Hits           256       266   +10

Impacted Files
Coverage Δ

....External.RxMQTT.Client/RxMqttPublishExtensions.cs
100.00% <ø> (ø)

...ensions.External.RxMQTT.Client/MessageTransform.cs
100.00% <100.00%> (ø)

...ns.External.RxMQTT.Client/MqttFactoryExtensions.cs
100.00% <100.00%> (ø)

....Extensions.External.RxMQTT.Client/RxMqttClient.cs
100.00% <100.00%> (ø)

...s.External.RxMQTT.Client/RxMqttClientExtensions.cs
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c210461...30a36ff. Read the comment docs.


Add Firecracker vsock client code

The recent vsock changes in Firecracker v0.18.0 result in some additional requirements on top of the previously-used standard vsock interface (for which there are already 3rd party libraries), see their docs and this PR for example.
Given there is now Firecracker-specific logic to interfacing with vsock, it would make sense for the Go SDK to contain that code rather than have all consumers of the Go SDK be forced to reimplement it themselves.

@sipsma Is this still actual for us? Can I work on this one?

@Zyqsempai this is still something we'd like to do, though I'd caution that it will require a lot of cross-repo changes/coordination (since we'd basically just be migrating pieces of this firecracker-containerd code to this repo: https://github.com/firecracker-microvm/firecracker-containerd/blob/master/internal/vm/vsock.go ) and I'd suspect the hardest part by far would just be finding a way to write a test for the code in this repo.
The problem with the testing part is that this can really only be verified with an integ test that creates a real VM with some custom process running on the inside that uses the VM-guest-side of the vsock client implementation. That's easy to do in firecracker-containerd because we already have an agent process running in the VM, but we don't really have anything (to my knowledge) setup in this firecracker-go-sdk repo to enable that sort of test. It'd require some thought/design and potentially changes to how the CI works in this repo.
Overall, my opinion is that this wouldn't be the best issue for an external contributor unfortunately. There's some other issues in this repo I can point you to if interested that might be more workable (such as this one).

@sipsma Thank you for letting me know, after your explanation, I am more than agree with you, actually, I didn't thought it's such a global change, I will take a look into other issues, thank you!

Resolved by #380 finally!


ocamlPackages.tezos-*: 8.3 -> 10.2

Motivation for this change
This updates all the tezos-packages to the latest release in preparation of the updated LIGO version that is currently being reviewed.
This PR includes some new needed packages to build tezos.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Thank you @vbgl for the fixes, I have committed and squashed them into the getopt commit

Yes. For instance, updating json-data-encoding breaks some libraries. Are these breakages fixed by other commits in your PR? I don’t know (and I prefer not to have to figure this out by myself).

@GrahamcOfBorg build ocaml-ng.ocamlPackages_4_10.tezos-protocol-demo-noops


KAFKA-10502:TimestampRouter may occur  threadlocal leak

Threadlocal  may can not set null,because it may create a memory leak, you can see the link:
https://stackoverflow.com/questions/12424838/threadlocal-remove, so I think weather we can invoke thread local.remove instead it
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@hachikuji  would  you help to review this pr.

Reading on the SO thread I think this fix makes sense. Merging to trunk now.

Reading on the SO thread I think this fix makes sense. Merging to trunk now.

thanks


Slow compiler performance in Monad Transformers sample with Visual Studio, and can't give hints.

When I try Monad Tranformers sample with Visual Studio 2015 along with F# PowerTools, I noticed that the CPU peaks when IDE sits idle, probably due to type inference engine and syntax colorization is delayed for few seconds.
I am not sure if this issue is related to F# compiler , VisualFSharp or FSharpPlus. Can you suggest me any workarounds like putting a hint to make IDE happy for better performance ?
Also when I explicitly give type like below:
let getValidPassword : ErrorT<Async<_>> =
monad {
    let! s = liftAsync getLine
    if isValid s then return s
    else return! throw -1
}
</ catch /> (fun s -> throw ("The error was: " + decodeError s))

Notice Error<Async<_>>
`I get errors like below :

Could not resolve the ambiguity inherent in the use of the operator 'Bind' at or near this program point. Consider using type annotations to resolve the ambiguity.
Could not resolve the ambiguity inherent in the use of the operator 'LiftAsync' at or near this program point. Consider using type annotations to resolve the ambiguity.
Type constraint mismatch when applying the default type 'obj' for a type inference variable. No overloads match for method 'LiftAsync'. The available overloads are shown below (or in the Error List window). Consider adding further type constraints

Why is that so ?

Thanks.
There is a known issue in the F# compiler which makes overload resolution very slow in cases like this.
Fortunately this was solved in F# 4.1 so if you want to play with this at a decent compiler speed will need to wait for Visual Studio RC2 or download the compiler from github.
Regarding the type annotation yes, they are tricky. That's most likely something that can be improved in the F# compiler as well but the current status is that the less you tell the smarter they are, otherwise you have to go to full type annotations:
let getValidPassword : ErrorT<Async<Choice<string,string>>> =
    monad {
        let! s = lift getLine : ErrorT<Async<Choice<string,int>>>
        if isValid s then return s
        else return! (throw -1 : ErrorT<Async<Choice<string,int>>>) }
    </catch/>
        (fun s -> throw ("The error was: " + decodeError s))

let askPassword : ErrorT<Async<Choice<string,string>>> = monad {
    do! ( (lift <| putStrLn "Insert your new password:") : ErrorT<Async<Choice<unit,string>>>)
    let! value = getValidPassword : ErrorT<Async<Choice<string,string>>>
    do! lift <| putStrLn "Storing in database..." : ErrorT<Async<Choice<unit,string>>>
    return value}

But that's not a good workaround and it doesn't speed up a lot. The problem is the use of the generic code, in this sample the code is extremely generic, even more generic that the Haskell version since catch changes the type of the error.
A good workaround for this is not to use generic code, however in Monad Transformers it's difficult not to use generic code at all because you will need concrete functions for each combinations of monads.
Still it would be possible to create less generic code in idiomatic F# style. Something like ErrorT.catch instead of just catch indeed there are already many functions like ErrorT.map and so on but we need to add more.
When I got time I will add more less generic functions.
Finally note that Monad Transformers are really experimental though I started a project that makes heavy use of them and the compile time is not an issue when using F# 4.1.
Thanks for the report.

@OnurGumus Visual Studio RC2 is already released as an update for the original RC.
I tried it and the overall speed up is awesome.
If you have the chance to try it and report back the results would be much appreciated.
We'll need to state in the requirements for this project that F# 4.1 is highly recommended if you plan to use generic code.

@gmpl  I have tried RC with update. I admit it is better but still intellisense get stuck a bit. CPU is not constantly high but when ever I press dot it peaks for a while. So I would say you should still consider some improvements in FSharp plus if you can.

@OnurGumus I also noticed that intellisense get stuck for one or two seconds from time to time in RC2, but not just intellisense, the whole GUI is blocked.
That's a VS bug that needs to be reported, because before it wasn't like that.
Before intellisense was way slower but didn't block the GUI.
Regarding what we can do on FSharpPlus side is to add less generic functions for each module.
I will be working on that soon.
I would be interested in knowing what is your use case for the monad transformers, it would be great if you could share that information and possibly would guide the way to improve them.

@gmpl Also giving all hints to the file as you described almost fixes the issue. Currently I don't have a particular use case, but previously I attempted to use a state monad. Of course then I needed async monad as well. Thus there happened a need to compromise these workflows.
I think monad transformers fills an important gap in F# compiler. Once you start these workflows, heavily it is inevitable that you will need these transformers. So I really applaud your effort, and hoping you will make this framework better.

@OnurGumus Thanks very much for your feedback. I started this library for my personal use at the very beginning but soon I realized that it would very limited if it's not a community effort.
So, feel free to open more issues, participate in the discussions and eventually submit code and samples.
Right now there is a very important design decision coming which propose to merge FsControl here.
Apart from that there are many improvements coming, specially now with the new F# 4.1, the goal is to finally reach a stable version in 2 or 3 months.

Neah, Why not go bolder instead? I'd say this stuff should be part of the compiler. Don Sym is very open minded. Why don't you discuss this? You can start by opening a suggestion. I would vote for it.

I'm 100% sure he will disagree. Historically he was always against using static constraints for stuff other than generic math code.
I see his point, he thinks that this should be done 'the right way' by implementing Type Classes at the language level and Higher Kinds at the CLR level.
But we are merely mortals and we don't have the power to change the language and even less the CLR, so that's why we have this project which let us play with the abstractions those nice features would bring, without having to wait for years until MS Gods finally implement them. \
Not only that, the day those features are there, this library can be easily adapted to take advantage of such new constructs.
Anyway, the first step would be to have more projects adopting this library, in the sense that more projects integrate with it, more people collaborate and we can possibly move it to FsProjects, that way it's clear that it's a community effort and not just my personal project.

Not relevant to this issue but you might find this very interesting :
http://alxandr.me/2016/08/31/crazy-things-you-can-do-with-the-f-ternary-operator
See how he abused (?<-) to achieve ad hoc polymorphism. Might be handy for  fsharpplus too

Actually that's how this projects started at the very beginning.
See my old blog which  explore this technique.
Note that my post with the same examples about the ternary operator is 5 years old.
While writing about that technique I started a project which later was the inspiration for FsControl which now is part of FSharpPlus.
If you read the note on that old project, in the section UPDATE I explained there why I stopped using the ternary operator.
So, that was the very early beginning but since then this technique evolved a lot, some limitations in the F# compiler were fixed and this evolution lead to more features, like default methods, 'clean signatures' and more interestingly come up with an architecture which allows easy integration with other projects.
Now, from time to time I see blog posts like that one where people seems to 're-discover' this technique, but most of the time the readers comment that the same technique is used here and that post is not the exception if you read their comments.
Finally, if you want to see how to really abuse of the ternary operator, read my previous entries on my blog, specifically the post about functions for tuples abuses even more of this technique in order to create structures that even in Haskell are not possible to encode, unless you have dependent types.

Wow, interesting history.
By the way, Perhaps some more important is on the way, regarding the completion block
https://github.com/Microsoft/visualfsharp/pull/2105

Yes, I'm very happy of the improvements in the new Visual Studio, not just the speed ups I did, but that in conjunction with these changes you linked will create a way better experience for those wanting to contribute to this project.
I stopped adding important contributions because the developer experience was really bad, and here you need to test the code a lot, so if the compile-time is slow it can be really painful to get the code right. Same applies to intellisense.

Just wanted the add this issue still persists with the FSharp nightly releases.

@OnurGumus can you provide more information?
For instance the exact F# compiler version and can we measure the 'slowliness' somehow? Can you tell something like this code takes X milliseconds to compile?
So at least those three items will be nice to have, something like X compiler takes Y time to compile Z code.


update documentation for Medulla markdown pages

Update documentation

[ ] You've read the Contributor Guide and Code of Conduct.
[ ] You've included unit or integration tests for your change, where applicable.
[ ] You've included inline docs for your change, where applicable.
[ ] There's an open issue for the PR that you are making. If you'd like to propose a new feature or change, please open an issue to discuss the change or find an existing issue.

Summary of the changes
Adding context into documents for Medulla, updating links with relative path to fix hyperlink to other .md documents
Description

Adding new context for "what is low-code" section

Updating links to relative paths within architecture-overview.md

The hyperlinks are being returned 404
update example:

[here](dependencies/database-server)  --> [here](../dependencies/distributed-storage.md)

Update image path to display in markdown document:

![High-Level Architecture](images/concepts/high-level-architecture.png) -->
![High-Level Architecture](../../images/concepts/high-level-architecture.png)

Fixes #{186}

Medulla Issue #186

@dariuswatson Can we get a 404.html page added to the document root as a part of this?
It should just be a copy of index.html and added into the pipeline, this would fix direct links on GitHub pages. Should be done just after the build step.

Actually.... I just noticed we already do that.... GitHub pages isn't picking up the 404.html doc for some reason and I'm not entirely sure why ATM. If it's a simple fix we should try to get it added.

I found it... The pipeline needs to just move 404.html up one directory level and it should work

Ah ok, thanks @AndrewBabbitt97


Not enough empty roboport slots available

Possibly a know bug.

Related to this bug : if you deploy a roboport in this area. The robot's go into the roboport (which then get deleted).

Need more info. How does this case occur? Whats reproduction steps? Can I have log file and save?


Lineseries: Uncaught Error: Value is null

I am having a problem where it is returning a null value, this is the data Im using. I dont see why its a problem, I have also tried converting the dateformat.
let temp_data = [
        {time:<PHONE_NUMBER>000, value: 19510},
        {time:<PHONE_NUMBER>000, value: 21850},
        {time:<PHONE_NUMBER>000, value: 18500},
        {time:<PHONE_NUMBER>000, value: 22794},
        {time:<PHONE_NUMBER>000, value: 18120},
        {time:<PHONE_NUMBER>000, value: 20442},
        {time:<PHONE_NUMBER>000, value: 18156},
        {time:<PHONE_NUMBER>000, value: 15459},
        {time:<PHONE_NUMBER>000, value: 18350},
        {time:<PHONE_NUMBER>000, value: 21466},
        {time:<PHONE_NUMBER>000, value: 16230},
        {time:<PHONE_NUMBER>000, value: 24284},
        {time:<PHONE_NUMBER>000, value: 21451},
        {time:<PHONE_NUMBER>000, value: 25262},
        {time:<PHONE_NUMBER>000, value: 21325}
    ]
<Chart
            {...options}
            >
<LineSeries
                        data={temp_data}
                        priceScaleId="right"
                        color="rgba(4, 111, 232, 1)"
                        lineWidth={2}
                        />

        </Chart>

Can you create a minimal reproduction in the REPL: https://svelte.dev/repl ?

I ended up fixing it by converting the time data into the y-m-d format instead of milliseconds


Ability to switch networks from a NetworkId

Is your feature request related to a problem? Please describe. Currently, the network can be overridden through selector.options.network = getNetworkPreset(network); (UT if that's functional or if any missing side effects) but getNetworkPreset is not exposed from the library.
Describe the solution you'd like Would be nice to have a helper function to update the network of the wallet selector using a NetworkId to avoid having to copy code (and assume no side effects of modifying options).
Might be worthwhile to consider #403 with this, as the changes are somewhat connected (although this affects the selector type where the other is relating to the modal).
Describe alternatives you've considered

This could possibly just be done by replacing the wallet selector instance, but unsure if there are unintended side effects from doing this. If this is the intended flow, feel free to close this issue

Acceptance criteria Network can be changed through a NetworkId once the wallet selector is already initialized
Additional context

Currently in the Wallet Selector when we call setupWalletSelector the network can be set in two ways:
One by providing only a network id either testnet or mainnet by doing this we check internally for the presets for each of these 2 networks depending on which one has been provided.
So in this method here https://github.com/near/wallet-selector/blob/main/packages/core/src/lib/options.ts#L28
if the networkId has been provided as a string of testnet or mainnet we return the presets as far as we know these are the only official Networks we used to have betanet too but we were asked to remove it.
const _selector = await setupWalletSelector({
  network: "testnet"
  modules: [],
});

But a user can provide their own configurations as:
const _selector = await setupWalletSelector({
  network: {
    networkId: "customnet",
    nodeUrl: "https://rpc.custom-rpc.com",
    helperUrl: "https://helper.custom-helper.com",
    explorerUrl: "https://custom-explorer.com",
    indexerUrl: "https://api.custom-indexer.com",
  },
  modules: [],
});

This is documented here:
https://github.com/near/wallet-selector/tree/main/packages/core#options
At the moment it's not possible to change the network after Wallet Selector has been initialized.
Network is not a "global state" in wallet selector we resolve it during setup based on what was passed to the network key and pass it to the modules(wallets) as with the  options param.
What would happen when you are signed in with a wallet for example in testnet network with guest-book.testnet and suddenly change network to mainnet or a custom one?

Hi @austinabell , can you share more info on the use case regarding this or possibly answer the question above, so we can leave this issue open? Thanks!

Hey, @austinabell I will close this issue for now, but we can reopen it if necessary. Thanks!

Sorry for the slow response!

What would happen when you are signed in with a wallet for example in testnet network with guest-book.testnet and suddenly change network to mainnet or a custom one?

Ideally, the in-memory data will be kept, would it be possible to keep a mapping of networkId to what data is currently kept for wallet sessions. Seems like something that could just be a method on wallet implementations and they can handle it however they want.
Basically, the ability to not be able to update the selector at runtime and there being a lot of hidden side-effects that are tough to reason about feels bad.
Probably best to loop in @calebjacob or @charleslavon as they have much more up to date context. It's been a while since I've had to interact with these

+1 - the ability to swap between testnet/mainnet as needed is pretty key within our app.
It seems like rather than providing options to the wallet modules as a getter rather than caching the options provided in WalletBehaviorFactory is a promising approach - so that the options can be retrieved from the getter on an "as needed" basis (when signAndSend'ing).

Then the options can be updated via selector.options.network = newNetwork and picked up by the wallets when needed

+1 - the ability to swap between testnet/mainnet as needed is pretty key within our app.

@jessupjn I would like to know how did you handle switching networks in your app before using Wallet Selector?

Then the options can be updated via selector.options.network = newNetwork and picked up by the wallets when needed

As mentioned above at the moment there is no way to "properly" switch the network in Wallet Selector.
Just overriding the network selector.options.network is not enough because there's no event being emitted by doing so.

The provider service we pass to the modules would not be updated this way.
The wallet connection when you first signed in would not be updated.
The network on the wallet will not be updated to the one you're changing in the wallet selector.

Switching the network dynamically has proven to be challenging for several reasons:

There would be no synchronization between the dApp's and the wallet's network.
The mentioned steps on the comment above https://github.com/near/wallet-selector/issues/448#issuecomment-1385830055
The related work has been stopped https://github.com/near/wallet-selector/pull/552 because it makes the use of wallet-selector way too complex by managing multiple instances.

We are closing this issue for now based on the above reasons.


Add Electrumx Broadcast TX to bch-js

This task depends on this previous task being completed first.
The scope of this task is to add an Electrumx.broadcast(tx) method to the Electrumx class in bch-js.
You should submit a PR to edit the electrumx.js file in bch-js to add this new broadcast method. Follow the same patterns in that file that is used for the utxo endpoint. It should only accept and broadcast one tx at a time.
Acceptance Criteria

Add a broadcast method to the Electrumx class in the electrumx.js file.
Add api-doc documentation and examples to the method in that file as well.
Add unit tests with mocks.

You should be able to duplicate the patterns for the existing endpoints.

250 PSF tokens rewarded. TXID:
e97b7aab9065fea43c143da3e2f87c5411ac3f9de628b4b3a6504957bacb81df
Issue resolved by #30


Add support for RTC

Added

Support NexRtc usage with nextion_rtc

Fixed

Add missing documentation for upload example to examples README

LGTMyself


EAS build fastlane fails with associatedDomains

Build/Submit details page URL
No response
Summary
After I added the associatedDomains value to the app.config.js he EAS build fails on the "Run fastlane" step with the Error 65. Without associatedDomains all works well.
Managed or bare?
Managed
Environment
expo-env-info 1.0.5 environment info:
System:
OS: macOS 13.2
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 19.5.0 - /opt/homebrew/bin/node
Yarn: 1.22.19 - /opt/homebrew/bin/yarn
npm: 9.3.1 - /opt/homebrew/bin/npm
Watchman: 2<IP_ADDRESS> - /opt/homebrew/bin/watchman
SDKs:
iOS SDK:
Platforms: DriverKit 22.2, iOS 16.2, macOS 13.1, tvOS 16.1, watchOS 9.1
IDEs:
Xcode: 14.2/14C18 - /usr/bin/xcodebuild
npmGlobalPackages:
expo-cli: 6.3.0
Expo Workflow: managed
expo-cli doctor
🎉 Didn't find any issues with the project!
Error output
No response
Reproducible demo or steps to reproduce from a blank project
This is the "ios" section of my app.config.js:
    ios: {
      supportsTablet: true,
      bundleIdentifier: "my.bundle.identifier",
      usesAppleSignIn: true,
      bitcode: "Debug",
      associatedDomains: ["applinks:my-domain.com"],
      googleServicesFile: "./GoogleService-Info.plist",
    },

The error that I am getting in the "Run fastlane" step is very generic:
...
| xcodebuild_command                             | xcodebuild                                                                                |
| skip_package_dependencies_resolution           | false                                                                                |
| disable_package_automatic_updates              | false                                                                                |
| use_system_scm                                 | false                                                                                |
| xcode_path                                     | /Applications/Xcode.app                                                                                |
+------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------+
$ set -o pipefail && xcodebuild -workspace ./MyProject.xcworkspace -scheme MyProject -configuration Release -destination 'generic/platform=iOS' -archivePath /Users/expo/Library/Developer/Xcode/Archives/2023-02-10/MyProject\ 2023-02-10\ 13.30.03.xcarchive archive | tee /Users/expo/workingdir/logs/MyProject-MyProject.log > /dev/null
    Run script build phase 'Start Packager' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'MyProject' from project 'MyProject')
    Run script build phase 'Bundle React Native code and images' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'MyProject' from project 'MyProject')
    Run script build phase '[CP-User] Generate app.config for prebuilt Constants.manifest' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'EXConstants' from project 'Pods')
    Run script build phase '[CP-User] Generate app.manifest for expo-updates' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'EXUpdates' from project 'Pods')
▸ ** ARCHIVE FAILED **
** ARCHIVE FAILED **
Exit status: 65
+-------------+-------------------------+
|           Build environment           |
+-------------+-------------------------+
| xcode_path  | /Applications/Xcode.app |
| gym_version | 2.210.0                 |
| sdk         | iPhoneOS16.0.sdk        |
+-------------+-------------------------+
Looks like fastlane ran into a build/archive error with your project
It's hard to tell what's causing the error, so we wrote some guides on how
to troubleshoot build and signing issues: https://docs.fastlane.tools/codesigning/getting-started/
Before submitting an issue on GitHub, please follow the guide above and make
sure your project is set up correctly.
fastlane uses `xcodebuild` commands to generate your binary, you can see the
the full commands printed out in yellow in the above log.
Make sure to inspect the output above, as usually you'll find more error information there
[stderr] [!] Error building the application - see the log above
Error: Fastlane build failed with unknown error. See logs for the "Run fastlane" and "Xcode Logs" phases for more information.
Fastlane errors in most cases are not printed at the end of the output, so you may not find any useful information in the last lines of output when looking for an error message.

I got similar error logs.
In my case,
I added associatedDomains in app.json,  and execute " eas build -p ios " successfully.
    "ios": {
      "supportsTablet": true,
      "bundleIdentifier": "com.sophiadeng.AwesomeProject",
      "associatedDomains": ["applinks:expotest.onelink.me"]
    },

Then, I need to add Apple Login
therefore I execute " yarn add expo-apple-authentication "
and add reference config in app.json plugins:
        "plugins": [
            ["react-native-appsflyer", { "shouldUseStrictMode": false }],
            "expo-apple-authentication"
        ]

After execute "eas build -p ios"
I got "ARCHIVE FAILED" eror like the following:
$ set -o pipefail && xcodebuild -workspace ./ccappv1.xcworkspace -scheme ccappv1 -configuration Release -destination 'generic/platform=iOS' -archivePath /Users/expo/Library/Developer/Xcode/Archives/2023-02-10/ccappv1\ 2023-02-10\ 21.33.23.xcarchive archive | tee /Users/expo/workingdir/logs/ccappv1-ccappv1.log > /dev/null
    Run script build phase '[CP-User] Generate app.manifest for expo-updates' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'EXUpdates' from project 'Pods')
    Run script build phase '[CP-User] Generate app.config for prebuilt Constants.manifest' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'EXConstants' from project 'Pods')
    Run script build phase 'Start Packager' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'ccappv1' from project 'ccappv1')
    Run script build phase 'Bundle React Native code and images' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'ccappv1' from project 'ccappv1')
▸ ** ARCHIVE FAILED **
** ARCHIVE FAILED **
Exit status: 65
+-------------+-------------------------+
|           Build environment           |
+-------------+-------------------------+
| xcode_path  | /Applications/Xcode.app |
| gym_version | 2.210.0                 |
| sdk         | iPhoneOS16.0.sdk        |
+-------------+-------------------------+
Looks like fastlane ran into a build/archive error with your project
It's hard to tell what's causing the error, so we wrote some guides on how
to troubleshoot build and signing issues: https://docs.fastlane.tools/codesigning/getting-started/
Before submitting an issue on GitHub, please follow the guide above and make
sure your project is set up correctly.
fastlane uses `xcodebuild` commands to generate your binary, you can see the
the full commands printed out in yellow in the above log.
Make sure to inspect the output above, as usually you'll find more error information there
[stderr] [!] Error building the application - see the log above
Error: Fastlane build failed with unknown error. See logs for the "Run fastlane" and "Xcode Logs" phases for more information.
Fastlane errors in most cases are not printed at the end of the output, so you may not find any useful information in the last lines of output when looking for an error message.

Does the associatedDomains setting conflict with other plugins ( like Apple Login expo-apple-authentication ) ?

Can you please share:

the reproducible example of the issue
build ids / URLs

@gpawlik glad that worked for you. However, I don't think what you're saying to simply run eas build ... locally is a general solution. I'm running eas build locally, not in a CI, and am experiencing this issue. Until we have more reliable fix steps that resolve this for everyone, I suggest we re-open this issue.
My symptoms
Very similar to what others described, but documenting here for clarity. By just removing the expo.ios.associatedDomains key I am getting a successful build, but when I add that back with value ['applinks:*.mydomain.com'] I get this error just like others report in the Run fastlane step in the expo.dev console:
$ set -o pipefail && xcodebuild -workspace ./Mental.xcworkspace -scheme Mental -configuration Release -destination 'generic/platform=iOS' -archivePath /Users/expo/Library/Developer/Xcode/Archives/2023-02-19/Mental\ 2023-02-19\ 21.09.58.xcarchive archive | tee /Users/expo/workingdir/logs/Mental-Mental.log > /dev/null

    Run script build phase '[CP-User] Generate app.manifest for expo-updates' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'EXUpdates' from project 'Pods')

    Run script build phase '[CP-User] Generate app.config for prebuilt Constants.manifest' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'EXConstants' from project 'Pods')

    Run script build phase 'Start Packager' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'Mental' from project 'Mental')

    Run script build phase 'Bundle React Native code and images' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'Mental' from project 'Mental')

    Run script build phase 'Upload Debug Symbols to Sentry' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'Mental' from project 'Mental')

▸ ** ARCHIVE FAILED **

** ARCHIVE FAILED **

Exit status: 65

+-------------+-------------------------+

|           Build environment           |

+-------------+-------------------------+

| xcode_path  | /Applications/Xcode.app |

| gym_version | 2.210.0                 |

| sdk         | iPhoneOS16.0.sdk        |

+-------------+-------------------------+

Looks like fastlane ran into a build/archive error with your project

It's hard to tell what's causing the error, so we wrote some guides on how

to troubleshoot build and signing issues: https://docs.fastlane.tools/codesigning/getting-started/

Before submitting an issue on GitHub, please follow the guide above and make

sure your project is set up correctly.

fastlane uses `xcodebuild` commands to generate your binary, you can see the

the full commands printed out in yellow in the above log.

Make sure to inspect the output above, as usually you'll find more error information there

@tsheaff are you sure when you run the eas build locally you are being logged in to the AppStore correctly? When adding the associatedDomains eas needs AppStore credentials to regenerate the provisional profiles to add the extra capability. The information about adding the capabilities should be also visible in the output of the eas build command.

Yup you're spot on. The reason I was consistently seeing this is that I was using --non-interactive and it wasn't logging me into the app store. Thanks @gpawlik makes sense to keep this closed.
For posterity, anyone experiencing this while running eas build locally should turn off --non-interactive

We have the same problem.
I'm having trouble with the --non-intaractive option when building with CI. :sob:

Removing --non-interactive did the trick for me 🥳


Update id_root-user.md

Grammatical changes, merely to make the content clearer.
I assumed the docs were wrong in claiming that deactivated keys do not count towards a limit, but upon looking to fix them I realised they were correct, however when skimmed over the grammar makes it easy to assume they do not count. The use of 'and' instead of a negative makes it sound like the effects of deactivating have changed their effect on the key limit.
I would have ignored this if re-reading the second time I had noticed the true meaning. However, others may also be skimming over and making the same assumption as me.
Issue:
Grammatical clarity could be used to stop people from misinterpreting the meaning.
Description of changes:
Changing a conjunctive word from 'and' to 'however' to more easily make clear that the first half of the sentence is a change while the second is not and the key limit is unaffected, despite the functionality changing when a key is disabled. Also changed 'do' to 'still' to further reiterate that point.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Thank you for your contribution.


DuesPackageExpiration job has incorrect description on save

It always says expiration despite being called on save in addition to on expiration.

It says sync now


Widget with SVG

I was trying to create a widget with the purpose of indicating the center of the map, always fixed with some transparency, so that the user can see underneath.
Is there a way to render a widget loading the content from an svg? I was trying to refer to the documentation and examples, but at this point I'm not able to create a custom render for a widget.
Is it Widgets my best approach to this problem?
Thanks

Sorry for the lack of info, I was really trying to validate if widgets were the best approach.
I'm currently using Mapsui for Xamarin (1.4.7), with Skia renderer.

What you want is implemented in Mapsui 1.4.8 as CenterCross widget (see here for common implementation and here respectively here for the renderers). The only difference is, that this widget only draws a simple cross in the center of the Mapsui view. But it should be easy to expand this widget, so that any SVG image could be drawn instead of the cross.
Btw. saw, that the comment for the widget is completely wrong. It is copied from the scale bar widget :D

Thanks @charlenni, I have already been able to use this widget on the map, I will now extend it to be able to change the visual part of it, I'm going to the SVG image.
Thanks for the help.

@charlenni There is a way to add my custom renderer to the WidgetRenderer in v1.4.8?
I see that in master branch the WidgetRenderer  loads the renderers by type, but I'm not seeing how I can in v1.4.8 add my custom renderer.

You couldn't do this with 1.4.8. In this version, the widget renderers are hard coded. You have to change Mapsui. You must make a PR for this.
With version 2.0 of Mapsui you could create your own widget, which than could have its own renderer.

Yes that's what I thought, I'll probably wait for version 2.0.
Thanks @charlenni


scale factor for integrators

I don't see a way to add a scale factor for integrators when they are added to a bilinear form. Am I missing something?
If A and B are BilinearFormIntegrators, I'd like to form the composite operation alpha A + beta B, where alpha and beta are doubles.
Note that my BilinearFormIntegrators already have spatially varying Coefficients so what I really want is something like alpha A(f(x)) + beta B(g(x)) where A and B are BilinearFormIntegrators and f(x) and g(x) are coefficients, and alpha and beta are just doubles.

Hi, Dan,
No, I don't think you're missing something.  I've often thought this would be convenient but it does not currently exist.  The way I've done this in the past is to use the TransformedCoefficient:
double prodFunc(double a, double b) { return a * b; }
ConstantCoefficient alphaCoef(alpha);
TransformedCoefficient alphafCoef(alphaCoef, fCoef, prodFunc);
Best wishes,
Mark

Another option could be to extend class SumIntegrator with optional scaling constants.

Ah OK it looks like TransformedCoefficient will meet my immediate needs.

Hi @mlstowell ,
If one is VectorConstantCoefficient, another is ConstantCoefficient, how to form a TransformedCoefficient. See below in detail.
double Plus(double a, double b)
{
    return a + b;
}
double Product(double a, double b)
{
    return a * b;
}
int main()
{
    ConstantCoefficient one(1.0);
    ConstantCoefficient two(2.0);
    TransformedCoefficient one_plus_two(&one, &two, Plus);

    double* data = new double [2] {3.0, 3.0};
    Vector three(data, 2);
    VectorConstantCoefficient three_coeff(three);
    TransformedCoefficient two_product_two(&two, &two, Product); // OK
//    TransformedCoefficient two_product_three(&two, &three_coeff, Product); // compile error

    delete [] data;
}


RABSW-970: Process directives individually

This commit changes the layout of the workflow controller to allow finer grained control of
which directives are processed, and how the success and failure of that directive is reported
in the workflow. It changes the "handler" functions to process a single directive specified
by its index in the workflow. This is different from before since the "handler" functions would
process all the directives in the workflow before marking them as successful.
The handler functions were changed to have a separate "start" and "finish" handler for each
workflow state (e.g., startProposalState and finishProposalState). This makes it easy to code
for adding parallelism when there are multiple directives. The "start" function creates all the
child objects, and the "finish" function waits for the child resource to become ready.
Which directives to process was standardized. Before we were doing a mixture of parsing the directive
list, walking the directive breakdowns, and looking at the driver status array in the workflow.
Everything is now based on the information in the driver status array of the workflow. This has
all the information of which directives are interested in which workflow states. It also allows us
to skip over directives that have already completed the current state.
Signed-off-by: Matt Richerson<EMAIL_ADDRESS>

Excellent refactor - thanks for doing this

I'm unclear on how destroy_persistent progresses through this.  Do your changes prevent it from completing the proposal state?  Is it supposed to progress through each state?

I'm unclear on how destroy_persistent progresses through this. Do your changes prevent it from completing the proposal state? Is it supposed to progress through each state?

I'm not sure I follow your question. destroy_persistent only registers for the proposal state and the teardown state. The proposal state just goes through the validation to make sure that there aren't other #DWs other that destroy_persistent. (I think it would be nice to move all that verification code from the proposal state to a validating web hook). Teardown state is where the real work happens to delete the persistentStorageInstance.

Did this require the DWS PR https://github.com/HewlettPackard/dws/pull/18 ?

Did this require the DWS PR HewlettPackard/dws#18 ?

Yeah, I forgot to do that one first. I'll update this repo with another PR to vendor DWS from master


Google Calendar universal dark mode not working

I updated Ferdi from 5.3.3 to 5.4.0 beta 4 in order to have the universal dark mode. It's not working with google calendar.
In another computer I installed 5.4.0 beta 4 without any previous version installed and the universal dark mode worked fine with calendar, so it's seems to be something caused by the previous version.
I tried reinstalling, removing the service and add it again, logout and login and nothing fixed it.
Maybe there is a way to remove all cache data so reinstalling Ferdi is like installing in a fresh computer.

You could try deleting the Ferdifolder in %appdata% - this will delete all caches and other data.
Could you please also check that dark mode is enabled both in Ferdi but also the the individual service?

That fixed the issue. This is what I did:

Uninstalled Ferdi
I'm on Linux so instead of going to %appdata% I removed the folder Ferdi located at: /home/[*user*]/.config/.
Installed Ferdi again
Enabled dark mode
Closed Ferdi and opened again
Removed and added again the Google Calendar service and then it worked

New issue with calendar and universal dark mode: In the computer that always worked now suddenlty stopped working, I see white colors again, this computer never had an older version installed, I only had Franz intalled. The only thing that changed when stopped working was in a different place (it's my notebook)

The "Fixing bugs" screen is only the normal loading screen Ferdi is using - the text displayed has nothing to do with what its actually doing.
I think this is a duplicate of #158 then: For some unknown reason the webview sometimes fails to load the recipe scripts and thus not enabling the darkmode feature.
If this error appears again, can you try just reloading Ferdi using CTRL + SHIFT + R to see if that fixes it? We have not yet found the root of this error so we can't fix it.

The "Fixing bugs" screen is only the normal loading screen Ferdi is using - the text displayed has nothing to do with what its actually doing.
I think this is a duplicate of #158 then: For some unknown reason the webview sometimes fails to load the recipe scripts and thus not enabling the darkmode feature.
If this error appears again, can you try just reloading Ferdi using CTRL + SHIFT + R to see if that fixes it? We have not yet found the root of this error so we can't fix it.

Yes, CTRL + SHIFT + R fixes the issue, I'll follow #158 and test the fix when the beta 5 is released.

Closing in favour of https://github.com/getferdi/ferdi/issues/158.


small issue / implementation detail

I forked acme-tiny a few years ago and just discovered a bug in my code.  After reviewing some code, I traced the origin back to acme-tiny and it's still present in the current version.
The issue happens in the verification section (https://github.com/diafygi/acme-tiny/blob/master/acme_tiny.py#L124-L151) and specifically in the preliminary server-side check https://github.com/diafygi/acme-tiny/blob/master/acme_tiny.py#L138-L144
If the preliminary verification fails, an exception is raised and the script aborts. This is good because it avoids the "Failed Validation" ratelimit (5 failures per account, per hostname, per hour), but somewhat bad because it leaves the authorization request in a "pending" state and subject to the "300 Pending Authorizations on your account" ratelimit.
LetsEncrypt now recycles the pending auths for 7 days - so constantly trying to validate one domain will only result in a single pending auth... but if you're iterating through many domains in a batch process, the number of pending auths will end up being cumulative and can trigger the ratelimit.
The recommended way to clear the auths is to trigger a validation of the challenge, regardless of success/failure (there's a "cancel" option for the higher level auth, but it does not seem to be recommended).
two potential ways of addressing this are:

in the early exit on line 143, log the challenge that will not trigger in line 147. This way users can address it manually if needed.
offer an option to trigger the validation as a cleanup, even though we know it's guaranteed to fail.

i'm sure there are a dozen other ways of handling this. but i think a simple comment/log would help.
a quick search online has shown many acme-tiny users dealing with pending auth limits over the years, and I think this is the reason.

Hmmm, I feel like it's a bad idea to trigger the validation on Let's Encrypt's side when you know it will fail. I'm not sure if they keep track of failures and get mad at (or ban) accounts that are spamming failures.
The cleanup sounds interesting. I don't think it should be a part of acme_tiny.py itself, but I would maybe include something in the README that links to a script you have for cleaning stuff up.

offer an option to trigger the validation as a cleanup, even though we know it's guaranteed to fail.

This should now be possible using --disable-check, which skips the self-validation step, which allows you to force yourself to fail the challenge.


Skill - LastWord

If the enemy unit doubles, this unit also doubles.

Obviously, purely judging the speed difference cannot cover all situations. (And even a none-enum pure 4? This is obviously defined by a macro).
Since there is no particularly good way to deal with it, my opinion on this skill is rejection

I'll have to close this one and reopen because of updates to FE-CLib.


Decide whether to keep comments

Already implemented but linked to Campgrounds which are not being used.

Bugs and tasks migrated to Excel.


Fixes issue #25064

The commits to be squashed when merging.

Are we happy that this doesn't attempt the subsequent attempt to use openssl_fopen in write+binary mode

Are we happy that this doesn't attempt the subsequent attempt to use openssl_fopen in write+binary mode?

I am fine with that - at least this does not degrade on security as the openssl_fopen() call does not apply restricted permissions.

@tom-cosgrove-arm could you please formally approve if you agree?

Note: when this one is merged, #25206 should be closed

@tom-cosgrove-arm could you please formally approve if you agree?

Sorry, mis-clicked

24 hours has passed since 'approval: done' was set, but as this PR has been  updated in that time the label 'approval: ready to merge' is not being automatically set.  Please review the updates and set the label manually.

Squashed, reworded commit message and merged to all the active branches. Thank you for your contribution.


[Exam] Commit hash is not visible/ is wrong last commit hash

Describe the bug

The summary showed that I had made no commit and its hash only appeared upon refresh. (Maybe related: My commit caused a build failure).
We found also a issue that the wrong "last" commit hash was displayed (the one before the last was displayed), after reload the right last commit hash was displayed
Expected behavior

Always the last commit hash before the repo lock should be shown

One issue might be: if a user is offline, the user does not receive the latest submission over websocket. Then we cannot make sure that the last submission and commit hash is shown correctly.
One way to solve this more reliably would be to load the latest submission when the user clicks on Finish for all programming exercises in the exam

@krusche If I've seen this right, the client fetches the studentExam again on submit. We could attach the latest submission for programming exercises there. But this would bloat the submitExam() call even more.

We can check if the response for this REST Call already includes the latest programming submissions.
If yes, we might just need to show it correctly on the client. If not, we could fetch it at this point from the database, if this is not too much effort

I think we could do this at this place in the code in StudentExamService

We are working on it in the branch feature/latest-programming-submission


Can no longer create branch

VSCode Version: Code - Insiders 1.10.0-insider (b2a55bd66eb60af11c60ddd61b7581538b216051, 2017-02-24T20:35:46.683Z)
OS Version: Windows_NT ia32 10.0.14393
Extensions:

Extension
Author
Version

vscode-eslint
dbaeumer
1.2.6

vscode-icons
robertohuertasm
7.3.0

Steps to Reproduce:

Click branch in bottom right
New window no longer allows to create branch

Here is what it looked like before the insider release:

Now the option is purely branch to checkout:

@bpasero Could we augment the current pick API such that I still get what the user picked? Possibly I should also be able to update the informational message, as the user types.

@joaomoreno you mean to have API to return what the user typed even if there is no matching pick entry in the list?

Yeah, corrected my typo, sorry!

Maybe this should be baked into the onDidSelectItem callback?

Makes sense, I think we can add something to the QuickPickOptions API.
/cc @jrieken on the idea of https://github.com/Microsoft/vscode/issues/21439#issuecomment-282995527

@joaomoreno You want a combination of quick pick and input box, right? Since the API promises to return one of the items (can be objects) it is tricky to just come up with an item based on invalid user input. This needs thinking...

This seems to be resolved on the build released today.

@Meowbeast we only enabled the new SCM features in the insiders release. Since you seem to be using stable, you are back to the old SCM world.

So how do you make a new branch now, isn’t it possible anymore?

There's a global command Git: Create Branch...

Anything on this. This one made it into the new stable release. Missing the workflow of just clicking the branch in the lower left and create a new one from it

It's interesting that this was marked a duplicate. I was able to create a git branch successfully from 1.10.2 (that was the third screenshot I included in my report #24315). ¯_(ツ)_/¯
Thank you for your work, in any case!!

Any idea when this one will be fixed?

It is assigned for April 2017 right there in the Milestone assignment.

Even outside of this issue, I think it would be great if this ability was added (opt-in) of course to the QuickPickOptions as suggested here https://github.com/Microsoft/vscode/issues/21439#issuecomment-283018897

I really liked it when you just click on the branch name on bottom left and start typing the branch you want to create. no longer there 😢

Gonna have to push this until we figure out a good API for it: #25140

Using 1.11.2 and have to say I really miss the click and type experience.  It is unclear from the comments above if it will be coming back.

Is it possible to bring the functionality back on a temporary basis, while the larger API issues get sorted out? Please? @jrieken @joaomoreno

Is there any update of this removed-but-everyone-like-it feature ? :)

Found a little workaround for this. 👍


CreateServerView: "Add to server browser" toggle

To address #3, plus the general user experience nightmare of having server browser options under "gameplay modifiers", I want to rework how the host UI works.
This pull request adds a toggle to the "Create server" view directly:

There's still some stuff to think about regarding the host UI in general:

[ ] Can we set the game name here too?
[ ] Toggle join/leave notifications here or elsewhere?
[ ] Status indicator somewhere inside the MP lobby?


Fix latest commanded_eventstore_adapter version

Newcomers might be surprised that version mentioned in README is not compatible with latest commanded ;)
0.3 breaks with commanded 0.17 with runtime exception:
** (UndefinedFunctionError) function Commanded.EventStore.Adapters.EventStore.subscribe/1 is undefined or private
    (commanded_eventstore_adapter) Commanded.EventStore.Adapters.EventStore.subscribe("1")
    (commanded) lib/commanded/registration/registration.ex:149: Commanded.Aggregates.Aggregate.handle_cast/2
    (stdlib) gen_server.erl:637: :gen_server.try_dispatch/4
    (stdlib) gen_server.erl:711: :gen_server.handle_msg/6
    (stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: {:"$gen_cast", :subscribe_to_events}

Good catch, thanks for the pull request @scoiatael.


Packages and Themes does not search automatically

To search for a package / theme in the settings tab, I have to type in the search query then click (if looking for a package) the themes button, then the package button to have Atom search for a package matching that string.

This is a duplicate of https://github.com/atom/settings-view/issues/559 – please subscribe there for updats.
(Also for future reference, Atom's settings view is handled by atom/settings-view, not atom/atom.)

I made a new issue https://github.com/atom/settings-view/issues/562 since #559 got slightly changed (UX -> bug).


Emit an event on resize

If you did a scope.$emit('resized') in _resize(), it would make it easy to implement arbitrary reactions to the new size.

:+1:
I think this is really, really important.  I have some CodeMirror instances inside ui-layout, and they absolutely need to be refreshed when a resize occurs.  I'm really stumped as to how to handle them right now, without seriously customizing ui-layout.

I added the following to the end of draw():
//TODO: dispatch container resize event
var containerIds = [];
containerIds.push( beforeContainer.element.context.id );
containerIds.push( afterContainer.element.context.id );
$scope.$broadcast("resize", containerIds);

Then in my app, I added the following:
return angular.element( $window ).bind( 'resize', function() {
   $scope.someFunctionOfYoursToRespondToResizeEvent();
   return $scope.$apply();
} );

Not the best solution, but it is enough for my case.  I ended up not using the containerIds, but they might be useful for you depending on what you are doing.

For others who need this now, and don't want to modify the existing ui-layout module, I have a decent-enough hack that enables a global event simply by including this module in your applications:
angular.module('oz.components.ui-layout-events', [
	'ui.layout'
])

	.directive('uiLayout', function($timeout, $rootScope) {
		var methods = ['updateDisplay', 'toggleBefore', 'toggleAfter', 'mouseUpHandler', 'mouseMoveHandler'],
			timer;

		function fireEvent() {
			if(timer) $timeout.cancel(timer);
			timer = $timeout(function() {
				$rootScope.$broadcast('ui.layout.resize');
				timer = null;
			}, 50);
		}

		return {
			restrict: 'AE',
			require: '^uiLayout',
			link: function(scope, elem, attrs, uiLayoutCtrl) {
				angular.forEach(methods, function(method) {
					var oldFn = uiLayoutCtrl[method];
					uiLayoutCtrl[method] = function() {
						oldFn.apply(uiLayoutCtrl, arguments);
						fireEvent();
					};
				});
			}
		};
	});

What this does is $broadcast an event on $rootScope any time UI-Layout updates, toggles a section, or resizes a splitter.  It uses $timeout to debounce the messages so it only fires once every 50ms or longer if you are dragging (so you don't get slow dragging due to a bunch of restyling events).
It works by overlapping the uiLayout directive (a totally awesome feature of Angular), and wrapping the existing methods for the uiLayout controller.

Are you still working on this? It would be great.
I tried OverZealous's workaround. But it continuously fires an event, if a container is resized. However, I only need an event at the end, like $element.trigger("resizeStop");
Do you have an idea how to solve it? Thanks!

It works great in 1.1.1, thanks a million! :+1:

@darabos glad you liked it!


version.txt missing in PyPI's source distribution

Hello, first of all, thanks for this fast and good implementation of quantile random forest!
I'm using this package in CentOS on arm64, and there is no built distribution in PyPI. When I execute 'pip install quantile-forest', the building process throws the error like this:
(spark) E:\quantile-forest-1.1.2>python setup.py install
Partial import of quantile-forest during the build process.
Traceback (most recent call last):
File "E:\quantile-forest-1.1.2\setup.py", line 28, in
version = write_version_py()
File "E:\quantile-forest-1.1.2\setup.py", line 19, in write_version_py
with open(os.path.join("quantile_forest", "version.txt")) as f:
FileNotFoundError: [Errno 2] No such file or directory: 'quantile_forest\version.txt'
I think that's because the file 'version.txt' in the 'quantile-forest' folder changes to 'version.py' in PyPI's source distribution. I'll appreciated if you can fix the problem, since I need to directly install this library via PyPI. Thank you in advance!

Thanks for reporting this issue! It should now be fixed with the most recent release. Please let me know otherwise.

Thanks for your help. Now I can install the package via PyPI.


Scroll Events Not Firing

I'm trying to implement a scroll-to-fix feature for item-headers, however, I can't get scroll events to fire. My test code is pretty simple:
$(window).scroll(function() {
    console.log("working...");
}

Am I missing something? I've placed this code within onRendered, in a Lib folder, pretty much everywhere with no luck.

In Ionic the body doesn't scroll. There's a dedicated div for scrolling content that has the classes .content.overflow-scroll. You'll want to monitor the scroll event on that div.

Perfect. Everything is working great. Thanks.

@bryantpatterson How did you monitor the scrolling content?

@xpluscal This is how I am handling it in a messaging app I have running on iOS. As a hobbyist developer, I can't guarantee this is the proper way to do this, but it works. The first line scrolls to the bottom upon render, and everything from this.find on handles scrolling on each additional message, similar to the Messages app on iOS.
The uihooks portion came from Discover Meteor's Animations chapter (https://book.discovermeteor.com/chapter/animations) which is behind the paywall unfortunately.
Template.messagesIndex.onRendered(function () {
  // Auto scroll logic
  $('.content.overflow-scroll').scrollTop($('.content.overflow-scroll')[0].scrollHeight);
  this.find('#messages-list')._uihooks = {
    insertElement: function (node, next) {
     $(node).insertBefore(next);
     var scrollDiv = $('.content.overflow-scroll')[0];
     $('.content.overflow-scroll').scrollTop($('.content.overflow-scroll')[0].scrollHeight);
    }
  };
});


Add setting to allow inline completions and suggest widget to coexist

Solves https://github.com/orgs/community/discussions/9430.
Adds a new setting, allowInlineCompletionCoexist. If off, this PR has no effect. If on:

Inline completions and suggest widgets can show up independently from each other, without either of them suppressing the other.
Inline completions are accepted by tab, and suggestions are accepted by enter.

In particular, this means that even if the suggest widget is faster than the inline completion, it won't suppress the (sometimes more correct) inline completion from showing up later. It also avoids a race condition on "tab", because now tab is always inline completion and enter is always symbolic suggestion.
Some user love for this setting:

@microsoft-github-policy-service agree [company="Anysphere"]

@microsoft-github-policy-service agree company="Anysphere"

@microsoft-github-policy-service agree company="Anysphere"

Thanks for the PR! Please file an issue in this repository first, so we can properly track this feature. Thanks!

Thanks @hediet! I created an issue here: https://github.com/microsoft/vscode/issues/196305


Copy views from one project to another.

What would you like to be added?
Feature to copy all of the views from one project to another.
Why is this needed?
People create a "Project" which is really multiple projects (such as a You Tuber career). Some people would say that a project would be one video, not all videos. A project has a deadline date. A persons YouTube career is not really a project, right?
Suppose you have a Projects directory. Suppose there is a Templater file for every file which is created in the Projects folder. So each project in the projects directory will look the same. Suppose there is a "Due date" and a "Do date".
You create a project Video1. That is, you are using the directory "Projects/Video1". You create some views based on "Due date" and "Do date". You finish Video1 and move on to creating a new project Video2 in the directory "Projects/Video2". You want to create the same views, but have to do it manually. Not great! It would be great if we could "copy" all of the views from Projects/Video1 to Projects/Video2.

Would directly change tracking folder from YourProject/Video1 to YourProject/Video2 help (you can also have an original copy by duplicating a project)? Given that you are using the same properties in different videos, the migrated project should be able to track all the new notes in a similar manner. If there's no sorting / filtering / coloring rules related to the path field possibly it will work.


Feat/lens integration

Looking for some help on trying to figure this out with me. I'm using React Query and GraphQL to interact with Lens Protocol.
Lens GraphQL API Examples: https://github.com/lens-protocol/api-examples/tree/master/src/graphql
Tutorial Reference: https://github.com/jarrodwatts/lens-course

@greenealexander So I've got the default profile data fetching from Lens now. But Sign in with Lens isnt working yet, here is what I see in the console...

I'd like to make sure we have a way to check if someone has an NFT to gain access to the platform. The initial way I was going about it was via SIWE but adding Lens layer creates another step.
I believe the list below will help us achieve the same results using Lens:
https://github.com/lens-protocol/api-examples/blob/master/src/graphql/set-follow-nft.graphql
https://github.com/lens-protocol/api-examples/blob/master/src/graphql/nft-ownership-challenge.graphql
https://github.com/lens-protocol/api-examples/blob/master/src/graphql/get-users-nfts.graphql
https://github.com/lens-protocol/api-examples/blob/master/src/graphql/follower-nft-owned-token-ids.graphql

@gawainb is this ready for me to review? unsure whether you want to add other lens related updates to this PR

@greenealexander yes lets work on this together. @starhelios is back from holiday break so we can focus on the Lens integration. LFG


Question: volumeClaimTemplate

Is there a way to define a volumeClaimTemplate without the tekton-controller adding a suffix to the name? like in this pipelinerun spec
workspaces:
  - name: shared-data
    volumeClaimTemplate:
      metadata:
        name: abc
        labels:
          app: abc
      spec:
        accessModes:
        - ReadWriteOnce
        resources:
          requests:
            storage: 2Gi

Like this it will create a PVC with the name "abc-7w25332d129" , i would like a PVC with the name "abc"

@zppinho The name of the generated PVC is available in the workspaces.<workspaceName>.claim variable - does that help?
What is your use-case for a name without a suffix?
Today it is not possible to control the suffix. Not having the suffix would mean in most cases that subsequent runs of the pipeline run could fail unless the previous one has been cleaned up.

The use case would be to use this pvc as a permanent storage for the pipeline, each pipeline would have its own workspace that is deleted at the end of the run and a workspace that some tasks could use to store "whatever" in it permanently

If I understand correctly, you'd like to have two kind workspaces:

one ephemeral, which is deleted at the end of the run
one permanent, where tasks can store files that should last beyond the single pipeline

For the former, you can use volumeClaimTemplate.
For the latter, you need to pre-provision a volume (before pipeline run execution). You can then bind that volume to any pipeline run execution, the ownership won't be set on the volume, so it won't be cleaned up.

Yes im doing this, also quick question is there way i can define a volumeClaimTemplate to be deleted at the end of the pipelinerun without needing to delete the run , right now I'm using a finally task that deletes it.

It's not possible today, the PVC is only deleted when the owner PipelineRuns is deleted


ci: add steps to release oci images to aws ecr

Signed-off-by: maxgio92<EMAIL_ADDRESS>What type of PR is this?
/kind bug
Any specific area of the project related to this PR?
/area build
What this PR does / why we need it:
This PR introduces the release job steps needed to publish the OCI release images to AWS ECR.
Which issue(s) this PR fixes:
NONE
Special notes for your reviewer:
NONE

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: maxgio92
To complete the pull request process, please assign issif after the PR has been reviewed.
You can assign the PR to them by writing /assign @issif in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: Issif, maxgio92
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [Issif]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


How do you create rules for settings fields ?

VaporImage::make('Featured Backgroud Image', 'ft_number_backgroud_image')
->rules('bail', 'required', function($attribute, $value, $fail) use ($request) {
                        if (Storage::size($request->input('vaporFile')[$attribute]['key']) > 1000) {
                            return $fail('The image should not have more than 1 KB');
                        }
                    }),

NovaServiceProvider.boot() method don't have access of request object.

Why not? The request can be accessed everywhere, for example via request(). I haven't really used Vapor fields though, so I'm not sure how to handle this specific case.

Thanks @Tarpsvo it is working


These functions are ignored because they have generic argument

In web-audio-api-rs :
The abstract class node (very important) has a very very important method :
    fn connect<'a>(&self, dest: &'a dyn AudioNode) -> &'a dyn AudioNode {
        self.connect_from_output_to_input(dest, 0, 0)
    }

But this method does not generate any dart interface.
// These functions are ignored because they have generic arguments: `connect_from_output_to_input`, `connect_from_output_to_input`, `connect_from_output_to_input`, `connect_from_output_to_input`, `connect_from_output_to_input`, `connect_from_output_to_input`, `connect_from_output_to_input`, `connect_from_output_to_input`, `connect_from_output_to_input`, `connect_from_output_to_input`, `connect_from_output_to_input`, `connect_from_output_to_input`, `connect_from_output_to_input`, `connect_from_output_to_input`, `connect_from_output_to_input`, `connect_from_output_to_input`, `connect_from_output_to_input`, `connect_from_output_to_input`, `connect_from_output_to_input`, `connect_from_output_to_input`, `connect_from_output_to_input`, `connect_from_output_to_input`, `connect_from_output_to_input`, `connect_from_output_to_input`, `connect_from_output_to_input`, `connect`, `connect`, `connect`, `connect`, `connect`, `connect`, `connect`, `connect`, `connect`, `connect`, `connect`, `connect`, `connect`, `connect`, `connect`, `connect`, `connect`, `connect`, `connect`, `connect`, `connect`, `connect`, `connect`, `connect`, `connect`, `set_onended`, `set_onended`, `set_onended`, `set_onended`

Is there any hope to have this processed by FRB ?

IIRC the frb_example one does have this generated. That's probably done by: https://github.com/fzyzcjy/flutter_rust_bridge/blob/52696786b18624a5aa008153adeb9e01037d4a83/frb_example/integrate_third_party/rust/src/api/override_web_audio_api.rs#L62

IIRC the frb_example one does have this generated. That's probably done by:
https://github.com/fzyzcjy/flutter_rust_bridge/blob/52696786b18624a5aa008153adeb9e01037d4a83/frb_example/integrate_third_party/rust/src/api/override_web_audio_api.rs#L62
Alternatively, currently users can already use connect method of a concrete node, so that abstract method does not add concrete things. For example, users today can already do GainNode().connect(anoterNode)

Yes, my code compiles, now, thanks to /rust/src/api/override_web_audio_api.rs.
I cannot yet test if it runs correctly, because I have other problems with CPAL. I am closing this issue and I will reopen it if I encounter problems.

Sure, take your time!


[Feature] Disable signup / login on Appsmith when hosted privately.

Summary

User has hosted Appsmith on their AWS instance and want to rely on AWS login to authenticate user. Once the user has logged in to AWS, they should be able to access Appsmith freely.

Additional Context
Discord discussion:
We have deployed our appsmith in aws. how to access appsmith with out appsmith credential. Right now we have already gmail credential, we don't need appsmith login credential. how to remove appsmith credential.

@sumitsum closing this as a duplicate of #2350

@sumitsum closing this as a duplicate of #2350


git sync button context should be an icon font, not a text

Does this issue occur when all extensions are disabled?: Yes

版本: 1.63.0-insider (system setup)
提交: 6a25ae3a24929f35aabf8a051531c0716032e0a0
日期: 2021-11-16T05:14:38.726Z
Electron: 13.5.2
Chrome: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Windows_NT x64 10.0.22499
Steps to Reproduce:

BTW : 同步 means  sync

fix by loc package : https://github.com/microsoft/vscode-loc/releases/tag/release%2F1.62.4
https://github.com/microsoft/vscode-loc/blob/471aa48fd13989f8bc220ab495a71fff078ce0d8/i18n/vscode-language-pack-zh-hans/translations/extensions/git.i18n.json#L254


Error getting base address!

I try to dump fortnite with the newest stable update and it gave me "Error getting base address!"
ik its protected by eac, be, and eos. But I see that you guys update the sdk lib every update, so how do you guys do it?

its stated in the README. You change the driver.h file and add your driver communication in there.


Offline tools.

Downloads for local copies of:

scrapbookv51
soe archived forums
google docs (Current pub checklist)
dropbox
convo editor
string searcher

Scrapbook
String tool

Hey @Scurby the scrapbook is 1.5 GB uncompressed, are you sure you want this in by default?
The string tool is Java client, going the wrong direction for headless, I know there used to be a web based version, do we have the source to that?  Or should I consider making one?

Web Based String Tool
http://swg.bass-speaker.com/strings.php

Moved to https://github.com/Zonama/ZonamaDev/projects/2


Increase memory of colab

Add this cell to story bro to max memory and force crash, allowing you to upgrade to higher memory (25gb max).
-->#@title <- Run this cell if you suffer an out of memory (OOM) error. { form-width: "10%", display-mode: "form" }
#@markdown Wait until it crashes and a little message pops up (takes about 10 seconds) asking if you'd like to increase the available memory.
#@markdown
#@markdown  *Say yes and run the game
thislist = ["1"]
while 1:
thislist *= 10

That's clearly copypasted from our AGPL code, you have to credit 4chan if you merge this. The proof is in SECTION 3 : OPTIONAL - CELL 1 : Maximize RAM of here:
https://github.com/OpenCYOAI/OpenCYOAI/blob/master/Old_Open_CYOAI_Colab.ipynb

Sorry, first time using github!

It's not a problem as long as proper credit is given.

It's not a problem as long as proper credit is given.

Do you know where the file location is of where you pulled the 4chan pastebin for prompts? For CYOAI.

It's not a problem as long as proper credit is given.

Wow the irony in this comment is so strong it could change the weather.

It's not a problem as long as proper credit is given.

really wish github could allow you to use the 🤡 emoji as a reply...

That's clearly copypasted from our AGPL code, you have to credit 4chan if you merge this. The proof is in SECTION 3 : OPTIONAL - CELL 1 : Maximize RAM of here:
https://github.com/OpenCYOAI/OpenCYOAI/blob/master/Old_Open_CYOAI_Colab.ipynb

Absolutely pathetic. This code was actually originally written by me in my uncensored version (the first mod ever made for this game, you can find it on my github) and was spread across all the forks. It’s even in the official Colab! Every other Colab has this code. You do not claim exclusivity just because you illegally changed the license. It is licensed under MIT, and nobody should feel pressured to give credit.

https://github.com/AIDungeon/AIDungeon/pull/110 existed before the code in the @OpenCYOAI repo

AIDungeon/AIDungeon#110 existed before the code in the @OpenCYOAI repo

in your link I saw this commit
https://github.com/AIDungeon/AIDungeon/commit/3ccc2d2adec160e8633848138304d9ecfa2b3a16
containing this code
d = []
while True:
    d.append(1)

which is not the same as
thislist = ["1"]
while 1:
    thislist *= 10

As you can see, there's a slight difference. In your method, you add items one by one at the end of the list (1+1+1+1+1+1+1+1+1+1+1...), but in ours, we multiply the list by 10 exponentially, resulting in a much faster crash( 1x10=10, 10x10=100, 100x10=1000...). It's an improvement we made.
But actually,the problem is not the code itself, it's the act. As you can see by reviewing the comment edition history:

The whole cell was straight copypasted WITH this improvement. In that case, and considering the license of the source of the paste, you need to give proper credit, and I just was gently pointing that in that case, the proper credit goes to 4chan's Anonymous people, that's all.
Tell me honestly... None of you spotted the difference? an append() is quite different of a *= though... :/

AIDungeon/AIDungeon#110 existed before the code in the @OpenCYOAI repo

in your link I saw this commit
AIDungeon/AIDungeon@3ccc2d2
containing this code
d = []
while True:
    d.append(1)

which is not the same as
thislist = ["1"]
while 1:
    thislist *= 10

As you can see, there's a slight difference. In your method, you add items one by one at the end of the list (1+1+1+1+1+1+1+1+1+1+1...), but in ours, we multiply the list by 10 exponentially, resulting in a much faster crash( 1x10=10, 10x10=100, 100x10=1000...). It's an improvement we made.
But actually,the problem is not the code itself, it's the act. As you can see by reviewing the comment edition history:

The whole cell was straight copypasted WITH this improvement. In that case, and considering the license of the source of the paste, you need to give proper credit, and I just was gently pointing that in that case, the proper credit goes to 4chan's Anonymous people, that's all.
Tell me honestly... None of you spotted the difference? an append() is quite different of a *= though... :/
Also, it bugs me...

you illegally changed the license.

Excuse me but... no. As you can see in our colab's repo https://github.com/OpenCYOAI/OpenCYOAI the license is part of the initial commit, and the code is clearly different of your colabs. and the repo is not a fork of any repo. And if you were referencing thadunge2's repo, he only sublicensed his work, as allowed by the MIT license. He even specified in his license file the commit number of the change. Please don't falsely accuse people, it's inelegant.

It doesn't matter whether it's a fork or not. The problem here is that MIT requires the license to be distributed with each copy of the code: https://opensource.stackexchange.com/questions/2644/does-the-mit-licenses-right-to-sublicense-allow-me-to-change-the-license-of-s

@WAUthethird
Sure, I get your point (apparenly better than you get mine by the way), but according to your link

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

Now about the accused file
https://github.com/OpenCYOAI/OpenCYOAI/blob/master/Open_CYOAI.ipynb
1/ It is not a copy, it's a new file of our own rebuilt from scratch
2/ It doesn't contains substantial portions of any of your colabs.
And as you can see with the huge differences there are between that one, and the Old_Open_CYOAI_Colab.ipynb you linked earlier (which is officialy unsupported since a while, as stated in our wiki) both files are quite unrelated too. So to conclude, our Open_CYOAI.ipynb is in NO WAY related to the original AIDungeon2.ipynb, and will probably never be related to Storybro.ipynb either, so we can license it exactly like we want.
Now back to the original point of the discussion. You still have to credit 4chan if you want to use the improved code.


Update

Hello, I would like to know if you can post the most recent version of amaribot

I'm 99% sure the bot is private now

It's 100% 🚀


Add Footnote

Would be great if the package could also include the footnotes
For instance
https://www.unhcr.org/refugee-statistics/download/?url=Xl2TOk

Closing here. Please reopen at the package's new home: https://github.com/PopulationStatistics/nansen


Cube.collapsed() should produce an un-masked Cube if the original is un-masked

✨ Feature Request

Motivation

For consistency with Cube.aggregated_by(). Many aggregators return masked arrays regardless of the input array, and we do not want to unnecessarily propagate masks where they are not needed. Users that genuinely want masked arrays can do so by making sure the Cube is masked before collapsing. Detailed discussion here: https://github.com/SciTools/iris/pull/4970#discussion_r1188775143
Additional context

Click to expand this section...
Relevant lines in Cube.aggregated_by():
https://github.com/SciTools/iris/blob/c0153aee95d24180f8af01f8ce93bde48cb8f870/lib/iris/cube.py#L4235-L4239

I does seem worth checking which functions do dispatch properly and updating those, starting with MEAN.


Change shortcut keys for existing actions

Lovely extension you've created. I was wondering if it is possible to change the shortcut keys and how?
Regards, Mitt

https://github.com/adobe/brackets/wiki/User-Key-Bindings
"Custom Work" Command:
Menu ListView: "customworkKeyIdListView"

What are the actual keybindings though? Surely this is a good thing to add to the readme at the very least, as the keybindings are currently said to be "default" but doesn't say how to change

The only "Custom Work" shortcut is as follows > "customworkKeyIdListView"
The default shortcuts are from the editor itself.
The other commands are in the direction below
https://github.com/adobe/brackets/blob/master/src/command/Commands.js

NAVIGATE_NEXT_DOC                          = "navigate.nextDoc";
NAVIGATE_PREV_DOC                          = "navigate.prevDoc";
NAVIGATE_NEXT_DOC_LIST_ORDER     = "navigate.nextDocListOrder";
NAVIGATE_PREV_DOC_LIST_ORDER     = "navigate.prevDocListOrder";
VIEW_HIDE_SIDEBAR                            = "view.toggleSidebar";

and
https://github.com/adobe/brackets/blob/master/src/extensions/default/NavigationAndHistory/keyboard.json

"recent-files.show"
"recent-files.next"
"recent-files.prev"