helm: Use chartutil.Values in FluxHelmReleaseSpec

Move to the nested map structure helm values uses
Implement DeepCopyInto for chartutils.Values because the generation tool does not like map[string]interface
The latest versions of dep create a new line for the package lists, hence the large change in Gopkg.lock

Fixes #982

Tested with https://github.com/weaveworks/flux-helm-test/

This is a breaking change, maybe we should increment the version to
helm.integrations.flux.weave.works/v1alpha2

A very good point.
On Wed, 11 Apr 2018, 17:02 Stefan Prodan<EMAIL_ADDRESS>wrote:

This is a breaking change, maybe we should increment the version to
helm.integrations.flux.weave.works/v1alpha2
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/weaveworks/flux/pull/1035#issuecomment-380506222, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AFUSJPuk3E_irkOt9W9feziBUufdUgYlks5tnikxgaJpZM4THDe0
.

On the other hand we are still quite at the beginning
On 11 April 2018 at 18:42, Tamara Kaufler<EMAIL_ADDRESS>wrote:

A very good point.
On Wed, 11 Apr 2018, 17:02 Stefan Prodan<EMAIL_ADDRESS>wrote:

This is a breaking change, maybe we should increment the version to
helm.integrations.flux.weave.works/v1alpha2
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/weaveworks/flux/pull/1035#issuecomment-380506222,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFUSJPuk3E_irkOt9W9feziBUufdUgYlks5tnikxgaJpZM4THDe0
.

We have a couple of users on Slack that are using the Helm operator, I think we should increment the version each time we are introducing a breaking change. Also the current version v1alpha should be v1alpha1 if we want to follow the Kubernetes convention.

👍 I shall create a ticket
On Thu, 12 Apr 2018, 12:38 Stefan Prodan<EMAIL_ADDRESS>wrote:

We have a couple of users on Slack that are using the Helm operator, I
think we should increment the version each time we are introducing a
breaking change. Also the current version v1alpha should be v1alpha1 if
we want to follow the Kubernetes convention.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/weaveworks/flux/pull/1035#issuecomment-380775364, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AFUSJIETDOd81t4pgKEHTHu4UCPnMc-Qks5tnzzJgaJpZM4THDe0
.

https://github.com/weaveworks/flux/issues/1041 created
On 12 April 2018 at 13:08, Tamara Kaufler<EMAIL_ADDRESS>wrote:

👍 I shall create a ticket
On Thu, 12 Apr 2018, 12:38 Stefan Prodan<EMAIL_ADDRESS>wrote:

We have a couple of users on Slack that are using the Helm operator, I
think we should increment the version each time we are introducing a
breaking change. Also the current version v1alpha should be v1alpha1 if
we want to follow the Kubernetes convention.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/weaveworks/flux/pull/1035#issuecomment-380775364,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFUSJIETDOd81t4pgKEHTHu4UCPnMc-Qks5tnzzJgaJpZM4THDe0
.


Can not compile the module

Hello, first of all thank you for doing this extension.
When i was trying to compile nginx with this extension i've got following exception:
/usr/lib/gcc/x86_64-alpine-linux-musl/6.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: cannot find -lphp7
collect2: error: ld returned 1 exit status

as i could find in config file there is an option with this -lphp7.
Could you help me understand what that mean and what ld is trying to find?
PS: i am not strong with C at all so for me this is dark forest:)

Thank you. yes, i've tried you way and it's working. probably i was trying to do that with php from package of a dist.
also i've tried to compile it with php 7.1.10 and failed and opened new ticket about it...


Organize/separate test data from example data

FEATURE DESCRIPTION
Feature Inspiration
Setting up a new instance of TraceBase can be a bit complicated, and it's often nice to have example data loaded that includes various types of data so it's easy to test various scenarios. For example, Rob didn't know where his test inputs (which should fail) should go.  The compound data is required in any environment and is mixed in with test input files.
Feature Description

[ ] Create a couple of "studies" with "example" study data in DataRepo/example_data. Each study should be organized like those in https://github.com/PrincetonUniversity/tracebase-rabinowitz-data, with a loading.yaml file defining the parameters used to load it. Ideally, these studies should contain a variety of data, including animals with various optional attributes both set and undefined, serum samples at multiple time points (for Ra testing), and Animals with no tracer (#325).
[ ] Create a DataRepo/example_data/load_study_set.txt file that loads each of the example studies and document this in README.md.
[ ] Move any data that is used exclusively for testing (e.g. data with invalid attributes, small files used to test particular conditions, etc.) into DataRepo/test_data

Alternatives Considered
Currently data is all in DataRepo/example_data
Comment
Brought up in developer meeting on 8/24/2021.

ISSUE OWNER SECTION
Assumptions

List of assumptions made WRT the code
E.g. We will assume input is correct (explaining why there is no validation)

Requirements

List of conditions to be met for the feature
E.g. Every column/row must display a value, i.e. cannot be empty

Limitations

A list of things this work will specifically not do
E.g. This feature will only handle the most frequent use case X

Affected/Changed Components

Files
Environment variables
External executables
Database tables
Cron job settings
Etc.

DESIGN
GUI Change description
Describe changes the user will see.
Code Change Description (Pseudocode optional)
Describe code changes planned for the feature.
Tests
A test should be planned for each requirement (above), where possible.

This is done.


[SPIKE] Undo Tabs JS styling when initialisation fails

Another thing worth a quick spike
We've added extra reasons for the Tabs component to fail initialisation now ElementError is thrown
Since all of these are in control, could we add a class like .govuk-tabs--error to "undo" JS styling?
  // GOV.UK Frontend JavaScript enabled
