Confluent added stable version

MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Changelog
Please ensure to add changelog with this PR by answering the following questions.

What's the purpose of the update?

[ ] new service onboarding
[x] new API version
[ ] update existing version for new feature
[x] update existing version to fix swagger quality issue in s360
[ ] Other, please clarify

When you are targeting to deploy new service/feature to public regions? Please provide date, or month to public if date is not available yet.
When you expect to publish swagger? Please provide date, or month to public if date is not available yet.
If it's an update to existing version,  please select SDKs of specific language and CLIs that require refresh after swagger is published.

[ ] SDK of .NET (need service team to ensure code readiness)
[x] SDK of Python
[x] SDK of Java
[x] SDK of Js
[x] SDK of Go
[x] PowerShell
[x] CLI
[x] Terraform
[ ] No, no need to refresh for updates in this PR

Contribution checklist:

[x] I commit to follow the Breaking Change Policy of “no breaking changes
[x] I have reviewed the documentation for the workflow.
[x] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

[ ] Ensure to check this box if one of the following scenarios meet updates in the PR, so that label “WaitForARMFeedback” will be added automatically to involve ARM API Review. Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs, all “removals” and “adding a new property” no more require ARM API review.

Adding new API(s)
Adding a new API version
Adding a new service

[ ] Please ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

[ ] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If there are following updates in the PR, ensure to request an approval from API Review Board as defined in the Breaking Change Policy.

[ ] Removing API(s) in stable version
[ ] Removing properties in stable version
[ ] Removing API version(s) in stable version
[ ] Updating API in stable version with Breaking Change Validation errors
[ ] Updating API(s) in preview over 1 year

Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.
Please follow the link to find more details on PR review process.

All these changes are reviewed and merged to RPSaaSMaster in Private Repo. PR - https://github.com/Azure/azure-rest-api-specs-pr/pull/2624. Please help us in merging the changes into public repo

All these changes are reviewed and merged to RPSaaSMaster in Private Repo. PR - https://github.com/Azure/azure-rest-api-specs-pr/pull/2624. Please help us in merging the changes into public repo

All these changes are reviewed and merged to RPSaaSMaster in Private Repo. PR - Azure/azure-rest-api-specs-pr#2624. Please help us in merging the changes into the public repo.
@lirenhe @KasifMS

Are there any new changes made from the private repo pr?

No

All these changes are reviewed and merged to RPSaaSMaster in Private Repo. PR - Azure/azure-rest-api-specs-pr#2624. Please help us in merging the changes into the public repo.
@lirenhe @KasifMS

Are there any new changes made from the private repo pr?

No

closed by mistake

closed by mistake

Hi @lirenhe , ARM signedOff, please review and help us in merging the PR.

Hi @lirenhe , ARM signedOff, please review and help us in merging the PR.

@alluri02  Per https://github.com/Azure/azure-rest-api-specs/pull/12362#issuecomment-757748301 , There's a  "1036 - ConstraintChanged"  in  "[Staging] Cross Version BreakingChange (Base on preview version)" , it's  cross version breaking change. Could you explain why ?

@alluri02  Per https://github.com/Azure/azure-rest-api-specs/pull/12362#issuecomment-757748301 , There's a  "1036 - ConstraintChanged"  in  "[Staging] Cross Version BreakingChange (Base on preview version)" , it's  cross version breaking change. Could you explain why ?

@alluri02 Per #12362 (comment) , There's a "1036 - ConstraintChanged" in "[Staging] Cross Version BreakingChange (Base on preview version)" , it's cross version breaking change. Could you explain why ?

hi @jianyexi , f we added a stable version folder for GA

@alluri02 Per #12362 (comment) , There's a "1036 - ConstraintChanged" in "[Staging] Cross Version BreakingChange (Base on preview version)" , it's cross version breaking change. Could you explain why ?

hi @jianyexi , f we added a stable version folder for GA


Update README.md

In the README, in "Installation - Rust section", corrects the name of the crate in [dependencies]  ("-" instead of "_").

Thanks, @programLyrique


Support exported functions

Describe the feature
It would be great if parseModule would also find exported functions. For example:
export function foo() {
}

It currently exports exported constants, or the output of a function as the default. But it doesn't cover exported functions.
I personally don't require symmetric support on the generateCode side, which I get could be very challenging.
Additional information

[ ] Would you be willing to help implement this feature?

@jherr heya, found myself needing the same thing, did you manage to find a solution?

TBH, I don't even remember what this project is or what I was using it for, so, no.


Add "sent" key to both Schema and Cred Defs when using Endorsers

As an Author, if I attempt to publish duplicate schemas or credential definitions, I get a trace stack returned to me complaining about how the signed_txn key does not exist. While I adding a response for that situation (to just return the schema ID/ Cred Def ID instead of an error), I noticed that we were never populating the "sent" key in our responses to controllers. I have standardized the responses to follow the OpenAPI Schema and included the "sent" key.

Codecov Report

Merging #1663 (9818db8) into main (681e9aa) will decrease coverage by 0.00%.
The diff coverage is 75.00%.

@@            Coverage Diff             @@
##             main    #1663      +/-   ##
==========================================
- Coverage   95.50%   95.50%   -0.01%
==========================================
  Files         528      528
  Lines       32734    32738       +4
==========================================
+ Hits        31264    31266       +2
- Misses       1470     1472       +2


zh: Update deploy-a-dm-cluster-using-tiup.md

What is changed, added or deleted? (Required)

Which DM version(s) do your changes apply to? (Required)

[x] master (the latest development version, including v3.0 changes)
[x] v2.0 (TiDB DM 2.0 versions)
[x] v1.0 (TiDB DM 1.0 versions)

What is the related PR or file link(s)?

This PR is translated from:
Other reference link(s):

Do your changes match any of the following descriptions?

[ ] Delete files
[ ] Change aliases
[ ] Have version specific changes
[ ] Might cause conflicts after cherry-picked

Please help manually cherry-pick this PR to master branch. @CharLotteiu


Feature package not public

Great to see this, after dealing with getting the docker layers working.
However, I don't think you've flagged the feature as public yet, as it appears as unavailable

The workflow to publish the container is failing, we're working on getting it published.

I think this is done now, the image is published and is marked public.


Support for custom_metadata at Custom Hostname resource

Current Terraform and Cloudflare provider version
Terraform v0.14.5

provider registry.terraform.io/cloudflare/cloudflare v3.24.0

Description
The custom_metadata value can be added/modified by using the API Edit Custom Hostname.
However, this is not available via Terraform yet at cloudflare_custom_hostname
Use cases
By adding this functionality via Terraform, it allow us to keep the configuration at a single place. Also enable us to add this information as soon as the Certificate is created without the need of a separate external call.
Potential Terraform configuration
...

References
No response

closed by #2107


pull request for e2e test at 01/27/2017 15:15:17

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


rbd: Bail out from nodeexpansion if its block mode pvc

At CSI spec < 1.2.0, there was no volumecapability in the
expand request. However its available from v1.2+ which allows
us to declare the node operations based on the volume mode.
Fixes: https://github.com/ceph/ceph-csi/issues/1379
Signed-off-by: Humble Chirammal<EMAIL_ADDRESS>

@mergifyio refresh

@Madhu-1 ptal.

/retest ci/centos/mini-e2e/k8s-1.17.8

/retest

/retest all

/retest ci/centos/mini-e2e-helm/k8s-1.17.8

/retest  ci/centos/mini-e2e/k8s-1.17.8

/retest  ci/centos/mini-e2e/k8s-1.18.5

/retest all

