[sec:8:estimators] references

@mrshirts I think I figured out most of the references in this section, but a couple eluded me. Could you please add them and just generally look over the section?

OK, added a bunch of references with overleaf.  They are all in the Zotero group 'alchemical' folder.  I have not yet updated the .bib file on Overleaf yet, since I realized we are probably using different BetterBibText citation formats.  So my citations will not have the same citations as yours. Let me know what you were using (I couldn't quite get them right) and I will correct.

I think just adding things to the alchemical folder is fine. I'll make sure to update the overleaf. Its probably easier than us trying to sync our BetterBibTeX versions.


Coverage need map

seems only inline source map working

inline source map is ready

coverages data are merged.
source maps depends on the way of packaging. will not process here.


Fix gRPC performance regression

The stream compression refactor in #12399 routed non-compressed traffic through a truncation of first 5 bytes for deframing the gRPC header. This action is had some impact on performance when stream is not compressed but is actually not necessary in this case. This PR reroutes these data and consider them as decompressed.
Fixes #12768

[trickle] No significant performance differences

[microbenchmarks] No significant performance differences

****************************************************************

libgrpc.so

     VM SIZE                                                                  FILE SIZE
 ++++++++++++++ GROWING                                                    ++++++++++++++
  +0.1%     +32 src/core/ext/transport/chttp2/transport/chttp2_transport.c     +32  +0.1%
      +4.1%     +36 grpc_chttp2_maybe_complete_recv_message                        +36  +4.1%
  [ = ]       0 [None]                                                         +16  +0.0%

  +0.0%     +32 TOTAL                                                          +48  +0.0%

****************************************************************

libgrpc++.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

****************************************************************

libgrpc.so

     VM SIZE                                                                  FILE SIZE
 ++++++++++++++ GROWING                                                    ++++++++++++++
  +0.1%     +32 src/core/ext/transport/chttp2/transport/chttp2_transport.c     +32  +0.1%
      +4.1%     +36 grpc_chttp2_maybe_complete_recv_message                        +36  +4.1%
  [ = ]       0 [None]                                                         +16  +0.0%

  +0.0%     +32 TOTAL                                                          +48  +0.0%

****************************************************************

libgrpc++.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

[trickle] No significant performance differences

[trickle] No significant performance differences

[microbenchmarks] No significant performance differences

[microbenchmarks] No significant performance differences

Basic Tests C++ Linux [dbg] (internal CI) - #11205
Basic Tests C++ Linux [opt] (internal CI) - #11205 #12428
Basic Tests Windows [dbg] (internal CI) - #12819
Basic Tests Windows [opt] (internal CI) - #11383
Interop Cloud-to-Prod Tests (internal CI) - #9167
Tsan C++ (internal CI) - #12428


Switch to PullIfNotPresent

Fixes pull issue, described here:
https://github.com/knative/eventing-sources/issues/74#issuecomment-436655561
Proposed Changes

go with PullIfNotPresent

/assign n3wscott

/lgtm
/approve


[HUDI-3954] Don't keep the last commit before the earliest commit to retain

Tips

Thank you very much for contributing to Apache Hudi.
Please review https://hudi.apache.org/contribute/how-to-contribute before opening a pull request.

What is the purpose of the pull request
Don't keep the last commit before the earliest commit to retain
According to the document of  hoodie.cleaner.commits.retained:
Number of commits to retain, without cleaning.
This will be retained for num_of_commits * time_between_commits   (scheduled).
This also directly translates into how much data retention the table supports for incremental queries.

We only need to keep the number of commit configured through parameters  hoodie.cleaner.commits.retained.
And the commit retained by clean is completed.This ensures that “This will be retained for num_of_commits * time_between_commits” in the document.
So we don't need to keep the last commit before the earliest commit to retain,If we want to keep more versions, we can increase the parameters  hoodie.cleaner.commits.retained
Brief change log
(for example:)

Modify AnnotationLocation checkstyle rule in checkstyle.xml

Verify this pull request
(Please pick either of the following options)
This pull request is a trivial rework / code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)

Added integration tests for end-to-end.
Added HoodieClientWriteTest to verify the change.
Manually verified the change by running a job locally.

Committer checklist

[ ] Has a corresponding JIRA in PR title & commit

[ ] Commit message is descriptive of the change

[ ] CI is green

[ ] Necessary doc changes done or have another open PR

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

I'm wrong. Whether async clean or not, we shouldn't keep he last commit before the earliest commit to retain. And when hoodie.auto.commit is false, we also keep an additional version that should not be kept. I will change the code again

@hudi-bot run azure

@hudi-bot run azure

@hudi-bot run azure

@dongkelun I guess there is some confusion with respect to the documentation for the said config. I have added a review comment https://github.com/apache/hudi/pull/4927#discussion_r867342264 to correct this.
Also regarding the existing functionality, the code is fine in its correct form and no changes are required. To quote the documentation from java docs - `We assume that the max(query execution time) == commit_batch_time * config.getCleanerCommitsRetained().

This is 5 hours by default (assuming ingestion is running every 30 minutes). This is essential to leave the file
used by the query that is running for the max time.`

Please let me know if you still have any doubts and I can explain it further.

@dongkelun I guess there is some confusion with respect to the documentation for the said config. I have added a review comment #4927 (comment) to correct this. Also regarding the existing functionality, the code is fine in its correct form and no changes are required. To quote the documentation from java docs - `We assume that the max(query execution time) == commit_batch_time * config.getCleanerCommitsRetained().