- .govuk-frontend-supported {
+ .govuk-frontend-supported .govuk-tabs:not(.govuk-tabs--error) {

Failing sensibly
Accidents happen. Errors can handled, and we can fall back to the non-JS experience:

Might close https://github.com/alphagov/govuk-frontend/issues/999

Thanks for looking into this!
I think the more likely failure state is where something outside of our control prevents the JavaScript for a component from running entirely. This could be a JavaScript error elsewhere in a bundled script, or a network error that prevents the file from loading.
I think we might want to flip the logic a little so we can 'fail open' even if the component JS never runs at all. Prompted by a suggestion from yourself (a year ago!) about a 'smoke and mirrors' approach I've had something like this in my head for a while: https://github.com/alphagov/govuk-frontend/compare/main...spike-fail-better
Thoughts?

No problem 😊
I think both approaches are covered by my initial thoughts and you paraphrased the "smoke and mirrors" idea into https://github.com/alphagov/govuk-frontend/issues/999#issuecomment-1387289185 if it's easier to link to those comments?
E.g. We could update your spike to move govuk-frontend-ready to a per-component --loading modifier because components could be set up at any time, e.g. when Tabs kicks in at wider viewports
But equally, there's a benefit of styling a component before it's ready to avoid flickers of UI enhancement. This could be waiting for an error (my spike) or when the time from --loading → --ready exceeds a maximum timeout
Best of both worlds?

Closing for housekeeping reasons, as this spike seems unlikely to be resolved at this time.
Fixing the issue with components 'failing closed' is still on our radar and is something we would like to resolve in future.

https://github.com/alphagov/govuk-frontend/issues/999


Add termguicolors support for airline

tmuxline only gets cterm values even if termguicolors is set.
The update checks if termguicolors is set and then creates a theme dictionary with true color entries from the airline theme. Else, the previous implementation for the theme dictionary is used.

This PR helps resolve an issue when you have airline configured and the wrong colors are sent to tmux which breaks it.

Thanks, look good, and sorry for the delay!

Thanks, looks good, and sorry for the delay!

No worries, thank you for keeping up with this ❤ it helps make my tmux pretty quick and responsive.


How to use Policy Fragment in APIM. Document links are invalid in Azure portal.

How should the policy fragment be used? There is no documentation for it. The link from the portal resolves to the APIM landing page. Link is https://aka.ms/apim/policy-fragments
Adding the fragment to the outbound policy of the API is not being effective. A working example would be greatly helpful.
I have set up my policy fragment as follows with the name header-dev-source
<set-header name="dev-source" exists-action="override">
	<value>fragment</value>
</set-header>

In a sample API, I have added the following to AllOperations
<policies>
    <inbound>
        <base />
    </inbound>
    <backend>
        <base />
    </backend>
    <outbound>
        <base />
        <include-fragment fragment-id="header-dev-source" />
        <set-header name="source" exists-action="override">
            <value>@(context.Deployment.Region)</value>
        </set-header>
    </outbound>
    <on-error>
        <base />
    </on-error>
</policies>

I see that the source header is created but the dev-source header is not added to the response.

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

ID: 5310021d-de39-9418-2a55-ccdd9c2f4db0
Version Independent ID: ad38bf02-de35-7d67-def7-b1a064dd032f
Content: Azure API Management advanced policies
Content Source: articles/api-management/api-management-advanced-policies.md
Service: api-management
GitHub Login: @dlepow
Microsoft Alias: danlep

Hello @AbhishekTripathi - Thank you for your feedback. Have reviewed the following doc yet?

Reuse policy configurations in your API Management policy definitions

adding @mikebudzynski regarding the linking issue from Portal. Not sure if the link should be updated to point to doc above?

We have now targeted the link properly from the portal UI. Sorry for the inconvenience.

@AbhishekTripathi Thanks for reporting it. As @dlepow has confirmed that the URL is now redirecting correctly to the Policy fragment document as below.

We will now proceed to close this thread. If there are further questions regarding this matter, please tag us and we will gladly continue the discussion.


Security vulnerability in Lodash (Update to version 4.17.12 or later)

Prototype pollution vulnerability found on 2019-07-15

Can you please update to the latest lodash? The one you are using is vulnerable, and every package using your request-promise-native suffers from it. Thanks

I am in the process of updating lodash via request-promise-core. The next version of request-promise-native will have this fixed.


I think DIV_BY_ZERO can be removed as it's dead.

          I think DIV_BY_ZERO can be removed as it's dead.

Originally posted by @Alan-Jowett in https://github.com/iovisor/ubpf/pull/315#discussion_r1268588696

@hawkinsw I think this is fixed now?


Stress testing against k8s 1.8

k8s 1.8 release is nearby.
We run some rounds of testing on 1.8 before and it seems be flaky again.
We need to stress test k8s 1.8, and figure out what fails, and fix failures and problems.

Testing it now: https://jenkins-etcd.prod.coreos.systems/view/operator/job/etcd-operator-18-testing

Testing has been good.
Done upgrading jenkins infra.


switch ESRP tasks to .NET 3.x

@TravisEz13 Would it be OK to merge this PR? I've updated the agent image used in PSReadLine build, and would like to run a release build to test it out.

Let me run a test on PS/PS before I merge


fix(cloudevents-server): refactor results parts for tekton run notification message

Signed-off-by: wuhuizuo<EMAIL_ADDRESS>

/approve


VISOR Client remains open when closed.

Windows 11 issue ?
The VISOR client remains open when closed, each time its running I have to run windows task manager to terminate it.

Fixed! But you have to use the tray icon to close it. Use the Quit button (or now renamed to "Quit (USE THIS ONE)", because there's the default one).
The Windows X button to close the window doesn't shut down the app. That's on purpose, so it can run in the background. It must be shut down through the tray icon.
If you use the Task Manager, VISOR won't shut down properly, finishing everything he was doing.


运行脚本出现这样，是什么问题？

开始执行...
Fri May 21 2021 19:22:26 GMT+0800 (中国标准时间)
(node:5453) UnhandledPromiseRejectionWarning: Error: connect ECONNREFUSED <IP_ADDRESS>:443
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1146:16)
(Use node --trace-warnings ... to show where the warning was created)
(node:5453) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:5453) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code

貌似你网络是不是有点问题

是的，要挂代理才行


BatfiHelper

BatfiHelper isn't functioning in macos sequoia; I know sequoia isn't a public release and still under development, so I don't expect this issue to be fixed anytime soon, but I in case the issue maybe isn't about macos version I'll be glad if this bug get fixed in the next update.

Which version of macOS beta do you have?

15.0 Beta (24A5264n)

Please update macOS to the latest beta.


NameError: name 'ImageItemList' is not defined

Getting an error...
NameError: name 'ImageItemList' is not defined
The directory is 7_Facial_attributes_fastai_opencv and the line...
src = (ImageItemList.from_csv(path, csv_name='labels.csv')
.split_by_valid_func(validation_func)
.label_from_df(cols='tags',label_delim=' '))

ImageFileList was changed to ImageItemList and now I should use ImageList instead of ImageItemList.
This is what happens when the code is refactored too often!


chore: add sassdoc:build to Lerna postbootstrap NPM script tasks

Automatically generate Sassdoc docs when npm run bootstrap command is run; also add Sassdoc as a root level NPM dependency in not globally installed
CC @mikemai2awesome and @rockymountainhigh1943

Closing this one out -- just about done with a much better version of this!


Cleanup exports in app/client/run_dev_client.sh

Another option would be to go for:
export SCHEDULER_URL=$(minikube service scheduler --url)
export MCMC_STATS_SERVER_URL=$(minikube service mcmc-stats-server --url)
export GRAPHITE_URL=$(minikube service graphite --url | head -n1)

This gives less duplication (and therefore less chances to update one part without updating the other) but it has a slightly different semantics because the variables are made accessible to the subsequent lines.

I have something very similar on my WIP branch here 99269cd3769f0da5d346286a23bea98f09bdeb9a.
The trouble with the alternative you suggested is that ShellCheck complains with
SC2155: Declare and assign separately to avoid masking return values.


Avoid serving server bundle

Doesn't make sense to server dist/server.js, might end up containing sensitive data.
Prob want to output client to dist/public/client.js and server to dist/server.js.

Blocked: webpack-dev-middleware doesn't support multi compilers with two different outputPaths.


What's the difference between this repo and jdg/MBProgressHUD?

I've always been confused which one of these to use.

I try to keep both in sync, so it should not matter much. @jdg put the code up on GitHub while I still had it only on my website, back in the early days of iOS development. I than forked his repository when I stated using GitHub. The main repo is more popular so I guess that one would be the one to follow.


Add button to "upload needed files" screen

Add a new button like 'SKIP' or 'SKIP &NEXT' for every page as the user does not want to change something on that page. As an example the 'Upload needed files' page could use it.

Solved.


Alexa integration not working anymore

IMPORTANT:  Please search the issues, including closed issues, and the FAQ before opening a new issue. The template is mandatory; failure to use it will result in issue closure.
Describe the bug
Error setting up entry<EMAIL_ADDRESS>- amazon.com for alexa_media
10:09:26 AM – (ERROR) Alexa Media Player (custom integration) - message first occurred at 9:54:52 AM and shows up 2 times
alexalogin.login((<alexapy.alexalogin.AlexaLogin object at 0x7f3f967aead0>,), {'cookies': {'session-id': <Morsel: session-id=132-7997194-5878262>, 'session-id-time': <Morsel: session-id-time=2302059609l>, 'lc-main': <Morsel: lc-main=en_US>, 'ubid-main': <Morsel: ubid-main=130-9990253-8607905>, 'x-main': <Morsel: x-main=aBuFPHbqwcNb1CGHrJ37AI9ZLEAWAjLG>, 'at-main': <Morsel: at-main=Atza|IwEBIBAgRvTCjHpePfvk2hcDAQL5nh7R4fzywWXlwCdgLzi-LbR1u3whg84AQF0v8agSrzRclNel2osXkLGFSUC3nH4ufskAvjjpnjKUWd-LjWLnDvVUiZWSORhIbMuYiKAVsh8qm6O4e1ugF-iy-0OqaFzTEgUaUhITpoItqVq_lE7cWAUB9ZsV3FWfsHsfz7oVrX4DsGHGxDlpNNqrECyHOz75yddnr45A6KV57OIbHJxeCQ>, 'sess-at-main': <Morsel: sess-at-main="bW3Ni72L4o0nKnqUWj5BX7WtDDO5EL2C2Xv15/46P6I=">, 'session-token': <Morsel: session-token=qOU5Rug2z0M2DGdPD6T5XthpWtjhgQeg7dAU9umdysiqYwIm46xWQmdR9HGOsv8D9M3nRCGBTU0TX8M9HNk9WUiXsjnVy805V//1/XbYBvYrf4F1fiiphZ/QtsVwWA/Dv58z2/0Xajh2boz08xNYImAilymtGH78rVVatHRZy7HFbjFSuS81hU7eDGXUnljZxoLXpAYZxxsDFOVGCLLRK6lnDVj6GBmPs5YtqnlYRQlZqysRmpcgQuZ449KPYtQc>, 'csrf': <Morsel: csrf=-801440865>}}): An error occured accessing AlexaAPI: An exception of type TimeoutError occurred. Arguments: ()
10:09:26 AM – (WARNING) Alexa Media Player (custom integration) - message first occurred at 9:54:52 AM and shows up 2 times
Waiting on integrations to complete setup: alexa_media, tado
9:54:48 AM – (WARNING) bootstrap.py - message first occurred at 9:50:48 AM and shows up 5 times

To Reproduce
NOthing
Expected behavior
it would, well, work. It did before and nothing changed in my HA
System details

Home-assistant (version):
alexa_media  (version from const.py or HA startup): latest via HACS
alexapy (version from pip show alexapy or HA startup): alexapy==1.26.4
Amazon [2FA is enabled yes

Logs
Logs provided in the bug description
2022-12-20 10:09:26.459 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry *here was the email adress which is correct ;)* - amazon.com for alexa_media
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 372, in async_setup
    result = await component.async_setup_entry(hass, self)
  File "/config/custom_components/alexa_media/__init__.py", line 324, in async_setup_entry
    await login.login(cookies=await login.load_cookie())
  File "/usr/local/lib/python3.10/site-packages/alexapy/helpers.py", line 141, in wrapper
    return await func(*args, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/alexapy/alexalogin.py", line 578, in login
    if await self.test_loggedin(cookies):
  File "/usr/local/lib/python3.10/site-packages/alexapy/alexalogin.py", line 457, in test_loggedin
    await self.exchange_token_for_cookies()
  File "/usr/local/lib/python3.10/site-packages/alexapy/alexalogin.py", line 926, in exchange_token_for_cookies
    response = await self._session.post(
  File "/usr/local/lib/python3.10/site-packages/alexapy/aiohttp/client.py", line 466, in _request
    with timer:
  File "/usr/local/lib/python3.10/site-packages/alexapy/aiohttp/helpers.py", line 721, in __exit__
    raise asyncio.TimeoutError from None
[home-assistant_2022-12-20T09-11-04.945Z.log](https://github.com/custom-components/alexa_media_player/files/10267032/home-assistant_2022-12-20T09-11-04.945Z.log)

Does your HA have access to the internet and to alexa.amazon.com (or whatever region you're at)? It's reporting a timeout error trying to connect to Amazon.


Implement cancel during deploy for app-tools-lib operations

The app-tools-lib's support to cancel an operation is complicated, first improve that and then implement cancelling staging and deploy operations.

Removing from beta-blockers as cancellation is implemented in #639
This issue is still relevant, it covers the rewrite of the cancellation code to be cleaner once app-tools-lib (plugins-core) implements Futures via https://github.com/GoogleCloudPlatform/appengine-plugins-core/issues/180


removeMarkers doesn't remove all markers

Hi,
I try to remove all markers in MarkerCluster, but it doesn't remove all of them.
I think problem could be around this line of code
https://github.com/googlemaps/v3-utility-library/blob/master/markerclusterer/src/markerclusterer.js#L517
It loops in markers array incrementing the i index, but in removeMarker_ function it performs a splice that changes the length of the array and, then, its indexes.
That causes not all markers will be removed.
Is it only me?
Thanks in advance

I tried reproducing the issue your describing and couldn't. I can see what you mean about the splice, have you got a simple example to reproduce your issue?

Hi,
problem is related to removeMarkers function. Try
markerClusterer.removeMarkers( markerClusterer.getMarkers() )

Fabio

#367


Is there any way to easily activate/de-activate the active-directory authentication

Environment

Spring boot starter:

active directory spring boot starter

OS Type: Linux

Java version:

1.8

Summary
Currently I am using https://github.com/microsoft/azure-spring-boot/tree/master/azure-spring-boot-starters/azure-active-directory-spring-boot-starter for implementing AAD authentication.
I am looking for a way where I can easily activate/de-activate the active-directory authentication. Is it possible? If possible, which document/steps needs to followed?
Expected Results
Easily activate/de-activate the active-directory authentication in application with some property. So that the application can be deployed in different ways.
Actual Results
Once AAD authentication is implemented, it is not possible to de-activate without reverting back the implementation.

Thanks for reaching out. Which kind of authentication are you talking about? Is it the OAuth2.0 authorization code flow or implicit flow?

@saragluna I am using OAuth2.0 authorization code flow

Is Spring profiles suitable for your case, which you could put the aad related properties in a file like application-dev.properties and pass -Dspring.profiles.active=dev to your application to activate this profile, which will activate the AAD authentication?

Yes @saragluna I can have a property file specific to the environment. But what properties and values I should use so that the same application will work without Authentication?

I am thinking of using two properties files, such as application-dev.properties and application-prod.properties, with one containing the aad related properties and one not. When you run the application, pass the profile Dspring.profiles.active=dev|prod to the application.

@saragluna I have already tried that, but got error, please find the details below -
Sample application.properties used, where no aad properties are mentioned
spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration
spring.application.name=<Application Name>

ERROR while starting the application using the above property file -
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
05:54:21.921 [main] ERROR org.springframework.boot.diagnostics.LoggingFailureAnalysisReporter -

***************************
APPLICATION FAILED TO START
***************************

Description:

Field aadAuthFilter in com.application.conf.AADWebSecurityConfig required a bean of type 'com.microsoft.azure.spring.autoconfigure.aad.AADAppRoleStatelessAuthenticationFilter' that could not be found.

The injection point has the following annotations:
        - @org.springframework.beans.factory.annotation.Autowired(required=true)

The following candidates were found but could not be injected:
        - Bean method 'azureADStatelessAuthFilter' in 'AADAuthenticationFilterAutoConfiguration' not loaded because @ConditionalOnProperty (azure.activedirectory.client-id) did not find property 'client-id'

Action:

Consider revisiting the entries above or defining a bean of type 'com.microsoft.azure.spring.autoconfigure.aad.AADAppRoleStatelessAuthenticationFilter' in your configuration.

Is there any properties need to be specified in application.properties so that AAD loading will be skipped?

Hi, @prabdeb .
Root cause:
If property azure.activedirectory.tenant-id is not configured, then we will not have bean authorizedClientService and oidcUserService.
Method to solve this problem:
Add @ConditionalOnProperty(prefix = "azure.activedirectory", value = "tenant-id") in some place like this demo PR.

Hello @chenrujun ,
I am able to start the application without any error after following the mentioned PR, however the application was always redirecting to /login I had to use an extra property - spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration to disable the authentication completely
Is it a right way to disable? If yes, can we get the extra property updated somewhere in document along with the link to PR? So that it will be useful in future.

Hi, @prabdeb .
I added NoLoginSecurityConfig in the demo PR to illustrate how to disable login. Please check. 🙏
And the PR will be merged. Thank you very much for your suggestion. 👍

Thanks a lot for considering my request @chenrujun !


Automatically stops while training on Auto3dSeg model

I tried to run Auto3dSeg models' dint_0, I am getting "Keyboard Interpret Error". I have added the screenshot of it.

/usr/local/lib/python3.8/dist-packages/monai/utils/deprecate_utils.py:321: FutureWarning: monai.transforms.io.dictionary LoadImaged.init:image_only: Current default value of argument image_only=False has been deprecated since version 1.1. It will be changed to image_only=True in version 1.3.
warn_deprecated(argname, msg, warning_category)
[info] number of GPUs: 1
[info] world_size: 1
train_files_w: 4
train_files_a: 4
val_files: 6
^C

Hi @GowthamE7 , can you check if your command line has any hidden character appended in the end? Also, may I know what's the --image for?

Hi @mingxin-zheng, I tried, eventhough its not working.

Can you remove the --image? @GowthamE7

@mingxin-zhen, I tried that also, I couldn't able to start the train.py for "dints_0"

Hi @GowthamE7 , I will try to replicate this on my end. Which dataset are you using? Is this one of the simulated dataset provided in the tutorials?

@mingxin-zheng, I tried it with my custom dataset.


support for private repos

Hi everyone!
I am trying to use it with a private repo . but it seems doesn't work,
is there any configuration that could help to have this working with private repos?
if not, is there any plan to add support for a private repo?
thanks

+1

I use this code in a private repository without any problems.
What is your problem?


Duplicated user passwords when using password_double_sha1_hex

ClickHouse recommends using password_double_sha1_hex for compatibility with MySQL clients as decribed here.
When adding a password_double_sha1_hex as a user password, e.g. for admin, clickhouse-operator adds the CHConfigUserDefaultPassword as SHA256 encrypted password to the user. ClickHouse does not start if there is more then one password defined.
apiVersion: "clickhouse.altinity.com/v1"
kind: "ClickHouseInstallation"
metadata:
  name: "settings-01"
spec:
  configuration:
    users:
      # admin use has 'password_double_sha1_hex' so actual password value is not published
      admin/password_double_sha1_hex: b285a72aa0bf81129c828e8063fcd4a8f29b6a10
      admin/networks/ip: "<IP_ADDRESS>/32"
      admin/profile: default
      admin/quota: default
    clusters:
      - name: "standard"
        layout:
          shardsCount: 1
          replicasCount: 1

PR accepted, this issue should be closed as soon as test cycle for 0.13.5 completed

PR accepted, this issue should be closed as soon as test cycle for 0.13.5 completed

done


Orbit is unresponsive on startup when loading symbols for big projects

Automatic symbol loading can make Orbit unresponsive for quite a long time (20-30 seconds). To repro, try profiling a project with a lot of shared objects, Unreal Engine for example.

Actually, I've seen startup times of >3 minutes for relatively simple projects.


Feature request: dotnet ef dbcontext scaffold arguments order

I'm writing a dotnet-ef command auto-completion tool. Here is the usage of dotnet ef dbcontext scaffold:
dotnet ef dbcontext scaffold -h

Usage: dotnet ef dbcontext scaffold [arguments] [options]

Arguments:
  <CONNECTION>  The connection string to the database.
  <PROVIDER>    The provider to use. (E.g. Microsoft.EntityFrameworkCore.SqlServer)

I'd like to recommend change the arguments order to dotnet ef dbcontext scaffold <PROVIDER> <CONNECTION>.
It because the <CONNECTION> are vary from different <PROVIDER>. If I can guess the <PROVIDER> first, then I can suggest <CONNECTION> after this.

@doggy8088 This change is not something we are likely to do because it would break existing usage of the tool. However, we are interested in the approach you are taking here. What mechanism are you using to implement auto completion? What kind of completion are you thinking of for connection strings?

@ajcvickers I made a dotnet CLI auto-completion tool for Command Prompt that based on famous tool Clink. I already implemented all the built-in .NET Core CLI commands and arguments including dotnet-ef global tool.  Are the "two different connection strings" hard-coded example connection strings? Or do you attempt to find them in config somewhere?
In terms of this issue, I'm going to close this as we're not going to change the argument order. However, note that we have #5976 open tracking built-in completion support.

Yes, it's hard-coded. It works as a template.


TextureView doesn't support displaying a background drawable

Since ionic browser  has been removed i installed this plugin without any issue.
Yesterday i tried my app on Android N i noticed that it crashes on start.
Any suggestions?
Here is the crash log:
02-16 10:37:51.971 10209 10209 E AndroidRuntime: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.UnsupportedOperationException: TextureView doesn't support displaying a background drawable
02-16 10:37:51.971 10209 10209 E AndroidRuntime: 	at org.xwalk.core.ReflectMethod.invoke(ReflectMethod.java:67)
02-16 10:37:51.971 10209 10209 E AndroidRuntime: 	at org.xwalk.core.XWalkCoreWrapper.handlePostInit(XWalkCoreWrapper.java:129)
02-16 10:37:51.971 10209 10209 E AndroidRuntime: 	at org.xwalk.core.XWalkLibraryLoader.finishInit(XWalkLibraryLoader.java:182)
02-16 10:37:51.971 10209 10209 E AndroidRuntime: 	at org.xwalk.core.XWalkActivityDelegate.onActivateCompleted(XWalkActivityDelegate.java:171)
02-16 10:37:51.971 10209 10209 E AndroidRuntime: 	at org.xwalk.core.XWalkLibraryLoader$ActivateTask.onPostExecute(XWalkLibraryLoader.java:349)
02-16 10:37:51.971 10209 10209 E AndroidRuntime: 	at org.xwalk.core.XWalkLibraryLoader$ActivateTask.onPostExecute(XWalkLibraryLoader.java:317)
02-16 10:37:51.971 10209 10209 E AndroidRuntime: 	at android.os.AsyncTask.finish(AsyncTask.java:660)
02-16 10:37:51.971 10209 10209 E AndroidRuntime: 	at android.os.AsyncTask.-wrap1(AsyncTask.java)
02-16 10:37:51.971 10209 10209 E AndroidRuntime: 	at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:677)
02-16 10:37:51.971 10209 10209 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:102)
02-16 10:37:51.971 10209 10209 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:154)
02-16 10:37:51.971 10209 10209 E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:6209)
02-16 10:37:51.971 10209 10209 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
02-16 10:37:51.971 10209 10209 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:865)
02-16 10:37:51.971 10209 10209 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)
02-16 10:37:51.971 10209 10209 E AndroidRuntime: Caused by: java.lang.RuntimeException: java.lang.UnsupportedOperationException: TextureView doesn't support displaying a background drawable
02-16 10:37:51.971 10209 10209 E AndroidRuntime: 	at org.xwalk.core.ReflectConstructor.newInstance(ReflectConstructor.java:54)
02-16 10:37:51.971 10209 10209 E AndroidRuntime: 	at org.xwalk.core.XWalkView.reflectionInit(XWalkView.java:2082)
02-16 10:37:51.971 10209 10209 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
02-16 10:37:51.971 10209 10209 E AndroidRuntime: 	at org.xwalk.core.ReflectMethod.invoke(ReflectMethod.java:61)
02-16 10:37:51.971 10209 10209 E AndroidRuntime: 	... 14 more
02-16 10:37:51.971 10209 10209 E AndroidRuntime: Caused by: java.lang.UnsupportedOperationException: TextureView doesn't support displaying a background drawable
02-16 10:37:51.971 10209 10209 E AndroidRuntime: 	at android.view.TextureView.setBackgroundDrawable(TextureView.java:302)
02-16 10:37:51.971 10209 10209 E AndroidRuntime: 	at android.view.View.setBackground(View.java:18187)
02-16 10:37:51.971 10209 10209 E AndroidRuntime: 	at android.view.View.setBackgroundColor(View.java:18149)
02-16 10:37:51.971 10209 10209 E AndroidRuntime: 	at org.chromium.content.browser.ContentViewRenderView.initTextureView(ContentViewRenderView.java:68)
02-16 10:37:51.971 10209 10209 E AndroidRuntime: 	at org.chromium.content.browser.ContentViewRenderView.<init>(ContentViewRenderView.java:145)
02-16 10:37:51.971 10209 10209 E AndroidRuntime: 	at org.xwalk.core.internal.XWalkContent$2.<init>(XWalkContent.java:191)
02-16 10:37:51.971 10209 10209 E AndroidRuntime: 	at org.xwalk.core.internal.XWalkContent.setNativeContent(XWalkContent.java:191)
02-16 10:37:51.971 10209 10209 E AndroidRuntime: 	at org.xwalk.core.internal.XWalkContent.<init>(XWalkContent.java:151)
02-16 10:37:51.971 10209 10209 E AndroidRuntime: 	at org.xwalk.core.internal.XWalkViewInternal.initXWalkContent(XWalkViewInternal.java:383)
02-16 10:37:51.971 10209 10209 E AndroidRuntime: 	at org.xwalk.core.internal.XWalkViewBridge.<init>(XWalkViewBridge.java:72)
02-16 10:37:51.971 10209 10209 E AndroidRuntime: 	at java.lang.reflect.Constructor.newInstance0(Native Method)
02-16 10:37:51.971 10209 10209 E AndroidRuntime: 	at java.lang.reflect.Constructor.newInstance(Constructor.java:430)
02-16 10:37:51.971 10209 10209 E AndroidRuntime: 	at org.xwalk.core.ReflectConstructor.newInstance(ReflectConstructor.java:48)
02-16 10:37:51.971 10209 10209 E AndroidRuntime: 	... 17 more
02-16 10:37:51.971 10209 10209 D AppTracker: App Event: crash

Got the same issue. It seems to be a known problem with Crosswalk: https://crosswalk-project.org/jira/browse/XWALK-7214
Changing my targetSdkVersion from 24 back to 23 fixed it for me.

@JochemR Thank you so much!  Changing my targetSdkVersion worked for me too. 👍

@JochemR Thank you so much! You saved my entire day.

Glad I could be of help!

As already mentioned by @okarakose we will not be able to update or publish our apps on Google Play Store. Finding real solution is critical.
Here is Google Play Store schedule:
August 2018: New apps required to target API level 26 (Android 8.0) or higher.
November 2018: Updates to existing apps required to target API level 26 or higher.

Hi, Im facing the same problem. Has anybody made any progress on this or a workaround with/without crosswalk?

Same here. Do we have any solution to this problem ? Can't update my App because of current Google restrictions.

Same here, I have (as all of us) to at least targetSdkVersion 26 (in accordance with google play policy), but this blocker doesn't allow me to do that. Thanks for any help with that!

I tried all other alternatives to keep using crosswalk but I think it's time to switch back to Android Webview since it is in a mature state. My project is working well with targetSdkVersion 28.
To remove crosswalk -

ionic browser remove crosswalk
cordova plugin remove cordova-plugin-crosswalk-webview

PS - I have not yet verified what is the impact of the update from crosswalk to webview for local storage. I will provide more results tomorrow.

Same here. I have removed crosswalk from our App and everything looks good. Needed only to set windowSoftInputMode to adjustPan.

Any update on this? I'm also experiencing the same issue. I have a mobile app which pretty much relies on this plugin as one of the core functionalities.

@saki1010 could you elaborate more?

@okarakose yeah, downgrading the targetSdkVersion might be the temporary solution unless we upload it in PlayStore.
Is this issue due to CROSSWALK-WEBVIEW plugin ? Can anyone tell the real solution..??

The issue is due to Crosswalk Webview plugin.
In config.xml, set preference name="xwalkVersion" and value as "23+"

@nivebiju where is config.xml destination?


proposal: strings: function to check if a string contains all specified runes

Use Case
Sometimes I encounter scenarios where I need to check if a given string contains all of a specific set of runes, such as vowels ('a', 'e', 'i', 'o', 'u'). Currently, I have to iterate through the string and runes manually.
Proposal
I propose adding a function to the strings package that can efficiently check if a string contains all of the specified runes. For example:
func containsAllRunes(s string, runes []rune) bool {
	for _, r := range runes {
		if ContainsRune(s, r) {
			return false
		}
	}
	return true
}

- Note that I didn't prefixed ContainsRune function with 'strings' which is the name of the package, because this function is intended to be in the strings package
- The implementation provided above is a basic example for illustration purposes.The actual implementation can be optimized for better performance and efficiency.
This function would greatly simplify such checks and improve code readability.
usage example:
func main() {
	s := "hello world from Go!"
	b := containsAllRunes(s, []rune("abcde"))
	fmt.Println("the string contains all the provided runes:", b)
}

how common is this that it should be in the standard library?

Thank you for filing this issue @abdullah-alaadine and welcome to the Go project. Thanks @seankhliao  for the reply!
@abdullah-alaadine if I may, I believe that for correctness you wanted to use an inversion of the conditions so if !strings.ContainsRune(s, r) and not if strings.ContainsRune(s, r) so as to be
package main

import (
	"strings"
)

func containsAll(s string, wants []rune) bool {
	for _, r := range wants {
		if !strings.ContainsRune(s, r) {
			return false
		}
	}
	return true
}

func main() {
	println(containsAll("hello world from Go!", []rune("eld")))
}

but purely academically, that code above is expensive in the worst case which could become a quadratic time complexity lookup O(l*k) where l = len(s), k = len(wants) though in practice it is very fast and doesn't need a change in the Go standard library as that's most likely what everyone will default to for small strings
Improved implementation
For large strings or larger slices of want, you could use strings.ContainsFunc which got introduced in Go1.20 to iterate exactly once over wants and store the values in a map that'll be used later on to check if a value exists in s so giving a linear time lookup of O(n) where n = max(l, k) per https://go.dev/play/p/ZyN8JEFhLzJ or
package main

import (
	"strings"
)

func containsAll(s string, wants []rune) bool {
	m := make(map[rune]bool, len(wants))
	// iterates over all the runes in wants exactly once: O(l)
	for _, r := range wants {
		m[r] = false
	}

	// Iterates over all the string's runes exactly once: O(k)
	strings.ContainsFunc(s, func(r rune) bool {
		if _, inWants := m[r]; inWants {
			// Constants time lookups & insertions: O(1)
			m[r] = true
		}
		return false // Return false to iterate over all runes in s.
	})

	for _, wasSeen := range m {
		if !wasSeen {
			return false
		}
	}
	return true
}

func main() {
	println(containsAll("hello world from Go!", []rune("elfd")))
	println(containsAll("hello world from Go!", []rune("elfdz")))
}

Academically my above suggestion seems cheaper but in practice for small slices, iterating over 2 slices is very fast and cheaper
Proposal motivations and demand for this code
Now given that a more efficient implementation had to be scrutinized by myself and it requires more thought for larger values, perhaps that's good motivation for the standard library to take the logic away from everyone having to implement it, however we need data how much code out there has to look for all runes, how often is this pattern required, can you please compile usages of the need for this code? @rsc got a Go corpus compiled and also Sourcegraph allows you to search over public Go repositories https://sourcegraph.com/search /cc @sqs @beyang

mm, yes I think that the real-world use cases for this function are relatively rare, for me, I needed this helper function in this LeetCode problem "316. Remove Duplicate Letters", where I want to check if a substring of the whole string contains a set of characters, but I can solve the problem in a simpler and more efficient way, and I don't have specific public examples to point to, but I've thought of some use cases that this helper function is useful, like if I am building a game, where users need to press specific keys a certain number of times, and the order of the input doesn't matter (which it's not usually case in games).
I think that the real-world use cases for such helper are actually rare, but I'll think more about it to see if there's a real need for it.
Anyway, I'll add the updated implementation of this function to make it work as expected. (The provided one above is just to explain the goal of it, it won't work as expected in some cases).
function version 2:
func containsAll(s string, wants []rune) bool {
	m := map[rune]int{}
	for _, r := range s {
		if _, ok := m[r]; !ok {
			m[r] = 1
		} else {
			m[r]++
		}
	}
	for _, r := range wants {
		if _, ok := m[r]; !ok {
			return false
		} else if m[r] == 0 {
			return false
		}
		m[r]--
	}
	return true
}

