Error with serverless-python-requirements and AWS invokeLocal functionality

When running $ sls invoke local -f hello --log --docker --stage local I got the following output
Serverless: Running "serverless" installed locally (in service node_modules)
Serverless: Generating requirements.txt from Pipfile...
Serverless: Parsed requirements.txt from Pipfile in /path/to/project/.serverless/requirements.txt...
Serverless: Using static cache of requirements found at /Users/me/Library/Caches/serverless-python-requirements/698cb61ae5cba231b8c2fc7d8ea3a58580ce3127745beb871b77b9ceccc025a5_slspyc ...
Serverless: Packaging service...
Serverless: Excluding development dependencies...
Serverless: Excluding development dependencies...
Serverless: Packaging Python Requirements Lambda Layer...

    Type Error ---------------------------------------------

    TypeError: layer.split is not a function
            at /path/to/project/node_modules/serverless/lib/plugins/aws/invokeLocal/index.js:283:34
            at Array.map (<anonymous>)
            at AwsInvokeLocal.getLayerPaths (/path/to/project/node_modules/serverless/lib/plugins/aws/invokeLocal/index.js:262:90)
            at /path/to/project/node_modules/serverless/lib/plugins/aws/invokeLocal/index.js:437:16
            at tryCatcher (/path/to/project/node_modules/bluebird/js/release/util.js:16:23)
            at Promise._settlePromiseFromHandler (/path/to/project/node_modules/bluebird/js/release/promise.js:547:31)
            at Promise._settlePromise (/path/to/project/node_modules/bluebird/js/release/promise.js:604:18)
            at Promise._settlePromise0 (/path/to/project/node_modules/bluebird/js/release/promise.js:649:10)
            at Promise._settlePromises (/path/to/project/node_modules/bluebird/js/release/promise.js:729:18)
            at _drainQueueStep (/path/to/project/node_modules/bluebird/js/release/async.js:93:12)
            at _drainQueue (/path/to/project/node_modules/bluebird/js/release/async.js:86:9)
            at Async._drainQueues (/path/to/project/node_modules/bluebird/js/release/async.js:102:5)
            at Immediate.Async.drainQueues [as _onImmediate] (/path/to/project/node_modules/bluebird/js/release/async.js:15:14)
            at processImmediate (internal/timers.js:456:21)
            at process.topLevelDomainCallback (domain.js:137:15)

         For debugging logs, run again after setting the "SLS_DEBUG=*" environment variable.

    Get Support --------------------------------------------
         Docs:          docs.serverless.com
         Bugs:          github.com/serverless/serverless/issues
         Issues:        forum.serverless.com

    Your Environment Information ---------------------------
         Operating System:          darwin
         Node Version:              14.4.0
         Framework Version:         1.82.0 (local)
         Plugin Version:            3.8.4
         SDK Version:               2.3.1
         Components Version:        2.34.9

After adding in some debugging statements I was able to narrow down what had happened. The serverless-python-requirements module has incorrectly packaged the layer object that they are returning. A workaround for this was added and the invoke local function worked as expected. Here is what the object looks like:
{
  ...,
  "PythonRequirementsLambdaLayer": {
    "artifact": ".serverless/pythonRequirements.zip",
    "name": "name-local-python-requirements",
    "description": "Python requirements generated by serverless-python-requirements.",
    "compatibleRuntimes": ["python3.8"],
    "package": {/*The `artifact` field should be here*/}
  }
}

PATCH:serverless-python-requirements/lib/layer.js
/**
 * Creates a layer on the serverless service for the requirements zip.
 * @return {Promise} empty promise
 */
function createLayers() {
  if (!this.serverless.service.layers) {
    this.serverless.service.layers = {};
  }
  this.serverless.service.layers['pythonRequirements'] = Object.assign(
    {
      // Add `package` field to layer for proper processing in Serverless
      package: {
        artifact: path.join('.serverless', 'pythonRequirements.zip')
      },
      name: `${
        this.serverless.service.service
      }-${this.serverless.providers.aws.getStage()}-python-requirements`,
      description:
        'Python requirements generated by serverless-python-requirements.',
      compatibleRuntimes: [this.serverless.service.provider.runtime]
    },
    this.options.layer
  );

  return BbPromise.resolve();
}

After this patch running the top command yield:
Serverless: Running "serverless" installed locally (in service node_modules)
Serverless: Generating requirements.txt from Pipfile...
Serverless: Parsed requirements.txt from Pipfile in /path/to/project/.serverless/requirements.txt...
Serverless: Using static cache of requirements found at /Users/me/Library/Caches/serverless-python-requirements/698cb61ae5cba231b8c2fc7d8ea3a58580ce3127745beb871b77b9ceccc025a5_slspyc ...
Serverless: Packaging service...
Serverless: Excluding development dependencies...
Serverless: Excluding development dependencies...
Serverless: Packaging Python Requirements Lambda Layer...
Serverless: Unziping PythonRequirementsLambdaLayer...
START RequestId: b25e2481-be15-1937-d2bb-cddf44014155 Version: $LATEST
END RequestId: b25e2481-be15-1937-d2bb-cddf44014155
REPORT RequestId: b25e2481-be15-1937-d2bb-cddf44014155  Init Duration: 1704.10 ms       Duration: 113.30 ms     Billed Duration: 200 ms Memory Size: 1024 MB   Max Memory Used: 38 MB

{}

This is very good, thanks, I had the same issue and now it's working locally, do you think @brooks-macbeth-shadowdragon you can create a pull request or at least a branch?
Then I think I could reference it in my package.json before

I ran into this problem as well.


RFHUTILC and SSL CRL Issue

