Mega Issue: KubeletConfiguration for Non-Scheduling Fields

Description
What problem are you trying to solve?
Karpenter currently doesn't directly support any new kubelet fields that are unrelated to scheduling. The reason(s) for this is that:

The API is a v1beta1 API, which means that the configuration could change in breaking ways down the line. If we have strict adherence to their API format, we can get caught making breaking changes to our v1 API (when we go v1) based on breaking changes in their v1beta2 or v1 API
Each API field that we have needs to be soundly tested against each AMIFamily that we support. Rather than just validating that the kubelet is coming up on one instance for a new feature, we have to support a matrix of AMIs for the new features that we support. Adding support for additional fields adds additional testing burden.
There are alternative mechanisms through userData to set these fields today.

The counter-point for these things is that it's a better user experience to support all of these kubelet fields. Users don't have to go digging around in the AMI docs to find out exactly how to get a certain field set in their AMI, they can just set it through Karpenter API.
Linking Related Issues

#5828
https://github.com/kubernetes-sigs/karpenter/issues/1078
https://github.com/kubernetes-sigs/karpenter/issues/697
https://github.com/kubernetes-sigs/karpenter/issues/683
https://github.com/kubernetes-sigs/karpenter/issues/682
https://github.com/kubernetes-sigs/karpenter/issues/663
https://github.com/kubernetes-sigs/karpenter/issues/662

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

+1 for registryPullQPS, registryBurst.
i guess we have no options to set above for windows amiFamily(userData) for now.
fyi https://github.com/aws/karpenter-provider-aws/issues/6821#issuecomment-2418318742


Updates to kevm script to make proving easier

Please add this: on --debug, print kevm command and underlying K command. This will simplify adoption a lot as it will be simpler to understand what happens under the hood.

I've made some updates. On --debug it will print out the kprove command it is using, but having it print out the KEVM command it's using is more trouble than it's worth, because you can just tell whatever script you're calling KEVM with to print that out. If it's a shell, then it's whatever you typed, if it's a Makefile, then make automatically prints out that command, and if it's another script, you can do a set -x before the call to KEVM.

sounds good


dask.pad does not work with cupy arrays

The following throws an exception with cupy, but works fine with numpy.
import numpy as np
import cupy as cp

import dask.array as da

x = cp.random.randn(128, 128, 128)

da.pad(x, tuple((0, x.shape[dim]) for dim in range(x.ndim)), mode = 'constant')

Note that cupy supports the pad function.

@izaid thanks for raising.  cc @pentschev and @quasiben from NVIDIA in case they have time to test this out.

da.pad is currently not supported for the lack of ability of creating temporary CuPy arrays with __array_function__.

Ah, that makes sense.  Thanks @pentschev .  Is there a related issue either on cupy or numpy that you can link here in case @izaid wants to keep track?  (I should probably know where this conversation is happening, but unfortunately I've lost track myself)

The only one I'm aware is https://github.com/dask/dask/issues/4731, but it has been stalled for quite some time, mostly due to the inability to create arrays with __array_function__. Since that's a limitation of NumPy, there's not much that can be done for the next few months at least. There are proposals to address that and the community is discussing that lately:

https://numpy.org/neps/nep-0035-array-creation-dispatch-with-array-function.html
https://numpy.org/neps/nep-0037-array-module.html

FYI, this is resolved in https://github.com/dask/dask/pull/6738 , hopefully that will be merged soon.

Thanks @pentschev! Seems like this can be closed :)


sending the exact amount of the smallest output will fail

For example, if you have an output of 0.01 and another for 0.02, and you try to send 0.01, it will fail saying you need 0.018 and have only 0.01. Expected behaviour: you should be able to send because you have 0.03 total.

Fixed in master.

tested as suggested by C, having an account with a .01 an .02, then sending .01.  Confirmed the bug and the fix.  Also tried a variety of output locking scenarios


How to get hardware information for MacOs、Linux and other OS

How to get hardware information for MacOs、Linux and other OS
is any possible to get hardware information by .net core
there is have RuntimeInformation class can help me to get .net core version some other helpful information, but i really need get hardware information also  like CPU core number,CPU speed, memory size,disk information...
thanks!

Issue moved to dotnet/corefx #32054 via ZenHub


Start 0.6.0

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 59.79%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
171

Relevant Lines:
286

💛  - Coveralls


Move 2.12.0 to use jdk version 21

Description
Move 2.12.0 to use jdk version 21
Issues Resolved
https://github.com/opensearch-project/OpenSearch/pull/11003
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@reta


migrate Printable Area function; bump jsPDF version

Description
Migrate Printable Area function from mapbox-gl-export.
bump jsPDF version.
Type of Pull Request

[x] Adding a feature
[ ] Fixing a bug
[x] Maintaining documents
[ ] Others ()

Verify the followings

[x] Code is up-to-date with the main branch
[x] No lint errors after npm run lint
[x] Make sure all the exsiting features working well

The PR is take diff between both lib directories.
OK for merge other PRs.

I merged mapbox-gl-export#20 and #25 but I missed fixes css in #20. so I merged it.

How about github template?

I merged .github directory and package.json from mapbox-gl-export.

@smellman CI failed.
 TS2339: Property 'msSaveBlob' does not exist on type 'Navigator'.

The below code stopped CI run.
https://github.com/smellman/maplibre-gl-export/blob/0c54a6119c51009d8cc841606903408da844c601/lib/map-generator.ts#L243-L245
This code is for IE11, so maybe we can remove this part of code. What do you think? I think Mapbox and Maplibre are now not supporting IE11?


clientHeight error on resourceTimeLine (Svelte 5)

I get this error:
@event-calendar_resource-timeline.js?v=12892e86:223 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'clientHeight')
at Array. (@event-calendar_resource-timeline.js?v=12892e86:223:34)
at run_all (chunk-OC2HZMU7.js?v=12892e86:28:11)
at $effect (chunk-VBIQWZ5S.js?v=12892e86:2620:7)
at update_reaction (chunk-OC2HZMU7.js?v=12892e86:889:23)
at update_effect (chunk-OC2HZMU7.js?v=12892e86:980:21)
at flush_queued_effects (chunk-OC2HZMU7.js?v=12892e86:1051:7)
at flush_queued_root_effects (chunk-OC2HZMU7.js?v=12892e86:1039:7)
at flush_sync (chunk-OC2HZMU7.js?v=12892e86:1150:5)
at new Svelte4Component (chunk-3ES4SABR.js?v=12892e86:704:7)
Its thrown in here
 afterUpdate(() => {
  set(titleHeight, $_headerEl().clientHeight);
});

Does anyone know what i am doing wrong? Thanks in advance : )

@WoutPitje Any update?

I hope I can close this issue.


General Feedback

I just quickly glanced through this repo, when I saw checksum on electron app randomly:

Going forward I think it would be better for this app have an about page. That pops up a modal or separate page.
I think you should have a page that user can use to send feedback about your app. (Take a look at send-feedback to quickly do that! i do appreciate feedback on it)

Design:

I think you should put checksum logo on the bottom that's centered and rounded with shadow after the form.

Thanks for your feedback, I will pay attention to your suggestions and add to the next update.

Closing, feel free to re-open.


Cannot find loadObjects() method

There is no method for ParseRecyclerQueryAdapter with loadObjects function like for ParseQueryAdapter

Update your Parse Library from 1.4.1 to 1.11.0


assert root_path is not None and len(root_path) > 0

When go to train， it raised this error:

When go to train， it raised this error:

How did you fixed this problem?


Update OSM deployment for E2E tests

Signed-off-by: Waleed Malik<EMAIL_ADDRESS>What this PR does / why we need it:
Update deployment for OSM, used in E2E tests.
Which issue(s) this PR fixes:

Fixes #
What type of PR is this?

/kind chore
Special notes for your reviewer:
Does this PR introduce a user-facing change? Then add your Release Note here:

NONE

Documentation:

NONE

/retest

/lgtm

/override pull-machine-controller-e2e-vsphere
vSphere/VPN is broken yet again.

pull-machine-controller-e2e-azure

W1130 09:43:12.662123   29905 verify.go:157] Creation of "centos-1-25-3-azure-1597882853960454144" failed, retrying: admission webhook "machinedeployments.machine-controller.kubermatic.io" denied the request: validation failed: failed to list virtual machines: compute.VirtualMachinesClient#List: Failure sending request: StatusCode=429 -- Original Error: context canceled

/test pull-machine-controller-e2e-azure


Route Caching: ERR_CONTENT_DECODING_FAILED 200 (OK)

I am currently running nuxt v.3.10.3 and nuxt-multi-cache v3.1.1 and am having problems with the route cache.
I get the following error in the browser console when I try to access a simple cached page (index.vue) with only text on it:
GET http://localhost:3000/de net::ERR_CONTENT_DECODING_FAILED 200 (OK)
index.vue
<script setup lang="ts">
// page caching
useRouteCache((helper) => {
  helper.setMaxAge(10).setCacheable().addTags(['page:1'])
})
</script>

<template>
  Test
</template>

The route is successfully cached and I can view the data in my redis database, but when I try to access the cached page in the browser, I get this error and no content is displayed.

Ok it seems that the useGZipCompression composable from the h3-compression module does not work well with the route cache.  This composable sets the "content-encoding": "gzip" header and this is breaking the route cache. After disabeling the gzip compression, the route cache works as intended

I think I know why this doesn't work and unfortunately there is no easy fix. Nuxt/Nitro does not offer an easy way to implement something like nuxt-multi-cache does for route caching, which is why this module has to do quite a workaround to make it work. And this workaround does not seem to be compatible with something like gzip compression. I will look into it though, maybe things have changed since first implementing this feature.

After some digging, I found a way to make this (hopefully) work. I have added some tests specifically with the h3-compression library to make sure it works as expected. So both the initial uncached response and subsequent cached responses will all be compressed, however it requires the use of the beforeResponse Nitro hook in your projects, since this is the only hook that is guaranteed to be called in both cases (uncached and cached response).
I also added a page in the docs about using compression together with the route cache and an example hook: https://nuxt-multi-cache.dulnan.net/advanced/route-cache-with-compression


[docs] flutter_adaptive_scaffold's link to design doc is broken

What package does this bug report belong to?
flutter_adaptive_scaffold
What target platforms are you seeing this bug on?