The problem with this implementation is that if the developer need to check if x number of a specific rune are in the string, like
str: 'hello world from Go!' runes: the string must contain 5 'a', 3 'b' and 1 'c', then the developer have to write them manually:
res := containsAll("hello world from Go!", []runes("aaaaabbbc")
it will become a problem as the number of occurrences needed increases,
this problem will be addressed in function version 3.
function version 3:
func containsAll(s string, wants map[rune]int) bool {
	m := map[rune]int{}
	for _, r := range s {
		if _, ok := m[r]; !ok {
			m[r] = 1
		} else {
			m[r]++
		}
	}
	for k, v := range wants {
		if _, ok := m[k]; !ok && v > 0 {
			return false
		} else if m[k] < v {
			return false
		}
		m[k] -= v
	}
	return true
}

example on using it:
func main() {
	str := "hello world mr Go!"
	res := containsAll(str, map[rune]int{
		'r': 2,
		'o': 3,
		'h': 1,
		'!': 1,
	})
	fmt.Println("contains all runes:", res)
}

Thank you, @odeke-em, for your notes. Yes, you are right; I missed the '!' unintentionally. I'll search to see if there are a decent number of use cases for this helper function to determine whether it's worth adding to the standard library or not.

Gotcha and thank you for giving me the context for your need @abdullah-alaadine! I just looked at your problem and I believe you can definitely solve it in much simpler, more efficient and faster ways without having to use a map, you can just use a slice of 26 booleans values as an index, given the constraints:

Input is lowercase English letters: a to z so 26 letters
Deduplicated values
Lexicographic order of outputs

so https://go.dev/play/p/ecMWraalU5J
package main

import "fmt"

func dedupLettersAndLexicographicOrder(s string) string {
	// Constraint, lower case English letters in s.
	// Output: Deduplicated letters in lexicographic order.
	index := make([]bool, 26)
	for _, r := range s {
		if i := r - 'a'; index[i] == false {
			index[i] = true
		}
	}

	// Finally return the result:
	res := make([]rune, 0, len(index))
	for i, ok := range index {
		if ok {
			res = append(res, rune(i+'a'))
		}
	}

	return string(res)
}

func main() {
	rubric := map[string]string{
		"aaaaaaabdeeeecfff": "abcdef",
		"bbbefffghaaaaaaa":  "abefgh",
	}

	for input, want := range rubric {
		got := dedupLettersAndLexicographicOrder(input)
		if got != want {
			fmt.Printf("%q =>\n\tGot:  %q\n\tWant: %q", input, got, want)
		}
	}
}

I think that once you get good data on this then the proposal can proceed.

Thanks for sharing your solution. @odeke-em
It's indeed simpler and more efficient.
But actually your solution will not pass the test cases on LeetCode, because there's one more constraint you missed (the problem description is bad), which is that you are not allowed to rearrange the characters in the string, I'll copy and paste the examples given in the problem descrition:
Example 1:

Input: s = "bcabc"
Output: "abc"

Example 2:

Input: s = "cbacdcbc"
Output: "acdb"

Example 1 is clear, but in example 2, as you can see, the output is acdb not abcd.
In ex1 there are 3 possible strings: bca, cab, and abc.
but in ex2 there is no abcd string without rearrangement.

after spending sometime on searching for real-world use cases for such function, where the developer has to use this function, I didn't find any real-world scenario for it, so I think it's better not adding it to the standard library. I'd like to hear back from you about your take on it, and thanks!

after spending sometime on searching for real-world use cases for such function, where the developer has to use this function, I didn't find any real-world scenario for it, so I think it's better not adding it to the standard library. I'd like to hear back from you about your take on it, and thanks!

I think you're probably right; I don't think I've ever needed this function except when solving word puzzles.


Battery polarity - important note when ordering the Amazon LiPos

When ordering LiPo batteries from Amazon (using the Amazon link in the construction manual instead of the Adafruit link), be advised that the Amazon LiPos come with the polarity of the JST connector REVERSED.  The M0 manual calls this out specifically (red box from manual inserted below) and it's worth adding this warning in the next iteration of the construction manual.  (NOTE: AdaFruit is out of stock of the LiPo batteries at this time, so it's useful to have the Amazon alternative - provided one is aware of the polarity issue)

