feature request: Markdown syntax options

It would be nice to be able to customize the Markdown syntax for highlighting.
Roam uses "^^", whereas Obsidian uses "==". So adding a simple option for the user to customize would be super helpful.
Thanks!

Update: I achieved this goal by modifying the source file. It would be nice to have an option in the Options page.

Update: I achieved this goal by modifying the source file. It would be nice to have an option in the Options page.

can you explain how you did that ...i need to do the same to export to notion


Bug: Can't use multiple pagers on the same view

PHP Version
8.0
CodeIgniter4 Version
4.1.2
CodeIgniter4 Installation Method
Composer (as dependency to an existing project)
Which operating systems have you tested for this bug?
Linux
Which server did you use?
apache
Database
MariaDB 10.6.5
What happened?
Can't use multiple pagers on the same view. I followed docs from here.
Steps to Reproduce
Here is my simplified Controller function:
public function view(int $clientId)
{
      $contacts = $this->getContactProvider();
      $orders   = $this->getOrderProvider();

      return view($this->viewPrefix . 'view', [
                  'title'      => lang('Client.client'),
                  'contacts'   => $contacts->whereClient($clientId)->paginate(preference('Pager.perPage'), 'contacts'),
                  'orders'     => $orders->whereClient($clientId)->paginate(preference('Pager.perPage'), 'orders'),
                  'pager'      => $contacts->whereClient($clientId)->pager,
              ]);
}

Expected Output
Get two groups in Pager instance and show pagers in view with
<?= $pager->simpleLinks('contacts') ?>
<?= $pager->links('orders') ?>

but there is only one group

Anything else?
Within view I can show two paginations, but can access only that one where I'm calling pager method.

But when I manually specify page_contacts like:
?page_contacts=2&page_orders=1

It will show previous page in pagination

I'm expecting both paginations the same, because there is two pages for both of results.

It seems like an issue with ignoring provided perPage parameter within second group.
Here is the result of:
<?= dd($pager) ?>

in view

it's using default config value. It's the same if I use integer like:
'orders'     => $orders->whereClient($clientId)->paginate(1, 'orders'),

