Release beta

According to:

Releases Roadmap
Summary of indev phase

Requirements:

[x] Reimplemented, magic-free internals
[ ] Normalized type system
[ ] Stable modules
[ ] Missing basic structures

[x] Generic types
[ ] Anonymous types
[ ] Lambdas
[x] Bitwise operations

[x] Simplified exception handling
[x] Reimplemented assignation parser
[ ] Confirmed visibility keywords
[ ] Primary constructor implementation
[ ] Nullable values wrapping
[x] Better docs and coverage with examples

Anyway I can help? I have been watching this repo for a while and it seems interesting, so I wanted to contribute. This is my first time contributing here and I wanted to help with some simple issues to get my feet wet.

Hey :) Well, at this moment I'm developing quite breaking rework of packages and modules as you can see: https://github.com/panda-lang/panda/pull/617, so I don't recommend contributing to this repo until I finish it.
If you want to start I'm pretty sure you could start with detecting and fixing problems that affects the language environment such as installer:

https://github.com/panda-lang/installer - there is no panda.cmd that could be associated with cli, there is literally no error handling, lack of support for linux and mac.
https://github.com/panda-lang/panda - you can try to test the language by just writing some code in panda. I'm pretty sure you will spot some issues. You can also try to write some tests (panda-utilities module is not affected by #617), there is a little mess, and they don't follow the groovy  should naming convention.

By saying all of it I mean there is just a lot of work and small details that should be fixed in literally every repository.

Hi, and thanks for the suggestions. I'm not sure if I can start testing Panda quite yet... But I have a couple of questions...

Is Panda going to be a mainstream style language, with frequent updates and made for writing big applications?
What niche does Panda fill?

Panda is my hobbyist side project developed for a few years. I had some ups and downs, but in the end it is still moving forward. The purpose of the language is to fill the scripting languages area around the JVM and to provide convenient tools for other DSL implementations.
You have to be aware of a fact, that it is not just another implementation of a compiler that converts some kind of new revolutionary syntax to bytecode with a fancy sdk and in the end the internals does not really matter.  Panda is written from the ground up, so besides the interpreter, there is also a new runtime abstraction.
Thanks to the JVM flexibility, Panda should be quite good complement for any application that requires some kind of extension system (tests, plugins, dsl, etc.) without any need of generating bindings for the whole API. At this moment that's a Groovy kingdom, but I'm looking for something more suitable for scripts and a much safer. The second niche is just a full-scripted environment powered by the dedicated package manager, where we can just launch a compilation-free, interpreted application (just like e.g. node with npm).

Nice ! So this language is a hobbyist language that is designed to sort-of "compete" with Groovy.
Yes, building from the ground up allows you to add any amount of minute controls to the interpreter.
About the compiler bit, If you want to build a good language but can't build good parsers, you can just strap an ANTLR frontend to an ASM + Java backend. That is what I did with my language Cylvre (which is currently under active development). I wish to take Cylvre to the mainstream as a language that is simple to use.
I feel like we are going off topic. I think I may be able to help Panda after the breaking changes are done.

Groovy is just the closest language that may be even considered as an alternative at this moment to be honest. I'm aware of tools such as ANTLR or LLVM, it's just not a subject of my interests. The most interesting process is to develop these internals - the language is just a side effect of their proper implementation. I've tested some crazy ideas during the indev phase, and I'm pretty sure it broadened my horizons and knowledge related to the topic 😛

As far as I have seen, Panda looks like a simplified and revamped Java :smiley: .

Yup, the log statement appends output to the environment logger.

I know this may not be the place to do this, but, I could use your help with Cylvre.

Is it too early to help by providing IDE support for Panda?

Well, it depends. The general shape of the language is pretty stable right now and any updates related to some already implemented features should be cosmetic. In the past I was playing around IDE concept: Lily

At this moment I don't maintain such projects, just because it doesn't contribute to the development of Panda directly. The discussion about the IDE support is important and I think it might be a good idea to at least try to provide some simple tools that integrates with VSC or IntelliJ.

I can help by providing IntelliJ support. Personally, I think that IDE support is crucial in the early stages.
Sorry to bring this up again and sorry if I sound rude, but why didn’t you reply when I asked if you could help me with Cylvre?

Well, the IDE support is kinda pointless when you can't really develop any application in a language. You have to be aware of a fact, that nobody really wants a new language, so there is no point to invest time in various related side projects as long as the language does not really work or offer something new. Of course, it changes when you have a lot of people around the project at the beginning.
I've resolved a couple of issues yesterday in different repositories and didn't really pay attention to conversations around them. As far as I see you've removed the message?

if you could help me with Cylvre?

I'm not in a position to develop such a project. Beside of the fact, that I'm quite busy at this moment, I also don't really enjoy the process of generating another language using tools that I've mentioned:

"I'm aware of tools such as ANTLR or LLVM, it's just not a subject of my interests."

To be honest, creating a language is kinda simple these days. There is a bunch of tools that can do almost everything, so you just need to combine them. It's great exercise for a developer, to get a taste of how language really works, but it's not really engaging me at this point.

It’s okay, I started this project to help people and to learn how languages work.
Although I don’t disagree, People do need new languages, new languages that are increasingly easier, faster and more powerful to use.
I’d love to help Panda if there was anything that I could help with

By saying nobody really wants a new language I mean people's attitude towards new languages. Every new tool requires them to invest time in learning it, so the tool has to be stable and offer a lot of new additional features to convince them that it is worth to at least try it.
Apart from the projects mentioned above, if you'd like to start with Panda internals, I think I'd start with syntax. You can start reading sources related to an implementation of some statements or expressions, and then you can just report some missing features or report strange things in API to start a discussion around it. It's kinda hard for me to estimate your impressions of dealing with this code, so I think the best thing you can do at this moment is to look at everything with a fresh eye.

Yes. By making the transition from mature language to new language as smooth as possible for the user, it will keep them coming back for more.
Although my skills as a Java developer are not “professional”, while implementing my language I read a lot on compiler theory. I’ll let you know if I find anything useful.

Hi there! I’m actually CodeUnstable. ( had to create new account due to a couple problems ). Anyway, how’s your language doing? I see it has come quite far since I was last here.

Hi :) At this moment I'm kinda focused on cdn and hub to provide some kind of basic package-registry infrastructure within package manager, but I was quite busy lately, so there is still a lot to do. As soon as I'll finish it I think I'll focus on a final implementation of types, its builders and the builtin std, because the current one is such a mess xD

Hi! :D. For any packages, couldn't you create a language support plugin for build system/package manager like maven or gradle  and upload and download packages from there? Or, are you doing this so that all panda packages can be located here and is hence more convenient to locate and get the package/publish the package to ?

Panda is interpreted language, not compiled one, so integration with build systems like maven or gradle is just not my target at this moment. By default, all packages should be hosted through services like github, because it's just a right place to do it. Hub keeps references to repositories with Panda sources and then lists the in the one place. It's something like https://crates.io/

Oh... OK. Once again, thanks for providing info. I'd love to contribute sometime soon.

Yeah, you can drop the first type using let keyword. The new keyword is also meant to remove in the future - #582. Unfortunately, it requires some work to do, because I need to merge constructor and method expression parser. I'd like to do that when I simplify the expression parser.

Hi! Do you mind explaining how you built the interpreter to produce JVM bytecode?

I didn't. It's not a compiler which just converts it to bytecode. I use bytecode generation only if I need Java interop in some places. Atm it's only used to generate stub types, but as we talked in asm related issue, I need to a little bit redesign this topic. I've made bytecode-free PoC, but it's just not the best way for the release candidate. I think I'll generate much more bytecode in the future than I thought, because I think I can do it on language implementation level and it won't affect the framework.

Ok. I just wanted to know. Thanks for the info! 😃


Initial VpcEndpointTemplate CRD and Controller

This PR creates a new CRD, VpcEndpointTemplate and an associated controller. A VpcEndpointTemplate behaves like a DaemonSet does to a Pod. In its current iteration, the controller responds to events about VpcEndpointTemplate CRs as well as HostedControlPlane CRs, with the outcome of a reconcile ensuring that each HostedControlPlane has one VpcEndpoint matching the expected template.
OSD-15666

/hold
Due to complexity and Friday.
For ease of review, refer to the design proposal in #168, though it has slightly deviated and we need to update the design proposal :D

Codecov Report

Merging #173 (c7b574c) into main (9bb1479) will decrease coverage by 2.63%.
The diff coverage is 10.37%.

Additional details and impacted files

@@            Coverage Diff             @@
##             main     #173      +/-   ##
==========================================
- Coverage   44.59%   41.97%   -2.63%
==========================================
  Files          28       30       +2
  Lines        1628     1763     +135
==========================================
+ Hits          726      740      +14
- Misses        817      934     +117
- Partials       85       89       +4

Impacted Files
Coverage Δ

controllers/vpcendpoint/vpcendpoint_controller.go
0.00% <ø> (ø)

pkg/testutil/mock.go
50.00% <0.00%> (-5.56%)
:arrow_down:

...endpointtemplate/vpcendpointtemplate_controller.go
8.87% <8.87%> (ø)

main.go
9.33% <14.28%> (+0.50%)
:arrow_up:

api/v1alpha2/vpcendpointtemplate_types.go
100.00% <100.00%> (ø)

/lgtm

/unhold

/lgtm


[4.0] SILCombine: fix propagation of existential self into witness method call

Explanation: This fixes a miscompile when a mutating method call is called for a concrete struct-type. In some cases the method call did not modify the correct self value.
Scope of Issue: I'm wondering why this problem was not noticed earlier. It's definitely a severe bug.
Risk: Low. The fix adds a bail-out condition for exactly that case.
Reviewed By: Roman
Testing: There is a regression test for it
Radar: rdar://problem/34753633

@swift-ci test


LICENSE not included in sdist

Needed for packaging.

Also https://github.com/Ousret/charset_normalizer/blob/master/LICENSE is an executable file.
The executable bit should be removed from all files in this repo, I guess.

Also some data files are not included in the sdist


Global options

A requirement of the library is to have a mechanism for creating "global options". Such as setting the default for props.
How exactly this would work idk yet.
But for instance this could be applied to having the nuxt module convert BLinks to NuxtLink (instead of RouterLink) by default, and other Nuxt specific options

Related to https://github.com/bootstrap-vue-next/bootstrap-vue-next/issues/1569

@VividLemon maybe we use provide/inject, so have can have:
app.provide(GlobalOptionsKey,{nuxtLink: true})
const options = inject(GlobalOptionsKey, defaultOptions)
You could also provide different options to a subset of component tree with this approach.