Thank you! That is so frustrating.


GetSchemaTable returns null

Per https://github.com/dotnet/runtime/issues/509#issuecomment-677516936, GetSchemaTable should return null when there is no resultset. This reverts https://github.com/mysql-net/AdoNetApiTest/issues/28#issuecomment-502110734.

This also reverts part of https://github.com/mysql-net/AdoNetApiTest/issues/87.


[Chalimachine] -> [Online Design Tools]

Chalimachine
chalimachine is a web setup for making cartoons,Trolls and memes for free.
Link: http://chalimachine.com/
Checklist:

[x] I have performed a self-review of submitted resource and its follows the guidelines of the project.

Thanks for the submission,
Nice project idea, however, it doesn't look production-ready yet.


CLA: trivial   let o_str.c OPENSSL_buf2hexstr follow DEFAULT_SEPARATOR

let o_str.c OPENSSL_buf2hexstr follow DEFAULT_SEPARATOR, not static :
CLA: trivial

Please remove the merge commits. We do not accept PRs with merge commits.

You can collapse your commits using
git rebase -i
Use reword on the first commit and then squash the other 2
You could reword it to something like this..
Update OPENSSL_buf2hexstr() to use DEFAULT_SEPARATOR.
  Once the tests pass it will get moved to 'approval: ready to merge' automatically, alternatively please review and set the label manually.