Yes
Dependency versions
No response
Steps to reproduce
The link to the design doc, also on `flutter_adaptive_scaffold's pub.dev page is broken:

We're sorry. You can't access this item because it is in violation of our Terms of Service.
Find out more about this topic at the Google Drive Help Center.

Expected results
Working links in user-facing documentation.
Actual results
Linked docs are broken.
Code sample
N/A
Screenshots or Videos
No response
Logs
No response
Flutter Doctor output
N/A

The design doc link from this section https://pub.dev/packages/flutter_adaptive_scaffold#additional-information is broken.

I don't think the author of that document is active in the project any more, so there's no way to recover it; that section of the README will just need to be removed.


Api client not able to properly be set when no certs are in kubeconfig

Describe the bug
When running krkn on an aro cluster we found that the api client can not properly authenticate/configure the kubeconfig with the kube:admin user. (See last section for error output) Think this is because the kubeconfig does not have any certs to properly set in the api rest client
We also found this on ibmcloud
Sample kubeconfig file
apiVersion: v1
clusters:
- cluster:
    server: https://api.***.eastus.aroapp.io:6443
  name: api-*****-eastus-aroapp-io:6443
contexts:
- context:
    cluster: api-****-eastus-aroapp-io:6443
    namespace: default
    user: kube:admin/api-****-eastus-aroapp-io:6443
  name: default/api-****-eastus-aroapp-io:6443/kube:admin
current-context: default/api-***-eastus-aroapp-io:6443/kube:admin
kind: Config
preferences: {}
users:
- name: kube:admin/api-***-eastus-aroapp-io:6443
  user:
    token: REDACTED

To reproduce

Create an aro cluster
Login as kubeadmin
Clone krkn repo
Install requirements
Set kubeconfig path and scenarios to only

plugin_scenarios:
- scenarios/openshift/etcd.yml

Run python run_kraken.py

Additional context
We could try to pass the token as part of the apiclient initiation
https://github.com/arcalot/arcaflow-lib-kubernetes-python/blob/b58d8b84c490e5c17567f0a940e0567e13bd3d09/src/arcaflow_lib_kubernetes/convert.py#L392C35-L392C35
Local krkn run output
% python run_kraken.py
 _              _
| | ___ __ __ _| | _____ _ __
| |/ / '__/ _` | |/ / _ \ '_ \
|   <| | | (_| |   <  __/ | | |
|_|\_\_|  \__,_|_|\_\___|_| |_|

2023-06-28 12:09:40,717 [INFO] Starting kraken
2023-06-28 12:09:40,730 [INFO] Initializing client to talk to the Kubernetes cluster
 kubeconfig_string None
 kubeconfig_path /Users/prubenda/.kube/aro_kubeconfig