This is 5 hours by default (assuming ingestion is running every 30 minutes). This is essential to leave the file
used by the query that is running for the max time.`

Please let me know if you still have any doubts and I can explain it further.

commit
retainTime(min)

001.commit
0

002.commit
30

003.commit
60

004.commit
90

005.commit
120

006.commit
150

007.commit
180

008.commit
210

009.commit
240

0010.commit
270

0011.commit
300

As you said, a file is retained for 5 hours by default, that is, 300 minutes. So when 0011.commit is completed, 001.commit has been reserved for 300 minutes, so we should not keep 001.commit when we clean.

Yes when 0011 commit is completed, 300 minutes have elapsed. But the original idea from the beginning has been to allow some more buffer time to allow the query to finish properly. As a user, you do not want to kill a query which has been running for such a long time and might just be finishing up at the time cleaner triggers and deletes the concerned file. Query can be delayed by some time due to retries or any such real world distributed systems problems. WDYT?

@pratyakshsharma  I think it's enough to reserve 300 minutes for query. There's no need to reserve one more 30 minutes. If we want to reserve more, we can increase the configuration parameters. In addition, other cleaning  policies do not retain one more version. I don't understand why they are not consistent.And I think it's a little redundant to retain one more version, because we have reserved enough time through configuration parameters. And it is not consistent with the configuration parameters, which is easy to confuse users.
So I think it's reasonable not to keep one more version, and the code is more concise.

Okay, you have a valid point here. I agree this policy has been a bit confusing from the very beginning because of this extra logic of retaining one more commit. My only concern was this might break things for existing users who have been using this cleaning policy and assume one extra commit will be retained. I will go over the changes by tomorrow.
I think it will be good to get opinions from @nsivabalan @bvaradar as well on this change. If they support, we are good to go.

Okay, you have a valid point here. I agree this policy has been a bit confusing from the very beginning because of this extra logic of retaining one more commit. My only concern was this might break things for existing users who have been using this cleaning policy and assume one extra commit will be retained. I will go over the changes by tomorrow.
I think it will be good to get opinions from @nsivabalan @bvaradar as well on this change. If they support, we are good to go.

Okay

@vinothchandar @bvaradar : do you folks have any context around why we retain 1 extra commit compared to the configured number for num commits to retain with cleaning?

hey @danny0405 : may be there is some rational behind the original intent. Its just deducting 1 commit from what user wants right. as of now, I don't feel this is giving us much or fixing any regression. can we drop the patch.

hey @dongkelun : may be there is some rational behind the original intent. Its just deducting 1 commit from what user wants right. as of now, I don't feel this is giving us much or fixing any regression. can we drop the patch.

However, I think it doesn't make much sense, and the logic becomes complicated and makes users feel confused, and removing this logic seems to have no bad effect. So I personally don't think it's necessary to keep it

I do not want to touch something that existed for 3+ years w/o understanding the repurcussions. will probably wait to hear from vinoth or prasanna/balaji. we can leave the patch open until then.

I do not want to touch something that existed for 3+ years w/o understanding the repurcussions. will probably wait to hear from vinoth or prasanna/balaji. we can leave the patch open until then.
OK

this behavior is not expected in GDPR context when you want to hard delete records and clean old files. You generally run a delete operation with KEEP_LATEST_COMMITS to 1 and you don't want old records supposedly deleted to appear in any time travel query.


Add additional security features to server (optional)

These tasks were split out from #9, and include:

Secure Nexus repo with credential
Turn on CCM Client & Service Salts
Generate Register-InternetEndpoint.ps1 script to pair with a ClientSetup.ps1 script

On further discussion with @steviecoaster, we've agreed to leave some of this work out of the first release. We are striving to keep this simple, and weaving in the -InternetEnabled bits will add complexity at this point. We may revisit this later, possibly when revising the "distributed" approach with a new version of Organizational Deployment Guide.
@steviecoaster, I'll leave this open just for this one piece, if that's OK:

Generate Register-Endpoint.ps1 script to pair with a ClientSetup.ps1 script, and output this script to choco-setup\files.

For the first release, to meet our internally-defined security requirements and maintain parity with QDE, we have decided to include the ability to define your own SSL Certificate.. This should cover the use cases of users bringing their own Domain cert, or purchasing a third-party cert. This is our minimum requirement if the user intends to expose this server to external endpoints on the Internet.
This will involve the following:

Update Set-SSLSecurity.ps1 with logic to:

Accept external cert
Copy to appropriate cert store
Reassign services and bindings
Import cert into Java Key Store for Nexus
Update firewall rule for Nexus to 8443

Update Jenkins job templates in the scripts folder to reflect change of port for repo URI
Move order of Jenkins script to the end again, as we need the CN to update repo URI


chore(deps): upgrade dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-k8s-24-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 1756

Questions ?
Please refer to the Backport tool documentation


Hate the move to a home app

By leaving the browser behind, you also leave behind features that the browser implemented. For example, while operating in the browser, I could use the browser's "Find" feature to search the response. In the app, I can't. (Other features, like form input autocomplete, are also MIA) Please bring back the browser interface!
Expected outcome
What should happen?
Actual outcome
What happened?
Versions
App: <IP_ADDRESS>-stable
Chrome: 49.0.2623.110
Platform: Mac OS X (10_11_4)
Steps to reproduce

Duplicate of the #462


HAL HCD and PCD modules are missing in stm32c0xx_hal_conf_template.h

Since STM32C071xx has been released, USB is supported but HAL HCD an PCD are missing in the stm32c0xx_hal_conf_template.h

#define HAL_PCD_MODULE_ENABLED
#define HAL_HCD_MODULE_ENABLED

#ifdef HAL_PCD_MODULE_ENABLED
 #include "stm32c0xx_hal_pcd.h"
#endif /* HAL_PCD_MODULE_ENABLED */

#ifdef HAL_HCD_MODULE_ENABLED
 #include "stm32c0xx_hal_hcd.h"
#endif /* HAL_HCD_MODULE_ENABLED */

Hi @fpistm,
You're absolutely right. But, good news, this has been fixed in the frame of release 1.3.0 published around two weeks ago.
With regards,


[Docs] Fix wrong item number in fabric doc

What is the purpose of the pull request
Fix wrong item number in fabric doc.
Brief change log
Fix wrong item number in fabric doc.
Verify this pull request
This pull request is a trivial rework / code cleanup without any test coverage.

cc @the-other-tim-brown, take a review when free, thanks.


Harden handles against invalid connector id range

Describe your changes
If from backend site, the connectorId is not in valid range, the relevant reject is answered to avoid undefined behavior.
Issue ticket number and link
Checklist before requesting a review

[x] I have performed a self-review of my code
[x] I have made corresponding changes to the documentation
[ ] If OCPP 2.0.1: I have updated the OCPP 2.0.1 status document
[x] I read the contribution documentation and made sure that my changes meet its requirements

Hi @Matthias-NIDEC , thanks for your contribution! clang-format is failing in the CI.
You can run clang-format inside the libocpp root directory using
docker run -it \
  --mount type=bind,source=$(pwd),target=/source \
  ghcr.io/everest/everest-ci/build-env-base:v1.3.3 \
  run-clang-format \
    /source \
    --extensions hpp,cpp \
    -e cache \
    --color always \
    -ri

For future PRs it would be nice if you allow maintainers to push to the branches of your fork, so do something like this without your support ;) https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/allowing-changes-to-a-pull-request-branch-created-from-a-fork


{AzureSynapse} fixes Azure/azure-cli#23631

Related command
{AzureSynapse} fixes Azure/azure-cli#23631
Description

--main-class-name seems a mandatory parameter when submitting the spark job. However, it is mentioned in Optional Parameters
Testing Guide

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change
[Component Name 2] az command b: Add some customer-facing feature

This checklist is used to make sure that common guidelines for a pull request are followed.

[x] The PR title and description has followed the guideline in Submitting Pull Requests.

[x] I adhere to the Command Guidelines.

[x] I adhere to the Error Handling Guidelines.

AzureSynapse

--main-class-name is not mandatory parameter for pySpark job

/azp where

--main-class-name is not mandatory parameter for pySpark job

I tried creating without using this parameter, but it did not work and asked for entering this parameter to create the job.

--main-class-name is not mandatory parameter for pySpark job
@wonner
I tried creating without using this parameter, but it did not work and asked for entering this parameter to create the job.

@SaurabhSharma-MSFT
When the language is python, I suppose you don't need to provide the main class name. Could you please have a try?

Close this PR as it has created for more than 3 months. If needed, you can reopen it later.


Module not working on Linux / macosX

Problem description
I followed the docs
https://github.com/dsccommunity/ComputerManagementDsc/wiki
I need to use a samba share on a remote Windows sever
On both Linux and macosX, the install command completes successfully :
Find-Module -Name ComputerManagementDsc -Repository PSGallery | Install-Module
But this command fails :
Get-DscResource -Module ComputerManagementDsc
Verbose logs
Get-DscResource: The term 'Get-DscResource' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

DSC configuration
None

Suggested solution
I don't know
Operating system the target node is running
Darwin Kernel Version 22.5.0: Thu Jun  8 22:21:34 PDT 2023; root:xnu-8796.121.3~7/RELEASE_ARM64_T8112 arm64

Linux 6.3.8-200.fc38.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jun 15 02:15:40 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

PowerShell version and build the target node is running
PowerShell 7.3.4

ComputerManagementDsc version
I don't know

I am pretty sure the module is not going to work on Linux or Mac OS X. The resources provided by that module make use of CIM classes and PowerShell cmdlets that are not available on Linux or Mac.


add comments to run() in cli.py

Currently there is not enough comments in run() in cli.py, whereas it is long and doing many things.
Add comments for major steps in run() for readability.

fixed in #7


Make GridAtmosphereComponent use JobQueue

Probably better to have this unified across AI + pathfinding + atmos for long-running tasks that can be time-sliced.

Atmos could definitely use Jobs for handling its update stages. However, JobQueue doesn't work since it inserts paused jobs at the very back. Atmos needs paused jobs to be inserted back at the front. Something like this:
Job A Starts -> Job A Paused -> Job A Resumes -> Job A Finishes -> Job B Starts -> Job  B Finishes -> Job C [...]

Honestly, I'm not sure I want this.


Move common components into a separate library & crate

Wrappers
AsSlice
Useful macro

The amount of such items is small, it's better to keep them as a part of a single library


LIKE wildcard character '%' causes error when used in the RM-Python-config.ini file

Some SQL statements, when entered into the RM-Python-config.ini file cause the GroupFromSQL utility to generate the message-
ERROR: SQL_QUERY in the ini file group Missing_1950_Census must be specified.
The cause is the use of the SQL LIKE function's wildcard character "%".  That character is being interpreted by the config file parser in an undesired way.
This will be fixed in the next release.
In the meantime, escape the % character by entering it twice. For example, if you SQL has a line like-
AND plt.Name LIKE '%United States%'
Change it to:
AND plt.Name LIKE '%%United States%%'
The SQL that is actually run will have the single % character.

Fixed in GreoupFromSQL v1.1  and TestExternalFiles v1.5

Fixed in GreoupFromSQL v1.1  and TestExternalFiles v1.5

Fixed in GreoupFromSQL v1.1 and TestExternalFiles v1.5

Fixed in GreoupFromSQL v1.1 and TestExternalFiles v1.5


[Do Not Merge] Test PR

Hello @Wyverald, @fmeum, modules you maintain (bazel_features) have been updated in this PR. Please review the changes.


Adding to a component

Hi, I'm trying to add the library to a component I have in my project. But I have not been able to make it work out these mistakes, I am new to Vue.js.
Here I put the code as I have in my project
I am working on laravel 5.4 and the whole view with components of vue
in bootstrap.js
Vue.use(require('vue-file-upload-component'));
in CreateCheck.vue
`