Try this patch:
--- a/system/BaseModel.php
+++ b/system/BaseModel.php
@@ -1073,7 +1073,7 @@ abstract class BaseModel
      */
     public function paginate(?int $perPage = null, string $group = 'default', ?int $page = null, int $segment = 0)
     {
-        $pager = Services::pager(null, null, false);
+        $pager = Services::pager(null, null);

         if ($segment) {
             $pager->setSegment($segment, $group);

Try this patch:
--- a/system/BaseModel.php
+++ b/system/BaseModel.php
@@ -1073,7 +1073,8 @@ abstract class BaseModel
      */
     public function paginate(?int $perPage = null, string $group = 'default', ?int $page = null, int $segment = 0)
     {
-        $pager = Services::pager(null, null, false);
+        // Since multiple models may use the Pager, the Pager must be shared.
+        $pager = Services::pager();

         if ($segment) {
             $pager->setSegment($segment, $group);


Create test suite

We should write unit tests for the functions we're creating or modifying, as well as end-to-end tests to ensure the program still behaves as expected.

We have some 'end-to-end' tests now.


⚠ Roblox Site has degraded performance

In 3605217, Roblox Site (https://roblox.com/) experienced degraded performance:

HTTP code: 200
Response time: 9451 ms

Resolved: Roblox Site performance has improved in 9802ec1 after 10 minutes.


oAuthPrompt has an invalid value/link

Version
4.0.41704 and 4.0.55-one-off
Describe the bug
When an OAuthPrompt is returned in Emulator Build 4.0.0-preview.40025 it has this attachment (and works)
{
  "attachments": [
    {
      "content": {
        "buttons": [
          {
            "text": "You haven't linked any accounts yet, if possible please authenticate your assistant to access this service or switch to your companion experience.",
            "title": "Skill Authentication",
            "type": "openUrl",
            "value": "oauthlink://https://token.botframework.com/api/oauth/signin?signin=REDACTEDIDENTIFIER-GUID|livechat"
          }
        ],
        "connectionName": "AzureAd",
        "text": "You haven't linked any accounts yet, if possible please authenticate your assistant to access this service or switch to your companion experience."
      },
      "contentType": "application/vnd.microsoft.card.oauth"
    }
  ],

However in 4.0.41704 and 4.0.55-one-off it returns this, you can see the moniker (oauth://) is incorrect versus oauthlink above and the URL is completely malformed.
{
  "attachments": [
    {
      "content": {
        "buttons": [
          {
            "text": "You haven't linked any accounts yet, if possible please authenticate your assistant to access this service or switch to your companion experience.",
            "title": "Skill Authentication",
            "type": "openUrl",
            "value": "oauth://AzureAd&&&REDACTEDGUIDE|livechat"
          }
        ],
        "connectionName": "AzureAd",
        "text": "You haven't linked any accounts yet, if possible please authenticate your assistant to access this service or switch to your companion experience."
      },
      "contentType": "application/vnd.microsoft.card.oauth"
    }
  ],

This then results in a malformed tokens/response event being sent to the Bot.
To Reproduce
Steps to reproduce the behavior:

Use AuthenticationBot Sample and click on an oauth card
Observe malformed token being sent to bot
Prompt is shown again

Expected behavior
OAuthPrompt to work and generate a correct token from ABS (as per previous builds)
Screenshots
If applicable, add screenshots to help explain your problem.

[bug]

Fixed with #1008

Same issue now with emulator 4.3.2 I've downloaded 4.1.0 and nothing I've downloaded 4.2.0 and nothing.
is working well outside the emulator


trans changes

Added trans tags in indicator_reportingperiod_modal and iptt_filter_form.
I purposefully have not generated the equivalent po file yet because this would cause many merge conflicts if we still change text strings in the coming days. We need to generate those before deploying translations.

@mahmoodkhan @kbarkemeyer I've been making extensive changes to the indicator_reportingperiod_modal.html file that are not reflected in the file Karen was working on.  I think it might be easier/safer for me to go through and duplicate Karen's changes in my code and discard the ones that Karen submitted here.  Is it possible to accept only the trans tags that were added to the IPTT report and discard the ones to the reporting period modal?


how to map the db fields to the property with different name?

if the db fields have different name ,how can i map to the property? eg..
id -->UserId
id is db field ,UserId is a property in c# class.
how can i do ?

Use Column attribute
[Column("id")]
public Int32? UserId
{
   get { return Fields.UserId[this]; }
   set { Fields.UserId[this] = value; }
}

thanks，but i want to use dapper.sqlmapper.update，so the property must keep consistent with db fields。
获取 Outlook for Androidhttps://aka.ms/ghei36

From: Wesley Huang<EMAIL_ADDRESS>Sent: Monday, May 20, 2019 9:17:30 AM
To: volkanceylan/Serenity
Cc: csabc; Author
Subject: Re: [volkanceylan/Serenity] how to map the db fields to the property with different name? (#4448)
Use Columnhttps://github.com/volkanceylan/Serenity/wiki/Entity-Framework:-ColumnAttribute-[Mapping] attribute
[Column("id")]
public Int32? UserId
{
get { return Fields.UserId[this]; }
set { Fields.UserId[this] = value; }
}
―
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/volkanceylan/Serenity/issues/4448?email_source=notifications&email_token=AJ5EYBTDEU33UX5MU37OBQDPWH32VA5CNFSM4HN4GCS2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVXPFYI#issuecomment-493810401, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AJ5EYBXNCRW3CNH4XXV6SJDPWH32VANCNFSM4HN4GCSQ.

In that case you can't use Dapper with Row.


No picture on PEACE-EYE

some reason as webview2 has been updated, i dont get no image on peace-eye.
it looks curently this when i logged in

i dont see any logs curently whats is wrong.

I can confirm that it connects to the Tacview server and also to the map service, but that’s all.


SUBGRAPH: Show 40 does not imply 3, 8, 42, 43, 4512; and 4, 387, 4582 does not imply 40

Only a generating set of implications needs to be added to Subgraph.lean, of course.
Human-readable sketches of proofs can be added in comments.

Added Seraphina Nix's sketch of proofs (from https://leanprover.zulipchat.com/#narrow/stream/458659-Equational/topic/Outstanding.20tasks.2C.20v1/near/473000267) in the comments.

claim

propose PR #53


Add support to set KEDA_HTTP_DEFAULT_TIMEOUT in metrics server

This PR adds support to set KEDA_HTTP_DEFAULT_TIMEOUT in metrics-server by the same way that we are using for the operator.
I have created the PR following these steps, https://github.com/kedacore/charts/blob/master/CONTRIBUTING.md. Let me know if it's correct or I have to do/undo anything else :)
Checklist

[x] Commits are signed with Developer Certificate of Origin (DCO - learn more)
[x] A PR is opened to update KEDA core (repo) (if applicable, ie. when deployment manifests are modified) https://github.com/kedacore/keda/pull/2062
[x] README is updated with new configuration values (if applicable)

Fixes https://github.com/kedacore/charts/issues/180

Can you revert the new version please?

do you mean all the changes but keda/templates/22-metrics-deployment.yaml, right?

Yes, thank you!

Done!

Thank you!


1.21.1 support

please make plugin work properly on 1.21.1 - there are errors while having any item in hand

@Pianist20005

Hey @homerek111,
I have just seen your issue - as already mentioned, the full version support for 1.21.X is released on spigot!


Marshal bmp go struct into bytes

Hey!
I looking for a way to create BMP message. Rather than unmarshal them into a nice go struct, I would like to start from a go struct and marshal it into bytes.
I was wondering if I could do that via gobmp. Looking at the code, it seems that only the unmarshal direction is implemented, but maybe I'm wrong?
Best.

My question is still valid of course, but I end up using GoBMP's BMP package which has a Serialize() function.


[QUERY][OpenAI] Is it possible to interrupt streaming chat message in OpenAI SDK?

Query/Question
Is it possible to interrupt the process of getting streaming messages by OpenAIClient#getChatCompletionsStream or OpenAIAsyncClient#getChatCompletionsStream?
Setup (please complete the following information if applicable):

OS: Windows
IDE: vscode
Library/Libraries: Java azure-ai-openai 1.0.0-beta.3

Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

[x] Query Added
[x] Setup information Added

@Miura-KR Are you asking to stop the streaming?

@mssfang yes

For Async APIs, you can cancel an ongoing Flux/Mono by using the Disposable object returned by the subscribe() method.
For example, use .dispose() to cancel Flux blew.
        List<String> lists = new ArrayList<>();
        for (int i = 0; i < 10000; i++) {
           lists.add("h" + i);
        }
        Disposable disposable = Flux.fromIterable(lists)
                .delayElements(Duration.ofSeconds(1))
                .map(String::toLowerCase)
                .subscribe(System.out::println);

        Thread.sleep(5000); //Sleeping so that some elements in the flux get printed
        disposable.dispose();

For Sync APIs, unfortunately, there is no support for cancellation on the IterableStream object. But we are considering adding cancellation to it.

@mssfang
Wow, I made it for Async API !
Thank you very much!!


"pbf" is actually osm.xml

Maybe this is intentional, but it surprised me:
$ curl 'https://assets.od2net.org/severance_pbfs/elephant_castle.pbf' | head
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0<?xml version='1.0' encoding='UTF-8'?>
<osm version="0.6" generator="osmium/1.11.1">
  <node id="107564" lat="51.4986115" lon="-0.079333"/>
  <node id="108118" lat="51.4977008" lon="-0.0797753"/>
  <node id="108119" lat="51.4971248" lon="-0.0808368"/>
  <node id="108120" lat="51.4966987" lon="-0.0818124"/>
  <node id="108121" lat="51.4959887" lon="-0.0829106"/>
  <node id="108183" lat="51.4947912" lon="-0.084657"/>
  <node id="108184" lat="51.4947597" lon="-0.0851832"/>
  <node id="108186" lat="51.494026" lon="-0.0862054"/>

This could be another good way to minimize your page load.

Good catch, thank you :)  The dangers of using a parsing library that auto-detects XML or PBF and ignores file extension. I fixed these and cleared the Cloudfront cache


Add 'since' and/or 'forRemoval' arguments to the @Deprecated annotation.

Description of Technical Debt
Add 'since' and/or 'forRemoval' arguments to the '@Deprecated' annotation.
File Location
src\main\java\de\dennisguse\opentracks\data\ContentProviderUtils.java"
SonarQube Description

Solution
Added the "since" and "forRemoval" arguments to the '@Deprecated' annotation with the actual version of the project specified in the build. This will ensure that the @Deprecated annotation reflects the version in which the method was deprecated.
Screenshot

The "since" and "forRemoval" arguments have been incorporated into the "@Deprecated" annotation, aligning with the current version specified in the project's build configuration. This update ensures that the annotation accurately indicates the version in which the method was deprecated.


Events not registering for testing controller.trigger()

What I'm doing:
Calling this.controller.loadModule against a feature that I've created in Botkit 4.5 to instantiate a controller with its details.
What's I expect:
this.controller._events should have registered events custom defined in a feature with controller.on(<event_name>)
What I get:
Not that. controller._events is {}.
maybe I'm missing something?

Hey @roeintense ,
I've checked loadModule feature, I replaced fileBeingTested with it
https://github.com/gratifyguy/botkit-mock/blob/master/examples/botkit-slack/tests/slack_features_spec.js#L26-L27`
and passed features folder, as result._events was not empty.

I'll take a closer look a bit later on. Thanks for quick response.
On Thu, Feb 13, 2020, 2:30 PM Ihor Rusinko<EMAIL_ADDRESS>wrote:

Hey @roeintense https://github.com/roeintense ,
I've checked loadModule feature, I replaced fileBeingTested with it
https://github.com/gratifyguy/botkit-mock/blob/master/examples/botkit-slack/tests/slack_features_spec.js#L26-L27`
and passed features folder, as result._events was not empty.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/gratifyguy/botkit-mock/issues/59?email_source=notifications&email_token=ABWEUO7COXTTEZXA7AXUA6TRCWUVHA5CNFSM4KUWI5PKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELWP6AQ#issuecomment-585957122,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABWEUOZUP3LQTX5QJ6RP2W3RCWUVHANCNFSM4KUWI5PA
.

@ihorrusinko I had a chance to look at what you did, and I'm sorry I wasn't more clear. That's how I did it before. When fileBeingTested(this.controller) didn't worked, I tried calling LoadModule directly. I'm still not getting event declarations to populate. If you can't get it to replicate easily, it's probably an error on my side. I'll continue to investigate and resubmit if necessary.


refactor mistral and phi3

Description
After this PR, mistral only supports transformers >= 4.36
1. Why the change?

2. User API changes

3. Summary of the change

4. How to test?

[ ] N/A
[ ] Unit test: Please manually trigger the PR Validation here by inputting the PR number (e.g., 1234). And paste your action link here once it has been successfully finished.
[ ] Application test
[ ] Document test
[ ] ...

PR validation: https://github.com/intel-analytics/ipex-llm-workflow/actions/runs/12479388429


Tree-like grid and more usable to view expanded children records

Hello!
It is more willing than the problem.
It convert my grids from from 1.4 to 1.5 and from grid/subgrids to tree-like grid. It's more handy to use tree-like grid. But there is one thing was lost in tree. Grid/subgrids are more informative bacause have wide border. For example:

Every subgrid separated from previous with border and background grid row. Also, every nesting level  has own left indent with background.
Here I have w2grid v1.5

And it's harder to see levels in my opinion.
Mayby somebody have any css style to fix this?

Alexey, please submits bugs only here. All other items please to stackoverflow or w2ui.com comments


add reactour for maps page for #84

That almost finishes the "maps" tour. Just have to modify text on narrow screens, because then the popover boxes don't actually position at all, so the text needs to spatially refer to the positions of things.


Make with podman permission issue

$ make container_cmd=podman
podman run -ti --rm -v /home/kfox/git/spire-helm-charts-flex:/apps docker://alpine/helm:3.11.1 lint spire-flex -f spire-flex/values.yaml
Trying to pull docker.io/alpine/helm:3.11.1...
Getting image source signatures
Copying blob 05a2708c4a81 done
Copying blob 796e85e1de57 done
Copying blob 63b65145d645 done
Copying blob 4f4fb700ef54 done
Copying config b7831bc301 done
Writing manifest to image destination
Storing signatures
==> Linting spire-flex

1 chart(s) linted, 0 chart(s) failed
podman run -ti --rm -v /home/kfox/git/spire-helm-charts-flex:/apps docker://helmunittest/helm-unittest:3.11.1-0.3.0 spire-flex/ -d -f tests/*.yaml
Trying to pull docker.io/helmunittest/helm-unittest:3.11.1-0.3.0...
Getting image source signatures
Copying blob 8921db27df28 done
Copying blob a37700b44b78 done
Copying blob aac2ca54914b done
Copying blob 00d47daa0b62 done
Copying config ec55be8ef8 done
Writing manifest to image destination
Storing signatures

### Chart [ spire-flex ] spire-flex/

 FAIL  	spire-flex/tests/agentDaemonsetSelectorConsistency.yaml
	- Execution Error:
		mkdir spire-flex/tests/__snapshot__: permission denied

 FAIL  	spire-flex/tests/agentHealthCheckBindPort.yaml
	- Execution Error:
		mkdir spire-flex/tests/__snapshot__: permission denied

 FAIL  	spire-flex/tests/agentHealthCheckDefault.yaml
	- Execution Error:
		mkdir spire-flex/tests/__snapshot__: permission denied

 FAIL  	spire-flex/tests/agentHealthCheckDisabled.yaml
	- Execution Error:
		mkdir spire-flex/tests/__snapshot__: permission denied

 FAIL  	spire-flex/tests/agentHealthCheckEnabled.yaml
	- Execution Error:
		mkdir spire-flex/tests/__snapshot__: permission denied

 FAIL  	spire-flex/tests/agentHealthCheckIPv4BindAddress.yaml
	- Execution Error:
		mkdir spire-flex/tests/__snapshot__: permission denied

 FAIL  	spire-flex/tests/agentHealthCheckIPv4BindAddressAny.yaml
	- Execution Error:
		mkdir spire-flex/tests/__snapshot__: permission denied

 FAIL  	spire-flex/tests/agentHealthCheckIPv4BindAddress_failOnBadValue.yaml
	- Execution Error:
		mkdir spire-flex/tests/__snapshot__: permission denied

 FAIL  	spire-flex/tests/agentHealthCheckIPv6BindAddress.yaml
	- Execution Error:
		mkdir spire-flex/tests/__snapshot__: permission denied

 FAIL  	spire-flex/tests/agentHealthCheckIPv6BindAddressAny.yaml
	- Execution Error:
		mkdir spire-flex/tests/__snapshot__: permission denied

 FAIL  	spire-flex/tests/agentHealthCheckIPv6BindAddress_failOnBadValue.yaml
	- Execution Error:
		mkdir spire-flex/tests/__snapshot__: permission denied

 FAIL  	spire-flex/tests/agentHealthCheckLivePath.yaml
	- Execution Error:
		mkdir spire-flex/tests/__snapshot__: permission denied

 FAIL  	spire-flex/tests/agentHealthCheckReadyPath.yaml
	- Execution Error:
		mkdir spire-flex/tests/__snapshot__: permission denied

Charts:      1 failed, 0 passed, 1 total
Test Suites: 13 failed, 13 errored, 0 passed, 13 total
Tests:       0 passed, 0 total
Snapshot:    0 passed, 0 total
Time:        3.461462ms

Error: plugin "unittest" exited with error
make: *** [Makefile:14: test] Error 1

Sorry, I forgot that git doesn't check-in empty directories.  I had created this directory in my development area, so my tests pass.  We need to add a ".empty_dir" file in the snapshot directory to get it into git.
The snapshot directory is for test comparison between runs.  We are not using this feature in the current test reporting, but it is not a disable-able feature of this testing suite.


Fine tuning Cifar-100 model freezing all layers except the last one.

I have trained a cifar-100 model using https://github.com/dmlc/mxnet/blob/master/example/notebooks/cifar-100.ipynb .
I need to finetune the model, freezing all the layers except the last one. How can we use symbol.blockGrad to freeze the layers? Is there any other method ?

You don't need to use blockGrad. Don't bind the gradient of the last layer or specify grad_req='null' in simple_bind will do.

BTW, strictly speaking, using blockGrad cannot freeze the weight since weight decay may also change the weight.

https://github.com/dmlc/mxnet/blob/master/python/mxnet/optimizer.py

The updater currently is unaware of layer-wise configuration.
def get_updater(optimizer):
    """Return a clossure of the updater needed for kvstore
    Parameters
    ----------
    optimizer: Optimizer
         The optimizer
    Returns
    -------
    updater: function
         The clossure of the updater
    """
    states = dict()
    def updater(index, grad, weight):
        """updater for kvstore"""
        if index not in states:
            states[index] = optimizer.create_state(index, weight)
        optimizer.update(index, weight, grad, states[index])
    return updater

This is one of the most common use cases. Have not anyone done this before with MXNet?

Would you please restart the effort of https://github.com/dmlc/mxnet/issues/830 to make common tasks very easy to finish?

The hacky way to block gradients is https://github.com/dmlc/mxnet/issues/1538#issuecomment-196691988.


Not logged users get LDAP password information from the 404 page

Describe the bug
When a non allowed user tries to access an article he gets a 404 page where all the config info can be seen.
Steps To Reproduce
Steps to reproduce the behavior:

Share an article page to someone
This someone is not logged to the Bookstack and click on the link
He/she gets a 404 page with all the info from the server including the LDAP password
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots

Your Configuration (please complete the following information):

Exact BookStack Version (Found in settings): BookStack v0.22.0
PHP Version: PHP 7.2.10-0ubuntu<IP_ADDRESS> (cli) (built: Sep 13 2018 13:45:02) ( NTS )
Hosting Method (Nginx/Apache/Docker): Apache

Additional context
I would rather have a non logged user redirected to the login page.
And of course be sure that any important information is not shown.
Thank you in advance for this fabulous application and for any further help.
Carlos

Hi @Carlosongit,
This is only showing since debug mode is turned on.
I'd advise you disable debug mode in normal operation to avoid such scenarios.

Dan, it sas absolutely the answer thank you.
Cheers,
Carlos Alonso Souza

Le 11 oct. 2018 à 09:41, Dan Brown<EMAIL_ADDRESS>a écrit :
Hi @Carlosongit,
This is only showing since debug mode is turned on.
I'd advise you disable debug mode in normal operation to avoid such scenarios.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Thanks @Carlosongit for confirming that solves this.
I've now added a warning to the debugging page in the BookStack docs to highlight this.


URL Request

Hello Friend, im actually using PDFReader my question is the next, can i request PDF from url with this Framework? if it yes, how can i? Thank You so much!

I'm sorry, I'm not quite sure I understand your question "can i request PDF from url". Can you be a little more clear/specific? Do you want to download a PDF from a webpage and display it with this library? Thanks

yes, I would like to display a PDF file from a server and display with this Framework, Thanks

You would need to download and save the file somehow, in order to create a PDFDocument. Something like this:
private func downloadAndDisplayPDF() {
    let url = NSURL(string: "http://images.apple.com/environment/pdf/products/watch/AppleWatch_PER_sept2015.pdf")!
    let data = NSData(contentsOfURL: url)
    let cachesDirectory = NSFileManager.defaultManager().URLsForDirectory(.CachesDirectory, inDomains: .UserDomainMask).first!

    do {
	    let documentsFolder = cachesDirectory.URLByAppendingPathComponent("documents")
	    try NSFileManager.defaultManager().createDirectoryAtURL(documentsFolder, withIntermediateDirectories: true, attributes: nil)

	    let tempFileURL = documentsFolder.URLByAppendingPathComponent("example").URLByAppendingPathExtension("pdf")
	    try data?.writeToURL(tempFileURL, options: .AtomicWrite)

	    let document = PDFDocument(fileURL: tempFileURL)
	    showDocument(document)
    } catch {
	    print("Failed")
    }
}


Update USD to 20.08

The Yamato error is also happening with older binaries, so I have to assume it's something funky with trunk (20.2).
I'm looking into it.

Thanks for the big update.
Do you have the resources to build for OSX and Linux? I wanted to get the build infra back up and running mid when I'm back in August.
The trunk jobs on Yamato started failing beginning of June with all errors stating USD.NET not being loadable. Looked into it a little bit but came back empty handed. Completely forgot about it with the Chaplin rush.

I can produce an OSX build (manually via XCode), but I have no local ability to create a Linux build.
I started setting up locally to start to learn our new build infrastructure (for automated win/linux/osx builds), though I'm now waiting for that team to process me as a new user.


AzureStack swagger issue: required parameter is not marked as required

In resource Registration, some required parameters are not marked required.
For example:
The request body is defined as:
token (required): {
  "properties"(optional): {
    "registrationToken" (required)
  },
  "location"(optional)
}

After test, I find both "properties" and "location" are required, but they are not marked required in swagger.

PR - https://github.com/Azure/azure-rest-api-specs/pull/9777

We have a PR to address the issue @dw511214992 Could you please let us know how found this issue? What are you trying to do with this spec? Thanks!

PR is merged


Update docs for OpenWhisk setup

https://new-console.stage1.ng.bluemix.net/openwhisk/cli
Need to add wsk to path after running the executable

Updated open whisk docs stating they should add wsk to their path.


DS-4342

This PR updates the CollectionsResource.getCollectionItems method to include the limit and offset parameters when retrieving items for a collection, instead of retrieving al items for a collection.
This should improve the performance of the collections/collection_id/items REST endpoint.
Jira ticket: https://jira.duraspace.org/browse/DS-4342

@PhilipVis see my message reported at #2517

just a note that #2275 would enable itemservice.findAuthorizedByCollection to be created.


Setup trusted publishing

It is going to be much easier to manage publication of the pyrealm as part of the GH actions workflow using trusted publishing, rather than relying on authentication using PyPI tokens. For a start, those tokens need to be stored securely but also shared amongst team members who want to make a release.
@dalonsoa pointed to a similar approach here:
https://github.com/ImperialCollegeLondon/virtual_ecosystem/pull/401#pullrequestreview-1913398522
https://github.com/EnergySystemsModellingLab/MUSE_OS/blob/develop/.github/workflows/publish.yml
We've implemented something similar here, which we can basically clone.
https://github.com/ImperialCollegeLondon/virtual_ecosystem/issues/405
https://github.com/ImperialCollegeLondon/virtual_ecosystem/pull/408
Describe the solution you'd like
Set up a GH workflow to publish when a release is made. I think the sequence is basically:

Create a new release branch from develop
Review and merge that branch into main
Tag the new release with the version number
Create a new release from that tag.
That release creation sparks the workflow which re-runs the standard testing, builds the package and uses trusted publishing to push it to TestPyPI.
That can then also publish to PyPI

So:

[x] Add the GitHub workflow from the virtual_ecosystem example and modify for pyrealm
[x] Adopt the release process documentation from that PR too.
[x] Turn on trusted publishing from GitHub on PyPI and TestPyPI (@davidorme to do)
[ ] Probably run a 1.0.0a1 release to check it all works.

Closed with #200


"Start Scan" button does nothing

Trying with both local or remote api, the extension detects the API running, clicking on "Start Scan" literally does nothing

.

Are you using the version of sqlmap bundled with the extension? Can you confirm the sqlmapapi was actually started? Can you provide logs from the "Extender" tab for the extension?
What version of Burp / sqlmap / SQLiPy / Java / Jython are you using? There are basically no details to help me troubleshoot here and no one else has ever reported this being an issue.

No help/details received so closing.


osx => linux cross compilation (via llvm)

https://github.com/tpoechtrager/osxcross
This looks interesting, and given my iOS needs I typically use an OS X host.  This could help add linux platforms in the same build step.  I just stumbled on this so I'm making a note for future reference.

I didn't read this carefully.  This supports the opposite direction: linux => OS X.

http://crossgcc.rts-software.org/doku.php?id=compiling_for_linux

https://github.com/rust-lang/rust/issues/16259


PHP 8.1.3

Hi, I'm trying to make it work in PHP8.1.3, but I find myself with a problem I can't really fix because I don't really understand Go.
You can read the error here: https://gitlab.com/sailenicolas/gophp/-/jobs/2191492914
Apparently the problematic function is: receiver_define.
Basically this line:
https://gitlab.com/sailenicolas/gophp/-/blob/php8/src/receiver.c#L236
The call to zend_register_internal_class causes a panic. If you don't mind, is there any way to make it work? I'm asking if you can point me in the right direction.
The function calls are as follows:
TestEngineDefine  -> e.Define  -> C.receiver_define  -> zend_register_internal_class() and there it throws PANIC.
I already checked other SAPI modules, php-src and PHP7 internals, I can't find the problem from the PHP8 side, so I think the problem is in the Go tests (I am only assuming).
The code is mostly the same...
Sorry for my english.

The error is caused by this line:
	lowercase_name = zend_string_tolower_ex(orig_class_entry->name, EG(current_module)->type == MODULE_PERSISTENT);
The problem is EG(current_module)->type, there is a function called zend_string_tolower(), anyway, that's about it.
The line is in: do_register_internal_class() function which is called by zend_register_internal_class.
Anyway, if anyone want to check out the fork gitlab.com/sailenicolas/gophp

Thanks for taking a look here @sailenicolas, and for posting a link to your work here -- indeed go-php has not been tested with PHP 8.x, and though internal changes don't appear to be as dramatic as in the shift from PHP 5 to 7, things are bound to break. The library is mostly unmaintained, as I have no active use-case for it at the moment, but I welcome and will review any incoming PRs.

Hi, thank you for you response. I completed updating it to make it compatible with PHP8.1. Although there is an issue without a cause. It doesn't happen on every test. See the Passing job and Failing job same commit.
This one:  value_test.go:463: Value.Slice('map[c:2 t:1]'): expected '[]interface {}{1, 2}', actual '[]interface {}{2, 1}'
The next step is: make it work with goroutines.
Thank you.


Optionally disable footer menu. Enabled by default

The theme is rendering by default a footer menu with the tags and categories page which cannot be disabled. Currently the only way to hide it is to declare an empty list footer: [] in the menus.en.yml, but the <nav> and <ul> elements still get renderered
This PR adds a config option to skip the menu when rendering the footer

thanks @madoke. This seems like an overkill solution, however, there is a problem with the theme. Hugo will read the defaults for the menu variables from the theme if they are not set in the site config files. The default is being displayed because that is what is configured in the theme default menu.en.toml... I've fixed it in the following commit
https://github.com/nunocoracao/blowfish/commit/82a36a462e38c3032453b7f00333601670c4288a
not only for footer but for the rest of the menu also. You can now simply delete the footer if you don't want to use it.

Hello @madoke, re-opening this one. Could you add the documentation to the variable you created? and if possible add it with a default value and commented to both config files (root dir, and exampleSite)?

removing the parameter from the params.toml default config file

Does this make sense ? What about the others that are already there (showCopyright, showThemeAttribution, etc..)

Adding the default to the IF clause e.g. if .Site.Params.footer.showMenu | default true

https://github.com/nunocoracao/blowfish/pull/129/commits/4a8c23c9d591df47cf6856249ccd150322373ca0

documenting the new variable in the respective docs section for theme configurations

https://github.com/nunocoracao/blowfish/pull/129/commits/2211ce50be3fb42ba9168ff6c99f621dbe608782


Stop building stuff, starting with cryptography.

The way we build Python, every major version upgrade is a massive pain in the rear, because I have to forward-port the libedit patches. And then fix any new issues with our builds.
Only minor version updates are (quickly) doable, but these are limited by what upstream does. In the case of Python 3.8, upstream stopped providing embeddable Windows packages at version 3.8.10. Compare https://www.python.org/downloads/release/python-3810/ with https://www.python.org/downloads/release/python-3811/.
[…]
Given the Rust dependency of cryptography, I think the way forward would be to stop trying to build it ourselves. Just use the upstream wheels with embedded OpenSSL.
Ideally, also use upstream Python packages on all OS'es, just like on Windows. Effectively, this means not building anything at all, just like we already do on Windows for this repo. Given the way Python is packaged upstream, this would mean being ready to jump to the latest major Python version rather early. E.g. for the 3.8.x lifecycle, be on Python 3.9.x before Python 3.8.11 was released.
Originally posted by @dumol in https://github.com/chevah/pythia/issues/34#issuecomment-1153574889

I think that we can remove libedit.
For Python, there is no need to use 3.8
We can go with 3.10 or whatever is the latest version.

Given the Rust dependency of cryptography, I think the way forward would be to stop trying to build it ourselves. Just use the upstream wheels with embedded OpenSSL.

yes. and only have a single Linux download archive.

Partially fixed through https://github.com/chevah/pythia/pull/38, which switched to using cryptography wheels everywhere.
Not building Python is not an option on Linux. Given that building it on macOS is very similar to building on Linux, it's not worth the trouble to stop building Python on macOS.


Consistency of customer_id and item_id's.

Port of https://github.com/Constructor-io/constructorio-client-javascript/pull/116

Any method that used to accept customer_id will still do so, but is documented as item_id to be more consistent + tests
Any method that used to accept name will still do so, but is documented as item_name to be more clear and consistent + tests
More concise documentation of concepts globally across tracking module

This change does not introduce any breakage to existing implementations / previous versions. We'll need to port these changes to constructorio-node once approved.

Line 276 and 303-305 has result_id. Do we still need those?

Line 276 and 303-305 has result_id. Do we still need those?

Great catch!


fix: authentication error UI and reroute home page

Notion ticket link

Auth Error UI
Prelim Email Template Styling
Reroute Home
Auth Desktop Friendly

Implementation description

Error UI for signup
updating desktop designs
updating routes on login

What should reviewers focus on?

Signup for user is throwing me an error at the moment
Lint for backend shows no errors locally not sure why CI is breaking

I am getting error on sign up saying that the password has to be atleast 6 characters even though the password meets all the requirements.


Internal links hide header

Clicking internal links will hide the linked section header. This is a problem present throughout angular.io though, because there is no padding/margin to offset the navbar at the top of the main section.
So we get this:

While we should get this:

We had this problem with angular.js docs.  We fixed it by adding a directive:
.directive('scrollYOffsetElement', ['$anchorScroll', function($anchorScroll) {
  return function(scope, element) {
    $anchorScroll.yOffset = element;
  };
}]);

and then using it on the header that was hiding the content:

    ...

We can do this in angular.io easily too.


Only set session token variable (AWS_SESSION_TOKEN) if it was present in the session

This prevents situations where the session token variable is set but it contains invalid data.
This can lead to errors in the default environment credential provider used by the AWS Java SDK.

Appreciate doing this!


Comment form and more task

I have covered the last task asigned to the last 4 cards
Please review this

Congratulations @angelacuahutle you made an amazing job in this. You can merge it now.


Assorted fixes

Language fixes
Removed redundantewrong component (I made sure there were no dangling references to any of the components whose numbers were changed)

@MakerJanSky and @VoteWizard
minor fixes have been proposed to this MIP. they are of the nature of clear typos and thus per GOV3, a consensus of Facilitators can directly edit to correct the problems.
Please review and let me know if you both agree to approve and merge the GOV3 edits.


Can I use it with ADAM?

Hi. I have some questions before I'm going to use snapshot ensembles
TL;DR

Can I use snapshot-ensembles with adaptive learning rate optimizer? (e.g. ADAM)
Can I use it with very slow optimizer such as SGD?
Which optimizer and parameters shows best for your experience?
If I find optimal weight for my partial problem by using this technique, can I use it as initial point to find optimal point for full problem?
Does Snapshot-Ensembles affect to training time?

Situation:
I'm training a network which is based on FCN Densenet. (the problem is similar to image segmentation but continuous labels). Since I have quite large dataset(over 350GB), it is almost impossible to find proper parameter and model with this setting(almost 6 hour to train one epoch). Instead using full data, I am training it with small part of data(around 8~9GB).
The problem is if I use ADAM, whenever I train model with either full or partial data, it converges really fast. It converges within 1 ~ 2 epoch when I train it with full data and it also converges within 10 ~ 30 epoch when I use small data.
I'm guessing ADAM just put model into closest local optima.
If I initialize weight differently at every epoch, maybe I can find several local optima with ADAM in really short time and I might have performance boost by using this technique.
But the problem is I don't know I can use it with ADAM. Is it possible?

Are you sure you are converting within 1-2 epochs with Adam?
In any case, this technique should work with Adam as well, since it will just scale Adams final gradient computations. However, the improvements won't be as dramatic as using simple SGD. However, small improvements will still be there due to ensemble effect.
If you are converting that fast, then you can set number of epochs to 10 or 20 instead of 300, and get a snapshot every 2-4 epochs.
I personally have stopped using this technique since the relative performance improvement is not worth the linear increase in evaluation time.
Since DenseNet FCN has an already large inference time, I would not suggest using this technique for production systems. For research, it is fine.
To answer your questions in the order you stated above :

Yes, it can be used with Adam
Ofcourse. It was originally meant to help SGD in the first place.
I've only tried on Cifar 10. There, the default settings of the paper worked the best.
Yes you can initialize the model with pretrained weights. The improvements won't be much however even after ensembled predictions.
It does not affect training time. However, it linearly increases prediction time if you use ensemble averaging over all snapshots (by a factor of how many snapshots there are)


Bug?: useComputed doesn't update when given a new signal

I'm wondering if this is intended behavior or not.
Steps to preroduce:

Open https://stackblitz.com/edit/vitejs-vite-mebrre?file=src%2Fapp.jsx
Click Increase A
Observe that the large number in grams updates to reflect A
Click Show B in grams
Observe that the large number in grams doesn't update to reflect B
Click Increase B
Observe that the large number in grams still doesn't update  to reflect B
Click Increase A
Observe that the large number in grams finally updates to reflect B

So it seems that useComputed can only start tracking a new signal when the previous one changes. If this is intended, it should be very well documented that you need to pass the same instance of the signal to get proper behavior.

Hey, this feels similar to https://github.com/preactjs/signals/issues/361#issuecomment-1552229236, we should def document that! Thank you for calling this out

And it also gets me thinking, I haven't experimented as much with useSignalEffect() so let's put that aside for a while and assume signals work perfectly until you use useComputed(). Wouldn't it be more robust ifuseComputed() was changed so that it could react to changes of the signal itself? The signal reference can only change if the component renders, so on every render, the closure could be evaluated with some no-op flag to find out if the signals are the same as before and if not, it would create a new computed() or something like that.
(Just thinking out loud)

@JoviDeCroock does this also work if we have a global state and we are using the useContext hook to get the signal?

main feature of useComputed is fact that it is not reexecuted on every rerender. The real way to check it - on babel plugin level, generate code which compares signals in scope with current ones

But I don't think it's a good idea. I think it's better to have convention that you should provide stable signal refference into child component. Or if you can't - change child component key

Btw, here is my hook that solve the issue
Here is fixed example:
https://stackblitz.com/edit/vitejs-vite-xtukpt?file=src%2Fapp.jsx
scrnli_12_28_2023_5-15-47 PM.webm

Will this hook work in react?

@noopurphalak All library work both in react and preact. This hook too

@XantreGodlike I am asking specifically for state derived from useContext

If you will change reference of signal in context provider - it will rerender bottom components, but signal in useComputed, useSignalEffect closures will not update

@XantreGodlike Would you recommend defining signals and effects in a new JS file and exporting the signals to be used by multiple files instead of passing it to the Context API?

If you're using Context for dependency injection it will work just fine. If you will do like this.
const Ctx = createContext(null)
const Child = () => {
  const sig = useContext(Ctx)
  // will not update
  return useComputed(() => sig.value)
}

const A = () => {
  const sig1 = useSignal(1)
  const sig2 = useSignal(2)
  const useFirst = useSignal(false)

  return (
    <Ctx.Provider value={useFirst.value ? sig1 : sig2}>
      <Child />
    </Ctx.Provider>
  )
}

So how do I get the updated state from useContext for useComputed or useSignalEffect to work? Is there any way to subscribe to signal changes in those hooks?

const Child = () => {
  const sig = useLinkedSignal(useContext(Ctx))
  // will not update, will be 2
  return useComputed(() => sig.value)
}

import { useLinkedSignal } from '@preact-signals/utils/hooks'

const Child = () => {
  const sig = useLinkedSignal(useContext(Ctx))
  // will not update, will be 2
  return useComputed(() => sig.value)
}

I still don't understand the significance of useLinkedSignal if we can't use useComputed or useSignalEffect with its derived state. Maybe I am wrong, could you please clarify this for me. I will tell you an example of situation I am stuck in a REACT project:
I have a global state defined in authState.js as follows:
import { signal, effect, computed } from "@preact/signals-react";

export function createAuthState() {
  const authState = signal({
    userUUID: ""
  });

  const isLoggedIn = computed(() => !!authState.value.userUUID);

  return { authState, isLoggedIn };
}

Now I am passing the above state in the Context API as shown below:
<AuthContext.Provider value={createAuthState()}>
  <ConfigProvider theme={theme}>
    <App />
  </ConfigProvider>
</AuthContext.Provider>

In my Login.jsx I am updating my state like this:
state = useContext(AuthContext)

const updateState = (uuid) => {
  state.authState.value = {
    userUUID: uuid
  }
}

I also have a useSignalEffect in the Login.jsx which will redirect the user somewhere else if the user is already logged in like this:
useSignalEffect(() => {
  if (state.isLoggedIn.value) navigate("/dashboard")
})

This useSignalEffect does not seem to work when the state is updated in Login.jsx.
Please suggest a solution to this if possible.

Don't create state at every render
<AuthContext.Provider value={useMemo(() => createAuthState(), [])}>
  <ConfigProvider theme={theme}>
    <App />
  </ConfigProvider>
</AuthContext.Provider>

I tried that, still doesn't work

I'm facing the same problem as @noopurphalak.
I have a signal and a computed signal globally shared via context, both created using useSignal and useComputed, but whenever signal updates, the computed signal is not triggered


[WIP] Initial migration to simctl --json API

Kind of working, but seems to yield different results. Also need to implement support for requested_os_type.
WIP

Some of these look like this
=> #<FastlaneCore::DeviceManager::Device:0x007fe61b124888
 @ios_version=nil,
 @is_simulator=true,
 @name="iPhone 5",
 @os_type="com.apple.CoreSimulator.SimRuntime.iOS-10-3",
 @os_version=nil,
 @state=" (unavailable, runtime profile not found)",
 @udid="4A45F280-4E7E-4A32-A4B2-F5C0AB9D04C8">

          1 Warning

:warning:
Pull Request is Work in Progress

  Generated by :no_entry_sign: Danger

Closing this for now as it doesnt provide so much value, may revisit it later!


[wip] wip on ci integration

Codecov Report

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

@@           Coverage Diff            @@
##             master      #1   +/-   ##
========================================
  Coverage          ?   0.21%
========================================
  Files             ?      11
  Lines             ?     472
  Branches          ?       0
========================================
  Hits              ?       1
  Misses            ?     471
  Partials          ?       0

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 13cf849...f15774b. Read the comment docs.


Change "help translate" links to link to translated documentation for Italian and Portuguese

The links that suggest users to help translate should point to the documentation in the language, not to the English one
For example, the Italian links file:
https://github.com/freeCodeCamp/freeCodeCamp/blob/1fec73cdf746f85cfe13ac48afff43e9eb44f068/client/i18n/locales/italian/links.json#L2
should link to the documentation in italian:
https://contribute.freecodecamp.org/#/i18n/italian/how-to-translate-files
For Portuguese
https://github.com/freeCodeCamp/freeCodeCamp/blob/1fec73cdf746f85cfe13ac48afff43e9eb44f068/client/i18n/locales/portuguese/links.json#L2
it should link to Portuguese documentation
https://contribute.freecodecamp.org/#/i18n/portuguese/how-to-translate-files

Please make sure you read our guidelines for contributing, we prioritize contributors following the instructions in our guides. Join us in our chat room or the forum if you need help contributing, our moderators will guide you through this.
Sometimes we may get more than one pull requests. We typically accept the most quality contribution followed by the one that is made first.
Happy contributing.

Hii @ieahleen, I would like to work in this issue

Hey @madhhuurrii
no need to ask. Issues labelled with help wanted or first timers only are open for contributions. Issues are typically not assigned to a specific person. You can read more about this at https://contribute.freecodecamp.org/#/FAQ?id=how-can-i-get-an-issue-assigned-to-me.
Please make sure you read our guidelines for contributing. Join us in our chat room or the forum if you need help contributing, our moderators will guide you through this.

I went through the site and after inspecting the link I found out that the link for the languages mentioned has errors in them, I would like to make a pr to this issue, can I?

@sahilcode17 do you mean helping with the translation? translations are not dons through github, you can read the page https://contribute.freecodecamp.org/#/how-to-translate-files to know how to help with translations
If it's about swapping the links as described in the first message in this issue, as already said, we don't assign issues, so you can do it


Remove plugins that aren't supposed to be in unsecure build

No significant performance differences

The issue was that TF still wasn't building with gRPC at master and these two linkage errors came up. I think we can get the grpclb back in. Maybe we can get cares back in also. I'll try making some changes to BUILD instead to see if that's possible without causing security to be linked in again.

This file is code generated. This change will break at some point.

Yeah, I realized that at some point but forgot to close this PR. Closing now.


Way to have logger extension print backtraces for errors?

I am using the logger extension in order to have errors in the graphql resolvers show up in the program logs. It works, however it only displays the "simple message" of the error -- it doesn't log any of the backtrace information.
This is a problem in some cases, because of errors like this: (from rust-postgres)
[Error] path=addNodeRevision message=db error: ERROR: column "createdAt" does not exist

The above is all the information that is logged, making it difficult to debug, because there are several database queries within the addNodeRevision resolver, and the error message above gives no indication of which query the error occurred in.
I know that I can add backtrace information manually, like so:
use rust_shared::anyhow::{anyhow, Error, Context};

fn with_backtrace(base_error: rust_shared::tokio_postgres::Error) -> anyhow::Error {
	let as_anyhow_error_with_backtrace: anyhow::Error = base_error.into();
	let error_full_info_as_simple_string = format!("{:?}", as_anyhow_error_with_backtrace);
	anyhow!("{}", error_full_info_as_simple_string)
}

#[Object]
impl MutationShard_AddNodeRevision {
	async fn add_node_revision(&self, gql_ctx: &async_graphql::Context<'_>, input: XInput) -> Result<XResponse, Error> {
		ctx.tx.execute(r#"..."#, &[]).await.map_err(with_backtrace)?;
		ctx.tx.execute(r#"..."#, &[]).await.map_err(with_backtrace)?;
		ctx.tx.execute(r#"..."#, &[]).await.map_err(with_backtrace)?;
	}
}

The custom wrapper error then shows up with the backtrace as part of its message field, which means the backtrace becomes visible in the logger extension's logs.
However, it's a bit annoying/cluttering to have to add .map_err(with_backtrace) before every ? operator; and there's the concern of potential "missing" a wrap, causing an error hit in production to lack the backtrace information.
Ideally, there would be a way for the extension API to expose the "original error" -- or at least the backtrace information, for programs that already have the RUST_BACKTRACE env-var set to 1 or full. Is this a possibility?
If not, is there a more ergonomic way to "automatically wrap" all errors with an equivalent of .map_err(with_backtrace), such that the backtraces are always included in the logger extension's console output?

I've found a somewhat better solution than the above.
First, define this custom error struct:
// "fully-baked" error
// * An error-type that auto-wraps the base-error into an anyhow::Error (for backtrace info), then stringifies its full error info for repeating in its `impl Display`.
// * Needed for use in async-graphql, where our logger extension wants backtrace data, but can only access the result of `error.to_string()` rather than the source error itself.
// ==========

pub struct FullyBakedError {
	full_error_info_string: String,
}
impl Display for FullyBakedError {
	fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result {
		write!(f, "{}", self.full_error_info_string)
	}
}
impl<E> From<E> for FullyBakedError where E: Into<anyhow::Error> + Send + Sync + 'static {
    fn from(error: E) -> Self {
		let as_anyhow_error_with_backtrace: anyhow::Error = error.into();
		FullyBakedError {
			full_error_info_string: format!("{:?}", as_anyhow_error_with_backtrace),
		}
	}
}

Then, change your resolver functions to return Result<XXX, FullyBakedError>, rather than whatever it used to be returning (in my case, it used to return anyhow::Error):
#[Object]
impl MutationShard_AddNodeRevision {
	async fn add_node_revision(&self, gql_ctx: &async_graphql::Context<'_>, input: XInput) -> Result<XResponse, FullyBakedError> {
		ctx.tx.execute(r#"..."#, &[]).await?;
		ctx.tx.execute(r#"..."#, &[]).await?;
		ctx.tx.execute(r#"..."#, &[]).await?;
	}
}

With this approach, I am now getting the entire backtrace information auto-included in the errors' .to_string() result, meaning the logger extension is able to access it.
While this is a bit hacky (the implementation of Display on FullyBakedError is returning much longer strings than errors conventionally would, which then means the frontend/client gets those long messages as well), it does get around the issue of async-graphql extensions not having access to the source-error/backtraces, and I consider it sufficient. (of course, if someone finds a better approach, let me know!)
@sunli829 Since I've found an okay workaround, feel free to close this issue if you don't see a better solution at hand.

I will close this issue, since I'm content with the solution above, and I know you have a lot of other things needing attention.


Support new Plex Movie agent

Should be a pretty easy fix. The new agent is called tv.plex.agents.movie instead of com.plexapp.agents.imdb for the legacy scanner. But there should probably be some kind of detection what kind of agent is used for the library.
I can give it a shot and submit a pull request if you want. Or maybe you prefer to implement it yourself.
For anyone looking to fix this NOW. Change in plexutils.py:
if library_type == 'movie':
            params['type'] = 'movie'
            params['agent'] = 'tv.plex.agents.movie'
            params['scanner'] = 'Plex Movie Scanner'

Be aware that this change will make legacy movie libraries stop working.

@docmeth02 Please feel free to submit a PR if you want. Detecting “default” library agent might be useful, not sure, keep in mind that agent can differ from item to item, so they’ll all have to be considered.

@docmeth02 I've tried your changes but it doesn't work.
From what i understand the only bit that changed was changing the agent to tv.plex.agents.movie?
I'm going to assume because currently the new plex agent doesn't expose any GUIDs for external services, i.e that a movie is xx on IMDB or yy on TMDB that when the script checks what movies are in the Plex library it can't see any GUIDs it understands so thinks there are no movies.
Plex have advised that they'll be making these GUIDs available again in the XML, once those are available this (and many other 3rd party scripts) should be able to work with the new scanner. Unsure if it'll need some changes to the script itself though.
https://forums.plex.tv/t/native-plex-agents-allow-access-to-external-provider-ids-for-media-eg-imdb-tmdb-tvdb/619090/130

External ids are now available in version <IP_ADDRESS>13. And yes, I think changes are still needed because it still does not work with the new server version.

/opt/python-plexlibrary$ pip install -r requirements.txt
Collecting plexapi (from -r requirements.txt (line 2))
Using cached https://files.pythonhosted.org/packages/55/37/02901be36dddc72f13218e439de0a72af655b74d4dcc2fa730bc647896fe/PlexAPI-4.1.0.tar.gz
PlexAPI requires Python '>=3.5' but the running Python is 2.7.17

any fix yet for new plex agent ?

No, we have to wait for an update of the Plex API, because it cannot parse the new entries yet.
https://github.com/pkkid/python-plexapi/issues/534

Does it work for anyone yet?

Plexapi has been updated. Any chance we can take advantage of this yet? I miss my trending movies library :(

I 2nd this @PearsonFlyer

This is not yet in plexapi, waiting for this: https://github.com/pkkid/python-plexapi/issues/557

Should be a pretty easy fix. The new agent is called tv.plex.agents.movie instead of com.plexapp.agents.imdb for the legacy scanner. But there should probably be some kind of detection what kind of agent is used for the library.
I can give it a shot and submit a pull request if you want. Or maybe you prefer to implement it yourself.
For anyone looking to fix this NOW. Change in plexutils.py:
if library_type == 'movie':
            params['type'] = 'movie'
            params['agent'] = 'tv.plex.agents.movie'
            params['scanner'] = 'Plex Movie Scanner'

Be aware that this change will make legacy movie libraries stop working.

The problem with this solution is that like you said old agent match will not work, and when you switch to new agent, well if you don't do a plex dance, your movies are not rematched with the new agent i guess ? Maybe i'm wrong, but all my movies from before i switched to new agent are still matched by plexlibrary, only new ones are not.
So the best way would be to catch with agent was used to match movie, then do stuff
Thanks

Also tautulli states that : The external metadata provider IDs have been added back in PMS 1.20.1.
so maybe we just need to update bit of the code

I made the change suggested above, and it still does not work. Also, someone said that only newly-scanned movies would have the new scraper format, and that is incorrect. Once you change, your whole movie library changes to the new scraper format.

Just to give some nuance in the matter.
This is what I did;

I changed the agent to Plex Movies on my Movie library, but not my dynamic library. Executed script.

Result: script could not recognise newly added movies with metadata from new Plex Movie Agent.

I deleted all the symlink and metadata from my dynamic library to start from scratch. I changed both my Movies library and the dynamic library to the new Agent. Executed script.

Result: script could not recognise newly added movies with metadata from new Plex Movie Agent. Nothing was added to to dynamic library.

I switched both libraries back to Plex Movie (Legacy) agent. Executed script.

Result: the script works. Back to square one.
Dynamic library = libraries created by python-plexlibrary.

Yeah after hours of updating all my movie library metadata, well it's still not working, we need to check on how tautulli gets the guid from tmdb and imdb with the new scrapper and adapt :/

I've submitted a pull request (#96) that works around this issue, at least until the plexapi has been updated to support the tmdb and imdb ids and then it could be removed.

After speaking with @blacktwin. Searching with the GUID might not be possible. So https://github.com/pkkid/python-plexapi/issues/557 is not going to be a solution. It seems like the best way would be to pull the entire library once and create a reversed dictionary lookup. This pull request would need to be merged to make the reversed dictionary lookup work. https://github.com/pkkid/python-plexapi/pull/562

@samwiseg0 even with that pull request merged it would still require an api call for every single individual movie in the users libraries.
What are peoples thoughts on directly accessing the plex database for this?
It's a simple sqlite connection and a very simple query like SELECT t.tag, mdi.guid FROM metadata_items mdi  JOIN taggings tg ON tg.metadata_item_id = mdi.id JOIN tags t ON t.id = tg.tag_id AND t.tag_type = 314 WHERE mdi.metadata_type = 1 GROUP BY mdi.id, t.tag returns the following data set:
plex://movie/5d9f3c6fe4fc29001eb6f051	imdb://tt3321300
plex://movie/5d9f3c6fe4fc29001eb6f051	tmdb://292040
plex://movie/5d9f3c6fe4fc29001eb6f051	tvdb://4167
plex://movie/5d776bad7a53e9001e72cef7	imdb://tt3703908
plex://movie/5d776bad7a53e9001e72cef7	tmdb://344041
plex://movie/5d776bad7a53e9001e72cef7	tvdb://5926
plex://movie/5d776b3d96b655001fe09882	imdb://tt3733774
plex://movie/5d776b3d96b655001fe09882	tmdb://301608
plex://movie/5d776b3d96b655001fe09882	tvdb://7515
plex://movie/5d776b26f617c90020172ac6	imdb://tt3203606
plex://movie/5d776b26f617c90020172ac6	tmdb://294016
plex://movie/5d776b26f617c90020172ac6	tvdb://6213
plex://movie/5d776b11594b2b001e6ce299	imdb://tt3170902
plex://movie/5d776b11594b2b001e6ce299	tmdb://287628
plex://movie/5d776b11594b2b001e6ce299	tvdb://16888
plex://movie/5d776b50fb0d55001f563a30	imdb://tt3949660
plex://movie/5d776b50fb0d55001f563a30	tmdb://308531
plex://movie/5d776b50fb0d55001f563a30	tvdb://1308
plex://movie/5d776acdad5437001f78918f	imdb://tt3332064
plex://movie/5d776acdad5437001f78918f	tmdb://266647
plex://movie/5d776acdad5437001f78918f	tvdb://1439
I only have a little over 3000 movies in my database but the above query takes 359ms to return, I don't imagine there would be any way to make that many http requests in a similar timeframe.

Well i find this horrible, with more than 9k movies, let me tell you it will be horrible
How about forking or modifying the project to use radarr as source (as an option ?)

What are peoples thoughts on directly accessing the Plex database for this?

I am very opposed to anything that looks at the database. SQLite only allows one connection to a database so connecting to it while Plex is online is out of the question. Some other projects have done it but its a terrible idea and frankly I would never use it if the project went that route.

Well i find this horrible, with more than 9k movies, let me tell you it will be horrible
How about forking or modifying the project to use radarr as source (as an option ? because not everyone use radarr)

Not everyone would have radarr. We should figure out another way to pull this data from the plex API.

What are peoples thoughts on directly accessing the Plex database for this?

I am very opposed to anything that looks at the database. SQLite only allows one connection to a database so connecting to it while Plex is online is out of the question. Some other projects have done it but it's a terrible idea and frankly I would never use it if the project went that route.

What if a temporary copy of the database was taken to do the lookups on?
I've got it working without copying it and haven't had issues with my testing so far, but maybe taking a temporary copy of the database at initialisation would prevent any issues with Plex accessing it. My library is 3000+ movies and 26000+ tv episodes and the database is only ~300mb, copying that to a temp file wouldn't be to bad.
In saying that, SQLite does allow for multiple connections multiple connections and since we are only ever reading from the database it shouldn't be a problem?

In saying that, SQLite does allow for multiple connections and since we are only ever reading from the database it shouldn't be a problem?

This is my issue. "But only one process can be making changes to the database at any moment in time, however." What if Plex is writing to the database at the time you are trying to read it. It would be in a locked state. Again multiple things talking to a database without knowing about each other is a bad idea.

I've got it working without copying it and haven't had issues with my testing so far, but maybe taking a temporary copy of the database at initialization would prevent any issues with Plex accessing it.

I think taking a copy would be ideal. But we should be pulling it just like the admin would from Plex web. https://plex.server.com:32400/diagnostics/databases?X-Plex-Token=-XXXXXXXXXXXXXX. Not sure if this is built into plexapi.

I would also very much like to avoid directly accessing the database. If that’s the only way it would be possible I think plexapi should do that and not this project, mainly so that we don’t have to keep up with database changes...
Hopefully Plex might make this searchable in a future update?

@adamgot Guid search has been removed from plexapi and blacktwin said that it is not likely to be resolved in that project https://github.com/pkkid/python-plexapi/issues/557#issuecomment-707778230

We should be able to something like this. Again we need https://github.com/pkkid/python-plexapi/pull/562 merged.
guid_lookup = {guid: movie for movie in library.section('Movies').all() for guid in movie.guids}

guid = 'imdb://tt8695030'
movie = guid_lookup.get(guid)

@samwiseg0 this seems like the best way forward... will have to experiment with the performance. What I’m thinking is to save a cache of the entire library with all guids as lookup keys, and keep that cache updated by checking for recently added movies since last time.

We should be able to do something like this. Again, we need https://github.com/pkkid/python-plexapi/pull/562 merged.

guid_lookup = {guid: movie for movie in library.section('Movies').all() for guid in movie.guids}

guid = 'imdb://tt8695030'

movie = guid_lookup.get(guid)

Agreed, that would be ideal but unless Plex change where/when they return the extra guids,that just won't be possible.
The problem is that library.section('Movies').all() will return the results of the library/sections/{section_id}/all Plex URL which just doesn't have those extra guids available so no pull request will make that work unless Plex changes the API again

Could the "solution" above  affect someone that has 20000 movies and 200,000 episodes i a bad way?

TV isn’t affected at all, but whatever solution will be adapted I will make sure is working fine with very large libraries as well.

Thanks, that's good to know! Keep up the good work!

TV isn’t affected at all, but whatever solution will be adapted I will make sure is working fine with very large libraries as well.

It will be in the future. Rumor has it that they are working on their own for TV shows. I don't see this as an issue since we only will be pulling the master list once.
If we track changes from recently added then this is a non issue. The first run will take longer but frankly this is not a time sensitive application so I don't see why it would matter if it took 10 seconds or 10 minuets to complete.

Does the recently added endpoint return items that have been modified or only newly added stuff? the cache wont be able to track someone fixing mismatched movies or changing the agent for an entire library if its is only returning new stuff

It pulls what has been recently added. If someone fix matches something that is not in recently added then no, it wont be included.
We could put a flag to track changes only or do the entire lib when pulling. Even with 20000 items pulling the whole thing should not be too bad. I think we would have to pull it in 9999 increments anyway. So that is 3 calls.

Agreed, that would be ideal but unless Plex change where/when they return the extra guids,that just won't be possible.
The problem is that library.section('Movies').all() will return the results of the library/sections/{section_id}/all Plex URL which just doesn't have those extra guids available so no pull request will make that work unless Plex changes the API again

No, you're wrong. You're confusing the Plex API /library/sections/<sectionID>/all with the plexapi method library.LibrarySection.all().
>>> from plexapi.server import PlexServer
>>> plex = PlexServer("http://localhost:32400", token="xxxxxxxxxx")
>>> library = plex.library.section("Movies (preview)")
>>> guid_lookup = {guid.id: movie for movie in library.all() for guid in movie.guids}
>>> guid_lookup['imdb://tt0470752']
<Movie:245:Ex-Machina>

@JonnyWong16
You're right I was completely mixing them up, what is the performance like for your "Movies (preview) " library and how many items are in it?
I've just done a test with a small library of only 269 movies and it took ~33 seconds to load, that's around 8 items loaded per second for me.
Definitely think a cache is going to be important if this method is used.

@morganzero how big is your database file with that many entries?
I'm curious if that many entries would make it large enough to be problematic for the copying of the database method because I have that working and it's super quick

@josh-gaby my com.plexapp.plugins.library.db is 1.10GB

Indeed it would seem that reversed dictionary cache and UpdateAt methods are the way to go, downloading the DB all the time and doing queries in it is fine but not that great.
Even if the 1st time take hours, then the other task would just take a few minutes at most to add new movies from the recently added items. Also it allows you to not have to maintain a SQL query somewhere, and wonder at each update of plex if the db has been changed and breaks the query.

https://github.com/mza921/Plex-Auto-Collections
this got fix with new plex agent , are you planning to update ?

Does Tautulli API contain enough information to be able to replace using the Plex API to determine if an item exists in the library?

Just following up on this. I appears that PlexApi is not going to handle this. Does this mean PlexLibrary is dead for anything movie-related?  I'm getting an error now on my trending movies run. Just wondering if I need to just delete my Trending Movies library from Plex and forget about it.
AttributeError: 'MovieSection' object has no attribute 'ALLOWED_FILTERS'

@PearsonFlyer It's working like a charm for me as I'm still using the Legacy Agent. Not switching to new one unless this gets fixed or someone creates another way to enjoy both plexlibraries and the new Plex Agent.

@morganzero Of course it's working for legacy. This entire issue is related to the new movie agent. It doesn't apply to people using legacy.

well the version in PR done by @josh-gaby works fine for me using the DB
i've done the explanation steps for docker and such in the PR if you wanna try it.
seems like the way to go for now unfortunately, because using tautulli, radarr or else is not something viable (some people don't use those tools)

Hey @xfouloux and @josh-gaby, how can I find the new Plex Agent guid and relate it to a imdb id? I am looking for inside the XML file, {baseurl}:{port}/libraries/sections/{key}/all/?X-Plex-Token={token}. If this is through another way other than XML, can you please give me some guide?

@danz1995 which direction are you trying to go? are you wanting to use a Plex Agent guid to look up the IMDb id or are you trying to go the other direction?

@josh-gaby I am able to obtain plex agent guid through XML, so, ideally, use that to loop up for the IMDb id of my library.

@danz1995 the results from the "/library/sections/{key}/all" query will contain a key for each item like "/library/metadata/{db_id}", if you make a request to that URL you will be able to find the imdb/tmdb/tvdb ids in the data returned.
You will need to make a request for each media item you are trying to find the IMDb id for.
This will only work if the library being checked has had its metadata refreshed using Plex Media Server version <IP_ADDRESS>13 or newer.

@josh-gaby I'll try this as soon as I stop working. Thanks!

@josh-gaby just wanted to come back and thank you, your suggestion worked like a charm!

New python-plexapi is out, it seems to support the new Plex Movie Agent:
https://github.com/pkkid/python-plexapi/releases
Does this change anything in regards to this issue?

Hi everyone, had too much coffee today so I finally managed to convince myself to do this. (Boy is that some stale spaghetti code, eh?).
There's a branch plex-movie-agent in this repo which uses the suggested solution of building an in memory map of all the ids. It seems to work fine, but writing tests still feels to much like my day job for the amount of coffee I've had. So please give it a try and get back to me about any issues.
https://github.com/adamgot/python-plexlibrary/pull/103


aligned-cards

Description
Horizontally aligned cards in doctor experience.html
Issue: #1010
Type of PR

[ ] Bug fix
[X ] Feature enhancement
[ ] Documentation update
[ ] Other (specify): _______________

Screenshots / videos (if applicable)

Checklist

[X ] I have gone through the contributing guide
[ X] I have updated my branch and synced it with project main branch before making this PR
[ X] I have performed a self-review of my code
[ X] I have tested the changes thoroughly before submitting this pull request.
[ X] I have provided relevant issue numbers, screenshots, and videos after making the changes.

@varshith257


MC fails to run from command line?

MC seems to fail to run from command line? Something to do with the way args are passed?

@malcolm-dsider you can try pulling the branch in https://github.com/softwareengineerprogrammer/GEOPHIRES-X/pull/18 (I'll file a PR to merge into main repo later today)

@malcolm-dsider Added you as reviewer to https://github.com/NREL/GEOPHIRES-X/pull/154 which may address issues you are encountering


ImageTile subclassing error in dev version

Describe the bug
Error in CodeSandbox if application attempts to subclass ImageTile in latest dev versions.
To Reproduce
Simple example which demonstrates subclassing ImageTile https://codesandbox.io/s/simple-forked-ijj5xm?file=/main.js works up to 7.0.0-dev.1659038103619 but produces error if a later version is used.  However the Zoomify example which internally uses a subclass continues to work https://codesandbox.io/s/zoomify-forked-8jeghl
Also tried with both Tile and WebGL tile layers and reprojection.  release is not logged with WebGL tile layer (separate issue perhaps).
Expected behavior
Simple subclassing should work..

The timestamp fits this merge commit https://github.com/openlayers/openlayers/commit/3c5403259acf5fe6491c25a4333378b0d43cf11e

That is the last working version, the first version to break it is 7.0.0-dev.1659039074785 which would be the merging of #13891

@mike-000 - What is the error you are seeing and in what browser?
Your sandbox example works for me in Chrome 103.

When I change it to a later version (e.g. https://codesandbox.io/s/simple-forked-js8oy3) I get Class constructor ImageTile cannot be invoked without 'new' in Chrome.

The problem is occurring in code that codesandbox is transpiling.  Your custom tile class looks like this:

var CustomTile = function (_ImageTile) {
  (0, _inherits3.default)(CustomTile, _ImageTile);

  function CustomTile() {
    (0, _classCallCheck3.default)(this, CustomTile);
    return (0, _possibleConstructorReturn3.default)(this, (CustomTile.__proto__ || Object.getPrototypeOf(CustomTile)).apply(this, arguments));
  }

  (0, _createClass3.default)(CustomTile, [{
    key: "getImage",
    value: function getImage() {
      console.log("getImage");
      return (0, _get3.default)(CustomTile.prototype.__proto__ || Object.getPrototypeOf(CustomTile.prototype), "getImage", this).call(this);
    }
  }, {
    key: "release",
    value: function release() {
      console.log("release");
      return (0, _get3.default)(CustomTile.prototype.__proto__ || Object.getPrototypeOf(CustomTile.prototype), "release", this).call(this);
    }
  }]);
  return CustomTile;
}(_ImageTile3.default);

And it looks like the problem is in this apply call: Object.getPrototypeOf(CustomTile)).apply(this, arguments));

Here is a working version of your sandbox using Parcel: https://codesandbox.io/s/admiring-wright-ngj7bs?file=/main.js
So maybe a vite.config.js issue.

And here is a working version using VIte: https://codesandbox.io/s/winter-rain-uby4k8?file=/package.json
I added @babel/core as a dev dependency.  May be another way to do it by disabling transpilation.


Grid not working on macOS

Some elements are missing
examples/grid.js (0_1_0)
var grid = new libui.UiGrid();
grid.padded = true;
grid.append(new libui.UiLabel('name'), 0, 0, 2, 1, 0, 0, 0, 1);
grid.append(new libui.UiLabel('surname'), 0, 1, 2, 1, 0, 0, 0, 1);
grid.append(new libui.UiLabel('age'), 0, 2, 2, 1, 0, 0, 0, 1);

grid.append(name, 2, 0, 2, 1, 0, 0, 0, 1);
grid.append(surname, 2, 1, 2, 1, 0, 0, 0, 1);
grid.append(age, 2, 2, 2, 1, 0, 0, 0, 1);

grid.append(JSONData, 4, 0, 1, 3, 1, 0, 1, 0);

Corresponding issue: https://github.com/kusti8/proton-native/issues/55

Grid does work on macOS; it's just insanely buggy because either Auto Layout is hard or my attempt at making a grid with it is poor (probably the latter), so it only works under specific circumstances... This is an active problem. What should that example look like?

Shows a completely empty window on Win10.
Linux (everything uncommented):

I should update the age too 😌

Also: some enums aren't exposed
_UI_ENUM(uiAlign) {
	uiAlignFill,
	uiAlignStart,
	uiAlignCenter,
	uiAlignEnd,
};

_UI_ENUM(uiAt) {
	uiAtLeading,
	uiAtTop,
	uiAtTrailing,
	uiAtBottom,
};

On a side note - is halign and valign working? Some examples may be helpful. Right now I can not achieve any change in regards to horizontal or vertical alignment, but this may be due to me improperly using it. The more examples the better IMO. From the example here, by the way, I realized that I may want to pad grid too. ;)

Screenshots are great too because we get visual impressions, even if there are bugs. I don't know how my libui-specific code looks on macOS otherwise, for instance.


Increase default server tiemout

Hi,
Last merges, which tests passed (both in local and in CI separately), makes the tests fail in master. This PR is to investigate and to fix this.
Best
Signed-off-by: Francisco Martín Rico<EMAIL_ADDRESS>

I believe it's due to the race condition I have been speculating about in my other PR.  I think what is happening is that the ROS action server is sending a goal result without ever sending feedback, which is causing the test to fail

add a delay in the test server to allow time for the feedback to send before it returns success.  I can't work on a fix at this moment, but should be able to knock something out tonight

Tests in PR works, but not in master... :thinking:

The line you changed increased the amount of time the node will wait for an action server to be available, which does not add any delay.  I may have a fix but will need to create a PR to see if it passes CI


Missing 'version' file

I try to run an "update golden file" tool and get the error:
> dart pkg/dev_compiler/tool/check_nnbd_sdk.dart  --update-golden

Command line: /usr/local/google/home/lrn/dart/co/sdk> dart pkg/dev_compiler/tool/check_nnbd_sdk.dart --update-golden
Generating a patched sdk at /tmp/check_sdk-NNWVTI/
Unhandled exception:
FileSystemException: Cannot open file, path = 'xxxx/sdk/out/version' (OS Error: No such file or directory, errno = 2)
#0      _File.throwIfError (dart:io/file_impl.dart:635:7)
#1      _File.openSync (dart:io/file_impl.dart:479:5)
#2      _File.readAsBytesSync (dart:io/file_impl.dart:539:18)
#3      _File.readAsStringSync (dart:io/file_impl.dart:584:18)
#4      main (file:///usr/local/google/home/lrn/dart/co/sdk/pkg/dev_compiler/tool/patch_sdk.dart:54:53)
#5      main (file:///usr/local/google/home/lrn/dart/co/sdk/pkg/dev_compiler/tool/check_nnbd_sdk.dart:44:3)
#6      _delayEntrypointInvocation.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:281:32)
#7      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:184:12)

This is after running gclient sync, rm -rf out and tools/build.py -mrelease all. If that's not enough, the error message needs to display the extra necessary steps too.
(Also, when running pkg/dev_compiler/test/nullable_inference_test, I get:
  FileSystemException: Cannot open file, path = 'xxxx/sdk/out/lib/_internal/ddc_sdk.dill' (OS Error: No such file or directory, errno = 2)

Do not know if that's related, or something else that needs to be done before being able to run tests.)

Also, could you please make the golden file not require line numbers to be matching.
Basically any change made to the platform libraries invalidates one or more "golden" files. The change was not a bug, and yet tests are failing. That means that the tests are overly fragile and should be fixed.

I'm not sure what the all build target is configured to build, but I guess it's not everything. I'll investigate a little to see if we can reduce the friction here.
I think the ideal scenario would be that we reduce the number of known errors to zero and then every diff found will be useful.
@sigmundch and I discussed and we think the best course of action in the short term would be to fix a few of these errors and then white list the remaining error messages so you are not always triggering the diff with just line number changes.

I'm not sure what the all build target is configured to build, but I guess it's not everything. I'll investigate a little to see if we can reduce the friction here.

FWIW, the bots normally rely on building create_sdk and then invoking the script with the built SDK in out/ReleaseX64/dart-sdk/bin/dart (see test_matrix step). If I run the script with a VM from a pre-installed SDK I also see the error about the version file missing.

quick update that CL https://dart-review.googlesource.com/c/sdk/+/178400 will remove line numbers for now

quick update that CL https://dart-review.googlesource.com/c/sdk/+/178400 will remove line numbers for now

And now that we reduced the remaining sdk failures to the point that this test is no longer providing much value, we went ahead and complete deleted it in 06a4b109bce970fbd98bf72774a8787124900dee.


Removed Sandbox files, added Demo files

These are the updated postman collection files to be used for the Sqills demo environment

Updated Postman collection for the Sqills OSDM 2.0.3 Demo environment


Invalidate expired PGP keys

When someone's PGP key expires, Keybase should automatically invalidate it.
Right now, there are hundreds of people with expired keys still listed as "proof" in their profiles.

@maxtaco


Added usersFollowedBy' and usersFollowing' which let you pass authent…

…ication as well as the users name.
Identical to the usersFollowedBy and usersFollowing functions that are already written, these new functions let you pass authentication as well.

I removed ... -> IO (Either Error a) precomposed functions in github-0.24
Use github auth usersFollowedBy "handle".


[Resprite] Make Speech Bubbles 32px

need to test this ingame

Didn't mean to approve that one :P
Should probably be a draft if it hasn't been tested yet.

Didn't mean to approve that one :P
Should probably be a draft if it hasn't been tested yet.

I forgot to remove the message in the PR description, I did test it and fix everything, there was a do not merge tag.


onSocialTextChanged is not working on OnePlus phones

Hashtags not getting autoCompleted  on onePlus phones.
Control doesnt go to onSocialTextChanged method when we change a text in  SocialAutoCompleteTextView.

Sorry to hear but probably you posted this issue to the wrong library.

I have the same problem.
I sent the screenshot video to your email address.


CLI flag "-q" suppressing command's output

It makes sense to have independent CLI flags for suppressing:

fsex own diagnostics: -q
command's STDOUT: -O
command's STDERR: -E


Deleted

Deleted

You can share the logs for that URL and more information?

2021-10-21 22:11:57,708-DEBUG-Worker_1-[debug] System config: []
2021-10-21 22:11:57,708-DEBUG-Worker_1-[debug] User config: []
2021-10-21 22:11:57,708-DEBUG-Worker_1-[debug] Custom config: []
2021-10-21 22:11:57,708-DEBUG-Worker_1-[debug] Command-line args: ['--newline', '-i', '-o', 'C:\\youtubeDL Downloads\\%(title)s.%(ext)s', '-x', '--audio-format', 'mp3', '--audio-quality', '0', '-v', '--ignore-config', '--hls-prefer-native', '--embed-thumbnail', '--add-metadata', 'https://www.youtube.com/watch?v=CH50zuS8DD0']
2021-10-21 22:11:57,708-DEBUG-Worker_1-[debug] Encodings: locale cp1252, fs mbcs, out cp1252, pref cp1252
2021-10-21 22:11:57,708-DEBUG-Worker_1-[debug] youtube-dl version 2021.06.06
2021-10-21 22:11:57,708-DEBUG-Worker_1-[debug] Python version 3.4.4 (CPython) - Windows-7-6.1.7601-SP1
2021-10-21 22:11:57,708-DEBUG-Worker_1-[debug] exe versions: ffmpeg 2021-06-09-git-e01bf559df-full_build-www.gyan.dev, ffprobe 2021-06-09-git-e01bf559df-full_build-www.gyan.dev
2021-10-21 22:11:57,708-DEBUG-Worker_1-[debug] Proxy map: {}

I can see you using youtube-dl like backend CLI. You can check and try download the mp3 using yt-dlp like backend. yt-dlp is more up to date and fix more workarounds.

@oleksis I'm a noob, how would i do this with GUI?

I can see you using youtube-dl like backend CLI. You can check and try download the mp3 using yt-dlp like backend. yt-dlp is more up to date and fix more workarounds.

yt-dlp seems to be the default CLI backend for yt-dlg now. Is this correct?

Is Correct, When you have a fresh/new install. Always check the Setting -> Options -> Extra tab CLI Backend


TypeError: init() got an unexpected keyword argument 'mode'

Try to run the script but failed. Any pointer?
Using Theano backend.
Traceback (most recent call last):
  File "generator.py", line 193, in <module>
    main(sys.argv)
  File "generator.py", line 188, in main
    generate(data_fn, out_fn, N_epochs)
  File "generator.py", line 107, in generate
    chords, abstract_grammars = get_musical_data(data_fn)
  File "/Users/grant/project/deepjazz/preprocess.py", line 130, in get_musical_data
    measures, chords = __parse_midi(data_fn)
  File "/Users/grant/project/deepjazz/preprocess.py", line 37, in __parse_midi
    melody_voice.insert(0, key.KeySignature(sharps=1, mode='major'))
TypeError: __init__() got an unexpected keyword argument 'mode'

It appears that there's been an API change for the music21 library.

How to fix this?

@jisungk Which version of music21 works with deepjazz?


Default value of deep parameter should be false (Fixes #1189)

According to MDN, the default value for the deep parameter was true in Firefox up to v29.
https://developer.mozilla.org/en/docs/Web/API/Node/cloneNode
Fixes #1189

The deep parameter is mandatory in UC Mini. I have pushed a new commit with a try/catch statement to prevent it from failing on UC Mini.

@JoyceBabu Could you post a screenshot of this working on UC Browser at all?

@JoyceBabu Could you post a screenshot of this working on UC Browser at all?

@JakeChampion I would like to clarify that UC Mini does not allow overriding the Element.prototype.cloneNode function. The deep parameter is still required. The above pull request ensures that the detection code does not throw an error preventing other polyfills from loading.
I have uploaded two test pages with the current and new polyfills
http://www.joycebabu.com/test/uc-clonenode-test/current.htm
http://www.joycebabu.com/test/uc-clonenode-test/new.htm
Both the scripts have the following code at the end of the polyfill script
document.getElementById('parent').innerHTML = 'Replaced text';

The text gets replaced when using the updated polyfill, but not with the original polyfill (with deep parameter fix).


Support reading primary keys create with Realm Java <= 0.84.1

Which used a different name for the primary key table: class_pk rather than pk.

Thank you for creating this issue.
One point to make sure that the problem is not a table name but the values in pk_table column which wrongly has the prefix class_.

This is increasingly less of an issue as time goes on. I'm closing this so we can focus on higher priority tasks.


Automated Binary CI

As recommended by Benjamin VanRyseghem, it would be valuable to have an automated solution and a standardized build process for the LT binary. Transparent and repeatable builds are always a good thing, and bonus points if we can work some functional smoke tests in.

Closing as building LT is just running one command nowadays and functional testing will be covered by #1647


rounded corners for grid path type

Dear Anseki,
First of all, thank you so much for this library. Working with it, is a breeze and the possibilities are endless! So thanks!
I had a question regarding the grid style path type for the leader-lines. I was wondering if it was possible to make the corners of the grid-type more rounded, instead of straight 90degree angles.
Do you know if this is possible?

Thanks a lot for your reply @anseki.
However, the implementation looks for too complicated and exceed my knowledge for the added benefit (namely visual).
I was hoping that it might have been possible by passing a different linestyle parameter (like: fluid-grid for example)
Would it be hard to implement this in the original leader-line library?

If the radius is a half of width of the line, you can do that easily.
https://github.com/anseki/leader-line/issues/28#issuecomment-425181063

No reply came, then this abandoned issue is closed.


Handling of #

Describe the bug
Authotkey interprets # as winkey therefore it cannot be used in the expanded text.

Thank you.  It seems to be working correctly for me in versions 1.8.2 and 1.8.3.  Have you tested this in the latest version? If so, can you give me an example of the chord and expanded text?

If you are still experiencing this issue, please let me know. Otherwise, I'm assuming this is working in both 1.9 and the 2.0 release candidate.

Duplicate of #27


Add Listing DELETED to Activity Log and Listing Modal

This issue is for the front-end changes require for https://github.com/ozone-development/ozp-backend/issues/48

Displays as deleted in Listing Management | All Center Listings | List View
Displays as deleted in Listing Management | My Listings  Drill into pop up modal | Admin tab

Passed on staging.  When an app is deleted it is logged in the Recent Activity with username and on All Center Listings and My Listings as deleted.


Wrap libzfs bindings.

Fixes #3
Make the libzfs bindings rusty.
This involves wrapping the unsafe code in safe structs.
It also involves updating the existing rust nvpair lib (and an external PR). to get values for missing nvpair data.

Can one of the admins verify this patch?


Disable ssl test for staging server if current classpath contains the jetty shaded classes

What changes were proposed in this pull request?
The ResourceStagingServerSuite.Enable SSL on the server will will run only if the current classpath does not contain the shaded jetty classes.
If you rely on the spark-core.jar in your classpath, this test will not run.
If you rely on the spark-core module (without shading), this test will be run.
This is to address issues discussed in #463.
To allow test with spark-core.jar, we also add the jetty deps in the kubernetes/core pom (see also #570).
How was this patch tested?
Run maven test phase from the local spark/core module or from the top of the spark maven hierarchy.

retest this please


Add appium collection condition and appium condition classes

Proposed changes
Fix for https://github.com/selenide/selenide-appium/issues/105
Checklist

[x] Checkstyle and unit tests are passed locally with my changes by running gradlew check command
[x] I have added tests that prove my fix is effective or that my feature works
[x] I have added necessary documentation (if appropriate)

@asolntsev @BorisOsipov - Please review

#105 (comment)

yes @asolntsev - Text is an attribute in appium and yes if we can fetch attributes dynamically that's what we need

@amuthansakthivel But do I correctly understand that we still need to get different Text attributes in iOS and Android?

@amuthansakthivel Same question as in https://github.com/selenide/selenide-appium/pull/151#issuecomment-1554070765 :
Can't we make this api more generic?
I mean, this line is hard to read:
$(mobileElement)
      .shouldHave(AppiumCondition.attributeWithValue("content-desc", "name", "expected-value"));

The reader doesn't know which one is for Android and which one is for iOS.
What happens in a 3rd mobile OS will appear next year?

Maybe some builder for attributes like this?
$(mobileElement)
      .shouldHave(AppiumCondition.attributeWithValue(MobileAttributes.android("content-desc").ios("name"), "expected-value"));

@amuthansakthivel Same question as in #151 (comment) :
Can't we make this api more generic?
I mean, this line is hard to read:
$(mobileElement)
      .shouldHave(AppiumCondition.attributeWithValue("content-desc", "name", "expected-value"));

The reader doesn't know which one is for Android and which one is for iOS.
What happens in a 3rd mobile OS will appear next year?

Maybe some builder for attributes like this?
$(mobileElement)
      .shouldHave(AppiumCondition.attributeWithValue(MobileAttributes.android("content-desc").ios("name"), "expected-value"));

This looks good to me. But I need sometime to work on this @asolntsev - Little busy with personal side of things


Default to local indexer for local dev

Describe your changes

Local dev now starts an indexer.

Issue ticket number and link
Checklist before requesting a review

[x] I have performed a self-review of my code
[x] I have run tier2 test locally, and it passes

question(non-blocking): @n1tranquilla, with #1009, does this need anything additional?

Yes it does


received full chunk ERROR

from time to time I get such errors:
[21:22:18] [main/ERROR]: [Portal] received full chunk while chunk is present. entity may duplicate minecraft:overworld [-24, 34]
[21:22:18] [main/ERROR]: [Portal] received full chunk while chunk is present. entity may duplicate minecraft:overworld [-23, 34]
[21:22:18] [main/ERROR]: [Portal] received full chunk while chunk is present. entity may duplicate minecraft:overworld [-22, 34]
[21:22:18] [main/ERROR]: [Portal] received full chunk while chunk is present. entity may duplicate minecraft:overworld [-21, 34]
[21:22:18] [main/ERROR]: [Portal] received full chunk while chunk is present. entity may duplicate minecraft:overworld [-20, 34]
[21:22:18] [main/ERROR]: [Portal] received full chunk while chunk is present. entity may duplicate minecraft:overworld [-19, 34]
[21:22:18] [main/ERROR]: [Portal] received full chunk while chunk is present. entity may duplicate minecraft:overworld [-18, 34]
[21:22:18] [main/ERROR]: [Portal] received full chunk while chunk is present. entity may duplicate minecraft:overworld [-17, 34]
[21:22:18] [main/ERROR]: [Portal] received full chunk while chunk is present. entity may duplicate minecraft:overworld [-16, 34]
[21:22:18] [main/ERROR]: [Portal] received full chunk while chunk is present. entity may duplicate minecraft:overworld [-15, 34]
[21:22:18] [main/ERROR]: [Portal] received full chunk while chunk is present. entity may duplicate minecraft:overworld [-14, 34]
[21:22:18] [main/ERROR]: [Portal] received full chunk while chunk is present. entity may duplicate minecraft:overworld [-13, 34]
[21:22:18] [main/ERROR]: [Portal] received full chunk while chunk is present. entity may duplicate minecraft:overworld [-12, 34]
[21:22:18] [main/ERROR]: [Portal] received full chunk while chunk is present. entity may duplicate minecraft:overworld [-11, 34]
[21:22:18] [main/ERROR]: [Portal] received full chunk while chunk is present. entity may duplicate minecraft:overworld [-10, 34]
[21:22:18] [main/ERROR]: [Portal] received full chunk while chunk is present. entity may duplicate minecraft:overworld [-9, 34]
[21:22:18] [main/ERROR]: [Portal] received full chunk while chunk is present. entity may duplicate minecraft:overworld [-8, 34]
[21:22:18] [main/ERROR]: [Portal] received full chunk while chunk is present. entity may duplicate minecraft:overworld [-7, 34]
[21:22:18] [main/ERROR]: [Portal] received full chunk while chunk is present. entity may duplicate minecraft:overworld [-6, 34]
[21:22:18] [main/ERROR]: [Portal] received full chunk while chunk is present. entity may duplicate minecraft:overworld [-5, 34]
[21:22:18] [main/ERROR]: [Portal] received full chunk while chunk is present. entity may duplicate minecraft:overworld [-4, 34]
[21:22:18] [main/ERROR]: [Portal] received full chunk while chunk is present. entity may duplicate minecraft:overworld [-3, 34]
[21:22:18] [main/ERROR]: [Portal] received full chunk while chunk is present. entity may duplicate minecraft:overworld [-2, 34]
[21:22:18] [main/ERROR]: [Portal] received full chunk while chunk is present. entity may duplicate minecraft:overworld [-1, 34]
[21:22:18] [main/ERROR]: [Portal] received full chunk while chunk is present. entity may duplicate minecraft:overworld [0, 34]
[21:22:18] [main/ERROR]: [Portal] received full chunk while chunk is present. entity may duplicate minecraft:overworld [1, 34]
[21:22:18] [main/ERROR]: [Portal] received full chunk while chunk is present. entity may duplicate minecraft:overworld [2, 34]
[21:22:18] [main/ERROR]: [Portal] received full chunk while chunk is present. entity may duplicate minecraft:overworld [3, 34]
[21:22:18] [main/ERROR]: [Portal] received full chunk while chunk is present. entity may duplicate minecraft:overworld [4, 34]

Don't mind it

Why don't fix it? It's an error nevertheless. Otherwise change it to warn or disable the output directly, if it is not meant to be interpreted as an error. -> Helps focusing on the errors that should be reported.


fix: update guzzle version to 2.x.x

This is just a reminder PR to myself to fix the dependency in our app once this is fixed in the main repo.

Oops, this want meant to be into my fork :see_no_evil:
Sorry.