Been trying to connect to our server conn channel using rfhutilc and since we upgraded MQ to <IP_ADDRESS>, it no longer can connect.
There a way to make RFHUTILC ignore CRL or work correctly with it?
rfhutil version : V9.1.3 Build 230.
Getting the following in my windows event viewer:
9/23/2021 09:37:32 - Process(1176.1) User(REDACTED) Program(rfhutilc.exe)
Host(VD) Installation(Development)
VRMF(<IP_ADDRESS>)
Time(2021-09-23T13:37:32.374Z)
CommentInsert1([Class=]GSKVALMethod::X509[Issuer=]CN=REDACTED[#=]4146c4d32565cca98deeb73609f8a012[Subject=]CN=REDACTED)
CommentInsert2(gsk_attribute_get_buffer - GSK_UNKNOWNREVOCATIONSTATUS_SUBJECT)
CommentInsert3(REDACTED)
Remote SSL certificate revocation status check failed for channel 'REDACTED'.
IBM MQ failed to determine the revocation status of the remote SSL certificate for one of the following reasons: &B (a) The channel was unable to contact any of the CRL servers or OCSP responders for the certificate. &B (b) None of the OCSP  responders contacted knows the revocation status of the certificate. &B (c) An OCSP response was received, but the digital signature of the response could not be verified. &P The details of the certificate in question are '[Class=]GSKVALMethod::X509[Issuer=]CN=REDACTED[#=]4146c4d32565cca98deeb73609f8a012[Subject=]CN=REDACTED'. &P The channel name  is 'REDACTED'. In some cases the channel name cannot be determined and so is shown as '????'. The channel did not start. &P IBM MQ does not allow the channel to start unless the certificate revocation status can be determined.
If the certificate contains an AuthorityInfoAccess extension, ensure that the OCSP server named in the certificate extension is available and is correctly configured. &P If the certificate contains a CrlDistributionPoint extension, ensure that  the CRL server named in the certificate extension is available and is correctly configured. &P If you have specified any CRL or OCSP servers to IBM MQ, check that those servers are available and are correctly configured. &P Ensure that the local  key repository has the necessary SSL certificates to verify the digital signature of the response from the OCSP server.

We are able to connect to this channel with the same settings with MQ Explorer just fine.

SSL:
AllowTLSV13=TRUE
OCSPCheckExtensions=NO
CDPCheckExtensions=NO
OCSPAuthentication=OPTIONAL
in the mqclient.ini file resolved this.


Add support for multiple filter options in CLI

Description
Allow defining multiple filters in CLI by repeating --filter option.
Motivation and Context
Repeating is already supported by --resource option. For consistency, all multi-value options should be supported via repeated options.
Type of Changes

New feature (non-breaking change which adds functionality)

Documentation and Compatibility
The current documentation for --filter has:

Note:
To specify multiple filter files, use the system path separator character to delimit individual file paths (semicolon ‘;’ on Windows, and colon ‘:’ on macOS and Linux) and wrap the value in quotes:
--filter="filter1.ditaval;filter2.ditaval;filter3.ditaval"

This should be amended with the possibility of repeating the option, e.g.
--filter=filter1.ditaval --filter=filter2.ditaval --filter=filter3.ditaval

We also need some way in the CLI help to show that multiple repetitions are supported.

@infotexture Could you update https://github.com/dita-ot/dita-ot/blob/feature/multiple-filter-argument/src/main/resources/cli_en_US.properties#L45..L46 with the copy changes discussed in Slack?

@jelovirt Done. https://github.com/dita-ot/dita-ot/pull/3556/commits/ae242bbc7c36f3bb38f0a7ad3670d2b42ce12a0b ☝

If we end up re-using this more, we might want to add a variable for This option can be passed multiple times.
But I figured it's best to keep it simple for now. Feel free to optimize if you prefer.

Looks good and I added tests for these.


Implementing the Show Hover features

Hovers show information about the symbol/object that's below the mouse cursor.
Hovers can help to easily show the parsed errors or the description of the symbol/object.
I have already started working on this feature, and for now, it can display the word it's been hovered on and if there exists a parsing error.

I would like to continue work on this if it gets accepted as a viable feature.

Do you have examples of useful information to display in the hover?


Download not Working in Firefox

Here are two screens of the same request, it's a download file URL.
Firefox:

Chrome:

And here is the response in IE:

These are three identical requests one of firefox (empty a href) and one on chrome (a valid a href).
Any other details you might require?

Seems like a swagger-ui bug. You might want to report your situation there

@dilipkrish where is that? can you give a link? I've always posted my issues here.

swagger-ui


Sonoff Mini with Tasmota 8.2

I would like to build the Sonoff Mini behind a switch. But it is a double switch, switching two separate lights. I would like to connect one to the Sonoff mini. and keep the other switch working normally.
Can I connect the S1 and S2 to 220V?
Or do you have an other suggestion?
Looking forward hearing from you!
Robert

I think you cannot, the S1 and S2 work on 3V


Update to babel v6 and others deps

Update to babel v6 with preset-es2015, new api on del package, and the update to the last version of the others packages hasn't any breaking change.

I will close this PR because I made a huge mistake... I commit on master.


Catch and properly handle exceptions from OAuthPrompt.ExchangeTokenAsync

Version
4.8.0
Describe the bug
During token exchange flow, if the user has never provided consent, the following will throw an exception related to 'consent required':
OAuthPrompt.cs#L499
                    var tokenExchangeResponse = await adapter.ExchangeTokenAsync(
                        turnContext,
                        _settings.ConnectionName,
                        turnContext.Activity.From.Id,
                        new TokenExchangeRequest()
                        {
                            Token = tokenExchangeRequest.Token,
                        },
                        cancellationToken).ConfigureAwait(false);

This exception should be caught, and an invoke response sent back to the parent.  (similar to what happens if (tokenExchangeResponse == null || string.IsNullOrEmpty(tokenExchangeResponse.Token)) )
To Reproduce
Steps to reproduce the behavior:

Use this sample: https://github.com/microsoft/BotBuilder-Samples/pull/2272
Remove the try/catch from SkillBot -> Bots/ChildBot.cs OnSignInInvokeAsync
Ensure consent has not been granted to the child bot aad app

revoke consent here: https://portal.office.com/account/#apps

Go through the signin process, and possibly see error (there is a race condition between the exception handler in the child, and the parent's handling of the response to PostActivityAsync in SendTokenExchangeInvokeToSkill ... not always, but sometimes, the skill will send an endOfConversation to the parent BEFORE the exception itself is propagated back through the call.  When this happens, the parent will delete the conversation.id of the skill, and errors show in the chat log instead of the expected Sign in Card)

Expected behavior
The race condition should not exist, and the parent bot should consistently show a sign in card if consent has not been provided.
[bug]

#3818 fixes this issue


Server frequently loses Azure SignalR connection [Azure SignalR Service is not connected yet Error]

My ASP.NET Web API (target framework: .NET Framework 4.6.2) project frequently loses connection with Azure SignalR service (free tier). I have followed the example as shown in aspnet ‘chatroom’ example.
My client application is based on Angular JS. Messages are being sent to the clients but after a few hours, the server connection with Azure SignalR service is lost and is not established again.
As far as I understand from the MS Azure SignalR Internals documentation:

If a server connection is disconnected for network issue,

the server connection starts reconnecting automatically.

The following error is returned back in response:

Azure SignalR Service is not connected yet, please try again later

However, this does not seem to be happening i.e. server connection with Azure SignalR service is not established again.

nuget packages:

Microsoft.AspNet.SignalR v2.4.0
Microsoft.AspNet.SignalR.Core v2.4.0
Microsoft.AspNet.SignalR.SystemWeb v2.4.0
Microsoft.Azure.SignalR.AspNet v1.0.0-preview1-10317
Microsoft.Azure.SignalR.Protocols v1.0.6

Just to add, Azure SignalR service is in North Europe.

We've identified an issue for ASP.NET that SDK does not reconnect after disconnect. There is a nightly build that contains a fix to this problem:
install-package Microsoft.Azure.SignalR.AspNet -Version 1.0.0-preview1-10325 -Prerelease -Source https://www.myget.org/F/azure-signalr-dev/api/v3/index.json
The fix is planned to be released this week.

Thanks, @vicancy. I'm also interested in why the service is frequently disconnecting from the server in the first place. Is there a document available regarding this?

"Frequent disconnecting" is not expected. There should be either something wrong inside the service, or exceptions from the app server side. Can you see any abnormal logs/CPU usage from app server side?

The latest v1.0.0-preview1-10330 version of ASP.NET should fix the issue.

Thanks, @vicancy for the fix. I would like to report that the connections were successfully being established for a longer period of time. However, after this, the following error is frequently occurring on the client side:

Logged error stack:

Error Gone After An Hour:
After an hour of this error frequently occuring, the error itself is gone (without doing any changes or redeployment), the client is able to connect but is not receving any messages. Please note that I am using groups as well. There doesn't seem to be any kind of abnormal logs on web server.
Restarting API:
Not being able to receive any messages, I restarted the API. Messages are now being received.
Lazy Initialization:
Also using lazy initalization for connecting with hub from a controller:
Lazy<IHubContext> hub = new Lazy<IHubContext>(
    () => GlobalHost.ConnectionManager.GetHubContext<THub>()
);
protected IHubContext Hub
{
    get { return hub.Value; }
}

6 hours overview of Azure SignalR service:

nuget packages:

Microsoft.AspNet.SignalR 2.4.0
Microsoft.AspNet.SignalR.Core 2.4.0
Microsoft.AspNet.SignalR.SystemWeb 2.4.0
Microsoft.Azure.SignalR.AspNet 1.0.0-preview1-10330
Microsoft.Azure.SignalR.Protocols 1.0.7

Update
This again occurred after a deployment today:

Hi @tehmas From the connection metrics, there was no server connection from 11AM to 12AM, is it expected? Are there any error logs from service side about connection failures?
"Azure SignalR Service is not connected yet" error happens when there is no app server connected to the Azure Service. As the metrics shows, the error should happen between 11AM and 12AM.
The client side error should be related to https://github.com/SignalR/SignalR/pull/4320/files


Remove safe and markdown filters from templates

So it turns out that using safe and markdown (which is more permissive than safe) isn't actually that safe, despite the deceptive name.
This pull request removes all uses of safe and markdown from our templates, as well as removes two outdated patterns that we have stopped using (namely, search-results and framework-notice).
It's a pretty large breaking change because in quite a few places we're passing stuff into the templates that we expect will be escaped, but @allait and I are taking care of pulling them into the frontend apps.
Markdown formatted text in the content is still allowed, it's just going to be handled in the content loader now instead of here, so some of our examples have had to change to just using straight HTML rather than asterisks and dashes.

👍

Would be good to add a record to the changelog for the breaking version bump please :)


Collect validation objf from all nodes in DDP training.

Great!  Merging.

FYI, this is hanging for me in the 2nd epoch.
I think this is expected though, because my version of lhotse was about a week old.  I am trying updating it.

I think this is expected though

I believe so.  I think it hangs at the end of the first epoch in your case.
Update to the latest lhoste should help.


Added support for custom promisifier

See bluebird docs for example.

Looks great! Merging. (Sorry for late action on this.)
I'll release a new version with these changes soon.


Channel handshake ChanOpenInit improvements

Summary
Apply spec changes. These changes have already been done for ChanOpenTry. These changes should be broken into smaller pieces if multiple parts of core IBC need to be modified. Please see the workflow I did for #640 for inspiration.

For Admin Use

[ ] Not duplicate issue
[ ] Appropriate labels applied
[ ] Appropriate contributors tagged/assigned

I think this is probably fine to do in one function since #640 help set the groundwork for these changes
Suggested ways of maybe breaking down the pr:

[ ] modify OnChanOpenInit API to return version string, pass version into WriteChannelState
[ ] ics20 - add a check if the version passed in is empty, if so return the ics20 version
[ ] ics27 - no code should be changed, the version passed must be non empty since it indicates specific connection choices (as well as tx and encoding type)
[ ] ics29 - if no version is specified it should not enable fees and pass onto underlying app
[ ] add a field to MsgChannelOpenInitResponse to return the selected version (probably should be done for MsgChannelOpenTry as well)


Error

[Enter feedback here]
When I did as instructed in the tutorial by adding the code below, I did not get the output on the page.  I got a server error.  Great tutorial by the way.
I tried with both Index methods loaded and with just this code.
[HttpPost]
public string Index(string searchString, bool notUsed)
{
return "From [HttpPost]Index: filter on " + searchString;
}
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: f9b9859c-b83c-5fc3-41d5-15531232185f
Version Independent ID: 5438de31-8562-3747-d1a5-2a4622252fc1
Content: Part 7, add search to an ASP.NET Core MVC app
Content Source: aspnetcore/tutorials/first-mvc-app/search.md
Product: aspnet-core
Technology: aspnetcore-tutorials
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

The tutorial works. I'm not sure what step you missed. You might try asking on StackOverflow,.


No overlay on the Navbar !!!!

When using the Navbar component, there is no overlay appearing as expected. This issue affects the overall user experience by making the Navbar blend in with the background, which reduces its visibility and usability.

I noticed this as well.  Perhaps the drop-down menus should have a slightly lighter color than the main background?


[TEST] Harvester UI extension on air-gapped repository for Rancher v2.10.1

What's the test to develop? Please describe
Continue the test activity from https://github.com/harvester/tests/issues/1721
Many user have the requirement to install Harvester UI extension under the airgapped environment.
Thus we need to ensure Rancher v2.10.1 can install Harvester UI extension from airgapped repository.
And confirm the basic virtualization management functionalities works the same with the regular connection
Prerequisite and dependency of test
Any prerequisite environment and pre-condition required for this test.
Provide test case dependency here if any.
Describe the items of the test development (DoD, definition of done) you'd like

Build the air-gapped repository for Rancher to install Harvester UI extension

Detailed steps can refer to issue: https://github.com/harvester/harvester/issues/7215

Please be noted, the test environment provided to test this feature was designed for:

Air-gapped repository for the Harvester UI extension
Non air-gapped Harvester
Non-air-gapped Rancher
Harvester and Rancher can well connect to the air-gapped repository endpoint

Test matrix

Rancher version
Harvester version

v2.10.1
v1.4.0

v2.10.1
v1.3.2

Scope of Testing

UI extension enablement:

Manually install UI extension from Extension
Uninstall UI extension
Import Harvester to Rancher

Virtual Management in Rancher:

Dashboard
Support
Dev Extension
Host
VM
Volumes
Images
Networks
Backup & Snapshot
Monitoring & Logging
Advanced Features
Project/Namespaces module
RBAC
Rancher Integration

Import Harvester
Cloud credentials
RKE2 guest creation

Node driver
Import existing (if time available)
Custom cluster (if time available)

RKE1 guest

Node driver

Upgrade Rancher

v2.9.4 -> v2.10.1-alpha1
UI extension enablement
Access Harvester and access existing vm resources

Test Result: Enable UI extension
$\color{green}{\textsf{PASS}}$ Manually install UI extension from air-gapped repository  $~~$

After we manually add the local repository built in the air-gapped environment.

We can install the Harvester UI extension v1.0.2 installed on the extension page

Then we can see the virtualization management page well

Mike found the issue while we install from the third-party repository, display the

The Harvester UI Extension repository is missing

 - https://github.com/harvester/harvester/issues/7215

$\color{blue}{\textsf{Ongoing}}$ Uninstall UI extension $~~$

$\color{green}{\textsf{PASS}}$ Import Harvester v1.4.0 to Rancher $~~$

Can correctly import Harvester in Rancher

Can access Harvester from Rancher virtualization management page

$\color{blue}{\textsf{Ongoing}}$ Import Harvester v1.3.2 to Rancher $~~$

Test Information

Test Environment: Single and Three nodes kvm machines
Harvester version: v1.4.0 and v1.3.2
Rancher version: v2.10.1
UI extension version: v1.0.2

Verify Steps
Manually install UI extension from Extension

 Uninstall UI extension

Open Extension page
Check the installed tab
Click the uninstall button on the Harvester UI extension
Check can uninstall the UI extension
Check can install the UI extension again

 Import Harvester to Rancher

Click import existing on the virtualization management page
Check can display the cluster registration url
Copy the registration url
Paste the url to the Harvester cluster registration setting
Check can correctly import Harvester to Rancher in Active state

Test Result: Virtual Management Harvester v1.4.0 in Rancher
$\color{green}{\textsf{PASS}}$ Dashboard page $~~$

✅ UI layout and string content
$\color{green}{\textsf{PASS}}$ Result $~~$

✅ Enable the rancher-monitoring addons
$\color{green}{\textsf{PASS}}$ Result $~~$

✅ Well display cluster and virtual machine metrics chart
$\color{green}{\textsf{PASS}}$ Result $~~$

$\color{green}{\textsf{PASS}}$ Support page $~~$

✅ UI layout and string content
$\color{green}{\textsf{PASS}}$ Result $~~$

✅ Access Embedded Rancher UI
$\color{green}{\textsf{PASS}}$ Result $~~$

✅ Access Embedded Longhorn UI
$\color{green}{\textsf{PASS}}$ Result $~~$

✅ Generate Support bundle
$\color{green}{\textsf{PASS}}$ Result $~~$

✅ Download KubeConfig
$\color{green}{\textsf{PASS}}$ Result $~~$

✅ Links connectivity
$\color{green}{\textsf{PASS}}$ Result $~~$

✅ Docs
✅ Forums
✅ Slack
✅ File an Issue

$\color{red}{\textsf{Failed}}$ Virtual machine module $~~$

✅ Create VM

✅ Start/Stop/Restart VM

✅ Pause/Unpause VM

✅ Soft reboot VM

✅ Take VM backup
$\color{green}{\textsf{PASS}}$ Result $~~$

✅ Clone VM
$\color{green}{\textsf{PASS}}$ Result $~~$

✅ Delete VM

✅ Download yaml

✅ View in API

✅ Take VM Snapshot

✅ View/Download/Clear VM logs
$\color{green}{\textsf{PASS}}$ Result $~~$

✅ Create Schedule

✅ Add Volume

✅ Edit / Update config

✅ Open WebVNC
$\color{green}{\textsf{PASS}}$ Result $~~$

❌ Open in Serial Console
$\color{red}{\textsf{Failed}}$ Unable to display content on serial console $~~$
Issue: https://github.com/harvester/harvester/issues/7220

✅ Add volume from edit vm config

✅ Add network from edit vm config

✅ Add ssh key

Test Information

Test Environment: Single and Three nodes kvm machines
Harvester version: v1.4.0
Rancher version: v2.10.1
UI extension version: v1.0.2


Wiki for install

Hi,
Can you please create a small wiki for how to install the module.

Done adding an Installation section in the README file.


⚠ Bofrost.be has degraded performance

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

HTTP code: 200
Response time: 1565 ms

Resolved: Bofrost.be performance has improved in 52a2ccf.


Add ability to delete an organization

Type of change

[ ] 🐛 Bug fix
[x] 🌟 New feature
[ ] 🔨 Breaking change
[ ] 📖 Refactoring / dependency upgrade / documentation
[ ] other:

Packages affected

[x] @clerk/clerk-js
[ ] @clerk/clerk-react
[ ] @clerk/nextjs
[ ] @clerk/remix
[x] @clerk/types
[ ] @clerk/themes
[x] @clerk/localizations
[ ] @clerk/clerk-expo
[ ] @clerk/backend
[ ] @clerk/clerk-sdk-node
[ ] @clerk/shared
[ ] @clerk/fastify
[ ] @clerk/chrome-extension
[ ] gatsby-plugin-clerk
[ ] build/tooling/chore

Description
Adds the ability for admins to delete organizations from the UI, as long as the adminDelete permission is present.

This PR has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.


Out-of-date documentation

Hi.
I just tried using version 8.0.0-preview.6.24214.1 of the Aspire.StackExchange.Redis package in my component-consuming project which seems to provide the builder.AddRedisClient extension method instead of builder. AddRedis and it's a breaking change but the documentation hasn't been updated. Also in the app host project, even though I have referenced the same package, I can't use the following line in the documentation page:
var redis = builder.AddRedis("redis");
as AddRedis or AddRedisClient cannot be found. Any idea?

AddRedisClient should be available

It's not. Would you be able to share a sample .NET 8 application with a similar structure that uses the same nuget package and has AddRedisClient in its App Host startup?

https://github.com/davidfowl/AspireWithRedis


Unexpected result when solving a spring-mass system

Description
Would like to report a strange result when trying to implement a spring-mass solver using jax.experimental.ode.odeint.
import matplotlib.pyplot as plt
import jax.numpy as jnp
import jax.experimental.ode

def mass_spring_damper(arr, F=5.0, k=2.0, m=20.0, c=4.0):
    """
    arr is in the form of [x, \dot{x}]
    """
    return jnp.matmul(jnp.array([[0, 1.0], [-k / m, -c / m]]), arr.T) + jnp.array(
        [[0], [F / m]]
    )

time_array = jnp.linspace(0, 60.0, 1000, dtype=jnp.float64)
result = jax.experimental.ode.odeint(
    mass_spring_damper,
    jnp.array([[0.0, 0.0]]),
    t=time_array,
).squeeze(axis=1)

fig, ax = plt.subplots(1, 1)
plt.plot(time_array, result[:, 0], label="displacement", alpha=0.5)
plt.plot(time_array, result[:, 1], label="velocity", alpha=0.5, color="k")
plt.tight_layout()

The result above shows the displacement going to a large positive number which I thought would have been controlled by both the spring constant k and damper c.
Here is some working code using scipy.integrate.odeint:
import numpy as np
from scipy.integrate import odeint
import matplotlib.pyplot as plt

# Initialization
tstart = 0
tstop = 60
increment = 0.1
# Initial condition
x_init = [0, 0]
t = np.arange(tstart, tstop + 1, increment)
# Function that returns dx/dt
def mass_spring_damper(x, t):
    c = 4  # Damping constant
    k = 2  # Stiffness of the spring
    m = 20  # Mass
    F = 5
    dx1dt = x[1]
    dx2dt = (F - c * x[1] - k * x[0]) / m
    dxdt = [dx1dt, dx2dt]
    return dxdt

# Solve ODE
x = odeint(mass_spring_damper, x_init, t)
# Plot the Results
fig, ax = plt.subplots(1, 1)
ax.plot(t, x[:, 0])
ax.plot(t, x[:, 1])
ax.set(
    title="Simulation of Mass-Spring-Damper System",
    xlabel="time (s)",
    ylabel="displacement x(t)",
)
fig.tight_layout()

What jax/jaxlib version are you using?
jax v0.4.1
Which accelerator(s) are you using?
CPU
Additional system info
Apple silicone
NVIDIA GPU info
No response

It looks like F is always applied as a positive force - shouldn't it multiply the sign of the position in order to be a damping term?

The reason why I wrote it that way is because I thought the above would evaluate as the following :
$$
\left[\begin{array}{c} \dot{x} \ \ddot{x} \end{array} \right]
\left[ \begin{array}{cc}0 & 1 \ -\frac{k}{m} & -\frac{c}{m} \end{array}  \right]
\left[\begin{array}{c} x \ \dot{x} \end{array} \right]
+
\left[\begin{array}{c} 0 \ \frac{1}{m} \end{array} \right] F
$$
The intention would be that the force balance is evaluated as $\ddot{x} = -\frac{k}{m}x - \frac{c}{m}\dot{x} + \frac{F}{m} $
At some point, $kx$ would grow large enough that it counteracts the constant $F$. Is there some nuance in my implementation that is forcing $\frac{F}{m}$ to be additive at each time step?

Oh, thanks for the details. It's easier to see when it's written out like that

Is it a problem that your input has shape (1, 2) and you output has shape (2, 1)?

Yeah that's my bad. Have now corrected this so that inputs and outputs are (2,1). However the result appears to be the same.
import matplotlib.pyplot as plt
import jax.numpy as jnp
import jax.experimental.ode

def mass_spring_damper(arr, F=5.0, k=2.0, m=20.0, c=4.0):
    """
    arr is in the form of [x, \dot{x}]
    """
    return jnp.matmul(jnp.array([[0, 1.0], [-k / m, -c / m]]), arr) + jnp.array(
        [[0], [F / m]]
    )

time_array = jnp.linspace(0, 60.0, 1000, dtype=jnp.float64)
result = jax.experimental.ode.odeint(
    mass_spring_damper,
    jnp.array([[0.0], [0.0]]),
    t=time_array,
).squeeze(axis=-1)

fig, ax = plt.subplots(1, 1)
plt.plot(time_array, result[:, 0], label="displacement", alpha=0.5)
plt.plot(time_array, result[:, 1], label="velocity", alpha=0.5)
ax.set(xlabel="time (s)", title="Mass-Spring-Damper System")
plt.legend()
plt.tight_layout()

I see the issue: the call signature for the function passed to odeint is func(y, t, *args): https://github.com/google/jax/blob/f7c915e6a239b87b1e4f35710adb35014cdc940f/jax/experimental/ode.py#L153-L154
Your function signature is func(y, F, *args). So you are integrating a function where the external force is increasing monotonically with time, which is enough to overcome the force of the spring trying to pull it back. If you define your function like this, I think it should work as expected:
def mass_spring_damper(arr, t, F=5.0, k=2.0, m=20.0, c=4.0):
  ...

I see my mistake now, that's worked perfectly. I should read the docstrings in more detail, thanks so much for looking into this.

Great, glad it's working!


Added solution for N Queens Problem

Added C++ solution for N Queens Problem.
The board size is currently 20 and can be modified.

cool ! Happy hacking 💻


Update patch for Swing-Material: MaterialFrame and Material Icons!

This patch includes the following changes:

MaterialTextField and MaterialPasswordField can now have an accent color set for the focus line and floating label.
The MaterialFormatedTextField behaves more like a common text field now, including a hint, a focus line and a floating label with the corresponding accent color.
MaterialComboBoxes behave a bit more like text fields now, including an adjustable accent color for the focus line and arrow.
The scrollbar used in combo boxes has now rounded bounds.
Added several methods for convenient handling of windows.
Added a cache layer for material shadows, so the CPU use decreases when the GUI is idle. As result, instances of MaterialShadow are now used per component.
MaterialButton and MaterialPane can now adjust the foreground color based on the background color set.
Imported some utilitary methods from DS Desktop Notify to provide support with current, recently added and future features.
Some docs have been added and/or extended.

Identified bugs and issues:

In Windows environments with on-board Intel Graphics, the popup of a combo box might not display its elements as soon as it appears, being filled with the L&F default background color instead until the mouse enters the area. This doesn't seem to happen in other enviroments, like PCs with dedicated graphics or AMD integrated graphics.
Manual element editing is not properly supported in MaterialComboBoxes.
Some subclasses might need to be exported to their own file as top-level classes, as they are used by different components instead of only one.

"Maintenance patch" :smile: I'd say that this is a pretty great feature patch, thank you very much! :+1:

More stuff has been done:

Added new object MaterialFrame, for decorated windows that resemble classic frames. Includes a colorizable title bar, control buttons and the ability of dragging the frame around the screen, all out of the box.
Added new object MaterialFrameWrapper. It handles the decorations and functionality associated with MaterialFrames.
Several methods inherited from JFrame were deprecated in MaterialWindow, as better alternatives have been provided.
Added a new font resource: Material Icons, from Google.
Added new class MaterialIcons, providing access to the embbeded iconfont and to the char mappings for each icon available.
Moved class Roboto into a separate fonts package.
Some docs have been added.
Other edits as requested, and minor bug fixes.

Now this is truly more an update than a patch.

Hmm... it seems some files made it there when they shouldn't. I'll clean that out later. In the meantime, why don't you guys try the MaterialFrame and send some screenshots of it working?

@DragShot I'll try it out as soon as I can. If there are no breaking changes, I should be able to port our existing program and use the MaterialFrame for it.

I've added some more stuff I could need:

Now MaterialButtons can have a customized border radius. With this they can be rounded or even look like pills, and their shadows will follow that appearance.
ShadowEffect now supports border radius in square shadows.
Square MaterialShadows now supports specifying a border radius.
MaterialTextField, MaterialPasswordField, MaterialFormattedTextField and MaterialComboBox now use the current foreground color in order to display unfocused labels and hints.
Using a solid color in a MaterialPanel no longer hides the shadow painted by the ElevationEffect.
Setting an elevation level in an ElevationEffect, if the target component isn't currently visible, will no longer trigger an animation.
Some docs have been added.

Here's another test with the latest changes, this time as a small login window:

Code:
package ds.gui.swing.material;

import de.craften.ui.swingmaterial.MaterialButton;
import de.craften.ui.swingmaterial.MaterialColor;
import de.craften.ui.swingmaterial.MaterialFrame;
import de.craften.ui.swingmaterial.MaterialPanel;
import de.craften.ui.swingmaterial.MaterialPasswordField;
import de.craften.ui.swingmaterial.MaterialShadow;
import de.craften.ui.swingmaterial.MaterialTextField;
import de.craften.ui.swingmaterial.fonts.MaterialIcons;
import java.awt.BorderLayout;
import java.awt.Color;
import javax.swing.JLabel;
import javax.swing.JPanel;

/**
 * A sample {@link MaterialFrame} demonstrating Swing Material.
 * @author DragShot
 */
public class LoginFrame extends MaterialFrame {
//    static final Color MAIN_COLOR = MaterialColor.INDIGO_500;
//    static final Color SECONDARY_COLOR = MaterialColor.INDIGO_700;
//    static final Color ACCENT_COLOR = MaterialColor.PINKA_400;
    static final Color MAIN_COLOR = MaterialColor.TEAL_600;
    static final Color SECONDARY_COLOR = MaterialColor.TEAL_800;
    static final Color ACCENT_COLOR = MaterialColor.AMBERA_400;

    MaterialPanel pnlLogin;
    MaterialTextField txtLogin;
    MaterialPasswordField pwdLogin;
    MaterialButton btnLogin;
    JLabel loginIcn;

    public LoginFrame() {
        initComponents();
        setTitle("Material Login");
        setColor(MAIN_COLOR);
        //dark();
        setLayout(null);
        setWindowSize(360, 580);
        setResizable(false);
        setLocationRelativeTo(null);
    }

    private void initComponents() {
        pnlLogin = new MaterialPanel();
        pnlLogin.setLayout(new BorderLayout());
        pnlLogin.setBackground(SECONDARY_COLOR);
        pnlLogin.setElevation(2);
        pnlLogin.setLayout(null);
        loginIcn = new JLabel();
        loginIcn.setFont(MaterialIcons.ICON_FONT.deriveFont(14f));
        loginIcn.setHorizontalAlignment(JLabel.CENTER);
        loginIcn.setVerticalAlignment(JLabel.BOTTOM);
        loginIcn.setText(String.valueOf(MaterialIcons.ACCOUNT_CIRCLE));
        loginIcn.setForeground(new Color(pnlLogin.getForeground().getRGB() & 0x00FFFFFF | 0xBB000000, true));
        pnlLogin.add(loginIcn);
        txtLogin = new MaterialTextField();
        txtLogin.setLabel("Account ID");
        txtLogin.setHint("name@example.com");
        txtLogin.setAccent(ACCENT_COLOR);
        txtLogin.setForeground(pnlLogin.getForeground());
        pnlLogin.add(txtLogin);
        pwdLogin = new MaterialPasswordField();
        pwdLogin.setLabel("Password");
        pwdLogin.setHint("A-Z a-z 1-9");
        pwdLogin.setAccent(ACCENT_COLOR);
        pwdLogin.setForeground(pnlLogin.getForeground());
        pnlLogin.add(pwdLogin);
        this.add(pnlLogin);
        btnLogin = new MaterialButton();
        btnLogin.setType(MaterialButton.Type.RAISED);
        btnLogin.setText("Sign in");
        btnLogin.setBackground(MAIN_COLOR);
        this.add(btnLogin);
    }

    @Override
    public void doLayout() {
        super.doLayout();
        int wd = getContentPane().getWidth();
        int ht = getContentPane().getHeight();
        btnLogin.setSize(wd - MaterialShadow.OFFSET_LEFT - MaterialShadow.OFFSET_RIGHT,
                41 + MaterialShadow.OFFSET_TOP + MaterialShadow.OFFSET_BOTTOM);
        btnLogin.setLocation(MaterialShadow.OFFSET_LEFT, ht - btnLogin.getHeight() - MaterialShadow.OFFSET_BOTTOM);
        btnLogin.setBorderRadius((btnLogin.getHeight() - (MaterialShadow.OFFSET_TOP + MaterialShadow.OFFSET_BOTTOM))/2);
        pnlLogin.setBounds(-MaterialShadow.OFFSET_LEFT, -MaterialShadow.OFFSET_TOP,
                wd + MaterialShadow.OFFSET_LEFT + MaterialShadow.OFFSET_RIGHT,
                ht - btnLogin.getHeight() - MaterialShadow.OFFSET_BOTTOM/* + MaterialShadow.OFFSET_TOP*/);
        pwdLogin.setSize(pnlLogin.getWidth() - MaterialShadow.OFFSET_LEFT*3 - MaterialShadow.OFFSET_RIGHT*3, 72);
        pwdLogin.setLocation(MaterialShadow.OFFSET_LEFT*3, pnlLogin.getHeight() - MaterialShadow.OFFSET_TOP*2 - MaterialShadow.OFFSET_BOTTOM*2 - pwdLogin.getHeight() + 15);
        txtLogin.setSize(pwdLogin.getWidth(), pwdLogin.getHeight());
        txtLogin.setLocation(pwdLogin.getX(), pwdLogin.getY() - txtLogin.getHeight());
        loginIcn.setBounds(MaterialShadow.OFFSET_LEFT*2, MaterialShadow.OFFSET_TOP*2,
                pnlLogin.getWidth() - MaterialShadow.OFFSET_LEFT*2 - MaterialShadow.OFFSET_RIGHT*2,
                txtLogin.getY());
        loginIcn.setFont(loginIcn.getFont().deriveFont((float)Math.min(loginIcn.getWidth(), loginIcn.getHeight())));
    }

    public static void main(String[] args) {
        System.setProperty("awt.useSystemAAFontSettings","lcd");
        System.setProperty("swing.aatext", "true");
        try {
            javax.swing.UIManager.setLookAndFeel(new javax.swing.plaf.metal.MetalLookAndFeel());
        } catch (Exception ex) {
            ex.printStackTrace();
        }
        java.awt.EventQueue.invokeLater(new Runnable() {@Override public void run() {
            LoginFrame frame = new LoginFrame();
            frame.setDefaultCloseOperation(javax.swing.JFrame.EXIT_ON_CLOSE);
            frame.setVisible(true);
        }});
    }
}

@DragShot Nice new additions! It would be cool to "freeze" the features of this PR to make reviewing it a little bit easier? I'd really like to merge this, but the awesome new features you add make that pretty hard. :sweat_smile:

I'm waiting for this pull request to be accepted. I'm planning to add some documentation while I'm learning how to use each component. But I think I have to wait for these new cool additions to be merged because they probably already changed some existing functionalities.
Very good work guys 👍

@pedrohidalgo Yeah, some documentation would be great! :+1:
I'm pretty happy with the javadoc right now, but maybe we should add some github pages to host them online and provide some additional help there.

Good Idea. I was planning first to add a demo folder with a readme and some sample classes with a main method so they can be run quickly on any IDE.
The github pages could be a second step for me since I think they would take more time.

Alright, I think that will be all for this pull request. Posterior changes won't be pushed here until this PR is accepted.
In the meantime I will be busy with the development of my own app using this library.

@DragShot Great, and thank you again for all the great changes! :tada:
I'll take a closer look at the code soon, but I think I'll just merge it and do small modifications after that.

Magnificent!
I guess we can all try to come up with examples while you're at it. And maybe a more elaborated readme.

And maybe a more elaborated readme.
Something with more than one sentence would be great, indeed! :smile:

@DragShot I'm planning to start working with examples as soon as @leMaik Merge your changes, so I make sure I'm using the latest version of the code since your changes @DragShot were huge!.
btw, why are using java 7 and not java 8 on this project. Any special need?

@pedrohidalgo Our launcher needed to support Java 7, and we created this library for that launcher. I don't see any advantage of using java 8 for this project, so let's just stick to java 7 for now.

Ok, I agree.
About the docs: @DragShot @leMaik I think would be useful to have a demo JFrame showcasing all the components. We need to coordinate this work so we don't overlap each other. Can I safely start using the @DragShot code for the docs and samples or is it better to wait for the merge?

@pedrohidalgo I don't think there will be any breaking changes to this PR anymore. Feel free to start! :+1:

Due to the observations I'm making a last commit tonight. It won't affect the public API so it is safe to use the current state of my fork as reference, it will only modify internal calls.

@DragShot Please tell me when the commit is comitted, I'll merge this PR then.

@leMaik All ready.

@DragShot :tada:


vpr --pack --place --route

https://github.com/SymbiFlow/symbiflow-arch-defs/issues/216
Splitting options. Consider combing back together once that is resolved

Workaround in cb8cbeb815f4a35490e9459a9dc3624c7bc09e86


Code Refractoring

There are currently 2 TODO items in cliStocksTracker.py. They should be easy to refactor but should be done before #10.

First function would be something like "create_graphs()". This function should be a class method for the portfolio() singleton.
Second function would be something like "populate_portfolio()". This function should also be a class method for the portfolio() singleton.

Just taking this one to get it done fast - will be done by Friday morning.


Add listFile stat support

The Gaia feature option to return fileStat info during listFiles is merged into master and will be available when the PBC hub update is deployed.

Any timeline for when filestats will be available in UserSession.listFiles() or elsewhere in the SDK? I'd be interested in using this in apps. I currently fetch the HEAD of files in Gaia to get size and modification date, but it isn't allowed in stricter browsers.


De-couple from Bootstrap [enhancement]

Man this would be really great if it wasn't dependent on bootstrap (or any particular UI framework). We should be able to have full control over that part (for example, use with https://material.angularjs.org/latest/#/)
Any plans to remove this tight coupling to bootstrap? It would make the library instantly more accessible and desirable to a larger number of projects.

Decorators can be made for any ui framework in theory, bootstrap is just the included one. There is an (in progress) decorator for angular material here. https://github.com/Textalk/angular-schema-form-material
I'm also wanting to switch to that, haven't gotten a chance to try it out yet though, not sure how complete/usable it is at the moment.

@ryedin ASF has been designed with that in mind from the start, and as @gazpachoking said there is a Angular Material decorator in the works, but it's currently broken. The reason nothing has happened to it in a while is that we're working on a refactoring that needs to be done first, see https://medium.com/@SchemaFormIO/the-new-builder-pt-1-61fadde3c678
But the work on the new builder is going well, so soon the material decorator work can resume.

btw Angular Material is one of the harder to implement. Implementing a pure CSS framework should be pretty straightforward, basically just editing the templates. I've tinkered a bit with a Foundation decorator, but since we don't use Foundation I let it go. I'm going to write some docs on it soon.

Awesome, glad to hear it!
angular-material >>> bootstrap, so can't wait! (ok... that's slightly opinionated, but oh well :))