config sha256~xb9gHu95LL4jRRfE_KoY9X41FmiV23TaL8SiwQGtwnk
Traceback (most recent call last):
  File "/Users/prubenda/PycharmProjects/kraken/run_kraken.py", line 435, in <module>
    main(options.cfg)
  File "/Users/prubenda/PycharmProjects/kraken/run_kraken.py", line 109, in main
    kubecli.find_kraken_node()
  File "/Users/prubenda/PycharmProjects/kraken/venv3/lib/python3.10/site-packages/krkn_lib_kubernetes/client.py", line 1089, in find_kraken_node
    pods = self.get_all_pods()
  File "/Users/prubenda/PycharmProjects/kraken/venv3/lib/python3.10/site-packages/krkn_lib_kubernetes/client.py", line 416, in get_all_pods
    ret = self.cli.list_pod_for_all_namespaces(pretty=True)
  File "/Users/prubenda/PycharmProjects/kraken/venv3/lib/python3.10/site-packages/kubernetes/client/api/core_v1_api.py", line 17309, in list_pod_for_all_namespaces
    return self.list_pod_for_all_namespaces_with_http_info(**kwargs)  # noqa: E501
  File "/Users/prubenda/PycharmProjects/kraken/venv3/lib/python3.10/site-packages/kubernetes/client/api/core_v1_api.py", line 17416, in list_pod_for_all_namespaces_with_http_info
    return self.api_client.call_api(
  File "/Users/prubenda/PycharmProjects/kraken/venv3/lib/python3.10/site-packages/kubernetes/client/api_client.py", line 348, in call_api
    return self.__call_api(resource_path, method,
  File "/Users/prubenda/PycharmProjects/kraken/venv3/lib/python3.10/site-packages/kubernetes/client/api_client.py", line 180, in __call_api
    response_data = self.request(
  File "/Users/prubenda/PycharmProjects/kraken/venv3/lib/python3.10/site-packages/kubernetes/client/api_client.py", line 373, in request
    return self.rest_client.GET(url,
  File "/Users/prubenda/PycharmProjects/kraken/venv3/lib/python3.10/site-packages/kubernetes/client/rest.py", line 241, in GET
    return self.request("GET", url,
  File "/Users/prubenda/PycharmProjects/kraken/venv3/lib/python3.10/site-packages/kubernetes/client/rest.py", line 235, in request
    raise ApiException(http_resp=r)
kubernetes.client.exceptions.ApiException: (403)
Reason: Forbidden
HTTP response headers: HTTPHeaderDict({'Audit-Id': '59d4bd00-aad6-42a8-a45a-1d3b72da7ca0', 'Cache-Control': 'no-cache, private', 'Content-Type': 'application/json', 'X-Content-Type-Options': 'nosniff', 'X-Kubernetes-Pf-Flowschema-Uid': 'e8e85a06-85e7-468e-ab9d-d4a3a3bdbd3d', 'X-Kubernetes-Pf-Prioritylevel-Uid': '2129a0ac-eab4-4e3e-ada6-5c0595ac22fb', 'Date': 'Wed, 28 Jun 2023 16:09:40 GMT', 'Content-Length': '294'})
HTTP response body: {
  "kind": "Status",
  "apiVersion": "v1",
  "metadata": {},
  "status": "Failure",
  "message": "pods is forbidden: User \"system:anonymous\" cannot list resource \"pods\" in API group \"\" at the cluster scope",
  "reason": "Forbidden",
  "details": {
    "kind": "pods"
  },
  "code": 403
}

We're working on taking this out to get around this error in pr: https://github.com/redhat-chaos/krkn-lib-kubernetes/pull/6/files but want to see if a solution is possible upstream

cc: @tsebastiani @dustinblack

For some more context, the problem arises with this library being used directly in the Krkn code here:
https://github.com/redhat-chaos/krkn-lib-kubernetes/blob/521086979708eaced1bd1825eb0eebdf80e1ef75/src/krkn_lib_kubernetes/client.py#L109-L116
        try:
            kubeconfig = arcaflow_lib_kubernetes.parse_kubeconfig(
                kubeconfig_str
            )
            connection = arcaflow_lib_kubernetes.kubeconfig_to_connection(
                kubeconfig, True
            )
            self.api_client = arcaflow_lib_kubernetes.connect(connection)

For some more context, the problem arises with this library being used directly in the Krkn code here:
https://github.com/redhat-chaos/krkn-lib-kubernetes/blob/521086979708eaced1bd1825eb0eebdf80e1ef75/src/krkn_lib_kubernetes/client.py#L109-L116
        try:
            kubeconfig = arcaflow_lib_kubernetes.parse_kubeconfig(
                kubeconfig_str
            )
            connection = arcaflow_lib_kubernetes.kubeconfig_to_connection(
                kubeconfig, True
            )
            self.api_client = arcaflow_lib_kubernetes.connect(connection)

Right, https://github.com/redhat-chaos/krkn-lib-kubernetes/pull/6 replaces the kubeconfig loading calls.


CC: Limit serialized variables for Maintenance updates or analyze them fully

Maintenance updates now inherit from CommonCriteriaCert and are serialized using its methods. However, since they are not fully analyzed as of now, it makes no sense to serialize many empty variables. A decision should be made to choose one from:

Limit number of (de)serialized variables
Run full analysis on maintenance updates -- download and analyze pdfs, ...

Example of current serialization
{
    "_type": "CommonCriteriaMaintenanceUpdate",
    "dgst": "cert_822d871f3bbd06d7_update_b93e6033924ed6f3",
    "status": "",
    "category": "",
    "name": "SonicWall SonicOS Enhanced V6.5.4 with VPN and IPS on TZ and SOHO Appliances Security",
    "manufacturer": null,
    "scheme": "",
    "security_level": [
        ""
    ],
    "not_valid_before": null,
    "not_valid_after": null,
    "report_link": "https://www.commoncriteriaportal.org/files/epfiles/st_vid11028-add1.pdf",
    "st_link": "https://www.commoncriteriaportal.org/files/epfiles/st_vid11028-st-1.pdf",
    "cert_link": null,
    "manufacturer_web": null,
    "protection_profiles": [],
    "maintainance_updates": [],
    "state": {
        "_type": "InternalState",
        "st_download_ok": true,
        "report_download_ok": true,
        "st_convert_ok": true,
        "report_convert_ok": true,
        "st_extract_ok": true,
        "report_extract_ok": true,
        "errors": []
    },
    "pdf_data": {
        "_type": "PdfData",
        "report_metadata": null,
        "st_metadata": null,
        "report_frontpage": null,
        "st_frontpage": null,
        "report_keywords": null,
        "st_keywords": null
    },
    "heuristics": {
        "_type": "Heuristics",
        "extracted_versions": null,
        "cpe_matches": null,
        "labeled": false,
        "verified_cpe_matches": null,
        "related_cves": null,
        "cert_lab": null,
        "cert_id": null
    },
    "related_cert_digest": "822d871f3bbd06d7",
    "maintenance_date": "2020-08-17"
}

AFAIK the old API fully analyzed the maintenance updates as if they were full certificates and attached this extracted data in a subdictionary of the parent cert. Paging @petrs to confirm this.

Yea. Technically it has some caveats (e.g. maintenance updates don't have maintenance updates, tracking CVEs, CPEs is very difficult to impossible), but the generic stuff can be realized if we ever need it -- which we don't at the moment. Currently, I limited the output, leaving it open for further discussion.

@J08nY @adamjanovsky yes, correct - first analyzed separately, then paired with its parent certificate


No.61：为 PaddleScience 2D 非定常圆柱绕流案例调优精度

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

正在查看，辛苦稍等两天


Parametrize the number of retries for MDS API requests

Description
This PR aims to parametrize the number of retries for MDS API requests.
Fixes # ANSIENG-2336
Type of change

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
Tested locally on RBAC scenarios
Checklist:

[x] Any variable/code changes have been validated to be backwards compatible (doesn't break upgrade)
[x] I have added tests that prove my fix is effective or that my feature works
[ ] If required, I have ensured the changes can be discovered by cp-ansible discovery codebase
[x] My code follows the style guidelines of this project
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] Any dependent changes have been merged and published in downstream modules

Hey, thanks for the changes, btw, do you want to run doc.py to update VARIABLES documentation for this new param, thx

thanks for pointing this out, updated the VARIABLES.md file


Enhancement: Get request should not show filled field from admin

If a end user make a GET api request on Request object he can see field from the admin survey.
Can be a security issue if the admin set secrets in those field.
Todo: Update the request serializer to only return user fields to customer

Done and merged in dev branch


clarification of whatintent

First of all let me say thank you for your work. I really appreciate it.
Could you please clarify the the meaning of the whatintent attribute. In the demo the whatintent attribute switches to 'mouse' when ever one moves the mouse, which is reasonable. But to get it into keyboard state, one has to tab to the links in the top area. In case one just tabs inside the form, it stays in mouse state. I do not fully understand, what the whatintent attribute should tell me in this case.
Thanks

Hi,
This has been asked before and is explained in README.


Is there any way to compare two JSON []byte inputs with this library?

Is there any way to compare two JSON []byte inputs with this library?
Something similar to testify/assert.JSONEq() https://github.com/stretchr/testify/blob/master/assert/assertions.go#L1526 ?

You could implement our own transformer:
transformJSON := cmp.FilterValues(func(x, y []byte) bool {
    return json.Valid(x) && json.Valid(y)
}, func("ParseJSON", func(in []byte) (out interface{}) {
    json.Unmarshal(in, &out)
    return out
}))

Why not add this as default to Diff()? Seems rather common to compare JSONs. I will try it later but looks enough to keep me going. Thanks!!!

Why not add this as default to Diff()? Seems rather common to compare JSONs

An explicit goal of cmp is to treat as few types as possible as special. If JSON is special-cased, why not XML or protobufs, or etc? We need to set a limit somewhere. Furthermore, the more types cmp understands, the larger the dependency tree, and we're trying to keep it to a minimum.


How to know if MFA is enabled or not?

Hi,
I have implemented Microsoft sign-in just the way it is in this sample app. However, i am not able to get the urls back from the webview, or even not able to identify if the user email address is mfa enabled or not. Is there a way this can be detected?
pls assist
Thans

This sample has been archived.
The newer one can be found at: https://github.com/azure-samples/ms-identity-android-native


chore: release main

:robot: I have created a release beep boop
@dotcom-reliability-kit/crash-handler: 1.1.2
Dependencies

The following workspace dependencies were updated

dependencies

@dotcom-reliability-kit/log-error bumped from ^1.5.1 to ^1.5.2

@dotcom-reliability-kit/log-error: 1.5.2
Dependencies

The following workspace dependencies were updated

dependencies

@dotcom-reliability-kit/serialize-request bumped from ^1.1.0 to ^1.1.1

@dotcom-reliability-kit/middleware-log-errors: 1.5.2
Dependencies

The following workspace dependencies were updated

dependencies

@dotcom-reliability-kit/log-error bumped from ^1.5.1 to ^1.5.2

@dotcom-reliability-kit/middleware-render-error-info: 1.1.15
Dependencies

The following workspace dependencies were updated

dependencies

@dotcom-reliability-kit/log-error bumped from ^1.5.1 to ^1.5.2

serialize-request: 1.1.1
1.1.1 (2023-03-21)
Bug Fixes

correct a broken exports (47b8712)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/Financial-Times/dotcom-reliability-kit/releases/tag/log-error-v1.5.2 :sunflower:

:robot: Release is at https://github.com/Financial-Times/dotcom-reliability-kit/releases/tag/middleware-log-errors-v1.5.2 :sunflower:

:robot: Release is at https://github.com/Financial-Times/dotcom-reliability-kit/releases/tag/middleware-render-error-info-v1.1.15 :sunflower:

:robot: Release is at https://github.com/Financial-Times/dotcom-reliability-kit/releases/tag/serialize-request-v1.1.1 :sunflower:


EnderIO 1.12.2 is not up to date on Modrinth

Is there an existing issue for this?

[X] I did not find any existing issues.

Current Behavior
When trying to download EnderIO from Modrinth and EnderIO Endergy from Curseforge, the game won't work as the EnderIO  versions uploaded onto Modinth are too old:
EnderIo Endergy is not up to date on Modrinth either.
Here are screenshots:

Expected Behavior
The versions should be the same as the 1.12.2 version isn't even being updated anymore.
How to Test

Download the latest EnderIO Endergy for 1.12.2 version from Curseforge
Download tyhe latest version of EnderIO and EnderIO Core for 1.12.2 on Modrinth
Try to launch the game

Local Environment
- **Operating System**: Fedora 40 Workstation
- **Java version**: Java 8
- **Minecraft Version**: 1.12.2
- **Version**: 1.12.2 - 5.3.72 and 1.12.2 - 5.3.70
- **Other Mods**: Compact Claustrophobia Modpack + Random Thing mod and all Makanism mods.

Any Additional Information?
No response

Very good catch, I will update these sometime tomorrow!

All of these pages are updated now - apologies for missing that!


Feature req: scaling with display entities

Is it possible to get the models to scale with the display entity when it is being displayed? If so that would be a really useful feature.

unfortunately no
due to how objmc is implemented its not possible


feat: [IDP]: Updated the information for non availability of scaffolder custom action

Thanks for contributing to the Harness Developer Hub! Our code owners will review your submission.
Description

Please describe your changes: __________________________________
Jira/GitHub Issue numbers (if any): ______________________________
Preview links/images (Internal contributors only): __________________

PR lifecycle
We aim to merge PRs within one week or less, but delays happen sometimes.
If your PR is open longer than two weeks without any human activity, please tag a code owner in a comment.
PRs must meet these requirements to be merged:

[ ] Successful preview build.
[ ] Code owner review.
[ ] No merge conflicts.
[ ] Release notes/new features docs: Feature/version released to at least one prod environment.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://674eb7dc70e42af7788325d6--harness-developer.netlify.app

Thanks Deba, we also need to update the table below "All Backstage customizations and their availability in Harness IDP"

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://674ecd357778d411f8d13f07--harness-developer.netlify.app


docs: add field for config.isPaused

document https://github.com/vercel/swr/pull/845

Thanks!

Thanks!


doc: document release support policy

We typically don't support releases earlier than the previous stable release (ie, 1.5 is current, we do support 1.4.x for security issues only). This isn't documented, though. We need to confirm this policy and document it.
cc @jbuberel @rsc

I really hope I don't have to cherry-pick Go 1.5 stuff back to Go 1.3. Doing the 1.4 cherry-picks was painful enough.

No, 1.3 is not supported.
On 30 September 2015 at 07:39, Brad Fitzpatrick<EMAIL_ADDRESS>wrote:

I really hope I don't have to cherry-pick Go 1.5 stuff back to Go 1.3.
Doing the 1.4 cherry-picks was painful enough.
—
Reply to this email directly or view it on GitHub
https://github.com/golang/go/issues/12790#issuecomment-144198857.

Let me know if you'd like me to submit a 'proposal' issue and start the process for a formal definition.

It doesn't have to be a big deal; I think we should just decide here in
this thread.
On 30 September 2015 at 07:42, Jason Buberel<EMAIL_ADDRESS>wrote:

Let me know if you'd like me to submit a 'proposal' issue and start the
process for a formal definition.
—
Reply to this email directly or view it on GitHub
https://github.com/golang/go/issues/12790#issuecomment-144199516.

Question: What does it mean to "support" a release?

Probably includes applying security patches to current and previous stable releases.
Probably does not include applying performance, stability or feature patches to any release but the current stable release.

What else?

Applying critical security patches and nothing else.

In Go project terminology a "major release" is Y.(X+1) and a minor release is Y.X.(Z+1), which is a bit unique.
So I think our policy should be:
We will apply critical security patches to the current stable release and to the most recent minor release of the previous major release - Y.(X-1).Z.

SGTM

@jbuberel your description is a bit complex.
In Go 1.X is a major release and 1.X.Y is a minor release.  There is no need to make "1" a variable.
We don't update minor releases. We update major releases. Each update is itself a minor release. 1.4.3 is the second update to 1.4, not an update to 1.4.2.
For critical security patches, we update the current and previous major releases. (That update takes the form of a minor release for both.)


Continuous_InitialState uses wrong enumeration

Reported by sjoelund.se on 7 Sep 2012 09:10 UTC
In ModelicaTest.Blocks.Continuous_InitialState , you have the following modifiers:
pID(initType=Modelica.Blocks.Types.Init.InitialState),
limPID(initType=Modelica.Blocks.Types.Init.InitialState),

But they take Modelica.Blocks.Types.InitPID as initType.

Migrated-From: https://trac.modelica.org/Modelica/ticket/805

Comment by otter on 10 Dec 2012 12:26 UTC
Fixed in 16f734e74b744b7140def20d39a08cc0f4e121cb by replacing the declaration with the correct enumeration (as suggested)

Comment by sjoelund.se on 11 Jan 2013 10:37 UTC
Added the same fix for Continuous_InitialOutput in 54614a220973287c74ce80fe825c0eff8a9a0c12


Create publish.yml

This GitHub Action builds wheels and sdists and pushes them to GitHub's releases page and PyPI. All you have to do is go to New Release, fill in a version tag like "v0.9.1", click Publish, and a couple minutes later the .whl and .tar.gz will be up on Releases and on PyPI.
To get PyPI working as well, get a PyPI token, give it to GitHub here named PYPI_TOKEN.
Fixes https://github.com/voxelmorph/voxelmorph/issues/432
To get a feel for it, you can see examples of how this looks in practice at

https://github.com/ivadomed/ivadomed/actions/workflows/publish_package.yml

And the kinds of outputs it makes at

https://github.com/ivadomed/ivadomed/releases/
https://pypi.org/project/ivadomed/#history

whoops, submitted to myself


Enable CICD to deploy kubernetes app to private clusters

This new feature from Cloud Build looks promising: https://cloud.google.com/architecture/accessing-private-gke-clusters-with-cloud-build-private-pools

Also change our cluster to be private

Also needs to work with VPC-SC.

Is that VPC Service Controls?
On Tue, Aug 24, 2021 at 8:39 PM Xin Gao @.***> wrote:

Also needs to work with VPC-SC.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/GoogleCloudPlatform/healthcare-data-protection-suite/issues/996#issuecomment-905071020,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGITV3CHLJML7RW3MVVN6IDT6Q3URANCNFSM5CB3HD2A
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email
.


Use a custom file for route snapper, per authority

Instead of loading a fixed A/B Street map file for the route snapper, now we dynamically fetch a file. Its contents are a new binary-encoded format, created in https://github.com/acteng/abstreet-to-atip/blob/main/src/route_snapper.rs. This just has the geometry and graph structure needed to do route snapping, so it's way smaller than the abst map.
This gets things working for a few more areas. The files are hosted in my abst S3 bucket right now, and manually created/uploaded with scripts in the other repo. I need to do more work to clean up that process and run it for all authorities.
Still loads of cleanup needed. I want to make a separate git repo, just for this new route snapping plugin. It has nothing to do with ATIP, other than being needed by it. :)

Try it out at https://acteng.github.io/atip/routes.html?authority=Bedford#1/0/0. Only a handful of areas work, I'm on slow internet and need to work more on importing all areas

Ahh actually, https://developer.mozilla.org/en-US/docs/Web/Security/Mixed_content doesn't let this work with github pages. S3 is http, pages is https. We'll host consistently on one or the other.


ENUM_VALUE styles support: snakeCase/pascalCase

Which rule and warnings did you add?
I've added config value for ENUM_VALUE.
Not everyone prefer snake case: https://discuss.kotlinlang.org/t/enum-constants-uppercase-or-camecase/13984
So there should be a possibility to choose what you prefer
Actions checklist

[x] Implemented Rule, added Warnings
[x] Added tests on checks
[x] Added tests on fixers
[x] Updated diktat-analysis.yml
[x] Updated available-rules.md

Fixme
Not sure how can I use different warning for each case

Yeah, agree with you, it should be configurable. But are you really using enums not in UPPER_SNAKE_CASE?

Awesome, thanks!!! <3
Yeah, agree with you, it should be configurable. But are you really using enums not in UPPER_SNAKE_CASE?

Well, I came to Android development from iOS, and UPPER_SNAKE_CASE for me looks crazy 😁


Move imports in yamaha + yamaha_musiccast component

Breaking Change:
None
Description:
Moved import from function to top-level as requested in #27284
Related issue (if applicable): fixes #27284
Checklist:

[ ] The code change is tested and works locally.
[ ] Local tests pass with tox. Your PR cannot be merged unless tests pass
[x] There is no commented out code in this PR.
[x] I have followed the development checklist

LGTM 👍


Support old-style MacOS CR line terminators

Yes, it's horrible, but there are modern, badly behaved OS X programs that output things with CR line terminators, like LiveCode. This package behaves abysmally when it runs into one of these files, and cannot convert to either CRLF or LF.

I believe this was fixed by https://github.com/atom/line-ending-selector/pull/11.


[WIP]Feature/installation path

Hello kensoh,
thanks for this great library. I like it a lot and it works like a charm to automate my stuff.
I had a idea for a feature, maybe it can help to improve your library.
Idea
When I first was playing around with the library, I was wondering where tagui will be installed. After some runs I found the default home path for my system. I started to tinker around how to customize it. To be for example fhs compliant or help users with a space in their username.(#198)
I tinkered the parameter installation_dir to the init function in order to set the absolute installation path. So if someone do not want to use the default path, they would be able to change it.
Example
Change installation target to /home/fi-do/opt/tagui instead of /home/fi-do/.tagui:
r.init(installation_dir="/home/fi-do/opt/tagui)
Pack with custom installation path:
r.pack(installation_dir="/home/fi-do/opt/tagui")
Update with custom installation path:
python update.py "/home/fi-do/opt/tagui"
All the best,
fi-do

Hola Ashwani001,
thanks for your reply. I implemented your feedback.
I think how to deal with the config is a design decision. Personally, I wanted to add the feature with a small footprint. Say if someone initializes rpa with the "installation_dir", he knows what he is doing. And if it was not initialized with it, it runs as usually. But feel free to add that. I'm curious how @kensoh sees this.

Hey @fi-do
Yup im waiting to hear from @kensoh  as well.
Generally it is good to discuss the feature before creating a PR, but thanks for working on it, I think many people can benefit from it.

Hi @fi-do Dominik, thank you so much for being a Hero and helping so many users with their issues!! I was basically missing in action since May last year. Mum severely ill and I took many months of unpaid leave to deal with hospital admin and doing all I can to aid her recovery with alternative natural therapies.
Since Nov I've gone back to work full-time at AI Singapore, but super busy chasing work deliverables and also taking care of my 2-year-old. At AI Singapore, I work on the TagUI project, which RPA for Python is based on a fork of that. I created TagUI in 2016-2017, and continue further development at AI Singapore (government-funded programme to accelerate AI in SG).
PS - baby crying i go manage and continue typing later

Thanks @fi-do and @Ashwani001 for your contribution and discussion! Indeed, there's no doubt having the option to pick TagUI installation directory is a need. For some users, without this option, the package may not even be usable. For eg, user folder in a directory with spaces (there's an open issue at TagUI to revisit if there can be a permanent solution).
For implementation, when I next get some time, will chew over it. What's likely to happen is some modifications to Dominik's implementation and then merging back to master.
One part of putting it as part of the parameters is init() now takes 2 parameters, so users can do r.init(True, False) to mean something. I suspect there would be a more common parameter 3 yet to be discovered. By creating parameter 3 as installation directory now, it means in the future when that common parameter that impacts a broader userbase appears, it would be parameter 4 to maintain backward compatibility.
That means users would be awkward doing r.init(True, False, None, Parameter4). I know this level of thinking may be too obsessively focused on the details, but keeping a simple quick API is one of the goals for this project. Including things like r.click('web_identifier'), r.click('abc.png') and r.click(x, y) all works. This is not the usual way to define functions and typically would be better off as 3 different functions.
From programming and architecture point of view this is bad design. But from usability point of view, user only needs to refer to 1 function and use 1 function to handle 3 different scenarios. So that's was chosen instead of having 3 functions for each function that interacts with the UI. It'll quickly go out of hand and be bloated.
I'll chew over this and revert. I expect this PR to be the first external commit to the package and look forward to more interesting contributions from you @fi-do!

Hey @kensoh,
thanks for you feedback. I still learning Python but I am happy to help out.
I understand your point of view to carefully decide about the signature of functions.
When checking out an issue of an other user, I had some findings. I was tinkering around how to communicate them and maybe also try to suggest a solution in way that it is easy for you to check. I am not sure if it benefits you right now when we use templates for features and issues, to help you out concentrating on important things in life.
Maybe an contribution guide?
All the best to your family and you,
fi-do

Hi @fi-do and @Ashwani001, I've reviewed the PR and opted to do it by introducing a new function tagui_location().
This is added in v1.36, available with pip install rpa --upgrade
To use, set r.tagui_location('your_full_path') before calling r.init() or r.pack()
For example, following works on macOS and installs TagUI to a .tagui folder within Desktop folder.
import rpa as r
r.tagui_location('/Users/username/Desktop')
r.init()
r.url('https://google.com')
r.close()

If r.tagui_location('your_full_path') is not called to set a custom folder, the default will be used -

%APPDATA%/tagui folder for Windows
and ~/.tagui folder for Mac and Linux

With this function, users can also call r.tagui_location() to know where TagUI is installed by default.
I opted for this because the code change is minimal < 10 lines of code and has the lowest risk of breaking stuffs. @fi-do's code looks great and I understood all the parts. I thought to create a separate function to do this because having a parameter to init() and pack() which is only used by a minority of people can add clutter to majority of folks. With the new tagui_location() function, folks who wants to set a custom installation folder can easily do so.
For time being, I'm not adding this to readme. If more people wants to specify a custom folder then I'll add. Also, in v1.35 and issue #256, the problem with spaces on Windows (it can affect users with space in their usernames) is fixed. Users can also run the package from any folder now on Windows, including those with spaces. For macOS and Linux, no issue. So setting a custom folder becomes less critical to using the package.

Oh @fi-do for issues templates, I feel that it adds extra trouble for most users raising issues while only benefitting me for a minority of issues. Most issues we can't have all the fields filled up and having all fields filled is not relevant. Replication detail is the most important, but if a user forgets or don't know to provide that, then I'll ask if that is relevant for solving the issue.
For contribution guide, also no fixed guideline. Raising an issue to discuss before developing the code can help to prevent wasted time from user, but if it is already something a user has created for own use then sending a PR right away is ok. For this PR, if you didn't create a PR to add this feature, I probably won't end up adding tagui_location().
I made my implementation directly in your PR so that your contribution can be recorded in the project. Thanks!

Added tagui_download() and download_location()!
https://github.com/tebelorg/RPA-Python#api-reference

Added tagui_location() and download_location() (for setting file download location from web browser) -
https://github.com/tebelorg/RPA-Python#api-reference


bugbash - az bot create says it's using the default resource group

Tool
Name: az bot
Version: 2.0.58
OS: Windows 10
Describe the bug
Running this command:
C:\Users\v-kydela>az bot create --kind webapp --name KyleEchoBotCSharp --location westus --version v4 --lang Csharp --verbose --resource-group KyleEchoBot
I saw this in the output:
Configured default 'v-kydela_ResourceGroup' for arg resource_group_name
However, I also saw
"resourceGroup": "KyleEchoBot",
In the final JSON and confirmed in Azure that my resources were created in the group KyleEchoBot and not v-kydela_ResourceGroup.
Expected behavior
The tool should not mislead the user by saying it's using the default resource group when it's actually using the resource group provided as an argument.
[bug]

I'm pretty sure this is in the underlying azure cli or one of its dependencies; we don't explicitly log these default argument messages. I'll dig into it and see what I find.

This message isn't logged by az bot but by a lower-level piece of code. Closing as won't fix.


BACKLOG-6794 -- Unable to run build model on diserver

What was done:

added setting of the metastore for uploaded jobs

@deinspanjer , @rfellows @pminutillo could you please review


go client: Task should provide a LoadExec

Similar to the way one can load a currently running task for a container with Task, I think we should add a LoadExec(s) on the Task object.

sgtm


KAFKA-6513: Corrected how Converters and HeaderConverters are instantiated and configured

The commits for KIP-145 (KAFKA-5142) changed how the Connect workers instantiate and configure the Converters, and also added the ability to do the same for the new HeaderConverters. However, the last few commits removed the default value for the converter.type property for Converters and HeaderConverters, and this broke how the internal converters were being created.
This change corrects the behavior so that the converter.type property is always set by the worker (or by the Plugins class), which means the existing Converter implementations will not have to do this. The built-in JsonConverter, ByteArrayConverter, and StringConverter also implement HeaderConverter which implements Configurable, but the Worker and Plugins methods do not yet use the Configurable.configure(Map) method and instead still use the Converter.configure(Map,boolean).
Several tests were modified, and a new PluginsTest was added to verify the new behavior in Plugins for instantiating and configuring the Converter and HeaderConverter instances.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@kkonstantine and @ewencp: here's my proposed fix for KAFKA-6513.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-test-coverage/276/

Added a second commit that moves all of the logic of configuring the Converter and HeaderConverter instances into the Plugins class. This simplifies the Worker class, centralizes the logic (especially that of adding the converter.type configuration property), and makes the logic easier to test.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-test-coverage/295/

@ewencp, hopefully addressed your concerns about the bad logic; did not address your concerns about scanning because I still think we're only scanning once.
The previous commit did indeed use incorrect logic when trying to instantiate the Converter and HeaderConverter classes. The Plugins class now encapsulates the instantiation and configuration of the Converter and HeaderConverter instances. However, when the Worker creates the tasks it uses the same logic as before: look first in the connector configuration and use the current classloader (to prefer the connector plugin’s implementations but still find them in any other plugins or the classpath), and if no such configuration is found then use the worker’s configuration.

@kkonstantine wrote:

However there's a lot of redundancy between newConverter and newHeaderConverter methods, which probably could be addressed in a follow up.
I agree. I tried to think of a non-complex way to eliminate the redundancy, but the differences are deep within the logic.  This will be very trivial to refactor with Java 8, so I'd prefer to wait. I will log an AK issue and target to 2.0.

@rhauch Passing the class object for Converter.class would suffice more the most part I believe. Java >= 8 will help


Implement RFC8078 section 3.4 ("accept with challenge")

The idea is that in response to the key upload the parent issues a challenge to the child: "publish this RR in the child zone to prove you are the operator".
If it is possible to transport the challenge inside an EDE then this would be a much simpler solution than RFC 8078 section 3.3 and suits TDNS rather well, as it already has functionality for modifying the published zone.

Wont fix


Auro design tokens: Excursion Theme

Is your feature request related to a problem? Please describe.
I want the new Excursion Theme tokens available
Describe the solution you'd like
A set of design tokens available for Excursion Theme
Describe alternatives you've considered
No response
Additional context
No response
Exit criteria
Design tokens for the excursion theme can be added to web pages
Design tokens are outputted in a format that works for the app team.

@leeejune , could you add a link to the design token values for this theme?


[Feature] Include ipscanner feature in python3 .

The master branch of the repository is maintained for python2 whereas the feature/python3.8 branch is maintained for python3.
The 'ipscanner' feature in master ( src/ipscanner.py ) is compatible with python2, write the corresponding python3 code for 'ipscanner' and create a PR in feature/python3.8 branch.

I'd like to work on this issue..

Yes @avinashkranjan , please go ahead. 👍

Also, @avinashkranjan  if you are a participant of Hakincodes please introduce yourselves in the Welcome to Hakincodes thread. 👋
It will help us keep track of your progress and contributions during the period. 😄

Ignore if already done.

I making changes listed below:

Updating  config.json in root of feature/python3.8
Adding multi directory for the files init.py & scanner_thread.py
Adding ipscanner.py which was main issue.

Pushing changes in feature/python3.8 have a look

@Kashish121 I have created a PR for the same if you could have a look here


Allow 5/6 band resistors to have a minimum of 0.1 Ohms instead of 1

From an email:

0,62 ohm resistor is exist, but this app block it and say invalid. It should be Black blue red silver brown.

Note for future reference: Lowest closest e-series value for 5/6 band will always be 1.0 regardless of it the 0.1 should be valid


Monadic syntax idea (haskell like do statement)

We have

func = (test, cb)->
   return cb "test is not defined" if not test?
   console.log test
   cb null, "ok"

This is very useful case of function, so we need some improved syntax for it
monadic-func = (test)=>
   <0 "test is not defined" if not test?
   console.log test
   <1 "ok"

Both cases should compile the same result.
Please check cb is removed but => is added
monadic-func = (test)=>
   <0 "test is not defined" if not test?
   console.log test
   <1 "ok", 1  # return cb null, "ok", 1

monadic-func = (test)=>
   <0 "test is not defined", 1 if not test? # return cb "test is not defined", 1
   console.log test
   <1 "ok"

P.S.

Good point

Is this a late April Fools'?

Is this a late April Fools'?

@hmaurer you ran away and forgot your diapers

@askucher let's not be mean on the internet please, we are all civilised people here.

@askucher, that last comment crosses a line. There hasn't yet been a need for ‘formal’ warnings here but if there were, this would be one.

You can ban me, but I will not tolerate a slyness "Is this a late April Fools" of @hmaurer. it is not a place for such expressions as well

I'm afraid I disagree. The way I see it, attacking ideas is okay, but attacking people is not.
@hmaurer attacked your idea—he more or less said this proposal is ridiculous. In my opinion, that comment is at least as valid as your friends and coworkers leaving comments that this proposal is amazing. (At least @hmaurer didn't create a GitHub account the same day you created this issue just to leave a comment on it.)
If you found @hmaurer's comment childish, you are free to say that. What I don't want to see is anyone calling anyone a child, as you did. Ideas and comments can and should be attacked—the ones that should remain will have defenders, and the indefensible ones will fall away, and we will all be the better for it. If people are attacked, they will leave the community, and we will all be the poorer for it—and other people passing by may see that this is a community where people get called names for offering their opinions, and never join in, and we all lose again. If you can't tell the difference—if every time you hear ‘your idea is stupid’ it sounds like ‘you are stupid’—then I don't know what to tell you except maybe try to get a thicker skin and a sense of humor about it? But my goal is to keep this community welcoming to everyone, including and especially people who leave critical comments on ideas they think are bad. I want you to be on board with that.

Ok. guys. You are right. The line was crossed. And I'm sorry
But I am going to quit from this community due to developmental lag, which is covered by a thick layer of words instead of cases.
I will continue fund and develop it in a new community. But it will be another language inspired by Livescript but with Type System, Monadic statements and Ethereum like GAS.
You can continue your project like you want to continue it and I will no longer wonder why your language is not popular.


space

docs(readme): mission
docs(readme): commit
docs(readme): contribute
docs(readme): space

:tada: This PR is included in version 1.2.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Allow keys on service options to be optional

This commit addresses yjs/y-webrtc#29 by adding a TypeScript @type
hint for the options to the WebRtcProvider constructor. This hint
explicitly marks each key of the options object as optional.
For example:
     * @type {{
     *  signaling?: string[] | null,

identifies that signaling may be omitted when passing the options object.

Thank you for providing a fix! I just merged #27 which fixes the same problem.


Productivity allowed by mistake on the molybdenum plate recipe

Mod source
Factorio Mod Portal
Which mod are you having an issue with?

[ ] pyalienlife
[X] pyalternativeenergy
[ ] pycoalprocessing
[ ] pyfusionenergy
[ ] pyhightech
[ ] pyindustry
[ ] pypetroleumhandling
[ ] pypostprocessing
[ ] pyrawores

Operating system

=Windows 10

What kind of issue is this?

[ ] Compatibility
[ ] Locale (names, descriptions, unknown keys)
[ ] Graphical
[ ] Crash
[ ] Progression
[X] Balance
[ ] Pypostprocessing failure
[ ] Other

What is the problem?
The hot air version of the molybdenum plate does not accept productivity modules just like any other plate recipe in the modpack, however the version of the recipe without hot air DOES accept productivity modules.
This means that if you can have more than 33% productivity, the hot air recipe is worse than the version without it.
I don't see any way this could be intended, so i think it's a bug that hasn't been noticed.
Steps to reproduce
No response
Additional context
No response
Log file
No response

Fixed. Thanks for the report: https://github.com/pyanodon/pyfusionenergy/commit/1cbac62270efa855f83670ac865603c176c63168


[Proposal] Generate Scaffold and Api

Hello,
Is it possible to add an option to generate web scaffold and api controller when we select to create a repository ?
Arnaud

While creating API, we have to return a JSON or data, but while creating scaffold we have return views with that data. so I am not sure why you want to create scaffold as well as API Controller.
Can you describe the use case in bit more in detail like what exactly you want to do ?

In my case i'm working an a domotic application based on laravel 5. I need to expose a web application (scaffold) but I also need to create an REST API for the mobile application.

@lahaxearnaud,
It's done in new release v1.1.0.
https://github.com/mitulgolakiya/laravel-api-generator/releases/tag/v1.1.0

nice thanks


Unclear with the resque worker fired up

I just have one resque worker to fire-up.
After starting it, I'm getting 90% CPU crossed warning emails from linode.
I looked with the htop on the server and often the resque worker process eats up 400% memory.
While looking via the Tree view of the htop, Its showing 3 resques. Are they the only one worker instance or more?
The attached image might clarify the question.

This is only one resque worker, the rest is just command wrapping of the gem, nothing to be concerned about.
Cheers,
David


Add resource limits for big postsubmits jobs

Issue #, if available:
Description of changes:
Adding resource limits to our heavier prow jobs after upgrading to bigger instances for our cluster. This is after running into issues with two big jobs being scheduled on one node and running into resource issues. This would ensure that Kubernetes schedules these jobs on nodes that have the capacity as described here: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/hold

/unhold


Stripe::Customer.create mock does not set custom trial_end when signing customer up for a plan.

Just noticed this while trying to write a test for custom trial periods.

closed by 22ac0e6f188141afa4de0407796819e8a46ecebf


To get toolbar search(ibm-table-toolbar-search) component closed, without clicking the clear button

I am using ibm-table-toolbar-search component in my data table.
(Ref : https://github.com/IBM/carbon-components-angular/blob/e6c1566758b66779d323f9fb8fb142ac74e8039d/src/search/search.component.ts)
Feature Requirement : I should be able to  automatically close the toolbar search by reading the queryParams. In other words, I should be able to drive some input which will in turn call the clearSearch()  function in the component, without actually clicking on the clear button.
Scenario :
When I give some search text in the search box, url gets updated with that text as queryParam.
When I click browser back button, queryParams will be removed from the url.
At this point,  I want to get the search box cleared and closed without me clicking on the clear button.

Looks like double-binding the value as shown in Doni's example in files src/app/app.component.html and src/app/app.component.ts should get you as far as a component library can, as Cal mentioned. It's also been a year, so closing.

Looks like double-binding the value as shown in Doni's example in files src/app/app.component.html and src/app/app.component.ts should get you as far as a component library can, as Cal mentioned. It's also been a year, so closing.


ARM version of docker images

Hello. Oracle instant client and several other images are only distributed using the AMD64 architecture.
Many of our servers run ARM architecture using AWS graviton instances. M1 macbooks also run ARM architecture.
Distributing both AMD64 and ARM versions of the docker images would be convenient.

See also https://github.com/oracle/docker-images/issues/2709

The same problem for testing the brand new 23ai image on an ARM Macbook

Any progress on getting the free and express versions also published as ARM builds? Currently want to setup a local dev DB on my macbook and don't need a 5GB DB for the simple queries I plan to run against it.


AGP and Gradle versions update for Bumblebee

Versions update for:
AGP and Gradle
targetSDK and compileSDK
libraries

邮件已经收到了，谢谢！


contributed code in CPP

also added myself in readme.md looking forward for feedback's.
thank you!

Well done
On Sun, Oct 11, 2020, 1:24 PM PHAGUN JAIN<EMAIL_ADDRESS>wrote:

also added myself in readme.md looking forward for feedback's.
thank you!
You can view, comment on, or merge this pull request online at:
https://github.com/keshavsingh4522/hacktoberfest2020/pull/38
Commit Summary

basicunderstandingofpointers
Update README.md

File Changes

A CPP/pointers.cpp
https://github.com/keshavsingh4522/hacktoberfest2020/pull/38/files#diff-1e0e866ea4ca816517fca88913f488a8
(17)
M README.md
https://github.com/keshavsingh4522/hacktoberfest2020/pull/38/files#diff-04c6e90faac2675aa89e2176d2eec7d8
(3)

Patch Links:

https://github.com/keshavsingh4522/hacktoberfest2020/pull/38.patch
https://github.com/keshavsingh4522/hacktoberfest2020/pull/38.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/keshavsingh4522/hacktoberfest2020/pull/38, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AKOCVOP5DJDM4Z2XVOJWPI3SKFQCLANCNFSM4SLTI4WA
.


new functionality for cantools plot

I have added the functionality to have two y-axes for the same subplot by separating the signals with a comma. (See the additions to README.rst)
I have also added new command line options to format subplots/axes:

--title
--color
--xlabel
--ylabel
--ymin
--ymax

Looks good to me. Thanks!


Fix changing distance units for the ruler (previously set in the scene config)

https://ptb.discord.com/channels/915186263609454632/1193755370607345695/1257085121455198389

Already in base Foundry, in scene config, grid tab.


Installation problem: ValueError: invalid mode: 'U'

Hi,
I'm installing pylibmc (as dependency of pymemcache) on a fresh local Python 3.11 virtualenv and during the installation process I receive the following error:

pylibmc 1.6.1 is outdated, so if you want to use Python 3.11 you need a newer version (like 1.6.3.)

@lericson thank you for the quick feedback.

Happy to help!


Release version RELEASE_34

Release Notes

New MetaDefender Core application version 5.12.0
Custom ingress annotations and rules for the MDSS and MDCore charts


Add sticky sidebar to GoalPreview

Add 150px of width to current preview
Add a sidebar from Goal page and make it sticky


fix: add default for no gql config case

Description of changes

Adds a default return if the codegen config file does not exist to avoid breaking the pre/post push flows.
Issue #, if available

Description of how you validated changes
Added unit test.
Sample JS app.
Checklist

[x] PR description included
[x] yarn test passes
[x] Tests are changed or added
[ ] Relevant documentation is changed or added (and PR referenced)
[ ] Breaking changes to existing customers are released behind a feature flag or major version update
[ ] Changes are tested using sample applications for all relevant platforms (iOS/android/flutter/Javascript) that use the feature added/modified

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #600 (a9ac730) into main (2d17486) will increase coverage by 0.06%.
The diff coverage is 100.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff             @@
##             main     #600      +/-   ##
==========================================
+ Coverage   85.85%   85.92%   +0.06%
==========================================
  Files         152      152
  Lines        7487     7493       +6
  Branches     1957     1959       +2
==========================================
+ Hits         6428     6438      +10
+ Misses        963      962       -1
+ Partials       96       93       -3

Impacted Files
Coverage Δ

...codegen/src/codegen-config/AmplifyCodeGenConfig.js
46.98% <100.00%> (+9.32%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Different type of reference link?

I know of [url links](http://markdown.org) and [in-page references][top] but is there a way to extend that, so I can translate [a text reference like]{MediaWiki} into a linked URL (a la http://example.com/wiki/index.php?q=MediaWiki)?  I didn't see any good way of doing that with ParseDown.

Check out the wiki for a tutorial on extensibility.

I've looked at the tutorial, and it looks like I have to override the starting [ which is rather heavy-handed.  I'm looking to keep the original meaning, and just add []{} for the wiki purposes.

No need to override anything - just add another inline type.


1.0.16_crab version of Merge Justas' patch for untarring with python 2.6 for older releases

Patch for an issue discovered a few releases ago about untarring the sandbox with older CMSSW versions, for example CMSSW_5_3_31 [*]. This was fixed on a previous WMCore CRAB branch but no master PR was created.
Master PR here: #6897
After the merge please also create a new tag for the 1.0.16_crab branch. Thanks.
[*] https://github.com/dmwm/CRABServer/issues/5229#issuecomment-221912050

@emaszs is it good to go?

1.0.16.crab3 tagged


toc.dat is not being packed in the postgres tarball

When I'm trying to restore a postgresql database with a dump file in a .tar format I get a pg_restore: [tar archiver] could not find header for file "toc.dat" in tar archive. Upon inspecting the tar file with tar -tvf db_tarball.tar the list of files does not include the file "toc.dat". I believe that this prevents me from performing a pg_restore.
How to replicate?

gem install backup
generate backup config and model
trigger a backup perfrom
pg_restore -c -U username -d database -v "/path/to/file"
Run into the "toc.dat" not found error

This is how the database block looks like
    db.username           = ENV["POSTGRESQL_USERNAME"]
    db.password           = ENV["POSTGRESQL_PASSWORD"]
    db.host               = ENV["api_host"]
    db.port               = 5432
    db.additional_options = ["-xc", "-E=utf8"]```

My config file is the out-of-the-box everything commented file.

* Operating system: MacOS 10.14 Mojave
* Ruby version: 2.5.0
* Tools or services used by backup: PostgreSQL 10.5

sir i am facing the same issue and unable to find appropriate solution so if you know  how to resolve  plz share with me

Facing the same issue.


Pass a variable to the subject ?

I know it is possible to change the subject of the invitation_instructions mail by setting our own in devise_invitable.fr.yml . I saw that a url var is passed to the translation. How can I set another variable ?
I would like to set the subject to
 %{user} has invited you to join %{url}
Is it possible ?

You can create mailer views in your app and pass any variable you want:
app/views/devise/mailer/invitation_instructions.html.erb
app/views/devise/mailer/invitation_instructions.text.erb

But the views only control the content of the e-mail, right? The subject is defined in the locale file(s). Are there any variables that are passed into that translation string?

Sorry, that's about email content, for email subject you may use headers_for(action, opts) method in the model. :
https://github.com/plataformatec/devise/blob/master/lib/devise/mailers/helpers.rb#L29

DeviseInvitable uses devise methods to send email, deliver_invitation method has options hash which is used in mailer to override parameters of mail method, so you can override deliver invitation in your model to change subject
Original method
      def deliver_invitation(options = {})
        generate_invitation_token! unless @raw_invitation_token
        self.update_attribute :invitation_sent_at, Time.now.utc unless self.invitation_sent_at
        send_devise_notification(:invitation_instructions, @raw_invitation_token, options)
      end

Overrided method:
def deliver_invitation(options = {})
  super(options.merge(subject: ...))
end

Also, you can override devise mailer to change subject. Devise_invitable only uses devise_mail method in mailer, there you can override subject_for method in mailer:
Method from devise:
      def subject_for(key)
        I18n.t(:"#{devise_mapping.name}_subject", scope: [:devise, :mailer, key],
          default: [:subject, key.to_s.humanize])
      end

https://github.com/plataformatec/devise/wiki/How-To:-Use-custom-mailer


Return consistent results for image.scale_and_translate with negative dims

Currently, when specified negative dimensions, we get some weird results, probably because jnp.einsum expected non-negative numbers for contractions. This PR fixes the issue and adds a regression test.

Sorry for the slow review, I was on vacation.


Prevent dragging on child interactive element

Hi there!
Does Draggable support to prevent drag event on any interactive child element?
Example: I have a list with items that contains checkbox, it is so hard to check input w/o drag element.
Live Preview:
https://codepen.io/akorzun/pen/aYwXoR
Gif:

You could do something clever on drag:start thatl ooks at the mouse position and compares it against the position of the button, and cancel if its overtop of that button. Perhaps that would work.
@tsov what do you think about introducing a class like .draggable-cancel or .draggable-prevent-default, and if a drag is initiated when the touch or mouse or whatever is overtop that element, the drag never happens? That way, users can have child links / buttons that can be clicked while still being within a draggable item.

@beefchimi ok, thank.
I have a solution https://codepen.io/katasup/pen/aYwXoR
Hope this idea is not so terrible to implement into this project.

@katasup One way to get around the issue is to increase the default drag delay:
new Draggable(containers, {
  // ...
  delay: 300,
  // ...
})

that way there is enough time to check/uncheck checkboxes or even click links/buttons, but also allow to start dragging when holding the mouse down longer.
@beefchimi We could create a plugin that automatically prevents dragging when the target is an input field or even contenteditable, what do you think?

@tsov I feel like thats a good start... but we should offer something more flexible.
Let's say I have a div instead of a button because "reasons". And I want a click on that div to trigger some action unrelated to dragging. I feel like I should have an easy way to tell draggable "ignore dragging if I'm clicking on this child element".
My expectation is to:

add a class to that "undraggable child element"
include a certain option to the draggable instance (or using a certain plugin)

Then Draggable will know to cancel when attempting to drag an item with that "undraggable child element" is the target.

I think I've "tried" to overcome this issue before by giving a handle using :not, however, I'm not sure if that actually works

@narrative1st interesting, could you elaborate a little more? I want to understand the problem a little more to give a better solution to your problem. A codepen or code example of sorts would be best.
The proposed solution in this issue, can be done manually too (without building out that plugin)

I solved it by moving the child elements into a portal and rendering them outside the draggable component with vue-portal. In the simplest of terms, when you highlight a text selection on a modal above the draggable element, drag thinks you want to drag the elements underneath.
Moving the modal outside of the draggable section fixed the problem for me.

I solved this problem with mouseover and mouseout events. So, when the user hover on input, select, button. It will update a boolean variable. Then, you can cancel the drag:start event base on that boolean.

Running into this one now, anyone find any great solutions?

For people who could have this problem later, I solved it with adding handle on Sortable object, with this handle you can add like button and be able to move that item only on that element by targeting him with class
const sortable = new Sortable(document.querySelectorAll("ul"), {
      draggable: "li",
      handle: ".handle-drag"
    })


metrics drop based on label

Hi Team,
I just want to drop the metrics from federation instnace
by enabling the relabel concept but its not success
the sample metrics is
up{container="prometheus", exported_exported_exported_exported_instance="20.204.x.x:9090", exported_exported_exported_exported_job="aks-prometheus", exported_exported_exported_instance="20.204.x.x:9090", exported_exported_exported_job="aks-prometheus", exported_exported_instance="20.204x.x:9090", exported_exported_job="aks-prometheus", exported_instance="k8s-mohan-promethe-a72ee3683a050e.elb.us-east-2.amazonaws.com:9090", exported_job="aws-prometheus", instance="k8s-mohan-promethe-bba72ee3683a050e.elb.us-east-2.amazonaws.com:9090", job="aws-prometheus", namespace="prom-op", pod="prometheus-pro-kube-prometheus-stack-prometheus-0", prometheus="prom-op/pro-kube-prometheus-stack-prometheus", prometheus_replica="prometheus-pro-kube-prometheus-stack-prometheus-0", service="pro-kube-prometheus-stack-prometheus"}
up{container="prometheus", endpoint="9090", exported_instance="20.x.x.x:9090, job="aws-prometheus", namespace="prom-op", pod="prometheus-pro-kube-prometheus-stack-prometheus-0", prometheus="prom-op/pro-kube-prometheus-stack-prometheus", prometheus_replica="prometheus-pro-kube-prometheus-stack-prometheus-0", service="pro-kube-prometheus-stack-prometheus"}

I don't want to see these metrics which is having more than one-time exported_exported_.* I need the metrics which contain only exported_instance label.
I have tries this
- job_name: "aws-prometheus"
  metrics_path: '/federate'
  honor_timestamps: true
  scrape_interval: 30s
  scrape_timeout: 10s
  params:
      'match[]':
        - '{job=~".*"}'
  relabel_configs:
    - source_labels: [__name__]
      regex: (exported_exported_.*)
      action: drop
  static_configs:
  - targets: ["k8s-mohan.prometheus.com"]

I think what you want are metric_relabel_configs, which drop individual metrics, not (target) relabel_configs, which drop targets.


Symantec VIP parser not working

Describe the bug
Symantec VIP parser function not shown any result in Log Analytics Workspace.
To Reproduce
Steps to reproduce the behavior:

We have checked the Symantec VIP data connector and syslog Symantec received as normal
Query log in LAW, log shown
This is the raw log in LAW:

Raw Log: 0|Symantec|VIP Enterprise Gateway|9.10.3|0|AUDIT|"2024-05-17 14:12:24.771 GMT+1000" <IP_ADDRESS> PRD-DaaS:2812 0 0 27573 "text=Access GRANTED 0x0: Success&tokenid=SYMC13981784 ,reason=0&tokenid=SYMC13981784 Success" Thread-1256 VSValidationEngine.c

Parser function code - Symantec VIP in Sentinel:

Syslog
| where Computer in ("datasource") and Facility == "local5"
| extend parser = extract_all(@'^([A-Z]+)\s"([0-9.-\s:GMT]+)"\s(\S+)\s([\w]+):(\d+)\s(\d+)\s(\d+)\s(\d+)\s"text=([\S\s]+)"\sThread-(\d+)\s(.*)', dynamic([1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]), SyslogMessage)
| mv-expand todynamic(parser)
| extend
LogLevel = tostring(parser[0]),
LogTime = todatetime(parser[1]),
ClientIP = tostring(parser[2]),
Component = tostring(parser[3]),
TransactionID = tostring(parser[5]),
SessionID= tostring(parser[7]),
ErrorCode = tostring(parser[6]),
RawMessage = split(tostring(parser[8]), ","),
ThreadID = tostring(parser[9]),
SourceClassName = tostring(parser[10])
| extend Message = extract(@"([\w\s-_[]\]+).", 1, tostring(RawMessage[0]))
| extend User = extract(@"(for\s)?(U|u)ser\s[(\S+)]", 3, tostring(RawMessage[0]))
| extend Reason = extract(@'reason=(\d+)+\s([\w\s]+)', 2, tostring(RawMessage[1]))
| extend TokenID = extract(@'tokenid=([A-Z0-9]+)', 1, tostring(RawMessage[1]))
| extend AccessResult = extract(@"Access\s(GRANTED|DENIED)", 1, tostring(RawMessage[0]))
| extend AuthResult = extract(@"Authentication\s(\S+)\s", 1, tostring(RawMessage[0]))
| extend StatusMessage = extract(@'StatusMessage:\s(0x0:\s)?([\w\s]+)[&."]', 2, tostring(RawMessage[1]))
| extend RADIUSAuth = extract(@'Acces-(\S+)\s', 1, tostring(RawMessage[0]))
| extend StatusCode = extract(@'StatusCode:\s(\d+)', 1, tostring(RawMessage[0]))
| project-away parser
We have compared the raw log and the code but we are still not figure out the issue. Please help us check the function code

Hi @laylavo, Thanks for flagging this issue, we will investigate this issue and get back to you with some updates by 28-05-2024. Thanks!

Hi @laylavo, Could you please share the error you're getting while run the parser? and also share in which line the parser getting error message.
Thanks!

There is no error when we run the VIP parser function.
When we add the template in Log Analytics Workspace, there is no result found

Hi @Sudarshan Kharat (Tata Consultancy Services @.***>,
There is no error of VIP parser function. When we run the parser, there is no result found.
Best regards,
Layla Vo
Support Engineer
Azure - Security
Working Hours: 7:00 AM - 4:00 PM (UTC+7, Monday to Friday)
Need help outside of my working hours?
Locate an engineer<EMAIL_ADDRESS>Manager: Olivia Li/<EMAIL_ADDRESS>@.***
From: v-sudkharat @.>
Sent: Monday, May 27, 2024 3:31 PM
To: Azure/Azure-Sentinel @.>
Cc: Layla Vo (WICLOUD CORPORATION) @.>; Mention @.>
Subject: Re: [Azure/Azure-Sentinel] Symantec VIP parser not working (Issue #10493)
Hi @laylavohttps://github.com/laylavo, Could you please share the error you're getting while run the parser? and also share in which line the parser getting error message.
Thanks!

Reply to this email directly, view it on GitHubhttps://github.com/Azure/Azure-Sentinel/issues/10493#issuecomment-2132946227, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BH5SYNU7M3C3V3I3WM7NZPTZELVLLAVCNFSM6AAAAABH3NULOWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZSHE2DMMRSG4.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>


ArgoCD app syncs successfully with no svcs under any team

Following the Deploying workloads with ArgoCD instructions, I was able to deploy workloads to the cluster and sync the apps successfully.
However, validation of deployments failed upon running the command
kubectl port-forward svc/guestbook-ui -n team-burnham 4040:80

Running kubectl commands revealed team-burnham, team-riker and team-troi in the namespaces, but none of those namespaces had anything in it.

Issues has been resolved. Closing.


Basic Auth not prompting for username and password.

I am unable to get Basic Auth to work .
In the access list I've:

enabled "Satisfy any"
added a username and password
left the access tab as default

I've then attached this access list to the Proxy Host and saved it.
When I connect to the URL it doesn't prompt for username and password and just goes straight into the web page without authorising.
I've disabled and re-enabled the proxy host which hasn't helped and even restarted the container.

#148 may be your issue, you can it for a workaround

Thanks for that. I'll take a look.


Default controller doesn't work

Hi,
I installed the package, followed the installation instructions, but for some reason the default controller isn't being resolved.
my RouteServiceProvider::mapApiRoutes() looks like this:
protected $apiNamespace = 'App\Api';

    protected function mapApiRoutes()
    {
        Route::middleware('api')
             ->namespace($this->apiNamespace)
             ->group(base_path('routes/api.php'));
    }

routes/api.php:
JsonApi::register('v1', ['namespace' => 'V1'], function(ApiGroup $Api, Registrar $Router) {
    $Api->resource('teams');
});

I created a new teams resource and registered it in the config file json-api-v1.php:
    'resources' => [
        'teams' => Team::class,
    ],

And I still get this error:

Class App\Api\V1\TeamsController does not exist

Any idea why?

Are you definitely on the latest release? If you do composer show cloudcreativity/laravel-json-api it will give you the version information for the version you have installed.

I suspect (but you might need to confirm) that composer require cloudcreativity/laravel-json-api will install 0.12 instead of the 1.0.0-alpha.2 release. In which case I need to update the installation docs to specify the alpha release.


FEAT add WeightedQuadratic datafit to allow sample weights

Context of the PR

Contributions of the PR
Added a new class 'WeightedQuadratic' in datafits/single_task.py
Checks before merging PR

[ ] added documentation for any new feature
[ ] added unittests
[ ] edited the what's new(if applicable)

This looks great and should be perfect after taking into account @mathurinm 's comments. Quick question: do we want to store self.sample_weights.sum() once for all in an attribute at initialization?
self.sum_sample_weights = self.sample_weights.sum()
This looks more efficient, but also prone to errors if one changes sample_weights, without its sum.

The more we develop skglm, the more I thnk we should target safety and code readability rather than speed. here in particular I think the burden is neglectable (may,be when computing a single coordinate gradient, we move for O(nnz(X[:, j]) to O(n_samples)
I'd leave it as is and optimize later if we find out it's slowing things down.

I did a pass and added a test, where I test that integer sample weights are the same as having duplicating rows in X and y.
It is failing because the two solvers take a different number of iterations to solve. They yield the same coefficients though. I wonder if this hides something more or if it's only numerical errors.
@Badr-MOUFAD can you have a quick look ?

It is failing because the two solvers take a different number of iterations to solve. They yield the same coefficients though.

The test was passing for the CI and me.

I wonder if this hides something more or if it's only numerical errors.

I added a more complex test: it can fail (with n_samples = n_features = 50), but for "larger" problems,  (n_samples = 50,  n_features = 200), one can see that all the stopping criterion values of the 10 iterations are the same (for a range of values from 1e0 to 1e-12).
The values of the stopping criterion start to be different around 1e-13.
From the lens of these observations, I would tend to say these are numerical issues and merge the PR.

I just had to fix the test to make sure that we support 0 weights, but now everything works fine.
Thanks @sujay-pandit @QB3, this will be very useful !

Thanks @mathurinm, @QB3 for the opportunity.


Emit unique error codes

It would be useful to have a code for each unique lex/parse error emitted by this project. Take a look at this typescript for example, they have a unique code for each error type.
Having a unique code for each type of error helps users search the internet for solutions to those issues.
Not a high priority, but something to consider. I would be willing to do the work on this if it's something you find valuable. I'd probably implement it similar to how I did it here in my brightscript project.
Thoughts?

Ooooh that's a great idea.  It crossed my mind once but I've completely forgotten about it since.
Feel free to take a crack at it if you get time!  :smile:


failed to detect using docker

Hi , thanks for nano great examples.
But when I use docker/run.sh , I can use video-viewer then, but when I use detect /dev/video0 or imagenet , I cannot get output, the console always output like this  :

did i do something wrong?

Hi @jonyzhang2023 - let that run until the program actually starts - TensorRT is optimizing the model (it does that the first time you load each model).


[otl] Add new port

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: imc-123 sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

Looks good!  It is nice when the ports are this simple 👍 .


IndexError: too many indices for array

Can you tell me how to fix this problem, thank you very much.

I checked the tensor shape before execute   "img = np.array(cv2.resize(np.array(img), (int(img.width * scale + 1), 256))).astype(np.float32)" line 155 in I3D-Tensorflow/input_data.py. How can a two-dimensional array pass its value to a three dimensional array. Thank you so much for your kind help.

You are missing the RGB channels, e.g. (256, 342, 3). If you have one channel then unsqueeze an extra dimension.

@ZealACMer
I have the same problem now
Did you solve it?

i got same problem and I just modified it like this
img = img[crop_x:crop_x + crop_size, crop_y:crop_y + crop_size, : ]
to
img = img[crop_x:crop_x + crop_size, crop_y:crop_y + crop_size]
and now i got this error

i got same problem and I just modified it like this
img = img[crop_x:crop_x + crop_size, crop_y:crop_y + crop_size, : ]
to
img = img[crop_x:crop_x + crop_size, crop_y:crop_y + crop_size]
and now i got this error

This error is probably because I deleted the flow channels so I think it shouldn't be fixed as above
I do not know what should I do

i solved this
img = img[crop_x:crop_x + crop_size, crop_y:crop_y + crop_size, : ]
to
img = img[crop_x:crop_x + crop_size, crop_y:crop_y + crop_size]
and also
rgb_ret_arr, s_index = get_data(filename, num_frames_per_clip, sample_rate)
to
rgb_ret_arr, s_index = get_data(filename_i, num_frames_per_clip, sample_rate)


MyDSpace Status search facet doesn't update to reflect user changes to task status

Describe the bug
The "Status" search facet on MyDSpace (workflow configuration) doesn't update when a workflow Item's status is changed.
The resulting mismatch is very noticeable when there are only a few workflow Items and could be confusing.
To Reproduce
Steps to reproduce the behavior:

Go to https://demo7.dspace.org/mydspace?configuration=workflow (& make sure at least one workflow Item exists)
Open the "Status" facet

The listed facets should correspond to the search results

Toggle the task's claimed/pooled status

The "Status" facet will stay unchanged

Expected behavior
The "Status" facet should reflect the changed state of workflow Items.

Possible duplicate ticket in #1736 (which notes a similar issue with counters in the sidebar).  These two tickets likely should be claimed together as they might be fixed easily at the same time.

Assigning to @corrad82-4s and adding a zero hour estimate as this bug ticket will be fixed as part of #1736

Hi @tdonohue , as per what commented in https://github.com/DSpace/dspace-angular/issues/1736#issuecomment-1209126231, this issue seems to be more complex than expected.
A solution could be force update of facets in case of task status changes, but we cannot be sure facets reflects what is displayed among search results. What if, for example, between task status change and refresh, 10 new items joined the pool? They would be counted in facets, but not visible in page. Ideally, the whole page would have to be updated, but this would void what done recently to avoid full page reload.
What about a "warning" message, about possible "outdated" facet values? Leaving to user the decision between keeping outdated facets or reloading the page (e.g. with a button)?


Update metadata

Added "ms.suite": "office365",

OPS Build status updates of commit 46e8c67:
:clock10: Preparing: average preparing time is 1 min(s) 10 sec(s)

OPS Build status updates of commit 46e8c67:
:clock10: Full build: average full build time is not available, there is no data for this repository.

Note: A full build takes more time than an incremental build.  This is the expected behavior of the build system.

OPS Build status updates of commit 46e8c67:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

Skype/docfx.json
:white_check_mark:Succeeded

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.

  This is the expected behavior of the build system.

OPS Build status updates of commit e010937:
:clock10: Preparing: average preparing time is 1 min(s) 10 sec(s)

OPS Build status updates of commit e010937:
:clock10: Incremental building: average incremental building time is 34 sec(s)

OPS Build status updates of commit e010937:
: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.


Prevent wireless terminal from storing itself

Currently it is possible to open a wireless terminal and let it store itself into the system, so you no longer have remote access when you close it. Since I use mouse tweaks, this happend a lot when I store large quantities of items.
I'd suggest making it impossible, like it is in other storage mods.

In addition to this, a general item blacklist would also be great


I can't view my address without also having my unencrypted private key appear on the screen.

It should be possible to load a wallet file and view public information about it, without exposing private keys on the screen.

If you would like to see publicly available information, I recommend using a blockchain explorer like https://etherchain.org/ or http://etherscan.io/ or http://live.ether.camp/. We are not looking to spend a lot of time developing this sort of stuff when there are already these 3 excellent services that do a far better job than we could ever do.
Thank you.

For example, I would like someone to send ether to an address that I already own. If I open the wallet file to discover the address, I cannot avoid displaying the private information on the screen.

Ah.
Is there a reason that you aren't saving your address in a text document along with your private key? In general, you should minimize the number of times you upload/access your private key, online and offline.

I am saving the address in a text document along with my private key. But isn't part of the point of a graphical interface so that users don't have to open json files in a text editor?
I'm used to using deterministic Bitcoin wallet clients and (perhaps misguidedly) expected a similar experience from an Ethereum client. I understand that most of the software around Ethereum is quite unpolished.
This issue may not be super high priority but I think it's worth tracking, and maybe I'll have time to look at it myself.

Here is the text file that I keep on my desktop. I also bookmark the corresponding etherchain page (ie: https://etherchain.org/account/0x7cb57b5a97eabe94205c07890be4c1ad31e486a8) so I can check the account whenever I want.
The address is public. It should be saved along with the private keys, etc. but it should also be saved separately in an easily accessible place so you can copy and paste and check the balance whenever you want. Your bookmarks bar is a great place for this.

But isn't part of the point of a graphical interface so that users don't have to open json files in a text editor?

I'm confused by this. Is uploading a JSON file easier than just double clicking it?
You could also use the Chrome Extension if you would like to save addresses for easy access later.  Or you can save the json/private key so you don't have to reupload all the time.
You may also want to look into Jaxx which has a multipurpose wallet and prides itself on it's user interface.
We will add this to the todo list but it'll be a very low priority. We currently have a number of large features and changes that we are working on implementing, including a top-to-bottom refresh that will make it much easier for us to update in the future.


DO NOT MERGE: Drop Travis

https://github.com/webonyx/graphql-php/issues/574#issuecomment-569678316
GA test:

[x] test CS break
[x] test PHPStan break
[x] test unit test break

To compare with Travis run https://travis-ci.org/webonyx/graphql-php/builds/632608253

@vladar ping me when ready and I'll rebase+cleanup this.

@simPod Can you please clarify - ready to what? 😄 I thought this PR is just to compare failures with Travis. Am I missing something?

@vladar right 😀, I'd drop the Travis in this when we decide it's ready

@simPod I think we can drop Travis when you have a chance. But I suggest doing it in another PR! Will close this one.


Alert fails to hide because of error

Whenever the alert tries to hide it fails and gives this error:
TypeError: $this.dismiss is not a function
at angular-flash.js:75
at angular.js:16303
at completeOutstandingRequest (angular.js:4928)
at angular.js:5316
at e (raven.min.js:2)
It's something to do with "var $this = this;" not working when called in
"timeOut = $timeout(function() { $this.dismiss(); }, $rootScope.flash.timeout); "
It works fine when I use the functions code instead of calling "$this.dismiss();". Any idea what could be wrong?
This is from this part of the code:
app.factory('Flash', ['$rootScope', '$timeout',
function($rootScope, $timeout) {
        var dataFactory = {},
            timeOut;

        // Create flash message
        dataFactory.create = function(type, text, addClass) {
            var $this = this;
            $timeout.cancel(timeOut);
            $rootScope.flash.type = type;
            $rootScope.flash.text = text;
            $rootScope.flash.addClass = addClass;
            $timeout(function() {
                $rootScope.hasFlash = true;
            }, 100);
            timeOut = $timeout(function() {
                $this.dismiss();
            }, $rootScope.flash.timeout);
        };

        // Cancel flashmessage timeout function
        dataFactory.pause = function() {
            $timeout.cancel(timeOut);
        };

        // Dismiss flash message
        dataFactory.dismiss = function() {
            $timeout.cancel(timeOut);
            $timeout(function() {
                $rootScope.hasFlash = false;
            });
        };
        return dataFactory;
    }
]);

Hey @paulstefanday,
thank you for your report. Could you please let me know if this still happens on version 2. I'll have a look if it does. Closing for now.


Add CI to test against demos

As @baentsch  mentioned in https://github.com/open-quantum-safe/oqs-demos/pull/321#issuecomment-2530767025 we would like to add "upstream" CI that will build and test the OQS demos using the latest liboqs and oqsprovider code

Given the new workflow didn't trigger, it looks like I'll need to wait until https://github.com/open-quantum-safe/oqs-demos/pull/321 is merged before I continue this.

Closing this as per https://github.com/open-quantum-safe/oqs-demos/pull/321#issuecomment-2532788376


Remove docker.io as hardcoded default registry

Per containers/image#572, buildah will still default to docker.io for image pulls.
Prevent auth attempts if no registry is set in the image pull spec

Thanks, @mtrmac for your great input. From the OpenShift perspective, I think we're in agreement this PR is not the way to go, and that we should remove search as a configurable option. I'll be opening separate PRs to get the ball rolling on that.