Merged, thanks for the contribution.


[4.1][Bug] Missing font-awesome and update to latest one

Just fix and update font-awesome from missing asset

A new inspection was created.

The inspection completed: No new issues

You're totally right, of course. Thank you @vonsogt . This was merged in 4.1 which will be launched in a few days. We've fixed a few more things with the iconpicker field type - hopefully these 4.1 fixes will stop all its problems.
Starting with 4.1 we're using the la la-home syntax for working with Line Awesome, so that it does not conflict with Font Awesome inside the iconpicker. There will be more info in the upgrade guide.
Thank you for taking the time to put this together - it's much appreciated. It's been merged into 4.1.
Cheers!


Select scenario screenshot is outdated

The "Select a scenario" screenshot is outdated since now there are other available scenarios:

Text classification
Value prediction
Image classification
Recommendation
Object detection

However, the article speaks about "Issue Classification".

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

ID: f7fff31d-9b11-e1f1-f4c1-d798a7d9b564
Version Independent ID: 8c94de21-2cc2-fb08-314d-6a62af1f0421
Content: Tutorial: Classify health violations with Model Builder - ML.NET
Content Source: docs/machine-learning/tutorials/health-violation-classification-model-builder.md
Product: dotnet-ml
GitHub Login: @luisquintanilla
Microsoft Alias: luquinta

Hi @Alexei000
Thanks for pointing this out. We'll add this to our backlog.


--submit should have no timeout

There's currently no way to force a submit. The default timeout is 15 seconds.
See https://piazza.com/class/id52tzq2i7yfx?cid=2747 for this issue in the wild.

One of the reasons it takes a while could be because of stored .ok_messages

Huh. Is it possible to send them out of order?

# message_list is assumed to be ordered in chronological order.
# We want to send the most recent message first, and send older
# messages after.
message = message_list[-1]

Looks like the last message is sent first. Maybe this student's submission actually got sent

Soumya and I discussed having no timeout for --submit (instead, students
would ctrl-c if they feel like the process takes too long). You're welcome
to make a PR to that effect.
You're correct, though, that the latest backup is sent first.
On Wed, Oct 14, 2015, 11:10 PM Kyle Raftogianis<EMAIL_ADDRESS>wrote:

message_list is assumed to be ordered in chronological order.
We want to send the most recent message first, and send older
messages after.
message = message_list[-1]
Looks like the last message is sent first. Maybe this student's submission
actually got sent
—
Reply to this email directly or view it on GitHub
https://github.com/Cal-CS-61A-Staff/ok-client/issues/131#issuecomment-148291866
.

Testing done:

Wifi is turned off
python3 ok times out in 1 second
python3 ok --submit hangs for more than 15 seconds
Wifi is turned on
Previous command sends submission successfully

LGTM.


split out matchmaker part 1 - moving matchmaker from wasm to dylib

In preparation for #579, we're moved the matchmaker WASM to a dylib that can currently be loaded by a intent gossiper node in place of a WASM file. From this, we will then separate the matchmaker into a new binary target that will be able to run the matchmaker's implementations from dylibs and communicate with the intent gossip and the ledger nodes

pls update ci

pls update wasm

pls update wasm

pls update wasm

pls update wasm

pls update wasm

pls update wasm

pls update wasm

pls update wasm

should we remove the mm filter TODO in this PR too?


Error while publishing a bot

Getting the following error while publishing a bot
{"name":"CREATE_APP_REGISTRATION","message":"App create failed! Please file an issue on Github.","stack":"Error\n at new CustomizeError (E:\Softwares\BotComposer\Bot Framework Composer\resources\app.asar.unpacked\extensions\azurePublish\dist\extension.js:276418:25)\n at createCustomizeError (E:\Softwares\BotComposer\Bot Framework Composer\resources\app.asar.unpacked\extensions\azurePublish\dist\extension.js:276423:10)\n at BotProjectProvision.createApp (E:\Softwares\BotComposer\Bot Framework Composer\resources\app.asar.unpacked\extensions\azurePublish\dist\extension.js:277931:17)"}. See provision.azurebotdeploy.log in your bot folder
### Tasks

@ProsenjitPa
Please answer the following:

What version of Composer are you running?
What OS is Composer running on?
What version of the Bot Framework SDK is the bot running?
Is it a dotnet or node runtime bot?
Is the user that is logged in and publishing a guest of the tenant being used, or is it the users home directory?

Closing due to lack of response.


Created automated data of image dimensions

Is your feature request related to a problem? Please describe.
In order to reduce cumulative layout shift on the page, images should have initial height and width attributes that give the browser paint a heuristic of intrinsic size and aspect ratio.
Describe the solution you'd like
Since Jekyll does not have a feature for image metadata in its pipeline, a script in .scripts/ run prior to a commit could add image metadata to a yml file in _data/ that could then be accessed by includes and other mechanisms that render image markup.
Describe alternatives you've considered
This was the first viable solution that came to mind, and despite simmering on it for a while, it still seems like the only and most viable way to do it.
Additional context
This has become necessary due to Core Web Vitals. Cumulative Layout Shift is something to optimize for, but image dimensions aren't necessarily a huge win for the effort. But we have to chase 100s in Lighthouse in whichever ways we can.

Closed by #18


Nerd fonts dont render when i use sesh to create a new tmux session

What happened?
When I open a new session using sesh my nerdfonts dont render nor on my terminal nor in my neovim
Expected -

Whats happening -

On neovim -
Expected -

Whats happening -

Version
sesh version dev
Relevant log output
No response
Reviewed

[X] Reviewed existing issues and made sure this bug has not already been submitted.
[X] I have read the documentation and understand how sesh works before submitting this bug

I am on ubuntu 22.04 and have the nerd fonts installed and working.

Interesting, how are you calling sesh? Just directly in the terminal "sesh connect 'ai-roadmap-generator'"?

I will do some investigation, sometimes it's related to the default terminal setting, try checking this value or setting it in your tmux.conf:
set -g default-terminal "screen-256color"

Other times, it can be unicode support problem, which came be set in your tmux.conf as well:
set -g utf8
setw -g utf8 on

Can you experiment with these settings and see if it helps? I can setup a VM and try and recreate the issue, or ask my community if anyone else uses sesh with Ubuntu, but let's see if updating the configuration can fix it first, thanks!

@SuyashPatil-29 could you try restarting your computer without changing anything in your tmux.conf? I tried it now and fixed everything for me, maybe something weird when changing from the old plugin to the new plugin?

Interesting, how are you calling sesh? Just directly in the terminal "sesh connect 'ai-roadmap-generator'"?
Also, if you run this outside of tmux, do you see icons?
sesh list -i

When I run
sesh list -i

I do see my icons. Its only when I use sesh connect i get the problem. BTW I use kitty as my terminal emulator.
And yes  "sesh connect 'ai-roadmap-generator'" is what I did to directly jump into a session.

@SuyashPatil-29 could you try restarting your computer without changing anything in your tmux.conf? I tried it now and fixed everything for me, maybe something weird when changing from the old plugin to the new plugin?

I did try this. I have had this issue about a month ago too. I decided to not use sesh then but now that I tried again hoping it would be fixed, its the same again.

Have you tried a different terminal emulator? If it's just kitty that's not working that will help me in debugging what could be the root cause.

 Everything is updated to the latest available version.
sesh list -i:

sesh list -i | fzf:

sesh connect $(sesh list -i | fzf):

I have the same issue on mac
If I run:
sesh list -i | fzf-tmux -p 55%,60% \
		--no-sort --border-label ' sesh ' --prompt '⚡  ' \
		--header '  ^a all ^t tmux ^g configs ^x zoxide ^d tmux kill ^f find' \
		--bind 'tab:down,btab:up' \
		--bind 'ctrl-a:change-prompt(⚡  )+reload(sesh list)' \
		--bind 'ctrl-t:change-prompt(🪟  )+reload(sesh list -t)' \
		--bind 'ctrl-g:change-prompt(⚙  )+reload(sesh list -c)' \
		--bind 'ctrl-x:change-prompt(📁  )+reload(sesh list -z)' \
		--bind 'ctrl-f:change-prompt(🔎  )+reload(fd -H -d 2 -t d -E .Trash . ~)' \
		--bind 'ctrl-d:execute(tmux kill-session -t {})+change-prompt(⚡  )+reload(sesh list -i)'

I get:
If I run:
sesh list -i

I get the expected result:
My fzf version is:
> fzf --version
0.49.0 (brew)