Yes, material looks really nice. Wouldn't mind that at all.

@davidlgj how is it going on the "new builder" and by extentsion, the material decorator. I see there have been some recent commits here, just curious as I am getting closer to the point of our project where I might want to pull this thing in. Of course, our app is material, so can only do this if there is a decently workable path for the material decorator. I'm happy to jump in there (potentially, if hours permit), but don't want to do that if you're about to drop a big "booyah" bomb and release the shiny new 100% working material decorator codebase on us all :)

Hi @ryedin! We'd love to get your help.
The new builder is up and running in the latest release, but not used by the the dist/bootstrap-decorator.min.js decorator. For the next release (that's not a hotfix) I will remove it.
The new bootstrap decorator that uses the builder is fully functional and has it's home here:
https://github.com/Textalk/angular-schema-form-bootstrap
So you can say it's already released but a bit sneakily.
I have no bomb to drop :)  I've been concentrating on bugs and getting the bootstrap decorator up and running and so @Anthropic has been doing the latest work. (do you have a code bomb @Anthropic?)
So, the state of the material decorator is that it has a start with the most basic types, although not perfectly. It also has solutions for some of the integration points, like how to display validation messages. What needs to be done is to implement as many of the form types as possible, write tests (probably protractor) and document.
Since its the decorator that decides what types are implemented and what options they support we probably want types for a lot of stuff that's material specific. I'd consider it release worthy if we at least have the types that are used as defaults for schemas. I.e. text, number, integer. textarea, select, array, fieldset (probably should correspond to something else) and checkbox (i believe thats all...)
To implement a form type one would first look at the corresponding type in the bootstrap decorator to get a good idea on how it should be done. Most types should be straight forward to migrate (array maybe the most complicated).
If you start work on something consider doing a "work-in-progress" PR to let us know and to get early feedback.

