Should java main class vs fatjar output the same starting sequence

They are a bit different today
davsclaus:~/workspace/fabric8-installer/vagrant/openshift (master)/$ oc logs -f quickstart-java-simple-mainclass-scnjs
Executing /deployments/bin/run ...
Launching application in folder: /deployments
Running  java  -javaagent:/opt/jolokia/jolokia.jar=config=/opt/jolokia/jolokia.properties,useSslClientAuthentication=true,extraClientCheck=true,protocol=https,caCert=/var/run/secrets/kubernetes.io/serviceaccount/ca.crt,clientPrincipal=cn=system:master-proxy -classpath .:/deployments/lib/quickstart-java-simple-mainclass-2.2.57-SNAPSHOT.jar:/deployments/lib/commons-lang3-3.4.jar io.fabric8.quickstarts.java.simple.Main
I> No access restrictor found, access to all MBean is allowed
Jolokia: Agent started with URL https://<IP_ADDRESS>:8778/jolokia/
Hello Fabric8! Here's your random string: YlmZb
Hello Fabric8! Here's your random string: cIZb0
Hello Fabric8! Here's your random string: SgqfR
Hello Fabric8! Here's your random string: GoAUi
^Cdavsclaus:~/workspace/fabric8-installer/vagrant/openshift (master)/$ oc logs quickstart-java-simple-fatjar-dplyx
I> No access restrictor found, access to all MBean is allowed
Jolokia: Agent started with URL https://<IP_ADDRESS>:8778/jolokia/
Hello Fabric8! Here's your random string: 1DCnf
Hello Fabric8! Here's your random string: ktUMw
Hello Fabric8! Here's your random string: FNUQQ

The main class quickstart output the entire java xxx command line. It would be nice if the fatjar did the same. Also the former tells which bin it executes etc.
@rhuss any thoughts? Or is this too minor details?

Can it be related to the fact that simple-fatjar is using the following docker image: fabric8/java-jboss-openjdk8-jdk:1.0.10? While simple-main is using fabric8/s2i-java:1.2.8?

Yes, the startup message comes from the startup script which is different in the two base images.
My suggestion is to go back to the community base images without reference to s2i.
I can add a debug statement for the startup script.

Can I submit a PR with the switch from s2i image to the community base image?


Missing argument

While running bin/magento m2bp:critical-css:generate I get the following error:
In AbstractFactory.php line 238:

  Missing required argument $commandline of Symfony\Component\Process\Process.

I already configured the path (dev/css/critical_css_critical_binary) to /home/<user>/.npm-global/bin/critical.

Hi,
did you do a  setup:di:compile and cache:clear after the installation?

Yes and I also receive this error in developer mode.

Which Magento Version do you have?

Magento 2.3.3

Hi,
could you test the changes from my PR #10?
This error seems to be due to a change in the symfony process library. If everythings works fine I will merge it and release a new version.
Thanks!

Just found out what the problem is:
magento/framework requires symfony/process (~4.1.0).
With the release of symfony/process 4.2 the constructor argument was renamed to command (before it was commandline).

@thampe Okay. I'll test your PR. :D

Hi,
a release is out now, that includes the fix.
Thanks for pointing out the issue!


Anim layer additive blending with reference pose

Anim layer blending currently supports two modes, overwrite and additive. However the additive mode currently works by blending each layer together in a linear combination using their weights. This is much akin to the direct blend mode of blend tree's. The engine should also support a mode which adds the difference of each layer onto a bone subsequently using a reference pose to create the additive difference.

Curious about the conversion of the imported animation into an additive animation (where key values have the reference pose subtracted). Ideally this is a once off instead of per frame operation.


Dose anyone meet the numda problem? there is a lot of warning when i running the pointpillar code.

Compilation is falling back to object mode WITH looplifting enabled because Function "points_in_convex_polygon_jit" failed type inference due to: Invalid use of Function() with argument(s) of type(s): (array(float32, 3d, C), (slice<a:b>, list(int64), slice<a:b>))

parameterized
In definition 0:
All templates rejected with literals.
In definition 1:
All templates rejected without literals.
In definition 2:
All templates rejected with literals.
In definition 3:
All templates rejected without literals.
In definition 4:
All templates rejected with literals.
In definition 5:
All templates rejected without literals.
In definition 6:
All templates rejected with literals.
In definition 7:
All templates rejected without literals.
In definition 8:
All templates rejected with literals.
In definition 9:
All templates rejected without literals.
In definition 10:
TypeError: unsupported array index type list(int64) in (slice<a:b>, list(int64), slice<a:b>)
raised from /home/wx/anaconda3/envs/pointpillars/lib/python3.7/site-packages/numba/typing/arraydecl.py:71
In definition 11:
TypeError: unsupported array index type list(int64) in (slice<a:b>, list(int64), slice<a:b>)
raised from /home/wx/anaconda3/envs/pointpillars/lib/python3.7/site-packages/numba/typing/arraydecl.py:71
This error is usually caused by passing an argument of a type that is unsupported by the named function.
[1] During: typing of intrinsic-call at /home/wx/Downloads/second.pytorch-master/second/core/geometry.py (153)

File "../../second.pytorch-master/second/core/geometry.py", line 153:
def points_in_convex_polygon_jit(points, polygon, clockwise=True):

vec1 = polygon - polygon[:, [num_points_of_polygon - 1] +
list(range(num_points_of_polygon - 1)), :]

These warnings don't seem to have any impact and can be trained and tested properly. If you're in trouble, you can block these warnings.

These warnings don't seem to have any impact and can the network can be trained and tested properly. If you're in trouble, you can block these warnings.

These warnings don't seem to have any impact and the network can be trained and tested properly. If you're in trouble, you can block these warnings.

These warnings don't seem to have any impact and the network can be trained and tested properly. If you're in trouble, you can block these warnings.

Yes,you r right. These warnings don't impact the training. Thank you.

numba 0.44 started showing some deprecation warnings that mostly help users identify more rooms for optimization, see here for more details.
You can use numba 0.43.1 if you don't want to see these warnings.


md-button looks 3 different ways depending on where/how it's used

http://plnkr.co/edit/uPVX2MsPhbfkj5DUTAeI?
There are three buttons in that plnkr and I expected them to all look the same, but they don't.
Seems like a bug possibly?

https://github.com/angular/material2/issues/1946

Should be fixed in alpha.11

It doesn't look right in the Plunkr and I think it points to latest. It now looks the same as it does in my project where I've bumped to alpha.11. Am I using it incorrectly or is there still a problem?

Plunker is still alpha 10

Plunkr seems to link to unversioned unpkg links which default to latest. Further more, it looks the same as it does on my devbox after bumping to alpha.11.
It actually looked more accurate under alpha.10. This is definitely not fixed. @jelbourn  can you please reopen?

Ping, this issue isn't fixed, please reopen or advise. thanks.

Looks like it might be close but the text is rendered as white (on a white bg) instead of black text on a white button as it renders in other places beside the header.

The button uses currentColor for the text. Inside of your toolbar it's white.

I see. If the output in plunkr is expected then I will take this as "user error" and figure it out, thanks for the pointer!


Update students.txt

Did you delete your forked repo? Please fork again, and resubmit.

Yeah! I'm confused on why it is not saving.


[BUG] Request-Id header and telemetryItem.baseData.id do not match

Description/Screenshot
We are using the Request-Id header as a key to add some extra info in our telemetry initializer which we add using this.appInsights.addTelemetryInitializer
In the telemetry initializer, we have access to the telemetryItem: ITelemetryItem. We are finding that telemetryItem.baseData.id is not the same as the Request-Id sent on each request
For example
Request-Id header (notice no trailing dot)

telemetryItem.baseData.id in telemetry initializer:

Steps to Reproduce

OS/Browser: Windows/Chrome 92
SDK Version [e.g. 22]: 2.6.4
How you initialized the SDK:

    this.appInsights = new ApplicationInsights({
     config: {
       instrumentationKey: Environment.config.appInsightsInstrumentationKey,
       endpointUrl: Environment.config.appInsightsEndpointUrl,
       extensions: [this.reactPlugin],
       extensionConfig: {
         [this.reactPlugin.identifier]: { history }
       },
       disableFetchTracking: false,
       disableAjaxTracking: false,
       enableCorsCorrelation: true,
       disableCorrelationHeaders: false,
       enableAutoRouteTracking: true,
       maxAjaxCallsPerView: -1,
       enableResponseHeaderTracking: true,
       correlationHeaderExcludedDomains: [plotlyDomain, dynatraceDomain, appInsightsDomain],
       idLength: 5
     }
   });