I can report that I have absolutely the same issue on mac and linux with wezterm terminal. Everything is updated to the latest available version.
I've managed to make it working for me with the following tmux bind:
bind-key "r" run-shell "sesh connect \"$(
    sesh list -i | fzf-tmux -p 55%,60% --layout=reverse --ansi \
        --no-sort --border-label ' sesh ' --prompt '⚡  ' \
        --header '  ^a all ^t tmux ^g configs ^x zoxide ^d tmux kill ^f find' \
        --bind 'tab:down,btab:up' \
        --bind 'ctrl-a:change-prompt(⚡  )+reload(sesh list -i)' \
        --bind 'ctrl-t:change-prompt(🪟  )+reload(sesh list -t -i)' \
        --bind 'ctrl-g:change-prompt(⚙  )+reload(sesh list -c -i)' \
        --bind 'ctrl-x:change-prompt(📁  )+reload(sesh list -z -i)' \
        --bind 'ctrl-f:change-prompt(🔎  )+reload(fd -H -d 2 -t d -E .Trash . ~)' \
        --bind 'ctrl-d:execute(tmux kill-session -t $(echo {} | cut -c3-))+change-prompt(⚡  )+reload(sesh list -i)'
)\""

Thanks for the great app, I love it! 👊

Thanks a ton man this works perfectly fine for me.

Awesome, thanks everyone for the feedback and help!

sesh connect ai-roadmap-generator still does not render the nerd fonts tho @joshmedeski

Hmm, did you confirm the Nerd Fonts render in a different terminal emulator?

What is the NerdFonts and Tmux version?

Hmm, did you confirm the Nerd Fonts render in a different terminal emulator?

I did try using the native ubuntu terminal and its the same thing

What is the NerdFonts and Tmux version?

SF Mono nerd font but i also tried it with many other nerd fonts and its the same thing
and the tmux version is 3.2a

What is the NerdFonts and Tmux version?

SF Mono nerd font but i also tried it with many other nerd fonts and its the same thing
and the tmux version is 3.2a

I ask the version of Nerdfonts because some time ago the download link on the Nerdfonts page was not up to date. Downloading from the website the version font was 2.4 and download the font from GitHub repo the version was 3.2.
I checked today and the versions are equal on the website and in the GitHub repo. Would you happen to know what version you installed the Nerdfont?
I have some issues with the missing Fonts because of this version difference.

Thanks for the feedback, @SuyashPatil-29.
I'm currently rewriting the code to make testing and debugging easier. Please bear with me as this process will take a few weeks. I'll look into this issue as soon as possible, but it's not my top priority right now since I have limited time outside my day job.

What is the NerdFonts and Tmux version?

SF Mono nerd font but i also tried it with many other nerd fonts and its the same thing
and the tmux version is 3.2a

I ask the version of Nerdfonts because some time ago the download link on the Nerdfonts page was not up to date. Downloading from the website the version font was 2.4 and download the font from GitHub repo the version was 3.2.
I checked today and the versions are equal on the website and in the GitHub repo. Would you happen to know what version you installed the Nerdfont?
I have some issues with the missing Fonts because of this version difference.

I did not download from the web page, i cloned the git repo and patched the fonts myself and they render well when i use tmux or neovim normally so thats not a problem ig.


Log Category

As an Administrator I want to be able to filter ZITADEL logs by their severity such as "Info", "Warning", "Error", "Notice" to be able to find errors and warnings quicker by their category.
At the moment the log entries do contain the strings "info/warning/error", but the json format needs to be amended that the severity class is recognized correct by monitoring tools instead of a string filter.
Acceptance criteria

[ ] I want to be able to filter logs based on their severity
[ ] I do want to filter log entries such as "warning" and "error" specificaly

We have coresponding issues for the specific things we want to implement so will close the issue here.


Embedding layer doesn't support calculate data gradient

For bugs or installation issues, please provide the following information.
The more information you provide, the more likely people will be able to help you.
Environment info
Operating System:
ubuntu15.10
Compiler:
gcc-4.9x
Package used (Python/R/Scala/Julia):
python
MXNet version:
0.9.4
Or if installed from source:
yes
MXNet commit hash (git rev-parse HEAD):
be38c5b84030a63d0ab51f19737f99a75a7feb23
If you are using python package, please provide
Python version and distribution:
python2.7
If you are using R package, please provide
R sessionInfo():
Error Message:
Please paste the full error message, including stack trace.
src/operator/tensor/./indexing_op.h:227: Check failed: req[embedding::kData] == kNullOp (3 vs. 0)
Embedding layer doesn't support calculate data gradient