OK, cool. Thanks for the update.
I'll see what sort of time I can set aside for this. There are many things the proverbial plate (just like everyone else).

@ryedin I've just finished wrapping my head around the inner workings of @davidlgj 's new builder while upgrading a project I have at work. I like it much more, but like anything new, took a little getting used to. I think I am on top of it now so I will be doing some more work on the Material decorator soon.
We have had to wait for Angular Material to get more stable too, when we first started on it, they kept making breaking changes since it is pre-1.0, so I slowed down a bit in frustration. But they are releasing 1.0 soon and I will do my best to get as much done on it as I can once that happens :)

@Anthropic awesome new, man.
Yeah, it's definitely a challenge to be working on an integration project where both sides of the integration are moving targets!
Keep us posted. Like I said, I might be able to jump in at some point here, too... at least with some busy work once you've nailed down the correct implementation patterns.

@ryedin I added some more parts to it this weekend, I also started to add some issues in the ASFMaterial repo to keep track of things I want to add, but haven't yet. Feel free to add issues or contribute over there.

@Anthropic cool. I'll try to check it out this week some time... Got like a 1.4 bazillion things on my plate I'm behind on right now :)
Thanks for the update. This is pretty exciting.

so what's the status of this new builder ? Is it part of the standard installation now ?

The core is currently being broken out into: https://github.com/json-schema-form/json-schema-form-core

