Is there still a requirement for running the commands from the AzureADPreview module?

The doc states that
"If you haven't installed any version of the Azure AD PowerShell module before, see Installing the Azure AD Module and follow the instructions to install the public preview release.
If you have the 2.0 general availability version of the Azure AD PowerShell module (AzureAD) installed, you must uninstall it by running Uninstall-Module AzureAD in your PowerShell session, and then install the preview version by running Install-Module AzureADPreview."
==> Given the maturity of the AzureAD module, is there still a need to install and run the commands form the AzureADPreview module?

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

ID: 6e00be85-c1bd-bfd9-e09b-78fea811f864
Version Independent ID: bdfb2aad-6aa8-76a8-46cf-1603f8255df4
Content: Prevent guests from being added to a specific group
Content Source: microsoft-365/solutions/per-group-guest-access.md
Product: microsoft-365-enterprise
GitHub Login: @MikePlumleyMSFT
Microsoft Alias: mikeplum

@MacKender Thank you for your feedback. Yes, from testing and conversation with the product group there is still a requirement for Azure AD preview to be installed(latest version recommended) to change the group-level guest access setting.
Hope this helps!
Thanks
Sri

@msbemba Thank you very much for the contribution and sharing this explanation. @MacKender Hope this comment is helpful for you. If you see a documentation update is required, please feel free to open an issue for the same. We proceed here to close it. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


Fix #9151 - smtp logger configuration sendTos should be an array

The settings code for managing smtp configuration is incorrect and should generate an array of email addresses. This fixes this problem.
Fix #9151

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@802aa6d). Click here to learn what that means.
The diff coverage is 0%.

@@            Coverage Diff            @@
##             master    #9154   +/-   ##
=========================================
  Coverage          ?   41.02%
=========================================
  Files             ?      553
  Lines             ?    72022
  Branches          ?        0
=========================================
  Hits              ?    29546
  Misses            ?    38742
  Partials          ?     3734

Impacted Files
Coverage Δ

modules/setting/log.go
70.64% <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 802aa6d...36b36ad. Read the comment docs.

Please send back port.

@lunny label backport done : https://github.com/go-gitea/gitea/pull/9157


More Info around SMS_WinPEPeerCacheConfig

Please provide more information how to configure SMS_WinPEPeerCacheConfig for a specific client setting.
I cannot find anything on the internet how the WMI Class can be used.
In my point of view, these settings should be configurable in the console directly

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

ID: b29b8c8d-60fa-4403-29a7-8e7c61b2f638
Version Independent ID: c7610ca2-5607-d1fe-f629-9d0614a26569
Content: Client Peer Cache - Configuration Manager
Content Source: sccm/core/plan-design/hierarchy/client-peer-cache.md
Product: configuration-manager
Technology: configmgr-other
GitHub Login: @aczechowski
Microsoft Alias: aaroncz

Thanks @Stroell for the feedback. We unfortunately have a large backlog of work for the PowerShell & SDK content, but are looking at ways to improve it in the future.
Regarding your last point on being configurable in the console, please share product feedback on that.

Thanks again for the feedback. We recently moved this content to a new GitHub repository, so this issue is no longer tracked with the original article. As part of that process, we reviewed our backlog of feedback, and made some tough decisions on items that we don't think we'll realistically ever address. If you're passionate about this specific feedback, please refile it on the current article, now under docs.microsoft.com/mem/configmgr.


Terminal-plus won't work on atom 1.0.19

@cheunghy If you click Rebuild Packages it should work after that.

It works, Thanks.
By the way, what's the causing?

@cheunghy Atom thinks the package will stop working on the latest update. It disables the package until you tell Atom to rebuild it for the latest version.

Is there any way to make it work without clicking Rebuild Packages?

It works without clicking it, Atom just wont enable it unless you click Rebuild Packages. You can uninstall the package and reinstall it to avoid this but that takes more time.

Closing this issue as it has been solved.

Thanks


Make version required for modifications

If/when PR https://github.com/BenjaminPelletier/DiscoveryAndSynchronization/pull/3 is merged, we will need to make version required for modification.

I think I fixed this with https://github.com/steeling/InterUSS-Platform/commit/d7266a2d6f68f0b4ae6bfe3e579a7a8e0bbcbea9


AlertBlock content not rending properly

Hi,
I was trying the new version and it seems that the paragraphs within the AlertBlock are not being rendered.
How to reproduce
Markdown example
> [!NOTE]
> Highlights information that users should take into account, even when skimming.
>
> Testing rendering for multiple lines
>
> `Inline code testing`
>
> Other line
>
> > Nested quote
> >
> > Final nested quote line
>
> Final line of alert

Expected:

[!NOTE]
Highlights information that users should take into account, even when skimming.
Testing rendering for multiple lines
Inline code testing
Other line

Nested quote
Final nested quote line

Final line of alert

HTML rendered result

<svg viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm8-6.5a6.5 6.5 0 1 0 0 13 6.5 6.5 0 0 0 0-13ZM6.5 7.75A.75.75 0 0 1 7.25 7h1a.75.75 0 0 1 .75.75v2.75h.25a.75.75 0 0 1 0 1.5h-2a.75.75 0 0 1 0-1.5h.25v-2h-.25a.75.75 0 0 1-.75-.75ZM8 6a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z"></path></svg>Note

Highlights information that users should take into account, even when skimming.

When debugging, I noticed that the paragraph block, when was being rendered, the ContainerInline is null, and that way, the paragraph is not rendered:

Thanks for the repro, indeed, it's not working at all 😅
The issue is in ProcessInlines.ProcessInlines that maintain the stack of the blocks being processed, as we are changing from an inline expansion the parent block, the loop doesn't pick-up the new parent, and as we removed all children from the QuoteBlock (replaced by an AlertBlock), then it exists the loop (and doesn't process the AlertBlock because it is not a parent)
Gonna have to think about how to proceed. e.g It might not be a good idea to change the structure of blocks while parsing inlines.

Temporary fix 6549d3b726b32146f3025204abb3bfeec53e3c1c until this is revisited. The fix is not ideal, so for now I kept the code internal.

Temporary fix 6549d3b until this is revisited. The fix is not ideal, so for now I kept the code internal.

I'll also take a look into it. Thank you once again 🙇


[Feature request] The default background color for the badge-source styling makes it too visible and the contrast is not great.