any update on this ?

Plan:
The system is inspired by https://vuetifyjs.com/en/features/global-configuration/#using-in-custom-components
The only con is that the default unwrapping of props in template is prevented. A minor nuisance, but unavoidable.
The way I believe this works is, the options from the configurator get placed in a provide(), the useDefaults accepts the components props & component name.
useDefaults is essentially
// Psuedo, there is a way to make the name and props object strongly typed. I assume all props would need to be ComponentProps.ts imported style, rather than some declared inline, and some not
export default (name: string, props: Record<string, unknown>) => {
  const injectedProps = inject('propsString')

  const mergeDefaults = computed(() => ({...injectedProps, props})) // Is props reactive?

  return mergeDefaults // Would reactive(mergeDefaults) be more straightforward to use?
}

Then each component would behave similarly to the steps shown in Vuetify
In addition, some research could be done into how Vuetfiy actually creates their "withDefaults" function, perhaps there's some better methods they use to take inspirations from. The nested defaults isn't addressed in the example I gave, but could be interesting


Use the -delete option instead of -exec rm -rf {} ;.

The 'find' command has a -delete option for deleting files, so doing:
$ find  -exec rm -f {} ;
...can be simplified to:
$ find  -delete.
Woohoo, simplicity!

-delete may not be present across all implementations of find--  it's not one of the options required by the POSIX standard.
It's present on Linux, OSX, and (presumably) BSD, but appears to not be present in at least some versions of Solaris.  Best to take the cross-platform approach when possible.

Good call. I did not check Solaris or AIX at all. I'll close the request.


Add Documentation on how to inject/access DBContext or information on scoped services in SignalR

The documentation is not clear how to inject and work with a DBContext or scoped service in SignalR, which I believe would be a fairly common scenario. Hubs have a Transient lifetime. According to the dependency injection documentation it says "Services that use the database context should also use the scoped lifetime". It's not clear how scoped services are handled in signalR.
I'm currently having an issue resulting in error A second operation started on this context before a previous operation completed. Any instance members are not guaranteed to be thread safe. on my DBContext intermittently. I have a feeling this is related to the difference in my Scoped DBContext and Transient Hub. In a normal HTTP request it's clear that a "Scoped" service is created at the beginning of each http request. However in a websocket situation, when is a Scoped service created? Is the scoped service created when the socket establishes connection and the scope ends when the socket is disconnected? It seems like my problem is due to a Transient Hub using the same scoped service across multiple Hub method calls resulting in the threading error mentioned above.
Note: I've already checked for async method invocations that are missing await expressions using Regex and ReSharper, and have found none. I've never had this much of a problem on normal controllers so I'm led to believe this is an issue with how SignalR handles scoped services which isn't documented.

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

ID: 1387f556-b4b7-70f9-5bd0-f0bccc597689
Version Independent ID: fb016cdc-d281-6b5b-7466-2c718e7274b4
Content: Use hubs in ASP.NET Core SignalR
Content Source: aspnetcore/signalr/hubs.md
Product: aspnet-core
GitHub Login: @tdykstra
Microsoft Alias: tdykstra