`
 import FileUpload from 'vue-file-upload-component';     export default {         props: ['title','url','banks'],         components: {vSelect, FileUpload},         data () {              return   {                  data: {                      number: '',                      bank: '',                      name: '',                      balance: '',                      type: '',                      files: [],                  },                  errors: {                      number: '',                      bank: '',                      name: '',                      balance: '',                      detail: '',                      type: '',                  },                  option: [                      {'value':'chuech','label':'Gastos de Iglesia'},                      {'value':'local_field','label':'Reporte al Campo Local'}                  ],              }          },

This library is for Vue 1. Is that possibly the issue?

vue 2

It probably won't work. You will need to use another library.

Gracias,
Thanks


Roll Flutter Engine from ec5de9b810ef to 4199b108b366 (1 revision)

https://github.com/flutter/engine/compare/ec5de9b810ef...4199b108b366
2022-12-01<EMAIL_ADDRESS>Roll Skia from 6f6793b298ff to b273c4c744be (1 revision) (flutter/engine#38009)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


[feature] rerender recaptcha if recaptcha verification fails

Addresses: https://github.com/restarone/violet_rails/issues/989
demo
https://user-images.githubusercontent.com/35935196/182979819-02367185-7a11-4dd8-84e2-b4788750ece8.mov
Co-authored-by: Pralish Kayastha<EMAIL_ADDRESS>Co-authored-by: Prashant Khadka<EMAIL_ADDRESS>

RCA: https://prashant.restarone.solutions/forum/threads/violet-rails-core-rerender-recaptcha-if-recaptcha-verification-fails
Acceptance criteria ⌛


Publishing mtv_dl to Docker Hub

You already added the possibility to run mtv_dl inside a Docker container. What is missing in my opinion is the published image on Docker Hub for even easier use. Right now, you have to clone the repository in order to build the image. I would prefer to simply pull the image off the Docker Hub repository and begin to use it.
I would suggest using an automatic build pipeline which can be connected to this Git repository. You can define that the "latest" image and an image containing the version tags is built whenever a new release is published. Additionally I would suggest building a "dev" image on each commit to the main-branch. This way newest features are available asap.

It's already there. I added it #9, but never received a positive feedback from the asking user back then, so I never added it to the README. Difference is I use the tags for versions but latest for tracking the master branch. Maybe not my smartest decision.
⇾ https://hub.docker.com/r/efenka/mtv_dl

Maybe I have to dive deeper into how docker hub works, but is also was not able to auto-build always the highest tagged version. So would have to create a "latest" tag in git and move this always, what felt a bit "wrong" for me.

Maybe I have to dive deeper into how docker hub works, but is also was not able to auto-build always the highest tagged version. So would have to create a "latest" tag in git and move this always, what felt a bit "wrong" for me.

I believe you can build on release and simply regex to any git-release tag: https://stackoverflow.com/a/44796846/14814219
|--------|-----------------------------------|---------------------|-----------------|
| Branch | master                            | /                   | latest          |
| Tag    | /^v([0-9]+)\.([0-9]+)\.([0-9]+)$/ | /                   | {\1}            |
| Tag    | /^v([0-9]+)\.([0-9]+)\.([0-9]+)$/ | /                   | {\1}.{\2}       |
| Tag    | /^v([0-9]+)\.([0-9]+)\.([0-9]+)$/ | /                   | {\1}.{\2}.{\3}  |

Sure, this is what I did, but I cannot pin "latest" to the highest version-tagged commit. I would have to create a "latest" git tag and with every version I publish, would have to remove and add it again to a different commit. See what I mean?

Sure, this is what I did, but I cannot pin "latest" to the highest version-tagged commit. I would have to create a "latest" git tag and with every version I publish, would have to remove and add it again to a different commit. See what I mean?

(this is the perspective from the backend)

Shouldn't this be possible though?

Having latest as any latest release, dev as any commit to the master/main branch and the version tags from each git-tag?

Ok, I will give it a try and changed the config accordingly, even if I'm not sure if the "latest" tag really works as expected. I will see as soon as I publish a new tag.


Reduce extent of native corporation polygons NC5 and NC12

These can be truncated to the API bounding box of
WEST_BBOX = [-180, 51.3492, -122.8098, 71.3694]
EAST_BBOX = [172.4201, 51.3492, 180, 71.3694]

XREF https://github.com/ua-snap/data-api/issues/140

Closing - we have better ways of handling partial or complete no data responses for polygon queries. We don't, and probably shouldn't, modify the data cookie cutters just because we ran out of cookie dough.


Take WRITE_EXTERNAL_STORAGE permission only on versions that need it and request it only when needed

Take WRITE_EXTERNAL_STORAGE permission only on versions that need it
Support open YouTube URLs with intent.action.VIEW and intent.action.SEND (Share) + add view/share option to download (It just opens download menu immediately)
Extract strings to resources so they could be translated

Thanks Bro 🌌


Ensure internal evaluation functions are type stable

This implements several changes to get Enzyme compatibility working (in support of in https://github.com/MilesCranmer/SymbolicRegression.jl/pull/254)

Makes OperatorEnum based on tuples of functions rather than vectors. Thus, it once again is specialized to the operators, rather than a generic struct.
Removes all remaining type inference from the evaluation kernels, by using a generated if statement over the operators, rather than indexing a vector of functions.
Makes the internal evaluation kernels return a struct storing the result and a flag. Before, each evaluation kernel returned a tuple. This hurt type inference for some reason (maybe because (a, b) = (1, 2, 3) is valid Julia code?)
Ensures that the constant tree evaluation returns mutable storage, as otherwise that branch seemed to mess with Enzyme.jl's gradients
Allow Val(false) to be passed for turbo in the evaluation codes (rather than just false), so that the compiler can completely remove the LoopVectorization branches inside an Enzyme gradient call.
Adds a fuse_level parameter to turn on/off the operator fusing. It seems like Enzyme.jl does not play well with the many branches of different fused operators (https://github.com/EnzymeAD/Enzyme.jl/issues/1018), so there needed to be a way to just turn them off.

There are a few other unrelated changes which made sense to implement simultaneously:

Add tests for type stability
Deprecate enable_autodiff. Instead, we just use Zygote within each gradient kernel – it should compile in the differential operator anyways, so no need to store them (especially because we store operators in a tuple now).
Fix some type inference issues with eval_grad_tree_array.
Deprecates turbo for eval_grad_tree_array, as it does not seem to improve performance through Zygote anyways.

TODO:

[x] Add test for Enzyme compatibility
[x] Undeprecate differentiable_eval_tree_array
[ ] Add test for large number of operators, to see if @nif hits any issues. Potentially we could switch back to indexing if necessary.
[ ] Reduce precompilation (and copy this TODO to SymbolicRegression.jl)

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

68 of 68 (100.0%)  changed or added relevant lines in 3 files are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.05%) to 91.122%

Files with Coverage Reduction
New Missed Lines
%

src/ExtensionInterface.jl
2
0%

Totals

Change from base Build<PHONE_NUMBER>:
0.05%

Covered Lines:
1088

Relevant Lines:
1194

💛  - Coveralls

Removing from v0.14 timescale as there's some remaining issues with compilation times.

@MilesCranmer FYI the fix for that issue is released in Enzyme 0.11.12 if you want to try rerunning this with that.

Thanks! Trying now.

Awesome. Seems to work now! What was the thing that fixed it?

Not sure, since when you tried main it was already fixed. I just released a
new version.
On Wed, Jan 3, 2024 at 3:15 AM Miles Cranmer @.***>
wrote:

Awesome. Seems to work now! What was the thing that fixed it?
—
Reply to this email directly, view it on GitHub
https://github.com/SymbolicML/DynamicExpressions.jl/pull/52#issuecomment-1874988500,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAJTUXATTWERV4DYJY3HPZ3YMUHRNAVCNFSM6AAAAAA3PDTW6SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZUHE4DQNJQGA
.
You are receiving this because you commented.Message ID:
@.***>

Yeah go ahead and open issues for anything else that arose. My comment only referred to the correctness issue you raised earlier.

Thanks! No worries. Just for simplicity I'll keep the integration tests on Julia 1.10 and ubuntu-latest, just to get this implemented finally.
Do you want me to add an integration test to Enzyme itself once this all passes and gets released?


Added support for AzureAI client service

Added Support Azure AI, client serivce #92
Now you can use either OPEN_AI_KEY or you can use Azure identity service to directly authenticate to your end points using credentials

@adityasugandhi
It seems that line 183 to 200, is duplicate of 163 to 180. Also, token in line 178 didn't work for me. I used azure_ad_token_provider instead.

@hmehta9 I have fixed the azure_ad_token provider call, and line 163 to 180  servces for AzureOpenAI, where line 183 to 200 is for AsyncAzureOpenAI.

@chainyo I am still waiting for the review from the repo owner. @liyin2015
Sure, I will start looking into AWS Bedrock

@liyin2015  I have made changes

Hey where are we at with this PR? @adityasugandhi

This pr is nowhere near to be accepted, and will need to take a more serious investigation and tests and code refactor

Hi @liyin2015 , I have updated the pr and have made fixes as suggested earlier. with test_azure_client.py tested successfully.


Linux build fails

System: Ubuntu 18.04 with manually upgraded cmake to version 3.20.2
Following the linux build instructions in README.md I get the following error:
-- The CXX compiler identification is Clang 10.0.1
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /home/ue4/UnrealEngine/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v17_clang-10.0.1-centos7/x86_64-unknown-linux-gnu/bin/clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:18 (add_subdirectory):
  The source directory

    /home/ue4/cesium-unreal/extern/cesium-native

  does not contain a CMakeLists.txt file.

CMake Error at CMakeLists.txt:24 (set_target_properties):
  set_target_properties Can not find target to add properties to:
  cesium-native-tests

Any ideas what went wrong here?

It looks like you haven't cloned the cesium-native submodule. Did you clone cesium-unreal from github with git clone --recursive git@github.com:CesiumGS/cesium-unreal.git? That --recursive is very important.
If that doesn't fix it, can you please post to the community forum? We try to use GitHub exclusively for bug reports and feature requests.

oops - you were right. Sorry about that and thanks for the quick reply!


Add ref forwarding for DraggableDialogSurface

In the newest released version of Fluent UI 9, the DialogSurface component must support ref forwarding. If DialogSurface is wrapped inside another component, then that component must support ref forwarding. See e.g. https://github.com/microsoft/fluentui/issues/31630
That is the case in this module, react-draggable-dialog. DraggableDialogSurface is a wrapper around DialogSurface. If using this module with the newest Fluent UI 9 build, it throws the following error:
Error: @fluentui/react-motion: Invalid child element.
Motion factories require a single child element to be passed. That element element should support ref forwarding i.e. it should be either an intrinsic element (e.g. div) or a component that uses React.forwardRef().

This pull request adds the necessary forwarded ref for the DraggableDialogSurface component.

@microsoft-github-policy-service agree company="Tietoevry"


[AVM Module Issue]: App Insights ResourceID Output does not align to standards

Check for previous/existing GitHub issues

[X] I have checked for previous/existing GitHub issues

Issue Type?
Bug
Module Name
avm/res/insights/component
(Optional) Module Version
No response
Description
Best practices is to use the name resourceId when exporting the resourceId. App Insights appears to be using applicationId
(Optional) Correlation Id
No response

If I have time will submit a PR...just putting for documentation

NVM


Process Hacker, Help me please, what did my son do to my machines?

What did my son put on my Computer ?  Process Hacker...  What is it and or how do I get rid of it??? Its on both of my machines. Please help, the program info sent me here.

Can someone Email me or something? Thank you. Still trying to figure it out.

Process Hacker is an open source replacement for Task Manager. System Informer is the successor to Process Hacker. You can remove Process Hacker through "Add and remove programs".

Thank you I will try that.

I would also advise, since your son may have installed it, they may be helpful in removing it too.

To get to "Add and remove programs" to uninstall, follow these instructions:

Hold the Windows Key and press r
In the "Run" dialog, type appwiz.cpl and click OK
In the "Programs and Features" window look for "Process Hacker"
Double click it
Follow the prompts to uninstall the program

Alternatively you could try:

Hold the Windows Key and press R
In the "Run" dialog type "C:\Program Files\Process Hacker 2\unins000.exe" (with quotes) and click OK
Follow the prompts to uninstall the program

Thank you, No such luck.. This is what I got.

Process Hacker Log.txt

@https://github.com/winsiderss/systeminformer/issues/1791#issue-1807937134

Sorry if I caused a problem, didn't mean to. I am just looking for a little help here.

Thanks for providing the screenshots.

Sorry if I caused a problem, didn't mean to. I am just looking for a little help here.

Not a problem, I know this can be frustrating. I'll try to provide assistance.

It won't let me Chang any settings back or remove anything.  Its on my wives new Lenovo and it's getting the blue screen every other booty. I could really use some Help..

Based on this description and the behavior your experiencing interacting with the operating system. Something has damaged the operating system and/or your user account. It's a likely some other unwanted software has caused damage to your system. It's also possible your machines have been compromised/infected. You could try some of these recovery options and instructions from Microsoft: https://support.microsoft.com/en-us/windows/recovery-options-in-windows-31ce2444-7de3-818c-d626-e3b5a3024da5
I would recommend the actions listed under "Your PC isn't working well and you recently installed an app." or "You suspect your device has been infected.".
We are really approaching topics and troubleshooting that are outside the scope of this forum - my best advise would be to seek a local support tech.

I will add, don't trust phone-in or online support tech services- they're full of scammers. The best option would be a local store (like BestBuy or similar).

Thank you all so much.  And your correct, wife somehow erased, damaged or corrupted sys.32 files in the library somehow.  getting it taken care of. Again, Thank you. Kevin MS Insider 5 years.


build: fix detect-secrets issues

PR summary
PR Checklist
Please make sure that your PR fulfills the following requirements:

[ ] The commit message follows the Angular Commit Message Guidelines.
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

Current vs new behavior

Does this PR introduce a breaking change?

[ ] Yes
[ ] No

Other information

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


444 Context Retrieval - Scratch PR

Correctly retrieves the right document

        user_prompts = [
            "When was the Llama 3.2 family of models released?",
            # "What about Llama 3.1 family of models, what is the release date for it?",
        ]

The RAG only retrieve the context from llama3.2 model card for first message but did not do retrieval for the second message, the context is still llama3.2 model card from first message.

⬜ Is this true? How are we choosing which document to load up?


server not found (mockbackend)

please can u tell me about how to implement  mockbackend for your seed in which config files changes needed

For support requests you can use gitter or take a look at project's the wiki page in order to get more complete idea on how the it works.


Solution to My Specto jpg not showing

Mr Know,
If you want the My Specto icon to show in Specto then change the name of resources>media>4orbs, g0ne, metro, etc>mygenesis.jpg to myspecto.jpg. Then the icon will show in the navigator. In resources>lib>indexers>navigator.py...line 83 points to myspecto.jpg yet that name doesn't exist in media themes.
Hope this helps.
Bob

OK , thanks for the solution.
Today, I fix it and patch will be available in the next update .

@bjgood if you program we can use you here


LeaderF don't work anymore (on Mac at least)

I just updated the plugin and now vim doesn't start and completely mess up the shell (I can't even use the mouse to select the output.
Here are the steps I've done to determine that LeaderF was the source of the problem. At that point, LeaderF is already at it latest revision, vim crash as soon as I run it:

With nano, I've commented out all the plugins
I started vim (it works this time, without any plugin), I uncommented LeaderF, closed vim
I started vim again: crash.

Here's the screenshot of the shell:

I actually went quite far back in the LeaderF log (dec 2016), but vim still crashed.
It seems to be a problem with my machine... But if someone on Mac has the same problem, please post something here. Otherwise we'll be able to close this issue (but I'll have to use CtrlP again... 😢 )

Have it ever worked before on your current vim on this machine?
It works well on my Mac os X 10.11,  vim 8.0.771.
I think any plugin that written in python can not work on you vim, please reinstall the vim.

Yep, I was using it for the last 5 months or so. I'll try to update python, vim, etc...

Ok, I updated everything (including both mac and python) and now it works!
Thanks!
Closing the issue.


Refresh Java docs

Bringing in https://github.com/open-telemetry/opentelemetry-java-docs/pull/8
Preview:  https://deploy-preview-998--opentelemetry.netlify.app/docs/instrumentation/java/

/cc @cartermp

Looks like this also incorporates https://github.com/open-telemetry/opentelemetry.io/issues/997
I think it looks fine, though I'd be interested in others' opinions

Looks like this also incorporates #997

No, #997 isn't a part of this PR. That change will need to land in the java-docs repo first.

Aha, my bad, yes. It was the link titles that got adjusted.

Right.


is there a performance test of riak cs? the read/write speed is very low in my test!

i want to use the riak cs as a cc blobstore in cloud foundry. but when i deploy the riak cs and write some data to riak cs. i found that the read/write speed is very slow. compare to nfs server. i use the s3curl to put data to riak cs .i have the test as below:
a 475M file write to riak cs need 1m53.915s but 9m23.342s in nfs server
a 296M file write to riak cs need 0m50.229s
it take me a long time when i cf push app. i want to know why cloudfoundry use the riak cs for cc blobstore? even the speed is 3x lower than nfs server? is there a Performance Tuning of riak cs when you use it as a blobstore?
i hope you can help me , thank you .

It's been nearly two years without response; closing this now.


Fix: Fixing broken url on README

Fixing the broken URL on the README file that is supposed to connect to the website of Delta Teaching fellows.
Updating the link to this current link (http://www.deltanalytics.org/teaching-fellows.html)

Hey there @Lawrence-Krukrubo ,Delta analytics appreciates the PR (pull request)!
However, it appears I accidentally started from the top of the list of PRs, and merged #69 first instead of this one. 😓

again, Delta analytics appreciates this contribution.

Have a good remainder of 2020, and be well 😄


clarify slots example in docs to reduce naming confusion

Co-authored-by: Blake Williams<EMAIL_ADDRESS>

Hey! I just saw the new release and read through the docs since this exact passage got me thinking a day ago. Where does BlogPost come from? It's the first an only mention in the docs as far as I can tell.


1.16.1-1.2.0 crash on startup

latest.log

I need complete logs. the entire latest.log, as well as debug.log and and a crash report log if available.

debug.log
latest.log   is this the entire thing?
It doesn't generate a crash report log for some reason.

I can find no reference to any error from my mod in these 2 new logs you posted. How did you get the first log you posted above?

I'm really not sure why those were different. I had pulled them from the /log folder...
I cleared it and generated new ones. Here they are.
debug.log
latest.log

I'm not sure why it doesn't generate a full "latest" log

The issue still appears to be the same. Something is causing my mixin for the player to allow them to attack beyond standard attack reach to fail.

Hey I'm getting a crash on boot too. Tried to run a clean instance with only Dungeons Gear (and JEI) and the game freezes while on the red loading screen.
On Forge 32.0.108
V 1.16.1
Attaching both debug.log and latest.log from the clean run, hopefully this helps.
debug.log
latest.log

this seems to be the same, or a similar problem to the one in the latest(major) 1.15 version, to my untrained eye, what other mods do y'all have installed?
and if any of them do anything with reach, try removing them and then booting the game

Just found the issue guys, will be uploading a fix right now

It's up now guys, let me know if this error persists

Still getting reports of the error persisting, reopening and working on a fix now

So there wasn't anything specifically wrong in the code, it turns out the jars I was building were just not including updated reference maps for the mixin for whatever reason. It was still using the old ones from before the big update. I just kind of "cleared the cache" and boom, everything that needed to be in there was finally there. Re-uploaded 1.2.0 for 1.16.1, should be good to go now. Again, if this is somehow still persisting, feel free to reply again.


incorrect parsing of "=>" in @overload tag

Given:
# @overload render(:partial => path_to_file)

The resulting document reads
- (Object) render(:partial = >path_to_file)

Similarly, this:
# @overload render({:partial => path_to_file})

is rendered as this:
- (Object) render({:partial = > path_to_file}

Here's another one:
Input:
# @overload model.should have(:no).errors_on(:attribute)

Output:
- (Object) model.should(have(:no)(:attribute))

@overload is used for describing different possible signatures of methods and as such the tag data will be treated as if it were, in fact, a method definition. Neither "render(:partial => path_to_file)" nor "model.should have..." are correct method signatures though.

Fair enough. I'll move that material to Examples.


Full text searching - IN BOOLEAN MODE

Its possible to add "IN BOOLEAN MODE" to Full text searching?
$database->select("post_table", "post_id", [
    "MATCH" => [
        "columns" => ["content", "title"],
        "keyword" => "foo"
    ]
]);

Thank you!

It's now supported since 1.4.
https://medoo.in/api/where


IAnnotationTransformer and Class-Level tests : Problems when setting test groups

Description
We have discovered if we are using iAnnotationTransformers in Connection with Class level tests, you will face problems if the Classes share description and test groups (more than 1)
In this case if you have two classes having the same test groups + desccription. If you change the test group of one, it will be changed for both.
(work around : make sure the classes have different descriptions)
TestNG Version
7.4.0
Expected behavior
In IAnnotationTraansformeer, if you change the est group of one class it should only affect that class.
Actual behavior
When using IAnnotationTransformer if you change the est group of a Class Level it will also change all other Class Level tests sharing the same description + test group
Is the issue reproducible on runner?

[ x] Maven
[ x] Eclipse

Test case sample
https://github.com/baubakg/testng-annotationtransformer.git
To reproduce issue run
com.adobe.campaign.tests.main.TestEGMProblem.testTestClassLevel_NoDescription_ChangeGroupOfOne
In this example I run a test in the package com.adobe.campaign.tests.case1_fails
Classes:

TestClassA
TestClassB

Have the same groups and descriptions.
In this case we use the transformer TestGroupTransformer which simply sets the test group of "TestClassA" to "MYGROUP".
However as the test shows, by changing the test group of TestClassA we also change that of TestClassB

@baubakg - I think this issue is fixed in TestNG 7.5-SNAPSHOT.
Please retry using that and post back your result.
You need to add the below as a repository
<repository>
    <id>snapshots-repo</id>
    <url>https://oss.sonatype.org/content/repositories/snapshots</url>
</repository>

<dependency>
    <groupId>org.testng</groupId>
    <artifactId>testng</artifactId>
    <version>7.5-SNAPSHOT</version>
</dependency>

Thanks, I suspected that. I'll give it a try.

Thanks for your input Krishnan. Yes as you suggested, the snapshot does solve this issue.


Calculate percent of contemporary range occupied

Current summary calculations only compare total areas of contemporary vs. forecast range. Would be useful to consider how much of the current range will be suitable under forecast climate models.

Addressed (for glm) in 10219c2. On hold for now, as it is not clear if this should be done for individual species distribution methods or for consensus distributions.

Now addressed (for consensus distributions) in 1d58d48

This is being calculated in summary-2-compare-ranges.R


A modest attempt to improve logging and recovery of cenos2ol

I slightly modified the script to improve logging and recovery for my needs. But some of the changes might have a wider appeal.
I think it might make sense to review the modified script.  It is called centos2ol_plus
See https://github.com/softpano/centos2ol/blob/main/centos2ol_plus.sh
671 lines (613 sloc)  25.3 KB
#!/bin/bash
# Copyright (c) 2020-2021 Oracle and/or its affiliates.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
#
# Script to switch CentOS (or other similar distribution) to the Oracle Linux yum repository.
# with better diagnostics output formatting and restore_repos function converted to a dummy.
# 1.00  oracle  2020/12/28  Oracle initial implementation
# 2.00  bezroun 2021/01/07  Some cosmetic changes and better diagnostic plus a limited ability to restart from a certain step

set -e
unset CDPATH
declare VERSION='2.00'
declare BASE='/tmp/Centos2ol'
declare -i STEPNO=0
declare -i STARTNO=0

yum_url=https://yum.oracle.com
github_url=https://github.com/oracle/centos2ol/
bad_packages=(centos-backgrounds centos-logos centos-release centos-release-cr desktop-backgrounds-basic \
              centos-release-advanced-virtualization centos-release-ansible26 centos-release-ansible-27 \
              centos-release-ansible-28 centos-release-ansible-29 centos-release-azure \
              centos-release-ceph-jewel centos-release-ceph-luminous centos-release-ceph-nautilus \
              centos-release-ceph-octopus centos-release-configmanagement centos-release-dotnet centos-release-fdio \
              centos-release-gluster40 centos-release-gluster41 centos-release-gluster5 \
              centos-release-gluster6 centos-release-gluster7 centos-release-gluster8 \
              centos-release-gluster-legacy centos-release-messaging centos-release-nfs-ganesha28 \
              centos-release-nfs-ganesha30 centos-release-nfv-common \
              centos-release-nfv-openvswitch centos-release-openshift-origin centos-release-openstack-queens \
              centos-release-openstack-rocky centos-release-openstack-stein centos-release-openstack-train \
              centos-release-openstack-ussuri centos-release-opstools centos-release-ovirt42 centos-release-ovirt43 \
              centos-release-ovirt44 centos-release-paas-common centos-release-qemu-ev centos-release-qpid-proton \
              centos-release-rabbitmq-38 centos-release-samba411 centos-release-samba412 \
              centos-release-scl centos-release-scl-rh centos-release-storage-common \
              centos-release-virt-common centos-release-xen centos-release-xen-410 \
              centos-release-xen-412 centos-release-xen-46 centos-release-xen-48 centos-release-xen-common \
              libreport-centos libreport-plugin-mantisbt libreport-plugin-rhtsupport python3-syspurpose \
              python-oauth sl-logos yum-rhn-plugin)

function step_info
{
STEPNO++
   echo
   echo
   echo "============================================================================"
   echo "*** Step $STEP_NO, starting at LINE $1: $2"
   echo "============================================================================"
   if (( STARTNO > 0 && STEPNO < STARTNO )); then
      echo
      echo "=== STEP SKIPPED ==="
      echo
   fi

   echo $STEPNO > $BASE/laststep
   if (( debug )); then
     answer='y'
     echo "Continue ? (Enter or Y to continue, A to abort, integer -- skip to the given step)."
     read answer
     if [[ $answer =~ [Aa] ]]; then
        exit 1
     fi
     if  (( answer > 0 )) ; then
         STARTNO=$answer;
         echo Continuing with the step $answer
         return;
     fi
   else
     sleep 3
   fi
}

function info
{
   echo
   echo "INFO-$1: $2"
   echo
   sleep 3
}

function abend
{
   echo
   echo "============================================================================"
   echo " !!! Fatal error at line $1: $2"
   echo "For assistance, please open an issue via GitHub: ${github_url}."
   echo "============================================================================"
   echo

}

usage() {
    echo "Usage: ${0##*/} [OPTIONS]"
    echo
    echo "OPTIONS"
    echo "-h"
    echo "        Display this help and exit"
    echo "-d"
    echo "        Switch to debugging mode with confirmation for each step"
    echo "-r"
    echo "        Reinstall all CentOS RPMs with Oracle Linux RPMs"
    echo "        Note: This is not necessary for support"
    exit 1
} >&2

have_program() {
    hash "$1" >/dev/null 2>&1
}

dep_check() {
    if ! have_program "$1"; then
        abend $LINENO "'${1}' command not found. Please install or add it to your PATH and try again."
    fi
}

error_handler1() {
   abend $LINENO "Error condition intercepted. Could not install Oracle Linux packages."
}

error_handler2(){
   abend $LINENO "Error during execution of yum shell commands."
}
function data_dump
{
   if (( debug )); then
      echo "=== DATA DUMP ==="
      cat $BASE/data_dump
      echo "================="
   fi
}

## Start of the script
if [[ -d $BASE ]]; then
   info $LINENO "ATTENTION: the directory BASE exists, so we assume that you are re-rerunning the conversion after an error"
   if [[ -f $BASE/data_dump ]]; then
      if [[ ! -f $BASE/laststep ]]; then
         abend $LINENO "File $BASE/laststep does not exists"
      fi
      . $BASE/data_dump
      STARTNO=`cat $BASE/laststep`
      info $LINENO "ATTENTION: the directory BASE exists, so we assume that you are re-rerunning the conversion after an error from step $STARNO"
      echo "Correct execution is not garanteered. Cancel in 10 sec "
      sleep 10
   else
      mkdir BASE
   fi
fi

reinstall_all_rpms=false

while getopts "h:r" option; do
    case "$option" in
        h) usage ;;
        d) debug=1;;
        r) reinstall_all_rpms=true ;;
        *) usage ;;
    esac
done

if (( $(id -u) > 0 )); then
    abend $LINENO "You must run this script as root.
Try running 'su -c ${0}'."
fi

step_info $LINENO "Checking for required packages..."
if (( STEPNO >= STARTNO  )) ; then
   for pkg in rpm yum curl; do
       dep_check "${pkg}"
   done
fi

step_info $LINENO "Checking your distribution..."
if (( STEPNO >= STARTNO  )) ; then
   if ! old_release=$(rpm -q --whatprovides redhat-release); then
       abend $LINENO "You appear to be running an unsupported distribution."
   fi

   if (( "$(echo "${old_release}" | wc -l)" != 1 )); then
       abend $LINENO "Could not determine your distribution because multiple packages are providing redhat-release:
   $old_release
   "
   fi

   case "${old_release}" in
       redhat-release*) ;;
       centos-release* | centos-linux-release*) ;;
       sl-release*) ;;
       oraclelinux-release*|enterprise-release*)
           abend $LINENO "You appear to be already running Oracle Linux."
           ;;
       *) abend $LINENO "You appear to be running an unsupported distribution." ;;
   esac

   os_version=$(rpm -q "${old_release}" --qf "%{version}")
   base_packages=(basesystem initscripts oracle-logos)
   case "$os_version" in
       8*)
           repo_file=public-yum-ol8.repo
           new_releases=(oraclelinux-release oraclelinux-release-el8 redhat-release)
           base_packages=("${base_packages[@]}" plymouth grub2 grubby kernel-uek)
           ;;
       7*)
           repo_file=public-yum-ol7.repo
           new_releases=(oraclelinux-release oraclelinux-release-el7 redhat-release-server)
           base_packages=("${base_packages[@]}" plymouth grub2 grubby kernel-uek)
           ;;
       6*)
           repo_file=public-yum-ol6.repo
           new_releases=(oraclelinux-release oraclelinux-release-el6 redhat-release-server)
           base_packages=("${base_packages[@]}" oraclelinux-release-notes plymouth grub grubby kernel-uek)
           ;;
       *) abend $LINENO "You appear to be running an unsupported distribution." ;;
   esac
   echo "old_release=$old_release">> $BASE/data_dump
   echo "new_releases=( ${new_releases[@]} )" >> $BASE/data_dump
   echo "repo_file='$repo_file'"  >> $BASE/data_dump
   echo "os_version='$os_version" >> $BASE/data_dump
   echo "base_packages=( ${base_packages[@]} )" >> $BASE/data_dump
   data_dump
fi

step_info $LINENO "Replace EPEL configuration, if it exists"
if (( STEPNO >= STARTNO  )) ; then
   if [ "$(rpm --quiet -q epel-release)" ]; then
       bad_packages+=(epel-release)
       new_releases+=("oracle-epel-release-el${old_version}")
   fi
   echo "new_releases=( ${new_releases[@]} )" >> $BASE/data_dump
   echo "bad_packages=( ${bad_packages[@]} )" >> $BASE/data_dump
fi

step_info $LINENO "Checking for yum lock..."
if [ -f /var/run/yum.pid ]; then
    yum_lock_pid=$(cat /var/run/yum.pid)
    yum_lock_comm=$(cat "/proc/${yum_lock_pid}/comm")
    abend $LINENO "Another app is currently holding the yum lock.
The other application is: $yum_lock_comm
Running as pid: $yum_lock_pid
Run 'kill $yum_lock_pid' to stop it, then run this script again."
fi

step_info $LINENO "Checking for required python packages..."
case "$os_version" in
    8*)
        dep_check /usr/libexec/platform-python
        ;;
    *)
        dep_check python2
        ;;
esac

if [[ "$os_version" =~ 8.* ]]; then
    echo "Identifying dnf modules that are enabled"
    # There are a few dnf modules that are named after the distribution
    #  for each steam named 'rhel' or 'rhel8' we need to make alterations to 'ol' or 'ol8'
    #  Before we start the switch, identify if there are any present we don't know how to handle
    mapfile -t modules_enabled < <(dnf module list --enabled | grep rhel | awk '{print $1}')
    if [[ "${modules_enabled[*]}" ]]; then
        # Create an array of modules we don't know how to manage
        unknown_modules=()
        for module in "${modules_enabled[@]}"; do
            case ${module} in
                container-tools|go-toolset|jmc|llvm-toolset|rust-toolset|virt)
                    ;;
                *)
                    # Add this module name to our array of modules we don't know how to manage
                    unknown_modules+=("${module}")
                    ;;
            esac
        done
        # If we have any modules we don't know how to manage, ask the user how to proceed
        if (( ${#unknown_modules[@]} > 0 )); then
            echo "This tool is unable to automatically switch module(s) '${unknown_modules[*]}' from a CentOS 'rhel' stream to
an Oracle Linux equivalent. Do you want to continue and resolve it manually?
You may want select No to stop and raise an issue on ${github_url} for advice."
            select yn in "Yes" "No"; do
                case $yn in
                    Yes )
                        break
                        ;;
                    No )
                        echo "Unsure how to switch module(s) '${unknown_modules[*]}'. Exiting as requested"
                        exit 1
                        ;;
                esac
            done
        fi
    fi
fi

step_info $LINENO "Finding your repository directory..."
if (( STEPNO >= STARTNO  )) ; then
   case "$os_version" in
       8*)
   reposdir=$(/usr/libexec/platform-python -c "
   import dnf
   import os
   dir = dnf.Base().conf.get_reposdir
   if os.path.isdir(dir):
       print(dir)
   ")
           ;;
       *)
           reposdir=$(python2 -c "
   import yum
   import os
   for dir in yum.YumBase().doConfigSetup(init_plugins=False).reposdir:
       if os.path.isdir(dir):
           print dir
           break
   ")
           ;;
   esac

   step_info $LINENO "Learning which repositories are enabled..."
   case "$os_version" in
       8*)
           enabled_repos=$(/usr/libexec/platform-python -c "
   import dnf
   base = dnf.Base()
   base.read_all_repos()
   for repo in base.repos.iter_enabled():
     print(repo.id)
   ")
           ;;
       *)
           enabled_repos=$(python2 -c "
   import yum
   base = yum.YumBase()
   base.doConfigSetup(init_plugins=False)
   for repo in base.repos.listEnabled():
     print repo
   ")
           ;;
   esac

   echo -e "Repositories enabled before update include:\n${enabled_repos}"

   if [ -z "${reposdir}" ]; then
       abend $LINENO "Could not locate your repository directory."
   fi
   echo "enabled_repos=$enabled_repos">> $BASE/data_dump
   echo "reposdir=$reposdir">> $BASE/data_dump
   data_dump
fi

cd "$reposdir"

# No https://yum.oracle.com/public-yum-ol8.repo file exists
# Download the content for 6 and 7 based systems and directly enter the content for 8 based systems
step_info $LINENO "Download the content for 6 and 7 based systems and directly enter the content for 8 based systems"
if (( STEPNO >= STARTNO  )) ; then
   case "$os_version" in
       8*)
           cat > "switch-to-oraclelinux.repo" <<-'EOF'
[ol8_baseos_latest]
name=Oracle Linux 8 BaseOS Latest ($basearch)
baseurl=https://yum.oracle.com/repo/OracleLinux/OL8/baseos/latest/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=1
[ol8_appstream]
name=Oracle Linux 8 Application Stream ($basearch)
baseurl=https://yum.oracle.com/repo/OracleLinux/OL8/appstream/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=1
[ol8_UEKR6]
name=Latest Unbreakable Enterprise Kernel Release 6 for Oracle Linux $releasever ($basearch)
baseurl=https://yum.oracle.com/repo/OracleLinux/OL8/UEKR6/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=1
EOF
           ;;
       *)
           echo "Downloading Oracle Linux yum repository file..."
           if ! curl -o "switch-to-oraclelinux.repo" "${yum_url}/${repo_file}"; then
               abend $LINENO "Could not download $repo_file from $yum_url.
           Are you behind a proxy? If so, make sure the 'http_proxy' environment
           variable is set with your proxy address."
           fi
           ;;
   esac
fi

step_info $LINENO "Looking for yumdownloader..."
if (( STEPNO >= STARTNO  )) ; then
   if ! have_program yumdownloader; then
       # CentOS 6 mirrors are now offline, if yumdownloader tool is not present then
       #  use OL6 as source for yum-utils and disable all other repos.
       # Use the existing distributions copy for other platforms
       case "$os_version" in
           6*)
               curl -o /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle https://yum.oracle.com/RPM-GPG-KEY-oracle-ol6
               yum -y install yum-utils --disablerepo \* --enablerepo ol6_latest || true
               ;;
           *)
               yum -y install yum-utils --disablerepo ol\* || true
               ;;
       esac
       dep_check yumdownloader
   fi
fi
step_info $LINENO "Creating temporary directory for files"
if (( STEPNO >= STARTNO  )) ; then
   #cd "$(mktemp -d)"
   mkdir $BASE/temp
fi

cd $BASE/temp

if (( STEPNO >= STARTNO  )) ; then
# Most distros keep their /etc/yum.repos.d content in the -release rpm. CentOS 8 does not and the behaviour changes between
#  minor releases; 8.0 uses 'centos-repos' while 8.3 uses 'centos-linux-repos', glob for simplicity.

if [[ $old_release =~ ^centos-release-8.* ]] || [[ $old_release =~ ^centos-linux-release-8.* ]]; then
    old_release=$(rpm -qa centos*repos)
fi
fi

step_info $LINENO "Backing up and removing old repository files..."
# Identify repo files from the base OS and write them to $BASE/temp/repo_files
if (( STEPNO >= STARTNO  )) ; then
   rpm -ql "$old_release" | grep '\.repo$' > repo_files
   # Identify repo files from 'CentOS extras'
   if [ "$(rpm -qa "centos-release-*" | wc -l)" -gt 0 ] ; then
       rpm -qla "centos-release-*" | grep '\.repo$' >> repo_files
   fi
   while read -r repo; do
       if [ -f "$repo" ]; then
           cat - "$repo" > "$repo".disabled <<EOF
# This is a yum repository file that was disabled by
# ${0##*/}, a script to convert CentOS to Oracle Linux.
# Please see $yum_url for more information.
EOF
           tmpfile=$(mktemp repo.XXXXX)
           echo "$repo" | cat - "$repo" > "$tmpfile"
           rm "$repo"
       fi
   done < repo_files
fi

step_info $LINENO "Downloading Oracle Linux release package..."
if (( STEPNO >= STARTNO  )) ; then
   trap error_handler1 ERR
   if ! yumdownloader "${new_releases[@]}"; then
       {
           echo "Could not download the following packages from $yum_url:"
           echo "${new_releases[@]}"
           echo
           echo "Are you behind a proxy? If so, make sure the 'http_proxy' environment"
           echo "variable is set with your proxy address."
       } >&2
       abend $1 "Error in executing yumdowloader"
   fi
   trap - ERR
fi

step_info $LINENO "Switching old release package with Oracle Linux..."
if (( STEPNO >= STARTNO  )) ; then
   rpm -i --force<EMAIL_ADDRESS>   rpm -e --nodeps "$old_release"
   rm -f "${reposdir}/switch-to-oraclelinux.repo"
fi

step_info $LINENO "At this point, the switch is completed as the release is switched. Change CentOs repo to matching Oracle repo files"
if (( STEPNO >= STARTNO  )) ; then
# When an additional enabled CentOS repository has a match with Oracle Linux
#  then automatically enable the OL repository to ensure the RPM is maintained
#
# Create an associate array where the key is the CentOS reponame and the value
#  contains the method of getting the content (Enable a repo or install an RPM)
#  and the details of the repo or RPM
   case "$os_version" in
       6*)
           declare -A repositories=(
               [base-debuginfo]="REPO https://oss.oracle.com/ol6/debuginfo/"
               [updates]="REPO ol6_latest"
           )
           ;;
       7*)
           declare -A repositories=(
               [base-debuginfo]="REPO https://oss.oracle.com/ol7/debuginfo/"
               [updates]="REPO ol7_latest"
               [centos-ceph-jewel]="RPM oracle-ceph-release-el7"
               [centos-gluster41]="RPM oracle-gluster-release-el7"
               [centos-gluster5]="RPM oracle-gluster-release-el7"
               [centos-gluster46]="RPM oracle-gluster-release-el7"
               [centos-nfs-ganesha30]="RPM oracle-gluster-release-el7"
               [centos-ovirt42]="RPM oracle-ovirt-release-el7"
               [centos-ovirt43]="RPM oracle-ovirt-release-el7"
               [centos-sclo-sclo]="RPM oracle-softwarecollection-release-el7"
               [centos-sclo-rh]="RPM oracle-softwarecollection-release-el7"
           )
           ;;
       8*)
           declare -A repositories=(
               [AppStream]="REPO ol8_appstream"
               [BaseOS]="REPO ol8_baseos_latest"
               [HighAvailability]="REPO ol8_addons"
               [PowerTools]="REPO ol8_codeready_builder"
               [centos-release-nfs-ganesha28]="RPM oracle-gluster-release-el8"
               [centos-gluster6-test]="RPM oracle-gluster-release-el8"
               [centos-gluster7]="RPM oracle-gluster-release-el8"
               [centos-gluster8]="RPM oracle-gluster-release-el8"
           )
           ;;
   esac

   # For each entry in the list, enable it
   for reponame in ${enabled_repos}; do
       # action[0] will be REPO or RPM
       # action[1] will be the repos details or the RPMs name
       IFS=" " read -r -a action <<< "${repositories[${reponame}]}"
       if [[ -n ${action[0]} ]]; then
           if [ "${action[0]}" == "REPO" ] ; then
               matching_repo=${action[1]}
               echo "Enabling ${matching_repo} which replaces ${reponame}"
               # An RPM that describes debuginfo repository does not exist
               #  check to see if the repo id starts with https, if it does then
               #  create a new repo pointing to the repository
               if [[ ${matching_repo} =~ https.* ]]; then
                   yum-config-manager --add-repo "${matching_repo}"
               else
                   yum-config-manager --enable "${matching_repo}"
               fi
           elif [ "${action[0]}" == "RPM" ] ; then
               matching_rpm=${action[1]}
               echo "Installing ${matching_rpm} to get content that replaces ${reponame}"
               yum --assumeyes --disablerepo "*" --enablerepo "ol*_latest" install "${matching_rpm}"
           fi
       fi
   done
fi

step_info $LINENO "Installing base packages for Oracle Linux..."
if (( STEPNO >= STARTNO  )) ; then
   trap error_handler2 ERR
   if ! yum shell -y <<EOF
remove ${bad_packages[@]}
install ${base_packages[@]}
run
EOF
   then
       abend $LINENO "Could not install base packages. Run 'yum distro-sync' to manually install them."
   fi
   trap - ERR
fi

step_info $LINENO "Updating initrd..."
if (( STEPNO >= STARTNO  )) ; then
   if [ -x /usr/libexec/plymouth/plymouth-update-initrd ]; then
      /usr/libexec/plymouth/plymouth-update-initrd
   else
      info $LINENO "Step skipped as /usr/libexec/plymouth/plymouth-update-initrd is not executable. May be not installed. Please investigate"
   fi
fi

step_info $LINENO "Switch successful. Syncing with Oracle Linux repositories."
if (( STEPNO >= STARTNO  )) ; then
   if ! yum -y distro-sync; then
       abend $LINENO "Could not automatically sync with Oracle Linux repositories.
Check the output of 'yum distro-sync' to manually resolve the issue. Do not try to rerun the script"
   fi
fi

# CentOS specific replacements
step_info $LINENO "CentOS specific replacements"
if (( STEPNO >= STARTNO  )) ; then
   case "$os_version" in
       7*)
           # Prior to switch this is a dependancy of the yum rpm, now we've switched we can remove it
           if rpm -q yum-plugin-fastestmirror; then
               yum erase -y yum-plugin-fastestmirror
           fi
           ;;
       8*)
           # There are a few dnf modules that are named after the distribution
           #  for each steam named 'rhel' or 'rhel8' perform a module reset and install
           if [[ "${modules_enabled[*]}" ]]; then
               for module in "${modules_enabled[@]}"; do
                   dnf module reset -y "${module}"
                   case ${module} in
                   container-tools|go-toolset|jmc|llvm-toolset|rust-toolset)
                       dnf module install -y "${module}":ol8
                       ;;
                   virt)
                       dnf module install -y "${module}":ol
                       ;;
                   *)
                       echo "Unsure how to transform module ${module}"
                       ;;
                   esac
               done
               dnf --assumeyes --disablerepo "*" --enablerepo "ol8_appstream" update
           fi

           # Two logo RPMs aren't currently covered by 'replaces' metadata, replace by hand.
           if rpm -q centos-logos-ipa; then
               dnf swap -y centos-logos-ipa oracle-logos-ipa
           fi
           if rpm -q centos-logos-httpd; then
               dnf swap -y centos-logos-httpd oracle-logos-httpd
           fi
           ;;
   esac
fi

step_info $LINENO "Reinstall all RPMS"
if (( STEPNO >= STARTNO  )) ; then
   if "${reinstall_all_rpms}"; then
       echo "Testing for remaining CentOS RPMs"
       # If CentOS and Oracle Linux have identically versioned RPMs then those RPMs are left unchanged.
       #  This should have no technical impact but for completeness, reinstall these RPMs
       #  so there is no accidental cross pollination.
       mapfile -t list_of_centos_rpms < <(rpm -qa --qf "%{NAME}-%{VERSION}-%{RELEASE} %{VENDOR}\n" | grep CentOS | awk '{print $1}')
       if [[ -n "${list_of_centos_rpms[*]}" ]]; then
           echo "Reinstalling RPMs: ${list_of_centos_rpms[*]}"
           yum --assumeyes --disablerepo "*" --enablerepo "ol*" reinstall "${list_of_centos_rpms[@]}"
       fi
       # See if non-Oracle RPMs are present and print them
       mapfile -t non_oracle_rpms < <(rpm -qa --qf "%{NAME}-%{VERSION}-%{RELEASE}|%{VENDOR}|%{PACKAGER}\n" |grep -v Oracle)
       if [[ -n "${non_oracle_rpms[*]}" ]]; then
           echo "The following non-Oracle RPMs are installed on the system:"
           printf '\t%s\n' "${non_oracle_rpms[@]}"
           echo "This may be expected of your environment and does not necessarily indicate a problem."
           echo "If a large number of CentOS RPMs are included and you're unsure why please open an issue on ${github_url}"
       fi
   else
      info $LINENO "Step skipped"
   fi
fi

step_info $LINENO "Yum repo sync successful. Switching default kernel to the UEK."
if (( STEPNO >= STARTNO  )) ; then
   arch=$(uname -m)
   uek_path=$(find /boot -name "vmlinuz-*.el${os_version}uek.${arch}")
   if [[ ! -f uek_path ]]; then
      abend $LINENO "Can't find UEK kernel. Please locate UEK kernel manually and execute appropriate command to make it the default"
   fi
   case "$os_version" in
       7* | 8*)
           # Installing current latest kernel-uek on current latest CentOS 8.3 will
           #  cause a dracut coredump during the posttrans scriptlet leaving a system unbootable.
           #  Cause not investigated but for a temporary workaround, reinstall kernel-uek now that we have OL userland
           yum reinstall -y kernel-uek
           if [ -d /sys/firmware/efi ]; then
               grub2-mkconfig -o /boot/efi/EFI/redhat/grub.cfg
           else
               grub2-mkconfig -o /boot/grub2/grub.cfg
           fi
           grubby --set-default="${uek_path}"
           ;;
       6*)
           grubby --set-default="${uek_path}"
           ;;
   esac
fi

step_info $LINENO "Removing yum cache"
rm -rf /var/cache/{yum,dnf}

info $LINENO "Switch complete. Oracle recommends rebooting this system."

Thanks for getting involved @softpano! Please have a read of CONTRIBUTING.md to better understand the process we use in this repo

Thanks for getting involved @softpano! Please have a read of CONTRIBUTING.md to better understand the process we use in this repo

If you'd like us to review your code (and we'd love to), we need you to review the contribution guide and submit a signed Oracle Contributor Agreement first. This protects both you and Oracle.
If you do sign the the OCA, please consider submitting your improvements as an actual pull request so that we can review and merge it into this repo.

If you'd like us to review your code (and we'd love to), we need you to review the contribution guide and submit a signed Oracle Contributor Agreement first. This protects both you and Oracle.
If you do sign the the OCA, please consider submitting your improvements as an actual pull request so that we can review and merge it into this repo.

I second this request. I had an issue where an out-of-memory event killed the distro sync. The error message says to run distro-sync again, that's nice but next steps had to be manually executed because there is no recover method. In my case, I had to then manually fix the bootloader with the UEK kernel. In my case, it was these three commands
grub2-mkconfig -o /boot/grub2/grub.cfg
uek_path=$(find /boot -name "vmlinuz-*.el8uek.x86_64")
grubby --set-default="${uek_path}"

Note the second line has to have correct os version (el6,el7,el8) and architecture (x86_64)

If we get code to review that resolves the issue, we'll happily review/merge it. :)


Implement os:chmod

Related: #1659

There are other uses of generic errors that, arguably, should use the errs.Generic this change introduces. Such as ttySetupErr in TestReadCode_AbortsWhenTTYSetupReturnsError (pkg/cli/app_test.go). I considered those cases too far outside the scope of this change.

Thanks for the contribution. My thoughts:

I don't like the introduction of errs.Generic; it already has two different use cases in this PR - in test code where the identity of the error matters, and in non-test code that only cares about the presence of the error. The former should continue to use a unique error value (so that it can't accidentally match other places that use errs.Generic), and the latter should be refactored to use a boolean instead to keep track of whether the conversion succeeded.
In general, duplication is preferable than ambiguous abstraction.

The os:stat command already has a convention for representing non-permission non-type bits using a separate special-modes list. This API is easier to use than the traditional bit flag API, at least from Elvish code (Elvish currently lacks bitops, which makes this worse although that should be fixed regardless). It is less efficient than bit flags, which is a trade-off that makes sense for Elvish.
The os:chmod command should use that pattern too: the signature should be fn chmod {|&special-modes=[] perm file| }.

I was a bit ambivalent about whether os:stat should return the permission bits as a typed number or a string containing an octal, but ultimately I felt that as a programming language the former was the only sensible choice, so I'd rather os:chmod be consistent in this regard.
One thing I'll introduce later is the ability for numbers to have a default format. The perm bits in the output of os:stat can then be displayed as base-8 by default (but still with the 0o prefix so that there is no ambiguity). This is only relevant for converting a number to a string, and not relevant for the conversion in the other direction though - so os:chmod should still accept numbers like any other builtin.

Thanks again for the contribution but I won't be merging this PR; I have prepared my implementation that I will push shortly.


rename configs for woq

Type of Change
rename configs for woq:
sym_full_range --> enable_full_range
mse_range --> enable_mse_search
Description
Expected Behavior & Potential Risk
extension test pass
How has this PR been tested?
Dependency Change?

https://inteltf-jenk.sh.intel.com/job/nlp-toolkit-validation-top-mr-extension/1306/


Logical question from paper

Hi,
I have been working on the implementation of faceboxes in pytorch.
The most confusing part is the densification part for me.
So output of first layer is 21 anchors.
So for 32 scale they have 16 anchors, but how is each anchor steps defined?
like for 32 its written 32 steps between each anchor, but that makes density low, so they densify it 4  (or 16?) times but at what steps?

I went through your code, and all 16 anchor boxes are equally spaced?
So that means they are repeated?
https://github.com/TropComplique/FaceBoxes-tensorflow/blob/1da7d8dd3dc816eeaf36082c9679a4be2fb70b11/src/anchor_generator.py#L165-L186
Here you are repeating the offsets for the whole n2 anchors
https://github.com/TropComplique/FaceBoxes-tensorflow/blob/1da7d8dd3dc816eeaf36082c9679a4be2fb70b11/src/anchor_generator.py#L133-L136
And here is the anchor centers.
So same anchors are just repeated, 42 times?

Hi.
An anchor just repeated n^2 times near its original center.
I mean, it slightly jittered about its original position.
That's how I understand it.
See the Figure 3 in the original paper.
Please run the following notebook:
https://github.com/TropComplique/FaceBoxes-tensorflow/blob/master/visualize_densified_anchor_boxes.ipynb
It visualizes the generated anchors.


if the torrent file is present privat key file is not download

sorry problem is bittorrent-tracker https://github.com/feross/bittorrent-tracker/pull/107


feat(#1637): replace sanchonet in copy with voltaire

List of changes

Replace sanchonet with voltaire
Consume network from get /network/metrics in order to make the GovTool network agnostic
Add dynamic link to cexplorer based on the network

Checklist

related issue
[x] My changes generate no new warnings
[x] My code follows the style guidelines of this project
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the changelog
[ ] I have added tests that prove my fix is effective or that my feature works

@m-i-k-e Could you have a look on https://dev-sanchonet.govtool.byron.network/ and leave approval once the unsancho version of GovTool looks as expected?

looks good


Use svcGetSystemInfo instead of svc 0x2E

Remove the deprecated 0x2E svc and replace it with svcGetSystemInfo to get luma version.

This is what I get when I tested the new changes:
Imgur link

It turns out that user x7l7j8cc in issue #13 was right in all I had to do was change "name" to "tag_name" in source/release.cpp and it works with the previous version.cpp.

This is what I get when I tested the new changes
Yeah you're supposed to get that
This is unrelated to issue #13

svc 0x2E is deprecated and will be removed in future versions of luma

Oh, I didn't know that. But the current installed version still shows up in red. Also, why does it say Luma3DS v8.2048-commit number?

Now it will show:-
v8.2048-commit number
I can also remove the commit number if you want..

No, leave the commit number. I'm just confused on why it says "v8.2048" instead of "v8.0."

I really can't tell why its returning 2048 instead of 0.


Update LICENSE

Issue #

added copyright details
Changes

-

Flags

Related Issues

Issue #
Pull Request #

Coverage remained the same at 99.584% when pulling cd9cf8821e6397e2215cd0a8573f228eb8c4a47f on pranjalv9:patch-1 into 9e216d86c87c6b67f640e7982f0e639a792e6207 on accordproject:master.

I am not sure we want that change, both legally (how to properly refer to the source Apache 2.0 license) and technically (how GitHub detects the license information).
@pranjalv9 what issue are you trying to address?
@irmerk @peterhunn can you respond to this?

I am not sure we want that change, both legally (how to properly refer to the source Apache 2.0 license) and technically (how GitHub detects the license information).
@pranjalv9 what issue are you trying to address?
@irmerk @peterhunn can you respond to this?

i've updated details in this repo as i find other repositories have this details added @jeromesimeon plz let me know if this is not good PR

@peterhunn and @dselman same question as the cicero PR, is this an edit to the LICENSE that we need?


the following changes should allow ppl train with negative examples

I did similar changes and successfully trained my personal dataset with mask-rcnn.
Have not tested with keypoint branches, but it doesn't raise any errors

common request by many ppl #169


Added my new Resume and Updated the profile

Added my new Resume and Updated the profile

Any Update on the PR


update from 4.1.5 to 4.1.25 breaks permissions

log paste
https://pastebin.com/AuXaKRW7
spigot 1.12.2
Hi, really odd issue, I noticed a drop off in players and started getting reports of various permission issues (unable to use /spawn, warping, placing blocks in skyblock, using signs etc) which seemed to vary across plugins.
I rolled back luckperms to a 2017 version, which resolved in live and test, and then worked through the releases.
it appears that moving from 4.1.5 to 4.1.25 breaks the permissions, eg even /spawn fails, but rolling back a version to 4.1.5 immediately restores all functionality.
I cannot spot anything obvious on loading, but I hope you can help as this is the very first and only real (non config) issue we have had with this fantastic plugin!
Thanks

There are no obvious issues there I can see.
I need specific info to help diagnose the problem.

Specifically, which permissions stopped working
How are those permissions set?
What does verbose output when those permissions are checked for?

I'm not dismissing the issue - there's just nothing I can do to help without more information.

Please re-open this when you have more info to provide :)

Try using
/lp user <you> permission checkinherits hsp.command.spawn

Thanks will do asap and feedback

[19:29:27] [pool-9-thread-1/INFO]: [LP] frizzbee30 has permission hsp.command.spawn set to true in context global. (inherited from essentials_default)
Hi, please see above when sat in our hub world, but same issue occurs regardless of world (all groups inherit essentails_default). I note it says inheritance global, and does not specify hub, is this relevant in any way ?
(I do specify global and then the worlds for assigning parents across the groups, following on from earlier advice from yourself , which resolved the issue I was having.)
Thanks for looking into it.  :)

So is it resolved? I'm struggling to follow the issue here :)

Ok, would you mind giving me a small reproducible test to follow?
e.g.

run /lp user <you> permission set foo.bar true server=lobby
observe that you don't have the foo.bar permission in lobby

It's quite difficult to interpret your examples without knowing all of the details of your setup

Experienced the same issue, though what i did was delete everything and start from scratch using a newer version and it started working. [deleted database tables etc]

Hi, thanks will run the test asap.  I understand from the set up side, I work in IT and obviously looking remotely, it's like trying to find which end of a bowl of spaghetti matches another, hence I really appreciate the time take to look into it!
Sadly starting from scratch isn't really that realistic, it really is a complex multi world - multi rank - multi plugin environment built up over the years  :)
it is appreciated though that someone else had a similar issue with the version change, a rewrite may end up the only way in the future if it can't be resolved.  (we don't run it on MySQL as yet, so it's not a table issue etc)
Thanks

Hi, I did a variant to directly assign the perm to myself in the world, without parent inheritance
/lp user frizzbee30 permission set essentials.fly true world=hub
after running the command I had access to fly (would not normally have access for my test rank)
I then tried the same but with hsp.command.spawn ( inherited already from a parent, but showing insufficient permission as discussed earlier) as a further test
I then had access to spawn, hence it looks like for some reason the parent permissions are not inheriting down to the groups which are set as the parent to the player, although the actual perm nodes work as expected when added directly to the user.
Thanks

If it's any help, our 'gamer' (default rank in hub), is inherited by all players, it has essentials_default as a parent, with the /spawn perm based in the essentials file (so it can be inherited by multiple worlds/ranks).
I don't know if it is this inheriting once removed which is the issue since the version change? Although I seem to recall adding the nodes to the direct parent and having issues, but really would need to confirm that.
It's a  bit of a throwback from when we ran PEX, which was inherited from Group manager originally.
Probably not ideal, but quite complex to rebuild with our server set up!

Can you give me a list of commands I can run on a fresh server in order to reproduce the issue?
As I said before,

It's quite difficult to interpret your examples without knowing all of the details of your setup

Hi, will do as soon as possible, would it help if I zipped and drop-boxed the storage groups etc?

Will re-open when you have reproduction steps to demonstrate the issue. :)


address link checks for pt-br translation

Address #5423

/fix:all

The intent of #5423 is remind the two named locales to catch up with the updates made to the Java pages, not by eliminating the link, but by catching up with the en versions of the pages.
By making the change to the page without updating the a570a00c7a238ffe26528d7bfb20efdbaf939c39, you are breaking the correspondence.

@open-telemetry/docs-maintainers - we should decide if the "quick fix" in this PR, which introduces a drift/deviation from a570a00c7a238ffe26528d7bfb20efdbaf939c39 is an acceptable deviation. I would prefer not, but given that there are more significant changes in the page, it might be an acceptable "temporary" patch so that we get restore full link checking. Thoughts on setting this precedent?

The i18n check is failing. Let me see if I can fix the checker to support comments on the same line as the hash.


fix: ignore dist/ folder

Will prevent the dist directory from being committed, as it is compiled Javascript.

Closing this PR because this project seems to be dead and I don't want to keep this fork forever. Good riddance.


AWS Unique S3 Bucket Error - terraform Error: Error creating S3 bucket: AuthorizationHeaderMalformed: The authorization header is malformed; the region 'us-east-1' is wrong; expecting 'us-west-2'

On a recent deployment, I got the following terraform error:  terraform Error: Error creating S3 bucket: AuthorizationHeaderMalformed: The authorization header is malformed; the region 'us-east-1' is wrong; expecting 'us-west-2'.
This error occurs on some AWS Nebari deployments when the terraform state is set to "remote".  This occurs b/c a s3 bucket is created based on the deployment name (name section in nebari-config.yaml) to store the terraform state, however s3 bucket names must be globally unique.  There are a few possible workarounds here:

Change the name of the deployment to something more unique
Set the terraform state to local (not ideal)

As a longer term solution, perhaps we can give a better error message and also allow for some way to override the s3 bucket name that is created for the terraform remote state. e.g.
# nebari-config.yaml
...
amazon_web_services:
  terraform_state_s3_bucket: <unique-bucket-name>
...

Next step: Try reproducing the issue?


Separate remaining chroma-* modules

Currently chroma-{agent,manager,...} are being built under a single repository.  These should be separated out into individual components/modules.
Once that is done, they should be built in Copr and installation should fetch them from there rather than being delivered in a/the tarball.
This will be necessary before we can completely remove bundles.

Tasks needed to be completed to complete this ticket:

[ ] create PRs to separate chroma-agent into an iml-agent repo

[ ] create a manager-for-lustre-dependencies subdir for it so that it can be built by Copr
[ ] test that it can be present in an enabled repo on the agent and co-exist with an existing iml-agent repo being served by a manager when:

[ ] superior to the version being served by the manager
[ ] inferior to the version being served by the manager

[ ] configure a package in our Copr project
[ ] land iml-agent repo PRs and publish the module
[ ] land manager-for-lustre-dependencies PR

test that it can be present in an enabled repo on the agent and co-exist with an existing iml-agent repo being served by a manager when [an] "inferior to the version being served by the manager"

This fails.  This means that we MUST push out a chroma-agent module that will be superior to any installation in the field that will still have an iml-agent repo on it's manager, and that any subsequent release of chroma-manager must NOT provide an iml-agent [repo that is allowed to jump ahead of the iml-agent that is in Copr].
This is most easily and certainly achieved by pushing a new release of chroma-manager that effects this iml-agent repo removal very shortly following to the iml-agent showing up in Copr.

Remaining work here is to strip away the cruft in the intel-manager-for-lustre repo to turn it into a stand-alone module.  This means no more building of a "tarball" for distribution and installation of the manager is done as a yum command once repos are set up.
This means dropping the chroma-dependencies/ directory completely.  I suspect there is nothing of use in there currently.
chroma-bundles/ will also be dropped and the profiles in the chroma-bundles/ directory need moving into the iml-manager RPM.  Same for the create_installer tool.  But really, ideally that should just go away in favour of meta-packages.
The Makefile will need completely gutting and remade into a standard module-tools Makefile.
Documentation will need a rework to cover the necessary repo configuration as a prerequisite to the yum command installation method.

chroma-bundles/ will also be dropped and the profiles in the chroma-bundles/ directory need moving into the iml-manager RPM. Same for the create_installer tool. But really, ideally that should just go away in favour of meta-packages.

Can you expand on this? How would meta-packages cover current use-cases of bundles?

Sorry for conflating.  I mean that meta-packages should eliminate the need for create_installer and the install scripts it creates.  There was a time when those install scripts actually did work beyond installing packages but that's about all they do any more and meta-packages with the correct dependencies can do that.

ah. Still, why would this need to be a meta-package rather than just part of the spec?

This has been done in https://github.com/whamcloud/lustre-ldiskfs-zfs/pull/8


Use REST_LEGACY for EDS

Use REST_LEGACY for SDS until grpc is fixed.

/lgtm

sorry I messed up and this had to be redone - my bad


Travis: avoid double builds

see https://github.com/semantic-release/release-notes-generator/blob/370fd6eed8ebfd8b8b1358ef258835f7cf3e1f56/.travis.yml#L5-L10 for comparison

WIP :)

WIP :)

we no longer use travis :)


Error creating mixin config mixins.cardinal_components_item.json on startup

I am trying to make a mods-updated version with CurseForge of the Sky FABRICation 2 mod pack just for myself and I get a RuntimeException from the cardinal-components-item mod on Minecraft on startup:
latest.log
How can I fix this?
I have set the profile to only list Release versions of the mods and there is only one Release version of the mod.

Minecraft 1.17 huh ? We don't actively support this version anymore, but try installing one of the betas if the release doesn't work ?

When I restarted Minecraft, the error disappeared. Eventually, it needed to create that json file, that it missed and rethrew the exception or so. I then had errors from other mods that the Java version was not 17. I then tried to go down to an older fabric version and then got incompatibility errors from even other mods. I finally, gave up and play the original Modpack.
Thanks for for your answer.
I would now close this ticket with status acceptable which does not exist, it seems.

Eh, that works.


Setting anchor or button attributes on react-button causes type errors

It should be possible to pass standard HTML attributes for buttons or anchors to the Button component. For example <Button type="submit" /> or <Button href="http://example.com" download />.
However both of these example with cause a type error in typescript, like:
TS2322: Type '{ download: true; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<{ foundation?: any; isCo
mponentMounted: boolean; displayName: string; state: RippledComponentState; componentDidMount(): void; componentWillUnmount(): void; ... 20 more ...; refs: { ...; }; }> & Pick
<...> & Partial<...> & Partial<...>'.
  Property 'download' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<{ foundation?: any; isComponentMounted: boolean; displayName: string; state: Rippl
edComponentState; componentDidMount(): void; componentWillUnmount(): void; ... 20 more ...; refs: { ...; }; }> & Pick<...> & Partial<...> & Partial<...>'.

This is due to ButtonProps only extending HTMLAttributes<T>

merged #680. Thanks for fixing!


Error while cloning a Template

Getting this error while clone a template to create a vm, could not find what the error is can you please help
cloning VM...
there was an error

Could you post a snippet of the code you are using?
Typically the API don't print "there was an error".

task = template.Clone(folder=destfolder, name=vm_name, spec=clonespec)
wait_for_task(task)

Can you change this to (add this line toward the top with the other imports):
from pyVim.task import WaitForTask

And the template.Clone call:
task = template.Clone(folder=destfolder, name=vm_name, spec=clonespec)
WaitForTask(task)

And then report what the error is?
I think that will include the actual fault returned by vCenter rather than a more generic print statement.

Sure i will do that

OK, that is helpful.
It seems that the spec.pool that is provided by the script has some problem.
Are you providing the --cluster-name option to the script? If yes, does that cluster have hosts?
If you aren't providing it, do you have any clusters in your vCenter that don't have hosts (the script might be picking one of those by default)?

Yes i am  giving the cluster name and the cluster has the host added to it and the template is in that host and i have tried deleting the cluster which doesn't have host got the same error.
can you give me the proper command to run


version: bump to version v0.5.0-alpha.rc1

Prepare for tagging a first RC of v0.5.0-alpha.
To be merged AFTER https://github.com/lightninglabs/taproot-assets/pull/1209.
Requesting review from the whole team to share the joy of achieving this milestone.

+1 to merge #1221, after CI passes for https://github.com/lightninglabs/taproot-assets/pull/1209 and is approved by reviewers
rpc error: code = DeadlineExceeded desc = context deadline exceeded
        	Test:       	TestLightningTerminal/test_custom_channels

Is this instance of Context deadline being exceeded possibly a flake?

No, it's because #1221 hasn't been merged yet.

Confirmed that this is using the same field as the previous RC cycle.


May I fix a wiki about installation?

hi thank you for great oss.
I want to fix below
brew install lefthook

to below
brew install evilmartians/lefthook/lefthook

I just want to know if there is any remarks.

Hi, @ulwlu! evilmartians/lefthook/lefthook is an outdated tap. We use the official homebrew-core and upate it on every release: https://github.com/Homebrew/homebrew-core/pull/77335
Why do you want to update it? Does brew install lefthook work on your machine?

Oh I see. brew install lefthook actually doesn't work.
❯ brew install lefthook
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
Error: No available formula or cask with the name "lefthook".
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
==> Searching taps on GitHub...
Error: No formulae found in taps.

❯ brew -v
Homebrew 3.1.3

I guess we need to write about tap in wiki.
brew tap evilmartians/lefthook
brew install lefthook

@skryukov
sorry, I reinstalled brew and it works. I should have done this before submitting issue. thank you for your reply.


No vendor prefix check

I will make it a policy for many of my students' projects to NOT include vendor prefixes.
If a vendor prefix is present, it should be notified.

The plan is to simply have a has_vendor_prefix() function that returns a boolean, and then, if the policy is implemented, it will use this function.

Already has the has_vendor_prefix() function with tests.
Moving this to v1.2 goal Package projects for GitHub Classroom assignments milestone.