https://github.com/coveo/ui-kit/blob/353f3b7e74cfe6712ac0335611c8650e933358f1/packages/samples/stencil/src/components/search-page/template.html#L14C31-L14C31
I propose updating the background color for the source badge to have a better contrast:
.badge-source::part(result-badge-element) {     background-color: #c0c0c0;   }
The color #eeeeee seems like a good fit.

@lgcarrier Thanks for the proposal. Do you know if this would also improve accessibility (as reported by tools such as axe e.g.)

Stale


adding tests for duplicate entries in header

Heya @ilmagico, I think that this will add the appropriate tests for the things that you are fixing.  Can you verify and edit if necessary?  Thanks!

@GodloveD I already added tests in #1 for that issue, but I added them to 39-deffile.sh instead ... should I move them to 20-build.sh?
In any case, my understanding is that your test case would actually not trigger the bug, it would simply end up with a spurious key #From with the same value as From. To trigger the issue, something like
Bootstrap: shub
#From: GodloveD/busybox
#From: GodloveD/lolcow

would do it. Value can be same or different, but the code would see two #From keys. But again, can you review my tests in 39-deffile.sh, and let me know if they should be in a different place?

Whoops.  Should have had a closer look at your PR before sending in one of my own.  Yes 39-deffile.sh is probably a better place for these changes.  Closing.  Thanks!


Write a roadmap of the project

[Suggestion]
This is not really to write a full blown roadmap.
I want some order in the development, what features should be implemented and their priority.
Let's say we want to implement following data types: int, float, char.
We can then say this is the order of importance:

char
int
float

With something like this model, if a feature is to be implemented, we can be all aware of what to do.
This is a contrast of what we are doing now.
All the opinions are welcome

I Suggest we should move forth to development of classes.


Should this be a plus sign?

https://github.com/philferriere/tfoptflow/blob/bdc7a72e78008d1cd6db46e4667dffc2bab1fe9e/tfoptflow/core_warp.py#L194

@ruizengalways I also wonder about this

This has been discussed in this previous issue #6.

I believe a plus is required here. What we need is the remap image from image2. so we need + rather than a "-".
Besides, we can warp an image pair using the flow, the minus way generates bad result of alignment, but the plus one really align the images.
see this comment


Losing When Expressions converting from v1beta1 to v1alpha1

Expected Behavior
All of the fields in a v1beta1 document are "round-trippable" through older versions like v1alpha1 without losing any data.
Actual Behavior
We lose certain fields that had no representation in the older v1alpha1 version when converting down from v1beta1.  If a stored v1beta1 document has WhenExpressions, for example, then fetching the doc as v1alpha1 will drop those WhenExpressions from the returned data. Applying that returned document back to the cluster would result in the original stored v1beta1 resource being overwritten with a version that does not have WhenExpressions.
Steps to Reproduce the Problem

k get pipeline.v1alpha1.tekton.dev -o yaml <name of pipeline with when expressions> > test.yaml
Edit test.yaml to remove UID and any other server-generated fields
k apply -f ./test.yaml
k get pipeline.v1beta1.tekton.dev -o yaml <name of pipeline with when when expressions> | less
Notice that the when expressions have been lost from the pipeline.

Additional Info

Kubernetes version:

Client Version: version.Info{Major:"1", Minor:"20", GitVersion:"v1.20.2", GitCommit:"faecb196815e248d3ecfb03c680a4507229c2a56", GitTreeState:"clean", BuildDate:"2021-01-13T13:28:09Z", GoVersion:"go1.15.5", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.1", GitCommit:"206bcadf021e76c27513500ca24182692aabd17e", GitTreeState:"clean", BuildDate:"2020-09-14T07:30:52Z", GoVersion:"go1.15", Compiler:"gc", Platform:"linux/amd64"}

Tekton Pipeline version:

v0.21.0

Could we avoid storing the status if possible?

Could we avoid storing the status if possible?

I'm not sure we can - if we returned a PipelineRun's YAML without the status and the user re-applied that against a cluster they would have lost information I think.

Moving this to 0.24 because it's not clear to me yet that https://github.com/tektoncd/pipeline/pull/3854 is the way to go.


Signature of inherited dataclass does not include subclass field

Initial Checks

[X] I confirm that I'm using Pydantic V2

Description
Hello, I found that the signature of inherited dataclass seems to have only its superclass fields.  Is this expected behavior at pydantic v2?  Due to this, FastAPI seems to ignore the subclass field value.
Example Code
from pydantic.dataclasses import dataclass

@dataclass
class A:
    a: int

@dataclass
class B(A):
    b: int

# In [4]: B.__signature__
# Out[4]: <Signature (a: int) -> None>  # "b: int" is missing

Python, Pydantic & OS Version
pydantic version: 2.4.2
        pydantic-core version: 2.10.1
          pydantic-core build: profile=release pgo=false
               python version: 3.9.13 (main, Sep 17 2022, 22:53:18)  [Clang 14.0.0 (clang-14<IP_ADDRESS>)]
                     platform: macOS-13.6-arm64-arm-64bit
             related packages: email-validator-2.0.0.post2 pydantic-extra-types-2.1.0 mypy-1.3.0 typing_extensions-4.8.0 fastapi-0.104.0 pydantic-settings-2.0.3

Hi @shinaji,
Thanks for reporting this. Looks like a bug with the pydantic dataclass signature generation. I've marked this with the good first issue tag, if anyone wants to help!

This should be helpful:
https://github.com/pydantic/pydantic/blob/f645f196b063843865b34bd696e4b85bae9c034c/pydantic/_internal/_dataclasses.py#L188-L193

@sydney-runkle I've contributed a fix in a PR. Not sure how exactly to assign a reviewer though.

@howsunjow awesome, thanks! I just submitted a review. Thanks for your contribution 👍 ⭐


Update Storage Policies

Proposed changes:

Update Storage Policies based on Terraform tests
Add corp mg
Add cloud native MG

Structure looks good:


Hardcoded Credentials in Docker Image superagidev/superagi:main

⚠ Check for existing issues before proceeding. ⚠

[X] I have searched the existing issues, and there is no existing issue for my problem

Where are you using SuperAGI?
Linux
Which branch of SuperAGI are you using?
Main
Do you use OpenAI GPT-3.5 or GPT-4?
GPT-3.5
Which area covers your issue best?
Installation and setup
Describe your issue.
The Docker image superagidev/superagi:main contains hardcoded credentials and host name. Particularly concerning is the database password which is set as "password". This design restricts users from setting their own security credentials.
Expected Behavior:
The Docker image should not contain any hardcoded credentials, allowing users to specify their own, especially for security-sensitive components like database passwords.
Workaround:
For now, users can create a copy of the affected configuration file and bind it as a volume in the Docker Compose setup.
volumes:
      - "./alembic.ini:/app/alembic.ini"

See error log:
psycopg2.OperationalError: could not translate host name "super__postgres" to address: Temporary failure in name resolution

How to replicate your Issue?
To reproduce the issue, follow the steps in the instructions at: https://hub.docker.com/r/superagidev/superagi.
Before starting, replace the database connection credentials with your own in  docker-compose.yaml and config.yaml.
Upload Error Log Content
psycopg2.OperationalError: could not translate host name "super__postgres" to address: Temporary failure in name resolution

Hi @dotnetautor
thanks for reporting this.
I'll fix this asap


Add failing test case to keep entities in sax parsers

Could you please help me getting this test to pass? cc/ @tenderlove

Hi @tenderlove, I think I understand what this issue is all about. libxml2 provides the getEntity callback but Nokogiri doesn't expose it. If it exposed I could override the default behavior to simply return the raw data so that it would be passed to the characters callback. Here's what Nokogiri currently supports:
https://github.com/sparklemotion/nokogiri/blob/master/ext/nokogiri/xml_sax_parser.c#L266-L278
Here's the missing callback function:
https://github.com/GNOME/libxml2/blob/master/include/libxml/parser.h#L725
This article explains how getEntity works (see "The getEntity Callback" section):
http://www.jamesh.id.au/articles/libxml-sax/libxml-sax.html#entities

You may have been wondering how entities (eg <, etc) are handled by the SAX interface. This is done by the getEntity callback...  After calling getEntity, the expansion of the entity is passed to the characters callback. This way, you do not need to worry about decoding entities anywhere else in your callback routines.

The default implementation seems to check for either ctxt->validate or ctxt->replaceEntities, so maybe setting replaceEntities to true is not enough if ctxt->validate is true.
Maybe it would be simpler if Nokogiri could simply add the getEntity callback available to the SAX parser so that we could override the default behavior to simply return the raw string. I've only searched through the sources and documentation, but I don't actually know how to implement this, so maybe what I'm saying is non-sense?

@rosenfeld I've made an attempt to get this to work; unfortunately I can't quite get it to work correctly with either libxml2 or xerces.
feature branch is flavorjones-sax-parser-replace-entities, which you can see here
Any thoughts? If you've got bandwidth, I'd love for you to look into finishing this work.

Hi @flavorjones. I do have bandwidth, this is not the problem. Time is the problem. I currently don't have time to work on my off hours since I have two little girls that demand all my attention when I'm not working. I'd love to spend some time during my work investigating this issue and trying to get it working into Nokogiri, but to be honest, there are currently so many items in our backlogs that I suspect it will be a long time before I'm able to work on this.
All of that is new to me, which means it will take me several days at best to understand the pieces. I have never used libxml2 before, I have little knowledge about XML in general, I have never worked on C-extension gems before and after checking the documentation for libxml2 it seems there's not much there regarding entities substitutions in SAX parsers either. That means, I'll need some time to read through libxml2 source to understand how it works, try to get some simple C-only program to try that replaceEntities option (which may force me to understand libxml2 internal source), learn how Nokogiri uses libxml2, then finally debug what is needed to get it to work as expected. All of this sounds like very interesting work actually to be honest and I'd love to do that. But I don't think I'll have that much free time during my work time for a few months at least... I spent the past few hours having a glance over libxml2 docs and source, Nokogiri sources, and some other xml sax parsers for Ruby and I think I have now a better idea on how much time will be required for me to focus on this.
I just wanted you to know that I really appreciate your effort on this feature and that I do intend to help with that, but I just wanted to warn you that it can take a long time. It doesn't mean I forgot about this issue, this is all I wanted you to understand.
Thank you very much for this branch, I hope I can find some time to finish this work some day.

I've rebased my branch and re-pushed it to 1500-sax-parser-replace-entities for potential further investigation

See related #1926

As part of my work in #1926, I investigated entity handling and documented its behavior in #3265. Here's a screenshot of the docs:

As you can see, character references and predefined entities will always result in a callback to #characters with the replacement text. This is just how the underlying parsers (libxml2 and xerces) behave.
Sorry it took so long to explain this, and I hope this is helpful.


Switch to capi calling convention

See: https://www.haskell.org/ghc/blog/20210709-capi-usage.html

Unclear how to do this for foreign import ccall "dynamic", so I'm closing for now.


DejaGnu: Handle the differing keys in SystemTap results

Some keys have a number in parentheses, but the testcase is the same

Nope, we can throw away the PIDs


Unlock code for software version V798MLA

Hi,
Found a new unlock-code.
Cluster: 7D0 920 800 F (VDO V01)
Code:
Unlock code for software version V798MLA $00 $01  is  02 03 05 09
Kind regards

Thanks! I've checked in a fix and it will be in the next release.


Full support for native integer types

Any chance you plan on adding full support for all the native/C integer types?
These are important for things like drivers for binary protocols.
(Specifically, I am thinking about writing an OrientDB binary client in Zephir, for which I would need basically every type of integer you can think of; both signed and unsigned 8/16/32/64-bit types)

In my opinion. It's not the main priority but soon it can be implemented
You can use cblocks and optimizers for it


Added functionality for sending named debug values

I can't get fcu_io to connect with the naze when I'm passing the named value stuff across.  Can you take a look at the most recent commit on this branch, and tell me if I'm doing something wrong?

I did test it before pushing and was able to send named value messages at 10Hz no problem, faster probably would've worked too, I just didn't try.
My best guess is that your fcu_io2 version is out of sync. Did you

Checkout the mavlink_debug branch?
After checking it out run git submodule update to bring the mavlink library version up to date? The submodule commit on the master branch has old message definitions.

Let me know if that helps or not.

Both of those things have been done.  I actually pushed the updated mavlink into the branch

Okay, it looks like I was going too fast.  It can handle 100 Hz okay without messing up anything else, any faster than that and the other mavlink messages slow down.


wrong message in logs when include-profile-specific-sources=false

Describe the bug
When setting the property include-profile-specific-sources=false, you still get a message in the log config-map with name : xxx-profiles not found in the namespace.
Sample
This is purely cosmetic as the behavior of the system works as expected, but the message in the log is confusing

isn't that with warn level, though? It helps us understand issues when they are raised btw, that is why we need it.

No, it's Info level. My understanding is that with the property is true, the app will look for confignames having names matching

appName
appName-profile1
appName-profile2
etc

With this property set to false, it should only look for an exact match. Therefore, I should not come up in the logs imho.

This has been fixed/updated in latest main branch, looks here.
We will be logging everything in debug mode only. imho, this ticket can be closed, but the code is not yet released...

@ryanjbaxter  mentioned in a PR that there are no plans to do one more release of the 2.1.x branch, but this is not an issue anymore in the 3.0.x (as I pointed out in the comment above), so, imho: this can be closed.

We will release the 2.1.x branch but not 2.0.x

We will release the 2.1.x branch but not 2.0.x

oh! thank you for this.

I took a bit of time to look in the code to remember how it looks like in 2.1.x branch and I don't understand how this would be possible. Both clients have such a check: if (environment != null && includeProfileSpecificSources) { ... } and only then we will be reading the profile based config map.
@jbkervyn can you provide the exact version and logs that you use/see? Even better would be a minimal example for me to reproduce this issue, otherwise I can't do much here :(

I can't reproduce it anymore. We are now using 2.1.3, and this looks fine there.

Lovely! Thank you for getting back


Auto-format all files with yapf Google style.

See https://github.com/google/yapf for more information.
Closes #21

I'm going to assume all the tests still pass. lgtm.

The unit tests pass, but I'm going to wait until the full test suit is fixed, just in case (see #26).

@awbraunstein This is ready for another look

I've adjusted all comments and docstrings to 80 chars.  I've left the update as a second commit but will rebase before merging.

I've gone ahead and squashed the commits.

lgtm!! :panda_face:


convert to c++ with frugally-deep

I want to convert yolo  to c++ version with frugally-deep
 so I need to convert model outputs to produce boxes and confidences and classes.
I know network has 3 outputs with shapes: {[13 13 255] , [26 26 255], [52 52 255]}.
I tried to re-code yolo_eval  method in model.py but I stuck in line : input_shape = K.shape(yolo_outputs[0])[1:3] * 32 .
what is it?
and why multiplication by 32 ?

Because 13x32=416, the input shape. In other words, the input size is
reduced by a factor of 32 after going through the darknet53.
On Sat, Sep 28, 2019, 6:05 AM Ali Massah Kaini<EMAIL_ADDRESS>wrote:

I want to convert yolo to c++ version with frugally-deep
https://github.com/Dobiasd/frugally-deep so I need to convert model
outputs to produce boxes and confidences and classes.
I know network has 3 outputs with shapes: {[13 13 255] , [26 26 255], [52
52 255]}.
I tried to re-code yolo_eval method in model.py but I stuck in line : input_shape
= K.shape(yolo_outputs[0])[1:3] * 32 .
what is it?
and why multiplication by 32 ?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/qqwweee/keras-yolo3/issues/559?email_source=notifications&email_token=AFSNTULJT52LBHDINSIDM6TQL4T7NA5CNFSM4I3NRZT2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HOJTVIA,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFSNTUNPYZPB73QQZXA3KZTQL4T7NANCNFSM4I3NRZTQ
.

thanks @datduonguva.


lib/os: winstream: properly include string.h for memcpy

If system memcpy() is used, assert.h must be included. Fixes
a build warning on undeclared use of memcpy.
Signed-off-by: Kai Vehmanen<EMAIL_ADDRESS>

@andyross wrote:

Though I'm a little worried that you're hitting this as it means you're using the libc memcpy, which won't work in early boot before the general .text section is copied into SRAM.

No worries, this is not used in default builds. I was just playing with this option locally while debugging perf issues.


new view works when using get method, but doesn't work when using post method with 400 bad request error.

When I use flask, both get method and post method work very well. but when I change to flask-user 1.0, only the get method work, all the views requested from post method didn't work. What's wrong?
Here are code:
in main_views.py:
@main_blueprint.route('/main/test', methods=['GET', 'POST'])
def test_page():
    print("***** request is ", request)
    return redirect(url_for('main.home_page'))

in the html file:
 <form action="/main/test" method="post" id="test">
    <input type="text" class="form-control" name="address">
    <button type="submit" class="btn">Submit</button>
 </form>

If method="get" it worked well, if method="post" then got Bad Request error.
Please help. Thanks.

Sorry the code was missing, I re-post the code:
@main_blueprint.route("/hello")
def hello():
return ''
@main_blueprint.route("/main/echo", methods=['GET', 'POST'])
def echo():
return "You said: " + request.form['text']

Here are code:
in main_views.py:
@main_blueprint.route('/main/test', methods=['GET', 'POST'])
def test_page():
print("***** request is ", request)
return redirect(url_for('main.home_page'))
in the html file:

Submit

anybody can help?

Is this still a problem?


Add ability to evict blocks of open files to lower storage tiers

Is your feature request related to a problem? Please describe.
Currently if you load a single file that is larger than your T0 cluster capacity (for example: 70GB, 10GB per worker, 7 workers), then the write will never end (eventually timing out) and the workers will loop with the same error in #9796.
SpaceReserver failed to free $(workerMEMCapacity*lowWaterMarkRatio) bytes on tier MEM for high watermarks: Failed to find an eviction plan to free $(workerMEMCapacity*lowWaterMarkRatio) bytes space at location MEM

This also happens if your blocks aren't distributed evenly across the cluster and one of your workers reach 100% MEM capacity.
A workaround is to split your large files into smaller parts and work with them individually (open bigfile-part1, do what you need to do, close bigfile-part1, open bigfile-part2, etc)
Describe the solution you'd like
Have the ability to evict blocks that are a part of an open file from T0 to T1.
This would lead to inconsistent R/W speeds when specific blocks are being R/W and a lot of swapping between T0 and T1, but at least your entire Alluxio stack won't fall over.
Describe alternatives you've considered
Splitting bigfile into bigfile-part1, bigfile-part2, bigfile-partN is a possible workaround.
Urgency
Not very urgent. Would be a nice feature (or config flag that can be set)

This also happens if you use alluxio.user.file.write.tier.default=1 and then try to read bigfile from Alluxio.
The blocks from bigfile will be CACHE_PROMOTED from T1 to T0 before it is served, if bigfile is too big (>maxT0Capacity), then the same as above will happen.


Distributed management and deployment

Create distributed management and deployment capabilities

Create dmon-logstash specific resoources:
/v2/overlord/core/ls/hosts/<HOST_FQDN/deploy -> deploys dmon-logstash service on host
/v2/overlord/core/ls/hosts/<HOST_FQDN>/configure -> send json for config generation
/v2/overlord/core/ls/hosts/<HOST_FQDN>/{start|stop|halt} -> start and stop or hard stop
/v2/overlord/core/ls/hosts/status -> returns status of each host of dmon-logstash
Also add
/v1/overlord/core/ls/{start|stop|halt} -> starts stops or halts (force stop) local deployment of logstash.

Need to move generated public key to target nodes. Check if can store in SQLite.

Use from Crypto.PublicKey import RSA to generate keys and store them in SqlLite.


Uncaught (in promise) TypeError: Cannot read property 'text' of undefined at n.renderSelectedItems (DropdownFilterBarItem.js:98)

The page is failing to load with error: Uncaught (in promise) TypeError: Cannot read property 'text' of undefined at n.renderSelectedItems (DropdownFilterBarItem.js:98).  The following line is failing when selection.value[0].beginIndex = -1.  This is typically the case when there is no selection in the dropdown.
var selectedText = items[selection.value[0].beginIndex].text || "";

@webbermt thanks for reporting this. I will work on this issue in the future releases.

@webbermt - would you mind to provide a few more details to help me to troubleshoot/simulate this issue?

Are you using Azure DevOps Services (Cloud) or Server?
Is there any other additional console error?

Thank you

I'm using Azure DevOps Services (Cloud).
 I've tried several things.
Would you be able to provide more details on it?

Are you using the latest version?
Does your project has repositories?
Can you ensure that you are using the latest version of the extension?
Is this happening on the first load of the extension or does it happen after a filter is applied?

Thanks in advance.

We are using the 1.20191214.1 (Latest) version.  We have over 100 team projects with some projects containing over 100 repositories.  The error happens on first load of the extension.  However, the extension was working fine for several weeks and then just stopped working for me.  We have other users that are able to use the extension.  I don't believe there are any filters applied.  If I manually change the selection.value[0].beginIndex from -1 to 0, then the page rendered correctly but has the first team project selected in the filter drop down.  I also noticed that the project with the most repositories is not listed in the dropdown.  I wonder if the large number of repositories is causing the problem.

Thanks a lot for all the details. I believe I've found the issue and I'm working on it to release a new version in the next days with the bug fixes. Sorry for the inconvenience.

@webbermt - I just released a new version of the extension. I couldn't simulate the issue but I did some refactoring of the code to handle in a better way the async calls and exception handling.
Would you mind to test it again?
Thanks a lot

I have this issue as well. I went to the "Project" drop down and clicked on "Clear (X)". After that, the dashboard does not load with the error described in this issue.
Maybe it helps to reproduce it, as I can no longer use it.


Configurable hystrix fallback on failures

Make hystrix fallbacks configurable to the user of the library

@shubham7saxena

we can close this now.

Yes closing this, fixed it #15


Improve article 1308.2118 (amsrefs.sty, \item customization)

Exact location of issue
Errors from missing tikz-cd support and advanced list bullet customization.
Also, \bibselect needs to be added to the amsrefs.sty.ltxml binding.
Problem details
An interesting detail is how closely we would need to emulate \item customization to get this article right. It uses:
\newcommand{\N}{\mathbb N}

\section{Notation}
The following notation will be used throughout the text:

\renewcommand{\descriptionlabel}[1]{\hspace{\labelsep}$#1\,=$}
\begin{description}
\item[\N] the natural numbers $\{0,1,\dots\}$
% ... long list of such entries follows
\end{description}

So latexml would need to tightly use \descriptionlabel for {description} items to avoid the implied math mode error.
Edit: after a quick look at the code, the $tag used for the<EMAIL_ADDRESS>device seems to get set to \mathbb N, without any available math mode switch. I wonder if it wouldn't be better to Digest the $formatter and reconstruct a tag from there in such cases...

tikz-cd figures are now largely healthy SVG.
\bibselect and bibliography entries remain an issue.


Help me to clear my doubts, Please.

Implemented Spine in my project. It works well when in online.
I would like to store resources as 'spine resource' without changing anything in my local.
I mean  if i change anything, relationship between 2 model will be broken right?(in too many relationship).
eg :  if i want to get Dogs of a Owner from remote API means, it needs resource collection. assume i have 2 dogs fetched from server(stored in local - attributes only) and got one of the dogs and didn't fetch another. and now, again open the App, i have a dog with fetched owners from server and one dog without owner(relationship) in local. Here i can't fetch 2 dog's owner as i don't have resourcecollection of it.
Any suggestion to have resourcecollection also in offline?
Thanks in advance.

I don't understand what you mean. Resource, ResourceCollection and LinkedResourceCollection all implement NSCoding, so you can encode them for persisting and offline usage.

yeah, that's. Encoding and Decoding won't slow the performance? comparing with sqlite and coredata?

I don't know what the performance of encoding/decoding is, you'd have to test that if you really want to know. Yes, you can just assign a LinkedResourceCollection if you want.

Thanks Ward van,
But it also throws error when i try assigning fetched ResourceCollection (from spine.find) to  LinkedResourceCollection.
"Cannot assign value of type 'ResourceCollection' to type 'LinkedResourceCollection?'
Am i missing anything?
Thanks in advance.

There is a difference between a LinkedResourceCollection and a ResourceCollection, so you cannot assign a ResourceCollection to a variable of type LinkedResourceCollection.

So it's not possible assigning fetched resource to the LinkedResourceCollection of a object?
i mean,
class Dogs: Resource {
var name: String?
var owners: LinkedResourceCollection?
override class var resourceType: String {
return "dogs"
}
}
class Owner: Resource {
var name: String?
override class var resourceType: String {
return "owner"
}
}
here dogs.owners always returns LinkedResourceCollection.
How i can make it 'Owner' resources after fetching owners using Query(made by LinkedResourceCollection).
If i'm wrong, help me please.


blurred background and removal of border for video and slides

Signed-off-by: shubham-tyagi<EMAIL_ADDRESS>Description
As discussed in the video, the background is blurred and the border for the modal is removed. I have made some really small modifications apart from that.

This PR fixes #
Notes for Reviewers
Please point out if I missed something or if anything else is needed to be done. I could remove those small modifications if they are not looking good.
Signed commits

[x] Yes, I signed my commits.

Hey @debo19 , I will do the button center aligned , for now can you review my recent commit.

I have removed the image link so that even if we click on the image it font gets enlarged
I have also added a functionality that if we click outside of the overlay(not only on the cross) then too the overlay will vanish.

@shubham-tyagi The button isn't working for me in the preview, the modal isn't visible. Is it working fine for you?

@debo19 In my local machine, it's working fine. What might be the problem here?

I guess Its not working because the JS file is not included in the preview(I am just guessing). Because in my local machine as you can see in the video it's working fine. @warunicorn19 thoughts here ?

Hey @debo19 , It's working fine in the preview now. Please see if its working fine in your machine.

@warunicorn19 when I include script tag just after style tag then it reverses the page. And I am not sure but isn't it best to include js script after the page has been loaded? What do you think should be done @debo19 @warunicorn19

huh🤔? i guess what you're saying makes sense because html loads from top to bottom. okay, ignore what i said about the

@warunicorn19  Could you please check out the screenshot I attached in my previous comment, Should it full-page centered or this is fine?

Yup the position in the screenshot works👌


After Session has expired redirect back to old page after re-login

It would be nice if you get back after re-login to last route you accessed and not to dashboard

closed with laravel-enso/core@4b893ae4a146627ba70694441b8c4232d8bc73e2

can you check this again pls?
I published your new files (php artisan vendor:publish --tag=core-assets) but doesn't work... :(

Hi,
Did you published using the ‘—force’ flag? After publishing, did you compiled? ‘npm run dev’

yes and yes

Ok, I’ll look into it.


When loading from Smarts, all atoms and bonds are queries

Describe the bug
This issue is heavily related to Issue #6349.
When loading a moecule from Smarts, all atoms and bonds are queries, eg. return HasQuery() == True even if said atom or bond are clearly not queries.
To Reproduce
m = Chem.MolFromSmarts("C-C-,=C(-[C&R1])-C")
for atom in m.GetAtoms():
    if atom.HasQuery():
        print(atom.GetSmarts())
# all atoms will be in the output

for bond in m.GetBonds():
    if bond.HasQuery():
        print(bond.GetSmarts())
# all bonds will be in the output

Expected behavior
Only atoms and bonds that are queries should return True for HasQuery()
Screenshots

Configuration (please complete the following information):

RDKit version: 2022.09.05
OS: Windows 10
Python version (if relevant): 3.10
Are you using conda? yes
If you are using conda, which channel did you install the rdkit from? conda-forge

Additional context
This is related to #6349 and with the goal to be able to compare molecules that are the same and in the case of #6349 the same query.

Well, SMARTS is by definition query, so by default all elements of mol should be queries. Even if you think the bond is strictly defined by adding explicit definition (eg -, =, #) it is actually not, as that mean single, double, tripple bond in either ring or linear structure. To get this it must be a query.

Following up, SMARTS has to be a query language because unlike SMILES it is more explicit than implicit, for example in smiles the bond in  CC is implicitly single, in SMARTS is can match a single bond OR an aromatic bond.
(also in SMILES, each atom has implicitly 3 hydrogens, in smarts you could technically match to any amount).
This is seen with the quite useful DescribeQuery() function
pat = Chem.MolFromSmarts("CC-C")
for bond in pat.GetBonds():
    print(bond.GetIdx(), bond.DescribeQuery()

0 SingleOrAromaticBond 1 = val
1 BondOrder 1 = val

Others have already explained that this is the expected behavior


Walls are transparent when viewed inside

How to solve the transparent wall when browsing inside

Collision detection for walls is not currently supported


Add checkbox to the document

Hi,
I need to add few checkboxes to the pdf document, some might be checked and some unchecked,
yet its not supposed to behave as a real control: it should be readonly control.
The user that reads this document in not supposed to use this checkbox,
it is readonly.
I thought about adding an image of a checkbox to the document, however i want to know if there are other possibilities.

I think you can set the Ff property on the AcroFormCheckBox. The Ff field is a flags field where the readonly flag is at bit position 1. See PDF Specification 1.7, Table 221 - Field Flags common to all field types.


Implement agreed parameter model changes

In https://github.com/DiamondLightSource/hyperion/issues/1092 we settled on a new parameter model.  These will also replace our internal parameters by just having methods to generate the needed internal representations. We will implement this this in several steps:

[x] First, only replace the external parameters, and convert on entry to the plan. (https://github.com/DiamondLightSource/hyperion/issues/698)
E.g.:

def flyscan_xray_centre(
    composite: FlyScanXRayCentreComposite,
    parameters: GridScan,
) -> MsgGenerator:
    internal_parameters = parameters.to_internal()
    ...

This is unnecessary in the long run, but it lets us get rid of the ugly conversion magic in the current internal param classes without breaking everything at once.

[x] Fill in optional parameters within the plans and remove these from GDA https://github.com/DiamondLightSource/hyperion/issues/1286
[x] #1289
[x] Switching over (mainly) the callbacks (and other things which rely on them) to use the new param types (https://github.com/DiamondLightSource/hyperion/issues/1276)
[x] Removing the old internal params completely (https://github.com/DiamondLightSource/hyperion/issues/1277)

Since we decided #1286 was unneeded, this is done!


Configurable disk cache location

Right now it's hard coded in the application-specific location. This means that every instance of launched PhantomJS will share the same cache, which may cause problems in some use cases.

@ariya we run about 10 PhantomJS(1.10-dev) processes on same server at same time. I have noticed that PhantomJS crashes more often when cache is enabled. Seems like because of concurency to write a cache.

Landed in https://github.com/ariya/phantomjs/commit/c9e30ebafdeb42efe33900da7823142e146b0a1d


NTR peptidyl-lysine 4-dioxygenase activity

Could we have a new MF term for peptidyl-lysine 4-dioxygenase activity. The new term would be a sibling to peptidyl-lysine 3-dioxygenase activity #16632 (now GO:0106155 peptidyl-lysine 3-dioxygenase activity) and to the peptidyl-arginine dioxygenase activity term requested yesterday on ticket 16689.
The reference for the new request is PMID 24486019. Proposed def: Catalysis of the reaction: protein L-lysine + 2-oxoglutarate + O2 = protein 4-hydroxy-L-lysine + succinate + CO2.

Done along with 16632
id: GO:0106156
+name: peptidyl-lysine 4-dioxygenase activity
+id: GO:0106157
+name: peptidyl-arginine 3-dioxygenase activity


[IntelliJ Plugin] Update plugin grammar for ballerina post-1.0 changes and update test resources

Purpose
This PR updates plugin grammar for latest ballerina parser/lexer definition changes and also updates the BBE based plugin test resources.
Fixes #20007.
Check List

[x] Read the Contributing Guide
[ ] Required Balo version update
[ ] Updated Change Log
[x] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Codecov Report

Merging #20014 into ballerina-1.0.x will not change coverage.
The diff coverage is n/a.

@@               Coverage Diff                @@
##           ballerina-1.0.x   #20014   +/-   ##
================================================
  Coverage            20.51%   20.51%
================================================
  Files                   52       52
  Lines                 1394     1394
  Branches               216      216
================================================
  Hits                   286      286
  Misses                1095     1095
  Partials                13       13

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 5215811...713e322. Read the comment docs.

@Shan1024 Thanks for the review :)


Orca: MMCVEstimator DEMO on cifar10

@jason-dai @hkvision @sgwhat @PatrickkZ Please take a look at this.
MMCV Estimator Design
Our mmcv estimator design basically follows Orca torch estimator design.
Introduction to MMCV(Optional Reading)
The core components of mmcv are Runners and Hooks.
Runners
A runner usually contains all kinds of components(model, optimizer, scheduler, hooks etc., except dataloader) and intermediate output(data_batch, loss etc.) during the training loop.
    model = Model()
    optimizer = optim.SGD(model.parameters(), lr=0.001, momentum=0.9)
    logger = get_logger('mmcv')
    # runner is a scheduler to manage the training
    runner = EpochBasedRunner(
        model,
        optimizer=optimizer,
        work_dir='./work_dir',
        logger=logger,
        max_epochs=4)

You can access these components directly like self.model, and mmcv encourages you to do this to achieve customized training. Especially, Model(torch.nn.module) should implement additional functions     def train_step(self, data, optimizer): and     def val_step(self, data, optimizer): for runners to call.
There are two kinds of runner in mmcv: EpochBasedRunner and IterBasedRunner, and their use cases are aptly named. Our design and development is based on most used EpochBasedRunner. There are four APIs all runner should implement:
- ``run()``
- ``train()``
- ``val()``
- ``save_checkpoint()``

run() will call train and val frequently to manage training and evaluating intervals.
Another necessary action is to register hooks to runner.hooks. There are hooks provided by mmcv and user hooks, and we talk about this later. For mmcv.hooks you can simply just pass configs:
    # learning rate scheduler config
    lr_config = dict(policy='step', step=[2, 3])
    # configuration of optimizer
    optimizer_config = dict(grad_clip=None)
    # configuration of saving checkpoints periodically
    checkpoint_config = dict(interval=1)
    # save log periodically and multiple hooks can be used simultaneously
    log_config = dict(interval=100, hooks=[dict(type='TextLoggerHook')])
    # register hooks to runner and those hooks will be invoked automatically
    runner.register_training_hooks(
        lr_config=lr_config,
        optimizer_config=optimizer_config,
        checkpoint_config=checkpoint_config,
        log_config=log_config)

    # register other hooks
    eval_hook = EvalHook(valloader, interval=1, test_fn=cifar10_test_fn, greater_keys=["acc"])
    runner.register_hook(eval_hook)

Only optimizerHook is required for backward stuffs.
To start training:
    # train 3 epochs and val once, and then so on.
    runner.run([train_dataloader, val_dataloader], [('train', 3), ('val', 1)])

Hooks
A Hook is declared as multiple stages like:
class Hook:
    stages = ('before_run', 'before_train_epoch', 'before_train_iter',
              'after_train_iter', 'after_train_epoch', 'before_val_epoch',
              'before_val_iter', 'after_val_iter', 'after_val_epoch',
              'after_run')

    def before_train_epoch(self, runner):
        self.before_epoch(runner)

    def before_val_epoch(self, runner):
        self.before_epoch(runner)

    def after_train_epoch(self, runner):
        self.after_epoch(runner)
    ...

They all take runner as the only arg, so users can access almost all the variables they need and implement their own logic:
class OptimizerHook(Hook):
    ...
    def after_train_iter(self, runner):
        runner.optimizer.zero_grad()
        if self.detect_anomalous_params:
            self.detect_anomalous_parameters(runner.outputs['loss'], runner)
        runner.outputs['loss'].backward() # this is why optimizerHook is required

        if self.grad_clip is not None:
            grad_norm = self.clip_grads(runner.model.parameters())
            if grad_norm is not None:
                # Add grad norm to the logger
                runner.log_buffer.update({'grad_norm': float(grad_norm)},
                                         runner.outputs['num_samples'])
        runner.optimizer.step()

Runners will call these hooks at the right time:

class EpochBasedRunner(BaseRunner):
    """Epoch-based Runner.

    This runner train models epoch by epoch.
    """

    def train(self, data_loader, **kwargs):
        self.model.train()
        self.mode = 'train'
        self.data_loader = data_loader
        self._max_iters = self._max_epochs * len(self.data_loader)
        self.call_hook('before_train_epoch')
        time.sleep(2)  # Prevent possible deadlock during epoch transition
        for i, data_batch in enumerate(self.data_loader):
            self.data_batch = data_batch
            self._inner_iter = i
            self.call_hook('before_train_iter')
            self.run_iter(data_batch, train_mode=True, **kwargs)
            self.call_hook('after_train_iter')
            del self.data_batch
            self._iter += 1

        self.call_hook('after_train_epoch')
        self._epoch += 1

MMCV Estimator Design
Different from PytorchRayEstimator, there are only runner_creator(config)-->mmcv.EpochBasedRunner and dataloader_creator(config)-->Dataloader should pass to MMCVEstimator.
User API

Init API

    def runner_creator(config):
        model = Model()

        optimizer = optim.SGD(model.parameters(), lr=0.001, momentum=0.9)
        logger = get_logger('mmcv')
        # runner is a scheduler to manage the training
        runner = EpochBasedRunner(
            model,
            optimizer=optimizer,
            work_dir='./work_dir',
            logger=logger,
            max_epochs=4)

        # learning rate scheduler config
        lr_config = dict(policy='step', step=[2, 3])
        # configuration of optimizer
        optimizer_config = dict(grad_clip=None)
        # configuration of saving checkpoints periodically
        checkpoint_config = dict(interval=1)
        # save log periodically and multiple hooks can be used simultaneously
        log_config = dict(interval=100, hooks=[dict(type='TextLoggerHook')])
        # register hooks to runner and those hooks will be invoked automatically
        runner.register_training_hooks(
            lr_config=lr_config,
            optimizer_config=optimizer_config,
            checkpoint_config=checkpoint_config,
            log_config=log_config)

        return runner

    def train_dataloader_creator(config):
        # dataset and dataloader
        transform = transforms.Compose([
            transforms.ToTensor(),
            transforms.Normalize((0.5, 0.5, 0.5), (0.5, 0.5, 0.5))
        ])
        trainset = CIFAR10(
            root='data', train=True, download=True, transform=transform)
        trainloader = DataLoader(
            trainset, batch_size=batch_size, shuffle=True, num_workers=2)
        return trainloader

    est = MMCVEstimator(runner_creator=runner_creator,config={})

Fit API
Same as runner.run()

    est.fit([train_dataloader_creator, val_dataloader_creator], [('train', 1), ('val', 1)])

Internal API

MMCVEstimator
For ray backend we just replace TorchRunner with MMCVRunner, and others keep the same:

class MMCVEstimator(OrcaRayEstimator):
    def __init__(self, runner_creator=None, config=None) -> None:
        super().__init__()
        ...
        RemoteRunner = ray.remote(num_cpus=cores_per_node)(MMCVRunner)

        params = dict(runner_creator = self.runner_creator,
                      config=config)

        self.remote_workers = [
            RemoteRunner.remote(**params) for _ in range(num_nodes)
        ]

For est.fit():
    def fit(self,
            data_loaders:List[Callable],
            workflow: List[Tuple[str, int]],
            max_epochs: Optional[int] = None, # deprecated
            **kwargs) -> None:
        params=dict(data_loaders_creators=data_loaders,
                    workflow=workflow,
                    max_epochs=max_epochs,
                    **kwargs)
        success, worker_stats = self._train_epochs(**params)

MMCVRunner
We inherit MMCVRunner from EpochBasedRunner, and expose attributes of runner from runner_creator to MMCVRunner itself for concise(discuss later):

class MMCVRunner(EpochBasedRunner):
    ...
    # Expose attrs of EBR here for concise when overriding `train_step` etc. in EpochBasedRunner,
    # for example:
    #    before: self.runnner.model(batch)
    #    now: self.model(batch)
    def _wrapFromEBR(self, ebrunner):
        for k in self.EBR_slots:
            # todo: check neccessary components
            setattr(self, k, getattr(ebrunner, k))

    def setup_components(self):
        runner = self.runner_creator(self.config)

        self._wrapFromEBR(runner)

There are benefits to do this, when overriding run(), train(), val() etc. sticked in EpochBasedRunner with our own logic.
    # ray remote api
    def run(self,
            data_loaders_creators:List[Callable],
            workflow: List[Tuple[str, int]],
            max_epochs: Optional[int] = None, # deprecated
            **kwargs) -> None:

        data_loaders = [self.with_sampler(dataloader_creator(self.config)) for dataloader_creator in data_loaders_creators]

        super().run(data_loaders, workflow, max_epochs, **kwargs)
        # instead of
        # super().runner.run(data_loaders, workflow, max_epochs, **kwargs)

Its more natural to our developers and prevent typos. And other setup processes remain the same with TorchRunner.
    def setup_torch_distribute(self, tcp_store_host, tcp_store_port, world_rank,
                               world_size):
        import torch.distributed as dist
        from mmcv.parallel.distributed import MMDistributedDataParallel

        client_store = dist.TCPStore(tcp_store_host, tcp_store_port, -1, False)
        dist.init_process_group(
            backend="gloo",
            store=client_store,
            rank=world_rank,
            world_size=world_size)
        self.backend = "torch-distributed"
        self.world_rank = world_rank
        self.size = world_size
        self.setup_components()

        #     - It supports a custom type :class:`DataContainer` which allows more
        #       flexible control of input data.
        #     - It implement two APIs ``train_step()`` and ``val_step()``.
        self.model = MMDistributedDataParallel(self.model) # runner.model: `torch.nn.Module`

Consistency Evaluation Status

[X] Local Runnable
[X] Local Convergence
[X] Dist Runnable
[ ] Dist Convergence(pending)

(MMCVRunner pid=21452) 2022-10-24 20:26:13,353 - mmcv - INFO - Epoch(val) [1][313]      acc: 0.3038
(MMCVRunner pid=21452) 2022-10-24 20:26:54,456 - mmcv - INFO - Epoch(val) [2][313]      acc: 0.4156
(MMCVRunner pid=21452) 2022-10-24 20:27:36,295 - mmcv - INFO - Epoch(val) [3][313]      acc: 0.4235
(MMCVRunner pid=21452) 2022-10-24 20:28:18,232 - mmcv - INFO - Epoch(val) [4][313]      acc: 0.4261

The user API should be something like est = Estimator.from_mmcv(...)

Change to MMCVRayEstimator as we may want to support PySpark backend in future?

Refactor the code so that MMCVRayEstimator and PyTorchRayEstimator share the common code (instead of duplicating the code)

Can we move some parts in runner_creator (like optimizer, lr_config) into Estimator.from_mmcv(...) instead?

Can we move some parts in runner_creator (like optimizer, lr_config) into estimator.from_mmcv(...) and replace the runner.register_training_hooks()? Like:
def model_creator():
  ...
  return model

estimator.from_mmcv(
  model_creator,
  optimizer,
  lr_config,
  ...
)

# Do hooks register inside orca.estimator or orca.runner.

In this stage we could keep this for better user experience(for users runner is off the shelf).
We can achieve this in the next stage.

The user API should be something like est = Estimator.from_mmcv(...)
Change to MMCVRayEstimator as we may want to support PySpark backend in future?
Refactor the code so that MMCVRayEstimator and PyTorchRayEstimator share the common code (instead of duplicating the code)

Yes, we will explore the possibility of making the estimator and runner more templated

Dist Convergence verified on Databrick, with 2 worker nodes, batch_size=2(total batch_size=2*2), epoch=4
get result acc: {1: 0.4922, 2: 0.5519, 3: 0.6026, 4: 0.6066}


Adding Advertise Tx Power defines

Adding Advertise Tx Power defines
Description

Tx Power defines which would be an index to Advertising Power values (in dBm) to be set by platforms.

Checklist:

[ ] I have tested my changes. No regression in existing tests.
(Only defines)
[x] My code is Linted.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/bot run checks


New sensor cert_expiry

Simple sensor to check HTTPS certificate expiry (in days)
This simple sensor fetches a certificate using the ssl module anc check the notAfter directive in HTTPS certificate. Reports then the expiry in days.
Example entry for configuration.yaml (if applicable):

sensor:
  - platform: cert_expiry
    server_name: home-assistant.io
    server_port: 443

Checklist:
If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated in home-assistant.github.io

If the code does not interact with devices:

[X] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[ ] Tests have been added to verify that the new code works.

Hi @fabfurnari,
It seems you haven't yet signed a CLA. Please do so here.
Once you do that we will be able to review and accept this pull request.
Thanks!

Nice! This is ok to merge when you fix the linting issue and add it to .coveragerc (you removed that step from your PR description…)

@balloob thanks, I'll work on documentation as soon as I have some other spare time!

thanks to @fabaff for the code review, I've fixed most of the parts.
I checked with pep257 and the docstrings seems ok.

This docstring will lead to D401.
Can you rebase your branch please? The PR should only include the related changes. Thanks.

Hey Fabrizio,
Great new sensor! Is it possible to monitor more than one certificate in this version?

platform: cert_expiry
host: server1.com

platform: cert_expiry
host: server2.com

Thanks!

Don't use pull requests for support. Use chat or forums instead.


Does not work with bundle-visualizer meteor pkg

Any plans about support this?
Or is better leave uglifyjs2 as it is, and instead use the official minifier just for bundle analysis?
Regards!

As the official does not support dead code elimination, this is a legitimate enhancement. I would be happy to see contributions in this field.


Please set Google Drive ID

Hi,
I get the error: "Please set Google Drive ID".
I have set my ID in the core.php.
Anyone know why its doing this?

Nevermind, got it working. Realised I had to edit demo.php and not core.php!!


Disconnect command does not seem to properly stop BB8

I think that the stopOnDisconnect() function mentioned in the docs might accomplish this?
I ran into this when I ran the command, but the lights didn't turn off or anything. Not sure if this is expected behavior, but it's @ the very least not consistent with what the iOS seems to do.

@mintuz

Hello, when you run the disconnect command are you quitting the other action you are running. No other action should be running when disconnecting but if that's a usecase then the stopOnDisconnect may help.
Anyways I'll take a look for you.

On 9 Mar 2016, at 05:57, Kevin Ran<EMAIL_ADDRESS>wrote:
I think that the stopOnDisconnect() function mentioned in the docs might accomplish this?
I ran into this when I ran the command, but the lights didn't turn off or anything. Not sure if this is expected behavior, but it's @ the very least not consistent with what the iOS seems to do.
—
Reply to this email directly or view it on GitHub.

@mintuz thank you!
I'm ctrl+c'ing the other action (such as disco or desk-mate) before running the disconnect command.


Unhandled Promise rejection while saving image

Expected Behavior
save image
Actual Behavior

This occurs in Safari. Closing as it is a duplicate of #28.


Strengthen distributeSurplus property regarding ErrMoreSurplusNeeded

We can strengthen the condition that we only see ErrNotEnoughSurplus failures when surplus < 2 * maxCoinCostIncrease. It can simply be surplus < maxCoinCostIncrease. This is important for balanceTransaction where we add a padding of maxCoinCostIncrease (8 bytes * feePerByte) to eliminate the possibility of ErrNotEnoughSurplus errors. I forgot to update the property when lowering the padding from 16 to 8 bytes.

Mention this in the documentation for distributeSurplus.

Comments
$ cabal test cardano-wallet:unit --test-options='--match "distributeSurplusDelta" --qc-max-success=10000000'
Cardano.Wallet.Shelley.Transaction
  distributeSurplusDelta
    when increasing change increases fee
      will increase fee (99 lovelace for change, 1 for fee)
    when increasing fee increases fee
      will increase fee (98 lovelace for change, 2 for fee)
    when increasing the change costs more in fees than the increase itself
      will try burning the surplus as fees
      will fail if neither the fee can be increased
    when no change output is present
      will burn surplus as excess fees (29779ms)
        +++ OK, passed 10000000 tests.
    prop_distributeSurplusDelta_coversCostIncreaseAndConservesSurplus (62ms)
      +++ OK, passed 1600 tests:
      95.56% Success
       4.44% Failure

Finished in 29.8454 seconds, used 29.8278 seconds of CPU time
6 examples, 0 failures

Issue Number
ADP-1514

bors r+


Luci displays UCI Boolean values incorrectly

According to the UCI Documentation Boolean values may be  '0', 'no', 'off', 'false' or 'disabled'  or '1' , 'yes', 'on', 'true' or 'enabled'. However if i set a variable to 'on' the checkbox in the webinterface is not correctly set:
root@OpenWrt:~# uci get system.ntp.enable_server
on

I have traced the issue to the following code segment:
o = s.taboption('timesync', form.Flag, 'enable_server', _('Provide NTP server'));
o.ucisection = 'ntp';
o.depends('enabled', '1');

If i manually replace the '1' with 'on' it works as expected. I think the correct way to handle this would be to have the value parsed to a boolean first. Apparently get_bool already exists for that purpose in the lua libary.

Yes, a known limitation. I suggest to stick to 0 and 1 values only. A proper fix will be a little bit extensive and unlikely to happen soon.


ubuntu16.04 use /tools/test.py subprocess popen wait lock

hi：
i use ubunt16.04, use test_net.py to test the pretrained model.pkl,when run to subprocess.py ,subprocess popen to get the p and when "log_subprocess_output && i ==0",the p.wait lead to a lock,so "assert ret ==0",who can give me a suggestions?

The description is unclear. If this is still an issue, please re-open with a clear description of the steps you followed and the error you see.


Prevent WSA automatic starts

Is your feature request related to a problem? Please describe
WSA starts automatically every time when the computer is turned on. I can see a process named vmmem in Task Manager.
Describe the solution you'd like
Don't automatically start WSA when I turn on my computer.
Describe alternatives you've considered
No response
Please specify the version of Windows Subsystem for Android
2311.40000.4.0

Press hotkey Ctrl+Shift+Esc to open Task Manager.
Click “Startup” tab and you can see an item “Windows Subsystem for Android™”.
Right-click this item and click “Disable”.

Press hotkey Ctrl+Shift+Esc to open Task Manager.
Click “Startup” tab and you can see an item “Windows Subsystem for Android™”.
Right-click this item and click “Disable”.

theres nothing in startup called "windows subsystem for android" and nothing in autoruns that has anything to do with "subsystem" or "android", just WSL.


no CUDA-capable device is detected

I have already installed nvcc with sudo apt install nvidia-cuda-toolkit. When I run ./train_gpt2cu, it shows:
[GPT-2]
max_seq_len: 1024
vocab_size: 50257
num_layers: 12
num_heads: 12
channels: 768
num_parameters: 124439808
[CUDA ERROR] at file train_gpt2.cu:501:
no CUDA-capable device is detected

I am using WSL2 (ubuntu 22.04) and nvcc (11.5)
Are there any packages that I haven't downloaded yet?

It seems like you have not installed a GPU driver for your GPU. If you try running nvidia-smi, it will not work for this reason. Refer to this information page:
https://docs.nvidia.com/cuda/wsl-user-guide/index.html

It seems like you have not installed a GPU driver for your GPU. If you try running nvidia-smi, it will not work for this reason. Refer to this information page:
https://docs.nvidia.com/cuda/wsl-user-guide/index.html

@AndreSlavescu Thanks for your reply! But when I run nvidia-smi, it indeed shows:
Thu Apr 11 22:05:22 2024
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 550.54.10              Driver Version: 551.61         CUDA Version: 12.4     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA GeForce RTX 4060 ...    On  |   00000000:01:00.0  On |                  N/A |
| N/A   54C    P5              7W /  120W |    1974MiB /   8188MiB |     26%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+

no CUDA-capable device is detected

Okay in that case it seems you have installed it. There are quite a few problems if you install it a certain way, so refer to this thread:
https://forums.developer.nvidia.com/t/no-cuda-capable-device-is-detected/39478

no CUDA-capable device is detected

Okay in that case it seems you have installed it. There are quite a few problems if you install it a certain way, so refer to this thread:
https://forums.developer.nvidia.com/t/no-cuda-capable-device-is-detected/39478

Thanks! The reason is that I downloaded the wrong version of the CUDA toolkit. I downloaded it again and then it worked!


feat(template-bundler): Allow to configure systemjs-builder

see aurelia/cli#158

Hi, I'm using template preprocessing (from *.jade to *.html). During build process I'm creating temp directory so baseURL from package.json is different after preprocessing is finished. For that reason I need to pass some options to the jspm.Builder(), e.g. correct baseURL.
My usage:
    bundleTemplate('js/**/*.html', 'min/templates.html', {
      force: true,
      builder: {
        baseURL: '.tmp/public/'
      }
    });

I see that you added buiderCfg option. Thanks


Add a prettier npm script

I prefer that over npx. You can also locally run npm run prettier to update all files.

I also updated the README, since this has nothing to do with linting (we can look into integrating eslint at some point too).


STL ASCII

STL Ascii Export Support.
I need to still add array iteration to this but in the state its in it should work to at least test my first TS script ^_^.

Can you revert all the file from dist?

how do I do that?
checkout the dist folder from the remote?

I ended up copying all the files from the public repository to overwrite my local dist.
Hope that was what you were meaning!

not exactly, I would like to not see the file at all in the PR (you need to git revert them before updating the PR)

Ok I will do that now!


Fix perms, add pkg-config

Fix missing x bit on autogen.sh. Install pkg-config metadata.

Oh, now I look and see there is no code here. I thought this was a newer version of https://github.com/lookfwd/opentracing-cpp/tree/feature but I see now there is nothing here!


Build service for Events

Type
Before going too far in building out the events model, we need to peel Events away from the rest of the app.
Why?
💪  More resilience
Separate different parts of the site, so when one goes dow (perf, bugs etc) we keep serving the rest
🍡 More relevant infrastructure
Allow us to scale differently for different needs e.g. busy times when ticketed events are released
⛓ Less tie in to certain technologies
If there is a more relevant or better tool / technology for a certain  job, we should be able to use it
:rage4: Developer sanity (time saving)
Makes creating new services a cinch, and easier to fathom as they grow in complexity.
The plan

The plan


Not able to get any notification although the code runs with no errors

Please check your windows settings to see if notifications are disabled

No I have checked .All notifications are allowed.

Please check with your friend/colleague machine. This is most probably system setting issue

How to adjust settings to enable it?


Fix react scripts eslint

React scripts has strict package versions so this pr sets the correct eslint version (already done for babel-loader and jest).
React scripts also errors on linting errors, which slows development. I've disabled this at least while we have linting errors.

/lgtm


1486 |  XOR Operation in an Array | Java

Title -  XOR Operation in an Array
What will change - Add solution for Q.1486 in Java
Type of Issue -
Please add/delete options that are not relevant.

[x] Adding New Code

Programming Language
Please add/delete options that are not relevant.

[x] Java

Self Check

Ask for issue assignment and wait to get assigned to it before making Pull Request.
Add your file in the proper folder
Clean Code and Documentation for better readability
Add Title and Description of the program in the file

:star2: Star it :fork_and_knife:Fork it :handshake: Contribute to it!
Discord server ✉ - https://discord.gg/CXksGdn
Happy Coding,

@SSKale1 @Yashica7 @swaingotnochill  @JOKUE2002 Please assign this issue to me

Please assign to me I am a third year undergraduate in Electrical Engineering IIT Kharagpur with good background in competitive programming


Unable to authenticate against private azure artifacts npm registry

Package ecosystem
npm
dependabot.yml content
version: 2
registries:
  azure-registry:
    type: npm-registry
    url: https://pkgs.dev.azure.com/<org>/_packaging/<feed>/npm/registry/
    username: <username>
    password: ${{secrets.AZURE_EXT_PAT_BASE64}}

updates:
  # Enable version updates for npm
  - package-ecosystem: "npm"
    # Look for `package.json` and `lock` files in the `root` directory
    directory: "/"
    # Check the npm registry for updates every day (weekdays)
    schedule:
      interval: "daily"
    # Allow up to 10 open pull requests at a time
    open-pull-requests-limit: 10
    registries:
      - azure-registry
    commit-message:
      prefix: "fix"
      prefix-development: "chore"

What you expected to see, versus what you actually saw
Dependabot should resolve dependencies but is unable to authenticate against the registry and throws the error private_source_authentication_failure. Azure artifacts does not use npm tokens but a username and password solution instead.
This is the official way of connecting to a private Azure artifacts npm registry via .npmrc:
; .npmrc
registry=https://pkgs.dev.azure.com/<org>/_packaging/<feed>/npm/registry/

always-auth=true

; begin auth token
//pkgs.dev.azure.com/<org>/_packaging/<feed>/npm/registry/:username=<username>
//pkgs.dev.azure.com/<org>/_packaging/<feed>/npm/registry/:_password=[BASE64_ENCODED_PERSONAL_ACCESS_TOKEN]
//pkgs.dev.azure.com/<org>/_packaging/<feed>/npm/registry/:email=npm requires email to be set but doesn't use the value
//pkgs.dev.azure.com/<org>/_packaging/<feed>/npm/:username=<username>
//pkgs.dev.azure.com/<org>/_packaging/<feed>/npm/:_password=[BASE64_ENCODED_PERSONAL_ACCESS_TOKEN]
//pkgs.dev.azure.com/<org>/_packaging/<feed>/npm/:email=npm requires email to be set but doesn't use the value
; end auth token

Native package manager behavior
It manages to authenticate properly from credentials in .npmrc

@marcuslindfeldt would you mind reaching out to GitHub Support about this issue? This issue likely isn't related to dependabot-core per se, and we'll need information that you may not be comfortable sharing here (the name of the repo, potentially access to the registry, etc.).
I'm going to close this and we can follow up on the support case, though feel free to re-open if you can't get traction via support.


account.update: set session ID from x-set-session response header

closes #75

ping @hoodiehq/maintainers

LGTM nice work @gr2m !

I’ll LGTM it myself because it’s blocking the Camp Release right now. But please review it anyway, maybe I missed something that we can fix with another PR

I agree. Another review is a good idea... the modifications look sound to me, but I'm not intimate with the account-client (not yet) :-)


Update URLs shown on PyPi

... as the subdomain sphinx-themes.palletsprojects.com no longer
exists.
modified:   CHANGES.rst
modified:   setup.cfg

bump - any chance to get this merged?

The "PyPi" should be "PyPI", and the change should list in the unreleased section. However, IMO there is no need to update the changelog for tiny changes like this.

+1 on the changelog - if I read a changelog, I want to know about things relevant to the application/library, not that the developers changed cosmetic metadata on pypi, how their CI process works, etc.


Avoid warnings with Google Closure

HI,
When I minify a third-party library with the plugin configured to use Google Closure I get a lot of warnings like this:

Oct 28, 2014 6:30:45 PM com.google.javascript.jscomp.LoggerErrorManager println
WARNING: xxxxx.all.js:5914: WARNING - Parse error. illegal use of unknown JSDoc tag "category"; ignoring it
* @category Utilities

Is there a way to configure the plugin to avoid these type of warnings?
I have found that this was solved upstream with a new option:
Add an option to ignore unknown jsdoc tags

I have a similar issue, but it prevents Maven from continuing (CLOSURE compiler)
Sep 28, 2016 10:25:10 PM com.google.javascript.jscomp.LoggerErrorManager println
SEVERE: test.min.js:6634: ERROR - Parse error. IE8 (and below) will parse trailing commas in array and object literals incorrectly. If you are targeting newer versions of JS, set the appropriate language_in option.
			        'Accept': 'application/json',
			                                    ^

Sep 28, 2016 10:25:10 PM com.google.javascript.jscomp.LoggerErrorManager printSummary
WARNING: 25 error(s), 0 warning(s)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------

PR #74 should allow to avoid these warnings.
If not, please feel free to reopen this issue.


Update specifying-virtual-wifi-bus-dependencies.md

Updated to the Win10 version of the VWiFiBus section name

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot


Add coverage badge

Our beautiful 100% test coverage means something for our developer users.

Activated https://coveralls.io/repos for this repo but it seems coverage.py doesn't support outputting info to lcov.info file which is needed by Coveralls. Will reinvestigate this later.

Found coveralls-python which makes it much easier to integrate GH Actions with Coveralls:

https://coveralls-python.readthedocs.io/en/latest/index.html
https://github.com/TheKevJames/coveralls-python

There is a strange bug though with Coveralls when using GH Actions: https://github.com/TheKevJames/coveralls-python/issues/252. The solution seems to be to use this flag with the coveralls command: coveralls --service=github.
Access Coverall stats here: https://coveralls.io/github/edwardleardi/nourish
PR for this here: https://github.com/edwardleardi/nourish/pull/68


Revert the order of the images and text

Is there a way to revert the order of the images and text?
I mean, to display the images first, then the content of the .txt file second.

There is currently no way to reorder the layout to make the contents of the .txt file appear below the image previews. However there is an easy workaround.
Unlike text previews, markdown and HTML previews appear below the default images. So just change all your .txt files to .md files. You shouldn't have to change the contents of the files because markdown should render simple plain text the same as a .txt file for the most part.

Very nice, worked like a charm. Thanks a lot!


Copy over Syntax tree types from Escalier.Data

Codecov Report
Attention: 11 lines in your changes are missing coverage. Please review.

:exclamation: No coverage uploaded for pull request base (main@a4be1ae). Click here to learn what that means.

Files
Patch %
Lines

src/Escalier.HindleyMilner/Data.fs
40.00%
6 Missing :warning:

src/Escalier.HindleyMilner/Library.fs
70.58%
5 Missing :warning:

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #19   +/-   ##
=======================================
  Coverage        ?   73.69%
=======================================
  Files           ?       18
  Lines           ?     1775
  Branches        ?      281
=======================================
  Hits            ?     1308
  Misses          ?      467
  Partials        ?        0

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


history.listen is fired after Route's componentDidMount (POP action only)

Version
react-router-dom: 4.3.1
Test Case
https://codesandbox.io/s/myo52m80x8
Steps to reproduce
Try navigating route by clicking links (PUSH action). Then navigate to another route using back or next buttons (POP action).
Expected Behavior
PREPARING NAVIGATE TO /chat
MOUNTED /chat

Actual Behavior
MOUNTED /chat
PREPARING NAVIGATE TO /chat

The router's subscription to the history comes before yours, so React is getting priority. This is expected. If you don't want this behavior, make your own instance of history, subscribe to it first, and then pass it to a plain Router instance.

Pardon, how to subscribe the history and pass it to Router? Can you show me the code?

Just do what one of our pre-configured Routers does: https://github.com/ReactTraining/react-router/blob/master/packages/react-router-dom/modules/BrowserRouter.js

You'll want to add your listener on this line, as an example: https://github.com/ReactTraining/react-router/blob/0853628daff26a809e5384f352fada57753fc1c3/packages/react-router-dom/modules/BrowserRouter.js#L12

Still same even after turn it like this
class CustomRouter extends React.Component {
  history = createBrowserHistory(this.props)

  componentDidMount() {
    this.unlisten = this.history.listen(({ pathname }) => {
      console.log('PREPARING REDIRECT TO ' + pathname)
    })
  }

  componentWillUnmount() {
    this.unlisten()
  }

  render() {
    return <Router history={this.history} children={this.props.children} />;
  }
}

render(
  <CustomRouter>
    <App />
  </CustomRouter>,
  document.getElementById('root')
)

Correct me if I'm wrong.

OMG, u r right. Thank you so much, I've spent days to figuring this out. Great work anyway :+1:


Design documents missing

I didn't find a doc directory in the repository root.  That is where the design documents go. Here is some input to write these documents...
For the component and functional spec... The functional spec is essentially the use cases. I like to write use cases by first creating a number of "user stories" that describe the specific user types, e.g.
Alice is an experimentalist who will be using the tool to analyze her data.  She has limited programming experience but is an expert user of tools like Excel and instrumentation control software.

Then, for each user type, enumerate the specific use cases, e.g.,
* Alice will use this software to load her raw EIS data into the database.
* Alice will use raw EIS data in the database to create a Nyquist plot.
* Alice will use the user interface to select multiple Nyquist plots to show simultaneously.

I realize these might not match your software, but I just wanted to put in some examples.
For the component specification, use the use cases and things mentioned in them to create components.  E.g., in the above there are two top level components that come up right away:

A database
A user interface
But there are likely many more and some that are sub-components of the above.  For each component, you can use the following template to create a component 'card' in the form:

* Name
* What it does
* Inputs (with type information)
* Outputs (with type information)
* How it interacts with other components

@dacb thanks for pointing that out. A draft has been included plus the technology review. Not sure if we are still missing major pieces for doc repository, so feel free to take a look and provide feedbacks. Thanks!

@cymao Good start on the use cases.  Make sure to flesh out the component specification associated with them.


Address book

In addition to pasting and scanning addresses, an addressbook should be added for users to pick addresses from to send funds. This address book should always show own wallet addresses, but can be filled with own ones either manually or by selecting an address from a transaction (so to be done not before #13 )
When an address is known, send screen and transaction list should show the given name from the address book.

Security issue: Encrypted hash of the addresses should be stored to be able to check any tampering on the list.


Home: Carousel Looks a bit weird

Might want a redesign/ reimplementation of the carousel

Superseded by https://github.com/AdvisorySG/dawn-advisory-theme/issues/431.


add how to use page

[x] Learn about how to integrate MDX with Next.js
[ ] Create how to content (raw)
[ ] Improve how to content (if needed, something with images and ToC, for example)

So, yesterday I learned about https://github.com/hashicorp/next-mdx-remote. This can be used to "render" MDX from local repository (or from outside repository). In this case, of course I use the local repository one. It's perhaps a bit overkill, I could just use raw HTML, but I'm happy to invest the time for my knowledge of this tool.
As for the MDX reading, https://github.com/jonschlinkert/gray-matter is a good library. I haven't thought about using any of the remark/rehype deps just yet, probably I will use them for adding table of contents and headings-linking. I haven't done that before, usually Gatsby and Docusaurus just do that for me, but it'll be interesting to use it.


Confusing

lister.Progress -= onProgress;
Listener listens to events, but the sample names the event emitter a listener.  onProgress should be a listener.
PS. I misread - it's a lister, not a listener.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 0e2507bc-e567-23f9-aeb9-f7529baa7032
Version Independent ID: c42718d0-15b4-a87f-4353-e15656686889
Content: Introduction to Events
Content Source: docs/csharp/events-overview.md
Product: dotnet-csharp
GitHub Login: @BillWagner
Microsoft Alias: wiwagn

Actually, this is the second bug opened related to that name. I think it's confusing and should be changed. Further, I think that the code should not define a lambda to assign the event handler to. This is the "introduction to events" and it should really display creating a method to assign to the event.
@BillWagner Do you agree? I can change this

Related to #5926

1st PR to fix the issue is still open.


impression: 3.1.0 -> 3.2.0

Description of changes
Diff: https://gitlab.com/adhami3310/Impression/-/compare/v3.1.0...v3.2.0
depends on https://github.com/NixOS/nixpkgs/pull/291339

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

 There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/4094


chart.Correlation() function

Hello,
This is my first issue here so sorry if I am messing things up or saying something that is not accurate. I really like a function called chart.Correlation(), it is available in a package called PerformanceAnalytics.
It would be great to have something similar on Matlab, however the native function plotmatrix() is far less efficient. Would this be something interesting to include in gramm? I thought about developing it myself but never managed to do so.
The function mentioned is available on the link: https://www.rdocumentation.org/packages/PerformanceAnalytics/versions/1.4.3541/topics/chart.Correlation

Hi,
There is no graphical output in your example link, but I know how gplotmatrix looks like. It's not the kind of thing gramm is designed to handle in the first place since plotmatrix() has different plots in the different axes (scatters and histograms on the diagonal right?). However it's surely possible to fake from outside gramm using the g(a,b) = gramm() notation to combine unrelated plots. There are lots of examples in examples.m, including some new stuff for more custom placement of axes. Maybe it would be possible to write a wrapper that uses this trick?


Inherit process.env.PATH to spawned process

With this we can have spawned processes be able to use system utils (like yarn) by default.

@TooTallNate Then I'll just merge this :D (the appveyor warning can be ignored now)


[FEATURE] ability to specify revision method during predict

Is your feature request related to a problem? Please describe.
If I want to create predictions with multiple different revision methods I need to repeatedly start over, define a new regressor, and retrain the all of the models.
Describe the solution like
The revision method only comes into play during the prediction stage and does not alter the training step whatsoever. Therefore, I think it should be an option to pass the revision method name to the predict function which will supercede the method specified to the htsregressor object.
Describe alternatives you've considered
You can set model.revision_method.name = 'OLS' before calling model.predict( ) to change what revision method is used. I don't think this is the best way to do it.
Additional context
Let me know your thoughts. I can implement this ASAP. Should a method be specified when instantiating the regressor object at all?

From an interested users perspective, (who is keen to get involved) this decoupling of the revision from the training makes sense to me, however as a strong decoupling
This feels very hacky to me:
"being able to pass the revision method name to the predict function which will supercede the method specified to the HTSRegressor object"
This kinda breaks the point of having a revision method in the __init__
To me, the HTSRegressor is more a syntactic sugar on a full and known pipeline of operations and not investigation class so to speak.
Personally, as someone who wants to be a power user of the library, i would like to solve using the lower level classes and 'build' my own custom setup by using the classes. (sorry im not familiar with underlying classes but psudeo code might be )

clf = HTSRegressor(model='prophet', revision_method='OLS')`

can decompose into:
from hts.hierarchy import HierarchyTree
ht = {**total, **state_h, **store_h, **dept_h, **item_h}  # Taken from M5 example
hierarchy = HierarchyTree.from_nodes(nodes=ht, df=df)

base_clf = HTSBaseRegressor(model='prophet')
base_clf.fit(df, hierarchy)
preds = base_clf.predict(...)

revision1 = HTSRevisionRegressor(model='OLS')
revision1.fit(preds, hierarchy)

revision2 = HTSRevisionRegressor(model='WLSS')
revision2.fit(preds, hierarchy)

or does the following solve the issue (which feels a bit weird calling a convenience function)
clf = HTSRegressor(model='prophet', revision_method='None')
clf.fit(df, hierarchy)
preds = clf.pred(...)
revision1 = clf.convenience.revise_forecasts(preds, model='OLS')
revision2 = clf.convenience.revise_forecasts(preds, model='WLSS')

In the first example, it lets me bring my own predictions to the HTSRevisionRegressor and is agnostic to the models or pipelines used to generate them

That is a good point. I like the first method you suggest as it seems in line with the sklearn API. Also, it is similar to the functionality of R's HTS package. What do you think @carlomazzaferro?

@mpearmain you got it completely right that the HTSRegressor is simply a pipelining operation between your usual forecasting and the application of the revision methodologies. Something that I've added that probably I should've done a better job documenting is the hts.convenience.revise_forecasts method:  https://scikit-hts.readthedocs.io/en/latest/modules.html#module-hts.convenience
You can bring your own forecasts (provided residuals, errors forecasts or summing matrix for OLS, see docstrings for what you need before calling), and use the revision at your own leisure. FWIW, I'd be more inclined for a scikit-like implementation of the convenience function, both for the sake of consistency of the goal of the library and for developer experience.
While I'm quite backed up recently, I'd be happy to discuss implementation details with anyone willing to take that effort over. Otherwise, let me know if there's any clarification needed as far as using the convenience function.

Id be happy to help in that effort, (like everyone im backed up as well)
As you state the real power of this library is about resolving the hierarchical nature of forecasts and the revision there after.
With this effort i'll also try and add an HTS-example using some of the auto-forecasting packages like https://github.com/firmai/atspy to show it working external to the HTSRegressor class and taking advantage of the refactored class HTSRevsionRegressor ?

@carlomazzaferro did you want to discuss this request further in terms of design?

@mpearmain I'm sorry I dropped out of the conversation for some time -- work and personal life have not been the nicest on my side recently, but I've found some renewed interest in working on this. If you are still interested in contributing, I'm open to your proposed solution

Closing due to inactivity

Hi, I found the issue recently.How can i use revise predict result by hts after i train a xgboost model?thans~


makes link to TP documentation configurable

What does this PR do?
Fixes #3050
Which TC components are affected by this PR?

[ ] Documentation
[ ] Grove
[ ] Traffic Analytics
[ ] Traffic Monitor
[x] Traffic Ops
[ ] Traffic Ops ORT
[x] Traffic Portal
[ ] Traffic Router
[ ] Traffic Stats
[ ] Traffic Vault
[ ] Other _________

What is the best way to verify this PR?
In cdn.conf, change the value of portal->docs_url then navigate to the deprecated TO UI and click on the Traffic Portal link. It should take you to the value defined in cdn.conf.
Check all that apply

[ ] This PR includes tests
[ ] This PR includes documentation updates
[ ] This PR includes an update to CHANGELOG.md
[ ] This PR includes all required license headers
[ ] This PR includes a database migration (ensure that migration sequence is correct)
[ ] This PR fixes a serious security flaw. Read more: www.apache.org/security

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/2827/
Test FAILed.


Profiling features

This adds some features to profile a running project.
At the moment, it has "Display" and "Render" sections, roughly corresponding to "update stuff" and "draw that stuff".
(Captures and hit events probably could use coverage but present some challenges.)
Basically, in each of those sections, several timestamps are taken—at each "significant" step along the way—and the deltas in microseconds are reported. There is some small sublist support too, allowing event listeners to be included.
The results can be obtained with display.getTimings().

There are some per-frame statistics that Solar itself can already gather. These can be enabled and analyzed via display.enableStatistics() and display.getStatistics().

There is also a display.getSums() function, although it's a no-op.
Sums are similar to the timings described above, but they are meant for code that is hit numerous times, e.g. in a loop over child objects. The time differences are accumulated, and the number of visits recorded. (The counters are reset before rendering.)
These are disabled in normal code (#define ENABLE_SUMMED_TIMINGS 0) exactly because they're in some pretty hot spots, so will further impact code speed. (This was observed.) It would be interesting if some JIT techniques could be applied here. :smile:
They're mostly meant as a tool for engine development—whereas the other features are also meant for users—and have already flushed out some performance problems that I'll continue to pursue. The last bit is true of the other functions as well, and where some of these other PRs are coming from.

There are also some details about when these results happen (and therefore when you can query them) since your Lua code obviously occupies a point in time. 😃 I will try to expound on this in a later comment and docs.

Basic example:
local sums, stats, tstack = {}, {}, {}

display.enableStatistics(true)

local function PrintList (name, indent)
  local timings = table.remove(tstack) or {}
  local n = display.getTimings(timings, name)

  indent = indent or " "

  print(indent .. "> " .. name)

  for i = 1, n, 2 do
    local what, time = timings[i], timings[i + 1]

    if time then
      print(indent .. " ", what, time / 1e3)
    else -- sublist?
      PrintList(what, indent .. "  ")
    end
  end

  tstack[#tstack + 1] = timings
end

timer.performWithDelay(1, function()
  PrintList("update")

  print("")

  PrintList("render")

  print("")
  print("Stats")

  display.getStatistics(stats)

  for k, v in pairs(stats) do
    print(k, v)
  end

  print("")
end, 1000)

Runtime:addEventListener("lateUpdate", function()
  local n = display.getSums(sums)

  for i = 1, n, 3 do
    print(sums[i], sums[i + 1], sums[i + 2])
  end

  if n > 0 then
    print("")
  end
end)

I added Rtt_Profiling.h and Rtt_Profiling.cpp, so several files are projects with them added. I hope I got them all right. 😄

Note to self: Was adding files for another PR and saw there was also a Solar2D.project on Linux, that probably also wants the new file.

It looks like these changes broke debugging. Now every error stack traceback points to error function in init.lua :
stack traceback: [C]: in function 'error' ?: in function <?:191>

debug.getinfo returns same path
So, handling "unhandledError" is completely useless now. The only thing that still works is event.errorMessage. Though it doesn't help if you have multiple nested functions.
Looks like it's due to this rewrited part in init.lua
local ok, handled = _pcall( func, event )
if not ok then
	display._endProfile( profile )
	error( handled )
end


only documentation config

It would be nice with we can choose between testing spec or just documentation for swagger .

Please elaborate with an example of what you’re wanting to do

You can handcraft the a swagger.json file yourself and use that to power the UI instead of generating from tests

Closing due to inactivity. If I'm interpreting the ask correctly based on the small amount of detail provided, then it is possible. You just install the API and UI components - rswag-api and rswag-ui and handcraft the swagger.json file rather than generating via tests.