[feature] Improve ux of re-generating pairing when returning back to web3modal

What problem does this new feature solve?
At the moment, we have to re-generate pairing when returning to web3modal from a native app. There is 500ms delay here before that happens. Sometimes, however, this delay is not enough for web3modal to receive possible ACK from a session settlement. We'll likely need to increase this delay, but this creates more room for user to start interacting with web3modal i.e. retry button and re-using old session pairing which was already consumed.
Describe the solution you'd like
Increase delay, but also ensure ui components like retry button are temporarily disabled until new pairing is generated. This should give web3modal more breathing room to receive ACK messages.

The issues seems serious. It's often about 1 - 5 seconds delay between getting back to app and web3modal being closed and connection is established. There is no feedback on UI at all that sth is actually happening and the modal looks exactly the same as before accepting connection in wallet app, so there is pretty big chance that user will interact with modal again, by e.g. pressing "retry".
Is it possible to detect this state after accepting the connection in wallet app and show better feedback in web3modal or/and disable retry button?

@emzet93 working on this for upcoming major release, this stuff is a bit tricky, the 5s delay happens when iOS drops websocket connection in safari (because page starts being released from memory). This happens when users spend more time in the native wallet app.
Only way to update ui with new feedback when user gets back is to use focus change listeners on window / tab of the tab and applying it based on some other pre-conditions. Think we'll have good solution for this soon.

@0xAsimetriq thanks for such fast reply! And it makes sense, yeah - I noticed the issue only on iOS safari or when I install it as PWA on iOS. Works instant on iOS chrome indeed.

Implemented along other improvements for this scenarion in v3 / alpha


Fixes editor crash on closing

Fixes editor crash when the gizmo is destroyed and the SceneTree is already freed.

Thanks!

Cherry-picked for 3.3.


[Fix][TVMScript] Print truncdiv for int div

This PR fixes the output for T.Div(int, int). It will print T.truncdiv(int, int), instead of int / int, to avoid the integer division ambiguity in parser.

Perhaps we could close this PR and rebase to upstream once it's merged? https://github.com/apache/tvm/pull/14200

@junrushao Yes, this PR will be closed.


No idea how to call with an SPN access token