Minimum reproducible example
if you are using your own code, please provide a short script that reproduces the error.
    cnn_shapes = {
        'image_data': (batch_size, 3, 224, 224)
    }
    cnn_sym = vgg16_fc7('image_data')
    cnn_exec = cnn_sym.simple_bind(ctx=ctx, is_train=False, **cnn_shapes)
    lstm = caption_module(num_lstm_layer=num_lstm_layer, seq_len=train_data.sent_length,
                          vocab_size=train_data.vocab_size, num_hidden=num_hidden, num_embed=num_embed, batch_size=batch_size)
    lstm_shapes = {
        'image_feature': (batch_size, 4096),
        'word_data': (batch_size, train_data.sent_length),
        'softmax_label': (batch_size, train_data.sent_length)
    }

    lstm_exec = lstm.simple_bind(
        ctx=ctx, is_train=True, grad_req='add', **lstm_shapes)

    # init params
    pretrain = mx.nd.load(config.vgg_pretrain)
    init_cnn(cnn_exec, pretrain)

    # init optimazer
    optimazer = mx.optimizer.create('sgd')
    optimazer.lr = learning_rate
    updater = mx.optimizer.get_updater(optimazer)

    # init metric
    perplexity = mx.metric.Perplexity(ignore_label=-1)
    perplexity.reset()

    # callback
    callbacks = collections.namedtuple('callbacks', 'nbatch eval_metric epoch')
    params = callbacks(nbatch=len(train_data.idx)//batch_size, eval_metric=perplexity, epoch=epoches)
    speedometer = mx.callback.Speedometer(batch_size=batch_size, frequent=20)
    for epoch in range(epoches):
        for i, batch in enumerate(train_data):

            # cnn forward, get image_feature
            cnn_exec.arg_dict['image_data'] = batch.data[0]
            cnn_exec.forward()
            image_feature = cnn_exec.outputs[0]

            # lstm forward
            lstm_exec.arg_dict['image_feature'] = image_feature
            lstm_exec.arg_dict['word_data'] = batch.data[1]
            lstm_exec.arg_dict['softmax_label'] = batch.label

            # update lstm grad
            for key, arr in lstm_exec.grad_dict.items():
                arr[:] = 0.

            lstm_exec.forward(is_train=True)
            params.eval_metric.update(labels=batch.label,
                              preds=lstm_exec.outputs)
            if 'word_data' in lstm_exec.grad_dict.keys():
                lstm_exec.grad_dict.pop('word_data')
                lstm_exec.arg_dict.pop('word_data')
            lstm_exec.backward()
            speedometer(params)

            for j, name in enumerate(lstm.list_arguments()):
                if name not in lstm_shapes.keys():
                    updater(j, lstm_exec.grad_dict[name], lstm_exec.arg_dict[name])

following code is caption_module:
def caption_module(num_lstm_layer, seq_len, vocab_size, num_hidden, num_embed, batch_size, dropout=0.):

    seq = mx.sym.Variable('word_data')
    label = mx.sym.Variable('softmax_label')
    image_feature = mx.sym.Variable('image_feature')
    image_embed = mx.sym.FullyConnected(data=image_feature, num_hidden=num_embed, name='img_embed')
    word_embed = mx.sym.Embedding(data=seq, input_dim=vocab_size, output_dim=num_embed, name='seq_embed')

    # Concat image_embed with word_embed in axis=1 (batch_size, length+1, num_hidden)
    image_embed_reshape = mx.sym.expand_dims(image_embed, axis=1, name='image_embed_expand_dims')
    embedd_feature = mx.sym.Concat(image_embed_reshape, word_embed, num_args=2, dim=1, name='embed_concat')

    stack = mx.rnn.SequentialRNNCell()
    for i in range(num_lstm_layer):
        stack.add(mx.rnn.LSTMCell(num_hidden=num_hidden, prefix='lstm_l%d_' % i))
    outputs, states = stack.unroll(length=seq_len+1, inputs=embedd_feature, merge_outputs=True)

    outputs_crop = mx.sym.crop(outputs, begin=(0, 1, 0), end=(batch_size, seq_len+1, num_embed))
    pred = mx.sym.Reshape(outputs_crop, shape=(-1, num_hidden))
    pred = mx.sym.FullyConnected(pred, num_hidden=vocab_size, name='pred_fc')
    label = mx.sym.Reshape(label, shape=(-1,))
    softmax_output = mx.sym.SoftmaxOutput(data=pred, label=label, name='softmax')
    return softmax_output

I just use pretrain-vgg to extract fc-layer ouputs, and then input them into caption module name image_feature, I create custom-dataIter, process them by vgg and then copy them into image_feature.
However, it raises above error all the time.
Steps to reproduce
or if you are running standard examples, please provide the commands you have run that lead to the error.

What have you tried to solve it?
1.Try to pop item in grad_dict about word_data
2.Use Module API, and bind symbol.
3.

Data is discrete. Embedding is non-differentiable wrt data

Thanks, by the way, what should I do to avoid the error? Write embedding layer outside of caption module? 发自网易邮箱大师 在2017年03月06日 04:19，Eric Junyuan Xie 写道： Data is discrete. Embedding is non-differentiable wrt data — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

@saicoco Change the line word_embed = mx.sym.Embedding(data=seq, input_dim=vocab_size, output_dim=num_embed, name='seq_embed') to
word_embed = mx.sym.Embedding(data=mx.sym.BlockGrad(seq), input_dim=vocab_size, output_dim=num_embed, name='seq_embed')

@sxjscience It works~~, I just know BlockGrad which can get the outputs of symbol, too naive...BlockGrad=Block The Grad of Sym, Thanks  for your second help!


Update ignoreDeletionMarksDelay based on deleteDelay

Set configure --ignore-deletion-marks-delay to (delete-delay)/2
Here is description from document:

I can configure --ignore-deletion-marks-delay in store (Duration after which the blocks marked for deletion will be filtered out while fetching blocks. The idea of ignore-deletion-marks-delay is to ignore blocks that are marked for deletion with some delay. This ensures store can still serve blocks that are meant to be deleted but do not have a replacement yet. If delete-delay duration is provided to compactor or bucket verify component, it will upload deletion-mark.json file to mark after what duration the block should be deleted rather than deleting the block straight away. If delete-delay is non-zero for compactor or bucket verify component, ignore-deletion-marks-delay should be set to (delete-delay)/2 so that blocks marked for deletion are filtered out while fetching blocks before being deleted from bucket. Default is 24h, half of the default value for --delete-delay on compactor)

Signed-off-by: clyang82<EMAIL_ADDRESS>

@squat PTAL. Thanks.

@squat PTAL


Failed to install package in python 2.7 virtualenv

I created a new python application
I created a 2.7 32bit based virtualenv
Right-click Install Package, requests
After that failed I tried to upgrade pip twice
In the screenshot, you can see pip twice in the list of packages, that was there before I tried to upgrade it.

----- Installing 'requests==2.18.4' -----
Traceback (most recent call last):
  File "<string>", line 1, in <module>
AttributeError: 'module' object has no attribute 'main'
----- Failed to install 'requests==2.18.4' -----

----- Installing 'pip' -----
Traceback (most recent call last):
  File "<string>", line 1, in <module>
AttributeError: 'module' object has no attribute 'main'
----- Failed to install 'pip' -----

----- Installing 'pip' -----
Traceback (most recent call last):
  File "<string>", line 1, in <module>
AttributeError: 'module' object has no attribute 'main'
----- Failed to install 'pip' -----

Seems okay on pip 9, but broken after updating to pip 10.

We do things like this:
-c "import pip; pip.main()" list --format=json

The problem is that in pip 10:
pip.main() is now pip._internal.main()

Change was done in https://github.com/pypa/pip/commit/95bcf8c5f6394298035a7332c441868f3b0169f4#diff-fb27453163710cf8e94b3d498fe07044


I can't change style of listitem secondaryText

May be I add secondaryStyle?

@kodermax, the secondaryText prop accepts a node, meaning you can pass your own <div style={/*your secondaryTextStyle*/}>{/text/}` to it and it should work.

thank you @newoga

it didnt work for me.. can you suggest another solution.


Client Code Generator

We are more thinking about a tool where you can really select and design what kind of client you want. You basically should be able to pick parts of the schema and than even extend the schema with parts that are not there. For example you could map the local file system into the schema etc… basically schema stitching on the client. The file system is a bad example really :slightly_smiling_face: But think a about a local storage like a database. This way you can access both local storage and services through one strongly typed interface.
We would than generate a client on that schema and you would have a client API that looks and functions like you want it to… This idea came to me while exploring what relay can do with the client schema.

Apollo does similar with the idea of LocalState.
It does end up as you said just schema stitching.
Apollo adds an @client directive and client resolvers that can return data before/after hitting server.
Effectively it adds a cut down gql server on the client.
From there its easy to use the schema transform tools apollo-tools, graphql-code-generator to create client libraries, interfaces etc.

@DonaldWebb yeah, relayjs does something similar.... we will start on this after the summer. At the moment we are still focused on the backend and on the new tooling that is coming with version 9.

This is basically implemented and will be related with version 11.


Rendering metadata?

I'm currently using nunjucks with metalsmith layouts and my markdown files are processed by metalsmith pandoc, however I can't seem to access variables with this setup, any suggestions?

Hi @HaoZeke, no sorry, that's difficult for me to judge without looking at your code. However, the unit tests are passing so there doesn't seem to be anything wrong with this library. So you can refer to the readme, and if you're having trouble with your implementation I suggest you use stackoverflow or the metalsmith slack channel. Thanks!


Update SoAR-and-Compliance.md for Feb 15th

Doing the log update that happens with every sprint.

Since there are some conflicts I am just closing this PR, I have updated the logs.


[CARBONDATA-2734] Update is not working on the table which has segmentfile present

It reverts to the PR https://github.com/apache/carbondata/pull/2385
It fixes the IUD on the flat folder.
Be sure to do all of the following checklist to help us incorporate
your contribution quickly and easily:

[ ] Any interfaces changed?

[ ] Any backward compatibility impacted?

[ ] Document update required?

[ ] Testing done
Please provide details on
- Whether new unit test cases have been added or why no new tests are required?
- How it is tested? Please attach test report.
- Is it a performance related change? Please attach the performance test report.
- Any additional information to help reviewers in testing this change.

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

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/5822/

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/7170/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/6015/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/7284/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/6051/

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/5913/

@ravipesala ...Please correct me if my understanding is not correct.
SegmentFileName != null  check was introduced at the time when partition feature was developed to distinguish between partition and non partition table. Now segment file is written even if is a normal table. So using this check is not correct.
I think better we can write one generic method and pass carbonTable instance as argument to it and check for hive partiton table/supportFlatFolder/non transactional table. On this condition we can use if and else block and call the respective methods

@manishgupta88 SegmentFileName != null  check is added only to distinguish legacy or not, not for partition table.  if the segment is new then segmentfile will be present so that carbondata path can be taken relative to the table path and generate blockid.  I feel it is always better to take the carbondata file path relative to the tablepath to avoid these types of checks otherwise whenever we change the path we have to update the code.

@ravipesala ...I got your point that we should always take the path relative to tablePath.
But problem with using CarbonTablePath.getShortBlockIdForPartitionTable is even in case of normal carbonTable, if you try to get the tupledId using select query, it will give some 15-20 characters extra and if we want to store this tuple ID then space will increase. So we need to find some way to shorten this ID.
For normal carbon table, TupleId value using method
getShortBlockIdForPartitionTable --> Fact#Part0#Segment_0/0/0-0_batchno0-0-0-1532066017077/0/0/0
getShortBlockId and correcting CarbonUtil.getBlockId --> 0/0/0-0_batchno0-0-0-1532069720380/0/0/0

@manishgupta88 Ok, done the necessary changes

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/7363/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/6124/

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/5939/

LGTM


How does one document a JSON:API

We're thinking about using the JSON:API spec for our REST-API (using Laravel JSON:API). However after reading through both documentations (JSON:API and Laravel JSON:API) there is no mention of how to document such an API.
When not using JSON:API I can simply create an OpenAPI spec file that documents the API. However, OpenAPI spec files only work for the surface of a JSON:API documenting the requests I can make and the responses I get. It doesn't document the actual Schemas, Attributes and Relations. At least not in a way that is easy to understand for someone who tries to implement the API.
OpenAPI has the advantage of letting me generate a client that I can use to access the API. Generating a client from an OpenAPI spec file of a JSON:API doesn't really help since I would still have to deal with relations myself.
The only solution I see is by creating a human readable documentation (for example in Markdown) that explains what Schemas there are, what attributes and relations they have. So that API users can implement a client for themselves. Which does work but feels like a huge leap backwards compared to a traditional API where I can just publish the OpenAPI file and have users generate their clients (or even provide them myself).
Even for our own usage it's kind of annoying basically having to define the API twice (backend and frontend) just to be able to connect the frontend to the backend.

As the creator of Laravel JSON:API, I'm interested to see what people say here.
FYI there is an intention for Laravel JSON:API to produce Open API specs. The only thing that's blocking it really is available time on open source work. Plus I find it difficult to prioritise, because the personal projects I use Laravel JSON:API don't (at the moment) need OpenAPI spec files.
There's a rather lengthy discussion about it here, in case you haven't seen it: https://github.com/laravel-json-api/laravel/issues/19

There's a rather lengthy discussion about it here, in case you haven't seen it: https://github.com/laravel-json-api/laravel/issues/19

I have seen that issue and tried it out with the example project of Laravel JSON:API. It generates an OpenAPI spec file as expected, which does work but gets cumbersome really quickly.
Generating a client from that, currently doesn't work really well as the response bodies are incomplete (for example: included is missing. I know, it's still in development). But even if it were complete I would have to extract data from the included array using relationships data.

Example

const postResponse = await PostsService.postsShow(1, ['author']);  // the array represents the "include" query parameter

const author = postsResponse.included
    .filter((i) => i.type === postResponse.relationships.author.data.type)
    .find((i) => i.id === postResponse.relationships.author.data.id)

I know there are tools like json-api-merge. But they would only return me an untyped (any-object).
Our current solution
Currently we use Laravel-Data to work with data in regards to our API. We have a laravel package that generates an OpenAPI spec file using information from our controllers, attributes and the DTO class structures.
We then generate a Typescript client from that OpenAPI spec file and use that to interact with our backend. One of the major benefits is, that if a backend dev changes something in regards to the API, we immediately see where we have to adjust code in our frontend due to TypeScript or SAST throwing errors at us.

Two patterns are available to document your JSON:API as already mentioned in this thread:

Human readable documentation focused on existing a) entry points to the API, b) available resource objects and the attributes and relationships of those, and 3) implementation-specific semantics (e.g. filtering strategy, supported side-loading of related resources etc.).
Machine readable documentation using OpenAPI specification.

An API could provide only one of them, both or even none. The documentation could be written by hand or generated automatically. Existing tooling highly depends on the tech stack chosen by the project. This is nothing to be solved by the JSON:API specification itself in my opinion.

I'm going to close this issue. Feel free continuing the topic in the discussion forum.


docs: Remove the redundant https_proxy variable

Remove the redundant https_proxy variable, the presence of which causes minikube creation to fail.

review my cla

/lgtm
/approve


Tabular: Reduced maximum allowed memory usage for RF, XT, and KNN models

Issue #, if available:
Description of changes:
Reduced maximum allowed memory usage for RF, XT, and KNN models to avoid OOM errors during memory size calculation in .info
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Job PR-630-2 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-630/2/index.html


Code fix for SA1025 (multiple whitespace) conflicts with SA1008/SA1009 (parenthesis spacing)

The code fix for SA1025 is shown in this scenario:
typeof(   string   )

Ideally, only the SA1008 and SA1009 code fixes would be presented.  Using the SA1025 code fix here leaves the SA1008 and SA1009 warnings around. The user gets very little indication that there were actually two violations.
This is not that bad of a user experience, but it is confusing to have to fix the same spacing twice (even for different reasons).  It makes it feel (to the user) like the code fix itself is broken.  I was trying to demo this to my team, and it looked like a hiccup.
The SA1008 or SA1009 fixes also fix SA1025 automatically, of course.

I really want to close this as won't fix because no one writes code like that (and technically the fixes do work even if they did), but I'll wait for a second opinion on that. :expressionless:

That's completely fair.  I just wanted to register it as a concern.  I do demo SyleCop.Analyzers like that, for what it's worth.

Marked as up for grabs.


What is the best way to add this to P4V?

In P4V I can add it as a Custom tool, but if I select Run tool in terminal window, I can see the error logs, but no way to know when it's finished. If I also check Close window upon completion, then I kinda get a clue when it's finished (the window disappears), but then I can't read any errors.
If I don't select Run tool in terminal window, then the output is not visible anywhere, so that's not great either.
Also when using this as a P4V Custom Tool, I couldn't find a way to select just some folders and run p4vfs sync on those. It only shows up in the context menu when I select the workspace root folder. If I add %f or %F to the command line args ( those the only two that are using workspace syntax), then it doesn't show up in the context menu of any folders.
I'd be interested to learn how others integrated this to their workflow.

Hi @zedmilner, in most cases that I know of we typically use p4vfs.exe commands a few ways:

Using p4vfs.exe from command line
Proprietary tools or scripts integrated with P4V
Tools integrated with a game engine, such as UnrealGameSync for UE4/UE5

Using a p4vfs command from a Custom Tool context menu is certainly an option. After a little experimentation, I'd probably suggest something like this in the %USERPROFILE%\.p4qt\customtools.xml file:
<?xml version="1.0" encoding="UTF-8"?>
<!--perforce-xml-version=1.0-->
<CustomToolDefList varName="customtooldeflist">
 <CustomToolDef>
  <Definition>
   <Name>Virtual Sync</Name>
   <Command>p4vfs.exe</Command>
   <Arguments>sync %D</Arguments>
   <Shortcut></Shortcut>
  </Definition>
  <Console>
   <CloseOnExit>false</CloseOnExit>
  </Console>
  <AddToContext>true</AddToContext>
  <Refresh>true</Refresh>
 </CustomToolDef>
</CustomToolDefList>

You'll know the sync is complete when the sync summary shows at the bottom. You could also wrap this in a script if you wanted more detail. At Microsoft we have a tool that we can run from P4V shows a status bar of the progress of a p4vfs sync. Where progress is determined by reading the first count "(\d+) Modification messages to act on." followed by counting the number of lines output. I'll ask if one of my colleagues would be interested in contributing the source of that tool if anyone is interested.
Regards
-Jess


AOT issues with<EMAIL_ADDRESS>

I'm getting these errors with ngc at 2.2.1
Error: Error at ~/my-aot-project/aot/node_modules/angular2-grid/dist/directives/NgGrid.ngfactory.ts:62:48: Property '_onMouseDown' is private and only accessible within class 'NgGrid'.
Error at ~/my-aot-project/aot/node_modules/angular2-grid/dist/directives/NgGrid.ngfactory.ts:66:48: Property '_onMouseMove' is private and only accessible within class 'NgGrid'.
Error at ~/my-aot-project/aot/node_modules/angular2-grid/dist/directives/NgGrid.ngfactory.ts:70:48: Property '_onMouseUp' is private and only accessible within class 'NgGrid'.
Error at ~/my-aot-project/aot/node_modules/angular2-grid/dist/directives/NgGrid.ngfactory.ts:74:48: Property '_onMouseDown' is private and only accessible within class 'NgGrid'.
Error at ~/my-aot-project/aot/node_modules/angular2-grid/dist/directives/NgGrid.ngfactory.ts:78:48: Property '_onMouseMove' is private and only accessible within class 'NgGrid'.
Error at ~/my-aot-project/aot/node_modules/angular2-grid/dist/directives/NgGrid.ngfactory.ts:82:48: Property '_onMouseUp' is private and only accessible within class 'NgGrid'.
Error at ~/my-aot-project/aot/node_modules/angular2-grid/dist/directives/NgGrid.ngfactory.ts:86:48: Property '_onResize' is private and only accessible within class 'NgGrid'.
Error at ~/my-aot-project/aot/node_modules/angular2-grid/dist/directives/NgGrid.ngfactory.ts:90:48: Property '_onMouseMove' is private and only accessible within class 'NgGrid'.
Error at ~/my-aot-project/aot/node_modules/angular2-grid/dist/directives/NgGrid.ngfactory.ts:94:48: Property '_onMouseUp' is private and only accessible within class 'NgGrid'.

I think all of the methods used in the host of the NgGrid directive might need to be declared as public for AOT. I'm going to try changing this and report back.

yup that fixes it, making a pr

Weird... I don't think I've run into this with my (admittedly limited) testing of AOT. Good spot!


Notification button  buttun-52

This Pr  Adds new Button to the buttons collection

Thanks for your contribution, this is definitely a component that adds value to the set. However, some changes are required:

Consider making the badge width flexible to accommodate larger notification counts
Improve accessibility by adding aria-label and aria-hidden attributes
For consistency, let's align the Lucide icon attributes with our other components
For the click behavior, removing the badge might be more intuitive than decrementing it

Thank you for the detailed feedback and for pointing out the areas of improvement. I appreciate your insights and suggestions to align the component with the project's standards. Here’s my plan to address the changes:
Flexible Badge Width: I’ll update the badge width to handle larger notification counts dynamically.
Accessibility: I’ll add aria-label and aria-hidden attributes to enhance accessibility.
Icon Attribute Consistency: I’ll align the Lucide icon attributes with the standards followed in the other components.
Click Behavior: I’ll modify the click behavior to remove the badge instead of decrementing it for a more intuitive experience.
I’ll make the updates and push the changes shortly.

@pasqualevitiello  Just updated the component as you said could you please review it.

@pasqualevitiello  done


Add functionality to easily visualize spatial distribution of location selection criteria and aggregate criteria score

Location selection uses a set of normalized, weighted criteria to set locations at which to implement seeding and shading. To understand how and why guided intervention decisions are made, plots of the spatial distribution of these weighted, normalized criteria and the aggregate score calculated from these criteria is very helpful.
The plotting function should use the result set and a scenario dataframe to plot the criteria and aggregate scores. This issue requires changes in #619 to first be addressed.

@ConnectedSystems , we previously spoke about how we'd need site-by-site dhws and waves stats in the ResultSet to allow plotting the decision matrices with consistent syntax. I've realised, however, we'd also need the TP matrix to be stored in the  result set.  What do you think about adding this?

Sure, the connectivity matrix is comparatively a small addition so I don't think it's much of an issue

Sure, the connectivity matrix is comparatively a small addition so I don't think it's much of an issue

Thanks, I'll add an issue for this


Masthead: mobile menu should be full-width and cover L0

Because we're using Carbon UI header, the [hamburger] menu doesn't behave/appear the same as ibm.com masthead specs.
Current implementation:

In the original design,mobile menu should slide over the entire screen, covering the L0. The platform name would appear at the top of the menu list. Like so:

The platform name is used as a title and navigational link.
The close-icon is used to bring the user back to the previous page view and show L0 again.
Like so:

This model allows the user to focus more on menu navigation. It prevents them from tapping on IBM logo, Search or Login which is distracting them from the main task at hand.

@kennylam @larahanlon2 I am moving this epic back into the Prioritized Epics pipeline.  During the Triage meeting, we decided to turn this original issue into an epic and use linked issues to manage the multiple tasks associated with this work.  We also agreed that the first issue would be to work with Carbon regarding the strategic solution.  I have created Issue 824 to capture this work.  I assigned it to the first sprint in 2020 as many people will begin taking holiday vacation.


Move most of the Scrapy template's logic to Apify SDK

Following up to https://github.com/apify/apify-sdk-python/issues/132.
I think some logic from __main__.py could be moved to the SDK. I think new_configure_logging could be a decorator which is just imported from Apify SDK. I think configure_logger and logger names could be imported.
Similarly, main.py contains _get_scrapy_settings, but it could also be just imported, if turned into this:
def apply_apify_settings(settings: Settings, proxy_config: dict | None = None):
    ...
    return settings

Then it wouldn't need to call get_project_settings() and would leave space for custom modifications before or after applying Apify-specific settings.
The main benefit of doing this is that the template contains less boilerplate and it's easier to control and maintain updates. If new Scrapy version is published and the logic of the monkey patching or anything else needs to be changed, I could just upgrade Apify SDK with updates. As of now the only way is to watch updates to the template manually and update my code by copy-pasting.
Scrapy is a library and I can upgrade it carefully or pin it to a certain version, but Apify is a SaaS platform. If something changes in Apify and it won't be compatible with the old template code, it can just break my actors out of nowhere. Only then I will be prompted to go and see if the template looks differently than last time. Not ideal.

I did some changes in my implementation so that it's more tidied up:

Introduced CLI where only the logging setup is hoisted before everything else: https://github.com/juniorguru/plucker/blob/6fe0c31097b00339cbc05b2ab40fc1dae23160bd/juniorguru_plucker/cli.py
Moved all logging setup to a separate file: https://github.com/juniorguru/plucker/blob/main/juniorguru_plucker/loggers.py
I moved monkey-patching to a decorator - not sure myself if this is nicer or not, but won't go and rewrite it again now: https://github.com/juniorguru/plucker/blob/6fe0c31097b00339cbc05b2ab40fc1dae23160bd/juniorguru_plucker/loggers.py#L38
I moved actor/spider interplay to a separate file, but I guess this is way too custom and far away from what is the aim of the template: https://github.com/juniorguru/plucker/blob/6fe0c31097b00339cbc05b2ab40fc1dae23160bd/juniorguru_plucker/actors.py

Feel free to grab inspiration from what I did, or even chunks of code (MIT licensed, just mention my name). I guess I've solved this for myself now. If there are updates to the Scrapy template, I hope I'll be able to somehow keep up with it and backport changes to my highly customized project.

Hi Honza, thank you for opening this. Moving as much code as we can from the template to the SDK is definitely a good way to go. Unfortunately, adding new features to our Scrapy-Apify integration is not a priority for this quarter, so I cannot promise I'll have time to take a look at this in the near future.

The function apply_apify_settings was moved to SDK in https://github.com/apify/apify-sdk-python/pull/178. Let's solve the rest of it later.


duplication of non boubling events

I have a DOM element emitting a CustomEvent.
On cycle component I do
state$.map(
   state => DOM.select('[name=' + state.name + ']').events('myNonBEvent', {}, false)
).flatten().addListener(...)

Every time the state change DOM.select.events add a new listener without removing the old one.
If I use boubling events all works good
// Change DOM components to emit boub events and...
state$.map(
   state => DOM.select('[name=' + state.name + ']').events('myBEvent')
).flatten().addListener(...)

Solved by #906
Feel free to reopen if the issue still persists after the release of the new version


add faq in tindog website

Title and Issue number

Title :add faq in tindog website
Issue No. :#1013
Code Stack : htm css
Close #1013

Video (mandatory)

https://github.com/user-attachments/assets/4e134363-9596-4c73-bf72-6694dd874650
Checklist:

[X] I have mentioned the issue number in my Pull Request.
[X] I have commented my code, particularly in hard-to-understand areas
[X] I have created a helpful and easy to understand README.md
[X] I have gone through the  contributing.md file before contributing

Additional context (Mandatory )
Are you contributing under any Open-source programme?

[X] I'm a GSSOC'24 contributor
[ ] I'm a SSOC'24 contributor

@apu52 please review once and merge my pr

@apu52 done