Expected behavior
That the two should match. The impact of them not matching is that the map our application maintains that contains this extra enrichment info, never gets a cache hit so the enrichment does not occur
Additional context
Add any other context about the problem here.

Not sure I'm following... They look the same to me (except for the trailing .) which is required for encoding purposes by the server for distributed tracing support.

Note recommended: But if you disabled W3C Tracing (it's on by default) the . won't get added
config.distributedTracingMode = DistributedTracingModes.AI
This will then revert to the legacy Application Insights format (which doesn't have the trailing .) -- depending on your usage this may have adverse side effects in the portal with linking to other services etc.


Add ToWide trait for marshaling wide strings

Nothing fancy but it reads better.

Sorry but I don't think it reads better.
When I see OsStr::blabla I know what it does. When I see to to_wide I have to go look at the trait or function definition.
In fact two of these calls should be changed to use LoadLibraryA.

Fair enough, I was thinking about factorizing those calls. Do you want me to close the PR ?


sharding condition exist not in SQL

when use hint route In some special scenario that sharding condition exist at outside logic, not in SQL.
dose sharding-jdbc or sharding-proxy will add the sharding key into the sql as a where condition or just route to the destinate database without add the sharding key into the sql as a  where condition?

For hint, it will skip parser engine, so don't add  sharding key with condition.

we have a singular system need to transport to multi-tenant saas by combine some tenant's schema into one . but all of sqls have no tenantid within it.even though we can use sharding-proxy to do the database route,after sql have been sent to the specific destinate table of  database schema,it will return all tenant's data in that  table(we are using mysql)

you mean all tenants maybe save in the same table, and no tenant_id store in tables?

yes，all tenants maybe save in the same table, and no tenant_id store in tables，has no tenant_id field in  query SQL.

yes,all tenants  data save in the same table,no tenant_id store in tables and has no tenant_id field in your query SQL.

for now,all tenants have their own database schema and tables with same table name.
no tenant_id store in tables and has no tenant_id field in your query SQL.

I need to confirm:
What is your question?
Does hint support your scenario enough?
If not, what is your expectation?

No response more than 7 days, just close it.


i2p: 1.9.0 -> 2.0.0

Description of changes

i2ptunnel: Support SHA-256 digest proxy authentication (RFC 7616)
SSU2: Connection migration
SSU2: Immediate acks
SSU2: Enable by default

Full release description: https://geti2p.net/en/blog/post/2022/11/21/2.0.0-Release

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] 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/)
22.11 Release Notes (or backporting 22.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
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

ping @joelmo ?
I'll add myself as a maintainer, if that's ok

Please remove the unrelated package.

The I2P update works well for me.


ddev-dbserver doesn't implement initialization loading of docker-entrypoint-initdb.d

Preliminary checklist

[x] I am using the latest stable version of DDEV (see upgrade guide)
[x] I have searched existing issues
[x] I have checked the troubleshooting guide
[x] I have run ddev debug test to include output below

Output of ddev debug test
Expected Behavior
When using the image ddev-dbserver-mysql-8.0, I expect that when putting a .sql or .sh file in the docker-entrypoint-initdb.d, the same execution behavior applies as in the MySQL:8.0 image.
Actual Behavior
Files in the docker-entrypoint-initdb.d are not executed at all.
Steps To Reproduce
Put a script in the docker-entrypoint-initdb.d folder and check if it executes.
Anything else?
I noticed the line executing this behavior needs to be added in the ddev-dbserver-mysql-8.0 file. I suggest updating it so the expected behavior happens because I assume this image's behavior is based on the MySQL:8.0 image.

Hi @stijnveeke - We always appreciate feature requests and ideas. I think this is a feature of the bitnami database images isn't it? It's never been a feature of DDEV, not sure why you expected it. You can read an overview of DDEV's database management capabilities at https://ddev.readthedocs.io/en/stable/users/usage/database-management/
You might want to try a post-start hook as described in https://github.com/ddev/ddev-contrib/tree/master/hook-examples/import-db-if-empty, there are many other ways.

I'm not that familiar with where this feature comes from initially I know it's present in  https://hub.docker.com/layers/library/mysql/8.0/images/sha256-1c9a74f109e3f0652a74e26835d483cf43412611a0c9895e03ee6694a6703698?context=explore
So far as I know, this is an official Docker image, meaning it is directly curated. I assumed that the ddev-dbserver-myssql-8.0 is also based on this image. But I could be wrong about that.

Note that if you were using that feature, you would be putting the item to load into the initdb directory in the image you built yourself. That doesn't make any sense at all with DDEV, because it provides a prebuilt database, and you don't build the image yourself.
Closing, as this has never been a feature of DDEV and wouldn't be compatible anyway. Happy to continue the conversation here or elsewhere.

This really has nothing to do with the fact if it is a pre-build database or not so far as I'm aware this has been default behaviour for years in MySQL database images. And is part of the official supported functionality of MySQL, MariaDB,  and Postgres with active support from the community using these databases in docker.
Assumptions that this is default behaviour are also really strong because of the questions within those communities for example Stackoverflow has a staggering 500 answered / unanswered questions about this folder where I by quickly looking can see at least 1/3 of the questions relating to this usecase. This is just one of many:
https://stackoverflow.com/questions/57961638/initialize-postgresql-container-with-docker-entrypoint-initdb-d-script

DDEV already has its own pre-built, pre-configured database that is used at start if there's no database. It has the proper users and settings. Allowing a different one to be loaded would cause all kinds of support issues. As in the other issue, if you could say what you're trying to accomplish, it will help us.

I didn't understand that clearly. Is there a default way to execute these so-called scripts, as I'm purely looking to produce an additional user I need for monitoring? The DB already exists, so it makes sense that the init has not been executed.

Are you talking about adding a database user? You can use all the features of the database any way you want to, using ddev mysql or any other technique, as explained in https://ddev.readthedocs.io/en/stable/users/usage/database-management/
You can execute mysql/psql commands in a post-start command, etc.


Peaq/update endpoint remove resource limits

/retest

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

Test name
Commit
Details
Rerun command

pr
43af57c90affaf5ed8cba646c95513a8b5d8b206
link
/test pr

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

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

Needs approval from an approver in each of these files:

OWNERS

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

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

Needs approval from an approver in each of these files:

OWNERS

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

:star: PR built and available in a preview peaqnetwork-apps-pr-4 here


recursive module is not getting cloned

The "modules" submodule is not correctly referenced.
git clone throws error:
fatal: remote error: upload-pack: not our ref e3b7750ee07b6f7ab7afe18d9f0df84a03756618
fatal: Fetched in submodule path 'modules', but it did not contain e3b7750ee07b6f7ab7afe18d9f0df84a03756618. Direct fetching of that commit failed.

commit to latest fixed issue.


Not Working on SQL Azure

Target framework: .NET 8
OS: Windows server latest
Serilog packages:
Serilog.AspNetCore 8.0.3
Serilog.Sinks.MSSqlServer 8.0.0
Azure database: Basic tier
The issue is very basic, there is no exception but it does not log on SQL Azure but it does on my local machine. Initially the AutoCreateSqlTable is set to true but it didn't work on Azure, so I created the logs table manually using EF migrations. But even with that, nothing is being logged when the app started as in configuration the Serilog MinimumLevel is set to Information.
Here is the configuration code:

 public static class Configuration
 {
     public static IHostBuilder ConfigureSerilog(this IHostBuilder builder,
         IConfiguration configuration,
         IHostEnvironment environment)
     {
         if (environment.IsDevelopment())
         {
             Serilog.Debugging.SelfLog.Enable(message => Console.WriteLine(message));
         }

         var connectionString = configuration.GetConnectionString("DefaultConnection");

         var sqlOptions = new MSSqlServerSinkOptions
         {
             TableName = "Logs",
             SchemaName = "dbo"
         };

         var columnOptions = new ColumnOptions();
         columnOptions.TimeStamp.ColumnName = "TimestampUtc";
         columnOptions.TimeStamp.ConvertToUtc = true;

         return builder
             //.ConfigureLogging((context, logging) => logging.ClearProviders())
             .UseSerilog((context, logging) =>
             {
                 logging
                     .ReadFrom.Configuration(configuration)
                     .WriteTo.Console()
                     .WriteTo.MSSqlServer(connectionString,
                         sqlOptions,
                         columnOptions: columnOptions);
             });
     }
 }

This is how I called in Program.cs
var builder = WebApplication.CreateBuilder(args);
builder.Host.ConfigureSerilog(builder.Configuration, builder.Environment);

Here is configuration appSettings:
  "Logging": {
    "LogLevel": {
      "Default": "Information",
      "Microsoft.AspNetCore": "Warning"
    }
  },
  "Serilog": {
    "MinimumLevel": {
      "Default": "Information",
      "Override": {
        "Microsoft.AspNetCore": "Warning"
      }
    }
  },

Can someone please point out what might be wrong or the issue is? Many thanks.
stevanus

Hi @stevanuz!
The code looks correct, so it might be an issue with the connection string or with permissions on your Azure SQL instance.
Can you connect to the DB using the same connection string but with SQL Server Management Studio or some other program on your dev machine?
In the code you have enabled Serilogs SelfLog feature using the Console sink. if the MSSQL sink encounters a connection problem when trying to write log data to your Azure SQL DB, an error message should be written to the console. Do you see anything there?

Hi @ckadluba ,
Thanks for the reply. There is only one connection string on Azure that is used by Serilog and EF DbContext and it works fine for the DbContext. I can connect fine as well from SSMS. I am not sure how can I actually see the console log as it is deployed on Azure Webapp service. I have not tried to use Azure database connection string and run it on my local machine nevertheless. I will give it a try and let you know.
stevanuz

Ok, it was a connection string issue as the one stored in Azure environment variable was pointing to a wrong database :( Thank you for your help :)


type SourceFile mismatched

🐞 Bug report
Command (mark with an x)

- [ ] new
- [ ] build
- [ ] serve
- [ ] test
- [ ] e2e
- [ ] generate
- [ ] add
- [ ] update
- [ ] lint
- [ ] xi18n
- [ ] run
- [ ] config
- [ ] help
- [ ] version
- [ ] doc

⬆ not accurate in my situation...
Is this a regression?

 Yes, the previous version in which this bug was not present was: 8.1.2.
Description
 A clear and concise description of the problem...
Some type definitions in the source code just won't match. But since they have the same name, they should match (as in previous versions).
🔬 Minimal Reproduction

import { getProjectFromWorkspace, getProjectMainFile, getSourceFile } from '@angular/cdk/schematics';
import { insertImport } from '@schematics/angular/utility/ast-utils';

insertImport(getSourceFile(host, appModulePath));

Editor / IDE would report an error:

🔥 Exception or Error

schematics/ng-add/setup-project/register-locale.ts:31:20 - error TS2345: Argument of type 'import("/home/travis/build/NG-ZORRO/ng-zorro-antd/node_modules/typescript/lib/typescript").SourceFile' is not assignable to parameter of type 'import("/home/travis/build/NG-ZORRO/ng-zorro-antd/node_modules/@schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript").SourceFile'.

insertImport(moduleSource, appModulePath, 'NZ_I18N',

You can find the complete log here.
🌍 Your Environment

Package                                    Version
--------------------------------------------------------------------
@angular-devkit/architect                  0.800.6
@angular-devkit/build-angular              0.800.6
@angular-devkit/build-ng-packagr           0.800.6
@angular-devkit/build-optimizer            0.800.6
@angular-devkit/build-webpack              0.800.6
@angular-devkit/core                       8.2.0
@angular-devkit/schematics                 8.2.0
@angular/cdk                               8.1.2
@angular/pwa                               0.800.6
@ngtools/webpack                           8.0.6
@nguniversal/module-map-ngfactory-loader   8.1.1
@schematics/angular                        8.2.0
@schematics/update                         0.802.0
ng-packagr                                 5.4.3
rxjs                                       6.5.2
typescript                                 3.4.5
webpack                                    4.30.0

Anything else relevant?

That's caused by TypeScript versions mismatch. In the @schematics/angular uses TypeScript 3.5 and your local TypeScript is 3.4

@alan-agius4 Yes. It seems that devkit would load typescript.d.ts from GitHub and cause this mismatch? I tried to downgrade devkit but no luck.

You need to update your local TypeScript version to 3.5. @schematics/angular uses an internal version of TypeScript,

Thank you!


vRP framework 0.5 spamming error on the Server Console

Hey,
vRP framework 0.5 is spamming this error on the Server Console:

fn (@vrp/lib/utils.lua:48)
SCRIPT ERROR: @vrp/lib/utils.lua:43: attempt to call a nil value (upvalue 'callback')
fn (@vrp/lib/utils.lua:48)
SCRIPT ERROR: @vrp/lib/utils.lua:43: attempt to call a nil value (upvalue 'callback')

I don't know if it is something related to the txAdmin module, but I am reporting it to have some feedback from your side.
Really thanks for your great job on this panel.
Thanks,
Miguel de Carvalho

txAdmin doesn't interact with any resources, and doesn't change any fxserver parameters.

Hey,
Really thanks for your help, I wans't sure about it.
Thanks,
Miguel de Carvalho

On a side note, why are you still using vrp 0.5 since vrp 2.0 was released more than a year ago?

Somehow I didn't see the 2nd part of your quote. Basically I am just setting up the server on a communnity. He said me that there aren't many resources for vRP2.0


Html.ValidationSummary(ValidationSummary.All) throws NullReferenceException

This started after I've updated my project from RC1 to ASP.NET Core 1.0. The tag helper also throws this exception.
If instead you specify ValidationSummary.ModelOnly, there's no exception. But also no property-level errors, which is bad.
Workarond: traverse ViewData.ModelState.Values manually and generate appropriate html markup.
Stack trace:
System.NullReferenceException.
   в Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.ValidationHelpers.Visit(ModelStateDictionary dictionary, ModelStateEntry modelStateEntry, ModelMetadata metadata, List1 orderedModelStateEntries)
   в Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.ValidationHelpers.Visit(ModelStateDictionary dictionary, ModelStateEntry modelStateEntry, ModelMetadata metadata, List1 orderedModelStateEntries)
   в Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.ValidationHelpers.GetModelStateList(ViewDataDictionary viewData, Boolean excludePropertyErrors)
   в Microsoft.AspNetCore.Mvc.ViewFeatures.DefaultHtmlGenerator.GenerateValidationSummary(ViewContext viewContext, Boolean excludePropertyErrors, String message, String headerTag, Object htmlAttributes)
   в Microsoft.AspNetCore.Mvc.ViewFeatures.HtmlHelper.GenerateValidationSummary(Boolean excludePropertyErrors, String message, Object htmlAttributes, String tag)
   в Microsoft.AspNetCore.Mvc.ViewFeatures.HtmlHelper.ValidationSummary(Boolean excludePropertyErrors, String message, Object htmlAttributes, String tag)
   в Microsoft.AspNetCore.Mvc.Rendering.HtmlHelperValidationExtensions.ValidationSummary(IHtmlHelper htmlHelper)

We definitely test w/ ValidationSummary.All. This issue is likely specific to your model types. Please share those class definitions.

@dougbu No, nothing specific to a model, this fails on all my models.
Example (simplified, but verified):
[Table("Currency", Schema = "dic")]
public class Currency
{
    [Timestamp]
    [Column(Order = int.MaxValue)]
    public byte[] Ts { get; set; }

    [Key]
    [StringLength(3, MinimumLength = 3)]
    [Column(TypeName = "nchar")]
    public string Id { get; set; }

    [StringLength(3)]
    public string CurrencySymbol { get; set; }
}

public class CurrencyController
{
    [ValidateAntiForgeryToken]
    [HttpPost]
    [ActionName("Edit")]
    public IActionResult ApplyEdit(Currency model)
    {
        ModelState.AddModelError(nameof(model.CurrencySymbol), "Lame!");
    }
}

Currency/Edit.cshtml (simplified, I posted values to it via refreshing browser which remembers 'real' post values)
@model object
@Html.ValidationSummary();

Debugger says that Model is of type "Currency", so is ModelMetadata.ModelType == typeof(Currency), so everything seems legit. And my other 100 tons of code that depend heavily on ModelMetadata continue to work perfectly.

Looks like a straightforward bug in ValidationHelpers.Visit(). That method (specifically this block) doesn't handle cases where a collection property is not bound. Just needs a null check on modelStateEntry.Children.

Reassigning to do the straightforward fix.

@dougbu is there a workaround for this in 1.0.0 (besides the option @rsheptolut suggested)?

is there a workaround for this in 1.0.0

Since the problematic property is get-only outside ModelStateDictionary, @rsheptolut's workaround is about it. With respect to that workaround, probably best to create a DefaultHtmlGenerator subclass that overrides GenerateValidationSummary(). More generally, stick with ModelOnly and use validation message helpers to ensure property-level issues are visible.

e5cb6f9

Workarond for 1.0.0
private void HackModelState(string key)
{
      var modelStateEntry = ModelState[key];
      var nodeType = modelStateEntry.GetType();
      nodeType.GetMethod("GetNode").Invoke(modelStateEntry, new object[] { new Microsoft.Extensions.Primitives.StringSegment("--!!f-a-k-e"), true });
      ((System.Collections.IList)nodeType.GetProperty("ChildNodes").GetValue(modelStateEntry)).Clear();
}

Would it be possible to add it to 1.0.1?
It can't break anything, having to wait several months for it would be a shame.

can someone give me a hint how to implement the Workarond for 1.0.0 ?

I use the following workaround in my production code for now:
<form class="form-horizontal" asp-antiforgery="true">
    <fieldset>
        // All of this instead of @Html.ValidationSummary() due to a bug in ASP.NET Core 1.0
        @if<EMAIL_ADDRESS>        {
            var errors = ViewData.ModelState.Values.Select(item => item.Errors.FirstOrDefault()?.ErrorMessage).Where(item => item != null);

                @Localizer["There are problems with your input:"]

                    @foreach (var error in errors)
                    {

@error

                    }

        }
    </fieldset>
</form>

Thanks rsheptolut that works great!
I had a multi file upload field that throw that error i think there are a lot of people that will need this workaround before the 1.0.1 release.
public ICollection AttachmentFiles { get; set; }

It seems like for some reason, it will be released only in 1.1.0

need call HackModelState for each enumerable property
public class ClOrderViewModel
{
...
 public AttachmentViewModel[] Attachments { get; set; }
...
}
class OrdersController:Controller
{
...
[HttpPost]
        public IActionResult Index(int? id, ClOrderViewModel vm, [FromServices] IClOrderRepository repository)
        {
            if (ModelState.IsValid)
            {
                if (id.HasValue)
                    repository.UpdateOrder(id.Value, vm);
                else
                    id = repository.InserOrder(vm);
                return RedirectToAction(nameof(Index), new { id = id.Value });
            }
            HackModelState(nameof(vm.Attachments));
            return View("ClOrder", vm);
        }
...
}

@danroth27 @Eilon should we include this in 1.0.2? @gdoron suggested that above (https://github.com/aspnet/Mvc/issues/4989#issuecomment-242229755) and in aspnet/EntityFramework#6760.

@dougbu you mean like https://github.com/aspnet/Mvc/issues/5157? 😄

@Eilon hmm, yeah. Fairly similar. 😈

Ported to rel/1.0.2 in f8f9bbc


refactor: improve code for dataState

Codecov Report
Base: 76.92% // Head: 90.70% // Increases project coverage by +13.78% :tada:

Coverage data is based on head (42c8ec2) compared to base (923f617).
Patch coverage: 91.22% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff             @@
##             main     #210       +/-   ##
===========================================
+ Coverage   76.92%   90.70%   +13.78%
===========================================
  Files           4        7        +3
  Lines         182      398      +216
  Branches       26       71       +45
===========================================
+ Hits          140      361      +221
- Misses         16       37       +21
+ Partials       26        0       -26

Impacted Files
Coverage Δ

...ontext/data/enhancers/irAutoPeakPickingEnhancer.ts
82.22% <82.22%> (ø)

...ts/context/data/enhancers/irMeasurementEnhancer.ts
86.27% <86.27%> (ø)

src/components/context/data/loaders/wdfLoader.ts
97.93% <97.93%> (ø)

src/components/context/data/append.ts
100.00% <100.00%> (+9.67%)
:arrow_up:

src/components/context/data/enhancers/enhance.ts
100.00% <100.00%> (ø)

src/components/context/data/loaders/jcampLoader.ts
83.09% <100.00%> (ø)

src/components/context/data/getEmptyDataState.ts
100.00% <0.00%> (+7.69%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Adding generator on https://openapi.tools

What do you guys think about creating PR on https://openapi.tools/, so this project "becomes more visible"? Do we need to do anything before that (e.g. improve documentation, missing features etc.)?

Let's do it! If they don't accept the project right away, let's apply the changes they want and knock again.

Great idea, I guess this generator not much worse compared to the ones which are already there. The weakest part of our generator is documentation in my opinion. Feature-wise it is decent.

As @mikemadisonweb said, let's document a bit more the project and after that creating the PR.

Another thing, in my opinion, is that we tried the generator mostly on Docler internal specifications, which are usually refined and well-written. We need to try it out more on publicly available ones. I'll do that when I would have some time.

https://github.com/apisyouwonthate/openapi.tools/pull/233 🤞 😄


Fix typo when unsetting the app key variable.

What's this PR do?
When users run ds pull stage --db, we remove the Staging server's Northstar credentials so we don't accidentally pollute data when re-enabling that module on local. It turns out I made a typo when adding this drush variable-delete call, so it wasn't removing the "app key".
How should this be reviewed?
If you pull staging, you should see secret1 for the "Northstar App Key". This is the default value for that field, and also what Northstar seeds for the trusted-test-client in development.
Any background context you want to provide?
We should update these to be dosomething_northstar_client_id and dosomething_northstar_client_secret when we start using Northstar-PHP because the current naming is rather confusing.
Relevant tickets
Fixes ¯\_(ツ)_/¯ .
Checklist

[ ] Documentation added for new features/changed endpoints.
[ ] Tested on staging.
[ ] Pinged a PM if this is a larger PR that would benefit from some additional testing love.

🚢


Datatable not taking whole width of container within dialog.

[X] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, post on Stackoverflow or Gitter
Current behavior
When opening a tabbed dialog (Angular Material), an ngx-datatable on the default tab is horizontally cut off only on the header and table body... the footer extends the whole space. When the page size is changed at all (resizing, opening console, etc), the table then fills the space. This only occurs on the first tab.
Expected behavior
The datatable(s) in the first tab would take up all available horizontal space upon load.
Reproduction of the problem

What is the motivation / use case for changing the behavior?
To avoid using an Angular Material table, which does not exhibit this behavior.
Please tell us about your environment:
"dependencies": {
"aws-sdk": "^2.184.0",
"bootstrap": "^3.3.7",
"core-js": "^2.5.1",
"jquery": "^3.2.1",
"rxjs": "^5.5.2",
"zone.js": "^0.8.18"
},
"devDependencies": {
"codelyzer": "^3.2.2",
"ts-node": "^3.3.0",
"tslint": "^5.8.0",
"typescript": "2.5.3"
}

Table version:
11.1.7

Angular version:
5.2.2

Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

All

Language: [all | TypeScript X.X | ES6/7 | ES5]

TypeScript 2.5.3

Bumping for visibility. This did not occur in previous versions of ngx-datatable. Would be great if someone had some insights?

+1

+1

+1

+1

+1

+1

as workaround we use bootstrap tabs..

+1

+1, is there any fix in the works?

Can someone provide a working stackblitz demo in order to check the issue? I am too lazy to make one... But willing to help!

Same issue occurs while opening in the Material Dialog.
Can anyone suggest the workaround for the same ?

confirmed in version 16.0.3

for some reasons, the following seems to mitigate the issue for me:

for some reasons, the following seems to mitigate the issue for me:

This disables the width adjusting on window resize.

https://github.com/swimlane/ngx-datatable/issues/923
You just need to trigger window resize event.
ngAfterViewChecked():void{
window.dispatchEvent(new Event('resize'));
}

Thank you @codingnut , adding that method to my component, the issue was solved!

Well, making a resize event is really helpful, but in my case, I'm using reveal animation so the resize is just breaking it :(
any real solution?

Changing the animation time to 0 in the config works (seems the issue is that the table is sizing to the initial width at the start of the animation and then gets stuck there which is why resize works).
However, now I'm faced with the issue of using this for this 1 case or changing all 50 modals or so to use no animation on enter.


Animating table/collection updates

Trying to implement the proper animating in of sections (as Photos framework queries process in the background and I update a UICollectionView), I am running into some problems.
I track my pending changes which are part of the app state. In newState I look for those and if found I process them in a performBatchChanges block on the collection view. At the end I dispatch a PhotoActions.PendingChangesHandled(changes) action to notify the store. I'll call this the ACK message for brevity.
At that point the app dies because I'm dispatching while in the middle of a dispatch.
Here are the potential solutions as I see them:

Dispatch to a background queue, then from there dispatch back to the main queue, then dispatch the ACK. This introduces logic errors because the Photos framework query is still being processed and sending even further updates asynchronously but the pending changes array in the app state hasn't had the resolved changes removed. So if one of those further state changes slips in-between, the collection view will attempt to re-apply pending changes it has already applied and Bad Things™ will happen.

The store can perform a completion block but the problem is this is really communication between the VC and Store of something it did after the fact so it would require the action creator, VC, and store/reducers to collude in a really tangled way. This seems like it is just a path to re-introduce complexity.

Have the VC flip a property on the PendingChange object to mark it as handled. This is gross because it directly contradicts the spirit behind the framework by having the view controller mutate app state directly... besides the fact that doing this in other scenarios could introduce race conditions and various other concerns.

Have the VC remember PendingChange objects it has seen and ignore them on further state updates, and combine this with (1) to eventually clean old ones out of the list. This is just introducing mutable state back into the VC

Add a facility to inject a post-dispatch completion function which the VC could use to make sure its ACK was sent after dispatch was finished but before any new actions were processed. I'm leaning towards this only because it is easy to implement and I need to get this project out the door :)

If you really wanted to get fancy the VC could compare the old state to the new state and figure out what sections or objects were added, removed, moved, etc, then animated those changes to match. That's a fairly ambitious undertaking but would align closer to what React is doing with Virtual DOM updates.

Maybe I'm over-thinking it? If you're using React then you avoid the problem by Virtual DOM diffing which makes computing the delta between (old state -> rendered view) and (new state -> rendered view) really cheap (though I haven't seen anyone take it a step further and apply animation rules based on the Virtual DOM diffs).
I thought about having a mechanism specifically to allow the view layer to acknowledge actions for cases like this. I don't know if this is a problem that will come up in other situations or if it is very specific to handling animations (which are stateful by nature).
(6) just begs for a virtual UIKit system akin to React's Virtual DOM to generalize it but that would be a massive undertaking.

@Ben-G This does solve the dispatching problem but I'm going to remove the PendingChanges implementation since the state diffing logic works well and is more "pure".

Great! Would love to see your approach when it's done!


Build number to be selected manually.

I have created a pipeline job for jenkins. this job is to parameterize the build number. Requirement is , one have to select the build number in the job manually.which should be similar to Drop-down list which shows all the list of builds. can any one help in this regards.

thanks you Santosh working on that will update you once this is completed.

Hi Team
https://stackoverflow.com/questions/19135280/parameter-list-in-jenkins-to-display-list-of-build-numbers-from-another-build
the above url is good to go but "Dynamic  parameter plugin " is not available to proceed with the above approach.
So tried the below approach,but i am able to deploy the specific build but unable to manually select the build number if anybody can assist me with this it would be helpful.
https://stackoverflow.com/questions/15126059/how-to-promote-a-specific-build-number-from-another-job-in-jenkins

do anyone have any approach using script ,and using active choice reactive reference parameter plugin.


WIP: Fix do-while loop handling in higher order differentiation.

In progress work to fix #2914.

Closing. Fixed by: #2918


tus: "file currently locked"

Sometimes, after the file has been uploaded (after the TUS stage), the notify call fails with "file currently locked".  The backend is waiting for something (we are not sure what).
Usually, another notify should do that trick and in fact is being done, but the initially error wasn't caught, so we ended up with successful upload but with "file currently locked" shown.
Need to suppress the error message for this scenario (there might be other scenarios where this error message is correctly reflecting the situation).

Assessment above is incorrect.

For super large files, the notify call will timeout after ~2 minutes.
We do one more retry, but the "file is still locked", hence the popup.
But at the backend, the SDK call will be done after the file is unlocked, so user eventually sees the claim confirming in the blockchain.

Not sure what's locking the file after the tus upload.

Requires https://github.com/OdyseeTeam/odysee-api/issues/401


Changes for nodejs 4.1.1

Changes for nodejs 4.1.1

Recommend waiting for https://github.com/intel-iot-devkit/mraa/pull/297 to be resolved before merging.

About changes:

c++11 is required to be enable
ds1307 example works without problem
lsm303 does not work. And I see several problems here. One of them is related with SWIG 3.0.7 code generation.

@xbolshe are you saying the the output type maps don't work correctly anymore with SWIG 3.0.7? That would affect A LOT of other sensors too. Can you also please open this an an issue so that I can close this and keep track of it separately?
Thanks!

See https://github.com/intel-iot-devkit/upm/issues/288

See https://github.com/intel-iot-devkit/upm/pull/289

Can you please resubmit this patch? It doesn't seem to be available on your master anymore.

See https://github.com/intel-iot-devkit/upm/pull/309

Merged the resubmitted patch. Thanks!


feature(UI): Support for ksctl UI

Is your feature request related to a problem?📖
another option to interact with the ksctl core to do specific task
Describe the solution you'd like 👨💻👩💻

Note
Currently in Discussion phase

HTTP streams needed for ksctl core to share with the frontend
make the cli and the frontend indenendent [Point Of Discuss]
### Tasks
- [ ] Seperation of Logger and Storage interfaces
- [ ] Add Global Const Error (_OPTIONAL_)
- [ ] for generating what should be the API endpoints look like https://editor.swagger.io/
- [ ] SSH keypair is by default writing to the local file system
- [ ] whether to create the server in websocket or HTTP

Describe alternatives you've considered💠

Provider in question

Ksctl core

Additional context
Check Contribution's guidelines

We will be using http streams (ksctl dashboard)

The logger will write on specific format during stream events like

type ServerResponse struct {
  Msg string,
  IsError bool,
  Error string,
}

Openapi spec need to be defined for the server
The backend will contain auth, authorization based execute functionality
Dashboard is just a Web UI format
Single ksctl server and multiple users to use with username and password will be our first approach
seperate the logger and the storage


TypeError: Cannot read property 'name' of undefined

Checking Project & Icon
✓  platforms found: ios, android
✓  icon.png exists
✓  config.xml exists
events.js:141
throw er; // Unhandled 'error' event
^
TypeError: Cannot read property 'name' of undefined
at /usr/local/lib/node_modules/cordova-icon/index.js:101:44
at Parser. (/usr/local/lib/node_modules/cordova-icon/node_modules/xml2js/lib/xml2js.js:462:18)
at emitOne (events.js:77:13)
at Parser.emit (events.js:169:7)
at Object.onclosetag (/usr/local/lib/node_modules/cordova-icon/node_modules/xml2js/lib/xml2js.js:423:26)
at emit (/usr/local/lib/node_modules/cordova-icon/node_modules/xml2js/node_modules/sax/lib/sax.js:625:33)
at emitNode (/usr/local/lib/node_modules/cordova-icon/node_modules/xml2js/node_modules/sax/lib/sax.js:630:3)
at closeTag (/usr/local/lib/node_modules/cordova-icon/node_modules/xml2js/node_modules/sax/lib/sax.js:874:5)
at Object.write (/usr/local/lib/node_modules/cordova-icon/node_modules/xml2js/node_modules/sax/lib/sax.js:1202:11)
at Parser.exports.Parser.Parser.parseString (/usr/local/lib/node_modules/cordova-icon/node_modules/xml2js/lib/xml2js.js:481:31)

imagemagick is installed

Hey,
What is your Node version (node -v)?
This could be an issue related to one of your XML files. If your try to run cordova-icon on a clean & new Cordova project, is the result the same?

Hey @MiLeung, any update on this? Did you fix the issue? Or found a workaround?

No still getting the same error

If your try to run cordova-icon on a clean & new Cordova project, is the result the same?
Could you please give us your config.xml file to see if something is wrong?

No response, closing. Feel free to re-open if needed.


T-14312 fix: move yesterday usage to daily usage when needed

Adds function to move yesterday to daily usage in the first update of todays usage

Solved issue in other way in this PR https://github.com/pokt-foundation/relay-meter/pull/15


Add direct unit tests for working with 32bit and 64bit processes.

It is not exactly #29, because it happens in another query.
But #29 may be caused by similar reasons if the process dies in the middle of 2 queries. It may be a case when killing process trees, though it is also not the only root cause of JENKINS-30782.

[x] - Add explicit process management tests for 32 and 64 apps, powered by a multi-platform Hello World App
[x] - Add tests for retrieving CmdLine and EnvVars of the terminated process
[x] - Fix Javadoc according to the actual behavior for termintaed processes (needs to be reflected in Jenkins)

@reviewbybees

This pull request originates from a CloudBees employee. At CloudBees, we require that all pull requests be reviewed by other CloudBees employees before we seek to have the change accepted. If you want to learn more about our process please see this explanation.

@jglick ready for review

@reviewbybees done, I guess? =)


Receiving notifications for posts from other users

I just learned about Beaker and Fritter and was messing around with them when I discovered what looks like a bug. I haven't posted anything yet but under Notifications are replies to "my" posts from Tara and Paul.

Awesome project though! Thanks!

I should've checked the fritter repo, this is a duplicate of beakerbrowser/fritter#17


feat: containerized pgAdmin4 setup

Description ✏
PR #338
pgAdmin for DB management! Interact and manipulate DB data in the browser. Includes more features than Prisma Studio but steeper learning curve and older interface.

Type of Change 🐞

[x] Feature - A non-breaking change which adds functionality.
[ ] Fix - A non-breaking change which fixes an issue.
[ ] Refactor - A change that neither fixes a bug nor adds a feature.
[x] Documentation - A change only to in-code or markdown documentation.
[ ] Tests - A change that adds missing unit/integration tests.
[ ] Chore - A change that is likely none of the above.

Checklist ✅

[x] I have done a self-review of my code.
[x] I have manually tested my code (if applicable).
[x] I have added/updated any relevant documentation (if applicable).

I think I prefer the simplicity of the Prisma Studio setup, so going to close this PR and follow up on #360.


ViroButton - onClick doesn't trigger

Requirements:
Please go through this checklist before opening a new issue

[X] Review the documentation
[X] Search for existing issues in: viromedia/viro & ViroCommunity/viro
[X] Use the latest ViroReact release

Environment
Please provide the following information about your environment:

Development OS: Mac
Device OS & Version: iOS 15.0.2
Version: ViroReact 2.21.0 - React Native 0.65.1
Device(s): iPhone Xr

Description
I'm using this wonderful library to achieve a treasure hunting: pratically, the user sees a 2D map where he is geolocated and, when he's near a treasure, start the ar mode where the app shows it as a ViroButton; clicking the button, the user can collect the treasure.
Unfortunately, the onClick method doesn't work every time and it is possible that sometimes the event does not trigger, forcing the user to exit and enter again (sometimes it works, sometimes it doesn't work - maybe some reset).
I see some similar issues in viromedia's repository, but without solutions or with some workaround valid for that repository.
I don't use last version of Viro, cause the error during installation talked in other issues.
Reproducible Demo
This is more or less my code of the ar mode, I cut the useless parts.
https://pastebin.com/0bd9cqTj
Thanks to everyone!

I've created a playground here to help with this issue.
I can reproduce this issue 😄 I see that swiping gives a much more consistent "click" than tapping the screen. I also find that onClickState tends to give a more accurate click event.

Could this issue be raised to a higher priority? It is also happening of the ViroBox component.

Yes. This is a pretty basic functionality.

Any news on this?


Blog entries are not reaching volunteers

There are occasional items in the blogs that need to be posted elsewhere for volunteers to see. Options are either the Newsletter or when they appear also put them on the transcribers and coordinators boards.
Nobody really sees the blogs as they stand at the moment.
Geoff

Indeed; Comms Coords should be encouraged to look at https://www.freeukgenealogy.org.uk/news/ regularly for new content to share in their newsletters

@cmahoneynz is this OK?


model with floating joint in urdf cannot be parsed

I want to model a floating base articulated body robot, such as humanoid or quadruped. Refer to the URDF official document, I found a joint label "floating" to discribe a floating base. But it shown a error of "The XML stream does not contain a valid URDF model" after I excute the program. While it can success run if the "floating" joint become "fix", but in this way, it seems not a dynamics system I wanted. So my question is that, how can I model a floating base robot in pinocchio, and I note that none of robot described with URDF has no such "floating" joint at all, why?

@Wenchun6 could you please share with us your URDF file to check the issue you have encountered? In the meantime, you might see at the examples folder located at the root of the repository. There is a file called overview-URDF.py in which you will find the related example.

@jcarpent actually I have no problem to load my URDF model. So let me make it clear, I have a quadrped urdf model with 12 actuated revolute joints, by running the overview-URDF.cpp example as follow

The output is shown below,

It shows that my model is just a  fixed base model with 12 actuated joint, rather than a floating base model with nq = 6+12 and nv = 12, which the 6 corresponding to the degree of freedom in space of the floating base. I wanna ask for how can I model such floating base system in pinocchio, shoulde I need to add 3 prismatic and 3 revolute joints in my urdf or there is a specific function like FloatingBaseModel(model) or some thing others to model a floating base system?.

You can just provide a third argument to the function buildModel like pinocchio::JointModelFreeFlye() to mention the fact that the root joint is a free floating joint.

The problem comes from your side. With `test.urdf' being
<robot name="foo">
  <link name="link1"/>
  <link name="link2"/>
  <joint name="joint" type="floating">
    <parent link="link1"/>
    <child link="link2"/>
  </joint>
</robot>

then
import pinocchio
model = pinocchio.buildModelFromUrdf("./test.urdf")
print(model)

outputs
Nb joints = 2 (nq=7,nv=6)
  Joint 0 universe: parent=0
  Joint 1 joint: parent=0

@jmirabel well,I still get the error if I set the root joint as a 'floating' joint in my urdf file. The error show that it is not valid urdf file

The issue seems to be your URDF. You can check it with command check_urdf.
I close this since the issue does not seem to come from Pinocchio.

@jcarpent That's great, thank you.So the first 7 parameters of 'q' mean the (x,y,z,quaternion), which is the position and orientation of the floating base? BTW,the quaternion in Pinocchio follows which conventions, (x,y,z,w) or (w,x,y,z)?


[WIP] Make dvm.sh POSIX compatible again

In support of #61.

[X] Bring back DVM_SCRIPT_SOURCE and DVM_DIR magic.

/cc @filler

This is working for me in zsh now. Care to try it out @filler?

Tested all the script outputs, we should push a patch release if @filler says we're fit to ship, @carolynvs.

A++++ WOULD DVM AGAIN
This PR works as advertised for solving using dvm under zsh per https://github.com/getcarina/dvm/issues/61


EFCore doesn't add ORDER BY clause (OrderBy_nav_prop_reference_optional fails)

While trying to run tests on Npgsql, the OrderBy_nav_prop_reference_optional test fails. Debugging this shows that the following test code produces SQL without an ORDER BY clause:
expected = context.LevelOne
    .Include(e => e.OneToOne_Optional_FK)
    .ToList()
    .OrderBy(e => e?.OneToOne_Optional_FK?.Name)
    .Select(e => e.Id)
    .ToList();

Under SqlServer the test happens to pass because the expected order is returned by chance.

This particular code snippet intentionally does the ordering client side (and compares to a second wuery with ordering done in db). Assigning to investigate though.

fixed in d344ec0025b7ca37604d6a65a000234093ccb619


AMBARI-24603 Better scrolling for long list of components in dropdown…

… in host details page
What changes were proposed in this pull request?
Scrolling improvements in host details -> Logs page
How was this patch tested?
Manually tested

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/3877/
Test PASSed.

@atkach @aBabiichuk please review

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/4506/
Test PASSed.


Not working with path with unicode chars

If source files is located in paths with unicode chars, f.e. '´', will not create vcdiff files and program finalize without advise that one error ocurrs because any files was created.

Version 1.1.5 will display an error prompt if this, or other errors are encountered during xDelta3 execution. This doesn't solve the underlying issue, but will at least show the issue and not display a false success message.

this could be fixed by adding CHCP 65001 to the start of the batch file at least for Windows (don't know if Linux/Mac have this problem)

@1024mb if you have a working solution (even if only for Windows - I haven't tested this behavior on other platforms either) I'd appreciate if you could open a PR with your fix


Git Master: CherryPy fails to build

Describe the bug
On latest git master, CherryPy fails to build
To Reproduce
running egg_info
writing Flask_Cors.egg-info/PKG-INFO
writing dependency_links to Flask_Cors.egg-info/dependency_links.txt
writing requirements to Flask_Cors.egg-info/requires.txt
writing top-level names to Flask_Cors.egg-info/top_level.txt
reading manifest file 'Flask_Cors.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
no previously-included directories found matching 'docs/_build'
writing manifest file 'Flask_Cors.egg-info/SOURCES.txt'
running build_ext
pythonRemoveBinBytecodePhase
pythonImportsCheckPhase
Executing pythonImportsCheckPhase
setuptoolsCheckPhase
Executing setuptoolsCheckPhase
Processing ./CherryPy-18.1.2-py2.py3-none-any.whl
libtoolize... using libtoolize
Requirement already satisfied: cheroot>=6.2.4 in /nix/store/p21q3qia97vqddrilmkxipkkw7mlddli-python3.7-cheroot-8.2.1/lib/python3.7/site-packages (from CherryPy==18.1.2) (8.2.1)
Requirement already satisfied: more-itertools in /nix/store/b87s2mi4h3db15x669w86ji9byy7k7qr-python3.7-more-itertools-7.2.0/lib/python3.7/site-packages (from CherryPy==18.1.2) (7.2.0)
Requirement already satisfied: zc.lockfile in /nix/store/qbyskz0vndjxdl3qsg3glkf06ppd9n2l-python3.7-zc.lockfile-2.0/lib/python3.7/site-packages (from CherryPy==18.1.2) (2.0)
Requirement already satisfied: portend>=2.1.1 in /nix/store/x7lq20i5wkc6gcwnhqs954yv9x9pwv5c-python3.7-portend-2.5/lib/python3.7/site-packages (from CherryPy==18.1.2) (2.5)
Requirement already satisfied: jaraco.functools in /nix/store/ljcqwrzvb7gj8yi6gh99j145vrqc8051-python3.7-jaraco.functools-2.0/lib/python3.7/site-packages (from cheroot>=6.2.4->CherryPy==18.1.2) (2.0)
running test
running egg_info
writing dogpile.cache.egg-info/PKG-INFO
writing dependency_links to dogpile.cache.egg-info/dependency_links.txt
writing entry points to dogpile.cache.egg-info/entry_points.txt
writing requirements to dogpile.cache.egg-info/requires.txt
writing top-level names to dogpile.cache.egg-info/top_level.txt
Requirement already satisfied: six>=1.11.0 in /nix/store/1i37v0b8a6f0pd641piilncn62b5hr3p-python3.7-six-1.12.0/lib/python3.7/site-packages (from cheroot>=6.2.4->CherryPy==18.1.2) (1.12.0)
reading manifest file 'dogpile.cache.egg-info/SOURCES.txt'
Requirement already satisfied: setuptools in /nix/store/dm5p0lmpj0k9p9xb1z62vzmcsmg12pd6-python3.7-setuptools-41.4.0/lib/python3.7/site-packages (from zc.lockfile->CherryPy==18.1.2) (41.4.0.post20191022)
reading manifest template 'MANIFEST.in'
Requirement already satisfied: tempora>=1.8 in /nix/store/ix2wzl8ddg1jqi9d8d92vjpwi74jf8m3-python3.7-tempora-1.14.1/lib/python3.7/site-packages (from portend>=2.1.1->CherryPy==18.1.2) (1.14.1)
warning: no files found matching '*.jpg' under directory 'docs'
warning: no files found matching '*.sty' under directory 'docs'
warning: no files found matching '*.dat' under directory 'tests'
warning: no files found matching 'CHANGES*'
no previously-included directories found matching 'docs/build/output'
writing manifest file 'dogpile.cache.egg-info/SOURCES.txt'
Requirement already satisfied: pytz in /nix/store/a2rfh1wi7xlcl5wnv1iyas943ca0s0kz-python3.7-pytz-2019.3/lib/python3.7/site-packages (from tempora>=1.8->portend>=2.1.1->CherryPy==18.1.2) (2019.3)
running build_ext
python setup.py test is deprecated by pypa.  Please invoke 'tox' with no arguments for a basic test run.

builder for '/nix/store/wk0wd6v55x1jsmy021fwmdw7xv1zhlbc-python3.7-dogpile.cache-0.8.0.drv' failed with exit code 1
cannot build derivation '/nix/store/kcp81c21ws649brx93589lkk5aw14q9m-nox-0.0.6.drv': 1 dependencies couldn't be built
building '/nix/store/sb70g53b7bwm9km4f8mmg94b1h0v9ra4-python3.7-html2text-2019.9.26.drv'...
building '/nix/store/9bxi1p65b28h3yypp555xa704733qbj0-reload-container.drv'...
building '/nix/store/k4dzihxd4qvq9d9al3vj5zbsgm1ky1rq-remove-references-to.drv'...
building '/nix/store/8fpqb0gm37l080kcmxy33fi28aszwn3a-rspamd-overrides-extra-config.inc.drv'...
building '/nix/store/c0pvc4252s1866m34rxk5lmk1mlqwlrf-rspamd-overrides-worker-proxy.inc.drv'...
cannot build derivation '/nix/store/3rcxpj396gh7zzwcd1srx8b7mygim91k-system-path.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/vdyhrwi7kcwm07adwcj7mma6z6yn45l7-nixos-system-servi-20.03.git.acae65d.drv': 1 dependencies couldn't be built

Metadata
Please run nix run nixpkgs.nix-info -c nix-info -m and paste the result.
root@servi:~/nixos-master# nix run nixpkgs.nix-info -c nix-info -m
[8 copied (6.1 MiB), 1.7 MiB DL]

system: "x86_64-linux"
host os: Linux 4.19.79, NixOS, 20.03.git.4b0508a (Markhor)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.3.1
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos
channels(root): "nixos-19.09pre192418.e19054ab3cd"

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module:

It still failes to build:
writing top-level names to dogpile.cache.egg-info/top_level.txt
reading manifest file 'dogpile.cache.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.jpg' under directory 'docs'
warning: no files found matching '*.sty' under directory 'docs'
warning: no files found matching '*.dat' under directory 'tests'
warning: no files found matching 'CHANGES*'
no previously-included directories found matching 'docs/build/output'
writing manifest file 'dogpile.cache.egg-info/SOURCES.txt'
running build_ext
python setup.py test is deprecated by pypa.  Please invoke 'tox' with no arguments for a basic test run.
  WARNING: The script cherryd is installed in '/nix/store/2mjan0qifwca339kklmdjr6sypi347g7-python3.7-cherrypy-18.1.2/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
checking for g++ option to produce PIC... -fPIC -DPIC
Successfully installed CherryPy-18.1.2
checking if g++ PIC flag -fPIC -DPIC works... yes

builder for '/nix/store/wk0wd6v55x1jsmy021fwmdw7xv1zhlbc-python3.7-dogpile.cache-0.8.0.drv' failed with exit code 1
building '/nix/store/f2nbifvxcjmc5n0ra717y7cvpvfdvb3y-nixos-help.drv'...
cannot build derivation '/nix/store/kcp81c21ws649brx93589lkk5aw14q9m-nox-0.0.6.drv': 1 dependencies couldn't be built
building '/nix/store/sb70g53b7bwm9km4f8mmg94b1h0v9ra4-python3.7-html2text-2019.9.26.drv'...
building '/nix/store/9bxi1p65b28h3yypp555xa704733qbj0-reload-container.drv'...
building '/nix/store/8fpqb0gm37l080kcmxy33fi28aszwn3a-rspamd-overrides-extra-config.inc.drv'...
building '/nix/store/c0pvc4252s1866m34rxk5lmk1mlqwlrf-rspamd-overrides-worker-proxy.inc.drv'...
building '/nix/store/sdvpah23isah1rkc53irn1h8pz7382gi-rspamd.conf.drv'...
cannot build derivation '/nix/store/s48q58875km7gp6fsc3mcgwm7in8lnl3-system-path.drv': 1 dependencies couldn't be built
building '/nix/store/k7s05vjslam3w5h9n4w2db618hqn1l0h-udev-path.drv'...
building '/nix/store/h63d3d90pkasyiinzrkyp6zjxkybfwls-udev-rules.drv'...
building '/nix/store/9lgmdsdi34gl3ii0c35ly8dhnm6f6vdm-udhcp-script.drv'...
building '/nix/store/v2pdfaqvv2zzm17vlkcjahfchli822vr-unit-activate-virtual-mail-users.service.drv'...
building '/nix/store/plcr02dhfwld3q3p76630pqngpin122c-unit-alsa-store.service.drv'...
building '/nix/store/v0n85j5av9cx3my7mhqv44d0rp2847zx-unit-audit.service.drv'...
building '/nix/store/3jg7dbjrs7rjrrx16ydh5s4bb31fjw6v-unit-console-getty.service-disabled.drv'...
cannot build derivation '/nix/store/ypdwwr1mm081x4r23jpy3rbzggwkg76q-nixos-system-servi-20.03.git.443f1a4.drv': 1 dependencies couldn't be built
error: build of '/nix/store/ypdwwr1mm081x4r23jpy3rbzggwkg76q-nixos-system-servi-20.03.git.443f1a4.drv' failed

system: "x86_64-linux"
host os: Linux 4.19.79, NixOS, 20.03.git.4b0508a (Markhor)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.3.1
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos
channels(root): "nixos-19.09pre192418.e19054ab3cd"


[Bug] - unable to find group 1000 # git: no matching entries in group file

Rootless container is broken on Docker (due to #16361 I believe)
Error response from daemon: unable to find group 1000 # git: no matching entries in group file

Gitea version (or commit ref): https://hub.docker.com/layers/gitea/gitea/latest-rootless/images/sha256-b86c5ffeaf0d592e87e89b84f72ecf652fa1977248b8f6668a4590c9f9cfd765?context=explore

I think this is due to the attempt to put a comment at the end of the line (which Docker does not allow).

Damed ci should verify souch! :/

Ok lets just remove comment @jhult wana send a pull?

Whoops. @6543, I submitted a PR before I saw your comment.
I just moved the comment on top of the USER instruction (instead of removing it).


No host, exercise 1, Task 5: Verify the deployment of the Azure Virtual Desktop host

Module: 02 Implement a WVD Infrastructure
LAB_02L04_Deploy_and_manage_host_pools_and_hosts_with_PowerShell_ADDS.md
Task: 5
Step: 3
Description of issue
There's no single host under 'Session hosts' in step 3.
Repro steps:

Task 1: I connected to az140-dc-vm11 and created a new subnet 'hp3-subnet' <IP_ADDRESS>/24
Task 2: I created an empty as described in step 5
Task 3: Ran the template to create a Win10 enterprise system
Task 4: Add an azure vm running win10 hosts to the host pool.  Step 1 ran the AVD agent and boot loader onto the new vm from task 3, az140-24-p3-0.  Installed the az modules in step 3 .. 8: install agent and bootloader. No where do I see the step to add a new host to the pool for 'az140-24-hp3'
check for single host.  NONE

Are you the only one in your class who's running into this issue?
Unfortunately I'm not having much luck reproducing this behavior
rgds
Marcin

Closing due to lack of response


Add parameter descriptions for text embedding tuning Colab

REQUIRED: Add a summary of your PR here, typically including why the change is needed and what was changed. Include any design alternatives for discussion purposes.

Add parameter descriptions for text embedding tuning Colab. This will help users choose values for these parameters and allow official docs to link to the Colab for parameter reference.
Screenshot of inline Markdown displaying in Colab: https://screenshot.googleplex.com/73YYs5MTPFLgFBh

REQUIRED: Fill out the below checklists or remove if irrelevant

If you are opening a PR for Official Notebooks under the notebooks/official folder, follow this mandatory checklist:

[x] Use the notebook template as a starting point.
[x] Follow the style and grammar rules outlined in the above notebook template.
[x] Verify the notebook runs successfully in Colab since the automated tests cannot guarantee this even when it passes.
[x] Passes all the required automated checks. You can locally test for formatting and linting with these instructions.
[ ] You have consulted with a tech writer to see if tech writer review is necessary. If so, the notebook has been reviewed by a tech writer, and they have approved it.
[ ] This notebook has been added to the CODEOWNERS file under the Official Notebooks section, pointing to the author or the author's team.
[ ] The Jupyter notebook cleans up any artifacts it has created (datasets, ML models, endpoints, etc) so as not to eat up unnecessary resources.

If you are opening a PR for Community Notebooks under the notebooks/community folder:

[ ] This notebook has been added to the CODEOWNERS file under the Community Notebooks section, pointing to the author or the author's team.
[ ] Passes all the required formatting and linting checks. You can locally test with these instructions.

If you are opening a PR for Community Content under the community-content folder:

[ ] Make sure your main Content Directory Name is descriptive, informative, and includes some of the key products and attributes of your content, so that it is differentiable from other content
[ ] The main content directory has been added to the CODEOWNERS file under the Community Content section, pointing to the author or the author's team.
[ ] Passes all the required formatting and linting checks. You can locally test with these instructions.

/gcbrun


[Feature] Support local scripts and interaction

In CUE commands, we can interact with local system to do operations like prompting for user input, file read/writes: https://cuetorials.com/patterns/scripts-and-tasks/
Example:
     task: ask: cli.Ask({
         prompt:   "Approve it?"
         repsonse: bool
     })

That would be useful to orchestrate local workflow like environment promotion from dev to prod.

Closing since the 0.2 CUE API is frozen, in favor of the GraphQL API.


Overlay driver support for Solaris

This PR is targetting to add overlay network driver support for Solaris.
The code changes for this PR are stable and open to review. The PR has been tested on Linux as well.
To Dos:

[x]  Integration testing with docker-engine on Solaris

Signed-off-by: Puneet Pruthi<EMAIL_ADDRESS>

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "overlay_support" git@github.com:puneetpruthi/libnetwork.git somewhere
$ cd somewhere
$ git rebase -i HEAD~3
editor opens
change each 'pick' to 'edit'
save the file and quit
$ git commit --amend -s --no-edit
$ git rebase --continue # and repeat the amend for each commit
$ git push -f

Amending updates the existing PR. You DO NOT need to open a new one.

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "overlay_support" git@github.com:puneetpruthi/libnetwork.git somewhere
$ cd somewhere
$ git rebase -i HEAD~3
editor opens
change each 'pick' to 'edit'
save the file and quit
$ git commit --amend -s --no-edit
$ git rebase --continue # and repeat the amend for each commit
$ git push -f

Amending updates the existing PR. You DO NOT need to open a new one.

ping @docker/core-libnetwork-maintainers

I was discussing with @puneetpruthi about the need for CI and he is working on that.
am currently stuck with windows-overlay support. It would be good if @aboch @sanimej or @mrjana can spend some time reviewing the PR.

Most of the code is copied over from the linux implementation, then changed to be a no op.
As for the bridge driver implementation for solaris, I think it is ok for the code to go in so that it can provide the basic functionality and be a base for future improvements to be added.
I look forward for a code cleanup in both bridge and overlay solaris drivers though.
Also there is no CI to test this. I guess you guys will take care of it in docker/docker sometime.
LGTM

Thanks @aboch !
Bridge and Overlay cleanup shall be filed as a followup PR.
About the CI - we are working towards getting that out ASAP.

Thanks @aboch !


Swagger validation

Close #1
Add generated specification document validation using OpenAPI schema

Codecov Report

Merging #2 (e471b79) into master (7ca7d5a) will increase coverage by 3.72%.
The diff coverage is 95.65%.

@@            Coverage Diff             @@
##           master       #2      +/-   ##
==========================================
+ Coverage   90.47%   94.20%   +3.72%
==========================================
  Files           3        3
  Lines          42       69      +27
==========================================
+ Hits           38       65      +27
  Misses          4        4

Impacted Files
Coverage Δ

src/Utils.jl
92.85% <50.00%> (-2.98%)
:arrow_down:

src/OpenAPI.jl
89.65% <100.00%> (-10.35%)
:arrow_down:

src/SwaggerMarkdown.jl
100.00% <100.00%> (+25.00%)
:arrow_up:

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 7ca7d5a...e471b79. Read the comment docs.


Post processing of uploaded files

This is the nicest work around I have seen, many thanks.
How do you recommend triggering post processing of the uploaded files?
I do server side image resizing and so on and cannot figure out how to start that (inc_imageprocess.cfm) once your upload is complete.
If I need to pass additional variables in the form how would I do that?
Thank you!

You would have to customise the client side JavaScript and get it to visit a CF template using form or url params to pass through any information.
There is a condition in submit.js that would be the most appropriate place to trigger it.
if (xhr.status == 200) {}


Week 9 - Meeting #6 (29.11.2022)

What's up?
During this week's lab session we had a general meeting in order to talk about Milestone 2 deliverables and demo presentation.
In order for our team members to follow their responsibilities for Milestone 2, I as the note taker of this meeting should add the meeting notes to the wiki.
To Do

[x] Create a new wiki page for Week 9 - General Meeting
[x] Add this page to the sidebar and home.

Deadline
29.11.2022 @23.59
Additional Information
No response
Reviewers
No response

I created the wiki page for the meeting notes and added it to wiki home and to the sidebar.


TM fails to return 404

I'm submitting a ...

bug report

Traffic Control components affected ...

Traffic Monitor

Current behavior:

TM responds to any URI path it doesn't know about with a broken http page and a 200 response code.
Expected behavior:

TM should return a 404 for anything it doesn't handle
Minimal reproduction of the problem with instructions:

curl -vs http://trafficmonitor-01.cdn.kabletown.invalid/something/that/doesnt/exist.foo
Anything else:

can u apply a severity level @jhg03a