Net core odata with versioning and template in url prefix

Hello,
it might be a stupid question but I coudn't find anything in the documentation about it.
The idea is to pass a tenantId in the URL and process that in a ODataController to select the current tenant. It should not be part of the odata query so I wanted to have it in such a setup.
I have a route setup like this
routes.MapVersionedODataRoutes("odata-bypath", "api/v{version:apiVersion}/tenants/{tenantId}", models);
and a controller such as
[ODataRoutePrefix("WorkItemSearch")]
  public class ODataWorkItemSearchController :
      ODataController
  {
      public ODataWorkItemSearchController(MyDbContext context)
      {
           this.context = context;
      }

      private MyDbContext context;

      [EnableQuery]
      public IQueryable<ODataWorkItemSnapshot> Get(Guid tenantId)
      {
          return search.Snapshots.Where(x => x.TenantId == tenantId);
      }
}

When accessing api/v1/tenants/00000000-0000-0000-0000-000000000001 i get the odata context as expected.
However, when accessing api/v1/tenants/00000000-0000-0000-0000-000000000001/WorkItemSearch i get a 404.
I also tried /api/v1/tenants/00000000-0000-0000-0000-000000000001/WorkItemSearch/00000000-0000-0000-0000-000000000001 just to make sure but there I get the same 404 response.
Swagger reports  api/v1/tenants/{tenantId} as the path to the controller so I don't know what is going wrong.
Any ideas?
Thanks,
Klemens

Yes - this type of configuration will work. I suspect that this is purely a matter of configuration. I was able to get things working using the provided Basic OData Example with versioning.
First, change your route mapping to:
routeBuilder.MapVersionedODataRoutes(
    "odata",
    "api/v{version:apiVersion}/tenants/{tenantId:guid}",
    models );

Then, make sure that your controller has all of OData route attributes. I recommend going either full attribute-based or full convention-based. It's hard to rationalize things otherwise and the results will be unpredictable. Here's a modified version of the Orders controller that works:
[ApiVersion( "1.0" )]
[ODataRoutePrefix( "Orders" )]
public class OrdersController : ODataController
{
    // GET ~/api/tenants/{tenantId}/v1/orders
    [ODataRoute]
    public IActionResult Get( Guid tenantId ) =>
        Ok( new[] { new Order() { Id = 1, Customer = "Bill Mei" } } );

    // GET ~/api/tenants/{tenantId}/v1/orders/{id}
    [ODataRoute( "{id}" )]
    public IActionResult Get( Guid tenantId, [FromODataUri] int id ) =>
        Ok( new Order() { Id = id, Customer = "Bill Mei" } );
}

I hope that helps.

Hello,
thanks for the fast answer! I retired the example with your suggestion but still cannot get it to work. The method gets indeed called but the tenantId will always be the default value (Guid.Empty).
I attached the small changed that i made to the example, maybe there really is something obvious that i am missing.
Thanks again for the help.
ODataBasicSample.zip

Confirmed. I guess I blew right past that very small, but important detail. Model binding in OData can be infuriating at times. Sometimes you need attribution and sometimes you don't. In general, I've started always adding the attributes (ex: [FromODataUri]) so I never go crazy over these little issues.
In this case, you just need change the parameter to [FromRoute] Guid tenantId. I'm not sure why OData isn't picking it up otherwise because it will pick up query parameters. I suspect it has something do with the hand-off between the intrinsic routing infrastructure and when OData takes over. Regardless, I was able to get the request to succeed and get a non-empty GUID with this change.
I hope that helps.

Thanks! With the extra attribute i got it to work! Next step for me was to try Swagger to get the parameter. Here its strange again. ODataQueryOptions seems to be expanded to more than 1700 query fields. I filtered it via an IOperationFilter with
foreach (var parameter in operation.Parameters.OfType<NonBodyParameter>().ToList())
            {
                var description = apiDescription.ParameterDescriptions.First(p => p.Name == parameter.Name);

                if (typeof(ODataQueryOptions).IsAssignableFrom(description.ParameterDescriptor?.ParameterType))
                {
                    operation.Parameters.Remove(parameter);
                }
            }

but the output still is not correct. TenantId is now present twice for some reason and there are not all fields that are allowed present. What do I need to do to get the ODataQueryOptions properly read? Do I need to do something special? My Odata.ApiExplorer nuget is at version 3.2.2.

1700?! That definitely doesn't sound right. ODataQueryOptions and ODataQueryOptions<T> should be ignored completely. They have a special parameter source that should result in them being ignored. What is the method signature of the action that causes this?
The duplicate tenantId is almost certainly a bug. The API Explorer considers any parameters not satisfied by the EDM to be query parameters. It's clearly not checking to see whether the parameter has already been added from another source, such as the path. That should be a straight forward fix.