After further review, I can see in the source code that a scope is created per method invocation (https://github.com/aspnet/SignalR/blob/d0bcdf3dd92afba858fca2871535faf4594c81de/src/Microsoft.AspNetCore.SignalR.Core/Internal/DefaultHubDispatcher.cs#L166).
I think you can close this issue while I figure out this is a bug in my code or a bug in signalR

Yeah, some docs would certainly be good here. Hubs are indeed transient, a new instance is created for each invocation. Singletons will just be injected as-is. Scoped and Transient services will generally be created new for each invocation. We create a DI Scope prior to each individual invocation (as you just noted), so Scoped and Transient services end up having equivalent behavior.
If you can pull together a project that reproduces the problem we can help look at it and see if there's an issue in your code or ours ;). Feel free to file a bug on https://github.com/aspnet/SignalR once you are able to narrow down a repro!

I think the scope of the hub should be documented. You can kind of assume it since the documentation states that the Hub is transient but a written documentation statement would be better. I came here googling this exact question as I was unsure if I should be writing scope wrappers in my every hub method.

I think the transient scope ....
It would be nice if I could edit my comment :(

After all, if I want to use a DbContext in my hub, is it ok to get it through the constructor? Or should I add DbContextFactory? In my mind, this also ties to Blazor Server which is based on SignalR. From the documentation, it is advised to use DbContextFactory.

The documentation now states that hubs are transient.
https://learn.microsoft.com/en-gb/aspnet/core/signalr/hubs?view=aspnetcore-6.0#create-and-use-hubs
But unless you manually register them yourself they do not appear to be registered at all.

And if you register them yourself, nothing stops you from registering them with whatever lifetime you like, which presumably is likely to cause problems unless you register them as transient. If the documentation says they are registered as transient, then they should be registered as transient by the system itself.
The current implementation (and documentation) is confusing and fragile.

Don't resolve hubs from DI yourself. They are not intended to be called by user code and are purposefully not added to DI.
It looks like you are wanting to use IHubContext<T>, see https://learn.microsoft.com/aspnet/core/signalr/hubcontext?view=aspnetcore-6.0


從對比創建合併

[x] Have you followed the contributing guidelines?
[x] Have you explained what your changes do, and why they add value to the Guides?

Please note: we will close your PR without comment if you do not check the boxes above and provide ALL requested information.
**-----
Fixes #**

[x]  Have you followed the contributing guidelines?
[x]  Have you explained what your changes do, and why they add value to the Guides?

Please note: we will close your PR without comment if you do not check the boxes above and provide ALL requested information.
**-----
Fixes #**


Generate storagesync package

Autogenerated. Matching specification pull request - http://abc
```Found azure-rest-api-specs repository in D:\azure-rest-api-specs

Refreshed [object Repository] repository successfully
Generated storagesync SDK successfully```

@kpajdzik No files changed?


[allowsRemovalOfLastSavedPaymentMethod] for the stripe-react-native

Hello!
I see this flag allowsRemovalOfLastSavedPaymentMethod is already added to the IOS and Android, are you planning to add this for the stripe-react-native?
It is highly necessary to prevent users from deleting the last payment method.

Hi! Yes, we'll be bringing this in for the next release

@charliecruzan-stripe Thx, for the quick response.


Getting an OpenGL widget to work

I am unable to get an OpenGL widget working. I used opengl.d as a reference and I noticed that if I don't specify a padding or margins, the widget has 0 size. Moreover, the rect that gets passed in does not seem to map to the widget's location on the screen anyway.
Below is a minimal example where nothing gets drawn. If I replace the OpenGL widget with a button, however, the button does appear on the screen.
Any help on getting this example to work would be appreciated. Thank you.
import bindbc.opengl;
import dlangui;

mixin APP_ENTRY_POINT;

class MainView : VerticalLayout
{
    this(string id)
    {
        super(id);

        layoutWidth = FILL_PARENT;
        layoutHeight = FILL_PARENT;

        backgroundDrawable = DrawableRef(new OpenGLDrawable(&render));
    }

    void render(Rect windowRect, Rect rc)
    {
        // Clear the widget to pink.
        glEnable(GL_SCISSOR_TEST);
        glScissor(rc.left, rc.bottom, rc.width, rc.height);
        glClearColor(1, 0, 1, 0);
        glClear(GL_COLOR_BUFFER_BIT);
        glDisable(GL_SCISSOR_TEST);
    }
}

extern (C) int UIAppMain(string[] args)
{
    Window window = Platform.instance.createWindow("Game Maker", null);

    // Nothing gets rendered. The widget seems to have 0 size.
    window.mainWidget = new MainView("MainView");

    // The button does appear on the screen.
    //window.mainWidget = new Button("Button", "Click me"d);

    window.show();
    return Platform.instance.enterMessageLoop();
}

Answering part of my own question: the rect's coordinates appear in the window coordinate system, with the origin at the top left, versus OpenGL's bottom left. Therefore, to get the example above working, one must subtract the rect's bottom from the window's height:
glScissor(rc.left, windowRect.height - rc.bottom, rc.width, rc.height);

There is still a problem with the widget's size when it is embedded inside a layout, however. The following is a minimal example that reproduces this problem. If you leave the padding = 1 commented out, you'll see that the widget gets a height of 0. If you uncomment it, then the widget gets the correct height. The same is true if you set the margin instead of the padding, or if you set both.
import bindbc.opengl;
import dlangui;
import std.stdio;

mixin APP_ENTRY_POINT;

class MainView : FrameLayout
{
    this(string id)
    {
        super(id);

        // Uncomment this line to give the widget a non-zero height.
        //padding = 1;

        layoutWidth = FILL_PARENT;
        layoutHeight = FILL_PARENT;

        backgroundDrawable = DrawableRef(new OpenGLDrawable(&render));
    }

    void render(Rect windowRect, Rect rc)
    {
        writeln(rc);
        writeln("left: ", rc.left, ", bottom: ", rc.bottom, ", width: ", rc
                .width, ", height: ", rc.height);

        // Clear the widget to pink.
        glEnable(GL_SCISSOR_TEST);
        glScissor(rc.left, windowRect.height - rc.bottom, rc.width, rc.height);
        glClearColor(1, 0, 1, 0);
        glClear(GL_COLOR_BUFFER_BIT);
        glDisable(GL_SCISSOR_TEST);
    }
}

extern (C) int UIAppMain(string[] args)
{
    Window window = Platform.instance.createWindow("Game Maker", null);

    window.mainWidget = parseML(q{
        VerticalLayout {
            id: ViewLayout
            layoutWidth: fill; layoutHeight: fill
        }
    });
    auto viewLayout = cast(VerticalLayout) window.mainWidget.childById("ViewLayout");
    viewLayout.addChild(new MainView("MainView"));

    window.show();
    return Platform.instance.enterMessageLoop();
}


Add minimal localization support

It might be nice to localize the thousands separator, e.g. using locale.LC_NUMERIC. For the badge, I switched to commas via LANG=en_US.utf8 and printf.
https://github.com/EnricoMi/publish-unit-test-result-action/blob/9f4c8458e643883ec77453cbfa67ef4e0d4a50ef/python/publish/__init__.py#L18

This has been fixed in #298. Use json_thousands_separator to pick your favorite thousands separator character.

I noticed that the badge uses the custom separator, but that the job summary does not. Not a problem for me, but probably an oversight.
https://github.com/ben-manes/caffeine/actions/runs/2431285812

I see. That is why I suggested adopting LANG whose default could be your space. Then changing it could reformat all usages, which I think could be delegated to the locale package. I had hoped it would side step that concern.


Update Example 1

Example should read Add-PnPTenantCdnOrigin -OriginUrl /sites/site/subfolder -CdnType Public
And not Add-PnPTenantCdnOrigin -Url /sites/site/subfolder -CdnType Public

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

ID: 5a3b6781-410b-bdc8-0e8e-fa67a0569cf2
Version Independent ID: d1abc1ba-6432-79d7-8365-855ad11ea1a7
Content: Add-PnPTenantCdnOrigin (sharepoint-pnp)
Content Source: sharepoint/sharepoint-ps/sharepoint-pnp/Add-PnPTenantCdnOrigin.md
Service: unspecified
GitHub Login: @techwriter40
Microsoft Alias: kirks

Will be fixed with the June 2018 content update for PnP cmdlets - thanks @HTEredrock for reporting, appreciated.


[META] Workflow validation & conversion

As the UI workflows become more advanced and have more capabilities, we will need to similarly support more advanced validation of such workflows, and the logic for converting them into use case templates. We can track the iterative milestones in this issue.

[x] #8
[ ] #18

Refactoring into clearer meta issues.


command not found: realpath

Not sure if this is just my issue but I get this error.
[8:46:24.832 am] Compress[File Action] Passing output '(
    "/Users/me/Downloads/two.txt",
    "/Users/me/Downloads/one.txt"
)' to Run Script
[8:46:24.870 am] STDERR: Compress[Run Script] /Users/me/Library/Caches/com.runningwithcrayons.Alfred/Workflow Scripts/71F2C550-2BF3-46E6-BB42-544731A75C8C:4: command not found: realpath
[8:46:24.877 am] Compress[Run Script] Processing complete
[8:46:24.878 am] Compress[Run Script] Passing output '
zip error: Nothing to do! (files.zip)
Created 'files.zip'
' to Post Notification

I guess that you have not upgraded to Ventura next as realpath was only shipped with macOS from then.
You should be able to install it using Homebrew with brew install coreutils, but I don't know what else it installs when you do so.


Fix toggling 3-stage achievements

I started tracking my achievements on Paimon.moe and noticed a bug (or rather lack of feature) that allows users to check off second or third achievements before they checked off the preceding achievement.
The pull request also prevents the checkbox from being clicked when disabled and adds a cursor-not-allowed Tailwind class.
Here is the current behavior:

Here is the pull request result:

I tried my best to not change too much of the existing code but found that the toggle() function did too many things for a toggling functionality and realized that it was too restrictive when extending. Perhaps you might want to take a look and refactor if possible, extracting some functionality out to separate functions to reuse?

Thanks, I don't have much time to refactor stuff, if you want you can change it :)


feat #4995 : venus-auth : add sub command to attach mysql db when service start

fix https://github.com/filecoin-project/venus/issues/4995
Proposed Change
add sub command to attach mysql db when service start

Codecov Report

Merging #85 (892b47a) into master (c9eaddf) will decrease coverage by 0.10%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master      #85      +/-   ##
==========================================
- Coverage   28.92%   28.81%   -0.11%
==========================================
  Files          30       30
  Lines        2939     2950      +11
==========================================
  Hits          850      850
- Misses       1954     1965      +11
  Partials      135      135

Flag
Coverage Δ

unittests
28.81% <0.00%> (-0.11%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

cli/run.go
0.00% <0.00%> (ø)


ability to make custom instrument sounds longer

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the enhancement you'd like
A clear and concise description of what you want to happen.
Additional context
Add any other context or screenshots about the feature request here.

I almost thought this was a mistake. Please follow the issue template. How long can instrument sounds right now? How long would you want them to sound?


Add xrange method

Can you add xrange method to arrow object ?
It's like range method but it return an iterator.
Thank you

Would welcome a PR to do this

@skitoo @andrewelkins Given that Python changed its semantics such that range returns an iterator now and xrange is deprecated, maybe it's worth just switching range to be an iterator (this would be a breaking change, so probably the best way to go is to gather together this with other breaking changes and make a 1.0 release).
Also, one possible thought on an option for the short term, you could provide a lazy-evaluated _arrow_range object that mimics list semantics, and on anything except iterating over it (slicing, appending, extending, etc), raise a DeprecationWarning, to warn people of the coming change.

@skitoo @andrewelkins Given that Python changed its semantics such that range returns an iterator now and xrange is deprecated, maybe it's worth just switching range to be an iterator (this would be a breaking change, so probably the best way to go is to gather together this with other breaking changes and make a 1.0 release).
Also, one possible thought on an option for the short term, you could provide a lazy-evaluated _arrow_range object that mimics list semantics, and on anything except iterating over it (slicing, appending, extending, etc), raise a DeprecationWarning, to warn people of the coming change.


Remove superflous %> output in the UI modal dialog in case the JSON editor was embedded

Scope & Purpose
Remove superflous %> output in the UI modal dialog in case the JSON editor was embedded
Reported via https://arangodb.atlassian.net/browse/QA-22?focusedCommentId=39910

[x] Bug-Fix for devel-branch (i.e. no need for backports?)
[x] Strictly new functionality (i.e. a new feature / new option, no need for porting)
[x] The behavior in this PR can be (and was) manually tested (support / qa / customers can test it)

Related Information

[x] There is a JIRA Ticket number: https://arangodb.atlassian.net/browse/QA-22?focusedCommentId=39910

Testing & Verification
This change is a trivial rework / code cleanup without any test coverage.
http://<IP_ADDRESS>:8080/view/PR/job/arangodb-matrix-pr/10773/

http://<IP_ADDRESS>:8080/view/PR/job/arangodb-matrix-pr/10775/

Tests blue


filter out deleted files for vale

this pr updates the vale workflow so it only lints files that exists and filters out prs that have deleted files or continues to lint for thse prs with a mix of deleted and modified files.
internal slack

will address this end of november - closing to restart


[document]add redis help document

add redis help document

👍 Great.
merge please use Squash and merge

@all-contributors please add @hudongdong129  for doc


🎨 rewrote example

Overview
Why do we need this feature? What are we trying to accomplish?
The example was outdated.
Requirements
What requirements are necessary to consider this problem solved?
Update the dependencies and README.

Ideally, I'd say the token transfer example would use ICRC-1 and ICRC-2 interface or what do you think?
i think it's good to have an example for interacting with the ICP ledger standard, but we can create another one to interact with ICRC1 ledgers.

i think it's good to have an example for interacting with the ICP ledger standard, but we can create another one to interact with ICRC1 ledgers. i can also add it to this example. what do you prefer?

Makes sense. My preference would be to rename this example to icp_transfer and create a new token_transfer example based on ICRC-1/2. The readme of the first one should also mention that the ICP ledger also supports ICRC-1 and link to the token_transfer example. Please also give a quick heads up to @andreacerulli, since he's listed as the owner of this example.

should we call this icrc1_transfer instead then?

Although this would be the most precise name, I would keep it at token_transfer, just because newcomers might have no idea what icrc1 is but might look for an example to create or interact with a token. Hence, I'd prefer meeting them at common terminology and then educating them about the standards.

@andreacerulli @domwoe i renamed the example and added token_transfer examples in rust and motoko, can you review pls


Routing problem

Bug Report
Describe the bug
Routes are active only for the current session. If someone shares the link to one of the pages in the documentation (or even reload the page), they will come across a 404 page.
To Reproduce

Go to your documentation.
Click on a new section.
You'll get a root like domain.com/section
Access this url on a new tab

Expected behavior
Access the shared page

Github Pages do not support SPA.
You can take a look here https://github.com/rafrex/spa-github-pages/blob/gh-pages/README.md

I have the same error, but I deployed on Netlify.
This error happens with Surge.sh too
My configuration:
export default {
  title: 'Docz',
  description: 'This is my awesome documentation',
  menu: [
    'Bem vindo',
    'Princípios de design',
    {
      name: 'Estilos',
      menu: [
        'Cores',
        'Tipografias',
      ],
    },
    {
      name: 'Componentes',
      menu: [
        'Botão',
      ],
    },
    'Marketing',
    'Produto',
    'Recursos',
    'FAQ',
  ],
  src: './src',
  public: './src/public',
  plugins: [],
  theme: 'docz-theme-default',
  themeConfig: {
    logo: {
      src: '/public/imgs/logo.svg',
      width: '100%',
    },
    colors: {
      primary: '#4967a9',
    },
  },
  htmlContext: {
    favicon: '/public/favicon.png',
  },
}

What's the solution?

@renatorib @pedronauck

@adrianoresende Deploying with Netlify, add this file at the root of your project. It should fix your issue:
# COMMENT: This a rule for Single Page Applications
[[redirects]]
  from = "/*"
  to = "/"
  status = 200

References:

https://www.netlify.com/docs/redirects/
https://www.netlify.com/docs/netlify-toml-reference/

@tpucci Thanks! ;)

Hey guys, if you want to support gh-pages still, there is a tiny workaround you can do:
https://github.com/sumup/circuit-ui/pull/437/files#diff-eae600270579316beb8b8d9b9a5732d4R4


[Extension] Re check function enableChains

Actual:

When scanning to detect balance then auto enable chains and tokens. All detected token is enabled but some chains don't enable them successfully.

Expect:

All tokens and chains are enabled for success

Version test : http://file.cdmteck.com/s/gDH2bAppLwfE2gB

[ ] Don't enable chain testnet although that network's token has balance

Actual :

Expect :


Jjgriff93/2431 UI remove workspace detail for researcher role

Resolves #2404
What is being addressed
The UI was showing an error when a TREUser / WorkspaceResearcher was trying to view a workspace they were in.
How is this addressed

Modified the Api to allow a TREUser to fetch an individual workspace to bring it in line with the list all logic - they are only allowed to retrieve if they are a member of the workspace. This then allows the UI to retrieve it, get the application URI, and proceed to get a workspace-scoped token for the user to view and interact with the workspace as designed

/test

As discussed offline lets get this in, however not sure calling graph on every request is ideal.
If we have a token for the workspace already why do we need to call the endpoint again? Can we not call the workspace specific one that doesn't need the graph call?

I think the main drawback here about using a long-lived token is if someone has their roles removed or modified, it might take a long time before they have their access revoked/modified if we don't get the token each time. Might be one for us to discuss with David when he gets back as he implemented this

As discussed offline lets get this in, however not sure calling graph on every request is ideal.
If we have a token for the workspace already why do we need to call the endpoint again? Can we not call the workspace specific one that doesn't need the graph call?

I think the main drawback here about using a long-lived token is if someone has their roles removed or modified, it might take a long time before they have their access revoked/modified if we don't get the token each time. Might be one for us to discuss with David when he gets back as he implemented this

I don't think we need to cache the token any longer, just say if have a token for that workspace already let's not go get the scope again.

/test

As discussed offline lets get this in, however not sure calling graph on every request is ideal.
If we have a token for the workspace already why do we need to call the endpoint again? Can we not call the workspace specific one that doesn't need the graph call?

I think the main drawback here about using a long-lived token is if someone has their roles removed or modified, it might take a long time before they have their access revoked/modified if we don't get the token each time. Might be one for us to discuss with David when he gets back as he implemented this

I don't think we need to cache the token any longer, just say if have a token for that workspace already let's not go get the scope again.

We're getting the workspace anyway, not just for the scope but to also show the data on the page, so there aren't any duplicate calls from that perspective


[Question] What is your best practise for select components with related values with each other in a form?

Hi,
When form rendered select component gets the lookups resource as url and it has another select component related with it and i want to filter the values of the related select component  according to other's value. What is your best practice here?
Thanks for your all support here.

This is "conditional selects" and can be described how to configure @ https://formio.github.io/formio.js/app/examples/external.html


unix: add fexecve()

Add missing fexecve() - execute program specified via file descriptor.
Reference: http://pubs.opengroup.org/onlinepubs/9699919799/functions/fexecve.html

@bors: r+

:pushpin: Commit ccf699b has been approved by alexcrichton

@alexcrichton: This PR isn't working.

It seems to be complaining about pointer type. The generated test is as follow:
int (*__test_fn_fexecve(void))(int, const char* const *, const char* const *) {
  return fexecve;
}

while the real signature should be (int fd, char *const argv[], char *const envp[]).
However the Rust signature matches the pattern from execve(). I see that testing exec*() is disabled because of // crazy stuff with const/mut. Should this one also be excluded from tests?

Yeah seems good to me!

:hourglass: Testing commit ccf699b10d6a6f7bb7835b2f96f6a94b394d3838 with merge f1acf023cb25b2bfc3bc59430f73d445336ac507...

:broken_heart: Test failed - status-travis

Rebased, test is now disabled.

@bors: r+

:pushpin: Commit 858d47c has been approved by alexcrichton

:hourglass: Testing commit 858d47cd9553cbcffa07d9717ab35e8d7bd3bfac with merge 0b7abd9bb319cad68bda31305086f8cf478573c9...

:sunny: Test successful - status-appveyor, status-travis
Approved by: alexcrichton
Pushing 0b7abd9bb319cad68bda31305086f8cf478573c9 to master...


LinkedHashMap: implement iter_mut()

This LGTM, but I just woke up, so I'm going to let this sit for a few hours.

Added patch that implements Index and IndexMut.

Updated patches with no explicit lifetimes.

r=me with typo

Updated patch with typo fixed.

Thanks a bunch!


onActivityResult is not being called in the fragment class

Hi
I've four fragments in my activity and all of them contains recycler view. I've passed instance of ImagePicker class from fragment to it's adapter. So after picking images using the library onActivityResult is being called in only activity class and not in the fragment class. And that's why I don't have reference to fragment to perform result action.
Refer this: How to invoke fragment's onActivityResult (https://stackoverflow.com/a/6147919/5745574)
Since Iibrary is calling startActivityForResult method, I am unable to fix this problem.
Help me out with this.
Thanks

Have u fixed this?

@icangku I tried a workaround, fortunately it worked for me.
When result is received in the activity, I'm manually passing it to the fragment:
@Override     protected void onActivityResult(int requestCode, int resultCode, Intent data) {         super.onActivityResult(requestCode, resultCode, data);         fragment.onActivityResult(requestCode, resultCode, data);     }
If you want to pass the result to all fragments:
@Override     protected void onActivityResult(int requestCode, int resultCode, Intent data) {         super.onActivityResult(requestCode, resultCode, data);         if(requestCode == Picker.PICK_IMAGE_DEVICE || requestCode == Picker.PICK_IMAGE_CAMERA) {             for (Fragment fragment : getSupportFragmentManager().getFragments()) {                 if (fragment != null) {                     fragment.onActivityResult(requestCode, resultCode, data);                 }             }         }     }

would you show me the full code, please ? Thanks

I know that thread is old, but I was facing same problem and came across this - for others to come:
I have solved it replacing imagePicker = ImagePicker(activity) by imagePicker = ImagePicker(fragment) beacause inside the library there is a logic choosing which startForResult call in https://github.com/coomar2841/android-multipicker-library/blob/dev/multipicker/src/main/java/com/kbeanie/multipicker/core/PickerManager.java though workaround is not needed.


several scripts or css

Hi
is it possible to chain several loads of scripts or cas ?

1

@vptcnt / : @kevin-qiu: given that loadScript() and loadCSS() both returns a promise you could chain one promise to the other or even make a wrapping functioin that given a list of resources make this for you.
by the way @urish i agree that this would be an interesting feature; loadCSS and loadJS may accept also an array of resources and return a promise that will fire whenever all resources are fetched.

Promises make this very easy, So I'm not sure I'd duplicate this functionality in the library:
$q.all([
    angularLoad.loadScript('https://mysite.com/someplugin1.js'),
    angularLoad.loadScript('https://mysite.com/someplugin2.js')
]).then( reactToAllScriptsBeingLoaded )


Feature/refactor polish

This PR compiles a set of modifications that ensures that the new metrics format is compatible with the analyzer python script.
List of tasks done at the PR:

[X] Ensure that the .csv file has the same info as before
[X] Make Python script compatible only with the exported .csv file
[X] Separe Armiarma Analyzer from Crawler src/ folder

Looks good to me. Please do the honours and merge it :)