Oh, I answered the wrong question, the builder is currently optional, it will likely be in the upcoming 1.0 release.

AWESOME news! (total de-coupling FTW).
Is there a blog post or any other content around this direction that I can use to get up to speed (i.e. any and all related repos that have been spawned)? Still in the same time-starved situation, but would be good to at least keep tabs on this.
Thanks for the update btw.

Well, the core repo I mentioned above. The discussion is a loong one and is not only about that. I added you to the planning gitter room.
But the diskussion is supposed to happen in the other one (json-schema-form/json-schema-form-projects).

This is part of 1.0.0 alpha using the agnostic core and the builder that can be used for Material decorator too. More work will go into it, but I think we can close this issue.


Can the program support the google account login?

Can the program add support the google account login?

No.


Command line tool used in screenshot

May I ask you what is the command line tool you're using in screenshots? I tried to find it in all other repositories or on your Nord website but in vain. Thanks a lot!

Hi @tomassliz, this is a script I've found many years ago that is also included in the color scripts repository.

Awesome, thanks a lot!


Idea how to implement more than one connection..

Please, check diff, if my solution of more connections are acceptable, tnx.

It looks good as prototype. I would go to more clear way.
dbal:
  connections:
    defaualt: # would be required
      ....
    foo: # optional
      ....
    bar: # optional
      ...

Using this schema, you get rid of handling default/non-default.

Have you considered providing default/non-default connections into command and other parts of doctrine?

commit ce5fb5e

change default configuration 'connection' => 'connections'
require 'default' connection

@f3l1x so next step i think is change Nettrine\ORM\DI\OrmExtension to provide one EntityManger per connection

Agree. Could you please create same PR for nettrine/orm? And for more, could you please create example to playground? This is to BC change and we need to be sure. Type name of this branch directly in composer.json in playground.
Thank you very much.

commit 987f955

its for use connectionstring in oci8 driver

dbal:
	connections:
		mis:
			connectstring: "(...)"
			driver: oci8
			...

Could you please send me generated containers? Do you know what kind of caching Kdyby use by default?
It is really cool you did this benchmark. Its so important.

We should also think about connections in console commands and tracy panel. Any idea?

For tracy panel a think its easy, iterate on config connections.
For console commads probably use same solution like in ORM PR: https://github.com/nettrine/orm/pull/17/files#diff-ca75d2795a0bc290b753eaa27d3c1a9bR145

Continue here: https://github.com/nettrine/dbal/pull/24


Xamarin support

The VS Test platform should support Xamarin platforms as first-class citizens for discovering and executing tests. It should work similarly to the way the UWP-based ones work, where it can deploy to the device for discovery and execution.

I'd also like identical or near-identical commandline options for deploying, executing and retrieving a TRX report like vstest.console.exe (obviously with specific parameters to deploy to android or ios devices/simulators)

/cc @cltshivash @pvlakshm

I've been hacking around in testfx to build a TestAdapter that works on Android. The good news is it was only VERY few changes that needed to be made, to allow you to use it. Really if you could release a netstd2.0 compatible TestAdapter library, that would be the first huge step forward, since all you would t hen need to add yourself is a simple little test runner on top of it, considering the test execution etc is already done by the adapter.

Xamarin support can be enabled in a manner similar to what is used for UWP today.
It means that the vstest platform be able to deploy-to-target and run the tests there, where the target could be a emulator/simular/device running Android, or iOS via a paired Mac.
The vstest platform can support this via host extensibilty. See here: https://github.com/Microsoft/vstest-docs/blob/master/RFCs/0001-Test-Platform-Architecture.md. However we have had only UWP leveraging this model; so there might still be some wrinkles/issues - but those can be addressed.
In summary, this will require a host provider. Contributions welcome!

@pranavkm

Contributions welcome!

I would say this has to be prioritized and done by the VSTest team itself, working with the Xamarin team as appropriate. VSTest is missing major platforms, and ones that are first-party at that.

Any update on making this happen soon? I'd think this should be a min-ship feature for .NET 5

@pavelhorak for timeline and prioritization.

Let me take this up with PM.

We might consider this for .NET 5, but now we're focusing on higher priority issues.

This is a new feature and won't be implemented, we are focusing on adding new features to Testing.Platform instead. https://aka.ms/testingplatform


How to acknowledge or cite BBT?