Microsoft products are inconsistent and cannot be used in a similar way and on top of that Microsoft just miss documentation. It is just a frustrating experience going down this rabbit hole of ...
For speech they say:
authorizationToken = "aad#" + resourceId + "#" + aadToken.token speechConfig = SpeechConfig(auth_token=authorizationToken, region=region)
And now, I do not use that for openai, where I pass it directly
client = AzureOpenAI(     api_key=api_key,
If I try either for TextAnalytics it does not work. Now I want to find if the scope is correct :
 "https://cognitiveservices.azure.com/.default"
Nowhere in the Microsoft documentation I can find which scope to use where. Now if I want to see the permissions assigned to an SPN there is nothing shown in "Entra Id". Funny way to find the permission is to go to the managed identity, and from there go down that rabbit hole to the service and then see that it is assigned.
I just cannot believe how bad this whole experience is. Ohh yeah, lots of frustration. It is a frustrating experience !!!!

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

ID: 6670a3a1-e0d4-1361-1f0c-9e91fe7aa8ee
Version Independent ID: 5c477005-d932-249a-c28e-c293c1b26fd5
Content: Quickstart: Use the Language Detection client library - Azure AI services
Content Source: articles/ai-services/language-service/language-detection/quickstart.md
Service: azure-ai-language
GitHub Login: @jboback
Microsoft Alias: jboback

@sijucm
Thanks for your feedback! We will investigate and update as appropriate.

@sijucm
I've delegated this to @jboback, a content author, to review and share their valuable insights.

Thanks for your dedication to our documentation. Unfortunately, at this time we have been unable to review your issue in a timely manner and we sincerely apologize for the delayed response. The requested updates have not been made since the creation of this issue, and the timeline for resolution may vary based on resourcing, so we've created an internal work item to incorporate your suggestions. We are closing this issue for now, but feel free to comment here as necessary. #please-close


Resize text in multiline TextInput if text is set programmatically

Setting the value (or children) in a multiline TextInput won't cause the text to wrap.  The issue is first documented in https://github.com/facebook/react-native/issues/5786)
Test plan:
Created multiline text input, along with button which sets the text input child to a long Text string.  Saw the text wrap.

By analyzing the blame information on this pull request, we identified @nicklockwood and @bnham to be potential reviewers.

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla - and if you have received this in error or have any questions, please drop us a line at<EMAIL_ADDRESS>Thanks!

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!

It's been a while since the last commit was reviewed and the labels show this pull request needs review. Based on the blame information for the files in this pull request we identified @nicklockwood as a potential reviewer. Could you take a look please or cc someone with more context?

Hi there! This issue is being closed because it has been inactive for a while.
But don't worry, it will live on with ProductPains! Check out its new home: https://productpains.com/post/react-native/resize-text-in-multiline-textinput-if-text-is-set-programmatically
Product Pains has been very useful in highlighting the top bugs and feature requests:
https://productpains.com/product/react-native?tab=top
Also, if this issue is a bug, please consider sending a pull request with a fix.

This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its
recipients. This is a temporary error. The following address(es) deferred:
<EMAIL_ADDRESS>Domain thumbmunkeys.com has exceeded the max emails per hour (72/60 (120%)) allowed.  Message will be reattempted later
------- This is a copy of the message, including all the headers. ------
Received: from filter01.reliabledns.org ([<IP_ADDRESS>]:50987)
by en02-ams.stablehost.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256)
(Exim 4.87)
(envelope-from<EMAIL_ADDRESS>id 1bzsf7-004Lpl-Uf
for<EMAIL_ADDRESS>Thu, 27 Oct 2016 21:56:39 +0000
Received: from github-smtp2-ext8.iad.github.net ([<IP_ADDRESS>] helo=github-smtp2a-ext-cp1-prd.iad.github.net)
by filter01.reliabledns.org with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256)
(Exim 4.86)
(envelope-from<EMAIL_ADDRESS>id 1bzsf6-0001F2-2u
for<EMAIL_ADDRESS>Thu, 27 Oct 2016 14:56:37 -0700
Date: Thu, 27 Oct 2016 14:55:31 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com;
s=pf2014; t=1477605395;
bh=525mFUi243QehAL9pZpL0rJAcOveshfGi0YSxXBVaME=;
h=From:Reply-To:To:In-Reply-To:References:Subject:List-ID:
List-Archive:List-Post:List-Unsubscribe:From;
b=nxXMc62DOjNSTWiKR80my6RutyUnXtxSFxBWLC02JzNVHhq55rEEHmfBQGQvytNx2
BrYaNvRFdsrpJHn3odJUOBxmYl2gy3++fnUvOdCUEMZQou79meUgRb5deI0tHkiyDP
yIEEuDiQOBxCRyGDTXqlY670J6BgDC38sZUTfJ0g=
From: Martin Konicek<EMAIL_ADDRESS>Reply-To: facebook/react-native<EMAIL_ADDRESS>To: facebook/react-native<EMAIL_ADDRESS>Message-ID<EMAIL_ADDRESS>In-Reply-To<EMAIL_ADDRESS>References<EMAIL_ADDRESS>Subject: Re: [facebook/react-native] Resize text in multiline TextInput if
text is set programmatically (#7543)
Mime-Version: 1.0
Content-Type: multipart/alternative;
boundary="--==_mimepart_581277d318bc0_63f03fee91a1529c535654";
charset=UTF-8
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: mkonicek
X-GitHub-Recipient: bunnyboy1
List-ID: facebook/react-native <react-native.facebook.github.com>
List-Archive: https://github.com/facebook/react-native
List-Post<EMAIL_ADDRESS>List-Unsubscribe<EMAIL_ADDRESS>https://github.com/notifications/unsubscribe/ARoNgxRM6l9yMSP_JXk7qm5TpV7xp3skks5q4R3TgaJpZM4IdjqU
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address<EMAIL_ADDRESS>Received-SPF: pass (filter01.reliabledns.org: domain of github.com designates <IP_ADDRESS> as permitted sender) client-ip=<IP_ADDRESS><EMAIL_ADDRESS>helo=github-smtp2a-ext-cp1-prd.iad.github.net;
X-SPF-Result: filter01.reliabledns.org: domain of github.com designates <IP_ADDRESS> as permitted sender
Authentication-Results: filter01.reliabledns.org; dmarc=pass header.from=github.com
X-Filter-ID: s0sct1PQhAABKnZB5plbIamwIYzgudGL4tMY9zS3pea7KY6rzXjgC+rgKYUjsj8D0JuF70A4EJMc
Wn6O/bsgoWSYW6KbZfj8apx6ohl75uX35Caz8bqM3i8tzwcg+lnkZzoX7PhhDs80mBQKIGWwu/FR
0SBc4dtL11Pirbc5zq5wJVSL6KLw+g28lkb31HyS94pE1Cssu3RLQ0/o4r6NbA8zp1yYIFRkRN8y
Bn+CxV2V1shS0CwPUshzOYg9kZiFecKAgImqueSr2jXL0NuTo5z3A1ed2ITkOuMtrwds5D4GP7gg
dyYGsTJWPPpT2s69Jq/4FZbX1lzD9O+fyiIjB8wTNR/tjjZvmBdM/4lPZO2sASVdHfbtk3LlI8pB
wr4jGeKz8vlEl/GSEiCnxc6Ard0BaVp3jhK5GOBJIv+LCtD+V9//iYPXcUPDr8DL9oJhN0JkcMmQ
sV7j9toT40ga/GYzx2Zgyhf3OXiddZgacWc1/+H6OHgtV1bmxcq0CB3pmrFpDzdgJQc/rZDiOC7K
RpZxGk3X7U/CrpemaTYEqjR6fyHrrsngmi97syQy+4L3p7+eg7tptOUU98CNo4IBbK0jiD6XqsJZ
tjQxlyCdsezJow6Hi0pxrFS5O4yOAY8o6W0BvTIC60F9LNR/0kDSJQ==
X-Report-Abuse-To<EMAIL_ADDRESS>Authentication-Results: reliabledns.org; spf=pass<EMAIL_ADDRESS>Authentication-Results: reliabledns.org; dkim=pass header.i=github.com
X-SpamExperts-Class: ham
X-SpamExperts-Evidence: dnswl/se-reputation (verified ham)
X-Recommended-Action: accept
X-Spam-Status: No, score=-0.5
X-Spam-Score: -4
X-Spam-Bar: /
X-Ham-Report: Spam detection software, running on the system "en02-ams.stablehost.com",
has NOT identified this incoming email as spam.  The original
message has been attached to this so you can view it or label
similar future email.  If you have any questions, see
root@localhost for details.
Content preview:  Hi there! This issue is being closed because it has been inactive
for a while. But don't worry, it will live on with ProductPains! Check out
its new home: https://productpains.com/post/react-native/resize-text-in-multiline-textinput-if-text-is-set-programmatically
[...]
Content analysis details:   (-0.5 points, 5.0 required)
pts rule name              description

-0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at http://www.dnswl.org/, no
trust
[<IP_ADDRESS> listed in list.dnswl.org]
1.5 SPF_SOFTFAIL           SPF: sender does not match SPF record (softfail)
0.0 HTML_MESSAGE           BODY: HTML included in message
0.0 HTML_IMAGE_ONLY_32     BODY: HTML: images with 2800-3200 bytes of words
-1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
[score: 0.0000]
0.1 DKIM_SIGNED            Message has a DKIM or DK signature, not necessarily valid
-0.1 DKIM_VALID_AU          Message has a valid DKIM or DK signature from author's
domain
-0.1 DKIM_VALID             Message has at least one valid DKIM or DK signature
X-Spam-Flag: NO
----==_mimepart_581277d318bc0_63f03fee91a1529c535654
Content-Type: text/plain;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Hi there! This issue is being closed because it has been inactive for a while.
But don't worry, it will live on with ProductPains! Check out its new home: https://productpains.com/post/react-native/resize-text-in-multiline-textinput-if-text-is-set-programmatically
Product Pains has been very useful in highlighting the top bugs and feature requests:
https://productpains.com/product/react-native?tab=top
Also, if this issue is a bug, please consider sending a pull request with a fix.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/facebook/react-native/pull/7543#issuecomment-256780806
----==_mimepart_581277d318bc0_63f03fee91a1529c535654
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Hi there! This issue is being closed because it has been inactive for =
a while.
But don't worry, it will live on with ProductPains! Check out its new =
home: https://productpai=
ns.com/post/react-native/resize-text-in-multiline-textinput-if-text-is-se=
t-programmatically
Product Pains has been very useful in highlighting the top bugs and fe=
ature requests:
https=
://productpains.com/product/react-native?tab=3Dtop
Also, if this issue is a bug, please consider sending a pull r=
equest with a fix.
&m=
dash;You are receiving this because you are subscribed to this thre=
ad.Reply to this email directly, view it on GitHub=
, or mute the thread.

=
----==_mimepart_581277d318bc0_63f03fee91a1529c535654--


chore: update apisix to 2.13.1

close #992
Type of change:

[ ] Bugfix
[x] New feature provided
[ ] Improve performance
[ ] Backport patches

What this PR does / why we need it:

Pre-submission checklist:

[ ] Did you explain what problem does this PR solve? Or what new features have been added?
[ ] Have you added corresponding test cases?
[ ] Have you modified the corresponding document?
[ ] Is this PR backward compatible? If it is not backward compatible, please discuss on the mailing list first

Codecov Report

Merging #996 (e738e9a) into master (0f4391a) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #996   +/-   ##
=======================================
  Coverage   31.91%   31.91%
=======================================
  Files          73       73
  Lines        7953     7953
=======================================
  Hits         2538     2538
  Misses       5139     5139
  Partials      276      276

Impacted Files
Coverage Δ

pkg/api/router/apisix_healthz.go
66.66% <ø> (ø)

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 eefeec8...e738e9a. Read the comment docs.


siren_detection

Where is a model network for siren_detection?

The audio https://github.com/ApolloAuto/apollo/tree/master/modules/audio module deal with this.
It will detect the sound of police cars, fire trucks and ambulances


merge: dev to stage

:tada: This PR is included in version 0.53.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Is the core ratio in table correct?

Core ratio column in the table above displays the virtual to physical core ratio. It displays ratio as 4.3 for 1st row, 4:1 for 2nd row and 3:1 for 3rd row.
When I calculate the ratio between virtual to physical ratio, it comes about 27:28 for 1st row and 18:7 for 2nd and 3rd row.
My calculation is based on following table.
| Memory | CPU Cores | Number of servers | Total Physical   Cores | D2 Tenant VMs1 | Tenant VM Virtual   Cores | Core ratio (   Virtual: Physical)
-- | -- | -- | -- | -- | -- | -- | --
Example 1 | 256 GB | 28 | 4 | 112 | 54 | 108 | 27:28
Example 2 | 512 GB | 28 | 4 | 112 | 144 | 288 | 18:7
Example 3 | 384 GB | 28 | 12 | 336 | 432 | 864 | 18:7
Can you please take a look and correct it accordingly?

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

ID: a892fa3c-5403-6cbe-d9dc-23839807ec5b
Version Independent ID: 8f9f55f2-e9e9-14ed-7b02-f88f8d4e952b
Content: Capacity planning for Azure Stack
Content Source: articles/azure-stack/capacity-planning.md
Service: azure-stack
GitHub Login: @jeffgilb
Microsoft Alias: jeffgilb

@Mahesh-MSFT Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.


Update sidecar script to mount exported metadata to workspace

Link to JIRA ticket if there is one:
New Features
Breaking Changes
Bug Fixes
Improvements
Dependency updates
Deployment changes

Thank you @mfshao, I have addressed your latest comments

tested in qa and seems to be working good, can you update the PR description properly?


connect EMFILE exception when closing connections

Given the following code :
var redis = require('redis');
var count = 2000;
var clients = [];
for(var i=0;i<count;i++) {
clients.push(redis.createClient());
}
for(var i=0;i<count;i++) {
clients[i].quit();
}
I get the following error:
Error: Redis connection to <IP_ADDRESS>:6379 failed - connect EMFILE
at RedisClient.on_error (/.../node_modules/redis/index.js:148:24)
at Socket. (/.../node_modules/redis/index.js:83:14)
at Socket.EventEmitter.emit (events.js:88:17)
at Socket._destroy.self.errorEmitted (net.js:329:14)
at process.startup.processNextTick.process._tickCallback (node.js:244:9)
I suspect is got to do with the max open files limit on mu ubuntu box. However, I would have thought I'd get the error on creating the clients not quitting.I know this is more of a question that an issue but comments would be appreciated. Thanks.

@whoatemydomain @goldalworming I tried to reproduce this and was not able to with Ubuntu 15.10. I'm also wondering where the error is actually emitted. Are you sure the quit results in the error? To verify this, would you be so kind and add a callback to the quit and check for errors returned? That way it's certain where the error originates from.
What NodeJS version / Ubuntu version (uname -a) did you use?

I got this error in my production env; this is my version:
node: 4.4.3
node_redis:2.6.0-0
and i check redis server log by DBA, this is result:

redis server is normal, and redis client is ok. so i am very confused;
and ,this is my connect pool, i sub error even, but not emit, however, this error crash my process;
`
Redis.connect = function (port, ip, next) {
var connectId = ip + port,
RedisClient;
redisPool[connectId] = redisPool[connectId] || {};

if (redisPool[connectId].sta === "OK") {
    next(null, redisPool[connectId].connect);
} else {
    redisPool[connectId].next = redisPool[connectId].next || [];
    redisPool[connectId].next.push(next);

    if (redisPool[connectId].sta != "BUSY") {
        redisPool[connectId].sta = "BUSY";

        RedisClient = redis.createClient({
            url            : "redis://" + ip + ":" + port,
            password       : redisPwd[ip],
            retry_strategy : function (options) {
                console.error('node_redis connection %s is false, options is ', connectId, options);

                if (options.error.code === 'ECONNREFUSED') {
                    if (redisPool[connectId].next) {
                        for(var i in redisPool[connectId].next) {
                            redisPool[connectId].next[i]('The server refused the connection');
                        }
                    }
                    // End reconnecting on a specific error and flush all commands with a individual error
                    return new Error('The server refused the connection');
                }
                if (options.total_retry_time > 1000 * 60 * 60) {
                    if (redisPool[connectId].next) {
                        for(var i in redisPool[connectId].next) {
                            redisPool[connectId].next[i]('Retry time exhausted');
                        }
                    }
                    // End reconnecting after 1h and flush all commands with a individual error
                    return new Error('Retry time exhausted');
                }
                // reconnect after 3s or later
                return Math.max(options.attempt * 100, 3000);
            }
        });

        RedisClient.on('connect', function () {
            console.log('RedisClient connection %s is established.', connectId);
            redisPool[connectId].sta = "OK";
            redisPool[connectId].connect = RedisClient;

            for(var i in redisPool[connectId].next) {
                redisPool[connectId].next[i](null, RedisClient);
            }
            redisPool[connectId].next = [];
        });

        RedisClient.on('reconnecting', function (obj) {
            console.error('node_redis connection %s is reconnecting', connectId, obj);
        });

        RedisClient.on('error', function (err) {
            console.error('node_redis connect %s is false, err is', connectId, err);
        });

        RedisClient.on('end', function () {
            delete redisPool[connectId].sta;
            delete redisPool[connectId].connect;
            console.error('node_redis connect %s is end.', connectId);
            return next(true);
        });

        RedisClient.on('warning', function (err) {
            console.error('node_redis connect %s is warning, err is', connectId, err);
        });
    }
}

};`

and，this time crash again...


Class Dwpose not found in controlnet_aux 0.0.7.

[comfyui_controlnet_aux] | INFO -> Some nodes failed to load:
Failed to import module dwpose because ImportError: cannot import name 'DwposeDetector' from 'controlnet_aux.dwpose' (D:\Programs\anaconda3\envs\comfyui\Lib\site-packages\controlnet_aux\dwpose_init_.py)

Duplication of https://github.com/Fannovel16/comfyui_controlnet_aux/issues/275


[Parser Fix]: OMICS-DI literature supplemental data

Issue Name
OMICS-DI literature supplemental data
Issue Description
OMICS-DI ingests publication records for supplemental data from Biostudies-literature (which ingests from European PMC). Clicking 'access data' for these records from the Discovery Portal will take you to the OMICS-DI record, which when clicked, may take you to the Biostudies record, which when clicked, will take you to the European PMC record where you may (or may not) find the downloadable supplemental files.
These records for publication supplemental data make up about ~1.4M out of ~2.2M OMICS-DI records.
To be determined: Do we want to continue to ingest and include all of OMICS-DI, or do we want to filter OMICS-DI such that only data that is not supplemental data from publications is included?

Pros of ingesting as is:

PMC Supplemental data is too messy to ingest. The supplemental data ingested via Biostudies into OMICS-DI is presumably a curated subset, where the metadata has been aligned with OMICS-DI and is expected to be within the scope of OMICS-DI
Helps users find OMICS data that would be otherwise buried in the literature or only in OMICS-DI
Keeps OMICS-DI intact

Cons of ingesting as is:

Adds a large number of records where data access is very convoluted (need to follow 2-3 links to get to it, if it's even available).
Can easily be mistaken as publication records instead of dataset records since the metadata for the supplemental data is based the publication record
It can potentially make OMICS-DI faster to parse and update if such records were skipped based on a base url or identifier match

To do:

[x] Determine if the literature supplemental data ingested into OMICS-DI should be included (Decision: It should NOT)
[ ] IF it should NOT be included, update the parser to skip anything with a biostudies-literature in the url

Issue Example
https://data.niaid.nih.gov/resources?id=s-epmc6182170
Related WBS task

[ ] Check here if this repository is funded by NIAID (https://github.com/NIAID-Data-Ecosystem/nde-roadmap/issues/11)
[ ] Check here if this repository only has IID data (https://github.com/NIAID-Data-Ecosystem/nde-roadmap/issues/12)
[X] Check here if this is a generalist repository with IID data (https://github.com/NIAID-Data-Ecosystem/nde-roadmap/issues/12)

For internal use only. Assignee, please select the status of this issue

[ ] Not yet started
[ ] In progress
[ ] Blocked
[ ] Will not address

Status Description
No response

Note the decision made on this issue will affect the number of records that will be linked via NCBI LinkOut (see issue https://github.com/NIAID-Data-Ecosystem/niaid-feedback/issues/126)

@gtsueng a common point of feedback is that the portal returns don't take a user to the actual data.  I suspect this is because many returns are OmicsDI and the majority of these link to the supplemental publication link.  Therefore my preliminary recommendation is that the publication supplemental NOT be included and update the parser to skip anything with a biostudies-literature in the url.  However, this would me 1M+ records would be removed from NCBI LinkOut and potentially remove traffic to the site - is this correct?  Can you confirm I understand the issue correctly before we make a final decision?

@rshabman Yes, that is exactly the issue. OMICS-DI supplemental publications "datasets" will be records that definitely have a link to a citation. These citations can be leveraged to potentially direct traffic from the PubMed record to the NIAID Data Ecosystem via NCBI LinkOut. But, as you pointed out, the user may or may not get to the actual data since the path from OMICS-DI to the supplemental data can be convoluted.

Thanks @gtsueng. @hartwickma and I discussed, please update the parser to skip anything with a biostudies-literature in the url. While this may cut down on traffic, we want folks coming to the portal to find data easily.

Please proceed with the BioLink registration (other GitHub issue) and retain OMICS DI in it's current form.  We don't want to reduce the number of CREID records at this point.  If I understand correctly, we can always change the OMICS DI ingest at a later date.

Got it! Thanks, @rshabman

For reference, here are links to the 22 records in the CREID program collection that we would lose by eliminating the biostudies-literature subset of omicsDI:

NDE link
BioStudies link

https://data.niaid.nih.gov/resources?id=s-epmc6703872
https://www.ebi.ac.uk/biostudies/europepmc/studies/s-epmc6703872

https://data.niaid.nih.gov/resources?id=s-epmc6853903
https://www.ebi.ac.uk/biostudies/europepmc/studies/s-epmc6853903

https://data.niaid.nih.gov/resources?id=s-epmc6906250
https://www.ebi.ac.uk/biostudies/europepmc/studies/s-epmc6906250

https://data.niaid.nih.gov/resources?id=s-epmc6955268
https://www.ebi.ac.uk/biostudies/europepmc/studies/s-epmc6955268

https://data.niaid.nih.gov/resources?id=s-epmc7213566
https://www.ebi.ac.uk/biostudies/europepmc/studies/s-epmc7213566

https://data.niaid.nih.gov/resources?id=s-epmc7250850
https://www.ebi.ac.uk/biostudies/europepmc/studies/s-epmc7250850

https://data.niaid.nih.gov/resources?id=s-epmc7263506
https://www.ebi.ac.uk/biostudies/europepmc/studies/s-epmc7263506

https://data.niaid.nih.gov/resources?id=s-epmc7286545
https://www.ebi.ac.uk/biostudies/europepmc/studies/s-epmc7286545

https://data.niaid.nih.gov/resources?id=s-epmc7332453
https://www.ebi.ac.uk/biostudies/europepmc/studies/s-epmc7332453

https://data.niaid.nih.gov/resources?id=s-epmc7354470
https://www.ebi.ac.uk/biostudies/europepmc/studies/s-epmc7354470

https://data.niaid.nih.gov/resources?id=s-epmc7359519
https://www.ebi.ac.uk/biostudies/europepmc/studies/s-epmc7359519

https://data.niaid.nih.gov/resources?id=s-epmc7391951
https://www.ebi.ac.uk/biostudies/europepmc/studies/s-epmc7391951

https://data.niaid.nih.gov/resources?id=s-epmc7597632
https://www.ebi.ac.uk/biostudies/europepmc/studies/s-epmc7597632

https://data.niaid.nih.gov/resources?id=s-epmc7604506
https://www.ebi.ac.uk/biostudies/europepmc/studies/s-epmc7604506

https://data.niaid.nih.gov/resources?id=s-epmc7648063
https://www.ebi.ac.uk/biostudies/europepmc/studies/s-epmc7648063

https://data.niaid.nih.gov/resources?id=s-epmc7680145
https://www.ebi.ac.uk/biostudies/europepmc/studies/s-epmc7680145

https://data.niaid.nih.gov/resources?id=s-epmc7839664
https://www.ebi.ac.uk/biostudies/europepmc/studies/s-epmc7839664

https://data.niaid.nih.gov/resources?id=s-epmc7846801
https://www.ebi.ac.uk/biostudies/europepmc/studies/s-epmc7846801

https://data.niaid.nih.gov/resources?id=s-epmc7860990
https://www.ebi.ac.uk/biostudies/europepmc/studies/s-epmc7860990

https://data.niaid.nih.gov/resources?id=s-epmc7872373
https://www.ebi.ac.uk/biostudies/europepmc/studies/s-epmc7872373

https://data.niaid.nih.gov/resources?id=s-epmc7880427
https://www.ebi.ac.uk/biostudies/europepmc/studies/s-epmc7880427

https://data.niaid.nih.gov/resources?id=s-epmc7881699
https://www.ebi.ac.uk/biostudies/europepmc/studies/s-epmc7881699

It appears from Mary Hannah Currin's email that these records were identified based on a search of NDE and not some independent index of CREID datasets.  Also, after spot checking a few of these records, they generally aren't what I'd consider a "dataset" personally...

Thanks @andrewsu.  I didn't realize these records were not independently indexed by CREID.  @gtsueng the CREID data was the only reason we decided to keep the OmicsDI biostudies.  With this update we recommend to update the parser to skip anything with a biostudies-literature in the url.  Apologies for the change in direction, and hope this adjustment isn't too disruptive.

@jal347 will remove the biostudies-literature-ingested from OMICS-DI

These records have been manually removed from the Production API. A re-run of the data is in progress to ensure up-to-date, more accurate removal of the records. I am marking this issue as Pending close out.


Run tests in parallel using pytest-xdist

Is it possible to modify the fixtures so that the tests can be run in parallel using pytest-xdist plugin. Currently the way session (and db) is created, they don't play well with running the tests in parallel.

If someone wants to look into this, I would gladly review and merge a PR.

Closing this as this issue has gone stale. Feel free to reopen if it's still an issue.


libhandy: 1.6.2 -> 1.7.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for libhandy is: "Building blocks for modern adaptive GNOME apps"
meta.homepage for libhandy is: "https://gitlab.gnome.org/GNOME/libhandy"
meta.changelog for libhandy is: "https://gitlab.gnome.org/GNOME/libhandy/-/tags/1.7.0"
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
See below

https://gitlab.gnome.org/GNOME/libhandy/-/compare/1.6.0...1.7.0

HdyDeck

Remove a non-existent property mention

HdyStyleManager

Correctly reset the theme if we're not overriding it. Fixes switching away from HighContrast.
Fix a typo in docs
Remove a leftover debug message
Add environment variables to control styles from Builder

Fix license in docs: GPL-2.1-or-later → LGPL-2.1-or-later
Fix a Meson error when using as a subproject

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.7.0 with grep in /nix/store/hi0jsskgsbfd3qgvz4bwvg5mh84lqdqd-libhandy-1.7.0
found 1.7.0 in filename of file in /nix/store/hi0jsskgsbfd3qgvz4bwvg5mh84lqdqd-libhandy-1.7.0

Rebuild report (if merged into master) (click to expand)

153 total rebuild path(s)

135 package rebuild(s)

135 x86_64-linux rebuild(s)
18 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
apostrophe
bottles
caerbannog
calls
cambalache
chatty
cobang
cozy
cpupower-gui
denemo
dropbox-cli
eiciel
elementary-planner
empathy
epiphany
evince
fondo
glom
gnome-builder
gnome-connections
gnome-console
gnome-feeds
gnome-photos
gnome-podcasts
gnome-usage
gnome.cheese
gnome.empathy
gnome.eog
gnome.epiphany
gnome.evince
gnome.file-roller
gnome.geary
gnome.gnome-books
gnome.gnome-boxes
gnome.gnome-control-center
gnome.gnome-disk-utility
gnome.gnome-documents
gnome.gnome-initial-setup
gnome.gnome-logs
gnome.gnome-maps
gnome.gnome-notes
gnome.gnome-screenshot
gnome.gnome-system-monitor
gnome.gnome-terminal
gnome.gnome-tweaks
gnome.gnome-user-share
gnome.nautilus
gnome.nautilus-python
gnome.seahorse
gnome.simple-scan

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/hi0jsskgsbfd3qgvz4bwvg5mh84lqdqd-libhandy-1.7.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A libhandy https://github.com/r-ryantm/nixpkgs/archive/3fd07d83a3399a68349ff60f75aec3bd7ee6e282.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/hi0jsskgsbfd3qgvz4bwvg5mh84lqdqd-libhandy-1.7.0
ls -la /nix/store/hi0jsskgsbfd3qgvz4bwvg5mh84lqdqd-libhandy-1.7.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
nixpkgs-review took longer than 45m and timed out

Maintainer pings
cc @bobby285271 @hedning @jtojnar @dasj19 @maxeaubrey for testing.

Joined the Matrix room... Just noticed there is also 1.6.3
https://gitlab.gnome.org/GNOME/libhandy/-/compare/1.6.2...1.6.3


[Improvement] Change CRUD command & route from singular to plural

Right now we ask people to run
php artisan backpack:crud tag # use singular, not plural

Which is a little counter-intuitive. Since the db table is plural, I think it'll be easier for people to run the plural name instead. We chose to use the singular because, in the past, the Laravel best practice was to use singular for Resource Routes, and for Controller name. Now the best practice is to have plural for resource route (Route::resource('tags', 'TagController');) but still singular for Controller name. That's why, I think, in addition to changing the command from singular to plural, we should also change the route. So that it's:
-admin/tag
-admin/tag/create
-admin/tag/update
+admin/tags
+admin/tags/create
+admin/tags/update

But this means we need to be super-sure about both the single and plural name, basically asking both from the user. So maybe instead we should do something like this:
php artisan backpack:crud                           # no mandatory parameters

# What's the table in the database?
> tags
     # [ERROR] Did not find table "tags" in the database.
# Confirm or edit your entity name, in plural, in English? (ex: tags, products, users)
> tags
# Confirm or edit your entity name, in singular, in English? (ex: tag, product, user)
> tag
# Found Model "App\Tag" - do you want to use it? (y/n)
#    (N) > Where do you want to generate your new Model?
         > App\Models\Tag
#
# ---------------
# Generated app/Models/Tag.php
# Generated app/Http/Requests/Tag.php
# Generated app/Http/Controllers/Admin/TagCrudController.php
# Added Route::crud('tag', 'TagCrudController'); to routes/backpack/custom.php
# Added sidebar item to resources/views/vendor/backpack/base/inc/sidebar_contents.blade.php
# ---------------
#       Done
# ---------------

Once you specify the table name (tags) we can offer sensible defaults for the rest of the prompts:

we already have the name of the entity in plural  - tags;
we can get the singular by stripping the "s" - tag;
we can check the app folder for any class that extends Model that is either called Tag.php, or has $table = 'tags'; inside it; to see if the dev already has a Model they might want to use;
we know a good name place for the generated Model would be App\Models\Tag.php

This way, you don't have to remember if it's singular or plural, the command-line prompt tells you exactly what it needs. You just need to remember php artisan backpack:crud - which is super-easy to remember. Possible alias: php artisan make:crud. For backwards-compatibility, we should probably keep the "singular" as an OPTIONAL parameter. Or we could leave php artisan backpack:crud as-is, and create this new command php artisan make:crud which is more powerful. But I see no point in having both, tbh.
To sum up, what I propose we do here:

[ ] make parameter in php artisan backpack:crud optional;
[ ] prompts to ask for the table name; then ask to confirm both singular and plural form of the entity; and if there's already a Model, ask if they want to use the existing model;
[ ] change CRUD route to use plural form, just like table name: Route::crud('tags', 'TagCrudController');

Agree!
Spanish has some non-regular plural variations
I tend to use singular everywhere (why complicate life?)
except from things the user needs to see, like urls

Update: I think we've got enough breaking changes as-is. And plenty of people have already installed 4.1 with the singular form. So let's postpone this for 6 months, until Backpack 4.2 - I hope that one will have less breaking changes.

@tabacitu "But this means we need to be super-sure about both the single and plural name, basically asking both from the user."
Laravel's Str::plural() works pretty well. Could you just use that?

Yeah you're right @joelmellon , it works pretty well in English. And class names, models should be in English anyway. So that should work well!
Also note here (TLDR of my comment in https://github.com/Laravel-Backpack/CRUD/pull/3121#issuecomment-709359836) - we should also split the words by dashes! To end up with user-setting not usersetting 😌

Also note here (TLDR of my comment in Laravel-Backpack/CRUD#3121 (comment)) - we should also split the words by dashes! To end up with user-setting not usersetting 😌

That's a great idea. Solves the most if not all of the issues here I think.

bump!

bump


Extending 1ph/3ph feature

Adds the following config options:

Power (watt) hysteresis
Time based hysteresis for switching to 3ph
Max number of switching cycles per session
Stickyness (aka what happens if max switching cycles are reached)

Describe your changes
Issue ticket number and link
Checklist before requesting a review

[X] I have performed a self-review of my code
[ ] I have made corresponding changes to the documentation
[X] I read the contribution documentation and made sure that my changes meet its requirements

@hikinggrass I addressed all your comments


add more social media logos

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
In the footer the social media part the Discord logo,Instagram logo are missing
Use Case
Hover the social media icons with the different colors
Benefits
No response
Add ScreenShots

please assign me @pa
please label it under the gssoc
Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository

Thank you for creating this issue! 🎉 We'll look into it as soon as possible. In the meantime, please make sure to provide all the necessary details and context. If you have any questions or additional information, feel free to add them here. Your contributions are highly appreciated! 😊
You can also check our CONTRIBUTING.md for guidelines on contributing to this project.

We don't have those currently

Hello @jayanththalla! Your issue #273 has been closed. Thank you for your contribution!


output.changebars is working in tandem, but not alone

I've incorporated this plugin to your system.  When I use both parameters, I get the changes and the change bars.  When I only use 'output.changes.and.comments' I see the changes with the comments, as expected.  But when I only use 'output.changebars' I don't see the change bars.  The output displays as if I had not used any parameter.
Is the 'output.changebars' parameter dependent on the 'output.changes.and.comments' parameter, or did I make some mistake in installation?
Thanks for your help

Sorry for your confusion! Yes, output.changebars is dependent on output.oxy.changes.
See the actual code at https://github.com/AntennaHouse/ah-review-oxygen/blob/master/com.antennahouse.pdf.review.oxygen/xsl/dita2fo_change_tracking_param.xsl line 33.


"Unhandled exception thrown: read access violation" in 929 line

This cannot be addressed without details on how exactly this can be reproduced.

Not actionable as stated.


Unable to define id, parent or other top level mapping attributes

The only thing that gets passed through to ES is properties and it's currently impossible to define _id_, _parent_ or other top level mapping attributes.

Just to be sure that I found the right references:

version 0.90

https://www.elastic.co/guide/en/elasticsearch/reference/0.90/mapping-id-field.html
https://www.elastic.co/guide/en/elasticsearch/reference/0.90/mapping-parent-field.html

version 1.6

https://www.elastic.co/guide/en/elasticsearch/reference/1.6/mapping-id-field.html
https://www.elastic.co/guide/en/elasticsearch/reference/1.6/mapping-parent-field.html

These are what you're referring to correct?

Hi @pulkitsinghal
Yes, those are the specific ones that I was referring to. However, I think it should really be made possible to set all mapping values through the datasources schema file rather than limiting it to specific ones.
I've been playing around with this, which seems to do the job in my limited testing:
https://gist.github.com/mrfelton/c28f6c54735628b20f81

If you've got the spare time to contribute, I would gladly accept a PR! Let me know.


Update to mocha 3.0.2.

Fixes #931

Coverage remained the same at 43.384% when pulling 00efa92a1076cc3e012d6e296e622a2ec792a173 on Mossop:updatemocha into 9375a82acd1f2fff2ba5c453c577360d964cd875 on mozilla:master.


Unable to pay requested amount in Mac

Paul is unable to pay Andrew's request. However, as he mentions, he can manually push funds ok.

@tomastiminskas one Paul saw over the weekend - Unsure if the issue lies within the client side or a wider issue within Sphinx backend

https://github.com/stakwork/sphinx-mac/assets/96802642/1de33a29-0659-4912-9411-5aae8437712c
I just attempted to recreate this and I was unable. Note that I am on a lite node.
I think this means that there is one of a few possibilities:

There is a problem upstream with either liquidity or some other quirk of the lightning infra
There is a problem with the interaction between the client and said infra that is not correctly handled in some use case

At any rate I think it would be helpful to do a couple things:

Have more accounts attempt this workflow and see if there's a pattern. @tomsmith8 are you able to recreate the problem? I just sent you a request
If we are unable to recreate it on a dev's account for live debug, issue a build that sends a very descriptive error message so we can get more clues

OK. I am able to recreate. I think the amount is an important variable. I was able to cause a failure with 100k sats

I debugged and found this error:
Task <4A02B2C7-9A25-48F7-BE00-0C6CD3C0F8D3>.<35> finished with error [-1001] Error Domain=NSURLErrorDomain Code=-1001 "The request timed out." UserInfo={_kCFStreamErrorCodeKey=-2102, NSUnderlyingError=0x6000016ff300 {Error Domain=kCFErrorDomainCFNetwork Code=-1001 "(null)" UserInfo={_kCFStreamErrorCodeKey=-2102, _kCFStreamErrorDomainKey=4}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <4A02B2C7-9A25-48F7-BE00-0C6CD3C0F8D3>.<35>, _NSURLErrorRelatedURLSessionTaskErrorKey=(
"LocalDataTask <4A02B2C7-9A25-48F7-BE00-0C6CD3C0F8D3>.<35>"
), NSLocalizedDescription=The request timed out., NSErrorFailingURLStringKey=https://proxy.sphinx.chat/invoices, NSErrorFailingURLKey=https://proxy.sphinx.chat/invoices, _kCFStreamErrorDomainKey=4}
sessionTaskFailed(error: Error Domain=NSURLErrorDomain Code=-1001 "The request timed out." UserInfo={_kCFStreamErrorCodeKey=-2102, NSUnderlyingError=0x6000016ff300 {Error Domain=kCFErrorDomainCFNetwork Code=-1001 "(null)" UserInfo={_kCFStreamErrorCodeKey=-2102, _kCFStreamErrorDomainKey=4}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <4A02B2C7-9A25-48F7-BE00-0C6CD3C0F8D3>.<35>, _NSURLErrorRelatedURLSessionTaskErrorKey=(
"LocalDataTask <4A02B2C7-9A25-48F7-BE00-0C6CD3C0F8D3>.<35>"
), NSLocalizedDescription=The request timed out., NSErrorFailingURLStringKey=https://proxy.sphinx.chat/invoices, NSErrorFailingURLKey=https://proxy.sphinx.chat/invoices, _kCFStreamErrorDomainKey=4})
URLSessionTask failed with error: The request timed out.
In this block of code

Which implies that the /invoices API at a minimum is not properly handling errors (it should send back some kind of 400 code with a description of what is wrong with the request or with the lightning infra at some point).


chore(main): release 0.4.5

:robot: I have created a release beep boop
0.4.5 (2024-08-15)
Bug Fixes

deps: update rust crate serde to v1.0.208 (#211) (e3ffd64)
deps: update rust crate serde_json to v1.0.125 (#210) (070f547)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/jobs62/opnsense_unbound_external-dns_webhook/releases/tag/v0.4.5 :sunflower:


Can it be used for one-dimensional data? For example, time series data

Can it be used for one-dimensional data? For example, time series data

@adrenaline0425 @Kaushalya @mingloo @karray @rachellea  have the same question. i wang to visualize attention map in time series.
if u have any news, please kick me. Thank you very much.

@iganggang @adrenaline0425 this library primarily focuses on CAM methods, which are specifically designed for convolutional networks.
Consider exploring model agnostic methods (e.g., RISE, SHAP, LIME), gradient methods (Integrated Gradients), or attribution methods such as LRP.

@karray thank you very much.
i can not plot attention map without examples according to my poor level.
i give up it.

@iganggang take a look at AttnLRP

@karray
thanks a lot.
your abilities are very strong.
hope you live a peaceful life.


make PyType::name return type &str

PyType::name() is a commonly used internal api.
Even though it can return &str, it returns a String for now.

closed by #3261


Unable to use presign URL

Describe the bug
The output of the presign URL does not work.
GitHub Actions workflow
- name: Generate S3 PreSigned URL
  uses: anton-yurchenko/s3-pre-signed-url@v1
  id: s3
  with:
    region: eu-central-1
    access_key: ${{ secrets.AWS_ACCESS_KEY }}
    secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
    bucket: ${{ inputs.bucket }}
    path: dumps/Corp-Root-CA-G2.zip
    expires_in: 300
- name: PreSigned URL
  run: echo ${{ steps.s3.outputs.url }}

Input values (please complete the following information):

Version: v1
region: eu-central-1
bucket: mbtointlogs
path: dumps/Corp-Root-CA-G2.zip
expires_in: 300

Expected behavior
the output should generate a presign URL which can be used to download the bucket file.
Screenshots

Additional context

self-hosted runner on linux EC2 instance Ubuntu 22.04 LTS

Hello @jascsch,
The pre-signed URL is clearly visible on the screenshot.
The action provides the desired results as the URL was generated and outputted correctly.
If you would like to echo it, you may need to escape various characters within the URL itself and unmask secret values like the temporary access key.

I see a very similar URL to what you just provided:

for me the action is not useable. the presigned url consists of the AWS_ACCESS_KEY_ID which needs to be in plain text otherwise you cannot download the file. so what is the use case of the action if you cannot echo the url in a downloadble format?

It is a built in GitHub Actions feature and has nothing to do with the Action itself:

GitHub Actions has a feature that automatically masks secrets, such as tokens or passwords, in logs to prevent accidental exposure. This automatic redaction is crucial for maintaining security as it ensures that sensitive information does not appear in logs that could be accessible to unauthorized users. If a secret is inadvertently printed to the log during a job, GitHub will automatically replace it with a masked value to protect the data.
For more detailed information on how GitHub handles secrets and the security practices recommended for using secrets in GitHub Actions, you can visit the following GitHub documentation pages:

Using secrets in GitHub Actions
Security hardening for GitHub Actions

You may find more information about that online.


Do not call exit on Zarr store when opening

The with context when opening the zarr group with result in calling
exit on the store when the function completes. This calls .close()
on ZipStore's, which results in errors:
ValueError: Attempt to use ZIP archive that was already closed

@TomNicholas please take a look
Tests were not passing for me locally prior to this fix.

@TomNicholas any plans to cut a 0.0.6 release?

@TomNicholas any plans to cut a 0.0.6 release?

@thewtex I just released 0.0.6 just now!


Mapping profiles

Hi, thanks for great library!
I wanted to ask because I don't see any example of that - is this library supports something similar to AutoMapper's CreateMap?
By that I mean any simple interface that allows to create mapping profiles.
Best regards!

Hi @Hau-Hau,
Sadly no, at the moment it works mostly by convention. You may post a sample of the scenario you want to support so I could work in a solution.
I started this library long ago as a patch that combined automapper and graphdiff, but then automapper became too complex and dropped the support for mapping in runtime (since version 9, createmap need to be specified for everything). I've saw automapper being removed from serveral projects because of that.
I'd like to support as much features as people ask, without doing the same.

It is really great that you prefer to not drop any feature.
In terms of mapping profiles, I'm seeing a lot of potential in that feature. Mapping by convention works great for simple models and I'm amazed how it is simple with Detached mapper. However profiles makes bunch of new possibilities like support for rich domain models or aggregates etc.
Once again thanks for that project and time that you spent working on it.

@Hau-Hau started working on profiles.
Right now it is possible to ignore or config. as association or composition on a given Type.
for example:
cfg.Type<User>().Member(u => u.Name).Exclude();
will ignore User.Name, it doesn't matter if it comes from a DTO or anonymous or a dictionary or json.
the idea for the future is to allow doing this on a type pair basis, for example:
cfg.Map<User, UserDTO>().Member(u => u.Name).Exclude();
would exclude Name "only" if the source is a UserDTO
will work on this near the end of the year.
[tests] (https://github.com/leonardoporro/Detached-Mapper/blob/8ae250a52d8c30be1e81f9b87c69fd2b4e0f7e85/test/Detached.Mappers.EntityFramework.Tests/ProfilesTests.cs#L42)
thanks for the feedback
btw, testing and help is always welcomed!


Failure in unittest test_operator.py:test_reduce for some seeds

Note: Providing complete information in the most concise form is the best way to get help. This issue template serves as the checklist for essential information to most of the technical issues and bug reports. For non-technical issues and feature requests, feel free to present the information in what you believe is the best form.
For Q & A and discussion, please start a discussion thread at https://discuss.mxnet.io
Description
Setting both MXNet and Numpy seeds to<PHONE_NUMBER> at the beginning of test_reduce  in tests/python/unittest/test_operator.py results in failure - the difference between tensors expected to be the same is over 0.5, so it is not an issue with test tolerance.
Environment info (Required)
What to do:
1. Download the diagnosis script from https://raw.githubusercontent.com/apache/incubator-mxnet/master/tools/diagnose.py
2. Run the script using `python diagnose.py` and paste its output here.

Package used (Python/R/Scala/Julia):
(I'm using ...)
For Scala user, please provide:

Java version: (java -version)
Maven version: (mvn -version)
Scala runtime if applicable: (scala -version)

For R user, please provide R sessionInfo():
Build info (Required if built from source)
Compiler (gcc/clang/mingw/visual studio):
MXNet commit hash:
89d2a71
Build config:
(Paste the content of config.mk, or the build command.)
Error Message:
test_repro.test_reduce ... FAIL

======================================================================
FAIL: test_repro.test_reduce
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/opt/mxnet/tests/python/unittest/test_operator.py", line 1578, in test_reduce
    mx.symbol.max)
  File "/opt/mxnet/tests/python/unittest/test_operator.py", line 1553, in test_reduce_inner
    assert equal_backward
AssertionError:

Minimum reproducible example
(If you are using your own code, please provide a short script that reproduces the error. Otherwise, please provide link to the existing example.)
Steps to reproduce

put

mx.random.seed(2098177962)
np.random.seed(2098177962)

at the beginning of test_reduce function in tests/python/unittest/test_operator.py
2. nosetests --verbose test_operator.py:test_reduce
What have you tried to solve it?

Tried different seeds, could not get it to fail for ~100 tries.

Proposed labels: "Flaky", "Test", "Python"

@marcoabreu @KellenSunderland I ran this test for 10000 times but couldn't reproduce the issue.
Did this test fail recently as well?

Not as far as I can tell. Closing


layout file fix

Pull Request instructions:
Describe changes:
This is to fix the remaining bug in the PR#1049 which already got integrated to develop
https://github.com/AllenNeuralDynamics/dynamic-foraging-task/pull/1049
What issues or discussions does this update address?
Camera visualization window was hidden with the previous PR. This amendment fixes that.
Describe the expected change in behavior from the perspective of the experimenter
NA
Describe any manual update steps for task computers
NA
Was this update tested in 446/447?

[x] 428
[x] 447-1-D

@micahwoodard tested at 447 rigs and ready for review/merge. Now layout file is modified properly; both CameraRecording and CameraPreview windows pop up automatically.
@ellahiltonvano
FYI


chore: collapse install sections of readme

What kind of change does this PR introduce?
docs update
What is the new behavior?

add steps to install beta release channel
shorten readme by collapsing non-npm installation steps

Additional context
Add any other context or screenshots.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
7 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.07%) to 63.077%

Files with Coverage Reduction
New Missed Lines
%

internal/gen/keys/keys.go
7
7.94%

Totals

Change from base Build<PHONE_NUMBER>:
-0.07%

Covered Lines:
4534

Relevant Lines:
7188

💛  - Coveralls


Zoom with mouse wheel in the new TextureRegion editor

Not much of an issue, but the old TextureRegion editor allowed to use the mouse wheel to zoom in and out. The new one doesn't, and you have to click the buttons on the top right (Windows 10 did that too in its new image viewer and I hate it :p).
Is it possible to have the mouse wheel back please? :3

Since the new texture region editor has scrollbars, I would expect it to scroll when using the mouse wheel.
How about shift + wheel for zooming?

I don't expect it to scroll because:

that's not how the previous editor behaved
there are two scrollbars, moving only one would not make sense

Also I never use the scrollbars, I do everything with the middle button for panning. In the end, scrollbars look like a fallback, or at least a quick view of where I am on the zoomed view.

ahh well, most laptops can also scroll horizontally using the touchpad :P
But yeah, if middle click for panning works, I guess it's not needed then.

Oh, this has already been implemented by #6094 ^^

Indeed :)


nix: migrate to flake

Replacing etc/shell.nix, this is a Flake based on the OpenROAD Nix derivation used for OpenLane 2. This enhances reproducibility, and with Nix installed with flakes enabled, getting an OpenROAD build environment is as simple as typing nix develop.
Also fixes issue with versions of OpenROAD built in the dev environments failing to launch the GUI.
Should support both Linux and macOS on x86-64 and arm64. Tested on Sonoma/Apple Silicon.

Some notes:
Submodule dependence
Unlike the OpenLane 2 derivation set, this relies on the submodules to be cloned. Without adding flake.nix files to OpenSTA and ABC (and the patchset we use in OpenLane to make sure both of these work externally,) there is no way around this.

You will have to clone the git repository and either:

Type nix develop and compile that way
Type nix run ".?submodules=1#" to automatically compile

~nix {run,profile install} github:The-OpenROAD-Project/OpenROAD?submodules=1 must include the argument at the end and will do all of the following:~

~Clone with submodules (and thus, the full history of all of openroad, opensta and abc)~
~Build OpenROAD with libabc and libsta as part of the same compile unit~

EDIT: Only works with local clone, see https://github.com/The-OpenROAD-Project/OpenROAD/pull/5651#issuecomment-2347044666
This will take forever and I did not test it. Given that most people will elect to clone the repo, I am not losing much sleep over this.
On the GUI issue
The long explanation for the GUI issue is that Nix applies a wrapper to Qt apps to set the environment for plugin search paths. This unfortunately though does not propagate to development environments such as nix-shell/nix develop unless set explicitly. (cc @widlarizer)

Shouldn't this have a CI build associated with it to ensure it remains functional?

Shouldn't this have a CI build associated with it to ensure it remains functional?

I've been assuming that efabless test and maintain this.

Unfortunately nix run "github:The-OpenROAD-Project/OpenROAD?submodules=1" fails to build (quotes added only because fish shell interprets the question mark as a keyword). It's only with a local checkout that nix run ".?submodules=1" works. Which is good enough for me

Seems that flake built OpenROAD doesn't see .git at build time and therefore cmake/GetGitRevisionDescription.cmake sets the version to GITDIR-NOTFOUND. This makes my benchmarking workflow risky with unreported differences in OR versions

@donn any comments on the above issues?

Inherent to Nix tbh so not much I can do, .git is highly stateful and cannot be included in a reproducible build (even without flakes, it should not be included.)
We do an out-of-tree build and so… this is a viable option for us:
https://github.com/efabless/openlane2/blob/8871ff3ecc0e9938ffd74d32005271c2795a8ee8/nix/openroad.nix#L87


add edit config map component. - [closed]

In GitLab by @liyanq528 on Mar 21, 2019, 06:58
Merges editConfigMap -> dev

In GitLab by @wknet123 on Nov 13, 2019, 11:40
The test coverage for backend is %  38.91%  , check  console log

In GitLab by @wknet123 on Nov 13, 2019, 11:40
closed


how can i only show maximum three items  in wheel ?

how can i only show maximum three items  in wheel ? as i m using 20 items and its position set to bottom to give shape as semicriclebut i want to display only 3 items on screen once user scroll next items show and previous one hide

There is no easy way, just play around with the xml properties till it fits how you intend it to.

Similar issue, how to stop wheel rotation after reaching to 1st or last item? setting app:repeatItems="false" is causing empty items to appear on wheel.

@umairvatao this is probably the next feature I need to add (or anyone else can for that matter. I'm happy to accept pull requests)


VS 2017 workloads fail to install due to registry Uninstall key changes in recent VS 2017 releases

Running on windows server 2016
choco install visualstudio2017community
choco install visualstudio2017-workload-nativedesktop

Gives the error:
Exception calling "GetFullPath" with "1" argument(s): "The path is not of a legal form."

It seems the registry key for the installer has changed, when i change:
https://github.com/jberezanski/ChocolateyPackages/blob/814ab2a23b65afc30239452c7da634117d33258b/chocolatey-visualstudio.extension/extensions/Start-VisualStudioModifyOperation.ps1#L22
To look for "Installer" instead of $VisualStudioYear it works again.

Thanks, the uninstall registry keys indeed have changed.
(before:
"Microsoft Visual Studio 2017" under WOW6432Node\...\Uninstall with UninstallString which uninstalls the entire VS Installer and all VS products managed by it
now (new in 15.5.0, I guess):
"Microsoft Visual Studio Installer" under the native (64-bit) Uninstall key with UninstallString which uninstalls the entire VS Installer and all VS products managed by it
"Microsoft Visual Studio $product 2017" under the native (64-bit) Uninstall key with UninstallString which uninstalls only this specific product)
I have already changed that function not to rely on the registry, as part of the upcoming chocolatey-visualstudio.extension 1.6.0 release. I will backport the change to 1.5.x, because there is still much testing to be done for 1.6.0.
Uninstallation of visualstudio2017-installer will also need changing - I think I will stop looking at the registry there, too.

Fixed in chocolatey-visualstudio.extension 1.5.1, published and already approved on chocolatey.org.
Also published visualstudio2017-installer and visualstudio2017-workload-* with updated dependency on that extension version - those packages are pending moderation.

Thanks for looking into this and fixing it!
How long does the process on chocolatey take?
I'll close the issue when tested OK from the main repo.

The fixed extension is already public, so 1) new VS installations should pick it up automatically, 2) on existing VS installations you can take advantage of the fix right now by explicitly cup'ing chocolatey-visualstudio.extension before cinst'ing a workload.
I'm not sure how long the moderation queue is these days, but the changes in the workload packages are trivial (just a dependency version bump), so I expect them to be approved quickly once they reach the head of the queue.

This has been fixed for a few months now, so let's close the issue.


Integrate into phy

Eventually we're going to want to integrate the KK2 code into the new IPython-based framework for ephys data, https://github.com/kwikteam/phy - but given that we haven't written up a proper document for coding style / contributing and a framework for loading and saving data yet, probably easiest to develop here and then move across when the project's more mature.

+1

I think we decided it was better to keep the repos separate, so closing this.


Changed content doesn't updated when cached

Hi Rishi,
Thanks for the quick fixed you did that really helped to understand and run the project perfectly.
I'm implementing nuxtjs with ISR now to call the API to get the CMS content, everything work as expected, my page (/content/id) is cached and served, however when I go to CMS and update the content still my site show the cached content instead of new updated content, I assume staleWhileRevalidateSeconds : 1 should revalidate and show the updated content automatically, but it never happen.
Any clue why this happen and any fix for that?
Thanks in Advance!

Glad to know it worked perfectly!
So before you go ahead with ISR, please refer to this diagram that explains it very well.
As the diagram shows the SWR would kick in after max-age is passed, that is the response is stale. At the time of you raising the issue, the maxAge was set to an year in this project, hence no updates to the pages were being made.
I've committed a improvement that will:

Look to refresh both API and page after 60 seconds,
Show you the timestamp of the response generated in the front-end when you visit the /blog/:username page.

Hope this helps!

Perfect, thank for the explanation.

Updated the code to:

Not cache the API, so that after 60 seconds you reload the blogs page to test the updated page,
Update the page configuration to serve caches for 60 seconds when fresh response is recevied, and swr to 60 seconds (can now validate both cached and invalidated pages)
A button to refresh page in a minute so that data changes on ISR can be demoed better.

Filed an issue with the team to ensure smooth experience while setting this all up with serveStatic approach, but for now, you do renderWithApp with caching to ensure that you get the benefits!

Hi Rishi,
I saw your latest commit, however I don't see ISR in action with your approach, its more about the cache mechanism where updated content to all public user will be available after the maxAge expired. However in ISR the new user will get the latest content immediately as he/she hit the site and current user will get the cache content which will get updated when the cache expired.
Any best way that will serve ISR in terms of updated content immediately available for new user instead of waiting for cache time to expire?

@makadiwa
Hey!
Nope, maybe you are referring to some old commit. The latest commit at your time of writing where I had both maxAge and SWR seconds.
Again with ISR, please refer to this diagram that explains it very well.
In the deployed example:

Open the page /blogs/rishi-raj-jain
Wait for 3 + some seconds and hit a reload
If the API generated a succesfull response in the backend, you'd a see a new timestamp, which you should in this case,
Otherwise you the old page
Open the same page in incognito as soon you get a new page and you'd see a cached version served to you
Take another medium username, open /blogs/that-username in incognito and that'd show some version, reload the page to see that the cached version is served
Now close that, and after 3 + some seconds go to that page again and you'd see a new response.

In both the cases, the platform is able to regenerate page as soon as SWR kicks in (as explained in the diagram) or serve stale if it's within the caching age of the new response obtained. Hope this is now clear?

Hi Rishi,
Thanks for the reply!
Here is my understanding with your approach.
If maxAge is set to 1 second it doesn't make any sense at each time after 1 second it will hit the server and fetch the data(from api/content.json)and I think that is not the use of dynamic routing with cache.
Here what happing with your approach is page is cached (say for 60 second) till this will get expired it will serve the page to all the users (Old + new) the cached version, once the I wait for 60 seconds and reload it will get the updated content.
Here how I have tested your latest commit:

Set maxAgeSeconds to 60 second
Open the page /blogs/rishi-raj-jain
If again I reload the same page it will serve content from cache (OK)
Now, if I go to fresh browser(say IE or Incognito ) with no cache and hit the same URL
It give the content from the cache, instead as its the new user it should give the updated content.

Here actually I don't see ISR in action, because we are using CMS to call the API and get the data and display to user, now everything is cached for 60 second and the content will serve from cached till it get expired for both old + new user and once the maxAge is expired it will give me new updated content, instead that should not be case. I assume with ISR it should serve the updated content to the new user and for the same old user it will be from cache and once maxAge is expired the content will get updated.
Sorry if the above scenario confuse you.

@makadiwa
Loving this back and forth!
I'm excited to learn, captured that message clearly in my head. It doesn't confuses me 👍🏼
Now what is ISR according to Next.js:

"Any requests to the page after the initial request and before the 60 seconds window will show the cached (hit) page." is inline with "It give the content from the cache for any request after initial and before 60 seconds"
"After the 60 second window, the next request will still show the cached (stale) page. Next.js triggers a regeneration of the page in the background." is inline with "once the maxAge is expired it will give me new updated content"

But here, note that cache timings that is maxAge and SWR seconds are absolute in nature, it's not relative to any request that comes in after the initial request. So say after you've deployed this:

First request that comes to /blog/rishi-raj-jain, will be SSR and would be cached for future (say t= Xs)
Now regardless of the number of requests that come within X + 60s, all those would show the same page
Now the platform runs a background service that'd rebuild the page and be ready to serve the updated version as soon as it's available, say time it took to generate new page is Y seconds
Any request that comes in after (X + 60 + Y)s would serve the new cached version
Then repeat from step 2

and how it matches what I've implemented as you mentioned correctly:

Here what happing with your approach is page is cached (say for 60 second) till this will get expired it will serve the page to all the users (Old + new) the cached version, once the I wait for 60 seconds and reload it will get the updated content.

Did that make sense? Happy to set up call to understand more about the requirement, understanding of ISR.

Hi Rishi,
Glad that you get what I have written :)
Looking at your reply my understanding was correct.
However it will be good if can have a call for fruitful discussion.
Thanks in Advance!

@makadiwa
Yup! A call works. Feel free to send me an invite for tomorrow at<EMAIL_ADDRESS>Timings: 2 PM IST - 2:30 PM IST.

Hi Rishi,
Thanks for giving the time, I have<EMAIL_ADDRESS>you the meeting details. See you at 2 PM IST

Hi Rishi,
Thanks for joining the call.
Let me know when you have any solution for on-Demand ISR with layer0 as we have discussed.
Thanks!

@makadiwa Hey, I've raised a request with the team. Hope that we can reach back to you with the good news soon!


GH-2891: Fix isAckAfterHandle with No group.id

Resolves https://github.com/spring-projects/spring-kafka/issues/2891
When using manual partition assignment and AckMode.MANUAL, it is possible to have a null group.id, whereby Kafka does not maintain any committed offsets.
In this case, we should not attempt to commit the offset after recovery, even if the error handler ackAfterHandle property is true.
cherry-pick to 3.0.x, 2.9.x

... and cherry-picked to 3.0.x & 2.9.x.


[docs] fix docs translations,add installation ways

What this PR does / why we need it:
add install ways and fix docs translation
Special notes for your reviewer:
Does this PR introduce a user-facing change?

LGTM


Test 1

This change is

Hey @krishnadurai,
Something went wrong with the build.
TravisCI finished with status errored, which means the build failed because of something unrelated to the tests, such as a problem with a dependency or the build process itself.
View build log
TravisBuddy Request Identifier: 121ce390-6ff3-11e9-91fe-d9d12b7facfa


Add disableKinds option

Hi,
I'm using hugo_0.17_Windows-64bit.zip. In my config.toml file I've disabled the generation of tag and category pages (my site doesn't need them) as follows:
[taxonomies]
  category = ""
  tags = ""

This worked on Hugo 0.16 and earlier: no tag and category pages were generated, and no error appeared. With Hugo 0.17, however, I get the following error message:
PS I:\site> hugo server --buildDrafts
Started building sites ...
panic: Node with ID "taxlist--0" in use

goroutine 1 [running]:
panic(0xa19840, 0xc042370740)
        /usr/local/Cellar/go/1.7.1/libexec/src/runtime/panic.go:500 +0x1af
github.com/spf13/hugo/hugolib.(*Site).getOrAddNode(0xc0420022c0, 0xc042370720, 0xa, 0x1, 0x2)
        /Users/spf13/gopath/src/github.com/spf13/hugo/hugolib/site.go:2228 +0x79e
github.com/spf13/hugo/hugolib.(*Site).nodeLookup(0xc0420022c0, 0xc042370700, 0x8, 0x0, 0x1, 0xc042370700)
        /Users/spf13/gopath/src/github.com/spf13/hugo/hugolib/site.go:2264 +0x165
github.com/spf13/hugo/hugolib.(*Site).renderListsOfTaxonomyTerms(0xc0420022c0, 0x1, 0x0, 0x0)
        /Users/spf13/gopath/src/github.com/spf13/hugo/hugolib/site.go:1882 +0x1ca
github.com/spf13/hugo/hugolib.(*HugoSites).preRender(0xc0420123c0, 0x101, 0x0, 0x101, 0x0, 0x1b)
        /Users/spf13/gopath/src/github.com/spf13/hugo/hugolib/hugo_sites.go:419 +0xd1
github.com/spf13/hugo/hugolib.(*HugoSites).Build(0xc0420123c0, 0x101, 0x0, 0x1b, 0x0)
        /Users/spf13/gopath/src/github.com/spf13/hugo/hugolib/hugo_sites.go:225 +0x205
github.com/spf13/hugo/commands.buildSites(0x1, 0x0, 0xa)
        /Users/spf13/gopath/src/github.com/spf13/hugo/commands/hugo.go:666 +0xf7
github.com/spf13/hugo/commands.build(0xc0424a3a9e, 0x1, 0x1, 0xc042332450, 0xc042332450)
        /Users/spf13/gopath/src/github.com/spf13/hugo/commands/hugo.go:467 +0xa0
github.com/spf13/hugo/commands.server(0xe48d20, 0xc0422bdbf0, 0x0, 0x1, 0x0, 0x0)
        /Users/spf13/gopath/src/github.com/spf13/hugo/commands/server.go:164 +0x4e6
github.com/spf13/hugo/vendor/github.com/spf13/cobra.(*Command).execute(0xe48d20, 0xc0422bdbd0, 0x1, 0x1, 0xe48d20, 0xc04
22bdbd0)
        /Users/spf13/gopath/src/github.com/spf13/hugo/vendor/github.com/spf13/cobra/command.go:599 +0x23b
github.com/spf13/hugo/vendor/github.com/spf13/cobra.(*Command).ExecuteC(0xe475c0, 0xb63300, 0x40e514, 0xe503d0)
        /Users/spf13/gopath/src/github.com/spf13/hugo/vendor/github.com/spf13/cobra/command.go:689 +0x36e
github.com/spf13/hugo/commands.Execute()
        /Users/spf13/gopath/src/github.com/spf13/hugo/commands/hugo.go:174 +0x74
main.main()
        /Users/spf13/gopath/src/github.com/spf13/hugo/main.go:26 +0x39

If I change my config.toml file to:
[taxonomies]
  category = "categories"
  tags = "tags"

Then Hugo 0.17 generates my site fine:
PS I:\site> hugo server --buildDrafts
Started building sites ...
Built site for language en:
10 of 10 drafts rendered
0 future content
0 expired content
18 pages created
0 non-page files copied
0 paginator pages created
4 categories created
0 tags created
total in 90 ms
Watching for changes in I:\site\{data,content,layouts,static,themes}
Serving pages from memory
Web Server is available at http://localhost:1313/ (bind address <IP_ADDRESS>)
Press Ctrl+C to stop

Can I still disable tags and category pages in Hugo 0.17? I'd really like to because I use Hugo not as a blog, and so have no need for tag/category pages.
Thanks,

Can I still disable tags and category pages in Hugo 0.17?

This is a regression that will be fixed, but not for 0.17.

This is a regression that will be fixed, but not for 0.17.

I understand that. Thanks Bep.

What you can try is to just use some dummy, but unique names for the taxonomies:
[taxonomies]
  category = "n1"
  tags = "n2"

Thanks Bep, that indeed suppresses the generation of tags and category pages ("0 n1 created" and "0 n2 created").
PS I:\site> hugo server --buildDrafts
Started building sites ...
Built site for language en:
10 of 10 drafts rendered
0 future content
0 expired content
18 pages created
0 non-page files copied
0 paginator pages created
0 n1 created
0 n2 created
total in 85 ms
Watching for changes in I:\site\{data,content,layouts,static,themes}
Serving pages from memory
Web Server is available at http://localhost:1313/ (bind address <IP_ADDRESS>)
Press Ctrl+C to stop

So for people with the same issue: using a dummy, unique name different from "categories" and "tags" is a viable workaround.

I suggest we just add a new flag:
DisableTaxonomies = false

Sounds like a good idea to me. Perhaps the Hugo output can then also be cleaned up. Meaning, when DisableTaxonomies is set to true, then Hugo doesn't have to print..
0 categories created
0 tags created

..each time the site builds.
Would such a flag also affect the usability of categories? (Like in the front matter and when using functions like where) Because I do use categories to organise my content and to generate ordered lists of content; it's just that I have no need for category and tag pages.

Hugo doesn't have to print

Agree.

#2649 fixes it, but the idea of disableTaxonomies flag is really cool.

#2649 fixes it

No it doesn't, it does not provide a way to "turn off" thing.
This is still useful. But it would be great if we agreed on the naming standard, because we probably add some more, eventually.
If we use the Kind type we will get a pretty nice and general solution.
So if we could have a disableKinds = ["taxonomy", "home", "RSS"] etc.
Totally not sure about the name of that config var.

I mean, it fixed the occurred panic, but yes it doesn't disable this stuff

Fleshing out the disableKinds idea.

Add disableKinds option as pflag/viper StringSlice
Allowed options: home, taxonomy, rss, sitemap, 404
Default value: robots
Deprecate disable404, disableRSS, disableSitemap
Keep enableRobotsTXT since it's disabled by default.  If we tried to roll it in here, the default would be disableKinds = [ "robots" ] which could trip people up if they forgot that when trying to disable something else.

Disable Sitemap & 404
disableKinds = [ "sitemap", "404" ]

hugo --disableKinds sitemap,404

Help Message
      --disableKinds            Disable certain kinds of pages (home, taxonomy, rss, sitemap, 404)
or
      --disableKinds            Disable certain kinds of pages

Comments
Internally, I think we'd want to add bools to our global site context or ConfigProvider (if we go that route) so that it would be easy to do if siteConfig.GetBool("disableSitemap") without having to interact with a slice each time.

@moorereason that looks mostly very good. But I think we should just add all Kind types to that list, including robots and section; those may be funky, but if people want to shoot themself in the foot, let them. I kind of appreciate a construction ala this without too much special cases:
renderPage(p *Page) error {

    if isDisabled(p.Kind) {
       return nill
    }
}

I think the value of this will be more visible when we start to add a matrix of output files per Kind.

@bep , you mentioned above that Hugo doesn't need to print when kinds are disabled. Has that feature be implemented with disableKinds?
I'm asking because with the following in config.toml
disableKinds = ["section", "taxonomy", "taxonomyTerm"]

[taxonomies]
  category = ""
  tags = ""

I still get the following messages:
Started building sites ...
Built site for language en:
14 of 14 drafts rendered
0 future content
0 expired content
401 regular pages created
1 other pages created
1 non-page files copied
0 paginator pages created
0  created
0  created
total in 1899 ms

But as we discussed above, this "0 created" and "0 created" is redundant. Should this be dropped?

PS I:\site\website> hugo env
Hugo Static Site Generator v0.19 windows/amd64 BuildDate: 2017-02-27T12:36:30+01:00
GOOS="windows"
GOARCH="amd64"
GOVERSION="go1.8"

Please use http://discuss.gohugo.io/ for questions/troubleshooting.


Problem with cocoapods

Your cocoapods project is still in swift 2. When will you update? please respond because I need to use your library for my project.

Fixed.

Did you build "reddift" library by using cocoapods?
I wondered that reddift documents at cocoapods have not been updated....


Issue 16 exptree

Fixes #16
Type of change

[x] New feature (non-breaking change which adds functionality)

Key checklist:

[x] No style issues: $ flake8
[x] All tests pass: $ python run-tests.py --unit
[x] The documentation builds: $ cd docs and then $ make clean; make html

You can run all three at once, using $ python run-tests.py --quick.
Further checks:

[x] Code is commented, particularly in hard-to-understand areas
[x] Tests added that prove fix is effective or that feature works
[ ] Any dependent changes have been merged and published in downstream modules

Codecov Report

Merging #24 into master will increase coverage by 0.8%.
The diff coverage is 94.85%.

@@            Coverage Diff            @@
##           master      #24     +/-   ##
=========================================
+ Coverage   91.54%   92.35%   +0.8%
=========================================
  Files          13       23     +10
  Lines         544      719    +175
=========================================
+ Hits          498      664    +166
- Misses         46       55      +9

Impacted Files
Coverage Δ

pybamm/expression_tree/scalar.py
100% <100%> (ø)

pybamm/expression_tree/array.py
100% <100%> (ø)

pybamm/expression_tree/vector.py
100% <100%> (ø)

pybamm/expression_tree/variable.py
100% <100%> (ø)

pybamm/expression_tree/binary_operators.py
100% <100%> (ø)

pybamm/expression_tree/parameter.py
100% <100%> (ø)

pybamm/expression_tree/unary_operators.py
85.71% <85.71%> (ø)

pybamm/expression_tree/domain.py
85.71% <85.71%> (ø)

pybamm/expression_tree/matrix.py
91.66% <91.66%> (ø)

pybamm/expression_tree/symbol.py
92.5% <92.5%> (ø)

... and 10 more

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 67c4cc2...a6489d1. Read the comment docs.

Can we change to evaluate(self, t, y) for full generality? Some objects will need to see t (e.g. current function might be time-dependent)


"--profile" is not included in bash completion script

VS Code Version: 1.82.2
OS Version: openSUSE Tumbleweed

Steps to Reproduce:

Open a bash prompt (outside of VS Code)
Type "code --prof"
Press Tab

Expected result:
Bash completion would show both "--profile" and "--prof-startup" as possible choices.
Observed result:
Bash completion picks "--prof-startup" automatically.
I notice that the file "resources/completions/bash/code" doesn't include "profile" at all, so I suspect that is the problem. Thanks!

Looking in "resources/completions/zsh/_code" I suspect the same problem happens in zsh, but I don't have that installed to test.


AQCU-843: Made appearance of * and ** in report header dynamic based …

…on if it is included in the report or not.

Coverage increased (+0.03%) to 88.344% when pulling 91f1a42d0cdfa61cdef6eed73d32c13d6de43e1d on zmoore-usgs:feature/dynamic-legend into a14f75b70fee51325f1cb0eecf05c8190b9af512 on USGS-R:master.

Coverage increased (+0.03%) to 88.34% when pulling 1f6d2b72f90300b0c6fa33d53034fb1d3bb4f786 on zmoore-usgs:feature/dynamic-legend into a14f75b70fee51325f1cb0eecf05c8190b9af512 on USGS-R:master.


[DOC SUGGESTION]: error 404

Doc Page Links
https://toolkit.spatial.io/docs/components/trigger-event
Explain Suggestion
at the bottom of the page the hyperlink for Synced Animator lead us to an error 404 page
Code Suggestion
No response
Contribution Credit
No response
Spatial.io handle
No response
Discord handle
No response

Thanks for letting us know! This link will be fixed soon. Here is the correct link to the Synced Animator docs:  https://toolkit.spatial.io/docs/multiplayer/synced-animator


[AI Generated] Select Mental Health as Primary Focus and Develop Short-Term Plan

[AI Generated]
Overview
Based on the research conducted on current issues, mental health has been selected as the primary focus area due to its high feasibility, potential impact, and strong alignment with our values.
Detailed Short-Term Plan

Develop Partnerships: Collaborate with organizations like Mental Health America (MHA) and the American Psychological Association (APA).
 Implement content filtering for misinformation and bias.
Awareness Campaigns: Utilize social media and educational platforms to raise awareness. Develop resources for educators and parents to support youth mental health.
Support Services: Develop tools to provide access to mental health services. Create resources to help individuals navigate mental health systems.
Ethical and Safety Checks: Ensure all initiatives comply with ethical guidelines and safety constraints. Regularly validate mechanisms through expert reviews and user feedback.

Tasks Completed

Conducted research on current issues in mental health, economic inequality, climate emergency, humanitarian crises, and global health.
Evaluated feasibility, potential impact, and alignment with values for each focus area.
Selected mental health as the primary focus area.
Developed a detailed short-term plan to address mental health issues.

Next Steps

Develop partnerships with mental health organizations like MHA and APA.
Create a knowledge ingestion pipeline for mental health resources.
Plan and execute awareness campaigns on mental health.
Develop tools and resources to provide access to mental health services.
Integrate ethical and safety checks into all initiatives.

Rejecting for lack of data-driven reasoning.


report 2 - how many requests closed per week by organization / dept

linked to #42

this issue referring #40