Parameter presets for short and long runs

Is your feature request related to a problem? Please describe
Our current default parameter and algorithm configuration settings are optimised for long run-times - in many cases, for runs of 1-2h. There they find very good results, often at or near the BKS.
A common use case, however, is to try to find the best result in much shorter time frames. Say, one or two minutes. We currently have no good presets for such short runtimes, and also offer no way to easily switch between different presets depending on the use case - other than writing their own solve routine and setting all parameters up themselves.
Describe the solution you'd like
That we tune PyVRP with short runtimes, collect a good default preset for such runtimes, and allow a user to easily switch between presets. The latter might be something like Model.solve(..., config=preset.FAST), or preset.BEST like we already have today.
Describe alternatives you have considered
A reasonable alternative is to let the user figure all this out, but that seems burdensome. If we can provide a good default for this use case, that might help a lot already.

After figuring out how to load configs in Model.solve, we can use Model.solve also in the CLI.

Reminder that we should focus on minimizing number of used routes with short time limits. Having too many routes slows the convergence.


[Dubbo-4674]make multiple reference to service effect

What is the purpose of the change
fix #4674
Brief changelog
main:
ReferenceAnnotationBeanPostProcessor.java
test:
EnableDubboTest.java
DemoServiceImpl.java
Verifying this change
XXXXX
Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Make sure there is a GITHUB_issue field for the change (usually before you start working on it). Trivial changes like typos do not require a GITHUB issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[ ] Format the pull request title like [Dubbo-XXX] Fix UnknownException when host config not exist #XXX. Each commit in the pull request should have a meaningful subject line and body.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add sample in dubbo samples project.
[ ] Run mvn clean install -DskipTests=false & mvn clean test-compile failsafe:integration-test to make sure unit-test and integration-test pass.
[ ] If this contribution is large, please follow the Software Donation Guide.

I find the solution has a problem. I will have a look again.

Codecov Report

Merging #4721 into master will decrease coverage by 0.03%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             master    #4721      +/-   ##
============================================
- Coverage     63.92%   63.89%   -0.04%
+ Complexity      451      449       -2
============================================
  Files           769      769
  Lines         33160    33162       +2
  Branches       5226     5226
============================================
- Hits          21199    21188      -11
- Misses         9543     9555      +12
- Partials       2418     2419       +1

Impacted Files
Coverage Δ
Complexity Δ

...notation/ReferenceAnnotationBeanPostProcessor.java
90.47% <100%> (+0.18%)
0 <0> (ø)
:arrow_down:

...che/dubbo/remoting/transport/mina/MinaChannel.java
43.42% <0%> (-10.53%)
16% <0%> (-1%)

.../remoting/transport/netty4/NettyClientHandler.java
61.4% <0%> (-7.02%)
0% <0%> (ø)

.../apache/dubbo/remoting/transport/AbstractPeer.java
58.69% <0%> (-4.35%)
0% <0%> (ø)

...he/dubbo/remoting/transport/netty/NettyServer.java
69.64% <0%> (-3.58%)
8% <0%> (-1%)

...onfig/spring/extension/SpringExtensionFactory.java
85.36% <0%> (+7.31%)
0% <0%> (ø)
:arrow_down:

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 1173b40...ff49772. Read the comment docs.

I find the solution has a problem. I will have a look again.

I think it has been solved.

@mercyblitz Would you please review this pr ?

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

@tswstarplanet pls resolve conflicts with the latest master branch

Close for long time no response.
Please feel free to reopen if you have any question.


words that are not in blacklist are also filtered due to prefix/postfix matching.

Is there a way to avoid words such as title, button, etc and all other words that are not blacklisted but their prefix contains some of the bad words such as "tit" in "title" and "butt" in button? Thanks in advance.

Patched with https://github.com/web-mech/badwords/releases/tag/v1.6.2


Add -race flag for Windows unit tests

Codecov Report

Merging #1529 (1e88801) into master (85dedc3) will decrease coverage by 23.38%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           master    #1529       +/-   ##
===========================================
- Coverage   65.10%   41.71%   -23.39%
===========================================
  Files         169       99       -70
  Lines       13465    11188     -2277
===========================================
- Hits         8766     4667     -4099
- Misses       3784     6111     +2327
+ Partials      915      410      -505

Flag
Coverage Δ

integration-tests
?

kind-e2e-tests
?