I would assume that for the same reason that the FromRoute attribute is required the tenantId is not properly matched.
The method signature is nothing special
   ```

[ODataRoute]
[ProducesResponseType(typeof(ODataValue), StatusCodes.Status200OK)]
[EnableQuery(MaxTop = 100, AllowedQueryOptions = AllowedQueryOptions.Select |
AllowedQueryOptions.Top |
AllowedQueryOptions.Skip |
AllowedQueryOptions.Count)]
public async Task Get([FromRoute] Guid tenantId, ODataQueryOptions options)
for some reason i don't see the same behaviour in the example but cant see any difference in the config. For me it seems that the ODataQueryOptions class is not being recognized as a special type. There are no errors in the log so its very hard for me to pinpoint. So a pointer on what i can look for is highly appreciated.

Hmmm... I know for sure that ODataQueryOptions, Delta, and a few other types have special handling by the OData model binder. This results in them not requiring attribution for them to resolve. They report themselves to the API Explorer as Custom or Special. This is similar to the behavior of CancellationToken and, now, the ApiVersion if defined as a parameter in your action.
Do you have a partial sample (or repro) that demonstrates the options exploding? Do you have an example of one or more parameters that should not be there? From your description, it sounds like you're getting a bunch of junk. I do know, and recently faced a somewhat similar situation, that ASP.NET Core intrinsically handles complex model binding from a URL. This means that if you forget to use [FromBody] on a POST or PUT, it might shread the object into constituent pieces where each property is a query string parameter. That doesn't seem to the case in your example, but something like that could account for a huge number of parameters.

I believe the latest patch should fix the duplicate route template parameter issue. Were you able to confirm that? Were you also able to solve the query option explosion issue?

Ok, i will try the new patch, thanks a lot! This week I could not really spend a lot of time to reproduce it but it behaved strange in general. Once I added AllowedQueryOptions the tenantid was still only taken from the querystring and not the route, when I only had the EnableQuery attribute it started working again. Then I did a request via swagger and subsequent calls always returned the default value.
As soon as i have more info i will update you.

I spent a bit more time with it and worked from another angle. I created a new project with the same template as before (with angular), added an odata controller to it and can get the same behaviour. Unfortunately the project is not that small but it might still help to pinpoint the issue with swagger.
I removed all angular references from the solution that are not necessary for reproduction. If you start the project and go to /swagger there is a single People controller entry that will show the many parameters once expanded.
quickapp.zip

I run into the same issue. With many controllers this results in a OutOfMemoryException :-)
if you have a controller method with a ODataQueryOptions parameter, it will result in many parameters:

I also have the same with the Delta parameter:

So yes, I also think, the Odata Parameters (OdataQueryOptions and Delta) are not well handled.
Here my signature of the patch method:

Here my signature from the get method:

Also I noticed that some OdataQueryOptions are recognized as BodyParameter.
I tested it with the current release and also with the preview release.
Thanks for helping us out :-)

As a workaround I am using this to filter all ODataQueryOptions fields in a IOperationFilter
foreach (var parameter in operation.Parameters.OfType<NonBodyParameter>().ToList())
            {
                var description = apiDescription.ParameterDescriptions.First(p => p.Name == parameter.Name);

                if (typeof(ODataQueryOptions).IsAssignableFrom(description.ParameterDescriptor?.ParameterType))
                {
                    operation.Parameters.Remove(parameter);
                }
            }

I found out the following:

The PseudoModelBindingVisitor has source.IsGreed = false, that's why the parameters will get documented.
When I remove from my Test-Controller the [ODataRoutePrefix("test")] attribute, the OdataQueryOptions and Delta parameters don't get documented (right!)

May that will help you to help us to solve the problem :-)

Thanks @orphisAG. This will be very useful is the investigation.

Another information I found out:
ModelBuilder:
builder.EntitySet<ActivityDtoV3>("Activity").EntityType.HasKey(o => o.Id);
Controller:
[ODataRoutePrefix("Activity")]
 public class ActivityController : OdataController
My attribute name was "activity" on the controller and ODataQueryOptions was not ignored in the documentation (Swagger). Then I renamed it to "Activity" and then it starts working.

I got the same problem so i did some digging and found out why it marks it as query instead of body.
src/Microsoft.AspNetCore.OData.Versioning.ApiExplorer/AspNetCore.Mvc.ApiExplorer/ODataApiDescriptionProvider.cs
`static void UpdateBindingInfo( ApiParameterContext context, ParameterDescriptor parameter, ModelMetadata metadata ) {
...
static bool IsSpecialBindingSource( BindingInfo info, Type type ) {
...
if ( ( type.IsODataQueryOptions() || type.IsODataPath() ) && info.BindingSource == Custom )
{
info.BindingSource = Special;
return true;
}
...
}
if ( IsSpecialBindingSource( bindingInfo, parameterType ) )
{
	return;
}
...
switch ( context.RouteContext.ActionType ) {
		...
		default:
			source = Query;
            break;
}
...

}`
In the case of the controllers / actions above the BindingSource is Body and the type is delta so it wil not return and by default it will be marked as Query if the actionType is unknown.
So IsSpecialBindingSource needs to be changed to allow delta and body i think.

Finally, circling back around...
@GerjanVlot are you saying that the BindingSource for Delta<T> isn't already marked as Body? That seems odd, but is possible. Interesting that the OData+Swagger example has a controller with Delta<T> in it and it works just fine. I'm wondering there's a little more to the story.
@all the controller name must match the entity set name. The ODataRoutePrefix does not influence the name that is used. I can't say why a name mismatch would cause this parameter explosion. Perhaps it's something of a union between multiple versions.
Resuming investigation...

@commonsensesoftware
[ApiVersion(Constants.Api.V1)]
[ODataRoutePrefix(Constants.Api.Routes.Activities)]
public class ActivityController : ODataController
{
[HttpPatch]
[ODataRoute("{activityId}")]
[Consumes(Constants.Api.ApplicationJson)]
[Produces(Constants.Api.ApplicationJson)]
[ProducesResponseType(200, Type = typeof(Activity))]
[HasPermission(Constants.Api.Permissions.Activities.Update)]
public async Task PatchActivity([FromODataUri] int activityId, [FromBody] Delta activityDelta)
{
}
}
ModelBuilder:
var configuration = builder.AddEntityType(typeof(Activity));
builder.AddEntitySet(Constants.Api.Routes.Activities, configuration);
https://1drv.ms/v/s!Alu0uzi9pf9UhYEOVTxLQSqr7qQkkQ?e=2BOqjL

@GerjanVlot a little. With the [FromBody] annotation, I would expect the parameter to explicitly be BindingSource.Body; however, this might vary by how things are built up. It's not immediately clear to me if this would override the parameter descriptor. This annotation is not needed because the OData model binding support for Delta already defines it. You have to spelunk for it, but it's provided by NonValidatingParameterBindingAttribute, which is decorated on Delta and Delta<T>.
The video helps quite a bit. It's strange that the operation would not be for an entity set. That may be the culprit. This appears to be a vanilla PATCH on the Activity entity set. I've been trying to avoid special exceptions for specific types, but perhaps adding for IDelta makes sense. If any of the Delta or ODataQueryOptions end up being sourced as a query string, I see how that would cause a :boom:.

BTW: I noticed that it looks like you are decompiling the libraries to debug. You shouldn't have to do that. All API Versioning libraries support SourceLink. If that isn't working, please file a separate issue and I'll investigate. From my experience, testing, and feedback, it does work.


⚠ Text Filter API Endpoint has degraded performance

In c4788e8, Text Filter API Endpoint (http://textfilter.roblox.com/) experienced degraded performance:

HTTP code: 200
Response time: 5933 ms

Resolved: Text Filter API Endpoint performance has improved in 6533bf5.


[Removal]:

Hotspot Name
Formal Goldenrod Goat
Hotspot b58 Address
11gyaZoaqwY9G1qGgUDDNDZzuZWhrio69NWc39fYUtEFmWNLYh8
Discord Handle
No response
Hotspot Manufacturer
PantherX
Removal Reason
I bought a used hotspot
Modifications
No
Extra forwarders
No
Extra antennas
No
Additional Information
No response

see comments of #1349

We have taken into account this removal request in the next iteration of the denylist. It may take some time before it's processed. This is an automated comment due to the volume of addition and removal requests. A future tool is in the works to provide more insight into the analysis approach made by the Helium team and community members that maintain this list.


Make api respond not found

What does this PR do?
The janus API was responding 500 when no proxy found. This PR fix it.

👍


Improve tabbed window behaviour

Our current tab handling is a bit of a hack.
To fully address that, though, we should have a clearer sense of what our desired tabbing behaviour is. as of 10.12 there's the idea of user tabbing preferences; basically the user can choose to have cmd + N always open windows as tabs, if they change a setting in System Preferences -> Dock.
I suspect we desire behaviour more like safari, where cmd+N always opens a new window, and cmd+T always creates a new tab in that window. But: I haven't thought about it much.
In any case, there's one concrete annoyance I have, currently: restoration of windows on application launch does not preserve the previous tabbing state. Any windows that were open as tabs are opened as windows.

Was this resolved in #241?

Yes, or at least the hack that I was mainly trying to document is no more. Thanks!


[docs] Add link for help on creating a custom transition

[X] I have followed (at least) the PR section of the contributing guide.

Thanks


Move the starting screen elements

According to the design, the buttons in the footer should be placed to the right, on the same level with the text above, as on the design.
The green square should be placed to the left.

https://www.figma.com/file/3UUMChv0qaOOkHoddpEFgA/SOURC3-(main)?node-id=5067%3A505

to the backlog please


Add support for OpenBSD

commit 94a1facf317066cfe266412ebc7cc2a803375526
Author: Sebastian Reitenbach<EMAIL_ADDRESS>Date:   Tue Jun 9 20:01:17 2015 +0200
    The ruby interpreter is /usr/local/bin/ruby21, named after
       the ruby version it's used to run. I made the interpreter configurable
       instead of hardcoding another one in.
       Therefore added a ruby_interpreter parameter, that defaults to
       what was there hardcoded.
       SPEC tests added for the interpreter.

commit 91d0f2e9aa0e09f382d96aa18c69631fefdb2aef
Author: Sebastian Reitenbach<EMAIL_ADDRESS>Date:   Tue Jun 9 20:00:31 2015 +0200
    * there is no distinction between client and server package,
       it's just a single package. For that reason, a check is added
       around client and server package definition, checking if it
       might already be defined. Therefore added server_package and
       client_package parameters, defaulting to what was there hard-coded.
       SPECS still seems to work.

commit 1ec792560312054a1347544fce77bca8d8cab557
Author: Sebastian Reitenbach<EMAIL_ADDRESS>Date:   Tue Jun 9 19:56:16 2015 +0200
     * I use Hiera, to define all the gory parameters, with that there
       was trouble, getting the boolean value of middleware_ssl from there
       into the module, so had to add a check around it in the
       activemq/hosts_iteration.pp and rabbitmq/hosts_iteration.pp
       This is also the reason why I had to bump minimal required stdlib
       version from 3.2.0 to 4.2.0

first time I had to unsquash commits, and it worked without messing up with Git ;)
While there, the original pull requests, due to resetting my fork disappeared :(
Anyways, now hope that meets your expectations.
Otherwise let me know how to improve, and I'll be happy to do so.
cheers,
Sebastian

@buzzdeee what's the status here?

I use it since I opened the PR and it works for me, only that the ruby_interpreter meanwhile changed to be ruby22 ;) But since it's a parameter now, no big deal anymore.
Let me know about this oski dependency for the any2bool, and I might change/add it if you want.
However, I rebased, and things still seem to work for me.

I rebased to current HEAD, while there, I figured, the cron job for the mcollective-refresh-metadata broke for me on OpenBSD, due to the use of 'bash' as interpreter. I changed that to '/bin/sh', see the added commit.
I also changed a bit how the ruby_interpreter variable is handled. Now default values are defined based on PE or not in defaults.pp, and can be overridden via the parameter to mcollective.
In the yaml.pp file, I removed that if/else statement, and only refer to $mcollective::ruby_interpreter.
That looks a bit cleeaner in my eyes, and additionally allows overriding the ruby interpreter also in PE case, which was not possible before.. Further the spec tests were adopted, and made a bit cleaner too.
btw: I also found a any2bool() function in example42/puppi module, but still the question, is a new
dependency wanted?
Anything else I could do here?

@buzzdeee thank you for this update, and… sorry for breaking it again._.
i just merged a pr by @alexjfisher which fixed some of the issues you mention

nevermind, I'm going to rebase, and see how it works out again, that's not dramatic to me ;)

alright, now rebased again, kept the str2bool around the $::is_pe that he added, so how about that now? At least also his new spec tests are also still green ;)
cheers,
Sebastian

based on the feedback, the following changes:

just always use str2bool, instead of testing with is_bool, makes it much cleaner, and allows to keep stdlib version dependency to 4.0.0
for the ruby_interpreter in the OpenBSD case, use regsubst, to create a sane default based on the ::rubyversion fact
for the site_libdir, use the same approach, for OpenBSD, use regsubst, to point to the right directory

And some added/updated spec tests.
hope that's better now, let me know if there is still stuff improvable. ;)

Thanks for the updates.  OpenBSD support will be great to have.
Personally, I'm still uneasy about turning parameters that should be bools into ones that also accept strings just to overcome a limitation when using hiera with recursive lookups (a fairly rare use-case?).  It might make the module harder to maintain.
There are quite a few other boolean parameters.  Which of these should also be changed?
In newer versions of hiera, you might be able to use the alias function?
https://docs.puppetlabs.com/hiera/3.0/variables.html#the-alias-lookup-function
I checked through a bunch of puppetlabs supported modules to see what they did.  The majority call validate_bool for all their boolean parameters.  That's probably what I'd like to see this module doing too.
But, I'm really only expressing my own view.  I (rightly) have no commit or merge access and am not the person you'd need to convince.

Just to show how my setup is:

have a central variable defined, i.e.:
role::networkmanagement::puppetmaster::mcollective::middleware_ssl: true

then when configuring the middleware, I re-use that variable, as well as for the mcollective::users I have. So when I want to switch ssl between true and false, I only need to switch in that single place.
Anyways, if it really has to be, then I could also live without that convenicence ;)
The Hiera version that comes with OpenBSD currently is 1.3.4. The maintainer once tried to update, but IIRC, there were issues with compatibility to the puppet version.

yeah, I think you need puppet 4 for hiera >=2.
I wonder if the yaml backend could be modified to support casting?
https://en.wikipedia.org/wiki/YAML#Casting_data_types

Puppet 4 will allow shenanigans such as Variant[Boolean, Regex[/foo|bar|baz/]], so I guess future modules can be more flexible.
Not sure how good an idea that is from a UX perspective, but the technical hurdle will get lower.

yeah, imo, until puppet 4 allows you to specify your own types somewhere, and we have a library filled with those, it's gonna be pretty damn unusable :(

Ah but thats Developer Experience :) I was thinking more along the lines of "it's easy to grok that this parameter should be a boolean". Parameters that behave differently when given different types of values can add cognitive load.
I feel that it's hard to discuss this without conducting some UX studies first though. What I'm saying is that I'm basically impartial at this point.

Hello:
Can this be squashed and rebased?

squashed and merged as requested, and I'm just hoping that the rubocop will now also be happy (:

dear past @igalic, i'd like to point out that puppet now does support Types declarations, and that you yourself have created a module with numerous types: https://github.com/voxpupuli/puppet-tea


Identifier should be a link rather than backtick'ed

happy you mention it. I must miss something because if I leave it as a link, I either get
README.md
  4:19-4:78  warning  Don’t use literal URLs without angle brackets  no-literal-urls  remark-lint

or with angle brackets
README.md
  4:19-4:80  warning  Found reference to undefined definition  no-undefined-references  remark-lint

If you know how to solve this, I'll be glad


Update Kafka docs with encoder info

add docs for Kafka inserts and raw, avro, json, and csv encoders

Do you mean that we need to add something other than what you suggested in your comments to better explain the changes? @mosabua

Yes .. we still should add some info that this enables insert queries and how that works, ideally just add a sample insert query that would work with the example mapping files..

Adding WIP label since @charlesjmorgan is adding JSON info and then I will do another review...  ping me when its ready for that Charles

added JSON encoder documentation

@electrum this is ready to be merged 🚀

@electrum thanks for all the feedback!

Thanks!

Congrats @charlesjmorgan !


playlist

Code is done. Containing my playlist.

Do not create your own files in the repository!

Just accepting your changes for the sake of Hacktoberfest'22


How to enable auto exposure after disable auto exposure?

Summary of your issue
I used the code cap. AutoExposure = 0.25 to disable auto exposure. What should I do if I want the camera to auto-explode again? I tried setting cap.AutoExposure to 0 or 1, but it didn't work.
Environment
OpenCvSharp 3.4.1

This might be something odd but you can try using a variable to store the previous value, like this:
double autoExposure = capture.AutoExposure;
capture.AutoExposure = 0.25;
//Do your thing with capture
capture.AutoExposure = autoExposure;

@DiomedesDominguez tks!


Full Go releaser support

A simple Go releaser config is on already in the project, but not active yet. It would be cool if we could release mnemonic binaries via go releaser.

Fixed with #5


Analytics: Track bot installs and uninstalls

Describe the solution you'd like
Track bot installs and uninstalls.
Could also track additional metadata with these (e.g. repository stars), uninstaller?
Additional context
Looking to gain more insight into how users are using the platform./
cc @tbenning @gr2m

@all-contributors please add @jakebolam for bugs

^ Was a test, looks good!


dht20 support

Could this potentially be extended to support dht20/aht20?
At least the dht20 version looks very similar/has the same pinout as far as I know. But if the protocol is also similar I do not know.

Probably?  I don't have that device, so someone else would have to write it and test it.

I have it now. Though first have to rewrite the main things in rust. One thing I noticed which could be a reasons against including support here, is that the newer part uses i2c instead, so has a different protocol and different connections.

I'm fine in principle with an i2c device being supported here.  The different device types have their own constructors, so it's not like you'd have to create it in a weird way.  If the internals have to be refactored a bit, that's fine.

Sounds good. Next thing will be to hook up the sensor to the existing device, which will also take some recabling (so far it used a dht22). I'm not sure how long that will take me, but if it's fine with you I would leave this issue open.


Added the code for repeating the words on request

Read README.md for all details of all the changes I have done.

Small request
Next time don't put what you have done in the readme file.
You can send it here. That file is for showing what your program does.

I have added some additional functionality:

The lines are read one by one.(I have put the text reading function in a for loop.
I have added the signal module to stop the code with ctrl+c.


Bugs v3.1

400 Bad Request (error code: 50006): Cannot send an empty message
Traceback (most recent call last):
File "/home/pi/Axie_Manager_Bot/src/cogs/loops/axie_alert.py", line 367, in old_listings
build,
File "/home/pi/Axie_Manager_Bot/src/cogs/loops/axie_alert.py", line 218, in send_alert
await channel.send(mentions)
File "/home/pi/venv/lib/python3.7/site-packages/discord/abc.py", line 1067, in send
message_reference=reference)
File "/home/pi/venv/lib/python3.7/site-packages/discord/http.py", line 254, in request
raise HTTPException(r, data)
discord.errors.HTTPException: 400 Bad Request (error code: 50006): Cannot send an empty message

Error at new_listings
'DataFrame' object has no attribute 'story_id'
Traceback (most recent call last):
File "/home/pi/Axie_Manager_Bot/src/cogs/loops/axie_alert.py", line 287, in new_listings
search, build["R1 deviation"], build["R2 deviation"]
File "/home/pi/Axie_Manager_Bot/src/alerts/genes.py", line 45, in get_genes
~genes.story_id.isin(genes[genes.stage == 1]["story_id"].tolist())
File "/home/pi/venv/lib/python3.7/site-packages/pandas/core/generic.py", line 5465, in getattr
return object.getattribute(self, name)
AttributeError: 'DataFrame' object has no attribute 'story_id'

Send scholar message if they use !qr in private message

!issue should skip labels without emojis


Add waveshare ESP32-S2-Pico

Disclaimer: I am not affiliated with Waveshare in any way.
It boots Circuitpython and Ljinux all nice and fine.
The activity led also works (breathing while waiting and blinking on file activity).

The issue has been resolved.

Turns out it wasn't resolved. The vid/pid Waveshare provided were stolen from Adafruit.
Please refer to https://github.com/adafruit/circuitpython/pull/6672#discussion_r935896718
As for the new pid/vid, it was provided by Espressif


NIFI-9684 FIx: Starting a PG starts RPGs in sibling PGs as well

When starting/stopping selected process group, it sends the parent process group id to the REST interface that is responsible to enable/disable transmission for all remote process groups within a process group.
This fix makes the UI to send the id of the select process group instead.
For all changes:

[x] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?

[x] Does your PR title start with NIFI-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[x] Has your PR been rebased against the latest commit within the target branch (typically main)?

[x] Is your initial contribution a single, squashed commit? Additional commits in response to PR reviewer feedback should be made on this branch and pushed to allow change tracking. Do not squash or use --force when pushing to allow for clean monitoring of changes.

For code changes:

[x] Have you ensured that the full suite of tests is executed via mvn -Pcontrib-check clean install at the root nifi folder?
[ ] Have you written or updated unit tests to verify your changes?
[ ] Have you verified that the full build is successful on JDK 8?
[ ] Have you verified that the full build is successful on JDK 11?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE file, including the main LICENSE file under nifi-assembly?
[ ] If applicable, have you updated the NOTICE file, including the main NOTICE file found under nifi-assembly?
[ ] If adding new Properties, have you added .displayName in addition to .name (programmatic access) for each of the new properties?

For documentation related changes:

[ ] Have you ensured that format looks appropriate for the output in which it is rendered?

Note:
Please ensure that once the PR is submitted, you check GitHub Actions CI for build issues and submit an update to your PR as soon as possible.

Thanks for the fix @tpalfy ! I was able to verify that it's working as expected now. +1 will merge to main.


feat!: migrate to postcss 8

adjust implementation to postcss' new tranformer api.
drop Node 6/8 support. adjusted travis/babel configs. added "engines" field to package.json.
migrate to babel@7. use esm -> cjs without additional transformations. commonjs consumers will use .default.
upgrade all dependencies to latest stable.
move postcss to "peerDependencies".
add package-lock.json to repository.

Closing due to no response.

Thanks.
Feel free to take any of these changes and apply them to current master. Further updates may be required, as this was opened over a year ago.


XIVY-13643 Add Checkbox-Component

Here is the first version of the checkbox component. I don't think it's quite finished yet as this was my first try.
At the moment you can simply control the checked status via a checkbox, but I think it would also make sense here if you could take a boolean value from a data class, right? Also maybe I should add the possiblility to make the checkbox required? I could also add a SelectManyCheckbox (similar to the old FormEditor) to the component.

However, not sure if this is necessary. What do you think?

I don't think that the required flag is needed, at least for the first impl. Because the only usecase I can imagine where a checkbox need to be marked as required is for AGB's or something like that...

And I also would not impl. the many checkbox field for now.


Update to latest SharpDX

Should be easy and makes xenko engine compatible to other projects using latest SharpDX already.

when i wrote this issue i was under the impression that xenko was still using sharpdx 3.2 but xenko 3.0 is using sharpdx 4.0.1 which is fairly new. so not a high priority issue, probably..

This should be probably be closed, there isn't a stable release past 4.0.1 that we would want to update to until 4.2.0 is released.

@Line- It's fine to close the pull request. But we can keep that issue open until a new stable version is released. It shows that we had a discussion and hence would prevent people from creating duplicates.

Updated to SharpDX 4.2.0 in latest 3.1 beta (will be released in few minutes)


TypeError: Object of type bytes is not JSON serializable

Problem Description
The windows installer starts the gui after installation; every access to a website is causing one or more of the traces below. mitmproxy Web UI does not show any data.
Web server listening at http://<IP_ADDRESS>:8081/
Proxy server listening at http://*:8080
<IP_ADDRESS>:50240: clientconnect
Addon error: Traceback (most recent call last):
  File "mitmproxy\addons\view.py", line 565, in request
  File "mitmproxy\addons\view.py", line 503, in add
  File "blinker\base.py", line 266, in send
  File "blinker\base.py", line 266, in <listcomp>
  File "mitmproxy\tools\web\master.py", line 50, in _sig_view_add
  File "mitmproxy\tools\web\app.py", line 213, in broadcast
  File "json\__init__.py", line 234, in dumps
  File "json\encoder.py", line 199, in encode
  File "json\encoder.py", line 257, in iterencode
  File "json\encoder.py", line 179, in default
TypeError: Object of type bytes is not JSON serializable

Steps to reproduce the behavior:

Install Windows mitmproxy via installer.
Setup Windows system proxy.
Access website with HTTPS.

System Information
There is no mitmproxy executable in the installation folder; version is 6.0.0 according to installer.

Thanks for the report! I may have screwed this up. mitmproxy and mitmdump should work just fine, expect a 6.0.1 release soon. :)

6.0.1 is out, thanks again!


removing html from commit hooks

We tried to add pdoc into a commit hook (#107), but ended up being more hassle than savings, and we still need to push to the docs branch in the end.

Codecov Report

Merging #324 into master will decrease coverage by 2.61%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #324      +/-   ##
==========================================
- Coverage   91.22%   88.61%   -2.62%
==========================================
  Files          57       57
  Lines        3147     3144       -3
  Branches      604      604
==========================================
- Hits         2871     2786      -85
- Misses        147      235      +88
+ Partials      129      123       -6

Flag
Coverage Δ

#unittests
88.61% <ø> (-2.62%)
:arrow_down:

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

Impacted Files
Coverage Δ

...mmingbird/ml/operator_converters/sparkml/linear.py
42.85% <0.00%> (-57.15%)
:arrow_down:

...bird/ml/operator_converters/sparkml/discretizer.py
52.94% <0.00%> (-35.30%)
:arrow_down:

hummingbird/ml/convert.py
63.19% <0.00%> (-17.80%)
:arrow_down:

hummingbird/ml/_parse.py
75.47% <0.00%> (-10.20%)
:arrow_down:

...ml/operator_converters/sparkml/vector_assembler.py
90.00% <0.00%> (-10.00%)
:arrow_down:

...rd/ml/operator_converters/sklearn/decomposition.py
81.81% <0.00%> (-6.07%)
:arrow_down:

hummingbird/ml/_utils.py
83.90% <0.00%> (-2.30%)
:arrow_down:

hummingbird/ml/supported.py
89.58% <0.00%> (-1.05%)
:arrow_down:

hummingbird/ml/_container.py
90.22% <0.00%> (-0.53%)
:arrow_down:

...rd/ml/operator_converters/_tree_implementations.py
98.15% <0.00%> (-0.01%)
: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 e56ab57...9e738e3. Read the comment docs.

Question: should we add the string to generate the pdoc documentation here so that we don't lose it \ we don't have to dig into the PRs to retrieve how to generate the documentation?
I am not sure if this is important if we eventually switch to some other format.

Question: should we add the string to generate the pdoc documentation here so that we don't lose it \ we don't have to dig into the PRs to retrieve how to generate the documentation?
I am not sure if this is important if we eventually switch to some other format.

Ok see #327.


packaging not defined as dependency in version 1.16.0

Not sure if it's a problem of my environment, but when I install deepl==1.16.0, it does not automatically install the packaging dependency as well, which is used since 6fe6c24247391ae42baf31d77bf8fdccab913cea.
cd /tmp
python -m venv .venv
source .venv/bin/activate
pip install deepl
Collecting deepl
[...]
Installing collected packages: urllib3, idna, charset-normalizer, certifi, requests, deepl
Successfully installed certifi-2023.7.22 charset-normalizer-3.3.2 deepl-1.16.0 idna-3.4 requests-2.31.0 urllib3-2.0.7

python --version
Python 3.11.5

pip --version
pip 23.2.1 from /tmp/.venv/lib/python3.11/site-packages/pip (python 3.11)

python -m deepl
Traceback (most recent call last):
  File "<frozen runpy>", line 189, in _run_module_as_main
  File "<frozen runpy>", line 148, in _get_module_details
  File "<frozen runpy>", line 112, in _get_module_details
  File "/tmp/.venv/lib/python3.11/site-packages/deepl/__init__.py", line 20, in <module>
    from . import http_client  # noqa
    ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/tmp/.venv/lib/python3.11/site-packages/deepl/http_client.py", line 17, in <module>
    from packaging import version as packaging_version_module
ModuleNotFoundError: No module named 'packaging'

I can reproduce this, thanks for the report. Looking into a fix.

Workaround: install packaging manually using pip install packaging.

Fixed in v1.16.1
We will likely yank v1.16.0 tomorrow. I also wrote a test for our CI that should catch something like this in the future. (packaging is a dependency of poetry and as such was always present in our dev and testing environments until now)


Tailsthefox525/kade engine

is THAT how you do it?

nice pr, now close it bc wrong fork probably

I think you accidentally created a PR of your mod

what the


Add Additional Template Info on Docs

Changes

A customer asked about renaming templates, the bot should be able to answer that question.
Also give info on CAPI template management.

#2336  👈 (View in Graphite)
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

🚀 Deployed on https://673680b58b081e8d339ef940--cozy-fox-0defec.netlify.app

Merge activity

Nov 14, 7:09 PM EST: A user started a stack merge that includes this pull request via Graphite.


Code coverage

 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.:x: M1053850 sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


Provide support for AWS Serverless Application Model

Please provide support for Types such as AWS::Serverless::Function and others. See other types here : https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-specification-resources-and-properties.html

Feel free to create a PR I'd be happy to merge it!

Sorry mate, I don't know the first thing about writing extensions... 🤷♂

related: https://github.com/aws/serverless-application-model/issues/1133

related: https://github.com/aws/serverless-application-model/issues/1133

related: aws/serverless-application-model#1133

@PatMyron thank you for highlighting this! @felipe1982 as soon as there is an spec file available (like @PatMyron pointed out) I could automatically fetch the data and parse it into a snippet like the cfn resource spec

related: aws/serverless-application-model#1133

@PatMyron thank you for highlighting this! @felipe1982 as soon as there is an spec file available (like @PatMyron pointed out) I could automatically fetch the data and parse it into a snippet like the cfn resource spec

In addition, even editing a SAM template with this extension incorrectly underlings !Sub values. It may be lack of supporting the AWS::LanguageExtensions transform. See Introducing new language extensions in AWS CloudFormation.
In any case I'm going to uninstall this extension, as it doesn't support AWS SAM and makes editing worse than with no extension.

I've now added support for all AWS SAM resources and bumped the extension to version 5, make sure to update the plugin in your vscode to enable the AWS SAM resource completion!
Changelog release: https://github.com/dannysteenman/vscode-cloudformation-snippets/blob/main/CHANGELOG.md#510-2024-04-13


Firmware updates arent working [question]

I'm having an issue with updating firmwares of zwave devices. I have 3 battery powered devices and 1 zwave switch that have updates. the issue im having is that the firmware will start however the progress bar will just disappear at random percentages. Looking at the event logs for the devices, you can see the firmware update process running and then will say "firmware update complete" when it has not completed. I was able to successfully get another zwave switch to update properly but it took a couple attempts to do so. Any ideas on what may be happening?

Without seeing logs, probably a flaky connection. The update process is driven by the end device and if it stops requesting the update fragments for a while, the driver will abort the update.

Apologies for the delay. What I'm noticing is the devices are communicating fine then the response time will shoot through the roof 1000+ ms. Some of the nodes go dead then come back alive. And I have a ton of dropped commands. But when the log shows the update is "done" its not experiencing these symptom at that time. I will grab the logs on the next update (I'm waiting for a response from zooz on one) the others I just kept trying until they actually completed.
I've gone through some of the zwave troubleshooting. It's on a USB extension and it's as far away from my rack as I can get it. I'm wondering if the usb cable is picking up interference?
I'll provide more information once I get the update file and get the time to diagnose the zwave network alittle more


Allow use of existing user, org, space

It would be useful if these tests could be run with an existing user, org, and space, so that we don't have to pass in admin credentials. It looks like the vendored test helpers support existing org and space but not user--for some reason, there are two config types, but only one of them is used:
https://github.com/pivotal-cf-experimental/cf-test-helpers/blob/master/services/config.go
https://github.com/pivotal-cf-experimental/cf-test-helpers/blob/master/helpers/config.go
The vendored helpers library is also far behind https://github.com/cloudfoundry-incubator/cf-test-helpers, which does support existing user, org, and space in the same config:
https://github.com/cloudfoundry-incubator/cf-test-helpers/blob/master/config/config.go
Is there any reason to use the forked test helpers? The upstream helpers seem to have the features I'm looking for, and are more widely used. I'd be happy to update to the upstream library if you're open to the change @Infra-Red.

WDYT @Infra-Red ? Would you be open to a patch for this?


add openmensa-lovelace-card

Hi, I have added the hacs.json and missing information :) Sorry for the inconvenience.


[Vulkan] GenerateMipmaps generates strange mipmaps

GraphicsDevice.GenerateMipmaps doesn't seem to be working too well.
It looks as if it's trying to use the first mip level to generate all the mip levels, which is incorrect and leads to heavy aliasing in the mipmaps themselves.
OpenGL's mipmaps seem correct, and I can't check this with D3D11 on my engine, due to this issue and this other issue in Veldrid.SPIRV. I'll try to make a simple, isolated test sample for this issue ASAP.

Here's a hacked up test for this issue. It's hacked onto NeoDemo. This is what it should look like:

Here's a hacked up test for this issue. It's hacked onto NeoDemo. This is what it should look like:

This is, indeed, caused by incorrectly using the first mip level as the source of all the other mip levels. I've made a PR (#349) that fixes this and issue #347.

This can be closed now that #349 was merged.


Google.Apis: Error 403: Request had insufficient authentication scopes

Describe the bug
In the last few weeks I had to change passwords and access methods to the Google account where a synchronized copy of the database is stored. Due to the latest changes that force the use of Drive (restricted), I added KeeAnywhere to Google again and the first few days it worked fine but now that I updated Google password again and wanted to sync the database, that error appears. regardless of whether I go to "Save to Cloud Drive" or "Sync with URL" and enter the database URL and account credentials.
Screenshots

Environment:

Windows 10
KeePass-Version: 2.57
KeeAnywhere-Version: 2.1

I get the same error with gdrive-r

I get the same error with gdrive-r
I have found the problem and the solution:

Remove your account from KeeAnywhere
Reconnect to gdrive restricted and make sure to enable the option "See, edit, create, and delete only the specific Google Drive files you use with this app. Learn more"

After that, connection is possible but you have to save your your keepass database from KeyAnywhere in the root of gdrive (from KeeAnywhere and not directly in Google Drive - in Keepass: File->Save As->Save Copy to Cloud Drive). Otherwise you will not see your Database.

that did the trick, thank you

I get the same error with gdrive-r
I have found the problem and the solution:

Remove your account from KeeAnywhere
Reconnect to gdrive restricted and make sure to enable the option "See, edit, create, and delete only the specific Google Drive files you use with this app. Learn more"

After that, connection is possible but you have to save your your keepass database from KeyAnywhere in the root of gdrive (from KeeAnywhere and not directly in Google Drive - in Keepass: File->Save As->Save Copy to Cloud Drive). Otherwise you will not see your Database.

Thanks, this solution did worked.
Just can't understand why Google changed his access from one day to another, limiting the access to our files.
It looks like Google blocked this app (KeeAnywhere) and I'm afraid should block also the "restricted" access.

Using thus solution, can copies of Keepass/KeeAnywhere running on different computers still share the same database?

I can share the same database from pc and android phone so I bet also two different pc's can work the same.
Just be care to use the gdrive-restricted connection.

Using thus solution, can copies of Keepass/KeeAnywhere running on different computers still share the same database?

same here for successfull sharing between pc and android


Feature Request: Font size to be configurable in settings

From a usability point of view it would be advantageous to have an option to alter the default font size used on the tiles.
I note that long text lines wrap upwards towards the icon, but even a quite big increase in size should still allow a more readable label, even if it splits over two lines. It would hold less characters, but should still be enough for most needs, and could be adjusted to suit each user.
I guess if the icon size was also adjustable then users could strike a balance between what works best for them.
Bigger text smaller icon or vice versa.

The real estate of a single tile is limitted. Further constraints are caused by the used LVGL and by the design concept.
The layout of screens and tiles has been developed and optimized over several iterations and is somewhat hardcoded.
Making the layout configurable while keeping a nice look is unfortunately not as simple as it sounds.
Given the high flexiblity in using the TouchPanel FW we tried to limit the configurable options to a well aranged set. It wasn't a design goal to make everything configurable that could.
As a current outlook: such configuration options will not be available in near future.

Fair enough, I will see if I can get some better glasses then ;-)

Not planed to support.


changelog/Fixed schema filtering on postgres relations (#3440)

Fixed the loading of the configuration file (avoid KeyError and check yaml structure).
Fix filtering loop on query_scope to continue on other rows.
Simplify parameter and removed 'relations' as 'relations_config' contains it all.
What does this PR do?
Fix the filtering of the relations queries in the postgres integration. Previously, the filtering would 'return' and abort all metrics if one table was not matching the schema requirement in the configuration file. This was incorrect and the method should have skipped that row (non matching) but continued for the other row in the result to push matching metrics.
This also improved a bit the parsing of the configuration file (avoid KeyError and check for type of object and key present in dict) and removed redundant argument in methods.
Motivation
we have tables with the same name in different schemas in our database, but are only interested in monitoring one schema.table combination, not all. The current datadog would either report both table (wasting metrics and dashboard) or fail to run/report if we forced the schema.
Additional Notes
N/A - first PR :)
Review checklist (to be filled by reviewers)

[x] PR title must be written as a CHANGELOG entry (see why)
[x] Files changes must correspond to the primary purpose of the PR as described in the title (small unrelated changes should have their own PR)
[x] PR must have changelog/ and integration/ labels attached
[ ] Feature or bugfix must have tests
[x] Git history must be clean
[x] If PR adds a configuration option, it must be added to the configuration file.

ok, I failed at adding the label here.


Limit clone depth when drone-building

Drone agents don't need to clone the whole history to run tests.
Last 50 commits must be enough to find the one needed for test
(would break if Drone starts after more than 50 commits have been
pushed)

LGTM

This will need a new-sign (cc @lunny ?)

@sapk done.

LGTM


Upgrade to Elasticsearch 7

We need to get onto a supported release of Elasticsearch. Upgrade to 7.x

Replaced with https://github.com/chef/chef-server/issues/2813


Release 0.51.0 checklist

llvmlite

[ ] check on BFID: llvmlite_46 for release branch build
[ ] annotated tag 0.34.0 on release branch
[ ] build conda packages on buildfarm
[ ] build wheels (3.6, 3.7, 3.8)
[ ] upload wheels and sdist to PyPI
[ ] Verify packages uploaded to Anaconda Cloud (to numba/label/main)

numba

[x] Merge to master:

[x] https://github.com/numba/numba/pull/6087
[x] https://github.com/numba/numba/pull/6089
[x] https://github.com/numba/numba/pull/6097
[x] https://github.com/numba/numba/pull/6099
[x] https://github.com/numba/numba/pull/6101
[x] https://github.com/numba/numba/pull/6107
[x] https://github.com/numba/numba/pull/6111
[x] https://github.com/numba/numba/pull/6109
[x] https://github.com/numba/numba/pull/6116

[x] Cherry-pick PRs:

[x] https://github.com/numba/numba/pull/6087
[x] https://github.com/numba/numba/pull/6089
[x] https://github.com/numba/numba/pull/6097
[x] https://github.com/numba/numba/pull/6099
[x] https://github.com/numba/numba/pull/6101
[x] https://github.com/numba/numba/pull/6107
[x] https://github.com/numba/numba/pull/6111
[x] https://github.com/numba/numba/pull/6109
[x] https://github.com/numba/numba/pull/6116

[x] merge change log changes

[x] https://github.com/numba/numba/pull/6117

[ ] merge llvmlite version bump  (https://github.com/numba/numba/pull/6120) BFID: numba_202
[ ] annotated tag 0.51.0 on release branch
[ ] build conda packages on buildfarm
[ ] build wheels (3.6, 3.7, 3.8)
[ ] upload wheels and sdist to PyPI
[ ] Verify packages uploaded to Anaconda Cloud
[ ] upload 0.51.0 docs, update "latest" link
[ ] Send announcement email
[ ] Post link to twitter

Post release:

[ ] Ping Anaconda distro team for build out.

It seems that this commit: https://github.com/numba/numba/commit/e203c9d8c00590882fb50a9f0e70d09f255bb4ab causes Numba to go into an infinite loop (or at least recompile the same thing a lot needlessly) - this seems like it may be a bit of a blocker - I'm investigating a bit more now.

Opened #6121 to track the issue.

Thanks all, closing!

🙌


Make tests restore global random seed

Remove RNG seeding where redundant
Restore global RNG state after tests that seed it to a constant
Add pytest fixture for restoring RNG state

It seems to me that if test A requires a particular random seed it should be responsible for setting that seed, rather than relying on some other test B to reset the PRNG state before A executes. The restore_random_state decorator seems like it could introduce undesirable coupling between tests.

The tests are supposed to run with a reproducible, but non-constant seeding of RNGs.  This is accomplished with check/pytest* scripts setting the CIRQ_TESTING_RANDOM_SEED environment variable and conftest.py using it to seed the generators here.
What I am trying to accomplish is that test C which does not set any seed gets pseudo-random values from RNG functions that depend on the CIRQ_TESTING_RANDOM_SEED value.  If it is preceded by test B that seeds global RNG and does not clean after itself, test C is always going to get the same "random" values dependent on the seed in B.

An alternative would be to create an autouse fixture that seeds the PRNGs to a known state before every test, which would give deterministic behavior everywhere without coupling.

That could be done with requiring pytest-randomly, but I feel that is out-of-scope here.

@maffoo - thank you for comments.  PTAL when you get a chance.

Replaced by #5868 where pytest-randomly resets random seed for each test case.
Closing as obsolete.


feat: add a new command to show the detailed information of measurements

What problem does this PR solve?
resolve issue #640
What is changed and how it works?
A new command SHOW MEASUREMENTS DETAIL was added. Please ref discussion  https://github.com/openGemini/openGemini/discussions/706 for more info.
For now, the return value looks like this:
> show measurements detail with measurement = mst
name: mst
tags: Retention policy=rp0
+--------------------------------+
|             Detail             |
+--------------------------------+
| INDEX: <nil>                   |
| SHARD KEY: <nil>               |
| ENGINE TYPE: tsstore           |
| TAG KEYS: country, name        |
| FIELD KEYS: address(string),   |
| age(float), alive(boolean),    |
| height(integer)                |
+--------------------------------+
1 columns, 5 rows in set

How Has This Been Tested?
New test case has been added into server_test.go.

[ ] Test A
[ ] Test B
[x] Test cases to be added
[ ] No code

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules

> show measurements detail with measurement = mst
name: mst
tags: Retention policy=rp0

Can the tags be used instead of the retention policy?

show measurements detail with measurement = mst
name: mst
tags: Retention policy=rp0

Can the tags be used instead of the retention policy?

For now, the retention policy info is stored in tags property of models.Rows, and the tags part is rendered in ts-cli. Thus, I think it is not easy to replace it if we still want the policy info to be located outside the Detail table.
However, we can put the policy info into the table, which looks like this:
> show measurements detail with measurement = mst
name: mst
+--------------------------------+
|             Detail             |
+--------------------------------+
| retention policy: rp0          |
| INDEX: <nil>                   |
| SHARD KEY: <nil>               |
| ENGINE TYPE: tsstore           |
| TAG KEYS: country, name        |
| FIELD KEYS: address(string),   |
| age(float), alive(boolean),    |
| height(integer)                |
+--------------------------------+
1 columns, 5 rows in set

Is that looks better for you?

show measurements detail with measurement = mst
name: mst
tags: Retention policy=rp0

Can the tags be used instead of the retention policy?

For now, the retention policy info is stored in tags property of models.Rows, and the tags part is rendered in ts-cli. Thus, I think it is not easy to replace it if we still want the policy info to be located outside the Detail table. However, we can put the policy info into the table, which looks like this:
> show measurements detail with measurement = mst
name: mst
+--------------------------------+
|             Detail             |
+--------------------------------+
| retention policy: rp0          |
| INDEX: <nil>                   |
| SHARD KEY: <nil>               |
| ENGINE TYPE: tsstore           |
| TAG KEYS: country, name        |
| FIELD KEYS: address(string),   |
| age(float), alive(boolean),    |
| height(integer)                |
+--------------------------------+
1 columns, 5 rows in set

Is that looks better for you?

better.
retention policy --> RETENTION POLICY

@xiangyu5632 Fixed. Now the command returns as following:
> CREATE MEASUREMENT db0.rp0.cpu (region tag, az tag, v1 int64, v2 float64, v3 bool, v4 string) WITH  ENGINETYPE = columnstore  SHARDKEY az,region PRIMARYKEY az,region,time
> show measurements detail with measurement = cpu
name: cpu
+--------------------------------+
|             Detail             |
+--------------------------------+
| RETENTION POLICY: rp0          |
| INDEX: <nil>                   |
| SHARD KEY: az, region          |
| ENGINE TYPE: columnstore       |
| PRIMARY KEY: az, region, time  |
| SORT KEY: az, region, time     |
| COMPACTION_TYPE: row           |
| TAG KEYS: az, region           |
| FIELD KEYS: v1(integer),       |
| v2(float), v3(boolean),        |
| v4(string)                     |
+--------------------------------+
1 columns, 9 rows in set

@StepY1aoZz  please resolve the conflicting file： lib/util/lifted/influx/influxql/y.go

I'm on vacation now and will return for this conflict on next week. Sorry for that.

@xiangyu5632 The base of this commit has been updated to the latest and conflict has been resolved. Could you please check it out?


Autocomplete menu flushes to the left when inside list-block class

This is a (multiple allowed):

[x] bug

[ ] enhancement

[ ] feature-discussion (RFC)

Framework7 Version: Whatever the default fiddle (https://jsfiddle.net/s2n1p730/) is based on.

Platform and Target: Cordova/Web(Chrome)

Live Link or JSFiddle/Codepen: https://jsfiddle.net/s6xqmudv/

What you did
Attempting to use autocomplete. When in tablet mode I'd like to have a form in 3 columns. Built form, wrapping in list to get pretty styling.
Expected Behavior
Clicking on middle and right columns have the autocomplete come up under the textboxes in correct place.
Actual Behavior
When wrapped in the list-block class, the autocomplete flushes left(left:0). The JSFiddle should be pretty clear on what's happening.
Similar issue: 1381

Fix in v2


Number of edits remains on screen after upload

Description
In the upper right corner the number of edits remains on screen after a successful upload.
After a page refresh in browser the number disappears.
In the previous version the number  was shown correctly - it disappeared after upload.

Version
2.1.0
What browser are you seeing the problem on? What version are you running?
Firefox v116.0
The OS you're using
win11
Steps to reproduce
Make some edits and upload to OSM.
The browser URL at the time you encountered the bug
https://rapideditor.org/edit#background=FOMI_2007_2010&datasets=fbRoads,msBuildings&disable_features=landuse,pistes,aerialways,past_future&map=18.35/46.37995/16.89776
The auto-detected useragent string for your browser (leave blank if you're manually filling this form out)
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/116.0

Same happens to me...

I have seen this as well.

Thanks for the report! This is one we'll have to tackle soon in a minor patch release.

The numbers are fixed in 2.1.1. but the warnings remain in the lower section. Attached image


Instant feedback when swapping armor

Amazing mod, good work!
Problem
While experimenting with a bunch of armors trying to find a good combination, I noticed the weight feedback is not instant, if you're wearing full diamond with Slowness 3, If you swap to an iron set which is Slowness 1 weight, you need to wait for the previous Slowness 3 to wear off in order for it to represent the weight of the armor you're actually wearing.
Expectation
Update the slowness debuff when you swap/equip/unequip the armor.

Now fixed in https://github.com/AnOpenSauceDev/Weight/commit/f3624d3ba6e639e1dd37c25a72d8ddf92a6334bf.


Fix typo

Contributor checklist

[ ] Bug fixes include regression tests
[ ] Features include unit/acceptance tests

🚀 Thank you for your contribution! 🚀


Azure Pipelines

Problem
Let's switch up from TravisCI to Azure Pipelines
Solution
Swap out badge and add azure-pipelines.yml
Result
Project building with Azure Pipelines.

Mistake.

Mistake.


Completely does not work - MissingMethodException on GetKeyBind()

[Info   :   BepInEx] Supports SRE: False
[Info   :   BepInEx] System platform: Bits64, Windows
[Message:   BepInEx] Preloader started
[Info   :   BepInEx] Loaded 1 patcher method from [BepInEx.Preloader <IP_ADDRESS>]
[Info   :   BepInEx] 1 patcher plugin loaded
[Info   :   BepInEx] Patching [UnityEngine.CoreModule] with [BepInEx.Chainloader]
[Message:   BepInEx] Preloader finished
[Message:   BepInEx] Chainloader ready
[Message:   BepInEx] Chainloader started
[Info   :   BepInEx] 3 plugins to load
[Warning:   BepInEx] Plugin [UMM 0.4.3] targets a wrong version of BepInEx (<IP_ADDRESS>) and might not work until you update
[Info   :   BepInEx] Loading [UnityExplorer 4.3.2]
[Message:UnityExplorer] UnityExplorer 4.3.2 initializing...
[Message:UnityExplorer] Cached AppDomain assemblies in 0.2827319 seconds
[Message:UnityExplorer] Initialized Legacy Input support
[Message:UnityExplorer] Finished core setup, waiting for UI setup...
[Info   :   BepInEx] Loading [UKScreenshot 1.0]
[Info   :   BepInEx] Loading [UMM 0.4.3]
[Message:   BepInEx] Chainloader startup complete
[Message:UnityExplorer] [Unity] PrefsManager initialized
[Message:UnityExplorer] [Unity] UMM initializing!
[Message:UnityExplorer] [Unity] Trying to mod persistent data file from D:\Program Files (x86)\Steam\steamapps\common\ULTRAKILL\BepInEx\plugins\UMM\persistent mod data.json
[Message:UnityExplorer] [Unity] UMM: Trying to load common asset bundle from D:\Program Files (x86)\Steam\steamapps\common\ULTRAKILL\ULTRAKILL_Data\StreamingAssets\common
[Message:UnityExplorer] [Unity] UMM: Trying to get verison.
[Message:UnityExplorer] [Unity] Loaded common asset bundle
[Message:UnityExplorer] [Unity] Beginning UltraModManager
[Message:UnityExplorer] [Unity] Adding mod info D:\Program Files (x86)\Steam\steamapps\common\ULTRAKILL\BepInEx\UMM Mods\CustomArms.dll CustomArmMod
[Message:UnityExplorer] [Unity] Adding mod info D:\Program Files (x86)\Steam\steamapps\common\ULTRAKILL\BepInEx\UMM Mods\RatWithAGun\RatMod.dll Main
[Message:UnityExplorer] [Unity] Adding mod info D:\Program Files (x86)\Steam\steamapps\common\ULTRAKILL\BepInEx\UMM Mods\TestMod\TestMod.dll TestMod
[Message:UnityExplorer] [Unity] Adding mod info D:\Program Files (x86)\Steam\steamapps\common\ULTRAKILL\BepInEx\UMM Mods\ULTRAKILLtweaker\ULTRAKILLtweaker.dll MainClass
[Message:UnityExplorer] [Unity] Adding mod info D:\Program Files (x86)\Steam\steamapps\common\ULTRAKILL\BepInEx\UMM Mods\Ultrakit\ULTRAKIT.dll Plugin
[Message:UnityExplorer] [Unity] Found 5 mods that can be loaded.
[Message:UnityExplorer] [Unity] Trying to load mod Custom Arms
[Error  :UnityExplorer] [Unity] Caught exception while trying to load modinformation Custom Arms
[Error  :UnityExplorer] [Unity] MissingMethodException: InputActionState UMM.UKAPI.GetKeyBind(string,string)
[Error  :UnityExplorer] [Unity] NullReferenceException: Object reference not set to an instance of an object
[Message:UnityExplorer] Creating UI...
[Message:UnityExplorer] Loading modern bundle for Unity 2019.4.16f1
[Message:UnityExplorer] UnityExplorer 4.3.2 initialized.
[Message:UnityExplorer] [Unity] Loading the common bundle
[Error  :UnityExplorer] [Unity] The AssetBundle 'StreamingAssets\common' can't be loaded because another AssetBundle with the same files is already loaded.
[Error  :UnityExplorer] [Unity] NullReferenceException: Object reference not set to an instance of an object
[Message:UnityExplorer] [Unity] Loading the common bundle
[Error  :UnityExplorer] [Unity] The AssetBundle 'StreamingAssets\common' can't be loaded because another AssetBundle with the same files is already loaded.
[Error  :UnityExplorer] [Unity] NullReferenceException: Object reference not set to an instance of an object
[Message:UnityExplorer] [Unity] Loading the common bundle
[Error  :UnityExplorer] [Unity] The AssetBundle 'StreamingAssets\common' can't be loaded because another AssetBundle with the same files is already loaded.
[Error  :UnityExplorer] [Unity] NullReferenceException: Object reference not set to an instance of an object
[Message:UnityExplorer] [Unity] Loading the common bundle
[Error  :UnityExplorer] [Unity] The AssetBundle 'StreamingAssets\common' can't be loaded because another AssetBundle with the same files is already loaded.
[Error  :UnityExplorer] [Unity] NullReferenceException: Object reference not set to an instance of an object
[Message:UnityExplorer] [Unity] Loading the common bundle
[Error  :UnityExplorer] [Unity] The AssetBundle 'StreamingAssets\common' can't be loaded because another AssetBundle with the same files is already loaded.
[Error  :UnityExplorer] [Unity] NullReferenceException: Object reference not set to an instance of an object
[Message:UnityExplorer] [Unity] Loading the common bundle
[Error  :UnityExplorer] [Unity] The AssetBundle 'StreamingAssets\common' can't be loaded because another AssetBundle with the same files is already loaded.
[Error  :UnityExplorer] [Unity] NullReferenceException: Object reference not set to an instance of an object
etc. ad infinitum...

Fails even if all other UMM mods and BepInEx plugins are removed.

That worked, mod loads now.


[SR-4108] Implement class-declaration in lib/Syntax

Previous ID
SR-4108

Radar
None

Original Reporter
@bitjammer

Type
Bug

Additional Detail from JIRA

Votes
0

Component/s
Compiler

Labels
Bug, Syntax

Assignee
@bitjammer

Priority
Medium

md5: f40257ec07aab2fc5fb395b10dfe3b97

libSyntax was removed in #62145 and succeeded by swift-syntax.


Not working on 0.13 beta1

Just updated and my tweenState on componentDidMount seems to have broken, though not on willUnmount.

Hmm, looks like it's working!


fix(index): fixed index

Codecov Report

Merging #87 (9824dd0) into main (22a4854) will not change coverage.
The diff coverage is 100.00%.

:exclamation: Current head 9824dd0 differs from pull request most recent head 50b223c. Consider uploading reports for the commit 50b223c to get more accurate results

@@           Coverage Diff           @@
##             main      #87   +/-   ##
=======================================
  Coverage   82.94%   82.94%
=======================================
  Files          18       18
  Lines         739      739
  Branches      145      145
=======================================
  Hits          613      613
  Misses        126      126

Impacted Files
Coverage Δ

src/index.ts
100.00% <100.00%> (ø)


RemoveAttachmentChecks requires game restart when enabling/disabling.

For some reason removing attachment checks requires you to restart the game. Whether you toggle it through the Mod Panel or through Configuration Manager makes no difference. Reloading the scene doesn't apply the changes, either.

By all means that should be working correctly, are you toggling the correct setting? There's a copy and paste error on the attachment type description, as well as both things using the same config key. Another question because I haven't used them, do the Mod Panel or Configuration Manager split configs by mod or by config file?

Both of them are split by config file. All the CDLLs configs for both are all shown separately from each other.
And yes, I'm toggling the correct setting.
I'm editing "dll.cursed.removeattachmentchecks.cfg".
Enables RemoveAttachmentChecks. RemoveAttachmentChecks, as it says on the tin, removes a lot of checks related to attachments.
Setting type: Boolean
Default value: false
PluginEnabled = **true**

There's only one of these options in the actual config file. The other options are different (allow scaling, allow bi-directional attachments, disable attachment collisions for easy attaching, allow detaching attachments that have sub-attachments still attached).  If I restart the game, then it applies.
With it enabled, I can put a silencer on a revolver, for example. If I disable it, I can still put a silencer on the revolver. If I reload the scene, it'll still show it's disabled in both configuration manager and the mod panel, but I can still put a silencer on the revolver.
If I just restart the game, then I can no longer put a silencer on the revolver until I enable it in-game and then restart the whole game, or exit the game, modify the config file in R2 or Notepad++, and then restart the game.

I have this issue too.


Get this back into PouchDB?

Hey,
Great work on getting PouchDB working with RN.
Are you considering setting up a PR with the upstream repo?
It would be nice to work with the latest pouchdb releases and the associated typescript definitions...
Thanks again

Some implementation ideas:

You can do a runtime check for React Native (and then enable these patches).
Or maybe add some storeAttachmentsInBase64 flag to the PouchDB store options and either have it auto-enabled upon detecting React Native, or explicitly enabled when constructing the store - the latter seems to be the least invasive option.

Yeah it would be great but I don't have time right now.
The best scenario would be that RN eventually supports readAsArrayBuffer.
Found an interesting post: https://github.com/facebook/react-native/issues/21209#issuecomment-495294672


alb ingress controller chart

I added the alb-ingress-controller chart.  The community chart doesn't have a pdb or hpa, so I added that.

I'm not sure how we should handle this being a fork of a community chart. At the very least we should probably add info to the readme that it is a fork.

@mjhuber Based on the upstream community chart feedback that this controller runs in leader/passive mode when you run multiple controllers the HPA is not going to be useful. I vote for getting your PR merged on the community chart and closing out this PR to skip adding the fork here.

@mjhuber Based on the upstream community chart feedback that this controller runs in leader/passive mode when you run multiple controllers the HPA is not going to be useful. I vote for getting your PR merged on the community chart and closing out this PR to skip adding the fork here.

i agree - closing


Update README.md

Added all the exsisiting images and the document .

Look's great to me , Looking forward to see more contribution from your side .


All / none button for multi select component

This PR implements #9502

Acceptance

[ ] ALL selects all the items
[ ] NONE deselects all the items
[ ] ALL with search selects the search result
[ ]  NONE with search deselects the search result

Already mentioned off-line:

Buttons should be smaller.
Paddings are not correct.
Search should be bigger, we need to gain more space.

Is this better? I'm using u-lSpace--xl, u-lSpace is too small imho, and there is no u-lSpace--m

About space and padding and so on, perfect, but buttons are still big.

That's true, this looks better :)

NOW WE ARE TALKING MY FRIEND! 👍

I don't like the way the "cross" button appears... @urbanphes @piensaenpixel  any idea?

a possible solution is to remove those ALL/NONE buttons when having a search query applied

I like that @saleiva, but in any case, wouldn't you display the cross for "removing" the searched query?

yes, but not at the same time than the ALL / NONE buttons

I feel it, we are on the same page 💃 . @rubenmoya and @rjimenezda clear?

Moving to development, but we are close!

👍

Frontend tests passing 🚀


Support for live Twitter Spaces

With this PR you can view live Twitter Space transcripts without error exception.

Hi oszilloskop,
Thanks for the workaround.  I tried your code and my program ends when the spaces is caught up in real time.  Are you familiar with what are the best practices to keep the code running live?  So far I have injected a time.sleep instead of "cursor_exist=false" in the Extractor.py code.  I'm guessing there is a more elegant way to handle this?  TIA for any insight

A couple of days ago I noticed two things
1)the script returns an empty file AND
2) the text is no longer showing on twitter in any way (not on the twitter app nor on desktop browser twitter.com)
Anyone seen the same?
Anyone have a work around?
Thanks in advance.


Defensive Coding Article from Wolfgang Bangerth, discussed at CW3S19 workshop.

Based on discussions at CW3S19 workshop with @bernhold and @curfman.

Plan to use Blog_032420_StoneMasonry.png for the hero.

Does this have an issue? If not, David or I can open a (very brief) issue ticket to link to this PR.

@rinkug If we have the PR, why do we need an issue too?  Our process works perfectly well for PRs in lieu of issues.  This one entered the process at the stage of having draft text, so it seems perfectly reasonable to me to just have the PR.

Published!


Can't re-export features of optional dependency

As far as I can tell, there's no way to re-export features of an optional dependency.
Take these crates:
rayon - only compiles on targets with threads
jpeg_decoder - has a default feature "rayon" to enable faster decoding where possible
image - has a default feature "jpeg" which enables the jpeg decoder
Now the first problem is that image has an unconditional dependency on rayon. This isn't great, but it should be possible to fix by re-exporting a "rayon" feature from image.
However this doesn't work, because the "rayon" feature would have to automatically include the "jpeg_decoder" dependency, even if the "jpeg" feature is not enabled.
There should be a way to enable a dependency or dependency feature based on an intersection of top-level features.

I believe this is a dupe of https://github.com/rust-lang/cargo/issues/3494, so closing in favor of that


Issue while using scrcpy in kali linux 2021.3

I am using scrcpy with kali linux 2021.3 and Realme 7......but I am facing this issue-

Please help me to resolve it

What is the result of:
echo $SCRCPY_SERVER_PATH

?

The command is just running without any error, and is giving no outputs

which scrcpy

If it's 1.17, then /usr/bin/scrcpy is v1.17, but /usr/share/scrcpy/scrcpy-server is v1.19. This is a problem.
I don't know how you get there, maybe the kali package is broken. But you need the same version for the client and the server.


Add Collection component

Q
A

Bug fix?
no

New feature?
yes

Tickets
Fix #3, alternative to #90 and #397

License
MIT

This alternative to #90 is adding support for dynamic collection in forms (adding and removing elements).
The two main benefits of this PR are:

This pure JS implementation doesn't require custom form types. It is plug & play: you just have to install the bundle, it natively works with the default CollectionType. It works with the default theme, the Tailwind theme, and the Bootstrap theme. I haven't tested with the Foundation theme but it should be compatible too.
The code natively handles any level of nested collections, which, as you can see in the code, is quite tricky.

The Stimulus controller provides several data attributes that can be used to customize the buttons when pointing to a <template> tag. If this patch is accepted, I'll also provide some patches to the Form component to automatically leverage this feature to not generate the add and remove buttons when not needed according to the form options. We could also provide better default buttons directly in form themes for Tailwind, Bootstrap, and Foundation.
Usage:
<div data-controller="symfony--ux-collection--collection">
    {{ form(form) }}
</div>

TODO:

[ ] Write more tests
[ ] Write docs

I would not go with a plug & play integration. That will just make exist projects which already using an own data-prototype on other cases crash. I would go with an explicit ux collection type which also can be extended with other feature in the future. E.g. Copy & Paste, Sortable, ...
If you want to have a look at it I currently already implemented a Form Type here https://github.com/symfony/ux/pull/397.

Why would it crash? The code I wrote should be robust enough to not crash, and is already configurable: you can use data attributes to customize the CSS selectors to use and the buttons to add. My implementation should work easily with any form theme, including custom ones.
It's also totally possible to extend it to add extra features such as sorting.
Dynamic collections is a feature that is already supported by the core framework. IMO Symfony should be as consistent and as easy to use as possible.
Currently, this core feature is very hard to use because the JS included in the documentation as well as the existing NPM packages we recommend have bugs.
Creating this kind of forms is currently very hard, even for senior developers, and it should not. We also must not require to change the PHP code to use Symfony UX. Has much as possible, Symfony UX should provide JS code compatible with the features and especially the HTML generated by the core framework.

I understand your target of the pull request. But handling all [data-prototype] as a collection I would really avoid. I have in my current projects other form types working with prototypes which are not a collection.
If you want togo with a Plug & Play the easiet way would be go with a FormExtension adding the data-controller or if you want to keep your implementation go with data-collection-target="collection" to all CollectionType. Current implementation with parent.querySelector('[data-prototype]') hurts the usage of a component library like stimulus where selectors should always be limited scope like you did for the item selector.
But then we are in the second case not all CollectionType should be handled by this component. There are cases where I want to create or even have already created a custom stimulus component for a CollectionType. The current implementation would hurt this component as it tries to start on this collection a component which is already handled by itself. And would not allow me using this collection side by side with my other collection components.
I did go with #397 to make the things extendable, even have the possibility iwth FormExtension  to add new buttons for adding "Copy & Paste" functionality. Have the collection itself as controller and as own Type allows us to add also seperate controller for "sortable" to make our entries sortable in the future.

We also must not require to change the PHP code to use Symfony UX. Has much as possible, Symfony UX should provide JS code compatible with the features and especially the HTML generated by the core framework.

I disagree here that this is a good idea. As in some cases I want to use a Dropzone and in some oter cases I want to have FileType same is for the Collection. Forcing a specific JS component for a specific existing form type I would avoid.

But handling all [data-prototype] as a collection

This isn't what the code does, it only targets the children of the HTML element using the controller (and it's not mandatory to use it if you want a custom behavior for a given form): https://github.com/symfony/ux/pull/398/files#diff-0c84303846c77e8d3377b23960aed4a1dfc3db0bb6206c7435ef6fe890a7fa1bR11
That being said, I totally agree that this controller must be compatible other UX components such as Dropzone etc, I'll update the code to support this!

I disagree here that this is a good idea. As in some cases I want to use a Dropzone and in some oter cases I want to have FileType same is for the Collection.

I think we haven't the same use cases in mind. I crafted this patch because a junior developper from our company had to create a "simple" multi-level nested form... He read the official documentation entry, didn't managed to get his code working... and asked for help. I took a look and I figured out that it was almost impossible to use this feature. My main goal here is to have something that just works for simple cases (prototypes, MVP etc), that can be easily documented, and that doesn't require any code change.
If we include a feature in core such as dynamic collection, it must not be half-finished, we most provide everything to get it working and it's currently not the case. This patch fixes this bad situation (it's a common use case, and probably hurts many newcomers).
Also, in term of DX, a user should be able to have a working dynamic form without having to write custom PHP or Twig code.
Another option would be to deprecate all the data-prototype things currently generated by core and recommend using a new type in UX instead, but IMHO (as this patch proves) it's not needed. With this approach, we'll be able to progressively improve the HTML generated by core (switching to <template> instead of data-prototype using a config flag, adding useful new id, classes and attributes that will help writing custom JS etc).

Forcing a specific JS component for a specific existing form type I would avoid.

You're not forced to that. You can use this controller on a per-form basis, use the existing (unfortunately buggy) jQuery and pure-JS packages or write your own JS. I really don't understand what's the issue here.

I did go with https://github.com/symfony/ux/pull/397 to make the things extendable

I'm pretty sure that we can merge both approaches and have something both plug & play and fully customizable. Would you be OK to try to merge both patches (cc @@stakovicz)?

If you can, could you please some screenshots and/or short GIF showing this feature in action for complex forms? Thanks!

In my use case (a two levels nested form), the code written in the docs can't help. That solution works just fine.

Shouldn't we also ship the dist/controller.d.ts file alongside the compiled JS code ?

Declarations are entirely disabled for the whole project. I don't know why (cc @tgalopin) but if changed, this probably should be done globally in another PR.

I did on top of the different discussion (#90, #397, #398) create a form type extension based implementation here: #400. There are still things todo but maybe we can discuss in which direction a Collection UX component should go.
For easier testing I also added some kind of form theme to the example:

@alexander-schranz thanks for sharing some screenshots.
Sorry for being blunt, but the autoincremental numeric labels (0, 1, etc.) always looked ugly to me and it's one of the things I hoped this new component was going to fix 🙏

@javiereguiluz i normally disabled them via:
        $builder->add('slots', CollectionType::class, [
            'entry_options' => [
                'label' => false,
            ],
        ]);

but didn't want to change the default behaviour. But the form extension could do that automatically if the label is not explicit set.

@javiereguiluz if you want something more human, this generally involves configuring the label in the options. I don't see how the JS code could automatically generate good-looking labels.

@javiereguiluz here is a recording:
https://user-images.githubusercontent.com/57224/180029620-8bb52bab-7fb0-4cd4-89e4-b52c32b34dcf.mov

I'm not sure if it helps settle the debate around the data-prototype attribute but Sylius is using the same attribute to render a different prototype depending on a select element's value.
Source JS: https://github.com/Sylius/Sylius/blob/204c60bc7faf9caff2378d4204680129a4379740/src/Sylius/Bundle/UiBundle/Resources/private/js/sylius-prototype-handler.js
Example UI:

There's also a custom implementation of form collections that also supports dynamic prototypes based on select inputs just like the one previously mentioned but inside a collection.
Source JS: https://github.com/Sylius/Sylius/blob/204c60bc7faf9caff2378d4204680129a4379740/src/Sylius/Bundle/UiBundle/Resources/private/js/sylius-form-collection.js
Example UI:

@vvasiloi thats also the same case for my projects, why I would avoid that selector. added comment here: https://github.com/symfony/ux/pull/398#discussion_r925859182

Hi! I'd love to have this get pushed forward - we also have a competing PR at #400, which seems to address some issues in this PR. @dunglas WDYT about #400? Which PR should continue? This is a pretty popular feature.
Thanks!

400 looks interesting.
I think we have a choice to make:

either we remove the HTML generation code needed for this feature from core and move it in UX
or we fix/improve the HTML generated by core (using <template> for instance) and we provide only the JS in UX (this is my preferred approach and we I try do do here as it's more future-proof in case new JS tools emerge etc)

What I don't like with the current state of 400 is that it overlaps with (partially broken) features that we already have in core. But I would be ok with deprecating these features from core and moving them to UX too.


Packaging request: Gridcoinresearch

Project description
Gridcoin is an open source cyptocurrency that rewards volunteer computing for science through the BOINC platform.
Metadata

homepage URL: https://gridcoin.us/
source URL: https://github.com/gridcoin-community/Gridcoin-Research
license: mit
platforms: linux, darwin

They also have packages for other distros at the bottom of the page.

pr #242002


Update RNNModel and add tests

Summary of changes:

Updated the RNNModel to support verbose training
Updated the models which use lightgbm package to suppress verbosity
Increased test coverage of the BasePyTorchModel
Increased test  coverage of the RNNModel

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

13 of 16 (81.25%)  changed or added relevant lines in 6 files are covered.
5 unchanged lines in 2 files lost coverage.
Overall coverage increased (+11.5%) to 92.995%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

otb/benchmark/models/forecasting/random_forest.py
0
1
0.0%

otb/benchmark/models/regression/pytorch/recurrent_neural_network.py
6
7
85.71%

otb/tasks/tasks.py
1
2
50.0%

Files with Coverage Reduction
New Missed Lines
%

otb/benchmark/models/forecasting/random_forest.py
1
64.29%

otb/benchmark/bench_runner.py
4
85.44%

Totals

Change from base Build<PHONE_NUMBER>:
11.5%

Covered Lines:
1062

Relevant Lines:
1142

💛  - Coveralls


The minskins review 07/13

Great project
If you want to run it automatically you can just create an sh fle with the line ruby -filename-
#!/bin/bash ruby main.rb
We record a video of the developing process

Thanks, I implemented the changes as suggested.


Exchange External Sender Policy: Multiple Rules not iterated through

For Exchange 2.7, the script marks this check as not implemented if Multiple External Sender Policies are present, and the first policy is disabled but the follow-on rules are appropriately configured.  Suggest iterating through the policies and checking the configs of each to determine the outcome.

Hi Patrick, I've been working to replicate this bug so I try and fix it but I have not been able to. Scuba will correctly flag the test as incorrect if no compliant mail flow rule is present and will mark the test as a success if any such rule exists that meets the criteria regardless of where it is.
I have tried:

Creating a second new mail flow that is in compliance with the baseline and disabled the first rule.
Misconfiguring the first rule and created a second mail flow rule that is compliant.

What steps did you take to find this bug?
Something incorrect I have noticed is that even if the rule is disabled, if the rule would be compliant, the test is marked as success.

Give me a bit to pull the information from the customer tenant and sanitize it.  Maybe you can mirror those settings and test.
There are a few checks that are doing this same thing.

Something incorrect I have noticed is that even if the rule is disabled, if the rule would be compliant, the test is marked as success.  ----This is what we were noticing.

I have made pull request #130 where the Rego will now only examine enabled rules if they are correctly configured or not. Now for 2.7 to pass there must be at least one correctly configured rule that is enabled.


Improve handling of general SubArrays

This PR includes two commits that are meant to improve the handling of SubArrays, notably those that include non-unit steps.
The first commit fixes ArrayInterface.size for certain SubArrays, and should close #85.
The second commit changes the definition of contiguous_axis for views with non-unit steps. For instance:
A = zeros(3,4,5);
D1 = view(A, 1:2:3, :, :)  # first dimension is discontiguous
D2 = view(A, :, 2:2:4, :)  # first dimension is contiguous

contiguous_axis(D1)  # now returns Contiguous(-1)
contiguous_axis(D2)  # now returns Contiguous(1)

These two examples previously returned nothing.

Great!

Worth noting that unlike most other array infrastructures, we don't even require regularly-spaced steps:
julia> D1 = view(A, :, :, [1, 3, 4]);

julia> ArrayInterface.contiguous_axis(D1) === nothing
true


nodeenv init succeeds with non-zero exit status

closing as dupe of https://github.com/rbenv/rbenv/issues/1300. discussion will be held there

closing as dupe of https://github.com/rbenv/rbenv/issues/1300. discussion will be held there


Update wiki to instruct users to edit the nunavut generated header files due to include path

https://github.com/107-systems/107-Arduino-UAVCAN/wiki has intructions to make header files. But the instructions to edit the header files need to be added for completeness and accuracy

It would also be nice to link http://nunaweb.uavcan.org

I think you can both see that the wiki is currently more a personal reminder than for general consumption :wink: Would one of you be able to supply a first draft?

Draft of ?

I meant a draft of desirable documentation. I'm going to be honest, I'm currently drowning in work. Consequently the wiki documentation is quite low on priority. Furthermore, this specific bit of information (that is how to add new wrappers) is quite important so it might end up being moved to the README instead. If one of you does have the time or the drive to write that up then please be my guest, as I fear I won't get to it anytime soon.


View logs

Before installing the toolbox and patching, my Android Auto was not working. It only displayed Error: USB Device on the top of the screen.
After patching, Android Auto works, but the error message persists.
This exceptions is too vague and I wanted to check logs of why that could be happening and fix it. There aren't much search results online about it as well.
I've tried those three different cables and it makes no difference:

OnePlus 6 original cable
Anker PowerLine+
Random cheap cable

Is it possible to read any logs from the device? Any ideas what to check using the toolbox?

Is it possible to read any logs from the device? Any ideas what to check using the toolbox?

https://www.drive2.com/l/601855073932298169/


⚠ SceneTime has degraded performance

In 9443f23, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 1759 ms

Resolved: SceneTime performance has improved in 2a216c9 after 6 minutes.


Added a flag to crd-puller to specify only the required CRDs that needs to be synced

Summary
Provide an additional flag (--resources-to-sync) to specify which CRDs the user wants to pull.
Note: If the flag is not used or is empty, the default behavior(pull all CRDs on the cluster) is followed.
Typical usage is as shown below:
go run cmd/crd-puller/pull-crds.go --kubeconfig /home/bnr/.kube/config --resources-to-sync "pods,services,deployments"
Related issue(s)
https://github.com/kcp-dev/kcp/issues/839
Fixes #839

I think the path forward is to delete cmd/crd-puller from the repo. Thoughts @sttts @stevekuznetsov @davidfestal?

Would wait for the API management epic to unfold. There we need something like crdpuller.

@ncdc PTAL. I have worked on all the changes.
I had to introduce a third variable in order to handle the case where the user does not pass any value. I wasn't able to do this with just one var of type string or []string.

/test all

@ncdc Done. PTAL.

/test all

Fixed the imports

/lgtm

Going to close and reopen to get Prow to do all the tests

/test all


Bazel does not work currently with ubuntu 16.04

As of now Bazel which a requirement for magenta only works till ubuntu 15.10 ... Can somebody please direct me towards a solution to install magenta on ubuntu 16.04 . Thank you!

you should try these two commands:
wget https://storage.googleapis.com/bazel-apt/doc/apt-key.pub.gpg
sudo apt-key add apt-key.pub.gpg

and then follow the installation tutorial.

Sauravskumar99, did this work for you?

yes, it did

Thanks rpagliarix.

yes it did... thank you


Update quickboot to 1.1-92

After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} left no offenses.
[x] The commit message includes the cask’s name and version.

Appcast was returning a HTTP 301 response code.


python312Packages.jsonargparse: 4.32.0 -> 4.32.1

Diff: https://github.com/omni-us/jsonargparse/compare/refs/tags/v4.32.0...v4.32.1
Changelog: https://github.com/omni-us/jsonargparse/blob/4.32.1/CHANGELOG.rst
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

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

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 337760 run on x86_64-linux 1

4 packages built:

python311Packages.jsonargparse
python311Packages.jsonargparse.dist
python312Packages.jsonargparse
python312Packages.jsonargparse.dist


Collections styling

Styling for Collections

and Sources

Last part of v1 styling is modify this source

Just about all good, although I cannot see the collections/sources on the modifySoruce or collection component


ko.execute can use ko.pureComputed internally

If you use ko.pureComputed within ko.execute, you can optimize the code in a few ways:

Rather than returning a "pseudoComputed", you can return the real computed. You won't have to keep track of extenders.
The "wake" function just needs to create a manual subscription on the internal pureComputed to awaken it.
The internal pureComputed will only call the evaluator if any dependencies have changed, even when awakening, possibly avoiding unnecessary AJAX calls.

So there will not be creating disposing of a ko.computed, just calling subscribe on the pre-existing pureComputed, stashing the subscription object and then disposing it.
That's excellent, will try it with my codebase ASAP and then update.

Perfect!


Incorrect information about passwords in Exercise 1.1

Exercise 1.1 states
### About Your Password
-   Your username and initial password are located on the Accounts sheet of paper that you received this morning
-   While the `passwd` command will work (and will change your password temporarily), your initial password will be automatically reset for you on an hourly basis. (So you probably don't want to change your password, in the first place, and definitely want to keep your sheet of paper or memorize the password).

which doesn't make sense for the virtual school. I imagine this process is probably still up in the air, so take this as a note to make sure it gets updated.

It’s better now.