Better BibTeX has been very helpful in preparing my papers, and I'd like to give appropriate credit. This includes the software itself as well as the top-notch, friendly support from @retorquere.
What guidance or preferred language do you have on acknowledgements, citation, or similar?
(I didn't find any in the wiki or prior issues.)

This caught me kind of off-guard -- it's not something I've ever thought about. Do you mean something like a citation (in which case I could see if I can get something up on http://openresearchsoftware.metajnl.com/), or something like a project description? Or my name (Emiliano Heyns) rather than my handle (which has differed over the course of the years -- it's currently retorquere, but you'll also find me in the logs as AllThatIsTheCase (from my Wittgenstein period), friflaj (from my skydiving period) or just Emiliano Heyns)?
Although I wrote the code, there are 500+ issue reports that got me there, a few pull requests, indispensable help from @nickbart1980 who's become my go-to guy (I assume) for all things BibTeX (you'd think I'd know my BibTeX, but, errr...), and of course there are several software projects that I in turn depend on; Zotero of course, but also citeproc and libraries that help deal with the insanity that is unicode in Javascript... I'm a little hesitant to claim that this is a solitary effort.
That said, I do appreciate the hat-tip. I'm pretty proud of where BBT is now, I feel fairly confident that BBT can match any offering, commercial or otherwise, that isn't BibTeX-native.

My initial inclination was something along the lines of the following in the acknowledgments section:

We thank Emiliano Heyns for ...

But some projects like to be cited, for example Scikit-Learn has clear guidance for this IIRC.
To clarify the question, do you have a preference among:

Acknowledgement similar to above
Citation, in which case I'll need guidance on what to cite
Neither

I agree it's not a solitary effort, but you are the leader and unusually easy to work with.

I'm vain enough to not go for "neither" 😄 ; acknowledgement would be nice. I've looked at the openresearchsoftware process -- I might still do it, but it could take weeks to months to get it through.

Great. I'll do the ack for now and revisit the citation question next time around.

"Unusually easy to work with" is not, BTW, the way I'm commonly described by cow orkers, or by students who had the distinct pleasure either working with me or for me. I think "memorable" was the most flattering I ever got out of it.


Jikkou cli issue with glibc for jikkou v0.28.0 - v0.35.0 on RHEL-8

I installed jikkou with sdk for ~>0.30 and also went down a bit to v0.28.0 but it requires >glibc-2.29.
OS: RHEL-8
glibc version:  glibc-2.28-251.el8_10.5.x86_64
Please can you share the link to the dependencies required for jikkou where i can get the list of requirements for various linux distributions. If possible please help me with dependent glibc installation for RHEL-8.. Thanks.
[root@cnflntbrkrsb1s1 bin]# ./jikkou
./jikkou: /lib64/libm.so.6: version `GLIBC_2.29' not found (required by ./jikkou)
./jikkou: /lib64/libc.so.6: version `GLIBC_2.32' not found (required by ./jikkou)
./jikkou: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by ./jikkou)

Hi @obiremiv, really sorry for that error first time I see it with Jikkou. Jikkou native build should only depends on GLibC (no other dependency). If you struggle or cannot get the required version for that then I recommand to use the java binary: https://github.com/streamthoughts/jikkou/releases/tag/v0.35.5

@fhussonnois yeah that didnt work had to pull from the hub and place this in a .bashrc file cause it was dissappearing after the entry
# alias jikkou='podman run -it --network host -v /opt/jikkou/jikkou/config:/etc/jikkou/config -v /opt/jikkou/jikkou/application.conf:/etc/jikkou/application.conf streamthoughts/jikkou:0.35.5'

 and

# source ~/.bashrc

Hi @obiremiv, in the JSON jikkou config file, you should not forget to configure the configFile property to specify the location of the config file for the context to be used. Something like :
{
  "currentContext": "localhost",
  "localhost": {
    "configFile": "/etc/jikkou/application.conf",
    "configProps": {
      ...
    }
  }
}

Thanks I missed that, but I tried and it loaded the security protocol but it's failing to load the keystore because of access which understandable because the user is the running process which is cp-kafka AND also because I specified the path where the keystore is just like it was specified in the client.properties file on the server. It's failing to load the keystore
Question
Do I have to mount the keystore as well if so that requires changing the user
Also the Kafka we have is confluent-Kafka on premise which is the platform does jikkou interact with confluent-Kafka on premise(confluent-platform) or it only work seamlessly with SASL ON CONFLUENT CLOUD
Get Outlook for iOShttps://aka.ms/o0ukef

From: Florian Hussonnois @.>
Sent: Monday, December 23, 2024 3:24:21 PM
To: streamthoughts/jikkou @.>
Cc: Victor Obiremi - Contractor @.>; Mention @.>
Subject: Re: [streamthoughts/jikkou] Jikkou cli issue with glibc for jikkou v0.28.0 - v0.35.0 on RHEL-8 (Issue #502)
Hi @obiremivhttps://github.com/obiremiv, in the JSON jikkou config file, you should not forget to configure the configFile property to specify the location of the config file for the context to be used. Something like :
{
"currentContext": "localhost",
"localhost": {
"configFile": "/etc/jikkou/application.conf",
"configProps": {
...
}
}
}
—
Reply to this email directly, view it on GitHubhttps://github.com/streamthoughts/jikkou/issues/502#issuecomment-2560312435, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BITUT6FPVWJJUSK6FAZUJPT2HB5QLAVCNFSM6AAAAABTW3YF7WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNRQGMYTENBTGU.
You are receiving this because you were mentioned.Message ID: @.***>

Thanks Florian got it to work needed to run the container/image with the id of the user:group of the certificate...Thanks for all your help.

From: Florian Hussonnois @.>
Sent: Monday, December 23, 2024 3:24 PM
To: streamthoughts/jikkou @.>
Cc: Victor Obiremi - Contractor @.>; Mention @.>
Subject: Re: [streamthoughts/jikkou] Jikkou cli issue with glibc for jikkou v0.28.0 - v0.35.0 on RHEL-8 (Issue #502)
Hi @obiremivhttps://github.com/obiremiv, in the JSON jikkou config file, you should not forget to configure the configFile property to specify the location of the config file for the context to be used. Something like :
{
"currentContext": "localhost",
"localhost": {
"configFile": "/etc/jikkou/application.conf",
"configProps": {
...
}
}
}
—
Reply to this email directly, view it on GitHubhttps://github.com/streamthoughts/jikkou/issues/502#issuecomment-2560312435, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BITUT6FPVWJJUSK6FAZUJPT2HB5QLAVCNFSM6AAAAABTW3YF7WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNRQGMYTENBTGU.
You are receiving this because you were mentioned.Message ID: @.***>


VScode cannot use command+click to jump to Vue3's custom component in MacOS

Describe the bug
For the same project, I can use ctrl+click to jump to the corresponding .vue file through the custom component name in Windows 10. However, I cannot use command+click to jump in MacOS. I have tried reinstalling VScode and Open other projects and the problem still exists.I use unplugin-vue-components to automatically import components.components.d.ts is generated.The project can run normally.
what i expected：
Use command + click on MacOS to jump to the `.vue` file of the corresponding custom component
System Info
- VScode version：1.84.0(arm)
- system version：MacOS Ventura 13.6
- unplugin-vue-components: 0.25.1

Used Package Manager
pnpm
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guide.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
[X] The provided reproduction is a minimal reproducible of the bug.

Please do not close this question. My project is running normally, so I cannot provide a test project. For me, I still cannot jump when I create a new project.

The problem is solved. It is a problem with the Vue Language Features (Volar) plug-in version. Version 1.8.22 has a BUG and cannot display the type of custom components. Just reduce the version to 1.8.11.

你能提供描述错误的问题的链接吗？

sure.
https://github.com/vuejs/language-tools/issues/3724

Yes, I also had the same problem, the problem has been solved after demotion, thank you @wjw020206


np.int is a deprecated

https://github.com/alan-turing-institute/sktime/blob/c611e6a3587d7b3a44cb7deefd4b6baa4897fc9b/sktime/forecasting/base/_fh.py#L92
Throws

DeprecationWarning: np.int is a deprecated alias for the builtin int. To silence this warning, use int by itself. Doing this will not modify any behavior and is safe. When replacing np.int, you may wish to use e.g. np.int64 or np.int32 to specify the precision. If you wish to review your current use, check the release note link for additional information.

Should np.int be removed, replaced with int or should the warning just be ignored.

Hi @vherrera96, given that it's an integer index, I think we can remove it. If that breaks anything, we should replace it with int.

Hi @vherrera96, given that it's an integer index, I think we can remove it. If that breaks anything, we should replace it with int. Would you like to open a PR for this? That would also give you the chance to clean up the docstrings.

Of course, @mloning! I will take care of it. Could you assign this issue to me?

Ultimately, this was done in various PR:
https://github.com/alan-turing-institute/sktime/pull/1997
https://github.com/alan-turing-institute/sktime/pull/1734


Jaeger: Create child span for remote read

Signed-off-by: Julien Pivotto<EMAIL_ADDRESS>

cc @yurishkuro

@yurishkuro Thanks for your review. I have changed to use the middleware. WDYT?

cc @tomwilkie @csmarchbanks @cstyan

Looks like this span was already being created, just in a slightly different way? Can you clarify what this will change in the first comment at the top of the PR.

Looks like this span was already being created, just in a slightly different way? Can you clarify what this will change in the first comment at the top of the PR.

This creates a child span for remote read calls instead of modifying the parent span.
The previous version would change the values of the parent span:

Which is problematic because parent span is about the engine itself and should not get the http properties, + would be erased if we have multiple remote reads.
The new behaviour is to have a clean remote read span and a clear http post span:

@cstyan is that ok for you?

@roidelapluie Sorry! Yes, thanks for the clarification.


Support Import As Skeleton Bones on glTF and AnimationLibrary import

Fixes #81691 for glTF (was ignoring the option) and AnimationLibrary (was not visible)
Also helps with an issue that we discussed in one of the XR meetings, related to the fact that some models do not import with a root bone. This option can be useful to make the root node of the glTF document into a skeleton bone.

Thanks!


refactor PPS master to use latest pipeline state and pipeline RC vs etcd event data

The prior PPS master was written in such a way where there essentially three sources of pipeline state information: the previous value from the etcd key, the current value from the etcd key, and data from the pipeline RC. Inconsistencies between these three meant that the prior PPS master might have to deal with a lot of error states.
This structure only relies on two sources of pipeline state: the current state of the pipeline in etcd and the pipeline's current RC. This avoids bugs where the PPS master is responding to old PPS changes and makes unexpected changes to pipelines, and also means that there are fewer error states to handle and the code can be made simpler and more robust.

This still LGTM, although if possible I'd like to see the tests moved in pachyderm_test.go rather than auth tests since they don't have much to do with auth.

I started to add a reply above. The motivation behind making them auth tests is that when you try to read/write from a missing repo with auth on, instead of getting repo foo not found or some such, you get an auth error (because the nonexistent repo has no ACL, which you're not on). So pipelines need to be able to handle the case where it's getting not authorized errors as well as not found errors from a pipeline's output repo.
TBH the test should probably run both with auth on and with auth off, so I'll put a similar test in pachyderm_test.go as well. I'd started w/ the auth-on test because that was the case that the motivating user was in.


Docstring for View not updated after the RFC 15 commit

The RFC 15 commit changed the View's constructor so that it no longer creates its own storage when it is not provided. The docstring, however, still refers to the previous version. This discrepancy appears on the public documentation page, which is confusing.

The RFC 15 commit changed the View's constructor so that it no longer creates its own storage when it is not provided. The docstring, however, still refers to the previous version.

This is actually because the RFC 15 implementation isn't merged yet!

Closing in favor of https://github.com/amaranth-lang/amaranth/pull/791.


MB-3474 Remove references to move order in tests

MB-3474 Remove references to move order in tests
This is some small follow-up clean up work after consolidating the
orders and move_orders tables. In the previous PR, we limited the
changes to only those necessary to merge the tables and nothing more,
to keep things simple and to avoid breaking APIs. This left references
to "move orders" even though the table and model are now gone.
In this PR, to keep things simple and safe, we are only removing
references to move orders in test data generation files and related
tests. We will clean up the rest of the app in future PRs.
Reviewer Notes
Previously, the test data generation for "move orders" created service
members with random names and grades. That was not the case with the
test data generation for orders, so we are no longer generating random
data here unless a field is meant to be unique. We don't seem to
generate random data in many other places in testdatagen, so I'm
wondering what we may be losing by no longer doing this.
I would like a review from folks who depend on local data being available
in the TOO interface to make sure all the expected data is still being generated.
Setup
make clean && make build
make db_dev_reset && make db_dev_migrate
generate-test-data --named-scenario e2e_basic

Messages

:book:
:link: MB-3474

  Generated by :no_entry_sign: dangerJS against e877f5ec28036361a2e313708be6df88e0668384

@gidjin I fixed the error. After merging Reggie's changes, we had to change the way the service member was being passed in the assertions. Can you check again?


Bug fix of Serial in IAR compile

Hi,
In Isuues 1726, We fixed bug of Serial in IAR complie.
We modified so as to have #if defined ( __ICCARM__ )  definition as well.
https://github.com/mbedmicro/mbed/issues/1726
Regards,
Yamanaka

@mbed-bot: TEST
HOST_OSES=windows
BUILD_TOOLCHAINS=IAR
TARGETS=RZ_A1H

cc @bridadan :facepunch: :grin:

Please test a compilation, more macros require IAR support:
[Error] CThunk.h@207: [Pe020]: identifier "__v7_clean_inv_dcache_mva" is undefined

                      __v7_clean_inv_dcache_mva((void *)addr);
                      ^
"\build\mbed\CThunk.h",207  Error[Pe020]: identifier "__v7_clean_inv_dcache_mva" is undefined

Thank you for your commnet.
We modified function definition for IAR support.

Hi,
We modified about the code ("__v7_clean_inv_dcache_mva") in the additional.
How about the state of this PR?

@mbed-bot: TEST
HOST_OSES=windows
BUILD_TOOLCHAINS=IAR
TARGETS=RZ_A1H

@mbed-bot: TEST
HOST_OSES=windows
BUILD_TOOLCHAINS=IAR
TARGETS=RZ_A1H

Build is all good, tests look mostly good. Main issue seems to be with the RTOS. Tests RTOS_1,RTOS_3,RTOS_4,RTOS_5,RTOS_6 are timing out. These can always be addressed in a separate PR though.


User is not able to set the threshold for content similarity

@raulcf is the work needed here one of exposing the parameter, or is it more complicated?


Small grammatical fixes for upgrading.md

Noticed while upgrading zeppelin instances and consulting the file. Changes are very small, with no bearing on anything other than grammar.
What is this PR for?
A few sentences describing the overall goals of the pull request's commits.
First time? Check out the contributing guide - https://zeppelin.apache.org/contribution/contributions.html
What type of PR is it?
[Bug Fix | Improvement | Feature | Documentation | Hot Fix | Refactoring]
Todos

[ ] - Task

What is the Jira issue?

Open an issue on Jira https://issues.apache.org/jira/browse/ZEPPELIN/
Put link here, and add [ZEPPELIN-Jira number] in PR title, eg. [ZEPPELIN-533]

How should this be tested?

First time? Setup Travis CI as described on https://zeppelin.apache.org/contribution/contributions.html#continuous-integration
Strongly recommended: add automated unit tests for any new or changed behavior
Outline any manual steps to test the PR here.

Screenshots (if appropriate)
Questions:

Does the licenses files need update?
Is there breaking changes for older versions?
Does this needs documentation?

Thanks @mikelese for the contribution, PR LGTM


using options object and handle error inside module when handleError …

change options to an object.
add handleError (we had issue on production)

the issue was that one of our statsd server url was change and the whole app crash
{ [Error: getaddrinfo ENOTFOUND] code: 'ENOTFOUND', errno: 'ENOTFOUND', syscall: 'getaddrinfo' }
I fix it using domain but that's seems like a good solution that you could listen to the socket and disable it from returning an error.

@sivy ^^ want to merge it? it can help us a lot.
Thanks

@sivy if you decide to merge to those changes I'll have to update the README file


AudioEngine.js Error

Sometimes I log into the server and I get an error, and also when I try to make a call to another player
Error: Uncaught RefereceError: libopus is not defined Script: nui://vrp/gui/AudioEngine.js Line: 300 Column: 18 StackTrace: ReferenceError: libopus is not defined

duplicate https://github.com/ImagicTheCat/vRP/issues/415


Build Failing

I'm getting two build failures with this template:
(1) On a new project, in a clean folder -> I create the template -> chmod a+x fake.sh -> ./fake.sh build -t Watch
The Build fails with:
Restoring packages for /Users/fergus/Code/FableTest/LearnFable/build.proj...
  Generating MSBuild file /Users/fergus/Code/FableTest/LearnFable/obj/build.proj.nuget.g.props.
  Generating MSBuild file /Users/fergus/Code/FableTest/LearnFable/obj/build.proj.nuget.g.targets.
  Restore completed in 170.78 ms for /Users/fergus/Code/FableTest/LearnFable/build.proj.
No executable found matching command "dotnet-fake"

(2) On a existing project that was building fine yesterday -> ./fake.sh build -t Watch
The build fails with:
darwin17
  Restore completed in 15.79 ms for /Users/fergus/Code/platform_one/platformOne/build.proj.
  Restore completed in 53.31 ms for /Users/fergus/Code/platform_one/platformOne/build.proj.
  Restore completed in 53.26 ms for /Users/fergus/Code/platform_one/platformOne/build.proj.
run Watch
Building project with version: LocalBuild
Shortened DependencyGraph for Target Watch:
<== Watch
   <== YarnInstall
      <== Install
         <== Clean

The resulting target order is:
 - Clean
 - Install
 - YarnInstall
 - Watch
Starting target 'Clean': NoDescription
  NoDescription
Finished 'Clean' in 00:00:00.0388650
Starting target 'Install': NoDescription
  NoDescription
Starting task 'DotNet:restore': platformOne.sln
/Library/Frameworks/Mono.framework/Versions/Current/Commands/mono --version
/usr/local/share/dotnet/dotnet  restore  platformOne.sln
  Performance:
   - Runtime: 56 milliseconds
  Performance:
   - Runtime: 52 milliseconds
  Restoring packages for /Users/fergus/Code/platform_one/platformOne/src/platformOne.fsproj...
  Generating MSBuild file /Users/fergus/Code/platform_one/platformOne/src/obj/platformOne.fsproj.nuget.g.props.
  Generating MSBuild file /Users/fergus/Code/platform_one/platformOne/src/obj/platformOne.fsproj.nuget.g.targets.
  Restore completed in 177.39 ms for /Users/fergus/Code/platform_one/platformOne/src/platformOne.fsproj.
Finished 'DotNet:restore' in 00:00:09.6192100
Finished 'Install' in 00:00:09.6250540
Starting target 'YarnInstall': NoDescription
  NoDescription
/usr/local/bin/yarn install
yarn install v1.6.0
warning ../../../package.json: No license field
[1/4] 🔍  Resolving packages...
success Already up-to-date.
✨  Done in 1.11s.
Finished 'YarnInstall' in 00:00:01.6666980
Starting target 'Watch': NoDescription
  NoDescription
/usr/local/share/dotnet/dotnet  fable  webpack-dev-server --port free
Fable (1.3.15) daemon started on port 51823
CWD: /Users/fergus/Code/platform_one/platformOne
node "/Users/fergus/Code/platform_one/platformOne/node_modules/webpack-dev-server/bin/webpack-dev-server.js"
Bundling for development...
ℹ ｢wds｣: Project is running at http://localhost:8080/
ℹ ｢wds｣: webpack output is served from /
ℹ ｢wds｣: Content not from webpack is served from /Users/fergus/Code/platform_one/platformOne/static/
[WARNING] Cannot find PAKET info for project platformOne.fsproj, it won't be possible to resolve Fable libraries.
[WARNING] Cannot find Fable.Core JS files location for project platformOne.fsproj, using `fable-core`. Add a reference to Fable.Core package or set the fableCore option in the JS client.
Parsing ./src/platformOne.fsproj...
fable: Compiled src/platformOne.fsproj
fable: Compiled src/App.fs
✖ ｢wdm｣: Hash: 573da4340f98e65f0d24
Version: webpack 4.6.0
Time: 9877ms
Built at: 2018-05-02 10:01:16
                                 Asset       Size  Chunks             Chunk Names
  674f50d287a8c48dc19ba404d20fe713.eot    162 KiB          [emitted]
  912ec66d7572ff821749319396470bde.svg    434 KiB          [emitted]
  b06871f281fee6b241d60582ae9369b9.ttf    162 KiB          [emitted]
af7ae505a9eed503f8b8e6982036873e.woff2   75.4 KiB          [emitted]
 fee66e712a8a08eef5805a46892932ad.woff   95.7 KiB          [emitted]
                                app.js    826 KiB     app  [emitted]  app
                              style.js    646 KiB   style  [emitted]  style
                            index.html  571 bytes          [emitted]
Entrypoint app = app.js
Entrypoint style = style.js
[./node_modules/babel-polyfill/lib/index.js] 833 bytes {app} [built]
[./node_modules/core-js/fn/regexp/escape.js] 108 bytes {app} [built]
[./node_modules/core-js/shim.js] 7.99 KiB {app} [built]
[./node_modules/webpack-dev-server/client/index.js?http://localhost:8080] (webpack)-dev-server/client?http://localhost:8080 7.75 KiB {style} {app} [built]
[./node_modules/webpack-dev-server/client/overlay.js] (webpack)-dev-server/client/overlay.js 3.58 KiB {style} {app} [built]
[./node_modules/webpack-dev-server/client/socket.js] (webpack)-dev-server/client/socket.js 1.05 KiB {style} {app} [built]
[./node_modules/webpack/buildin/global.js] (webpack)/buildin/global.js 489 bytes {style} {app} [built]
[./node_modules/webpack/hot/dev-server.js] (webpack)/hot/dev-server.js 1.66 KiB {style} {app} [built]
[./node_modules/webpack/hot/emitter.js] (webpack)/hot/emitter.js 77 bytes {style} {app} [built]
[./node_modules/webpack/hot/log-apply-result.js] (webpack)/hot/log-apply-result.js 1.31 KiB {style} {app} [built]
[./node_modules/webpack/hot/log.js] (webpack)/hot/log.js 1.03 KiB {style} {app} [built]
[./src/platformOne.fsproj] 25 bytes {app} [built]
[./src/scss/main.scss] 1.19 KiB {style} [built]
[0] multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server babel-polyfill ./src/platformOne.fsproj 64 bytes {app} [built]
[1] multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./src/scss/main.scss 52 bytes {style} [built]
    + 353 hidden modules

ERROR in ./src/App.fs
/Users/fergus/Code/platform_one/platformOne/src/App.fs(15,29): (15,32) error FSHARP: The value, namespace, type or module 'Cmd' is not defined.
 @ ./src/platformOne.fsproj 1:0-25 1:0-25
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server babel-polyfill ./src/platformOne.fsproj

ERROR in ./src/App.fs
/Users/fergus/Code/platform_one/platformOne/src/App.fs(20,41): (20,44) error FSHARP: The value, namespace, type or module 'Cmd' is not defined.
 @ ./src/platformOne.fsproj 1:0-25 1:0-25
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server babel-polyfill ./src/platformOne.fsproj

ERROR in ./src/App.fs
/Users/fergus/Code/platform_one/platformOne/src/App.fs(23,4): (23,8) error FSHARP: The value, namespace, type or module 'Hero' is not defined.
 @ ./src/platformOne.fsproj 1:0-25 1:0-25
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server babel-polyfill ./src/platformOne.fsproj

ERROR in ./src/App.fs
/Users/fergus/Code/platform_one/platformOne/src/App.fs(3,5): (3,11) error FSHARP: The namespace or module 'Elmish' is not defined.
 @ ./src/platformOne.fsproj 1:0-25 1:0-25
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server babel-polyfill ./src/platformOne.fsproj

ERROR in ./src/App.fs
/Users/fergus/Code/platform_one/platformOne/src/App.fs(4,5): (4,10) error FSHARP: The namespace or module 'Fable' is not defined.
 @ ./src/platformOne.fsproj 1:0-25 1:0-25
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server babel-polyfill ./src/platformOne.fsproj

ERROR in ./src/App.fs
/Users/fergus/Code/platform_one/platformOne/src/App.fs(46,5): (46,11) error FSHARP: The namespace or module 'Elmish' is not defined.
 @ ./src/platformOne.fsproj 1:0-25 1:0-25
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server babel-polyfill ./src/platformOne.fsproj

ERROR in ./src/App.fs
/Users/fergus/Code/platform_one/platformOne/src/App.fs(47,5): (47,11) error FSHARP: The namespace or module 'Elmish' is not defined.
 @ ./src/platformOne.fsproj 1:0-25 1:0-25
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server babel-polyfill ./src/platformOne.fsproj

ERROR in ./src/App.fs
/Users/fergus/Code/platform_one/platformOne/src/App.fs(48,5): (48,11) error FSHARP: The namespace or module 'Elmish' is not defined.
 @ ./src/platformOne.fsproj 1:0-25 1:0-25
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server babel-polyfill ./src/platformOne.fsproj

ERROR in ./src/App.fs
/Users/fergus/Code/platform_one/platformOne/src/App.fs(5,5): (5,10) error FSHARP: The namespace or module 'Fable' is not defined.
 @ ./src/platformOne.fsproj 1:0-25 1:0-25
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server babel-polyfill ./src/platformOne.fsproj

ERROR in ./src/App.fs
/Users/fergus/Code/platform_one/platformOne/src/App.fs(50,0): (50,7) error FSHARP: The value, namespace, type or module 'Program' is not defined.
 @ ./src/platformOne.fsproj 1:0-25 1:0-25
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server babel-polyfill ./src/platformOne.fsproj

ERROR in ./src/App.fs
/Users/fergus/Code/platform_one/platformOne/src/App.fs(52,3): (52,10) error FSHARP: The value, namespace, type or module 'Program' is not defined.
 @ ./src/platformOne.fsproj 1:0-25 1:0-25
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server babel-polyfill ./src/platformOne.fsproj

ERROR in ./src/App.fs
/Users/fergus/Code/platform_one/platformOne/src/App.fs(54,3): (54,10) error FSHARP: The value, namespace, type or module 'Program' is not defined.
 @ ./src/platformOne.fsproj 1:0-25 1:0-25
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server babel-polyfill ./src/platformOne.fsproj

ERROR in ./src/App.fs
/Users/fergus/Code/platform_one/platformOne/src/App.fs(56,3): (56,10) error FSHARP: The value, namespace, type or module 'Program' is not defined.
 @ ./src/platformOne.fsproj 1:0-25 1:0-25
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server babel-polyfill ./src/platformOne.fsproj

ERROR in ./src/App.fs
/Users/fergus/Code/platform_one/platformOne/src/App.fs(58,3): (58,10) error FSHARP: The value, namespace, type or module 'Program' is not defined.
 @ ./src/platformOne.fsproj 1:0-25 1:0-25
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server babel-polyfill ./src/platformOne.fsproj

ERROR in ./src/App.fs
/Users/fergus/Code/platform_one/platformOne/src/App.fs(6,5): (6,10) error FSHARP: The namespace or module 'Fulma' is not defined.
 @ ./src/platformOne.fsproj 1:0-25 1:0-25
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server babel-polyfill ./src/platformOne.fsproj

ERROR in ./src/App.fs
/Users/fergus/Code/platform_one/platformOne/src/App.fs(7,5): (7,10) error FSHARP: The namespace or module 'Fulma' is not defined.
 @ ./src/platformOne.fsproj 1:0-25 1:0-25
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server babel-polyfill ./src/platformOne.fsproj

ERROR in ./src/App.fs
Module not found: Error: Can't resolve 'fable-core/Symbol' in '/Users/fergus/Code/platform_one/platformOne/src'
 @ ./src/App.fs 5:0-44 6:0-40 16:9-16 40:0-7 50:9-16 72:0-7
 @ ./src/platformOne.fsproj
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server babel-polyfill ./src/platformOne.fsproj

ERROR in ./src/App.fs
Module not found: Error: Can't resolve 'fable-core/Util' in '/Users/fergus/Code/platform_one/platformOne/src'
 @ ./src/App.fs 7:0-87 29:13-26 34:13-27 61:57-63 66:13-26
 @ ./src/platformOne.fsproj
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server babel-polyfill ./src/platformOne.fsproj
Child html-webpack-plugin for "index.html":
     1 asset
    Entrypoint undefined = index.html
    [./node_modules/html-webpack-plugin/lib/loader.js!./src/index.html] 677 bytes {0} [built]
    [./node_modules/lodash/lodash.js] 527 KiB {0} [built]
    [./node_modules/webpack/buildin/global.js] (webpack)/buildin/global.js 489 bytes {0} [built]
    [./node_modules/webpack/buildin/module.js] (webpack)/buildin/module.js 497 bytes {0} [built]
ℹ ｢wdm｣: Failed to compile.

Can you try on a repo with a path without _ in it ? This should not be a problem but we never know..

You can also try to delete the obj/bin folder (the script should already do that for you) just to see if it's a caching problem

I tried with no_
There is no bin folder either in obj/ or src/obj
Same build failures but different errors depending on whether I'm building the project I was working on yesterday :
[WARNING] Cannot find PAKET info for project platformOne.fsproj, it won't be possible to resolve Fable libraries.
[WARNING] Cannot find Fable.Core JS files location for project platformOne.fsproj, using `fable-core`. Add a reference to Fable.Core package or set the fableCore option in the JS client.

Or a new project built from the template:
No executable found matching command "dotnet-fake"

This is fixed in latest version of the template 1.0.3.
Also, an easier fix than what I proposed before, you can just remove the .paket/paket.exe.config file


I can't edit my flow in power automate

Hello
I am carefully deploying the manual https://github.com/OfficeDev/microsoft-teams-apps-buildingaccess/wiki/Deployment-guide
In the step where I am going to change the variables of the new flow, I cannot enter the edit section of the flow, I use windows 10 and explorer edge to avoid navigation problems
I attach the image that I get
What other information do you need? to discover the error
manual section

List my flows

details of my flow

entering the edit command, it never finishes opening

When returning, comment that there is an error

What do you think?

Tried to repro the issue but we were not able to. Can you try again and check if the issue still persists with you?

I had a similar issue. Actually, I was not able to save.
Turned out it is an issue if you use Flow on EMEA cloud... After several retries, it start working...
... but then the flow was not executable (Gateway error).

@stefanprobst78 Did you make any changes to make the flow working or did it start working by itself after refreshing? We can add a few pointers/guidance for folks trying it out on EMEA cloud based on your experience.

Marking this as closed as no further comment received. @stefanprobst78 Please reopen if the issue persists.


Add support for checking container health status if using HEALTHCHECK

Docker supports defining a separate HEALTHCHECK command that can be run internally to check whether the container is "healthy".
testcontainers-node mentions doing its own "health checks" at https://github.com/testcontainers/testcontainers-node/blob/878e2ef087939e4ff7d024eeb7de12024e6006c4/src/generic-container.ts#L180
However, this seems to refer only to checking that ports are listening. In some cases such as starting a postgres container this is not enough. The port may be opening but the DB isn't ready to receive queries, resulting in the error: "error: the database system is starting up". Note: this is not 100% verified.
testcontainers-java has another wait strategy called Wait.forHealthcheck https://github.com/testcontainers/testcontainers-java/blob/f113979ad5207464490cc4f19f488bb27795802c/core/src/main/java/org/testcontainers/containers/wait/strategy/Wait.java#L69 which basically keeps checking the .State.Health.Status of the container until its true.
From my understanding of a quick check of the source code of testcontainers-node this does not seem to be supported. It is possible that healthchecks are implicitly included somewhere along the line, but based on the Java version needing an explicit healthcheck wait strategy I assume a similar strategy would be needed for the Node version.
So what we would like is something like:
new GenericContainer('postgres').withWaitStrategy(Wait.healthcheck()).start()
One issue that seems to come up here is that you can currently only have a single wait strategy. It might be the case that you want to wait for a combination of conditions, but let's keep that out of scope for this issue.

Hi @sgronblo
Please review https://github.com/testcontainers/testcontainers-node/pull/54

Available in version 2.5.0.


New dev server

This PR adds a server.ts file which is our new dev server. It uses r2-streamer-js to set up the express server, but also statically serves the contents of /viewer and /dist so that we don't have to manually copy files around after building.
Clicking on a publication will give you the option to view it using any of the examples in /viewer.
We need to wait for https://github.com/readium/r2-streamer-js/pull/56 to merge and a new release before we can merge this though.
@aferditamuriqi what do you think about moving /viewer into /examples/html? That was the /examples folder holds all the code for the examples, whether react or html based.
This also checks in a single example epub, but we can remove it and gitignore it if you'd rather do that. The folder for sample epubs is now: /examples/epubs.
To give this a try, run npm run build then npm run examples on this branch.

There hasn't been any comments on https://github.com/readium/r2-streamer-js/pull/56 so maybe we merge it into our fork of r2-streamer-js and then publish our own version of it? Or we could ask them to merge this

Hello, I have been thinking about it. I will get back to you shortly with comments.

@danielweck thanks so much!

Yep exactly we would be serving dist at /viewer so any page in /viewer can request anything within dist:
viewer/index.html
<script src="reader.js" />
...
<style href="reader.css" />

How should I make sure that the injectables examples still work? How do I run them / which ones are they?

For example here https://github.com/d-i-t-a/R2D2BC/blob/production/viewer/index_dita.html#L554
i could think the injectables could be compiled and placed as well into examples /examples/injectables and used statically from there. i wouldn't use them from dist, as these injectables are actually examples. and anyone can create their own outside of r2d2bc and inject.

the example injectables are specified here https://github.com/d-i-t-a/R2D2BC/blob/feature/new-streamer/webpack.config.js#L54

Ok right now injectables are compiled into dist/injectables, which is what happened with them before. I think that is the safest, but we could compile them directly into examples/injectables if you would rather that (I think this'll work)

Closing in favor of #243


Allow mounting rclone.conf readonly / as a secret

Also, enhance the documentation for using an rclone config.
fixes #30

@ThomDietrich Thanks!


select_dtypes with np.number returning []

Koalas dataframes don't seem to recognize np.number as a type that columns conform to when using select_dtypes
Recreate:
from pyspark.sql import SparkSession
from databricks import koalas as ks
spark = SparkSession.builder.getOrCreate()

import pandas as pd
import numpy as np
from sklearn import datasets

iris = datasets.load_iris()
iris_frame = ks.DataFrame(iris.data, columns = iris.feature_names)

iris_frame.to_pandas().select_dtypes([np.number]).columns
>>> Index(['sepal length (cm)', 'sepal width (cm)', 'petal length (cm)',
       'petal width (cm)'],
      dtype='object')

iris_frame.select_dtypes([np.number]).columns
>>> Index([], dtype='object')

When comparing directly, it works as expected:
for dt in iris_frame[:100].dtypes:
    print(dt == np.number, dt)

>>> True float64
>>> True float64
>>> True float64
>>> True float64

pandas==1.0.3
koalas==1.6.0
pyarrow==0.16.0

Any ideas or workarounds?
Thanks!

Seems like np.number is treated as float64 in pandas.
>>> pd.Series([1, 2, 3], dtype=np.number).dtype
dtype('float64')

But pandas doesn't return the <class 'numpy.float64'> with infer_dtype_from_object(np.number), but <class 'numpy.number'>
>>> infer_dtype_from_object(np.number)
<class 'numpy.number'>

We should fix this, and I think you can workaround with just using float64 as below in the meantime.
>>> iris_frame.select_dtypes([np.float64]).columns
Index(['sepal length (cm)', 'sepal width (cm)', 'petal length (cm)',
       'petal width (cm)'],
      dtype='object')

@itholic thanks, that's what I ended up doing. I listed out all of the available number classes that fall under np.number and pass those in


Add build for ARM (Apple M1)

arm support added by https://github.com/kool-dev/pdf/pull/21

thanks @danielsuguimoto for your contribution.


NEXT-30575 - Remove HTML sanitization from mail header and footer fields

1. Why is this change necessary?
The HTML sanitizer is active on e-mail HTML headers and footers, despite being inactive on the actual e-mail templates.
2. What does this change do, exactly?
It removes HTML sanitization from mail header and mail footer fields.
3. Describe each step to reproduce the issue or behaviour.
Add HTML code to the mail header and mail footer fields, then save. The Sanitizer removes part of the code.
4. Please link to the relevant issues (if any).
https://issues.shopware.com/issues/NEXT-30575
5. Checklist

[x] I have rebased my changes to remove merge conflicts
[ ] I have written tests and verified that they fail without my change
[x] I have created a changelog file with all necessary information about my changes
[ ] I have written or adjusted the documentation according to my changes
[ ] This change has comments for package types, values, functions, and non-obvious lines of code
[x] I have read the contribution requirements and fulfil them.

Hey thanks for your contribution!
We just compared the defintion for the mail template translation with the one for the headers and footers and noticed that the contentPlain also allows HTML for the main mail templates.
Probably it makes sense to unify that behaviour as well, theoretically no HTML should be allowed for the plain templates right? Or do you see a reason why you might need it?

@keulinho
I agree, the field contentPlain of the MailTemplateTranslationDefinition should not have the flag AllowHtml.
But I would consider removing this flag a breaking change for users, that have put HTML in that field. Furthermore, that removal would not be part of needed changes for the linked issue NEXT-30575.
I would propose opening a new issue and a new PR specifically for the field contentPlain of the MailTemplateTranslationDefinition. If this is too much, I can just add a commit with the removal and extend the changelog.

I agree with that change being a break, we should only remove the flag for the next major release. Just wanted to hear your opinion on that, we will take it from here. :v:

Your change is now merged. Thanks again 🎉

@MalteJanz Any plans to add this to the current LTS 6.5.8 ? This potentially destroys e-mail header/footer templates that were working fine in older versions like 6.4. now after the upgrade an admin saved the template again and it produces invalid twig code as the twig code itself is escaped.

@AndreasA Thank you very much for pointing this out. It was actually planned to backport this, but unfortunately our internal automatich backport created a merge request that got totally forgotten 🙈 . I will backport it 👍

@AndreasA
I have included this pr as a composer patch in my shop, which is still at 6.5.
In case you need the fix asap (and are using the flex setup):
Use cweagans/composer-patches.
composer.json
    "extra": {
        "patches": {
            "shopware/core": {
                "NEXT-30575 - HTML sanitizer on mail template header & footer": "patches/NEXT-30575.patch"
            }
        }
    },

patches/NEXT-30575.patch
--- /dev/null
+++ ../Content/MailTemplate/Aggregate/MailHeaderFooterTranslation/MailHeaderFooterTranslationDefinition.php
@@ -47,9 +47,9 @@
         return new FieldCollection([
             (new StringField('name', 'name'))->addFlags(new Required()),
             (new StringField('description', 'description'))->addFlags(new ApiAware()),
-            (new LongTextField('header_html', 'headerHtml'))->addFlags(new ApiAware(), new AllowHtml()),
+            (new LongTextField('header_html', 'headerHtml'))->addFlags(new ApiAware(), new AllowHtml(false)),
             (new LongTextField('header_plain', 'headerPlain'))->addFlags(new ApiAware()),
-            (new LongTextField('footer_html', 'footerHtml'))->addFlags(new ApiAware(), new AllowHtml()),
+            (new LongTextField('footer_html', 'footerHtml'))->addFlags(new ApiAware(), new AllowHtml(false)),
             (new LongTextField('footer_plain', 'footerPlain'))->addFlags(new ApiAware()),
         ]);
     }

The change got merged now and should be included in the next 6.5 LTS release 🎉

@MalteJanz Thank you :+1:

is part of https://github.com/shopware/shopware/releases/tag/v<IP_ADDRESS>