hmmm.. why commitlint fails now.? :(

hmmm.. why commitlint fails now.? :(

header must not be longer than 72 characters, current length is 88 [header-max-length]

hmmm.. why commitlint fails now.? :(

header must not be longer than 72 characters, current length is 88 [header-max-length]

@Yuggupta27 below is the header which is of 54 char. I am confused.
rbd: Bail out from nodeexpansion if its block mode pvc

hmmm.. why commitlint fails now.? :(

header must not be longer than 72 characters, current length is 88 [header-max-length]

@Yuggupta27 below is the header which is of 54 char. I am confused.
rbd: Bail out from nodeexpansion if its block mode pvc

@nixpanic any thoughts here?

hmmm.. why commitlint fails now.? :(

header must not be longer than 72 characters, current length is 88 [header-max-length]

@Yuggupta27 below is the header which is of 54 char. I am confused.
rbd: Bail out from nodeexpansion if its block mode pvc

@nixpanic any thoughts here?

See #1394 that improves the commitlint CI job with a rebase so the history of the commits can be tracked better.

/retest commitlint

/retest commitlint

Unsure if this works without #1394 merged, we'll see.

@Madhu-1 @nixpanic ptal


Find multi content changes

Various content changes

@PabloCabello I think that these changes are all covered in the amendments that I made to your previous pull request - please could you check the live prototype and confirm?

Needs 'Health' added to list of needs
'drug misuse' rather than 'Drug misuse' in Criminogenic needs field
'wellbeing' rather than 'Wellbeing'
"You can search by keyword, postcode, criminogenic needs and risks. You can also browse by need, region and category."

Replaced by #11.


Big Picture Mode overhaul broke the plugin

First of all thank you so much for creating this awesome plugin, @adambiser!
I don't know if you take support requests, because you offer everything free of charge / on a donation basis, but if you do: the current Steam Big Picture mode update seems to have broken the plugin. I only get a white screen when using Steam in Big Picture mode with my game utilizing the plugin and trying to access the Steam Overlay. It worked flawlessly before the update. Would you consider looking into this?
Thank you!

Thanks for pointing this out.  I'll look into it as soon as I can to see what the issue is.  I haven't really used Big Picture mode much.

If you don't mind, would you please post steps to reproduce the problem just in case.  Like I mentioned, I haven't used Big Picture mode very much.

If you don't mind, would you please post steps to reproduce the problem just in case. Like I mentioned, I haven't used Big Picture mode very much.

Somehow I only have the option to "close with comment", so I don't know what's going on there. The issue persists.
You need to access Big Picture Mode by pressing this button in the Steam client

Afterwards start a game utilizing your plugin. I can supply a key for mine, if you want to test. Try accessing the Steam Overlay and it only shows as a white screen.

Thanks for the steps to reproduce.  I'll try with my own games to see whether they have this issue first.
There should be a green "Comment" button to the right of "Close with comment".

I'm using an up-to-date client on Windows 10 and don't have this issue.  I tried with Boot Hill Blaster in windowed and fullscreen mode and could see the regular Steam Overlay while running in Big Picture mode.

Are you using the client beta and the -gamepadui parameter when starting the Steam client?

Hmm, tried that and that also worked for me.

It worked before on my Win 11 machine, no beta program. I'll ask a friend, if he has trouble and I will get back to you as soon as possible. Come to think of it: I recently updated my graphics card from a 1080 to a 6800XT. Maybe it's an AMD issue.

This seems related: https://steamcommunity.com/groups/SteamClientBeta/discussions/0/3373782431196464540/
First comment says "RX 6800XT with 22.9.1 driver"

I thought so, too.
Thanks for using the plugin.  I'm glad you find it useful.


Allow a NamedReserveableCurrency functionality for pallet_assets

It might be a good idea to allow a reserve and lock functionality to the pallet_assets module.
It is currently only possible to freeze an account completely and not to freeze certain parts of the asset balance.

This will probably be superseded by https://github.com/paritytech/substrate/issues/13251

So this can be closed @Chralt98?


Feature cli exit codes

I wanted to have ally exit with an error code (non zero) upon audit failures. This PR adds that feature. I'm not a native node dev so please don't hesitate to provide feedback to make this PR acceptable if it is not.

I'll fix these issues, add a test and try again!

It should just do that by default. No option needed. IMHO.

Friendly ping on feedback @adamc00

I have closed this PR and will make a new clean one which simply implements non zero exit code upon failure(s).


Enh/cython

use cython to wrap dynamic linking into python object

add serval pyx files(_cinterface.pyx, _objects.pyx, _constant.pyx, _parser.pyx), which can replace the legacy objects
build.py,  cython , setuptools and compiler are required to build these code
faster, more pythonic and async supported
not compatible with earlier taos versions yet
developed under python 3.10.12, taos client <IP_ADDRESS>, taos server <IP_ADDRESS>, not fully tested with other versions yet
add more examples and tests (further test is still needed)
query 3~4 times faster when test with taosbenchmark data
I left the other python file almost untouch to let you guys determine when and how to switch these and the legacy code
the comments with FIXME, BUG  need to be reviewed, I`m not sured about these code

这个pr还没有人review吗 @zitsen @sunpe @AdamEECS


No title bars in KDE

Describe the bug
After logging in, windows have no titlebar in Plasma (X11). Setting the theme in the settings restores title bars, but they disappear again after logout/login.
Steps To Reproduce
Steps to reproduce the behavior:

Run Plasma (X11)

Expected behavior
Title bars should not disappear.
Screenshots

Additional context
Add any other context about the problem here.
Notify maintainers

Metadata
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 5.15.82, NixOS, 23.05 (Stoat), 23.05pre433819.2dea0f4c2d6`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.12.0`
 - channels(root): `"nixos"`
 - channels(suhr): `"home-manager"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Same issue here.
[user@system:~]$ nix-info -m
 - system: `"x86_64-linux"`
 - host os: `Linux 5.15.82, NixOS, 22.11 (Raccoon), 22.11.964.0152de25d49`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.11.0`
 - channels(root): `"nixos-22.11, unstable"` // Unstable is used for some ad-hoc packages, system is built from 22.11
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Relevant config options
  environment.variables = {
    QT_QPA_PLATFORMTHEME = "qt5ct";
  };

  services.xserver.enable = true;
  services.xserver.desktopManager.plasma5.enable = true;
  services.xserver.displayManager.sddm.enable = true;

@Deiru2k or @suhr, were either of you able to find a solution other than relaunching kwin_x11?

I ran into this issue when switching between i3 and kde. I had forgot to disable picom when enabling kde. Once I did, the problem went away.

Can confirm, disabling picom solved the problem. Thanks @bobby3605!


Fix broken links in documentation

I believe that there are other files that have the same problem.
This is just a starting point.

Thanks @simonepri. More updates welcomed.

@stevenbird
I think it would have been better to wait and fix all the links with this single PR.
I'll try to find some time to check the other links as well and open another PR in the case.


Overlapping attribute routes doesn't result in ambiguous action match error

When I have these two actions and make a request to api/values I expected to get an ambiguous action match error, but instead the first action gets hit:
    [Route("api/[controller]")]
    public class ValuesController : ControllerBase
    {
        // GET: api/values
        [HttpGet]
        public IEnumerable<string> Get()
        {
            return new string[] { "value1", "value2" };
        }

        // GET api/values/5
        [HttpGet("{id?}")]
        public string Get(int id)
        {
            return "value";
        }
    }

Shouldn't this request result in an error?

No, the {id?} route has lower precedence. Attribute routing builds a tree that processed routes an order that processed the most specific entries first.


No valid view adapter! when making REST Call

<mat-form-field class="right-input" fxFlex="50" fxFlex.lt-md="100">     <mat-select (click) = "getFiberOwnershipList()" [ngrxFormControlState]="(riForm$ | async).controls.fiberOwnership" placeholder="Fiber Ownership" name="fiberOwnership">       <mat-option *ngFor="let rs of fiberOwnerships" [value]="rs.id">{{rs.text}}</mat-option>     </mat-select>   </mat-form-field>
@MrWolfZ , I was displaying dropdown by making REST API call when the user click to select but before it was working when I am using tradational formControlName (angular form). I was getting "No valid view adapter" error in the console. I go through your example there you didn't make an API call. could you please give suggestion or example how to solve this issue?

See this issue: https://github.com/MrWolfZ/ngrx-forms/issues/62

works perfectly!!! thanks a lot


[BEAM-6685] [BEAM-6686] Create scaffolding for Spark portable runner

This PR sets up the scaffolding upon which we can build a portable Spark runner. (It is very close to the structure of the Flink portable runner.)

I chose to put this on the master branch, rather than the structured streaming branch. The implementation details of how a pipeline is translated and run are not the focus of this PR; in fact, they are intended to eventually be switched out.
For now, the runner merely sets up a Spark context and attempts to translate/run a portable pipeline. It "fails as intended" because the map of translation functions is empty, left to be filled in by future PRs.

R: @angoenka, @mxm, @echauchot

Post-Commit Tests Status (on master branch)

Lang
SDK
Apex
Dataflow
Flink
Gearpump
Samza
Spark

Go

---
---
---
---
---
---

Java

Python

---

---
---
---

See .test-infra/jenkins/README for trigger phrase, status and link of all Jenkins jobs.

Run Portable_Python PreCommit

Should pass tests after #7981 merges.

Going to close this for now, going to think about it some more.


Split HwndWrapper.send_chars into send_chars and send_keystrokes

There are now 2 methods for silently sending input to the window:

send_chars is supposed to be used to send character input (this includes Enter, Tab, Backspace);
send_keystrokes is for key input (including key combinations with modifiers).

The modifiers in send_keystrokes are handled reliably (in my experience with manual testing in different apps) if the target window is inactive but not minimized. For minimized windows behavior varies, e.g.:

Notepad handles Shift, but not Ctrl or Alt;
MFC sample CmnCtrl3.exe handles Shift and Ctrl (tried for copy and paste), but not Alt;
PuTTY handles all modifiers within its terminal emulator, but Alt+F4 fails.

Also, this patch fixes #334.

Codecov Report

Merging #352 into master will increase coverage by <.01%.
The diff coverage is 93.33%.

@@            Coverage Diff             @@
##           master     #352      +/-   ##
==========================================
+ Coverage   94.52%   94.53%   +<.01%
==========================================
  Files          49       49
  Lines       19648    19697      +49
==========================================
+ Hits        18573    18620      +47
- Misses       1075     1077       +2

Additionally, use shift state information from VkKeyScanEx to allow characters typed with multiple keys (e.g. @) to be passed to send_keystrokes verbatim. send_chars doesn't need this as characters themselves are sent.


Fix bean name conflicts when using BedrockAnthropic and BedrockAnthropic3 at the same time.

When enabling bedrock anthropic and anthropic3 at the same time, it will throw the bean name conflict exception.
spring:
  ai:
    bedrock:
      anthropic:
        chat:
          enabled: true
      anthropic3:
        chat:
          enabled: true

The bean 'anthropicApi', defined in class path resource [org/springframework/ai/autoconfigure/bedrock/anthropic3/BedrockAnthropic3ChatAutoConfiguration.class], could not be registered. A bean with that name has already been defined in class path resource [org/springframework/ai/autoconfigure/bedrock/anthropic/BedrockAnthropicChatAutoConfiguration.class] and overriding is disabled.

So change the anthropic3 to a proper bean name to avoid this issue.

another good catch. Thanks @wmz7year


Ability to set different colors for parts of the line from a line chart

I want to be able to set different colors for different sections of a line from a line chart. For example, I want to have a red line from spots 1 to 10, a blue line from spots 10 to 40 etc.
Right now I can only set one single color or a gradient for the entire line. Is there a more low-level way of achieving what I need?
How I see this working is having a colors param that is the same length as the spots list and contains a color for each spot.

Unfortunately, it is not possible to do that at the moment.
But it's a good feature that we need to have. Thanks for reporting it.


https://developer.mozilla.org/ru/docs/Games/Techniques/3D_on_the_web/Building_up_a_basic_demo_with_Three.js

Request type

[] Please close this issue, I accidentally submitted it without adding any details
[] New documentation
[x] Correction or update

Details

osgjs.org link to the content 21+

https://developer.mozilla.org/ru/docs/Games/Techniques/3D_on_the_web/Building_up_a_basic_demo_with_Three.js

Removed; thanks for reporting.


Feature request: add 'Script as Drop and Create'

SQL Operations Studio Version: 0.28.6

Currently, there are two separate options: 'Script as Create' and 'Script as Drop' when you right click on a table. I'm missing the feature from SSMS 'Script Table as > Drop And Create to'. Is it possible to add an extra option like 'Script as Drop and Create'? Thank you.

Any chance to get this feature?


fix: article changes

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


Cannot find variable isDirty with jQuery 1.7

Using jQuery 1.7, isDirty is not found when hitting the change function.
104	  if (isDirty)
105	    isDirty = true;

Oops, fixed by @adrianmacneil. Use https://github.com/adrianmacneil/jquery.rating I guess.


rename repos

Right now you have the following mappings:

opam package
GitHub repo
ocamlfind package

iocaml
iocamlserver
none, executable only

iocaml-kernel
iocaml
iocaml-kernel, iocaml-kernel.notebook

iocamljs-kernel
iocamljs
iocamljs.kernel

The first two rows are rather confusing because iocaml shows up in both. Your opam package names seem the saner ones, so I'd suggest renaming the GitHub repo iocaml -> iocaml-kernel. That would resolve the ambiguity. You could also simplify the name of the GitHub repo iocamlserver -> iocaml for the sake of consistency with its opam package name, but this is less important.

Yes, it's a very fair point.  The various bits were evolved rather than designed, hence it's a bit of a mess!
I've thought about a tidy up and I think I would eventually probably just collapse the 3 bits into one repo in the end.


Turn off failure for warnings

Is there a way to turn off the failure for warnings? So rather than skipping the check, would rather just display the warning.
For example:
Check: CKV_AWS_40: "Ensure IAM policies are attached only to groups or roles (Reducing access management complexity may in-turn reduce opportunity for a principal to inadvertently receive or retain excessive privileges.)"
FAILED for resource: aws_iam_user_policy.iam_user_policy
Warning: 	File: /terraform/iam.tf:8-15
Guide: https://docs.bridgecrew.io/docs/iam_16-iam-policy-privileges-1

You need the flag -- soft_fail

But will that stop failures for all failed checks though - I saw the comment in the file that stated
soft_fail: true # optional: do not return an error code if there are failed checks
or will not return an error code for warning only?
will try it

I believe it affects the error code

I am re-opening this issue as soft_fail just ignores all errors, if we are ignoring all errors there is no point in using checkov in the first place.
Here is an example of us using soft fail -
terraform scan results:

Passed checks: 119, Failed checks: 1, Skipped checks: 0

Check: CKV_AWS_111: "Ensure IAM policies does not allow write access without constraints"
	FAILED for resource: module.sso.aws_iam_policy_document.accounts_payable_policy
Error: 	File: /terraform/policy.tf:1-35
	Calling File: /terraform/sso.tf:1-3

		1  | data "aws_iam_policy_document" "accounts_payable_policy" {
		2  |
		3  |   statement {
		4  |     sid     = "DenyAccountRolesPolices"
		5  |     effect  = "Deny"
		6  |     actions = ["iam:*"]
		7  |     resources = [
		8  |       "arn:aws:iam::*:role/${local.policy_path}/*",
		9  |       "arn:aws:iam::*:policy/${local.policy_path}/*"
		10 |     ]
		11 |   }
		12 |
		13 |   statement {
		14 |     sid     = "AllowAssumeBilling"
		15 |     effect  = "Allow"
		16 |     actions = ["sts:AssumeRole"]
		17 |     resources = concat([
		18 |       for account_name, account in local.account_map : "arn:aws:iam::${account}:role/${local.policy_path}/Billing"
		19 |       ],
		20 |       ["arn:aws:iam::${lookup(local.account_map, local.AWS_ACCOUNT_LEGACY)}:role/${local.policy_path}/ReadOnly"]
		21 |
		22 |     )
		23 |   }
		24 |
		25 |   statement {
		26 |     sid    = "VisualEditor0"
		27 |     effect = "Allow"
		28 |     actions = [
		29 |       "aws-portal:ViewBilling",
		30 |       "aws-portal:ViewUsage",
		31 |     "support:*"]
		32 |
		33 |     resources = ["*"]
		34 |   }
		35 | }

If you want to suppress individual rules try using --skip-check SKIP_CHECK at the cli or add the suppression.


'anime' style results in very pointed chin

Thanks for the amazing work. I have tried the  'anime' style model and all of the 'anime' people have very pointed chins, is there any way to modify the pointed level of the chin without changing the model?
Thanks in advance~

There is no pointed level control for the inference.  This may be easily relieved by improving the weight of content loss or early stop in the training process.


Added first draft of the interface

Please find a first draft of the interface including Tree and Table.
The former reduces the boilerplate needed to get started, the latter trials a different way to set up the tables.
Both are aiming to reduce "noise" when using alphatwirl (focus on the what not the how).
Usage examples will come in the example repository

I wrote this comment about the naming on slack. I will briefly repeat here. A table often means a data frame. In fact, I use these words interchangeably. However, the class Table in this PR isn't a table or data frame itself. It is something that defines the contents of a table. I fee that it might become confusing. I would probably name TableConfig, TableSpecification, TableDefinition, or a like.

Another comment on the class Table. Using a class instead of a python dict is a bit of the opposite direction that I have been pursuing. I have been trying to make these configuration as portable and as framework independent as possible. The dicts for the table config in alphatwirl still include classes, such as binnings. But, ideally, I would like to the dicts to have only strings, numbers, and tuples of these. Then, the config for the table will be completely decoupled from the framework or implementation.
If the config is decoupled from the implementation, it will be easier for users and developers to write code that can parse the config and do something with it e.g.,  generating latex tables of the definitions of the data frames. It will also be easier to reuse the config in heppy.
however, if the config is specified by a class, i.e., Table instead of a python dict, the config will depend on the framework and become less portable. In order to use the config in a different framework or implementation, users and developers need to figure out how to bring the class definition of Table to their framework or implementation.

In addition to the other comments, I think it could be good to put a layer in to organise this repo a bit.

Firstly, I had thought maybe to allow multiple interfaces with varying degrees of complexity, we could have a layer of directories for simple, extended, etc.  Maybe that defeats the point of this repo a bit, so it's just a thought / suggestion and I'd be curious to hear your comments.
Do we want to put the core python code into a python directory?  Just so we can put tests, CI stuff, documenting stuff, etc in a top-level directory outside of the actual code to be used by the client packages...

Firstly, I had thought maybe to allow multiple interfaces with varying degrees of complexity, we could have a layer of directories for simple, extended, etc. Maybe that defeats the point of this repo a bit, so it's just a thought / suggestion and I'd be curious to hear your comments.

Shall I implement this in this PR? Is everyone happy with simple and extended?

Do we want to put the core python code into a python directory? Just so we can put tests, CI stuff, documenting stuff, etc in a top-level directory outside of the actual code to be used by the client packages...

huh? Currently all interface code is in alphatwirl_interface like in a normal package.
I can add a setup.py for easy install and you can add a test folder on the top level like in any other python package:
python setup.py install
nosetests -v test

in travis.

I'm going to merge this in for now.  @TaiSakuma, I'm not sure if we addressed your comments, and I would like to resolve the discussion on importing things, but I think we can potentially address both of these aspects in future PRs.


[AIRFLOW-624] [AIRFLOW-784] [AIRFLOW-785] [AIRFLOW-777] Misc. fixes

Dear Airflow Maintainers,
Please accept this PR that addresses the following issues:

https://issues.apache.org/jira/browse/AIRFLOW-624
https://issues.apache.org/jira/browse/AIRFLOW-784
https://issues.apache.org/jira/browse/AIRFLOW-785
https://issues.apache.org/jira/browse/AIRFLOW-777

Current coverage is 66.92% (diff: 85.71%)

Merging #2010 into master will increase coverage by 0.01%

@@             master      #2010   diff @@
==========================================
  Files           138        138
  Lines         10531      10525     -6
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
- Hits           7046       7044     -2
+ Misses         3485       3481     -4
  Partials          0          0

Powered by Codecov. Last update 927f30c...118de40

Nice fixes! Small nits / questions. Can you make sure to adhere to the "title" guidelines (mostly your cgroups commit messages is too long).

I think you are missing a new line between the title of AIRFLOW0785 and its body. Github shows "..." which means it still exceeds to maximum amount of columns.

Would be nice btw to have a test for AIRFLOW-777 (i.e. covering the function)

There is a new line, I think it's because above the 50 characters limit (59 to be precise). Feel free to suggest an alternative shorter subject but IMHO I'd rather pick a descriptive title than chop it off to to whatever arbitrarily small limit a particular git host uses for display.


Could not find method google() for arguments [] on repository container

What went wrong:
A problem occurred evaluating project ':react-native-payment-gateway'.

Could not find method google() for arguments [] on repository container.

solve on version 0.4.3


Upgrade k3s-root to 0.9.1 version

There is a new version of k3s-root that upgrades the binaries to newer versions. We should jump to that one

I'm going to open backport issues; I'd like to see the ipv6 --random-fully bug fixed on all supported branches.

Linked backport issues have been closed. This was pending rc for standard sonobuoy and regressions checks, which will be validated as part of standard patch testing so I will close this issue.


Error running javah command: Error executing command line

Hi... I Like to share a couple of things:
First as I'm new to hadoop, for teaching purposes I followed a couple of tutorials for installing, Then, I overcome the problem of .net + SDK7.1...during building hadoop I had got a warning and an error
warninf concerning maven-gpg-plugin that was missing in line 133 of the pom.xml. I have realized that there wasnot a mention of the plugin in the pluginManagement section, so I added and the warning disapear...
Second and more serious, I have got the following error:
[ERROR] Failed to execute goal org.codehaus.mojo:native-maven-plugin:1.0-alpha-8:javah (default) on project hadoop-common: Error running javah command: Error executing command line. Exit code:1 -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Checking the ouput (I redirect the output to a file, I'm including) I realized that the command line
[INFO] --- native-maven-plugin:1.0-alpha-8:javah (default) @ hadoop-common ---
[INFO] cmd.exe /X /C "C:\Progra~1\Java\jdk1.8.0_161\bin\javah -d C:\hadoop-3.0.0-src\hadoop-
...
org.apache.hadoop.crypto.OpensslCipher org.apache.hadoop.crypto.random.OpensslSecureRandom org.apache.hadoop.util.NativeCrc32"
is too long...and my guess is that line was not executed, thus the error.
logfile.txt
I'm running in windows 7, it is the only platform I have got so far, as I said it is for teaching purposes...
Is there any way to work-around the too long command line??
Thanks

Hi there, I face the same issue and fixed it by changing the maven m2 location in settings.xml.
c:.m2

Hi again...which file? the one located inside maven/conf directory? thanks


new features

Thanks..add database support to express generator create config files and model folder (-d=mysql)
https://expressjs.com/en/guide/database-integration.html

You can always just open pull requests directly; you don't need to open issues first unless you have some specific question you want to ask prior to working on a feature, etc.
I'm going to close this issue, but feel free to work on the feature! If you have a specific question, please feel free to ask and we can always reopen this issue.


video tutorials

Apart from the jupyter tutorials, it would be nice to have some recordings explaining different concepts and functionalities

The workshops might fit in there.

@kysrpex I do not think the workshops fit here as they do not have the right pace (there are interruptions as people are followig, etc). So maybe it is justbetter to just make new videos from scratch.


Daily User Sentiment

Run a batched sentiment analysis on user posts to generate a Daily Karma Score for each of our users and update their stats.

that is going to get very pricy if using gpt3, so would it make sense to use something like a local instance of bert running to do this?

What kind of GPU memory would we need to run a model big enough to do a decent job and prove the concept?  A couple 4090's or more?


A function for creating views with implicitly const components?

Hi!
When working on a project I noticed that a relatively common pattern when working with const entt::registry& registries, is the creation of views with only const components. The following is a real line of code that highlights the verbosity (it causes a line break with a column limit of 90, which is relatively generous). This is also a bit annoying since the components must be const if the registry is passed as reference-to-const.
const auto view =
      registry.view<const ui_button, const ui_label, const ui_position, const in_menu>();

Now, the requirement to explicitly state const components with view() is something that I enjoy when some of the components are non-const. However, do you think it would be beneficial or desirable to add a convenience for explicitly creating views with implicitly const components? For example, adding a function such as const_view() that would allow us to write the previous line of code as follows?
const auto view = registry.const_view<ui_button, ui_label, ui_position, in_menu>();

This isn't really a major issue for me or anything, but the API's are otherwise quite terse so I was curious to see what you guys think. 😄

Actually, functions like get or try_get works already with non-const types and return const references/pointers in any case.
We could do the same for the const overload of view, std::add_const_t should be enough for that. Would it work?

Yeah, unifying the behaviour of the functions seems like a good idea. As you say, it should basically just come down to applying std::add_const_t to the type parameters. However, we should probably not disallow const types in the template parameter lists to avoid breaking existing code though if we change the behaviour of view(). Although it's difficult to emit warnings if users use superfluous const types, so I guess that we can't deprecate anything really.

I wouldn't deprecate nor disable support for const types honestly.
The const overloads of try_get and get accept both const and non-const types and turn them to const in any case.

If you want to give it a try, it's available on branch wip. 👍

It seems to work just fine, thank you! Another related issue that I couldn't help notice when I tried it locally, is that the const-overload of ctx() also requires that the type parameters are const. Now, I don't know if there is a technical limitation or reason for this, but would this requirement be worth dropping for ctx() as well? 😄

I think it's easy as well. However, can I ask you to create another issue for that or to update the title of this one?
It helps me to keep track of the work and to figure out what's still pending. Thanks!

See #720 for an issue specific to the registry context variable getters. Feel free to close this issue whenever you want, thank you!😄

Thanks!


Sort out and collect masters program.

We now have existing masters programs all over the place.( #69,  #4 )
We need to collect and structure them somehow.

@tobyhodges

Since the list is getting extensive, we should probably not aim for a wide overview, but for connecting and differentiating for those (and highlighting the additional value). Looking at the example curriculum appendix (#132), we could probably add a small paragraph there (but probably after merging).

The Masters programme that we have, also kind of follows this pattern. There I can imagine extending the introduction.

Suggestion: Let's make this list a living document, transfer it in the deRSE website, and link to that page.
It is already helpful for people that want to study something related right now.

Another international HPC example:
https://mhpc.it/presentation


why memory is always 0 in log ?

2020-07-20 13:02:27,784 - mmdet - INFO - Start running, host: XXXXXX, work_dir: /home/luow/mmdetection/output/tmp
2020-07-20 13:02:27,785 - mmdet - INFO - workflow: [('train', 1)], max: 24 epochs
2020-07-20 13:02:53,527 - mmdet - INFO - Epoch [1][50/6126]	lr: 0.00025, eta: 17:49:11, time: 0.436, data_time: 0.048, memory: 0, loss_rpn_cls: 0.6848, loss_rpn_bbox: 0.0467, loss_cls: 0.2047, acc: 95.7793, loss_bbox: 0.0105, loss: 0.9466
2020-07-20 13:03:23,268 - mmdet - INFO - Epoch [1][100/6126]	lr: 0.00050, eta: 22:38:20, time: 0.673, data_time: 0.082, memory: 0, loss_rpn_cls: 0.4493, loss_rpn_bbox: 0.0533, loss_cls: 0.1425, acc: 98.7930, loss_bbox: 0.0228, loss: 0.6679
2020-07-20 13:04:02,945 - mmdet - INFO - Epoch [1][150/6126]	lr: 0.00075, eta: 1 day, 1:52:50, time: 0.794, data_time: 0.004, memory: 0, loss_rpn_cls: 0.1365, loss_rpn_bbox: 0.0439, loss_cls: 0.1483, acc: 97.0234, loss_bbox: 0.1000, loss: 0.4287
2020-07-20 13:04:43,334 - mmdet - INFO - Epoch [1][200/6126]	lr: 0.00100, eta: 1 day, 3:38:23, time: 0.808, data_time: 0.004, memory: 0, loss_rpn_cls: 0.1102, loss_rpn_bbox: 0.0419, loss_cls: 0.1744, acc: 95.5859, loss_bbox: 0.1597, loss: 0.4862
2020-07-20 13:05:24,305 - mmdet - INFO - Epoch [1][250/6126]	lr: 0.00125, eta: 1 day, 4:47:08, time: 0.819, data_time: 0.004, memory: 0, loss_rpn_cls: 0.1057, loss_rpn_bbox: 0.0453, loss_cls: 0.1839, acc: 95.1465, loss_bbox: 0.1813, loss: 0.5161
2020-07-20 13:06:06,867 - mmdet - INFO - Epoch [1][300/6126]	lr: 0.00150, eta: 1 day, 5:45:44, time: 0.851, data_time: 0.004, memory: 0, loss_rpn_cls: 0.0917, loss_rpn_bbox: 0.0416, loss_cls: 0.1574, acc: 95.5527, loss_bbox: 0.1628, loss: 0.4535
2020-07-20 13:06:49,444 - mmdet - INFO - Epoch [1][350/6126]	lr: 0.00175, eta: 1 day, 6:27:29, time: 0.852, data_time: 0.004, memory: 0, loss_rpn_cls: 0.0770, loss_rpn_bbox: 0.0381, loss_cls: 0.1825, acc: 95.0527, loss_bbox: 0.1809, loss: 0.4784
2020-07-20 13:07:31,353 - mmdet - INFO - Epoch [1][400/6126]	lr: 0.00200, eta: 1 day, 6:54:32, time: 0.838, data_time: 0.004, memory: 0, loss_rpn_cls: 0.0975, loss_rpn_bbox: 0.0485, loss_cls: 0.1670, acc: 95.3633, loss_bbox: 0.1667, loss: 0.4796
2020-07-20 13:08:13,908 - mmdet - INFO - Epoch [1][450/6126]	lr: 0.00225, eta: 1 day, 7:18:55, time: 0.851, data_time: 0.004, memory: 0, loss_rpn_cls: 0.0771, loss_rpn_bbox: 0.0506, loss_cls: 0.1793, acc: 94.5625, loss_bbox: 0.1999, loss: 0.5070
You can see,the data_time is always 0.004 and the memory is always 0,but the process of training is normal.What's wrong ?

my environment info:
2020-07-20 13:02:24,029 - mmdet - INFO - Environment info:
sys.platform: linux
Python: 3.7.7 (default, May  7 2020, 21:25:33) [GCC 7.3.0]
CUDA available: True
CUDA_HOME: /usr/local/cuda-10.0
NVCC: Cuda compilation tools, release 10.0, V10.0.130
GPU 0,1,2,3: GeForce RTX 2080 Ti
GCC: gcc (Ubuntu 5.5.0-12ubuntu1) 5.5.0 20171010
PyTorch: 1.4.0
PyTorch compiling details: PyTorch built with:

GCC 7.3
Intel(R) Math Kernel Library Version 2020.0.1 Product Build 20200208 for Intel(R) 64 architecture applications
Intel(R) MKL-DNN v0.21.1 (Git Hash 7d2fd500bc78936d1d648ca713b901012f470dbc)
OpenMP 201511 (a.k.a. OpenMP 4.5)
NNPACK is enabled
CUDA Runtime 10.0
NVCC architecture flags: -gencode;arch=compute_37,code=sm_37;-gencode;arch=compute_50,code=sm_50;-gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_61,code=sm_61;-gencode;arch=compute_70,code=sm_70;-gencode;arch=compute_75,code=sm_75;-gencode;arch=compute_37,code=compute_37
CuDNN 7.6.3
Magma 2.5.1
Build settings: BLAS=MKL, BUILD_NAMEDTENSOR=OFF, BUILD_TYPE=Release, CXX_FLAGS= -Wno-deprecated -fvisibility-inlines-hidden -fopenmp -DUSE_FBGEMM -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -O2 -fPIC -Wno-narrowing -Wall -Wextra -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-sign-compare -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Wno-stringop-overflow, DISABLE_NUMA=1, PERF_WITH_AVX=1, PERF_WITH_AVX2=1, PERF_WITH_AVX512=1, USE_CUDA=ON, USE_EXCEPTION_PTR=1, USE_GFLAGS=OFF, USE_GLOG=OFF, USE_MKL=ON, USE_MKLDNN=ON, USE_MPI=OFF, USE_NCCL=ON, USE_NNPACK=ON, USE_OPENMP=ON, USE_STATIC_DISPATCH=OFF,

TorchVision: 0.5.0
OpenCV: 4.2.0
MMCV: 0.5.9
MMDetection: 2.1.0+9d2a343
MMDetection Compiler: GCC 5.5
MMDetection CUDA Compiler: 10.0
2020-07-20 13:02:24,030 - mmdet - INFO - Distributed training: False

It is wired and I can't reproduce this bug. Which config you are training with? What's your run command?


Camper in Delhi encountering CSP issues in Chrome

Closing as duplicate of #5999
I have updated that issue title to be more descriptive.


I can't find plyr.less in the installation package

We moved to SASS since v3. Where did you see a reference to plyr.less?


Fix #113 VM and VMGuest Metrics field errors if no access to list VCenter Hosts

see: https://github.com/pryorda/vmware_exporter/issues/113

Codecov Report

Merging #115 into master will increase coverage by 0.09%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #115      +/-   ##
==========================================
+ Coverage      92%   92.09%   +0.09%
==========================================
  Files           4        4
  Lines         500      506       +6
==========================================
+ Hits          460      466       +6
  Misses         40       40

Impacted Files
Coverage Δ

vmware_exporter/vmware_exporter.py
92.12% <100%> (+0.11%)
:arrow_up:

Continue to review full report at Codecov.

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


Adding Kotlin Support

Steps to reproduce it
Kotlin is an awesome language that introduces verbosity and conciseness for the project. Adding Kotlin support to the project will improve the quality of the code with significantly reduced codebase. I would like to start by adding kotlin in incremental builds - one fragment at a time.
Would you like to work on the issue?
Yes. I would like to work on this issue
Target Milestone to solve the issue
I would like to take this up for GSOC 2018 as a milestone.

@sriramr98 I think you can go ahead with converting one Pojo to Kotlin and we can review that and merge.
@iamareebjamal Does that sound good, correct me if this is not in our current implementation list?

I think we should start with converting utility classes instead of a Pojo. There are some small issues with data classes and Realm that needs to be fixed before converting a Pojo. So I think we should start with some Utility Classes.

@the-dagger Sounds good, And I agree, utility classes should be converted first as the data layer s already being reworked in this library https://github.com/iamareebjamal/openevent-java

So I will start converting two-two utility classes at a time

@sriramr98 Would you like to split up?

@mayank8318 I'm sorry man, I'm trying to include this as a small part of my GSoC proposal. If I don't get selected for it, then we can split up the work, collab and get the job done.

The PR does not solve this issue as this issue will be closed when entire project is completely converted to kotlin

@iamareebjamal  Can we continue with this issue? Should we start with some util classes or start refactoring activities?

Util classes first

Alright. Ill push two util classes a day and we'll see how it goes.

@iamareebjamal the utility classes have been converted. What next?

Convert non android specific classes


[Package Request]: Add Back CloudFlare WARP

How can we help?
I would like help so I can submit the manifest.
Please read and ensure the following

[X] The installer meets the above requirements

Please provide the following information
Download Page Url: https://one.one.one.one/
Publisher: Cloudflare Inc
Package Name: Cloudflare.Warp
Description: <IP_ADDRESS> with WARP replaces the connection between your device and the Internet with a modern, optimized, protocol.
Package Version: 2024.3.409.0
Installer URL: https://1111-releases.cloudflareclient.com/windows/Cloudflare_WARP_Release-x64.msi

Warp uses a vanity URL, and the client updates so frequently that the sha256 hash that winget uses to validate the file is pretty much always invalid.
This has also been referenced here:
https://github.com/microsoft/winget-pkgs/issues/147039
https://github.com/microsoft/winget-pkgs/pull/145124
https://github.com/microsoft/winget-pkgs/pull/144984
https://github.com/microsoft/winget-pkgs/pull/141535 <- example of it changing before a moderator can even approve a new version.
It would be in Cloudflares interest to have non-vanity links should it be more widely adopted via winget.


The example imgs cannot be shown in the showcase gallery

Hi,
I test some images in my model (https://replicate.com/sczhou/codeformer), there are some link errors. The errors could appear in the following places:

https://replicate.com/explore

https://replicate.com/sczhou

https://replicate.com/sczhou/codeformer

I checked all three errors should be caused by wrong links,  e.g.,
/api/models/sczhou/codeformer/files/https://replicate.com/api/models/sczhou/codeformer/files/4e7adcc7-eb0d-49c9-81e5-56c041f7a9dd/output.png
should be:
/api/models/sczhou/codeformer/files/4e7adcc7-eb0d-49c9-81e5-56c041f7a9dd/output.png

And output path in the predict.py file (https://github.com/sczhou/CodeFormer/blob/master/predict.py#L146) should be accurate.
I don't know how to fix this link error, could you help me with that or have any ideas? Thanks!

This should be fixed now. Sorry about that!

@bfirsh It works. Thank you so much!


Reduce the number of output messages when not in debug mode

When running wwidd without any debug method it shows too much message that should not be displayed unless the debug mode is enabled

https://github.com/NDVM/NDVM/commit/e96bd27c99551cd37d3f031df9b3ace9d0073f25


support mapped encoding definition without a context instance

Fixes #516
Problem
Mapped encoding can't be defined without a context instance.
Solution
Move the mapped encoding case class to io.getquill
Notes
I've also removed the mappedEncoding method to make the usage on both context-based or package-based mapped encodings equal.
Checklist

[x] Unit test all changes
[x] Update README.md if applicable
[x] Add [WIP] to the pull request title if it's work in progress
[x] Squash commits that aren't meaningful changes
[x] Run sbt scalariformFormat test:scalariformFormat to make sure that the source files are formatted

@getquill/maintainers

👍

👍


Slash in Docker package

Description
When publishing a docker image to packages and the name is example.com/owner/repository/app:latest, there is a problem with formatting the name when there is a slash (/)
Repository example:
https://demo.gitea.com/lolen/docker
Packages:
https://demo.gitea.com/lolen/docker/packages
Gitea Version
1.23.0+dev-151-gc93cbc991e
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots

Git Version
No response
Operating System
No response
How are you running Gitea?
This is the latest version (1.22) running with binary and reverse proxy on nginx according to the official documentation, but I also reproduced this step on demo.gitea.com
Database
None

What's your nginx config? The config document has been improved in 1.22
https://docs.gitea.com/administration/reverse-proxies

According to your screenshot, the URL docker%2Fsecond is right and expected. It must be escaped that way.


Fix missing /etc/nix directory

I noticed

tee: /etc/nix/nix.conf: No such file or directory

in my build logs.  tee can create files, but it does not create missing directories. /etc/nix does not seem to be existing.  Therefore the error message. Creating the /etc/nix directory before trying to create a file in there fixes this.
I did not test this change in any way.

Could you point to the error you are seeing? Thanks.

Sure, here for example: https://travis-ci.com/musteresel/musteresel.github.io/builds/136784951#L148


Multiple UI functional tests are failing on Chrome and Firefox - followup to https://github.com/almighty/almighty-ui/issues/520

After the changes listed in task https://github.com/almighty/almighty-ui/issues/520 are complete, multiple tests are still failing on Chrome and Firefox. We should always have all the tests running cleanly on PhantomJS, Chrome, and Firefox.

See:  https://github.com/almighty/almighty-ui/pull/523

No longer an issue - closing


Define redis resources

Which problem is this PR solving?
It should be possible to set redis resources from values.yaml

Closes #331

Short description of the changes
Allow setting redis resources from values.
How to verify that this has the expected result
Configure resources in values.yaml under redis.resources and see that redis container resources are set accordingly.

Done!


make songlist to be reorderable

https://github.com/SortableJS/Vue.Draggable

@rafaelleru Which song list are you referring to?

when you add some torrents, all the files from the torrent are displayed in a songList.vue component, you can run the project and try it yourself 😄

closed on b936931


Add Github link to front page

Added Github link on front page menu.
Removed fake blog content.
Update listing format for Blogs section to take publish date into account.
Removed section/content nav from the blog page formating.

/lgtm
/approve


Feature: Open Devdocs by buffers filetype

Added functionality that takes the filetype for the current active nvim window (  local filetype = vim.bo.filetype ) and calles open_picker with that filetype. Added a table with aliases, like "js" = "javascript" for the popular filetypes I remembered. If the current filetype isnt in the table, the filetype is used instead.
The code:
M.aliases = {
  ["cs"] = "csharp",
  ["go"] = "go",
  ["js"] = "javascript",
  ["jsx"] = "javascript",
  ["md"] = "markdown",
  ["py"] = "python",
  ["rb"] = "ruby",
  ["rs"] = "rust",
  ["sass"] = "sass",
  ["scss"] = "sass",
  ["sh"] = "bash",
  ["ts"] = "typescript",
  ["tsx"] = "typescript",
  ["yml"] = "yaml",
}
M.open_doc_current_file = function()
  local filetype = vim.bo.filetype
  local alias = M.aliases[filetype] or filetype
  pickers.open_picker(alias, false)
end

cmd("DevdocsOpenCurrentFile", M.open_doc_current_file, {})

I'm just a random watcher, but If I'm understanding this right, maybe a filetype could be made to match multiple doc types? For instance js->[JavaScript, html, lodash]
Assuming I'm understanding this right and the maintainer wants this feature in at all.

I'm just a random watcher, but If I'm understanding this right, maybe a filetype could be made to match multiple doc types? For instance js->[JavaScript, html, lodash]
Assuming I'm understanding this right and the maintainer wants this feature in at all.

That sounds like a good idea, but that's out of my depth at my current skill level

This is really a cool idea, I just realize it now. But I think some filetypes are wrong, filetype for javascript is javascript and not js, if you want to check a buffer filetype run echo &filetype. This still need some work but I'll help.

I think it would be nice to have an option that let people to define which docs they want to be opened for each filetype.  The docs can be a string or a list of docs. In the case of list, it will be shown in a form of a picker.
Here is how I'm currently doing it. showNuiMenu creates a nui.nvim menu, but I guess you can do it in telescope too if you want to avoid having an additional dependency.
local docsByFt = {
  javascript = { 'javascript', 'node-18_lts' },
  typescript = { 'typescript', 'node-18_lts' },
  html = { 'html', 'tailwindcss' },
  svelte = { 'svelte', 'tailwindcss' },
  lua = 'lua-5.4',
  sql = 'postgresql-15'
}

local showDocsMenu = function(docs)
  local ui = require('util.ui')
  local items = {}

  for i = 1, #docs do
    table.insert(items, { label = docs[i] })
  end

  ui.nui.showNuiMenu(items, {
    on_submit = function(item)
      vim.cmd('DevdocsOpen ' .. item.text)
    end
  }, {
    border = {
      text = {
        top = "Choose a doc",
      }
    }
  })
end

local openDocsCurrentFt = function()
  local ft = vim.bo.ft
  local docs = docsByFt[ft]

  -- Custom name
  if type(docs) == 'string' then
    vim.cmd('DevdocsOpen ' .. docs)
    return
  end

  -- Custom set of docs
  if type(docs) == 'table' then
    showDocsMenu(docs)
    return
  end

  -- No custom ft
  vim.cmd('DevdocsOpen ' .. ft)
end

M.keys = {
  {
    "<Leader>dd",
    function() openDocsCurrentFt() end,
    desc = "Open documentation of current buffer filetype"
  },
 }

return M

I think it would be nice to have an option that let people to define which docs they want to be opened for each filetype.  The docs can be a string or a list of docs. In the case of list, it will be shown in a form of a picker.
Here is how I'm currently doing it. showNuiMenu creates a nui.nvim menu, but I guess you can do it in telescope too if you want to avoid having an additional dependency.
local docsByFt = {
  javascript = { 'javascript', 'node-18_lts' },
  typescript = { 'typescript', 'node-18_lts' },
  html = { 'html', 'tailwindcss' },
  svelte = { 'svelte', 'tailwindcss' },
  lua = 'lua-5.4',
  sql = 'postgresql-15'
}

local showDocsMenu = function(docs)
  local ui = require('util.ui')
  local items = {}

  for i = 1, #docs do
    table.insert(items, { label = docs[i] })
  end

  ui.nui.showNuiMenu(items, {
    on_submit = function(item)
      vim.cmd('DevdocsOpen ' .. item.text)
    end
  }, {
    border = {
      text = {
        top = "Choose a doc",
      }
    }
  })
end

local openDocsCurrentFt = function()
  local ft = vim.bo.ft
  local docs = docsByFt[ft]

  -- Custom name
  if type(docs) == 'string' then
    vim.cmd('DevdocsOpen ' .. docs)
    return
  end

  -- Custom set of docs
  if type(docs) == 'table' then
    showDocsMenu(docs)
    return
  end

  -- No custom ft
  vim.cmd('DevdocsOpen ' .. ft)
end

M.keys = {
  {
    "<Leader>dd",
    function() openDocsCurrentFt() end,
    desc = "Open documentation of current buffer filetype"
  },
 }

return M

That's also a good idea! But I think it would be more to display the actual entries like when using DevdocsOpen without args but limit the docs with the selected docs

I'd also be a nice feature to search selected words but limit the result to docs matching the filetype

This is really a cool idea, I just realize it now. But I think some filetypes are wrong, filetype for javascript is javascript and not js, if you want to check a buffer filetype run echo &filetype. This still need some work but I'll help.
EDIT: Oh, it works even though vim.bo.filetype output javascript lol (Ah it's because of the or)

Appreciate the reply! I must admit that the mappings table is kinda sloppy, but the alias functionality works for me. Do you need me to improve something before it's merged? :) I'm just getting into the open source community and this is my first ever PR to something I don't own myself, so I'm happy to take pointers

Appreciate the reply! I must admit that the mappings table is kinda sloppy, but the alias functionality works for me. Do you need me to improve something before it's merged? :) I'm just getting into the open source community and this is my first ever PR to something I don't own myself, so I'm happy to take pointers

I'm also new to this tbh, I haven't merged it yet because of the README, I've made changes to the README after you did, maybe you could fix this. I'm not on my computer at the moment also I added the argument float to your command you should mention it too

I'm also new to this tbh, I haven't merged it yet because of the README, I've made changes to the README after you did, maybe you could fix this. I'm not on my computer at the moment, also I added the argument float to your command you should mention it too

The README should now be the same version. I was uncertain on how I could best describe the float argument, so I just specified that there is 0 or 1 args like the other commands did.

It'dd also be a nice feature to search selected words but limit the result to docs matching the filetype

That's the functionality I originally had in mind when I started tinkering with this, but I realized it was too complicated for my skills now. It would be amazing to hover over a keyword and with one keymap get the detailed documentation from devdocs on that keyword.

Thinking about it now adding an argument is not really intuitive but adding float to the name would make it really long xD, :DevdocsOpenCurrentFileFloat, some other suggestions?

Thinking about it now adding an argument is not really intuitive but adding float to the name would make it really long xD, :DevdocsOpenCurrentFileFloat, some other suggestions?

I guess most people use tab-complete when entering commands so I don't think the length is necessarily an issue. Would also be nice to have :DevdocsOpenCurrentFile float=true, but afaik the only way to make that possible would be to pass a table {float = true}. Not sure if I like that

I've decided to use two different cmd and use a shorter name


Add integration and/or system tests

I think we need the ability to add and run some 'Integration' tests that exercise interactions in high level components and use actual apis and keys.  They would be run only on request and could be run before each release.
Start with a simple question to ChainOfThought with openai like in the README, with expectation that the result should be similar but not exactly equal to the result given in the README, since I assume the ai can respond slightly differently each time the test is called.

I'm going to try implementing a simple https://cucumber.io/ test.   It might work well here, but if it doesn't add value we don't have to use it.

@mattlindsey Do you envision that this would actually run in CI?
I'm also struggling a bit figuring out what value these feature tests would bring to this library?

If you run them in CI I think you'd catch errors sooner, like I think there's a gem dependency error now. (Might be wrong.)
Also, the agents are fairly high level, so testing interaction with other things using 'integration' testing is certainly necessary somewhere, I think.

I hope @technicalpickles doesn't mind that I pull him in. There was a mention of executing Jupyter notebooks or README code snippets in Discord. Would you have to have any thoughts here?

Also see where I implemented a couple of tests here to give a better idea: https://github.com/andreibondarev/langchainrb/pull/145

And for a wider range of testing it would be good if someone implemented Langchain::LLM::HuggingFace#complete.

Start with a simple question to ChainOfThought with openai like in the README, with expectation that the result should be similar but not exactly equal to the result given in the README, since I assume the ai can respond slightly differently each time the test is called.

I was doing a course on deeplearning.ai, it was talking about how if you set a temperature=0, you should get the same results. The course was taught using jupyter notebooks, and the results they got doing the exercise matched what the AI was returning when I did them in the notebooks. I think it can be considered relatively stable?

There was a mention of executing Jupyter notebooks or README code snippets in Discord. Would you have to have any thoughts here?

Yep! Here is what I suggested:
I've been thinking about getting the code in the README and in examples to be run as part of CI. did something like that for openfeature-sdk (https://github.com/open-feature/ruby-sdk/pull/40) ... I think the challenge for the README is making sure the fragment is complete enough to run, as well as having the right environment variables to make the call.

In both cases, I'm starting to think we could get pretty far by stubbing the response from the LLM. That could help cover everything leading up to the request. The most common way I've done this is with VCR and/or webmock. The main downside there it doesn't capture changes that happen with the remote end, obviously. If we are using existing libraries to do those interactions though, it's probably a pretty good tradeoff.

Thanks @technicalpickles.  I'm going to try the method you used in open-feature to run our README examples with temperature=0.  It will still have to be an optional script or spec, since it would require env variables - like you said.
When you say stubbing the response from the LLM, do you mean like below? Or recording responses with VCR for every example? https://github.com/andreibondarev/langchainrb/blob/9dd8add0703c8cc9f5d250ee7a3559f45053d7e3/spec/langchain/llm/openai_spec.rb#L68

@mattlindsey I'm going to try implementing a simple https://cucumber.io/ test.
I don't see much value in using Cucumber. In the case of web apps -- it brings a lot of value abstracting the engineer out from "clicking" through the UI. It's also useful when "QA Engineers" are primarily writing these tests because it provides them a nice DSL.

We need to figure out whether we'd like these tests to run against real (non-mocked) services, with actual API keys/creds.
If yes -- then let's go with Jupyter notebooks. These would need to be run locally by a dev, we can't run these in CI because it costs $$$ to run.
If not -- then these tests/scripts should be in Rspec.
We have a pretty large testing matrix: think "Num of vectorsearch DBs X Num of LLMs X", i.e. we're saying that any LLM in the project (that supports embed()) can generate embeddings for any vectorsearch DB.

Can Jupyter notbooks run ruby?

I saw it in the boxcars gem, which is in the same space as this gem:
https://github.com/BoxcarsAI/boxcars/blob/main/notebooks/boxcars_examples.ipyn

@technicalpickles I added a similar 'getting started' Jupyter notebook in #185, but it was somewhat difficult to get working and seems to give errors sometimes.  Take a look if you want, but I don't want to waste your time!

I did get a notebook working, but it's very picky and may not be worth the effort to maintain.
I'll post it here just in case: https://gist.github.com/mattlindsey/5f6388d6ff76c2decdccb723bb4ed4c5#file-getting_started-ipynb


template v3 and v4 for encoding inscriptions

This issue concerns the general issue of whether we can finally move from using v3 to  using v4. (I think the move was delayed because developing v2 of EGD has taken much more time than Axelle foresaw when she created v4.)
A more specific issue is the attribution of copyright.
The current template (v3) states in line 44 of v3:
<!-- replace year and name, use format "Forename1 Surname1 & Forename2 Surname2" or "Forename1 Surname1, Forename2 Surname2 & Forename3 Surname3" if necessary — the copyright is that of the encoder(s) -->
The same is currently still found in line 45 of the unreleased draft of v4.
I have not been following the rule that only the encoder claims copyright, There are many inscriptions mainly encoded by team members X though the editing/translating has been done by X and Y. In such cases, I have myself claimed copyright for X and Y and recommended team members to to the same.
If everyone agrees that it should not always be (only) the encoder who claims copyright, then we need to furnish some suggestions for how else to go about filling in these lines of code. We specifically need to address the question of when the author of a printed edition should be mentioned in the copyright statement.

I suggest that the copyright holder should be the same as the intellectual author of the edition indicated in the <respStmt>. For the intellectual author, I suggest (see also the new comment in the googledoc EGD 11.1.2):

the intellectual author is the encoder alone if:
a, the encoder has taken a published edition and encoded it while carefully collating it with one or more reasonably good and more or less complete facsimiles (the most typical way DHARMA editions are created)
b, the encoder has edited a previously unpublished text from a reasonably good and complete facsimile
the intellectual author is more than one person including the encoder if:
a, the encoder has worked from a published edition and has not collated with a facsimile or the collated facsimile was very poor and/or very incomplete
b, other project members than the encoder have contributed substantially to the edition

I'm not sure what we should do about translations. In our current setup, the identity of the translator is indicated by a @resp or @source on the translation div itself, so encoding the translator in the header would be redundant. If you think it is nonetheless necessary, then I think the translator should primarily be indicated in the responsibility statement, but if we wish to keep copyright for translations separate, then it may be necessary to record the translator in all three places, and to create subitems of copyright if TEI allows that.
@arlogriffiths , by your concept, copyright over the XML document as a whole is shared by the editor and the translator. Is that desirable, or would it be better to add a disclaimer under copyright saying that translations by someone other than the intellectual author are copyright the translator? If shared copyright over the entire file is what we want, then my above suggestion "the copyright holder is the intellectual author" could be modified to "the copyright holder(s) is (are) the intellectual author(s) plus any translator(s) other than the intellectual author".

has this been completed? i.e., to we have a usable v4 now? I suppose not, since EGD v2 doesn't exist yet. so I am reopening this.


Continue with deployment even if one (or some of the servers) are timing out

Hi,
Is it possible to continue deployments (executing commands) on the rest of the servers, if one or some of the servers are timing out. If some command is failing on one of the servers, it should continue executing on others?
Thanks.

I think this goes against the general philosophy of Capistrano, since it will result in an inconsistent deployment (not all servers receiving the same commands). I doubt this is something we will support officially. You might check Stack Overflow to see if someone else has tackled this.


Freedom Fighters' Profiles *.dat being reverted to cloud version even if local is newer

Prerequisites

[X] I've looked through existing issues to make sure that this bug hasn't been reported before.
[X] I've read the GitHub Community Guidelines and know netiquette.

Playnite version
<IP_ADDRESS>68
Plugin version
<IP_ADDRESS>53
Comet version
0.1.2
Gogdl version
1.1.2
Bug description
I can see there is sound logic for handling whether to upload or download, and it's working correctly for the files at the root of the folder (freedom.ini and Keyboard.cfg), but the GogOssCloud log doesn't mention the Profiles folder or its containing Adam.dat and is acting on it anyway, reverting the save to the 2021 version. I'm suspicious this has something to do with subdir handling.
Relevant log
Filtered log from today's operation:
29-11 11:07:21.424|WARN |GogOssLibrary#GogOssCloud:Skipping download, cuz 'C:\Users\Adam\AppData\Roaming\IO Interactive\Freedom Fighters\Keyboard.cfg' file with same date is already available.
29-11 11:07:21.989|WARN |GogOssLibrary#GogOssCloud:Skipping download, cuz 'C:\Users\Adam\AppData\Roaming\IO Interactive\Freedom Fighters\freedom.ini' file with same date is already available.
29-11 11:08:17.496|WARN |GogOssLibrary#GogOssCloud:Skipping upload, cuz identical 'saves/freedom.ini' file is already in the cloud.
29-11 11:08:17.504|WARN |GogOssLibrary#GogOssCloud:Skipping upload, cuz 'saves/Keyboard.cfg' file in the cloud is newer.

Screenshots

Can you show screenshoot from https://www.gog.com/account/cloud-saves/ after you click to manage near Freedom fighters?

Ok, remove .zip from attached file's name and let me know if that's fixed.
GogOssLibrary_1_1_4_36748.pext.zip

It now logs it:
03-12 14:04:35.618|WARN |GogOssLibrary#GogOssCloud:Skipping upload, cuz identical 'saves/freedom.ini' file is already in the cloud.
03-12 14:04:35.627|WARN |GogOssLibrary#GogOssCloud:Skipping upload, cuz 'saves/Keyboard.cfg' file in the cloud is newer.
03-12 14:04:35.627|WARN |GogOssLibrary#GogOssCloud:Skipping upload, cuz 'saves/Profiles/Adam.dat' file in the cloud is newer.

It thinks the 2021 file is newer than the 2024 file and loses my progress again.

Hmm, no idea what's wrong here then. Please try new build and show me logs, now should be more detailed, so we'll know what's up :smile:.
NileLibrary_1_1_1_39631.pext.zip

You accidentally sent me a Nile WIP build there!

Ah, right, sorry, fixed.

The startup:
03-12 20:55:51.341|DEBUG|GogOssLibrary#GogOssCloud:saves/Keyboard.cfg -- 2024-11-20T20:58:40.507200+00:00 --<PHONE_NUMBER>
03-12 20:55:51.342|DEBUG|GogOssLibrary#GogOssCloud:saves/Profiles/Adam.dat -- 2021-11-14T02:15:01.660970+00:00 --<PHONE_NUMBER>
03-12 20:55:51.342|DEBUG|GogOssLibrary#GogOssCloud:saves/freedom.ini -- 2024-11-27T23:42:22.714920+00:00 --<PHONE_NUMBER>
03-12 20:55:51.342|DEBUG|GogOssLibrary#GogOssCloud:saves/freedom.ini -- 2024-11-27T22:49:08.6275145Z --<PHONE_NUMBER>
03-12 20:55:51.342|DEBUG|GogOssLibrary#GogOssCloud:saves/Keyboard.cfg -- 2023-11-26T22:31:48.1076579Z --<PHONE_NUMBER>
03-12 20:55:51.342|DEBUG|GogOssLibrary#GogOssCloud:saves/Profiles/Adam.dat -- 2024-11-27T23:40:36.4263813Z --<PHONE_NUMBER>
03-12 20:55:51.655|WARN |GogOssLibrary#GogOssCloud:Skipping download, cuz 'C:\Users\Adam\AppData\Roaming\IO Interactive\Freedom Fighters\Keyboard.cfg' file with same date is already available.
03-12 20:55:52.275|WARN |GogOssLibrary#GogOssCloud:Skipping download, cuz 'C:\Users\Adam\AppData\Roaming\IO Interactive\Freedom Fighters\freedom.ini' file with same date is already available.

The shutdown:
03-12 20:55:57.722|DEBUG|GogOssLibrary#GogOssCloud:saves/Keyboard.cfg -- 2024-11-20T20:58:40.507200+00:00 --<PHONE_NUMBER>
03-12 20:55:57.722|DEBUG|GogOssLibrary#GogOssCloud:saves/Profiles/Adam.dat -- 2021-11-14T02:15:01.660970+00:00 --<PHONE_NUMBER>
03-12 20:55:57.722|DEBUG|GogOssLibrary#GogOssCloud:saves/freedom.ini -- 2024-11-27T23:42:22.714920+00:00 --<PHONE_NUMBER>
03-12 20:55:57.722|DEBUG|GogOssLibrary#GogOssCloud:saves/freedom.ini -- 2024-11-27T22:49:08.6275145Z --<PHONE_NUMBER>
03-12 20:55:57.722|DEBUG|GogOssLibrary#GogOssCloud:saves/Keyboard.cfg -- 2023-11-26T22:31:48.1076579Z --<PHONE_NUMBER>
03-12 20:55:57.722|DEBUG|GogOssLibrary#GogOssCloud:saves/Profiles/Adam.dat -- 2021-11-14T02:12:07.0000000Z --<PHONE_NUMBER>
03-12 20:55:57.722|WARN |GogOssLibrary#GogOssCloud:Skipping upload, cuz 'saves/freedom.ini' file in the cloud is newer.
03-12 20:55:57.722|WARN |GogOssLibrary#GogOssCloud:Skipping upload, cuz 'saves/Keyboard.cfg' file in the cloud is newer.
03-12 20:55:57.722|WARN |GogOssLibrary#GogOssCloud:Skipping upload, cuz 'saves/Profiles/Adam.dat' file in the cloud is newer.

Adam.dat is still reverted to 2021 cloud version with this output.

Ok, I think that I tracked down the problem.
GogOssLibrary_1_1_4_28708.pext.zip

Success:


Replacing crypto-js with the native ohash

What kind of change does this PR introduce?
This PR solves the bug below when running with nuxt and supabase.
Uncaught SyntaxError: The requested module '/_nuxt/node_modules/crypto-js/sha256.js?v=a4564608' does not provide an export named 'default'

As shown in this discussion
What is the current behavior?
The bug completely breaks the use of supabase in the latest version with nuxt.
What is the new behavior?
Everything works :-)

I've pushed another commit replacing it again with ohash, but let me know if the native one makes more sense - I can revert to the previous commit.

We've fixed this in #641 by removing the external dependency.


@authentication = MockController.new OR @authentication = Authentication.new ?

Hi Alex,
In your PDF book, regarding test/controllers/concerns/authenticable_test.rb
on page 56 it is
@authentication = MockController.new
but on page 57, it is
@authentication = Authentication.new
Which one is correct?
Regards,
Askar

Hello @tenzan ,
You can referrer the code of the market_place_api project on here.
github.com/madeindjs/market_place_api_6/blob/master/test/controllers/concerns/authenticable_test.rb

Hi @bandithijo
Thanks, I already checked that.
Just wanted to see author's comment, because this is might be something he should correct the ebook content.

Hello @tenzan , thanks to report this little mistake. I just corrected by the commit 4abff6f13325b77e58d14fc06f62e8f746236bbf . Please feel free to send a pull request for little fix like that .
Also thank you @bandithijo for your help on this issue ;)


Make it possible to override NUGET_PACKAGES_PATH on command line

When PackagesRoot is set to some global directory, nuget packages are installed in it and not under application-specific nuget directory, so using the default value of NUGET_PACKAGES_PATH didn't work and CMake configure step failed because it didn't find third-party packages files.
Fix this by allowing to specify -DNUGET_PACKAGES_PATH=$PackagesRoot on CMake command line to override the default value.

I've ran into this while working on my other PR and had to make this change as I couldn't build the application without it. I'm not a CMake expert (far from it), but AFAICS this shouldn't break anything and allows the build to work here.

Thank you for you contributions!! I merged them and will make new release asap (however, I see that the automatic version numbering is broken since I moved to CMake, so I will have to fix that first ;)


Problem implementing the  RecurrentTabularExplainer in mix dataset ( numerical and categorical)

My inputdata  looks like
X_train = (6697, 6, 23), and last seven columns are categorical variables.
categorical_features=[16, 17, 18, 19, 20, 21, 22]
explainer = lime.lime_tabular.RecurrentTabularExplainer(X_train, training_labels=y_train.argmax(axis=1), feature_names=data_columns,
                                                   discretize_continuous=True, categorical_features=categorical_features,
                                                   class_names=['A', "B", "C"], categorical_names= categorical_names,  discretizer='decile')

exp = explainer.explain_instance(X_test[1], model.predict, num_features=20, labels=(1,0,2))

I got the following error massage.

IndexError                                Traceback (most recent call last)
<ipython-input-115-111b3ce428a0> in <module>
----> 1 exp = explainer.explain_instance(X_test[1], model.predict, num_features=20, labels=(1,0,2))
      2 exp.show_in_notebook()

/usr/local/anaconda/lib/python3.6/site-packages/lime/lime_tabular.py in explain_instance(self, data_row, classifier_fn, labels, top_labels, num_features, num_samples, distance_metric, model_regressor)
    700             num_samples=num_samples,
    701             distance_metric=distance_metric,
--> 702             model_regressor=model_regressor)

/usr/local/anaconda/lib/python3.6/site-packages/lime/lime_tabular.py in explain_instance(self, data_row, predict_fn, labels, top_labels, num_features, num_samples, distance_metric, model_regressor)
    413             name = int(data_row[i])
    414             if i in self.categorical_names:
--> 415                 name = self.categorical_names[i][name]
    416             feature_names[i] = '%s=%s' % (feature_names[i], name)
    417             values[i] = 'True'

IndexError: index 3 is out of bounds for axis 0 with size 3

Highly appreciated for any help.

Can you print out what categorical_names is?

@marcotcr
In explain_instance method for  RecurrentTabularExplainer, in this loop:
name = int(data_row[i])
if i in self.categorical_names:
    name = self.categorical_names[i][name]

The variable name will have an incorrect index because data_row is flattened (n_timesteps * n_features). Therefore, in my opinion, it should be replaced with:
name = int(data_row[i * self.n_timesteps])
if i in self.categorical_names:
    name = self.categorical_names[i][name]

Perhaps (i'm not sure, how u can do it ...), it is necessary to redefine this class method to make it compatible with each tabular method.


What's the meaning of the code snippet "sim_map = (self.key_channels**-.5) * sim_map" ?

I find in the Base_OC_Module there is a magic code snippet sim_map = (self.key_channels**-.5) * sim_map, what's the meaning of it? And why?

@ycszen Please check the self-attention paper.
They call such operation scaled-product attention.


Blocking Playlist Reload Support

Is your feature request related to a problem? Please describe.
The player is not issuing blocking playlist requests when the manifest has the following:
#EXT-X-SERVER-CONTROL:CAN-BLOCK-RELOAD=YES

Describe the solution you'd like
When the manifest includes the data above, the playlist must be reloaded immediately, not delayed by: https://github.com/shaka-project/shaka-player/blob/17e4ef25c0f069002c6777e77569cbf90d538449/lib/hls/hls_parser.js#L3698-L3705
Additional context
<IP_ADDRESS> Blocking Playlist Reload
⚠ The bandwidth estimation may be affected by the blocking requests.

HLS blocking playlist reload is already supported, see: https://github.com/shaka-project/shaka-player/blob/main/lib/hls/hls_parser.js#L2357 and https://github.com/shaka-project/shaka-player/blob/main/lib/hls/hls_parser.js#L352
I'm going to close this issue, if you have any issue with this funcionality, please open a new issue with bug template. Thanks!


Client-side load balancing

We’re using OkHttp for server-to-server connections on high-latency HTTP/2 connections. I’d like some load-balancing features:

Multiple HTTP/2 connections to the same hostname + IP address. We currently have code that aggressively tries to deduplicate connections to the same destination.  We want to cycle out these application servers without clients having to wait for TLS handshakes.

Preallocated connections. Seeding the connection pool before we need it, so when we do we don’t have to pay for a TLS handshake.

Client-side connection TTLs. Long-lived connections can hide problems.  Or round robin. Do you want resilience by connecting to multiple backends when multiple ips are available.

I think we probably want to make the load balancing strategies pluggable. I’m generally not into pluggable things (why not just include a good implementation in the box!) but in this case I think being pluggable gives us options we can’t build otherwise.
One strategy I really like is from what gRPC calls an external load balancer.
https://grpc.io/grpc/core/md_doc_load-balancing.html
https://grpc.io/blog/loadbalancing

I am interested in seeing this happen, primarily for increased resilience by always being connected to multiple backends, spreading requests among them.

gRPC does load balancing per request. Is this something that could fit into okhttp?

The current Dns interface only lets you return a List<InetAddress>. This makes it a lot less practical to implement something like a DNS SRV lookup for a service, which results in an address and a port. Now changing Dns is probably a long shot, but a (address, port) pair is something I want you to consider when looking into client side load balancing.

@esiqveland

Yes, I wanna do per-call load balancing.
I’d like the load balancer to have the option of taking advice from a DNS service.

Is this still a 4.1 target?

Dropped to backlog. 4.1 should be small!

Also related to https://github.com/square/okhttp/issues/5424
Servers may indicate they don't want coalescing.

Implicit requirement: Need visibility into effectiveness of these controls, whether servers are misconfigured and working against it, and whether there is pathological behaviour e.g. connection churn due to connection pool mis-sizing.
Ideally APIs would also allow for handling two cases

open connections on preferred networks e.g. company wifi, even when existing 3g connection may be present.
actively managing connections e.g. call noNewStreams on connections that should not be used for new streams.

@swankjesse Any interest in kicking off discussion?

Yes! Gimme a couple days to write up some use cases. Can you write some too? I'd like to start by scoping what problems we're interested in addressing, and then move to modeling a solution.

Actor: Developer working on Android network performance
Goal: Gather performance related metrics and tune connection pooling
For my app, I want to understand performance related metrics.  Particularly before and after tuning the connection pool or making server related changes.

Rate of connection churn
Length of retained reused connections
Connection success rate stats e.g. by response code, by exceptions

Actor: Developer working on Android app functionality
Goal: Debug specific connection problems and workaround them without disposing client
If I have issues with certain phones and faulty connections, I'd like ways to debug and report problems.  What network type (wifi, cell) is a connection over.  Close a connection that is persistently failing (ideally this is fixed by OkHttp without intervention).

Actor: Developer working on Android app functionality
Goal: Making decisions based on network types and availability.
I only want to download video over fast connections, or hit an intranet API when over a corporate wifi.  Close an existing low latency stream and proactively reconnect on a fast stream before first use.

Yes! Gimme a couple days to write up some use cases. Can you write some too? I'd like to start by scoping what problems we're interested in addressing, and then move to modeling a solution.

These can be different requirements, wholly distinct features but they seems best addressed cohesively e.g. when do you want to proactively open and hold onto connections?  When do you want to close/avoid persistent connections to save battery in the background?  When do you want your app to start downloading and cache content opportunistically.  When is load balancing appropriate?

Also relates to https://github.com/square/okhttp/issues/3997

Hello, what is the status of the task?
We have a scenario when we try to send logs to and our backend guys give us a bunch of host URLs,  So we have to round-robining through them. Our current realization is Interceptor which handles request failures and modifies URL  and retries them.
The code is ugly but works, so I interested in advice maybe OkHttpClient has a better API for our scenario

@sboishtyan that solution isn't that ugly!  Biggest challenge on this issue is what the API looks like. It has the potential to be too simple or too complex!

@swankjesse Could I help you with something that helps you design the API?

I’m not interested in contributions here right now. But if you have further details on your use case, please share.


A bug when run run_chunkllama_100k with flash decoding

When i use Llama3  (with flash decoding ) to run run_chunkllama_100k, and it can successful start. But when i input prompt. then encounter a TypeError that:
File "ChunkLlama/flash_decoding_chunkllama.py", line 140, in new_flash_attn_with_kvcache
    out, softmax_lse = flash_attn_cuda.fwd_kvcache(
TypeError: fwd_kvcache(): incompatible function arguments. The following argument types are supported:
    1. (arg0: torch.Tensor, arg1: torch.Tensor, arg2: torch.Tensor, arg3: Optional[torch.Tensor], arg4: Optional[torch.Tensor], arg5: Optional[torch.Tensor], arg6: Optional[torch.Tensor], arg7: Optional[torch.Tensor], arg8: Optional[torch.Tensor], arg9: Optional[torch.Tensor], arg10: Optional[torch.Tensor], arg11: Optional[torch.Tensor], arg12: Optional[torch.Tensor],
    arg13: float, arg14: bool, arg15: int, arg16: int, arg17: float, arg18: bool, arg19: int) -> list[torch.Tensor]
Invoked with: tensor(xxx) , ...... , None, None, None, None, None, None, 0.08838834764831845, False, -1, -1, True, 0

emmm, this is hard to me...

I have tested the code again and it works. python run_chunkllama_100k.py
Please make sure you have transformers==4.37.2 and  attn_implementation="flash_attention_2",

I think the error is because we should install flash_attn >=2.5.3,<2.6.0

Thank you !!! I have updated this in Readme


remove pymongo

@mdenolle

ApplyLayer exit status 1 stdout:  stderr: write /srv/conda/envs/notebook/lib/libmagma.so: no space left on device

build is failing because pytorch package by default pulls in CUDA and other GPU-based libraries that take up lots of disk space, and the GitHub Action server fails (limits documented here https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources )
Since the UW IT JupyterHub doesn't have GPUs attached I think you want to change pytorch --> pytorch-cpu
Also you might want to add the obspy package back in ?

Ok sounds good ! Let me do it to practice a bit (after kids bed time )
On Thu, Apr 22, 2021, 5:24 PM Scott Henderson @.***>
wrote:

@mdenolle https://github.com/mdenolle
ApplyLayer exit status 1 stdout: stderr: write
/srv/conda/envs/notebook/lib/libmagma.so: no space left on device
build is failing because pytorch package by default pulls in CUDA and
other GPU-based libraries that take up lots of disk space, and the GitHub
Action server fails (limits documented here
https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources
)
Since the UW IT JupyterHub doesn't have GPUs attached I think you want to
change pytorch --> pytorch-cpu
Also you might want to add the obspy package back in ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/UW-ESS-DS/590-Spr21-image/pull/3#issuecomment-825285376,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEPADLB4RU7PMVG4J2V4JGLTKC42NANCNFSM43NSGRHQ
.


Pandas 0.24.2 not compatible with new versions of python

Hello
I am trying to execute the project from the book. However it says that needs Python 3.6 or 3.7.  Now in anaconda I don´t see these versions allowed anymore , the oldest one is 3.8 . Aditionally, in the codes you are using Pandas 0.24.2 which is not compatible with the lastst versions of Python.
I am having a bit of problems  to follow the project of the book for these reasons.  Is there any other repo which is more recent ?

Hi,
thanks for flagging this, I’ll air to update the requirements but in the meantime you should feel free to use more recent versions of the package, as I expect most of the code should just work. If you do encounter any issues please let me know.


Assert.Fail could be better for xunit and FluentAssertions

If we're using FluentAssertions, then Assert.Fail should pass through to the underlying test framework type
Also, for xunit, rather than Assert.True(false) - it would be nicer to just throw new NotImplementedException

Implemented in 0.78


waffle.io Badge

Merge this to receive a badge indicating the number of issues in the ready column on your waffle.io board at https://waffle.io/FrikkieSnyman/COS301_GroupProject
This was requested by a real person (user FrikkieSnyman) on waffle.io, we're not trying to spam you.

Coverage remained the same at 100.0% when pulling d855c5baf8e91701c2bb0333c7a5a27d63d12210 on waffle-iron:master into 5dd664eaeb17bd65bb9b3949bcba79163b79242b on FrikkieSnyman:master.


Building main on Windows / AdoptOpenJDK16 fails

Current Behavior
mvn clean install fails on Windows 10 with AdoptOpenJDK 16, both in git cmd and in Windows command prompt
[ERROR] Failed to execute goal com.github.siom79.japicmp:japicmp-maven-plugin:0.14.3:cmp (default) on project rdf4j-model-api: Execution default of goal com.github.siom79.japicmp:japicmp-maven-plugin:0.14.3:cmp failed: An API incompatibility was encountered while executing com.github.siom79.japicmp:japicmp-maven-plugin:0.14.3:cmp: java.lang.ExceptionInInitializerError: null
[ERROR] -----------------------------------------------------
[ERROR] realm =    plugin>com.github.siom79.japicmp:japicmp-maven-plugin:0.14.3
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/c:/java/mvnrepo/com/github/siom79/japicmp/japicmp-maven-plugin/0.14.3/japicmp-maven-plugin-0.14.3.jar
import: Entry[import  from realm ClassRealm[project>org.eclipse.rdf4j:rdf4j:3.7.2-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]]
...
[ERROR]
[ERROR] -----------------------------------------------------
[ERROR] : Unable to make protected final java.lang.Class java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) throws java.lang.ClassFormatError accessible: module java.base does not "opens java.lang" to unnamed module @4b6d3351
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginContainerException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :rdf4j-model-api

Expected Behavior
Build should complete without errors
Steps To Reproduce

MS-Windows 10 R2 64-bit
AdoptOpenJDK 16.0.1 with OpenJ9 0.26
Maven 3.8.1
JAVA_HOME en PATH correctly set

Version
3.7.2-SNAPSHOT
Are you interested in contributing a solution yourself?
Yes
Anything else?
Probably due to --illegal-access now defaulting to deny instead of permit

Looks like an japicmp issue: upgrading to 0.15.3 fixes the issue

v0.15.1 has a license score 60 on ClearlyDefined, so I guess this qualifies
https://clearlydefined.io/definitions/maven/mavencentral/com.github.siom79.japicmp/japicmp/0.15.1

Given that this is maven plugin that we use but don't distribute, I'm kind of fine with not filing a CQ for it, as long as we've done a quick sanity check ourselves that the license is not something exotic.

Seems to be Apache 2.0... and the plugin is part of the same repo as the japicmp tool so it should be covered by the CD overall project score... So, good to go.


⚠ Bofrost.es has degraded performance

In 294ed8d, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1853 ms

Resolved: Bofrost.es performance has improved in 7c2c4be after 7 minutes.


No horizontal bar visible

I just installed cell-separator but nothing happens.
It is enabled but nothing happens.
Cell-Separator 0.4.1
Hydrogen 2.13.1
Atom 1.42.0 x64
Any Ideas?
I also restarted Atom but nothing happens.
Thank you!

Solved: As described in the info. Disable the tree-sitter in the core setting.