unit-tests
41.71% <ø> (+<0.01%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/agent/agent_linux.go
0.00% <0.00%> (-100.00%)
:arrow_down:

pkg/ovs/openflow/default.go
0.00% <0.00%> (-100.00%)
:arrow_down:

pkg/agent/config/node_config.go
0.00% <0.00%> (-100.00%)
:arrow_down:

pkg/apis/controlplane/v1beta1/register.go
0.00% <0.00%> (-92.86%)
:arrow_down:

pkg/ovs/openflow/logs.go
9.52% <0.00%> (-90.48%)
:arrow_down:

pkg/apis/controlplane/register.go
0.00% <0.00%> (-85.72%)
:arrow_down:

pkg/ovs/openflow/ofctrl_group.go
0.00% <0.00%> (-84.38%)
:arrow_down:

pkg/ovs/openflow/ofctrl_packetout.go
0.00% <0.00%> (-80.00%)
:arrow_down:

pkg/agent/client.go
0.00% <0.00%> (-77.42%)
:arrow_down:

pkg/ovs/openflow/ofctrl_action.go
17.07% <0.00%> (-74.15%)
:arrow_down:

... and 125 more

/skip-all
The PR impact unit tests only.


I see it's now changed in master, just as I pushed this one.

Thanks anyway!


tests: Bluetooth: Mesh: Proxy mix-in test

When proxy or PB-GATT is enabled, the advertiser will transmit connectable advertisements whenever there are no mesh packets to be sent. As soon as a mesh packet enters the queue, connectable advertising will be halted, and the mesh packet is transmitted. Connectable advertisements are resumed as soon as the advertiser queue is empty again.
Feature coverage:
PB-GATT advertisements
GATT Proxy advertisements
Mix of ADV and GATT advertisements
Test:
PB-GATT and GATT Proxy must be enabled in the configuration.
Initialize the mesh stack, but do not provision the device.
Start the provisioning procedure using bt_mesh_prov_enable(BT_MESH_PROV_GATT)
With a separate scanner device, observe PB-GATT beacons being sent at approximately 100ms intervals.

Provision the device using bt_mesh_provision().
With a separate scanner device, observe GATT Proxy beacons being sent at approximately 1s intervals.
Allocate an advertiser buffer using bt_mesh_adv_buf_create()
    With the separate scanner, observe that the GATT Proxy beacons are not interrupted.
Set the allocated buffer's xmit parameters to BT_MESH_TRANSMIT(5, 20)
Submit the advertiser buffer using bt_mesh_adv_send()
    With the separate scanner, observe that the submitted buffer is transmitted at least 6 times.
    Then, observe GATT Proxy beacons resuming.

Can the first 3 commits be merged together? It would be good to explain in commit message why a separate test suite is used for GATT.

I do not think the commit with gatt test suite belongs logically to the first two commits.
I'll merge the first 2 but the third one should be separate.

Can the first 3 commits be merged together? It would be good to explain in commit message why a separate test suite is used for GATT.

I do not think the commit with gatt test suite belongs logically to the first two commits. I'll merge the first 2 but the third one should be separate.

I guess this will brake one of this rules:
Commits must build cleanly when applied on top of each other, thus avoiding breaking bisectability.

@Andrewpini, @Balaklaka, seems I resolved all comments in this PR. Could you reapprove this if there are no objections?


Updating ALE tutorial for line colors

Need to update the tutorial to note that there is a line_kws for the plotting code. E.g, line_kws={'line_colors':['b','r','g']}

I've added this info to the tutorial notebook.


new props (1)

some extra modifiers for the color vars for higher flexibility.
more to come.

trying to add new properties proves to be a tricky task as the return string formatting proves to be temperamental due to problems in the export submodule, a issue was opened in #13


session.call with parameter is a Vec<u8>

The method call() of session expected the parameters to be AsRef<str>. Wonder how a contract method that accepts the Vec<u8> can be called using drink?

Vec<u8> can be accepted - it has just to be passed as a string literal, in the same form as it would have been passed to the cargo contract (it must meet the format required by SCALE)


Deprecate manual

Working towards deprecating/removing the old manual now that the ReadtheDocs is available.

Makefile needs to be cleaned as well. Targets update-manual and manual fully removed and  3rd line of clean  target


Fix resolvconf executable discovery

If resolvconf was installed and then removed, the file
/etc/resolvconf/resolv.conf.d/head remains in the filesystem

change discovery of 'resolvconf' executable to check if it
can be located with 'which resolvconf' command or not.

+1 this is more effective than what we had in place before

Thanks @dis-xcom


Closes: #1

Fixed Validate_user function by adding that regilar expession pattern must starts with a letter.
Fixes #<issue_number_goes_here>

It's a good idea to open an issue first for discussion.

[x] Tests pass
[x] Appropriate changes to README are included in PR

@googlebot I signed it!


TML-8241 Add multiseries support to graph_prediction_vs_actual_over_time

Pull Request Description
Resolves TML-8241
https://alteryx.atlassian.net/browse/TML-8241
A small snippet of what it looks like:

-----
*After creating the pull request: in order to pass the **release_notes_updated** check you will need to update the "Future Release" section of* `docs/source/release_notes.rst` *to include this pull request by adding :pr:`123`.*

No linked issues found. Please add the corresponding issues in the pull request description.  Use GitHub automation to close the issue when a PR is merged


updated message archive client version to 1.5.0

Description
updated message archive client version to 1.5.0
References

#0000

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@6856229). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #469   +/-   ##
=======================================
  Coverage        ?   69.14%
=======================================
  Files           ?        9
  Lines           ?      188
  Branches        ?       19
=======================================
  Hits            ?      130
  Misses          ?       53
  Partials        ?        5

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


Update conda_env.yml - missing openblas dependency

I was getting errors related to openblas upon import brian2 , fixed by adding it as a dependency

Do you have any additional info on your setup? I tested the environment on both Ubuntu and Windows, I did not encounter any issues with BLAS.


cant download the models form https://cmu.box.com/？

Try to use VPN and other ways to download, but there is no way to open the web page to obtain the relevant files successfully. Could you upload the files to Baidu cloud disk or Google cloud disk，plz？Thx.

We also provide links from Azure cloud: https://github.com/castacks/tartanvo#alternative-download-links
I just added two new download options from Baidu cloud and Google drive.

We also provide links from Azure cloud: https://github.com/castacks/tartanvo#alternative-download-links
I just added two new download options from Baidu cloud and Google drive.

We also provide links from Azure cloud.
I just added two new download options from Baidu cloud and Google drive. Please try those out!
Baidu cloud: https://pan.baidu.com/s/1votDi0zbDXOKK4-4gtgczQ   Code: vbtb
Google drive: https://drive.google.com/drive/folders/1kzj2ZR4AxnDyR8elFhfnS2yX1wIxQaZO?usp=sharing

We also provide links from Azure cloud.
I just added two new download options from Baidu cloud and Google drive. Please try those out!
Baidu cloud: https://pan.baidu.com/s/1votDi0zbDXOKK4-4gtgczQ   Code: vbtb
Google drive: https://drive.google.com/drive/folders/1kzj2ZR4AxnDyR8elFhfnS2yX1wIxQaZO?usp=sharing

We also provide links from Azure cloud.
I just added two new download options from Baidu cloud and Google drive. Please try those out!
Baidu cloud: https://pan.baidu.com/s/1votDi0zbDXOKK4-4gtgczQ Code: vbtb
Google drive: https://drive.google.com/drive/folders/1kzj2ZR4AxnDyR8elFhfnS2yX1wIxQaZO?usp=sharing

Got it! Thank you very much!

We also provide links from Azure cloud.
I just added two new download options from Baidu cloud and Google drive. Please try those out!
Baidu cloud: https://pan.baidu.com/s/1votDi0zbDXOKK4-4gtgczQ Code: vbtb
Google drive: https://drive.google.com/drive/folders/1kzj2ZR4AxnDyR8elFhfnS2yX1wIxQaZO?usp=sharing

Got it! Thank you very much!


chore: change default value mappings

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

Codecov Report

Merging #543 (6ebd118) into tagged-release/forms-and-views (3634728) will not change coverage.
The diff coverage is n/a.

@@                       Coverage Diff                       @@
##           tagged-release/forms-and-views     #543   +/-   ##
===============================================================
  Coverage                           88.95%   88.95%
===============================================================
  Files                                  74       74
  Lines                                2762     2762
  Branches                              766      766
===============================================================
  Hits                                 2457     2457
  Misses                                292      292
  Partials                               13       13

Impacted Files
Coverage Δ

...i/lib/generate-form-definition/helpers/defaults.ts
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 3634728...6ebd118. Read the comment docs.


Manual Focus Control for Intel RealSense D435 Camera on Jetson Orin

I have a Jetson Orin development board and have connected an Intel RealSense D435 camera to it. My research task involves recognizing individual small ruminants by analyzing RGB and depth frames captured by the D435 camera. Specifically, I want to analyze the facial features of the small ruminants and perform text spotting to recognize the numbers on their ear tags.
The D435 camera is positioned approximately 1 meter away from the face of the small ruminant. However, I have encountered issues with the camera's focus, as not all frames look well due to some being out of focus.
I am utilizing the pyrealsense2 library for interacting with the D435 camera, which allows me to stream data from the camera and access its functionalities.
To ensure I can perform the analysis accurately, I am seeking assistance in implementing manual focus control for the D435 camera using pyrealsense2 on Jetson Orin. With manual focus control, I hope to adjust the camera's focus settings programmatically, ensuring that the captured frames are consistently in focus and suitable for my analysis.
Any guidance, code examples, or resources on how to do manual focus control for the D435 camera on Jetson Orin using the pyrealsense2 library would be greatly appreciated.
Thank you,
Ron

In the documentation, we can find these functions. maybe they can help me with my issue?

Methods
init((self: pyrealsense2.roi_sensor, ...) |
-- | --
as_color_sensor(...) |
as_depth_sensor(...) |
as_fisheye_sensor(...) |
as_motion_sensor(...) |
as_pose_sensor(...) |
as_roi_sensor(...) |
as_wheel_odometer(...) |
close((self: pyrealsense2.sensor) -> None) | Close sensor for exclusive access.
get_info((self: pyrealsense2.sensor, ...) | Retrieve camera specific information, like versions of various internal components.
get_option((self: pyrealsense2.options, ...) | Read option value from the device.
get_option_description(...) | Get option description.
get_option_range(...) | Retrieve the available range of values of a supported option
get_option_value_description(...) | Get option value description (In case a specific option value holds special meaning)
get_recommended_filters(...) | Return the recommended list of filters by the sensor.
get_region_of_interest(...) |
get_stream_profiles(...) | Retrieves the list of stream profiles supported by the sensor.
get_supported_options(...) | Retrieve list of supported options
is_color_sensor(...) |
is_depth_sensor(...) |
is_fisheye_sensor(...) |
is_motion_sensor(...) |
is_option_read_only(...) | Check if particular option is read only.
is_pose_sensor(...) |
is_roi_sensor(...) |
is_wheel_odometer(...) |
open(*args, **kwargs) | Overloaded function.
set_notifications_callback(...) | Register Notifications callback
set_option((self: pyrealsense2.options, ...) | Write new value to device option
set_region_of_interest(...) |
start(*args, **kwargs) | Overloaded function.
stop((self: pyrealsense2.sensor) -> None) | Stop streaming.
supports(*args, **kwargs) | Overloaded function.

Methods
init((self: pyrealsense2.roi_sensor, ...)
as_color_sensor(...)
as_depth_sensor(...)
as_fisheye_sensor(...)
as_motion_sensor(...)
as_pose_sensor(...)
as_roi_sensor(...)
as_wheel_odometer(...)
close((self: pyrealsense2.sensor) -> None)	Close sensor for exclusive access.
get_info((self: pyrealsense2.sensor, ...)	Retrieve camera specific information, like versions of various internal components.
get_option((self: pyrealsense2.options, ...)	Read option value from the device.
get_option_description(...)	Get option description.
get_option_range(...)	Retrieve the available range of values of a supported option
get_option_value_description(...)	Get option value description (In case a specific option value holds special meaning)
get_recommended_filters(...)	Return the recommended list of filters by the sensor.
get_region_of_interest(...)
get_stream_profiles(...)	Retrieves the list of stream profiles supported by the sensor.
get_supported_options(...)	Retrieve list of supported options
is_color_sensor(...)
is_depth_sensor(...)
is_fisheye_sensor(...)
is_motion_sensor(...)
is_option_read_only(...)	Check if particular option is read only.
is_pose_sensor(...)
is_roi_sensor(...)
is_wheel_odometer(...)
open(*args, **kwargs)	Overloaded function.
set_notifications_callback(...)	Register Notifications callback
set_option((self: pyrealsense2.options, ...)	Write new value to device option
set_region_of_interest(...)
start(*args, **kwargs)	Overloaded function.
stop((self: pyrealsense2.sensor) -> None)	Stop streaming.
supports(*args, **kwargs)	Overloaded function.

Hi @ronbitonn  RealSense cameras do not have an adjustable focus control as the focus of the lenses is fixed.
The easiest way to resolve your focus issue may be to maximize the RGB Sharpness option to '100', which can make a significant difference to blurred images.  https://github.com/IntelRealSense/librealsense/issues/11246 has an example of Python code for configuring this option.
In that script, they first set up definitions for the depth and RGB (color) sensors.
depth_sensor, color_sensor, *_ = profile.get_device().query_sensors()
Then they use the color sensor definition to access the RGB sensor and configure the RGB sharpness.
color_sensor.set_option(rs.option.sharpness, 100)

Dear @MartyG-RealSense,
Thank you for your prompt response and valuable insight regarding the focus control for the Intel RealSense D435 camera on Jetson Orin.
I understand that RealSense cameras do not have adjustable focus control due to their fixed-focus lenses. However, I greatly appreciate your suggestion to maximize the RGB Sharpness option to '100' as a possible solution to improve the sharpness and clarity of the captured frames. I will try implementing the provided Python code example to configure the RGB sharpness and assess its impact on image quality.
Should I encounter any further issues or require additional assistance, I will reach out to you or the community on the "librealsense" repository on GitHub. Your expertise and guidance are immensely valuable to my research task.
Best regards,
Ron

You are very welcome.  Please do feel welcome to ask further questions on this librealsense GitHub support forum if you need to do so.  Good luck!

Hi @ronbitonn  Do you currently require further assistance with this case, please?  Thanks!

Dear @MartyG-RealSense,
I implemented the suggested approach to maximize the RGB Sharpness option, but some images still lack the necessary clarity to recognize the small ruminants' ear tags. As I continue my research, I'd appreciate any additional recommendations or alternative techniques to improve image quality and enhance ear tag recognition.
Your support has been invaluable, and I'm determined to find a solution for accurate analysis.
Thank you for your assistance.

If you are seeking to further improve the readablity of text on the RGB image, does maximizing gain help?
color_sensor.set_option(rs.option.sharpness, 128)

Hello,
Thank you for your assistance and suggestions. I wanted to let you know that I'm actively working on improving the image quality of the Intel RealSense D435 camera for my research. I've begun by adjusting the camera's position to see if that has an impact on the clarity of the captured frames.
I truly appreciate the guidance you've provided so far, and I will keep you updated on the results of the changes I'm making. If I encounter any further challenges or if there are additional aspects where I might need assistance, I won't hesitate to reach out for help.
Once again, thank you for your support.

You are very welcome.  Thanks very much for the update and please do keep us updated with your progress and findings.  Good luck!

Case closed due to no further comments received.


Rename to try_register and try_unregister

Extracted from https://github.com/pingcap/rust-prometheus/pull/197
This PR renames (un)register to try_(un)register to better conform Rust's naming convention. Also provides (un)register as try_(un)register.unwrap(). In this way, user can simply use register in most cases without adding unwrap().

I ask you to consider this PR more carefully before merging it, perhaps even consider just closing it.
When I look at the API Guidelines I don't see mention of try_ being a naming convention. Neither does the Naming Conventions in the book or the RFC.
I don't think Rust trends towards having dangerous, unsafe, panicing APIs as the 'default' call in most places. io::Write, io::Read, etc all return results instead of panicing. This is better both for semantics (the choice to panic is explicit) and for safety (code is more easily improved, since panics are a terribly unfriendly user experience).
I would actually say this change is very much against the conventions I've learnt from working with Rust crates over the last 5 years, especially for libraries.

@breeswish Do you think we can close this?


⚠ Bofrost.be has degraded performance

In 0d10983, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 2434 ms

Resolved: Bofrost.be performance has improved in 92362cf.


feat: allow setting AllowedIps through WireguardPeer

Address #110

@uhthomas  would you be able to review this for me?

:tada: This issue has been resolved in version 2.4.0 :tada:
The release is available on:

v2.4.0
GitHub release

Your semantic-release bot :package::rocket:


[Shannon Explorer][Living Ticket] Poktscan Shannon Explorer

Objective
Achieve parity (and beyond) with Morse's poktscan.com for Shannon.
Origin Document

Shannon's first explorer: https://shannon.testnet.pokt.network/poktroll/block
Indexing framework: https://github.com/pokt-network/pocketdex/
Discord Thread: https://discord.com/channels/553741558869131266/1205594535405817896

Goals

Build the best network explorer possible with all the information anyone would want about Pocket Network and the Gateways operating on top of it

Deliverables

[ ] Achieve parity with the existing Shannon Block Explorer
[ ] Achieve parity with poktscan.com for Shannon
[ ] Iterate on needs & requirements specific to a Shannon MainNet blocker exploerer

Creator: @Olshansk
Co-Owners: @bryanchriswhite @jorgecuesta @RawthiL

I think we almost achieve this, what you think @Olshansk ?

@jorgecuesta This is a "living ticket" so let's keep open for a couple more weeks in case new requests come in, but then we'll close this out as the MVP is nearly complete.

Closing this out and we'll create a new one with more concrete details / requirements when the time is right.!


Implement changes in async operators/sensors made in OSS

Find List of operators/sensors which need changes compared to OSS operator/sensors and implement those changes.

Kubernetes - cleanup remote pods
SFTP - filepath not being used.

Can we create separate issues for each operator identified above? @rajaths010494

since we have contributed these operators to OSS. This is not a valid request


New Flask course in Farsi added

What does this PR do?
add a Flask section and a course in it
For resources
Description
I know it's not a good practice to add a section for one playlist, but, there are not many sources in Farsi for flask (maybe there is but I couldn't find them). so let this stay here, maybe someone saw it and add new courses to it.
Why is this valuable (or not)?
it can help people to find a free course on the flask.
How do we know it's really free?
it's on youtube ;)
For book lists, is it a book? For course lists, is it a course? etc.
yes its a course
Checklist:

[x] Read our contributing guidelines
[x] Search for duplicates.
[x] Include author(s) and platform where appropriate.
[x] Put lists in alphabetical order, correct spacing.
[x] Add needed indications (PDF, access notes, under construction)

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

Thanks for the explanation


(PE-19438) Stop passing -c to upgrades from MEEP

Prior to this commit we were essentially always passing in a config
to the installer during upgrades because we typically provide some
sort of custom answers for many tests. This meant that we were not
really testing upgrades without a config file being passed in.
This commit updates the beaker to not pass in a config/-c option
on upgrades from a MEEP install. In order to pass in the custom answers,
I have instead made use of the update_pe_conf method to inject the
answers.

@highb some of the do_install specs need to be fixed up to account for the additional commands being run.

This was pulled directly into puppetlabs/beaker-pe#59 and then I recreated the pe-modules-next branch.


Error when running sudo apt-get update on build 14372

Hi,
My Windows 10 Pro Insider Preview Build Number: 14372.rs1_release.160620-2342
I ran Bash as an Admin, and running sudo apt-get update returns the following error:
0% [Working]http: ../sysdeps/posix/getaddrinfo.c:2583: getaddrinfo: Assertion `(__extension__ ({
const struct in6_addr *__a = (const struct in6_addr *) (sin6->sin6_addr.__in6_u.__u6_addr32);
__a->__in6_u.__u6_addr32[0] == 0 && __a->__in6_u.__u6_addr32[1] == 0 &&
__a->__in6_u.__u6_addr32[2] == __bswap_32 (0xffff); }))' failed.
E: Method http has died unexpectedly!
E: Sub-process http received signal 6.

Can you post an strace? e.g. sudo strace apt-get update
Does curl http://google.com work either?

This is the output of sudo strace apt-get update: log.txt
Yes, 'curl http://google.com' works fine.

The log you posted seems to be successful?  I don't see any SIGABRT (signal 6).
write(1, "\rReading package lists... Done\r", 31) = 31

Hi, I found a solution: just running sudo apt-get update a few times, and the error gone, that why the about log is successful.

Go /etc/hosts and Append "<IP_ADDRESS>    " to fix this problem.

You can also remove /etc/hosts and restart bash.exe to generate a version that contains your hostname.

Exactly the same problem on my 14936.rs_prerelease. Existed at least since the last Windows version.
@zths 's solution does not work.

There is a warning message when I tried to sudo apt get xxx: sudo: unable to resolve host CLOUD-PC.
zths 's solution works for me!

I'm new user in using linux on windows and trying to type
sudo
but i got error unable to resolve host and i don't know exactly what to do, could you help me?
@zths @benhillis

Could you try removing /etc/hosts and relaunching bash?

I can't remove it !
rm: remove write-protected regular file ‘hosts’? Y                                                                                rm: cannot remove ‘hosts’: Permission denied

@Abdelhamidkassem - sudo rm /etc/hosts

Yeah it works well now, Thanks 👍
@benhillis

Same issue on windows 10 v1607, even rebuild hosts by sudo rm /etc/hosts then restart bash.
And no problem with curl --head https://www.google.com, it works and get right response.
Windows: 10 V1607, OS 14393.953
Last Update: 15 Mar, 2017.
Distributor ID: Ubuntu
Description:    Ubuntu 14.04.5 LTS
Release:        14.04
Codename:       trusty


Changed CollectionFormatter to accept strings as separators.

Added comparison protocol to optionals.
Avoided using some non ANSI methods to easy compatibility with VA.

Coverage remained the same at 100.0% when pulling cea2bb05de77b9ac58e42f7c1c9c4a8d4b2b0bb3 on compatible-protocol into 5e69de17e7cf75aced108bfa32b78c6c3432fed7 on master.


Auf1 is broken

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm reporting that yt-dlp is broken on a supported site
[X] I've verified that I'm running yt-dlp version 2023.07.06 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[ ] I've read about sharing account credentials and I'm willing to share it if required

Region
austria
Provide a description that is worded well enough to be understood
auf1 changed somthing
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
yt-dlp -vU https://auf1.tv/nachrichten-auf1/nachrichten-auf1-vom-14-september-2023
[debug] Command-line config: ['-vU', 'https://auf1.tv/nachrichten-auf1/nachrichten-auf1-vom-14-september-2023']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>[b532a3481] (pip)
[debug] Python 3.9.2 (CPython x86_64 64bit) - Linux-5.10.0-23-amd64-x86_64-with-glibc2.31 (OpenSSL 1.1.1n  15 Mar 2022, glibc 2.31)
[debug] exe versions: ffmpeg 4.3.6-0, ffprobe 4.3.6-0, phantomjs broken, rtmpdump 2.4
[debug] Optional libraries: Cryptodome-3.14.1, brotli-1.0.9, certifi-2020.06.20, mutagen-1.45.1, pyxattr-0.7.2, sqlite3-2.6.0, websocket                                                s-10.2
[debug] Proxy map: {}
[debug] Extractor Plugins: Auf1IE, Auf1RadioIE, DTubePluginIE, DTubeQueryPluginIE, DTubeSearchPluginIE, DTubeUserPluginIE, PmWissenIE, P                                                mWissenSearchIE, ServusSearchIE, ServusTVIE
[debug] Plugin directories: ['/usr/local/lib/python3.9/dist-packages/yt_dlp_plugins']
[debug] Loaded 1865 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Available version<EMAIL_ADDRESS>Current version<EMAIL_ADDRESS>yt-dlp is up to date<EMAIL_ADDRESS>[auf1] Extracting URL: https://auf1.tv/nachrichten-auf1/nachrichten-auf1-vom-14-september-2023
[auf1] nachrichten-auf1-vom-14-september-2023: Downloading JSON metadata
ERROR: [auf1] nachrichten-auf1-vom-14-september-2023: No video formats found!; please report this issue on  https://github.com/yt-dlp/yt                                                -dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/dist-packages/yt_dlp/YoutubeDL.py", line 1560, in wrapper
    return func(self, *args, **kwargs)
  File "/usr/local/lib/python3.9/dist-packages/yt_dlp/YoutubeDL.py", line 1709, in __extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/usr/local/lib/python3.9/dist-packages/yt_dlp/YoutubeDL.py", line 1768, in process_ie_result
    ie_result = self.process_video_result(ie_result, download=download)
  File "/usr/local/lib/python3.9/dist-packages/yt_dlp/YoutubeDL.py", line 2732, in process_video_result
    self.raise_no_formats(info_dict)
  File "/usr/local/lib/python3.9/dist-packages/yt_dlp/YoutubeDL.py", line 1073, in raise_no_formats
    raise ExtractorError(msg, video_id=info['id'], ie=info['extractor'],
yt_dlp.utils.ExtractorError: [auf1] nachrichten-auf1-vom-14-september-2023: No video formats found!; please report this issue on  https:                                                //github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -                                                U

[debug] Extractor Plugins: Auf1IE, Auf1RadioIE

We can't offer support for plugins. The plugin's dev(s) can do that

[debug] Command-line config: ['-vU']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>[b532a3481] (pip)
[debug] Python 3.9.2 (CPython x86_64 64bit) - Linux-5.15.108-1-pve-x86_64-with-glibc2.33 (OpenSSL 1.1.1n  15 Mar 2022, glibc 2.33)
[debug] exe versions: ffmpeg 4.3.6-0, ffprobe 4.3.6-0, phantomjs broken, rtmpdump 2.4
[debug] Optional libraries: Cryptodome-3.11.0, brotli-1.0.9, certifi-2020.06.20, mutagen-1.45.1, pyxattr-0.7.2, sqlite3-2.6.0, websockets-10.1
[debug] Proxy map: {}
[debug] Extractor Plugins: Auf1IE, Auf1RadioIE, DTubePluginIE, DTubeQueryPluginIE, DTubeSearchPluginIE, DTubeUserPluginIE, PmWissenIE, PmWissenSearchIE, ServusSearchIE, ServusTVIE
[debug] Plugin directories: ['/usr/local/lib/python3.9/dist-packages/yt_dlp_plugins']
[debug] Loaded 1865 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Available version<EMAIL_ADDRESS>Current version<EMAIL_ADDRESS>yt-dlp is up to date<EMAIL_ADDRESS>


flux tf-controller dependency management with git repository source

flux tf-controller dependency management with git repository source
PULL REQUEST: https://github.com/jmuma1/tf-controller-muma/pull/2
Using this link (https://docs.gitops.weave.works/docs/terraform/using-terraform-cr/depends-on/) on leveraging depending management with the terraform flux tf-controller, I am trying to apply a yaml file called tf-resources.yaml in order to create an aws s3 bucket (random/main.tf), and then create in a separate directory (so-random/main.tf), its associated s3 bucket acl, which depends on the id of the s3 bucket created in the 'random/main.tf' directory. However, the example in the link uses an OCI Repository as its source. For my use case, my source is a Git Repository, so the example in the docs is not totally applicable for me. I made changes where necessary to adapt the example to my Git Repository source. When I run [tfctl get] to look at the status of [terraform plan/apply] for the 2 resources in tf-resources.yaml, I eventually get a 'terraform plan' error via the tf-controller when it is time to create the second resource (aws-s3-bucket-acl); [ error running Plan: rpc error: code = Internal desc = variable "id" was required but not supplied ]. I am not sure why since I have provided a variables.tf file with a variable name that matches the variable name I provide in the [as: ] field in tf-resources.yaml
FOR MORE CONTEXT ON HOW I GET TO THIS POINT:

I create an EKS cluster with flux installed in it (The terraform files for this are not provided)
I run [ aws eks update-kubeconfig --region us-east-1 --name "name of eks cluster" --dry-run > ~/.kube/config ] to update the certificate in the kubeconfig file
I run [ kubectl apply -f tf-controller.yaml ] to create the tf-controller that leverages terraform commands
Install flux binary
Install tfctl cli
Finally, I run [ kubectl apply -f tf-resources.yaml] to attempt to create the aws-s3-bucket and its dependent aws-s3-bucket-acl
***NOTE: In tf-resources.yaml, I removed the secrets/Private Key for security reasons. If anyone plans to pull this down locally and try to recreate my steps, let me know and I will provide a new secret/private key to use for this issue
The aws-s3-bucket is successfully created as it shows up in the console and after running [ tfctl get ] a couple times to the status update on the terraform plan/apply, tfctl eventually outputs [ Outputs written: main@sha1:45646546546544456458zfghghfgghfhfghfgh8g ]
When I check the details of the aws-s3-buckets-outputs secret that gets created, I see the base64 encoded id is in there. To further confirm that the right bucket id is outputted and stored in this aws-s3-buckets-outputs secret, I use a base64 converter, which assures me the converted code is the desired name/id of the s3 bucket
But the second part of [tfctl get] output says [ error running Plan: rpc error: code = Internal desc = variable "id" was required but not supplied ]
The containers then terminate and try to recreate, so the terraform workflow cycle repeats
Please Share Thoughts and Help Debug from this Pull Request: https://github.com/jmuma1/tf-controller-muma/pull/2

Hi @jmuma1 as: id that you specified in YAML works only at the YAML level and you have to refer to it via template for example.

Hi @jmuma1 if you can share the  tf-resources.yaml file it would help to identify what is wrong

Hi @jmuma1 if you can share the tf-resources.yaml file it would help to identify what is wrong

Hi. I solved the variable 'id' issue. I had to use varsFrom and varsKeys instead in the yaml file

Hi @jmuma1 as: id that you specified in YAML works only at the YAML level and you have to refer to it via template for example.

Hi. I solved the variable 'id' issue. I had to use varsFrom and varsKeys instead in the yaml file. But I have an issue now where I commented out the s3 resources in the .tf file and I am trying to apply a vpc and an associated subnet instead. For some reason, the tf-controller still creates an s3 bucket although I have commented that out. I deleted all the state file secrets and nuked my account and redeployed but the tf-controller still recognizes the s3 bucket resources and ignores the vpc and subnet

Hi @jmuma1 if you can share the tf-resources.yaml file it would help to identify what is wrong

Hi. I linked the pull request with the necessary files. But here you go: https://github.com/jmuma1/tf-controller-muma/pull/2. However, I solved the variable 'id' issue. I had to use varsFrom and varsKeys instead in the yaml file. But I have an issue now where I commented out the s3 resources in the .tf file and I am trying to apply a vpc and an associated subnet instead. For some reason, the tf-controller still creates an s3 bucket although I have commented that out. I deleted all the state file secrets and nuked my account and redeployed but the tf-controller still recognizes the s3 bucket resources and ignores the vpc and subnet


Static signals

All signals could be static and not as instance members. This would allow for greater modularity of game developer's code and doesn't require to pass everywhere a Game instance.
Instead of this:
// Inside Phaser.Loader constructor
this.onFileComplete = new Phaser.Signal();

Could be this:
Phaser.Loader.onFileComplete = new Phaser.Signal();

All loaders and other parts of the Phaser code should then use these global signals, eventually passing game instance as an argument to callbacks.
Then third-party additions to Phaser (e.g. custom loaders) would use these global signals instead of inventing their own ones.
Global signals are implemented in the Django web framework like this and it greatly helps to decouple modules. Note that Django is not game development tool, but contains very similar signals like in Phaser.

This feature request has been moved to the Phaser 3 feature list (so is being closed here)


Add a Gitter chat badge to README.rst

scrapinghub/dateparser now has a Chat Room on Gitter
@waqasshabbir has just created a chat room. You can visit it here: https://gitter.im/scrapinghub/dateparser.
This pull-request adds this badge to your README.rst:

If my aim is a little off, please let me know.
Happy chatting.
PS: Click here if you would prefer not to receive automatic pull-requests from Gitter in future.

[Current coverage][cc-pull] is 94.36%

Merging [#195][cc-pull] into [master][cc-base-branch] will not change coverage

@@             master       #195   diff @@
==========================================
  Files            29         29
  Lines          2555       2555
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits           2411       2411
  Misses          144        144
  Partials          0          0

Powered by Codecov. Last updated by [c550625...8e17aef][cc-compare]
[cc-base-branch]: https://codecov.io/gh/scrapinghub/dateparser/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/scrapinghub/dateparser/compare/c550625503f6a3bc36e9464431bf3971f192d0e4...8e17aef7e7a73ec8cf9c82c563567c60ac546787
[cc-pull]: https://codecov.io/gh/scrapinghub/dateparser/pull/195?src=pr


Expand information on model roles, particularly summarize

This provides more information on the model roles, particularly the summarize role. This is important because that role is set by default to OpenAI's free trial, so the user is likely to want more information on it, eventually.

Great work! Appreciate you doing this : )


HighlightPipe doesn't supports sanitized values

Hi I migrated today to v.1.1.0 and adapted all params. I got problems with the text-selection. When I typed in one letter in the ng-select-component I got this error
TypeError: value.match is not a function at HighlightPipe.transform (select-pipes.js:15)
It seems that the function receives a sanitized value and not a pure value. So by adding one line to check the value if it is sanitized or not solves the problem.
HighlightPipe.prototype.transform = function (_value, args) {

       //this line fixes the problem
        var value =  _value.changingThisBreaksApplicationSecurity ? value.changingThisBreaksApplicationSecurity:_value;

        if (args.length < 1) {
            return value;
        }
        var query = args[0];
        if (query) {
            var tagRE = new RegExp('<[^<>]*>', 'ig');
            // get ist of tags
            var tagList = value.match(tagRE);

I hope you can fix it soon. It blocks our migration to 1.1.0.

#438 #437

Same as #437 #438

As this major bug is present in the only version supporting Angular2, fixing it soon would be really appreciated.

+1

To follow up with @GreenToast's recommendation, if anyone is looking for a hotfix, you can drop this into your main.ts file:
import {escapeRegexp} from 'ng2-select/components/select/common';
import {HighlightPipe} from 'ng2-select/components/select/select-pipes';

HighlightPipe.prototype.transform = (value: any, args: any[]) => {
    if (args.length < 1) {
        return value;
    }

    let query = args[0];

    if ( query ) {
        value = value.changingThisBreaksApplicationSecurity || value;

        let tagRE    = new RegExp('<[^<>]*>', 'ig');

        // get ist of tags
        let tagList  = value.match( tagRE );

        // Replace tags with token
        let tmpValue = value.replace( tagRE, '$!$');

        // Replace search words
        value = tmpValue.replace(
            new RegExp(escapeRegexp(query), 'gi'),
            '<strong>$&</strong>'
        );

        // Reinsert HTML
        for (let i = 0; value.indexOf('$!$') > -1; i++) {
            value = value.replace('$!$', tagList[i]);
        }
    }

    return value;
};

+1 @Scipionh

Are you getting HighlightPipe.prototype.transform = (value: any, args: any[]) => { args parameter as an array? For me it was a string and so it ended up highlighting only the first character. I created a PR (#454) that fixed this issue in here.


Batch creating accounts for user groups

Talked to @camallen about this a couple days ago. I'm speaking at an event in about 2 weeks, and the organizers want all of the attendees (students and teachers) to sign into wildcam gorongosa and make some classifications (we'll then query the classification data for those IDs).
The trick is that there are 200 attendees, and the organizers need to provide the attendees with pre-made accounts. Is there any way we can batch create a set of usernames (and passwords?) for this situation?
I realize that this is a recurring problem that we should solve long-term, but am also hoping there is a short term solution we can use for this event so that we don't have to create 200 accounts via the GUI.
@camallen @edpaget @marten @astopy any thoughts?

Yes we should make an interface for doing this.

@edpaget you thinking that we support this in the front end just creating user accounts normally in a loop and storing logins, emails, etc? Or are you proposing we provide something in panoptes api for this?

@edpaget or @camallen the immediate use case is for a group that wants to generate 200 logins and hand them out next week. Would it be possible for us to do a one-off generation of names (say hhmi001, hhmi002, etc) for next week? (And then use that process to drive the longer term solution?)

@aliburchard yeah we can do a one time thing (I've done it several times for kelly). I'm not sure the best way to handle doing this overall yet.

@edpaget thanks!! Okay, so they've asked for 250 logins (HHMI001 thru HHMI250). If all the passwords can be the same, they've requested a specific password (I'll pass it through slack). Could we get this done by Thursday Sept 24 so they can mail out the addresses on Friday?

Yes slack me the password I'll create them later today.

@aliburchard did this get sorted?

Yes, but the more the issue of of being able to create users more generally.

I think we shouldn’t be offering this as a front end option - at least until enough people need it that it becomes a pain. Doing it easily on the API is a good idea though.

On 23 Sep 2015, at 23:28, Edward Paget<EMAIL_ADDRESS>wrote:
Yes, but the more the issue of of being able to create users more generally.
—
Reply to this email directly or view it on GitHub https://github.com/zooniverse/Panoptes/issues/1349#issuecomment-142572975.

Has this been implemented? I'd like to be able to create individual users via the API if possible.

Nope, it'd be closed if it was. You can create users via the api, POST https://www.zooniverse.org/api/users with a payload similar to what you see on the signup / register forms https://www.zooniverse.org/accounts/register

Of course, just wanted to know what's been enabled. Posting my questions to #546 since it's more relevant.


Channel Setting "New Messages" for PMs

Alright! This seems to work.
Also tested to make sure the setting saves properly, and did a Find All CanDisplayChat to make sure this doesn't accidentally goof with anything else.

Hmmm. A private tab has chat, anyway... so I don't really see this being an issue. Approved. :100:


[WFLY-19311]  Supress wildfly-plugin-tools from being mapped to WildFly server CVEs

https://issues.redhat.com/browse/WFLY-19311

More information about the wildfly-bot[bot]

Thanks @darranl @jamezp


Is anyone reviewing Pull Requests?

There are too many Pull Requests left pending and all latest commits seem to be made directly by the maintainers. Are pull requests going to be reviewed anytime soon?
Or does this repository need more maintainers if the current ones are busy?

Its so-called Mozilla's way......
They know best, or whatever to call it.


getPositionStream not working when app paused

when app is on the screen it works well
but when app paused ,getPositionStream not triggered even getCurrentPosition getting last known position not the new position
using real device android 10
flutter channel dev, 1.21.0-7.0.pre
geolocator: ^5.3.2+2

This is correct the geolocator doesn't support running in the background. We have enhancement issue for this (see #53), but it is hard to implement and I haven't got around to it.
Feel free to contribute, we are thinking of something similar to what is documented here for the geofencing solution.


RFC: Jribbble 3.0 and Glitch Setup Guide

Guide: https://jribbble.glitch.me
While I'm getting the guide done-enough and 3.0 https://github.com/tylergaw/jribbble/pull/17 done enough, I could use some more eyes on this to see if it's helpful to getting folks back up and running with Jribbble and Dribbble API V2.
If you have any feedback, bugs, et al, please comment here. Thank you.

Got feedback on #16 and #18 calling this good for now.


viewer.html#locale= not working on pdfjs-1.0.907

Hello,
No much additional to say.  See, for example:  http://mozilla.github.io/pdf.js/web/viewer.html#locale=es
Thanks in advance,
Julián

There is no default culture for 'es'; 'es-MX' or 'es-ES' shall be used. PDF.js project is not managing localization files, but borrowing then from the Firefox. If you have a custom solution, you are welcome to copy es-MX/-ES  into the es folder. Closing as won't fix.

Sure, I get that.
(Being a Mexican myself I guess I can live perfectly with that ;-))
But (did you at least tried?) the same applies to es-MX, es-ES, fr-FR and, I'm pretty sure, anything but en-US.
See attached image.
I'm on Chrome 40.0.2214.111 / OS X 10.10.2

For sake of completeness:

Same behavior on Firefox 35.0.1
Same behavior on Opera 27.0
On Safari 8.0.3 seems to automatically use Spanish and then no other language can be selected via locale#

All my four browsers are on Spanish.

Please notice that you have to ("hard" on Chrome) refresh the page after you change stuff in URL bar, 'es-MX' works for me:

Also notice that we disabled this feature for production mode, see https://github.com/mozilla/pdf.js/blob/master/web/viewer.js#L1432 . Changing viewer UI via URL is not what end-user will expect, and we don't want publishers to create content with such "features".
If you are using the viewer on your web site, please add the code to get/pass locale preference some other way than hash.

Than final comment explains it.
I don't understand this part "[...] we don't want publishers to create content with such "features" [...]", but never mind.
We'll look for a workaround for our case (where actually a change in the UI is exactly what the user expects...)
Thanks.


Support for listing CIDR range

I often use https://cidr.xyz/ to see the usable IP range for a given CIDR notation.
Something like this in dns.toys would be super useful:
dig <IP_ADDRESS>/24.cidr @dns.toys

<IP_ADDRESS>/24.			1	IN	TXT	 "<IP_ADDRESS> - <IP_ADDRESS>" "256"

I can work on a PR, if you're open to add support for this.

Sounds good!


Fix read original changelog content issue

Problem: always read stable version's changelog
Fix: read beta version's changelog if the current package is beta

this change works well


Dropdown rework using library

Another version of the dropdown based on the choicesjs library

Single select using ChoicesJs library in draft
Multi select using ChoicesJs library => no possiblity to include checkboxes before the select options


Updates for August 1, 2024

Bug fixes and features including virtualization.

cc @aditmohan96 I can't seem to add you as a reviewer.

https://github.com/rivosinc/JumpStart/pull/21/commits/096a652a796fd7811e14be2b7f93ff19bcf6deda
maybe change the commit message here ?

The failure is due to a recent Spike change. Filed:
https://github.com/riscv-software-src/riscv-isa-sim/issues/1755

096a652
maybe change the commit message here ?

Done.