[WIP] Unifying platform api/web endpoints and calls

Don't review yet please.
The differences between ReadUser calls which go through a proxy and the rest which are straight hitting platform/web caused issues on the frontend. That prompted me to do this and unify all endpoints.

Will close as no longer used

Closing in favour of https://github.com/micro/services/pull/264. Just to get the changes in, and then I will move this to microhq/services


Errors... what is happening here?

I switched from gqless to gqty at version 2.0.1, and when I've updated all the configs and paths this is happening in the terminal.
ERROR in<EMAIL_ADDRESS>80:18-27
Can't import the named export 'GQtyError' from non EcmaScript module (only default export is available)

ERROR in<EMAIL_ADDRESS>111:22-31
Can't import the named export 'GQtyError' from non EcmaScript module (only default export is available)

ERROR in<EMAIL_ADDRESS>92:24-33
Can't import the named export 'GQtyError' from non EcmaScript module (only default export is available)

ERROR in<EMAIL_ADDRESS>116:22-31
Can't import the named export 'GQtyError' from non EcmaScript module (only default export is available)

ERROR in<EMAIL_ADDRESS>167:22-31
Can't import the named export 'GQtyError' from non EcmaScript module (only default export is available)

ERROR in<EMAIL_ADDRESS>190:30-39
Can't import the named export 'GQtyError' from non EcmaScript module (only default export is available)

ERROR in<EMAIL_ADDRESS>198:41-50
Can't import the named export 'GQtyError' from non EcmaScript module (only default export is available)

ERROR in<EMAIL_ADDRESS>258:21-30
Can't import the named export 'GQtyError' from non EcmaScript module (only default export is available)

ERROR in<EMAIL_ADDRESS>57:19-28
Can't import the named export 'GQtyError' from non EcmaScript module (only default export is available)

ERROR in<EMAIL_ADDRESS>71:18-27
Can't import the named export 'GQtyError' from non EcmaScript module (only default export is available)

ERROR in<EMAIL_ADDRESS>92:22-31
Can't import the named export 'GQtyError' from non EcmaScript module (only default export is available)

ERROR in<EMAIL_ADDRESS>131:35-44
Can't import the named export 'Selection' from non EcmaScript module (only default export is available)

ERROR in<EMAIL_ADDRESS>100:82-95
Can't import the named export 'SelectionType' from non EcmaScript module (only default export is available)

ERROR in<EMAIL_ADDRESS>38:53-61
Can't import the named export 'Suspense' from non EcmaScript module (only default export is available)

ERROR in<EMAIL_ADDRESS>339:2-17
Can't import the named export 'castNotSkeleton' from non EcmaScript module (only default export is available)

ERROR in<EMAIL_ADDRESS>340:2-21
Can't import the named export 'castNotSkeletonDeep' from non EcmaScript module (only default export is availab
le)

ERROR in<EMAIL_ADDRESS>124:10-17
Can't import the named export 'doRetry' from non EcmaScript module (only default export is available)

ERROR in<EMAIL_ADDRESS>133:10-17
Can't import the named export 'doRetry' from non EcmaScript module (only default export is available)

Can you share more details? What are you using for bundling?

The framework where this is implemented is NX.
It uses Webpack.

webpack 4 or webpack 5?

webpack 4 is very outdated and is not being maintained, this is an issue with webpack 4, not with gqty

Yes, it's Webpack 4.44.2.
I'm updating right now and will close if resolved with the update.
It would be very useful to have that documented as a requirement.

Works nicely with Webpack 5. Please see if this can be document for transparency reasons. In many cases that would be an unfortunate deterrent for many current projects.


Use latest version of Ruby

Check https://circleci.com/docs/environment#ruby and choose a valid version. I'll set to 2.2.2 but let me know if you mean another version.

RVM supports 2.2 and installs the latest version of 2.2.x, the list mentioned in your URL contains exact versions.

Yes, but Circle CI fails with 2.2 (https://circleci.com/gh/xnuk/Comparison-of-aheui-implementations/106), so I'm okay with this.


Update building packages to refer to <IP_ADDRESS>

See JB#58035

Only minor detail: commit Update building packages to refer to <IP_ADDRESS> contains duplicated message also in its description.

Good catch, cleaned that one.

And rebased


Update MenuSystem.php

Hi guys,
I bet you meant 2015 instead of 2050 in your copyright information, right?

nice catch, that was stuck there since 2020 🥇


[Feature request] PWA offline page

Feature request
Description
I want something like SuperPWA WordPress plugin it asks us to add url of an offline page that if the user is offline then as a fallback that page is shown and as soon as user enables his internet connection.

Proposed Solution
We can use something like this in service worker
const offlinePage='https://example.com/offline';

The pwa plugin accepts all options of workbox-build. You can make your own customization.


[JSON] Support textDocument/formatting capability

The JSON language server supports textDocument/rangeFormatting, but it doesn't seem to support textDocument/formatting.
I assume textDocument/formatting is just textDocument/rangeFormatting with a range across the whole file. Is this correct? If yes, is textDocument/formatting just not done or there are other concerns?

For vscode, providing textDocument/rangeFormatting is enough. It also covers formatting of the full document. So no need to also provide textDocument/formatting


Updating values using change action creator does not persist values

Note the following configuration for my search form:
const searchFormComponent = reduxForm({
    form: 'searchForm',
    destroyOnUnmount: false,
    enableReinitialize: true,
    keepDirtyOnReinitialize: true
})(SearchForm)

I'm dispatching a change using the following: dispatch(change('searchForm', formVal.fieldName, formVal.fieldValue))
Even though I have destroyOnUnmount set to false, the form is losing it's values when I refresh the page (I have a persistence layer enabled) or when I navigate using the forward/back arrows. I've been keeping on eye on the application state, and the redux-form values for this specific seach form are cleared out and replaced with my initial values when navigating back to the form. This behavior does not occur if a user enters values into the form itself, it only seems to happen when using the change() action creator.
Any ideas?
Note: I'm using keepDirtyOnReinitialize because I am seeding the form with initial values.

Could you do some more digging and provide some reproduction steps? It's difficult to advise as this could easily be a usage error given the added complexity of a full page refresh and persistence layer.

Closing due to inactivity.


Truffle should ignore non-development files.

Truffle picks up VIM buffer files (*.swp) and other files such as (.DS_Store) when running tests, which causes it to break. Only sol & se should probably be allowed at this point.
Similarly with the tests themselves, it also does the same. Perhaps only javascript files should be allowed in that scenario.

I have to run in a terminal
sudo find / -name ".DS_Store" -depth -exec rm {} \;
every time I want to run tests. What are guys your trick ?

I'm on Truffle v3.1.9 and I still have this problem with .swp files from vim.  Ideas?


add empty states to repo list, org list, and tag list

@jonathankingfc spun this up locally, empty states look good. Can you adjust when an empty state renders? There's some weird transitions that happen when navigating repositories and tags. For example, navigating to repositories from organizations shows the spinnger immediately followed by the empty state and then a list of repos once the api call has finished successfully. Same for tags.
You'll probably need to add a third state like here https://github.com/quay/quay-ui/pull/52/files#diff-8ef6be323de7741b0f0689ba0e01429360665c83b0afb1ec074e5b311e86a937R10 to help differentiate between API calls that haven't completed and API calls that have completed but have no data.


Installation Instructions Not Found

Describe the bug
It appears that the link to the installation instructions is broken.
It should point to (https://github.com/NCAR/GeoCAT-examples/blob/main/INSTALLATION.md) instead of (https://github.com/NCAR/GeoCAT-examples/INSTALLATION.md)

Great catch!


Flyout theme colors with Foreground binding converters

Hi, my app uses light theme, but when I open a flyout, it uses dark theme. That's ok, but how does it work?
Sometimes, I show the same view in the light theme and in the flyout (dark) and because I have some logic about the color, some text colors do  not change to white in the flyout:
<phoneConverters:RejectedOrMissedCallColorConverter x:Key="RejectedOrMissedCallColorConverter" MatchColor="Red" DefaultColor="{StaticResource BlackColorBrush}"/>

 <TextBlock Text="{Binding Callers[0].Display}">
                        <TextBlock.Foreground>
                            <MultiBinding Converter="{StaticResource RejectedOrMissedCallColorConverter}">
                                <Binding Path="Rejected" />
                                <Binding Path="Missed" />
                            </MultiBinding>
                        </TextBlock.Foreground>
                    </TextBlock>

DefaultColor="{StaticResource BlackColorBrush}"will always be black, even in the flyout.

See #1024 about changing a flyout's theme.

Hi, I don't want to change the flyout's theme. I want my views to match the theme applied to flyout.

It's not a bug... It's a question... with no answer so far...

Have you tried DynamicResource?

Yes... DynamicResource can't be used there...


[Bug]: Structural comparison: After selecting the target database and then selecting the source database again, the target database did not disappear

ODC version
odc424
OB version

What happened?

What did you expect to happen?
After reselecting the source database, the target database did not disappear
How can we reproduce it (as minimally and precisely as possible)?

Select source and target databases
Select the source database again

Anything else we need to know?
No response
Cloud
No response

Fixed In Commit f11883339450cbaecb0d2dcf8804cacd83fcfa50
------
陈朝俊
Mon Mar 11 14:50:37 2024 +0800

pass


Upgrade dependency on intl

Because humanizer 2.2.0 depends on intl ^0.18.0 and every version of flutter_localizations from sdk depends on intl 0.19.0, humanizer 2.2.0 is incompatible with flutter_localizations from sdk
At the moment this package can't be used with up to date flutter tooling.

Fixed by #31


DOC: updated name

Updated name to Equitable Letters for Space and Physics.

Also added a FAQs page.


Behavior on GCed response bodies

What should we do with unconsumed response bodies? Currently we just discard them, but that could result in a streaming response keeping open the connection forever (with body settings set to unlimited).

I think we'll go with the current behavior, it will work just fine by default, because we always have a limit and all streaming responses that use a unlimited length can use a cancellation token to close the socket.


About the Evercrypt. AEAD file

Hi，
Were the AES-GCM and other C programs related to AES in the Evercrypt. AEAD file converted from the Kremlin? And is it formally verified？

EverCrypt.AEAD is formally verified and implements:

AES-GCM in assembly via the Vale technology, provided your computer has the AESNI instruction
ChachaPoly in regular C
ChachaPoly with intrinsics for ARM NEON, AVX128, AVX256

Hope this helps. hacl-star.github.io/ may have more relevant info.


Add additional clinical outcome relevant data to models

Description
As a user, I want to understand the usability of models based on additional markers, such as
tumor mutational burden (TMB)
The total number of mutations (changes) found in the DNA of cancer cells. Knowing the TMB may help plan the best treatment. For example, tumors that have a high number of mutations appear to be more likely to respond to certain types of immunotherapy. TMB is being used as a type of biomarker. Also called tumor mutational burden.
DNA mismatch repair (MMR)
mismatch repair deficiency
Describes cells that have mutations (changes) in certain genes that are involved in correcting mistakes made when DNA is copied in a cell. Mismatch repair (MMR) deficient cells usually have many DNA mutations, which may lead to cancer. MMR deficiency is most common in colorectal cancer, other types of gastrointestinal cancer, and endometrial cancer, but it may also be found in cancers of the breast, prostate, bladder, and thyroid. MMR deficiency may also be found in an inherited disorder called Lynch syndrome. Knowing if a tumor is MMR deficient may help plan treatment or predict how well the tumor will respond to treatment.
Microsatellite instability (MSI)
A change that occurs in certain cells (such as cancer cells) in which the number of repeated DNA bases in a microsatellite (a short, repeated sequence of DNA) is different from what it was when the microsatellite was inherited. MSI may be caused by mistakes that don’t get corrected when DNA is copied in a cell. It is found most often in colorectal cancer, gastric cancer, and endometrial cancer, but it may also be found in many other types of cancer. Knowing whether a cancer has MSI may help plan the best treatment. Also called microsatellite instability.
HLA typing
Human Leukocyte Antigen (HLA) is a highly polymorphic region composed of several genes involved in immune regulation. HLA typing is the characterization of this set of genes and is a valuable tool for targeting recurrent mutations and hotspot sites implicated in cancer pathogenesis. This method is also used to match donor and patient before solid organ or allogenic stem cell transplants, often used to treat cancers such as leukemia, lymphoma, multiple myeloma, and neuroblastoma.
Acceptance criteria

[ ] TMB status available at the model level
[ ] MMR status available at the model level
[ ] MSI status available at the model level
[ ] HLA status available at the model level

need to split into separate tickets


Exception when saving file editor opened from remote file provider

Testing #54863

install Remotehub extension
open  code-insiders --folder-uri remotehub://github.com/Microsoft/vscode-nls
open and modify a file, save

ERR Cannot read property 'toString' of null: TypeError: Cannot read property 'toString' of null
    at file:///home/aeschli/workspaces/vscode/out/vs/workbench/services/textfile/common/textFileEditorModel.js:608:116
    at Object.notifyError [as _notify] (file:///home/aeschli/workspaces/vscode/out/vs/base/common/winjs.base.js:1230:50)
    at Object.enter (file:///home/aeschli/workspaces/vscode/out/vs/base/common/winjs.base.js:916:30)
    at _Base.Class.derive._creator._run (file:///home/aeschli/workspaces/vscode/out/vs/base/common/winjs.base.js:1089:29)
    at _Base.Class.derive._creator._error (file:///home/aeschli/workspaces/vscode/out/vs/base/common/winjs.base.js:1062:18)
    at error (file:///home/aeschli/workspaces/vscode/out/vs/base/common/winjs.base.js:758:33)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)

The exception in the exception handling prevents VSCode from being closed. I pushed a temporary fix.

The fix is not good, because now when an error occurs during save that is not one of the well defined errors (which can always happen), we do not do proper error handling but simply return too early.

@aeschli please code review and verify

Verified as well


Can an Android phone detect a Beacon without switching on Bluetooth?

Also, I do not have a native app to keep scanning in the background. Will further support be released for detecting Beacons / BLE signals without switching on Bluetooth?

It is impossible to detect beacons without Bluetooth. Modern phones do not drain the battery significantly when bluetooth is turned on, however most people still think so. It is much better to just keep bluetooth turned on.

Thanks for the help. Appreciate it


flexbox css

Fixes #7326

Why the duplication? Aren't these all compiled into a single CSS? How are we going to ensure that changes in one are applied to the others as well?

Why the duplication? Aren't these all compiled into a single CSS? How are we going to ensure that changes in one are applied to the others as well?

CSS Duplication is fine, these css files should be tied to each specific component. The compiler handles deduplication when it's producing its results.
Components should work independently of eachother, and disabling one shouldn't affect the overall look of the other. So essentially we need to maintain different files.
If we really think these files are the same, a simple link would work - but we shouldn't assume that.

I'm going to reapproach this PR.


feat: Support CLOSE (cursors)

Hello!
Thanks

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

22 of 22 (100.0%)  changed or added relevant lines in 3 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.02%) to 89.795%

Files with Coverage Reduction
New Missed Lines
%

src/ast/mod.rs
1
78.88%

Totals

Change from base Build<PHONE_NUMBER>:
0.02%

Covered Lines:
8720

Relevant Lines:
9711

💛  - Coveralls


Add my profile to LinkFree

Changes proposed
I hope you can add my profile to LinkFree. Please let me know if I should have done anything differently. Thank you!

Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[ ] My change requires changes to the documentation.
[ ] I have updated the documentation accordingly.
[ ] All new and existing tests passed.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

Screenshots

Note to reviewers

Looks good Mariana, I think your fork and branch are out of date with the original repo that might explain why it is show other files changed
If you need any help fixing this let us know


Can create event category

I got "Something went wrong" error when I ma try to create new event category, please kindly advice:

See
https://github.com/OfficeDev/microsoft-teams-apps-employeetraining/issues/5


[Duplicate of #6291] - testing-java-projects-using-junit-and-mockito-doing-more-with-mockito

Article checklist
Attention
Our Peer Reviewer and Content Moderator teams do NOT provide any revisions services. All revisions and edits should be completed on your own forked repo (as to not take up room in the queue) in order for our team to review them all in a timely manner.
ANY ARTICLE SUBMITTED WITH GLARING ERRORS WILL BE IMMEDIATELY CLOSED.
Pre-submission checks
Formatting and structure checks

[x] Have you used the correct folder and file structure? - see Contribution Guidelines

[x] Is your article properly formatted in Markdown? - see Github Markdown guide

[x] Have you used our preferred heading structure? - H3 (###) and up

[x] Does your article follow any of the suggested structure formats? - see example formats

[x] Is your article over 750 words? - Tool: Wordcounter.net

[x] Is the article you are submitting an in-depth and unique article? Does it go beyond what is in the official docs and what is covered in other blog sites. See these articles as examples.

[x] Does your article provide enough value and detail about your topic? - Articles should be clear, accurate, and fully explained.

[x] Can your article be understood by beginners? - Assume the audience is smart but has no prior exposure to the common terminology in your article.

[x] Have you included a hero image that is 600x400 pixels, under 300KB in size, and have the copyright to use it? - Tools: Pixlr Image Editor for resizing and Unsplash for Creative Commons images

Grammar & plagiarism checks

[x] Have you spellchecked and grammar checked your article? - Tools: Write&Improve - ProWritingAid - Grammarly
[x] Please place your article through a 3rd party plagiarism checker. We suggest using Quetext, this tool is free and has a daily limit. We typically accept articles with 10% or less.
[x] Have you checked your article for readability? - Tool: Hemmingway
[x] Have you added sources for quotes and images that aren't yours?

Technical checks

[x] Are your code snippets properly formatted for syntax highlighting - see Syntax guide
[x] Have you checked your code runs correctly and you've highlighted all necessary dependencies for installation?
[x] Are the software programs and packages you're highlighting in your article up to date, using current versions and not deprecated?

Topic suggestion this closes
This closes #6138

Hello @srishilesh.
I have made the corrections which you requested in the previous PR.
Thank you

Duplicate of #6291

Great work team.
Please go through the changes I've made. @ehizman @srishilesh


fix(build):  fix !DEV always equals false bug

closed https://github.com/vuejs/core/issues/8312
fixed before:

after:

It seems to have been duplicated with #8314

Closing as duplicate of #8314, but thanks for the PR.


Align shared-dependencies and GraalVM versions

(1) General purpose GraalVM configurations live in gapic-generator/gax. Sometimes there are configuration changes in gax that are needed for GraalVM versions updates. These changes are then brought in by shared-dependencies and applied to downstream libraries, therefore making the updates to GraalVM kokoro jobs dependent on shared-dependencies.
(2) If shared-dependencies and all the dependencies needed for the native image kokoro jobs to succeed (jdk, native-image extension) were packaged together in a single docker image, this would make our upgrades seamless by removing the need to coordinate PR merges. It would also allow us to use the locally cached dependencies instead of relying on maven central to download them.
@burkedavison @danielgazineu

Now the shared dependencies BOM has moved to gapic-generator-java repository. What's remaining tasks?

Marking this as closed. The monorepo is now receiving atomic updates for shared-dependencies and graalvm docker images (example: https://github.com/googleapis/google-cloud-java/pull/10450). They are both versioned with the version of sdk-platform-java-config


Create page wizard on new site works inconsistently

When launching a new django CMS project, the content creation wizard under some circumstances:

does not work when invoked from the Add the first page link on the splash screen
does not work if it opens automatically
does work if you use the Create button in the toolbar.

When it fails, it says: "Please choose an option from below to proceed to the next step.".
.
I can replicate this on a manually set up project running Django 1.9.12 and django CMS 3.4.1, but not on a project set up using the django CMS installer.

pip freeze:
Django==1.9.12
django-classy-tags==0.8.0
django-cms==3.4.1
django-filer==1.2.5
django-formtools==1.0
django-mptt==0.8.7
django-polymorphic==0.8.1
django-sekizai==0.10.0
django-treebeard==4.1.0
djangocms-admin-style==<IP_ADDRESS>
djangocms-attributes-field==0.1.2
djangocms-column==1.7.0
djangocms-file==2.0.2
djangocms-googlemap==1.0.1
djangocms-link==2.0.3
djangocms-picture==2.0.4
djangocms-snippet==1.9.2
djangocms-style==2.0.1
djangocms-text-ckeditor==3.3.1
djangocms-video==2.0.3
easy-thumbnails==2.3
html5lib==0.9999999
Pillow==3.4.2
six==1.10.0
Unidecode==0.4.19
wheel==0.24.0

settings.py:
"""
Django settings for test_cms_install project.

Generated by 'django-admin startproject' using Django 1.9.12.

For more information on this file, see
https://docs.djangoproject.com/en/1.9/topics/settings/

For the full list of settings and their values, see
https://docs.djangoproject.com/en/1.9/ref/settings/
"""

import os

# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))

# Quick-start development settings - unsuitable for production
# See https://docs.djangoproject.com/en/1.9/howto/deployment/checklist/

# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = 'ysy%!f^wzn*#l1nn+w66_k%4ljkthc+k*u76p%5^1gi*42p=z-'

# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True

ALLOWED_HOSTS = []

SITE_ID = 1

# Application definition

INSTALLED_APPS = [
    'djangocms_admin_style',

    'django.contrib.admin',
    'django.contrib.auth',
    'django.contrib.contenttypes',
    'django.contrib.sessions',
    'django.contrib.messages',
    'django.contrib.staticfiles',

    'django.contrib.sites',
    'cms',
    'menus',
    'treebeard',

    'sekizai',

    'filer',
    'easy_thumbnails',
    'mptt',

    'djangocms_text_ckeditor',

    'djangocms_link',
    'djangocms_file',
    'djangocms_picture',
    'djangocms_video',
    'djangocms_googlemap',
    'djangocms_snippet',
    'djangocms_style',
    'djangocms_column',

]

MIDDLEWARE_CLASSES = [

    'cms.middleware.utils.ApphookReloadMiddleware',

    'django.middleware.security.SecurityMiddleware',
    'django.contrib.sessions.middleware.SessionMiddleware',
    'django.middleware.common.CommonMiddleware',
    'django.middleware.csrf.CsrfViewMiddleware',
    'django.contrib.auth.middleware.AuthenticationMiddleware',
    'django.contrib.auth.middleware.SessionAuthenticationMiddleware',
    'django.contrib.messages.middleware.MessageMiddleware',
    'django.middleware.clickjacking.XFrameOptionsMiddleware',

    'django.middleware.locale.LocaleMiddleware',

    'cms.middleware.user.CurrentUserMiddleware',
    'cms.middleware.page.CurrentPageMiddleware',
    'cms.middleware.toolbar.ToolbarMiddleware',
    'cms.middleware.language.LanguageCookieMiddleware',
]

ROOT_URLCONF = 'test_cms_install.urls'

TEMPLATES = [
    {
        'BACKEND': 'django.template.backends.django.DjangoTemplates',
        'DIRS': ['templates'],
        'APP_DIRS': True,
        'OPTIONS': {
            'context_processors': [
                'django.template.context_processors.debug',
                'django.template.context_processors.request',
                'django.contrib.auth.context_processors.auth',
                'django.contrib.messages.context_processors.messages',

                'sekizai.context_processors.sekizai',

                'cms.context_processors.cms_settings',
            ],
        },
    },
]

WSGI_APPLICATION = 'test_cms_install.wsgi.application'

# Database
# https://docs.djangoproject.com/en/1.9/ref/settings/#databases

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.sqlite3',
        'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
    }
}

# Password validation
# https://docs.djangoproject.com/en/1.9/ref/settings/#auth-password-validators

AUTH_PASSWORD_VALIDATORS = [
    {
        'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator',
    },
    {
        'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator',
    },
    {
        'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator',
    },
    {
        'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator',
    },
]

# Internationalization
# https://docs.djangoproject.com/en/1.9/topics/i18n/

LANGUAGE_CODE = 'en'

LANGUAGES = [
    ('en', 'English'),
    # ('de', 'German'),
]

TIME_ZONE = 'UTC'

USE_I18N = True

USE_L10N = True

USE_TZ = True

# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/1.9/howto/static-files/

STATIC_URL = '/static/'

CMS_TEMPLATES = [
    ('home.html', 'Home page template'),
]

MEDIA_URL = "/media/"
MEDIA_ROOT = os.path.join(BASE_DIR, "media")

THUMBNAIL_HIGH_RESOLUTION = True

THUMBNAIL_PROCESSORS = (
    'easy_thumbnails.processors.colorspace',
    'easy_thumbnails.processors.autocrop',
    'filer.thumbnail_processors.scale_and_crop_with_subject_location',
    'easy_thumbnails.processors.filters'
)

template home.html:
{% load cms_tags sekizai_tags %}
<html>
    <head>
        <title>{% page_attribute "page_title" %}</title>
        {% render_block "css" %}
    </head>
    <body>
        {% cms_toolbar %}
        {% placeholder "content" %}
        {% render_block "js" %}
    </body>
</html>

+1 We are also experiencing this same issue.

For what it's worth I downloaded the divio client and it seems to be working.  Maybe this is fixed in 3.4.2?

@evildmp @brett-nuske-alliancesoftware are you able to reproduce this on the latest 3.4.x release? (3.4.2)

@czpython Yes it is still the case with 3.4.2. As @evildmp said, only when setting up django-cms for an already existing django project without using the installer does the issue present itself.

Hey I've been having the same issue, following what @brett-nuske-alliancesoftware says, I compared my settings.py with that of a fresh django cms setup as created by the django cms installer. Looking at the differences between my settings.py and the settings.py created by the installer, it seems to me that adding 'django.core.context_processors.i18n', to context_processors solved this issue for me.

@josh-atkins-dev That solved the issue for me as well. Thanks!

@josh-atkins-dev This basically worked for me. I just wanted to point out that "django.core.context_processors.i18n" wasn't correct. Rather, "django.template.context_processors.i18n" was.

@josh-atkins-dev Thanks mate! This solved it for me as well.

This worked for me too. I was following the "How to install django CMS by hand" guide in docs, which don't mention this. Should this be added to the docs?

Should this be added to the docs?
Please!

this issue is not in the http://docs.django-cms.org/en/latest/how_to/install.html#installation, it should be

I have run into the same issue following the install by hand guide but my issue started when I accidentally deleted the home page. I blew away the database, created a new one, and re-ran the migrations. When I logged back in the create page had only one tile and it was the New Page tile. Both New Person and New Category were missing and clicking on New Page simply produced the "Please choose an option..." message.
Adding django.template.context_processors.i18n brought back the New Page tile. Adding django.core.context_processors.i18n rendered the site inaccessible with a 500 error.
This is Python 3.6.7/Django 2.1.7/CMS 3.6.0 running on Ubuntu 18.04
So I got back partial functionality.

@jolson6 Thank you. it worked pretty well

@josh-atkins-dev This basically worked for me. I just wanted to point out that "django.core.context_processors.i18n" wasn't correct. Rather, "django.template.context_processors.i18n" was.

@jolson6 thanks! this solved my problem as well.

@Goddfrey Can I interest you in making a PR to update the documentation?


[CGPROD-2844] shop demo game

Add demo game button to debug launcher which launches sub-menu
Add hidden screens to debug for demo shop and demo shop game
Add the game itself with a one-button mechanic; press space to chop (or click, or tap)
Currency is gettable in game, spendable in shop on hats, which can be equipped (all at once)
Player spritesheet is selected based on most expensive equipped hat
Tests are intentionally super minimal and loose - just enough for coverage- can be tightened up, probably not needed
Add SFX
Add cheat buttons to add coins, reset economy (crudely, via a gmi call- we will prob want a better mechanism in future.)
Add touch / click input

Just fired it up to test before merging and it's broken. Investigating...

Just fired it up to test before merging and it's broken. Investigating...


koios tx_info returns error with some tx_hashes

Describe the bug
Using koios tx_info, the endpoint expects a list of tx_hashes; there are some hashes that return the following error:
{
  "code": "22P02",
  "details": "Token \"(\" is invalid.",
  "hint": null,
  "message": "invalid input syntax for type json"
}

For example, the following tx_hash in preview: f596f2ff47190849b5d00967eba27a0b9301548965498fadf90265117de330b1 which is a valid hash as seen in cardano explorer: https://preview.cardanoscan.io/transaction/f596f2ff47190849b5d00967eba27a0b9301548965498fadf90265117de330b1
curl -X POST "https://preview.koios.rest/api/v1/tx_info" \
 -H "accept: application/json"\
 -H "content-type: application/json" \
 -d '{"_tx_hashes":["f596f2ff47190849b5d00967eba27a0b9301548965498fadf90265117de330b1"]}' \

Should be resolved as of Koios v1.2.0a on guild/preview/preprod


PSA: a bug in Hyper makes GET requests after POST fail

https://github.com/hyperium/hyper/issues/309 This bug causes quite strange behaviour, and the fix seems not to be released yet:
A POST login page that returns a 303 (a good practice) may cause the following request fail, because Hyper doesn't read the previous request to the end unless it's needed, and when it reads the next request using a keep-alive connection, the body of the previous request gets read as garbage in the front.
The workaround is to read the body manually in the request, for example, by calling request.form().
Maybe pencil could release a workaround fix that reads the request bodies to the end (or, if there's a huge amount of data, drops the connection), until the bug in Hyper is fixed? For example, there's a middleware for Iron that already does that: https://crates.io/crates/iron-drain Maybe pencil should do that also.

The possibly safer thing for the middlware to do is to set Connection: close on the response if the request is not going to be read to the end. The danger in draining is if the request payload is super huge, gigabytes of data, and a middleware blindly just keeps reading. It could perhaps also drain up to a limit, before deciding the connection just needs to die.


It seems "ng build" has no option to build ts, map and js files to same folder

Please provide us with the following information:

OS?

Windows 10

Versions.

Please run ng --version. If there's nothing outputted, please run in a Terminal: node --version and paste the result here:
angular: 2.1.0
angular-cli: 1.0.0-beta.19-3
node: 6.9.1
os: win32 x64

Repro steps.

Was this an app that wasn't created using the CLI? What change did you do on your code? etc.
Code can be generated.

The log given by the failure.

Normally this include a stack trace and some more information.

Mention any other details that might be useful.
Couldn't find the option that can be used to output ts, map and js files to the same output folder.
Also the options below can't be used in the same tsconfig.json file.
"sourceMap": true,
"inlineSourceMap": true,
Can't be use at the same time.

Thanks! We'll be in touch soon.

That's not how the CLI is meant to be used. It's meant to build apps. It bundles stuff perfectly for the app. Compiling each file in the same dir isn't the best way to serve the app files.
However, it's technically possible.
From the root of the CLI project you can run something like:
./node_modules/.bin/tsc -project src/

Which will generate the files in ./dist/out-tsc.
(of course you can go to the src dir and simply run ../node_modules/.bin/tsc, or just tsc if you have TypeScript globally installed)
The path ./dist/out-tsc comes from the ./src/tsconfig.json file outDir property. You can change that to . or simply comment it.
Again, this is not a supported scenario, and it's NOT how the CLI is meant to be used.
Now to the sourcemaps error.
This is a TypeScript error. The sourceMap and inlineSourceMap bits are TypeScript stuff not Angular CLI stuff, and the error that they cannot be used together is shown as expected as this is how it works in TypeScript.
Cheers,

I really appreciate your rapid reply. Got it!
I tried to generate the map and js file into the same folder just because when debugging the ts file, it will try to find the map and js files. I am using tsc commands to do this now. For the sourceMap and inlineSourceMap question, I copied some configuration from the https://github.com/angular/angular-cli/blob/master/tsconfig.json file  but there was an error. I was thinking maybe the CLI add some restriction... Anyway, both of my problems can be solved by change the config file and using tsc command. Thank you very much for your help!

I generated the map and js files successfully into the src folder. But I think debugging the source code created by cli is difficult because it's using the webpack. The source files were output to 1 bundle.js file. Although I generated the js and map files and put them to the webroot folder, the debugger still seeing the bundle.js files. It can jump into the main.bundle.js file and debug step by step but can't link to the ts file. I am trying to use the systemJS. Is there some settings can let the webpack keep the original files?

There will not be unbundled JS output when using ng build or ng serve. You can open files from the sourcemaps in your browser, and if you need the JS and sourcemaps for each files you can use tsc as mentioned above.
Why do you need JS files per module? There's no reason for you to use SystemJS as webpack takes care of everything for you.

Thank you. Just want to debug the ts files directly using Visual Studio Code. But I tried many times and the breakpoints in ts files doesn't work. I am trying to find where the problem is.

@jasondu168 ah, if that is what you need, check out this issue instead: https://github.com/angular/angular-cli/issues/2453. The community found good debug configs for VSCode and put them there.

@Meligy How/where does angular-cli produce type packages which can be published to npm as a part of your angular-cli so that others can install your npm module and consume these types. E.g. say someone has a cool angular2 component that they want to publish.
Should we use tsc for that separately ? I was referring at the angular/material2 project but they use gulp and not angulcar-cli.

@yogeshgadge the CLI does not support creating libraries at the moment. There is a RFC thread at https://github.com/angular/angular-cli/issues/6510, and inside there are a couple of library starters and managers created by the community.


How to cite this work?

Thank you for your wonderful work! Do you have plans to publish papers about this repo?
I wish you could organize more details in the paper and show more experimental results. Thanks!

@txsun1997


Change 'year' date format

Capital Y represent Week year not Year. Possibly cause java.lang.IllegalArgumentException.

merged in 2.0.6


[Bug]: Property casing policy is ignored when using minimal APIs, camel casing always applied

Describe the bug
No matter which naming policy is set in general JSON serializer options when using minimal APIs, Swashbuckle applies camel casing. It therefore does not comply with the actual output of the endpoint.
Expected behavior
With the null naming policy, the property name should have been taken without modification, i.e. it should have been HelloWorld.
Actual behavior
The property name was modified to camel case.
This is what I get in the document:
  "components": {
    "schemas": {
      "MyDto": {
        "type": "object",
        "properties": {
          "helloWorld": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      }
    }
  }

Steps to reproduce
Using this code in Program.cs:
var builder = WebApplication.CreateSlimBuilder(args);

builder.Services.ConfigureHttpJsonOptions(options =>
{
    options.SerializerOptions.PropertyNamingPolicy = null;
});

builder.Services.AddEndpointsApiExplorer();
builder.Services.AddSwaggerGen();

// This needs to be added because of some other open issue
builder.Services.Configure<RouteOptions>(
    options => options.SetParameterPolicy<RegexInlineRouteConstraint>("regex"));

builder.WebHost.UseKestrelHttpsConfiguration();

var app = builder.Build();

if (app.Environment.IsDevelopment())
{
    app.UseSwagger();
    app.UseSwaggerUI();
}

app.MapGet("/hello", () => new MyDto());

app.Run();

internal sealed class MyDto
{
    public string HelloWorld => "hello";
}

Exception(s) (if any)
No response
Swashbuckle.AspNetCore version
6.8.1
.NET Version
8.0.400
Anything else?
NSwag correctly applies the configured property naming policy, using the same code (aside from the 3 Swashbuckle calls replaced with NSwag ones).

@antoinebj can you see if this WA works for you.
I beleive that is the same issue: https://github.com/domaindrivendev/Swashbuckle.AspNetCore/issues/2293#issuecomment-993419245


feat: Base TPC Support

Related: #2197
🦕

I'd like to see some tests around signed URLs, but that may or may not apply to this PR depending if I'm understanding it correctly. Left some questions to figure it out. Thanks!

Added some tests


Possible to port to MatrixPortal S3

First of all, thanks for publishing the code.
I have managed to compile and create firmware.bin for Matrix Portal S3 board. But I need some help in downloading the software to the S3 board. I am trying to use the ESPTOOL to download but don't know the exact parameters and don't want to brick the board. From what I understand, I need to do something like
    esptool.py --port COMxx write_flash 0x0 firmware.bin

But I am not sure what offset to use and also, If I need to specify any other files (at different offsets).
For those interested, I had to remove the HUB75 library in lib folder and add following to my platformio.ini file
[env:adafruit_matrixportal_esp32s3]
board = adafruit_matrixportal_esp32s3
lib_deps =
   https://github.com/mrfaptastic/ESP32-HUB75-MatrixPanel-I2S-DMA.git

Looks like mrjefftang has already ported it and it seems to work.
https://github.com/mrjefftang/hdk


Lab 6 - CRUD puppy with interface

Fixes #532
Review of colleague's PR #424
Changes proposed in this PR:
Implement a Puppy struct containing ID, Breed, Colour, Value.
Create Storer interface with CRUD methods for Puppy
Write a MapStore implementation of Storer backed by a map
Write a SyncStore implementation of Storer backed by a sync.Map
Keep all implementation files in the same folder and in package main
Test against the Storer interface and run in suite with both implementations

The go-course is now closed. Thank you very much for participating.


[BP-1216] Uncaught TypeError: Cannot read properties of null (reading 'countryId')

This is the stack trace in my browserconsole
idin-step-view.js:100 Uncaught TypeError: Cannot read properties of null (reading 'countryId')
at UiClass. (idin-step-view.js:100)
at Function.notifySubscribers (knockout.js:1320)
at Function.valueHasMutated (knockout.js:1538)
at Object.observable [as billingAddress] (knockout.js:1504)
at UiClass.setShippingInformation (shipping.js:250)
at HTMLFormElement. (knockout.js:4640)
at HTMLFormElement.dispatch (jquery.js:5232)
at HTMLFormElement.elemData.handle (jquery.js:4884)
This error occurs becuase there is no check whether the 'newAddress' value is null on line 100 of idin-step-view.js file.
The function is called from line 250 of the 'magento/module-checkout/view/frontend/web/js/view/shipping.js' file.
I'm using Magento 2.3.7-p2.
The idin functionality is disabled in the config, so why the idin-step-view.js file should be loaded in the first place is a mystery to me. For this particular case I just disabled the ui_component, but obviously that doesn't work for shops that want to use iDin.

Thanks @mgroensmit we will research this. Can you confirm you are working on version 1.39.0?

Thanks @mgroensmit we will research this. Can you confirm you are working on version 1.39.0?

Hi @Buckaroo-Rens I am indeed working on 1.39.
I am getting the error on a modified checkout that is based on the default Magento OneStepCheckout. Nevertheless I'm sure this check is required as the function call I describe explicitely calls the function with a null value from a Magento script that's included in Magento.

@mgroensmit We made some adjustments, are you able to also test this local on the environments your using? Thank you in advance.

Issue released in 1.40.0


Downstream packages inherit setuptools_scm behavior

Due to this issue: https://github.com/pypa/setuptools_scm/issues/653 and brokenness in setuptools itself it is currently not possible to turn setuptools_scm off if it is installed inside the build environment.
That means if I depend on cmake-build-extension for only the purpose of building CMake extensions and not using the setuptools_scm features I have to set up a bunch of pre-emptive excludes that setuptools_scm is so kind to add for me.
I would suggest that until upstream setuptools and setuptools_scm get their act together that you make setuptools_scm and exta and opt-in via cmake-build-extension[scm] or something similar.

Hi @salotz-sitx, thanks for the investigation on this issue and for reporting! I checked a bit the history, and yes, we do use some logic contained in setuptools_scm for implementing our custom sdist command, and particularly here:
https://github.com/diegoferigo/cmake-build-extension/blob/fea4503c3a77ca1169dd84f1c09b39b3b8760555/src/cmake_build_extension/sdist_command.py#L32
From the one hand, the lucky part is that making it optional would be straightforward since the import is not part of the top-level imports of the module. However, from the other, it would possibly break all the existing packages that use this feature.
I need to double check with extra care about this possible transition and understand what are the overall consequences of this change.

For the records, https://github.com/matplotlib/matplotlib/pull/18971 introduced the setuptools_scm deps into matplotlib, that created the problems discussed in https://github.com/pypa/setuptools_scm/issues/653.

Fair enough. I don't think it would be too disruptive to change this behavior in new versions. Presumably anyone wanting stability at the installation stage should be pinning their dependencies and not aggressively upgrading.


feat: Implemented transformer for the wavedrom library

Description
This pull request implements a transformer for the wavedrom library. It allows writing waveform diagrams in the slides.
This allows writing wavefrom diagrams using the wavedrom transformer.
```wavedrom
{signal: [
  {name: 'clk', wave: 'p.....|...'},
  {name: 'dat', wave: 'x.345x|=.x', data: ['head', 'body', 'tail', 'data']},
  {name: 'req', wave: '0.1..0|1.0'},
  {},
  {name: 'ack', wave: '1.....|01.'}
]}
```

Why
This is useful when creating engineering slides. Without this feature, users have to manually transform the waveform JSON into SVG files and include those.
Disadvantages

wavedrom, onml and json5 dev dependencies
onml depends on two deprecated packages

Thanks for your contribution! Can this feature be used as a standalone addon package? If not, what's the missing hook?

I think it can be an addon, I just don't know where to find the documentation on how to use a hook. I would be very happy to convert it.

About addon writing: https://sli.dev/addons/write-an-addon
You can have setup and components folder in your addon, just like in your slides folder.

I saw this, but is there any API documentation?

Here we can register a markdown-it plugin for waredrom: https://sli.dev/custom/config-vite#configure-internal-plugins

I am sorry, I still do not understand how to connect my plugin to slidev.

I created a new package
I added slidev as a dependecy

How to I make it initialize my plugin?
This is really confusing here, an API documentation and example would be great.

This looks very cool! But yeah I agree with @KermanX, I also think it's better to implement it as an external addon.

I am sorry, I still do not understand how to connect my plugin to slidev.

I created a new package
I added slidev as a dependecy

How to I make it initialize my plugin?
This is really confusing here, an API documentation and example would be great.

There seem to be some difficulties in having a custom transformer... The priority of markdown-it plugins are too low. The preparser may help, but I don't think it is graceful enough. Maybe we need a setupTransformers like this:
type MarkdownTransfromer = (ctx: MarkdownTransformContext) => void
type TransformersSetup = (transformers: MarkdownTransfromer[]) => MarkdownTransfromer[]

Sorry for the late reply. These days several refactors are done and I've tested that after #1767 got merged, this PR can be implemented as an add-on in a simple way.


Add source & stage decorators

Description

Adds two new decorators source and stage allowing stages to be created from python functions.
Accept & return types are inferred by inspecting the type annotations of the decorated function.
This removes the need for several lines of boilerplate code needed for simple Python-only stages.
Includes unrelated docstring fix to morpheus/pipeline/stage_base.py

example:
from morpheus.pipeline.stage_decorator import source
from morpheus.pipeline.stage_decorator import stage

@source
def source_gen(dataframes: list[cudf.DataFrame]) -> collections.abc.Iterator[MessageMeta]:
    for df in dataframes:
        yield MessageMeta(df)

@stage
def on_data(message: MessageMeta) -> MessageMeta:
    with message.mutable_dataframe() as df:
        print(df)
    return message

Closes #1253
By Submitting this PR I confirm:

I am familiar with the Contributing Guidelines.
When the PR is ready for review, new or existing tests cover these changes.
When the PR is ready for review, the documentation is up to date with these changes.

Needs documentation showing how this can be used in the developer guide.

I do have dev-doc updates, I just did them in a different branch. I can merge it back in here.

/merge


How to insert objects and or humans

Hi, i am working on a navigation task that includes maneuvering around humans and since many of the frameworks for human interaction are very simplistic I would really love to use habitat. However, I have found very little material on how to insert third party static models (basically only one github issue on the shading of inserted objects), never mind animated ones. Is there material or tutorials I have missed that cover this customization option or maybe an example that i can follow ?
Thanks

Thanks for this feature request! Animated models are not currently supported by Habitat-sim. There is, however, a framework in place to add/remove and set transformations for rigid/static objects through the PhysicsManager class. Examples of this functionality exist for python and C++ as described by the README:Testing section.
You can also add your own objects to the scene very simply by creating a object.phys_properties.json file which references your mesh and adding it to the default.phys_scene_config.json file. You can follow the example of the test object dataset we provide.
If you would like to expand on your desired use case and features you would appreciate, please feel free to do so in this thread. We will happily take these into consideration when planning our development efforts. 👍

Hi again, thank you for the reading material and examples, i have successfully inserted my desired objects into the simulation. My next step is to get the exact pixel positions of my inserted object or parts of it (like a human face/eyes), my current understanding is that i could add this information as a sensor but I am a bit unsure about where exactly this should be added. I have looked at the register new_sensors_and measures code and the examples and I admit I am still very unsure on such a basic level that i dont know if it is smarter to implement the change in the python part or the c++ part. It is my understanding that the c++ core could provide the actual information (a point to screen coordinate functionality) but the only way to actually add a sensor seems to be a python script. I have posted a question about that in the habitat-api issues but received now answer, maybe it is not correct there. In addition to implementing the sensor I would of course like to test it in an interactive environment - is this only possible in c++ ? The testing sections seems to imply that but in the habitat docs there is a quickstart example that provides the w a s d interaction with only a python script. Im sorry if these questions are very basic, maybe the screen coordinate functionality already exists and I have not found it yet.
Thank you
ronja

Hey @ronjamoller, I'm glad you've gotten things working for your use case! I'd be interested to see the results if you'd like to share at some point. 😄
I see your issue in Habitat-api: https://github.com/facebookresearch/habitat-api/issues/265#issue-537569899
Regarding the interactive python quick-start script: this is not versioned in codebase and could be more complete. Good point. I've opened a specific feature request issue for this. 👍 #418
Regarding your sensor needs. You could create a new sensor for this and we are in the process of improving the overall sensor API to make this more obvious. While we do not yet have any built-in functions for 3D point to screen point project, all the necessary transformation and projection matrices for the camera should be exposed both in C++ and python, so where you develop is up to you. You might first start by implementing the point projection for your desired features and then looking into a custom sensor. For a quick test you could modify the image produced by simulator.get_observation by drawing your projected 2D points on the image before displaying or saving it (either with opencv or PIL).
You might look into RenderCamera python bindings
You can get access to the RenderCamera for the scene with:
render_camera = simulator._sim.get_active_scene_graph().get_default_render_camera()

Hi again, I am plodding along (my biggest difficulty is the level of abstraction) and I have decided that for simplicity's sake I would like to develop in Python so I tried to insert objects into the scene via Python but it seems to me like this only works with the physics option on ? I would like to avoid installing bullet physics, i was not successful the last time i tried and i don't really need any physics for my objects anyway.  If I understand correctly my issue is that the object library is not populated (checked with sim.get_physics_object_library_size()) when the physics option is deactivated but I have run the c++ simulation successfully with inserting objects - is it possible to avoid pybullet and still insert objects via python ?
A more general question - while going through the code, both the python sources and the c++ sources repeatedly mention that  python does not get ownership ob the semantic scene graph and that there is some memory handling issue, will i get in trouble if i access the scene graph and manipulate the positions of my agent/object ?
Thank you

You can absolutely run the simulator with physics enabled, but bullet not installed. This will default to kinematic control (transform setting) only. You won't get contact checking once that feature lands either. To clarify: you must run with physics enabled to load and insert objects, but it does not need to be built with bullet.
For portability with dynamics (using bullet physics) down the line, you can directly call the simulator.set_translation() and simulator.set_rotation() functions to manipulate the object state, instead of transforming the nodes directly.
For example:
sim = habitat_sim.Simulator(cfg)
object_lib_size = sim.get_physics_object_library_size()
rand_obj_index = random.randint(0, object_lib_size - 1)
object_id = sim.add_object(rand_obj_index)
old_object_position = sim.get_translation(object_id)
new_object_position = np.array([0.0,0.0,0.0])
self._sim.set_translation(new_object_position, object_id)

That said, you can also directly manipulate the SceneGraph if you choose, no memory issue here. What we mean is that if the SceneGraph is deleted the SceneNodes will be also, you don't get to keep them. 😉


The current tool for API docs generation is unusable

The current tool we use, gen-crd-api-reference-docs, is unusable right now for updating existing API reference docs or generating new API reference for new controllers. We need to fix the existing issues or create an alternative solution. A couple of existing issues are outlined below:

The obscure error message type invalid type has kind=Unsupported which is unhandled appears in https://github.com/kubeflow/website/pull/1899#issuecomment-614159752 and https://github.com/ahmetb/gen-crd-api-reference-docs/issues/10.
This tool does not support Go Modules yet as mentioned in https://github.com/ahmetb/gen-crd-api-reference-docs/issues/12 and https://github.com/kubeflow/kubeflow/issues/3723#issuecomment-585394918.
Hacky workarounds are required for generating API reference docs for new controllers as discussed in https://github.com/kubeflow/kubeflow/issues/3723. It will be impossible to maintain and non-trivial to reuse for generating docs for new controllers.

If anyone would like to fix the issues mentioned above or create an alternative solution, please comment on this issue.
Also cc'ing a few folks who were part of the discussion in https://github.com/kubeflow/website/pull/1899:
@sarahmaddox @zhenghuiwang @kbhawkey @rlenferink

This should not be closed. We need. solution for this.

/remove-lifecycle

Hi @terrytangyuan .
You may be interested in this new tool, https://github.com/tengqm/genref.
I have not read through the changes, but thought it may help to generate a controller API.


Missing deps

Appears to be missing
['click', 'libcst', 'moreorless', 'tomlkit', 'trailrunner', 'typing-extensions']

with more detail
ufmt/cli.py uses click but 'click' not in requirements
ufmt/cli.py uses moreorless.click.echo_color_precomputed_diff but 'moreorless' not in requirements
ufmt/config.py uses tomlkit but 'tomlkit' not in requirements
ufmt/config.py uses trailrunner.project_root but 'trailrunner' not in requirements
ufmt/core.py uses moreorless.click.unified_diff but 'moreorless' not in requirements
ufmt/core.py uses trailrunner.Trailrunner but 'trailrunner' not in requirements
ufmt/tests/cli.py uses click.testing.CliRunner but 'click' not in requirements
ufmt/tests/cli.py uses libcst.ParserSyntaxError but 'libcst' not in requirements
ufmt/tests/cli.py uses trailrunner but 'trailrunner' not in requirements
ufmt/tests/config.py uses trailrunner.tests.core.cd but 'trailrunner' not in requirements
ufmt/tests/core.py uses libcst.ParserSyntaxError but 'libcst' not in requirements
ufmt/tests/core.py uses trailrunner but 'trailrunner' not in requirements
ufmt/tests/util.py uses tomlkit but 'tomlkit' not in requirements
ufmt/types.py uses typing_extensions.Protocol but 'typing-extensions' not in requirements

moreorless, tomlkit, trailrunner, and typing-extensions are already listed in the project deps: https://github.com/omnilib/ufmt/blob/main/pyproject.toml#L13


[TACHYON-1084] Connect to worker before trying to remote write

https://tachyon.atlassian.net/browse/TACHYON-1084

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/Tachyon-Pull-Request-Builder/5546/
Test PASSed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/Tachyon-Pull-Request-Builder/5549/
Test FAILed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/Tachyon-Pull-Request-Builder/5550/
Test PASSed.

+1 LGTM


bump to go1.18, client-go to 1.24, migrate to urfave cli v2

Summary
Removes the workaround implemented for https://github.com/rancher/system-agent/issues/83 in system-agent and implements proper x509 support

Occurred changes and/or fixed issues

Technical notes summary

Areas or cases that should be tested

Areas which could experience regressions

Screenshot/Video

Closing in favor of #129


Rename .serial to .serialized.

Pending an API review thread on the forums, we've decided to rename this trait to .serialized.
Checklist:

[x] Code and documentation should follow the style of the Style Guide.
[x] If public symbols are renamed or modified, DocC references should be updated.

@swift-ci please test


SharingLink URLs are Broken

What happened?
It seems that the URL parameters generated through sharingLinks buttons are not URLs, only file paths. In other words, the URL is missing the protocol + domain part when you click on a sharing button.
Theme version
v2.4.2
Hugo version
hugo v0.101.0+extended
What browsers are you seeing the problem on?
Chrome
Relevant Hugo log output
No response

Thanks for the report, @larihuttunen. I'm not seeing this issue when I build using the theme. Do you have an example repo where this issue is happening?

Setting the baseURL helped also with this issue.
It might be good to add it to the default configuration, since based on the documentation I understood it was optional.

Glad that helped! It's not in the default configuration because if you set it in certain deployments it will break. Since the parameter very much depends on your deployment scenario, it's usually best to set it using the build command via the command line.


JavaScript Code Style Linter

closes #727
To Dos

[x] Add jscs to npm run lint command
[x] Fix any code that violates style rules

[x] lib/
[x] system-test/
[x] test/

[ ] Get the @stephenplusplus stamp of approval

This is so great :sunglasses: :dancer:

LGTM. Thanks!


reenable cacert rotation test

Please provide a description of this PR:
fix: #47829

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

/test all

/test all

/test all

@zirain: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-basic-arm64_istio
b34a28eb6b1278481a807107f5178b62e396178a
link
true
/test integ-basic-arm64

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

This test is still taking >5min which is unacceptably long for a single test

ok  	istio.io/istio/tests/integration/security/cacert_rotation	38.696s

it's better now.


Fix false positives for Style/HashEachMethods

Fixes https://github.com/rubocop/rubocop/issues/12534#issuecomment-1871676010.
This PR fixes false positives for Style/HashEachMethods when using array converter method.
Hash object converted to an Array cannot process Hash#each_key and Hash#each_value. Therefore, if methods that convert to an Array are used before each, they should be ignored.

Before submitting the PR make sure the following are checked:

[x] The PR relates to only one subject with a clear title and description in grammatically correct, complete sentences.
[x] Wrote good commit messages.
[ ] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[x] Ran bundle exec rake default. It executes all tests and runs RuboCop on its own code.
[x] Added an entry (file) to the changelog folder named {change_type}_{change_description}.md if the new code introduces user-observable changes. See changelog entry format for details.

Looks good!


Update storage class clear_datasources to also remove datasources from metastore

This either needs removing as it's a pretty dangerous function or updating to remove the associated data from the metadata store.

Linking to code where this is present: https://github.com/openghg/openghg/blob/devel/openghg/store/base/_base.py#L467
This is currently within the BaseStore class and so may be addressed by changes around that architecture but if not this should be addressed.


Add googleapis-common-protos

This differs from the published googleapis-common-protos 1.3.5 only
in that it was generated using a newer version of
error_details.proto

@landrito This only adds (aside from the one diff noted in the commit message) the current state of affairs, so that there will be a meaningful baseline from which to compare the diffs I'm about to make.

Superseded by #408


I was fooled be readme

You have onTextSelect and onTextDeselect in Readme, when there are no such props in the Component itself. I assume it was onTextSelect earlier, but now it's onSelect and it took me several minutes to figure it out when I could just glance at readme and get info that is true :)

My apologies. I've updated the README accordingly.


networkmanager: 1.22.8 -> 1.22.10

Motivation for this change
News: https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/blob/1.22.10/NEWS
This update is safe for backport to 20.03
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

backported to 20.03 8d0010b08bd2a079b24b7115f80815a141953481


Demo 3 Parameter Server not working

Issue template

Hardware description: EK-RA6M5
RTOS: Bare metal
Installation type: demo3
Version or commit hash: ros2 Foxy

Steps to reproduce the issue

Run the default demo3 project from e2 studio
from Linux terminal run: $ros2 param list

Expected behavior

/my_renesas_node:
blue
green
red

Actual behavior
Command times out without returning anything.
Additional information
The node is showing up as /my_renesas_node and the code is executing fine and getting to the while loop.
When running ros2 node info /my_renesas_node -- I get the following:
/my_renesas_node
  Subscribers:

  Publishers:
    /parameter_events: rcl_interfaces/msg/ParameterEvent
  Service Servers:
    /my_renesas_node/get_parameters: rcl_interfaces/srv/GetParameters
  Service Clients:

  Action Servers:

  Action Clients:

The memory configuration file was missing: detail.
I have updated the demo branch with the correct configuration and also upgrade it to Humble.
This adds improvements in the parameter server callback, check them out in the micro-ROS app file.
For more details on the parameter server update, you can check this documentation: link. Focus on the micro-ROS Humble section.

@Acuadros95
When running this project now I get:
'RCLC_EXECUTOR_PARAMETER_SERVER_HANDLES' undeclared (first use of this function)
This is odd since the rclc_parameter.h is included and RCLC_EXECUTOR_PARAMETER_SERVER_HANDLES is there.
Any ideas on what the issue might be?

Just tested it locally and it builds, some ideas:

Check that your  micro_ros_renesas2estudio_component submodule is updated to the expected commit (detail).
Rebuild micro-ROS: Delete the micro_ros_renesas2estudio_component/libmicroros folder and build your project.
Clean the project and rebuild.
Make sure that your rclc_parameter.h is equal to this one.

Thanks.
I followed these steps but the rclc_parameter.h  file still looked different so I manually replaced it which then worked (complied and param list shows up)
However, LEDs are not getting set when setting it from ROS CL.
A few thing which I was thinking:

I'm currently running FSP 3.6 vs 3.5
I'm using foxy not sure what you tested yours on? humble I guess? I assume the libmicroros files a generated based on the version of ros which is being used

Thanks this worked.
I was working from an older version - sorry for that :)

Hi @Acuadros95
I'm trying to use the UART version of demo 3 now and I'm having a similar issue when compiling I'm getting the following errors at the 'create executor':
RCLC_EXECUTOR_PARAMETER_SERVER_HANDLES' undeclared (first use in this function)
&
error: passing argument 3 of 'rclc_executor_add_parameter_server' from incompatible pointer type [-Werror=incompatible-pointer-types]
I've pulled the latest foxy files and tried to go through the steps above but still having this issue.
Any ideas?

I've pulled the latest foxy files and tried to go through the steps above but still having this issue.

You should use the commit that is on the repository. This new paremeter API works targets micro-ROS Humble, but you should not encounter problems communicating with ROS2 foxy.


v2

API Changes

TrackingEvent.date has been renamed to TrackingEvent.time for clarity.
TrackingInfo.estimatedDeliveryDate has been renamed to TrackingInfo.estimatedDeliveryTime for clarity.
Errors will now propagate through track(). If using async/await, this means you'll want to ensure calls to track() are wrapped in a try/catch. See README example usage.
A tracking number's automatically detected courier code is now validated. This validation can be bypassed by explicitly defining courierCode on the new TrackingOptions, though you will be limited to the courier codes of supported couriers (autocomplete supported). See README example usage.
All courier specific functions like trackFedex() and trackByCourier() have been deprecated in favor of track().
The presence of a courier's required environment variables (credentials) is now validated.
'UNAVAILABLE' tracking status has been deprecated in favor of undefined.
Tracking statuses are now available on an exported enum TrackingStatus.
TrackingOptions.env added to explicitly override the automatic process.env.NODE_ENV environment detection.

A lot of code has been unified, ramda has been removed, deps updated (includes a patch for a high vulnerability in fast-xml-parser).

I think this is complete now!
FedEx verified in testing. I am waiting for UPS to get back to me with fresh credentials. I need to find or renew my USPS credentials.
After the holiday break I'll return to this to sort out my credentials, test, merge, and create a new npm release.

todo: replace prettier with something else popular, customizable, and well maintained.

todo convert e2e test to github action

Going to have to call UPS and USPS to get my credentials sorted out and I don't feel like doing that right now so I'll come back to this next week to do that boring grunt work. UPS might not even be able to give me legacy credentials, which means I'll also need to spend a little time implementing OAuth.

Have finally renewed my credentials 😁
todo

hook up any new OAuth stuff
test


Squash dimension

Hi @brjathu, thanks for your great work and for providing the code. I am writing for a doubt on the dimension on which the squash function is applied.
From capslayers.py lines 579/585 I believe to understand that the norm of the tensor is computed along the highest dimension (axis = -1).
In capslayers.py line 351, is it correct that the activations have shape
[batch_size,   # of output capsules,     # of neurons in output capsules,    height,     width]
? If this is correct, doing the squash along axis=-1 would mean to do the norm along the width rather than along the neurons of the capsules.
Can you please explain me if I am missing something in the code?  Thank you very much

Hi @beatricebussolino. I am really sorry for the late reply. Actually its was incorrect in the code, and thank you very much for noticing it. I have patched the code (line 352m in capslayers.py). Hope this fixed the issue.


fix market get_max_short

the market get max short function currently under-estimates the max max, but otherwise works :)
fixes: #440

needs tests to confirm this works, and some additional tests to check that shorting $1 more than calculated indeed does not pass

closing for now, not sure if it has any relevance. saving to my fork to review later, if needed.


fix: app not quit while call app.quit() twice in the quit callback

use settimeout is to hack, use the suggestion in issue of the official repo !
see:  https://github.com/electron/electron/issues/33643

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.chenfuqiang.xiaogui seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Spec status says "OpenTelemetry instrumentation is scheduled for this summer"

Visit the following section of the Specification status page https://opentelemetry.io/docs/reference/specification/status/#instrumentation, and you'll see:

Instrumentation
An effort to expand the availability and quality of OpenTelemetry
instrumentation is scheduled for this summer.
...

This would seem outdated. Can someone propose some updated text for this section?
/cc @svrnm @cartermp @carlosalberto @tigrannajaryan

An option would be to drop that section of the status page.

I would probably vote for dropping.

isn't that an issue that needs to be fixed at the spec and we just copy it over?

@svrnm - you might recall that the spec status page contains the original content of /status, which was reworked to include the status of more things. So the page is unique to this repo.

oh... makes sense.
Then I agree with @cartermp , let's drop it.


Backend functionality

making a RESTful resource controller for the backend

Putting this as a new repository on organization. Closing Task


Make the AnnotationReader to be shared between factories

It is a big performance problem not to share the AnnotationReader


stay#view#make: handle errors from mkview

It might still display the error several times.
Should this get remembered as a buffer-local variable? (including the tried/current filename)

Ah, that here is confusion arising from my year long neglect of the plug-in, sorry for that: this PR has been obviated by commit 09100dbc6ca60a4e4de18a56b6308ee184952f8c in the 1.4 branch. The reason I did not simply merge this was that I felt that error logging should not be a side effect of the view module functions, so I piggybacked on Vim’s v:errmsg functionality to bubble up errors (with a customisable verbosity level as if ffc0f27946f1607a394bdc9935e2583302122b74) instead.

Understood. I'll close this PR once 1.4.0 is released.

I think we can close this PR now already.
@kopischke
Thanks for handling this in a better way!

btw: so ownership (or rather the Github organization/user) of this plugin has moved?

Found https://github.com/zhimsel/vim-stay/commit/3c000ea238cdddba106fc641f0f40e4e5b1f516f.
@zhimsel
Thanks for taking care of this nice plugin!

No problem! I'll be doing my best to address all the outstanding issues in the next few months (as time permits).


Add MultilineTextBox component

As I need this and was tinkering with it I thought this is an opportunity to open an issue to ask questions before I open a PR in the coming days. My tinkering consisted of copying the entire TextBox and see if it's feasible with my knowledge to do this.
I managed

typing multiple lines of text by removing the scaling from the text and changing the fillmode
make the Caret aware of the Y-axis
make the delete animation of characters aware of the Y-axis

I need to figure out

vertical scrolling
visually displaying a selection spanning multiple lines

Question time:

Where should it be? Is it its own component sharing code with TextBox or is it just an option you can enable for the usual TextBox? I guess it'll be the former.
What additional keys does it have to handle? One I know is the ability to add new lines and up/down keys for navigation.
Does it need a scrollbar or any visual indicator that there is text outside of our vision? Something the normal TextBox could use as well maybe?
What else super obvious does a TextBox with many lines need that I just overlooked?

Of course this won't ask/answer everything as code should be available for that but something fundamental (like the first question) may already be answered beforehand.

It should likely be refactored before attempting this.

Could you elaborate on this? Is there something wrong with the TextBox itself? Would there be a specific goal with the refactoring?

I thin splitting individual visual components into their own classes would be a good start, if that isn't done yet. ie. Caret and SelectionArea. And trying to move logic in those classes where possible.

Unassigning myself for now as it is a low priority from being worked on.


Added observable expectation value calculation by Verified QPE method

Implemented VQPE based on the original manuscript.

Ported the Python-based Prony signal processing implementation to C++.

Added unit tests and scripts to reproduce some results from the manuscripts.

Work on the Python binding to demo a simple simulation workflow.

PR'ing to prevent potential conflicts. The Python binding API will be refined later.
Note: this depends on https://github.com/eclipse/xacc/pull/308

I'm going to merge this. But will you issue another PR that adds some of the qsim work as examples in the examples folder?

Definitely, will do.


[Windows] Add available disk space info to markdown

Description
This PR add info about available disk space to generated markdown.
Example:
# Microsoft Windows Server 2019 Datacenter
- OS Version: 10.0.17763 Build 17763
- Image Version: 20200630.0

### Available disk space
| Drive Label | Available space (MB) |
| ----------- | -------------------- |
| C:          | 92134                |
| D:          | 12491                |

## Installed Software
### Language and Runtime
- Java 1.7.0_232

Related issue:
https://github.com/actions/virtual-environments-internal/issues/759
Check list

[ ] Related issue / work item is attached
[ ] Tests are written (if applicable)
[ ] Documentation is updated (if applicable)
[ ] Changes are tested and related VM images are successfully generated

I don't think we should provide unreliable information about disk space it will create a lot of question.

I think we should use Gb measurement instead of Mb, it is more readable than Mb.

@al-cheb , what do you mean "unreliable"? The idea is adding free space to documentation so we will be able to track it in dynamic.


Update registry to 3.0.0-alpha.1

How to categorize this PR?

/kind enhancement
What this PR does / why we need it:
This PR updates the registry image to v3.0.0-alpha.1.
Which issue(s) this PR fixes:
Part of #3
Special notes for your reviewer:

[ ] Depends on https://github.com/gardener/ci-infra/pull/1128. Unit tests will be adapted after the AR is available.

Release note:

The following image is updated:
- `europe-docker.pkg.dev/gardener-project/releases/3rd/registry`: 2.8.3 -> 3.0.0-alpha.1

/test pull-gardener-extension-registry-cache-e2e-kind


Can I see who shared my post?

Form

[x] I've searched the Issues
[x] I've read the basic concepts
[x] I'm using the latest version

Question
Hi!
I there any way to see all the people who shared my post on their profile?
Thank for the amazing work!

Hi! :D
You cant see if someone shares your post/story, only if they mention/tag you.


Fixes in the second deliverable documentation

There are some things we have to change of the document:

Rationale section in InciManagement
Constraints in the point 9 (Views)
Include InciManagement and InciDashboard in the context view
Include runtime quality attributes for InciDashboard

Directly related to the final documentation deliverable issue.


chore(main): release iso-base 0.3.0

:robot: I have created a release beep boop
0.3.0 (2023-05-25)
Features

add equals to utils (4e89e36)

Bug Fixes

add more module documentation (561eb1e)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/hugomrdias/iso-repo/releases/tag/iso-base-v0.3.0 :sunflower:


Settings problems are not cleared when closing settings.json

With version 1.31.1 (Ubuntu)

Open Settings
Open JSON editor
Note 'problems' with old settings which are no longer valid
Close JSON editor
Note 'problems' are not cleared.

It's not consistent - I have two windows open at the moment. One exhibits the behaviour and one doesn't... reloading fixes it.

I can't repro this. It's probably caused by an extension. You can try starting with --disable-extensions to check or try to figure out which extension might be looking at json files and keeping a model open.

I think this happens when the user settings.json and the workspace settings.json have both been opened.
Unfortunately, I can't really run without extensions, or my workflow would be totally compromised.

I mean, you could just try starting once without extensions and reproduce the issue so we can verify that it is caused by an extension.

It doesn't happen all the time - this is the nub of the problem with the problems view. After a while you notice that there are problems that shouldn't be there anymore and there is no way to clear them without reloading the window.
When I run with --disable-extensions I get an error:
notificationsAlerts.ts:38 TypeError: Cannot read property 'scheme' of null
    at t.resolveContent (remoteFileService.ts:340)
    at t.createIfNotExists (preferencesService.ts:532)
    at t.createSettingsIfNotExists (preferencesService.ts:528)
    at t.getOrCreateEditableSettingsEditorInput (preferencesService.ts:451)
    at t.doOpenSplitJSON (preferencesService.ts:345)
    at t.doOpenSettings (preferencesService.ts:318)
    at t.openOrSwitchSettings (preferencesService.ts:308)
    at t.openFolderSettings (preferencesService.ts:234)
    at t.openSettingsFile (settingsEditor2.ts:451)
    at t.switchToSettingsFile (settingsEditor2.ts:439)
    at preferences.contribution.ts:692
    at t.e.invokeFunction (instantiationService.ts:54)
    at Proxy.t._tryExecuteCommand (commandService.ts:63)
    at commandService.ts:52

Is this a separate bug?

OK, that error only happened once.
I've just seen it again when running without any extensions.

That error could actually related. It looks like you have the split json editor enabled, that is useful info. I think this method would have returned null which it looks like isn't handled well in some cases. https://github.com/Microsoft/vscode/blob/0a4a3b98282175a82a819b70d2bbe46475e1ebd0/src/vs/workbench/services/preferences/browser/preferencesService.ts#L496-L510
When you saw the error were you opening workspace settings? Do you have a multi-root workspace open or just a single folder?

Just a single folder, and yes, the split editor is enabled, although I'm fairly sure it has happened with out it too.

Still seeing this all the time.

I think this should be fixed because unrecognized settings are no longer considered error/warnings. Let me know if not the case.

Yes  - they just showing up as 'info's now. Thanks.


update to new cellfinder function names

Description
What is this PR

[x] Bug fix
[ ] Addition of a new feature
[ ] Other

Why is this PR needed?
We've updated some function names as part of https://github.com/brainglobe/cellfinder/pull/394
What does this PR do?
Updates the function names.
When this is merged, I think we should

[x] release cellfinder 1.1.2
[ ] release brainglobe 1.0.5, which should depend on cellfinder >= 1.1.2
[ ] release brainglobe-workflows 1.1.5 depending on brainglobe >=1.0.5

References
https://github.com/brainglobe/cellfinder/pull/394 and https://github.com/brainglobe/cellfinder/issues/393
How has this PR been tested?
Locally, which current main of cellfinder installed.
Is this a breaking change?
Yes, this will now require cellfinder >=1.1.2
Does this PR require an update to the documentation?
No.
Checklist:

[x] The code has been tested locally
[n/a] Tests have been added to cover all new functionality (unit & integration)
[n/a] The documentation has been updated to reflect any changes
[x] The code has been formatted with pre-commit

Superceded by #89


[TODO][SPARK-23932][SQL] Higher order function zip_with

What changes were proposed in this pull request?
Merges the two given arrays, element-wise, into a single array using function. If one array is shorter, nulls are appended at the end to match the length of the longer array, before applying function:
    SELECT zip_with(ARRAY[1, 3, 5], ARRAY['a', 'b', 'c'], (x, y) -> (y, x)); -- [ROW('a', 1), ROW('b', 3), ROW('c', 5)]
    SELECT zip_with(ARRAY[1, 2], ARRAY[3, 4], (x, y) -> x + y); -- [4, 6]
    SELECT zip_with(ARRAY['a', 'b', 'c'], ARRAY['d', 'e', 'f'], (x, y) -> concat(x, y)); -- ['ad', 'be', 'cf']
    SELECT zip_with(ARRAY['a'], ARRAY['d', null, 'f'], (x, y) -> coalesce(x, y)); -- ['a', null, 'f']

How was this patch tested?
Added tests

Build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/1924/
Test PASSed.

Test build #94389 has started for PR 22031 at commit 6f91777.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/1926/
Test PASSed.

Test build #94391 has started for PR 22031 at commit 14ef371.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/1927/
Test PASSed.

Test build #94392 has started for PR 22031 at commit c7e2dee.

Test build #94389 has finished for PR 22031 at commit 6f91777.

This patch passes all tests.
This patch does not merge cleanly.
This patch adds no public classes.

Build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/94389/
Test PASSed.

Test build #94391 has finished for PR 22031 at commit 14ef371.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class ArraysZipWith(

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/94391/
Test PASSed.

Test build #94392 has finished for PR 22031 at commit c7e2dee.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/94392/
Test PASSed.

Hi @techaddict,
Do you have time to continue working on this?
If you don't have enough time, I can take this over, so please let me know.
Thanks!

Hi @ueshin I will update the PR tommorow

@techaddict Thanks! I look forward to the update.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/2230/
Test PASSed.

Test build #94829 has started for PR 22031 at commit d6c44a6.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/2231/
Test PASSed.

Merged build finished. Test PASSed.

Test build #94830 has started for PR 22031 at commit 92cb34a.

Test build #94829 has finished for PR 22031 at commit d6c44a6.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class ArraysZipWith(left: Expression, right: Expression, function: Expression)

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/94829/
Test FAILed.

Merged build finished. Test FAILed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/2233/
Test PASSed.

Test build #94833 has started for PR 22031 at commit 0342ed9.

Test build #94830 has finished for PR 22031 at commit 92cb34a.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class ZipWith(left: Expression, right: Expression, function: Expression)

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/94830/
Test FAILed.

Test build #94833 has finished for PR 22031 at commit 0342ed9.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/94833/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/2237/
Test PASSed.

Test build #94839 has started for PR 22031 at commit 16516ec.

Test build #94839 has finished for PR 22031 at commit 16516ec.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/94839/
Test FAILed.

Jenkins, retest this please.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/2241/
Test PASSed.

@techaddict Could you fix the conflicts please? Thanks!

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/2243/
Test PASSed.

Test build #94846 has started for PR 22031 at commit 2388130.

LGTM pending Jenkins.

Test build #94845 has finished for PR 22031 at commit 16516ec.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/94845/
Test PASSed.

Test build #94846 has finished for PR 22031 at commit 2388130.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/94846/
Test PASSed.

Thanks! merging to master.


How can I get the same results in every training?

Hi, thank you for your impressive works!
I noticed that you set the cudnn.benchmark false,
cudnn.benchmark = False
and fixed the random seed:
    seed = configs.seed
random.seed(seed)
np.random.seed(seed)
torch.manual_seed(seed)
I add another line:
    torch.cuda.manual_seed_all(seed)
However, these counldn't keep the results same in every training. How can I get the same results in every training?

Hi, @linhaojia13. Sorry for the late response.
torch.manual_seed(seed) will automatically call torch.cuda.manual_seed_all(seed) if CUDA environment is detected.
Setting seed can only help keep the evaluation results almost the same. It might be difficult to keep the training the same, since some operations we written in CUDA may introduce some random into training which is not controlled by setting seed in the python side.

I will close the issue for now. Feel free to re-open if you have further problems.


Starter changes

This is a stack of starter changes, each commit works in complete isolation (much like our workflow internally)
I reccomend looking at them one commit at a time (however one does this on github?)
I would love for you to show me how you review this effectively so I can do it too soon :)

@brandonpollack23 it looks like the check is failing... could you fix that? Thank you!!!

@brandonpollack23 it looks like the check is failing... could you fix that? Thank you!!!

already about to upload :)

FYI: it looks like the rustfmt is complaining

nice, perfect!!!!!

should be good now.
thanks git rebase main --exec 'cargo fmt && git commit -a --amend --no-edit'


Switch to tokio green threads

Cooperative multi-tasking should work better than rayon, assuming the critical sections are fast enough compared to the state processing time.

This is not a priority anymore, though it still might be useful someday.


Please provide a pc file

I'm trying to build @rustdesk on Slackware. I've installed xdo from Slackbuilds.org but rustdesk build can't find -lxdo because there is no pc file.

Excuse me, rustdesk needs the xdotool library, not xdo.


yarn setup-dev ~> "A has_one constraint was violated"

Hello again!
I am trying to upload 100 assets to devnet and after a few minutes wait and what looks like a positive upload then spits out a constant never-ending stream of errors (see below)
I've pulled latest on metaplex and run yarn bootstrap
Are you seeing this issue your end?
My file names are incrementing numbers e.g 0.png, 1.png etc...
Transaction simulation failed: Error processing Instruction 0: custom program error: 0x8d
    Program cndyAnrLdpjq1Ssp1z8xxDsB8dxe7u4HL5Nxi2K5WXZ invoke [1]
    Program log: Custom program error: 0x8d
    Program cndyAnrLdpjq1Ssp1z8xxDsB8dxe7u4HL5Nxi2K5WXZ consumed 16007 of 200000 compute units
    Program cndyAnrLdpjq1Ssp1z8xxDsB8dxe7u4HL5Nxi2K5WXZ failed: custom program error: 0x8d
Translating error SendTransactionError: failed to send transaction: Transaction simulation failed: Error processing Instruction 0: custom program error: 0x8d
    at Connection.sendEncodedTransaction (/Users/[redacted]/metaplex-foundation/metaplex/js/node_modules/@solana/web3.js/src/connection.ts:3553:13)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at async Connection.sendRawTransaction (/Users/[redacted]/metaplex-foundation/metaplex/js/node_modules/@solana/web3.js/src/connection.ts:3513:20)
    at async Object.sendAndConfirmRawTransaction (/Users/[redacted]/metaplex-foundation/metaplex/js/node_modules/@solana/web3.js/src/util/send-and-confirm-raw-transaction.ts:27:21)
    at async Provider.send (/Users/[redacted]/metaplex-foundation/metaplex/js/node_modules/@project-serum/anchor/src/provider.ts:112:18)
    at async Object.rpc [as addConfigLines] (/Users/[redacted]/metaplex-foundation/metaplex/js/node_modules/@project-serum/anchor/src/program/namespace/rpc.ts:19:23) {
  logs: [
    'Program cndyAnrLdpjq1Ssp1z8xxDsB8dxe7u4HL5Nxi2K5WXZ invoke [1]',
    'Program log: Custom program error: 0x8d',
    'Program cndyAnrLdpjq1Ssp1z8xxDsB8dxe7u4HL5Nxi2K5WXZ consumed 16007 of 200000 compute units',
    'Program cndyAnrLdpjq1Ssp1z8xxDsB8dxe7u4HL5Nxi2K5WXZ failed: custom program error: 0x8d'
  ]
}
saving config line 0-9 failed ProgramError:
    at Function.parse (/Users/[redacted]/metaplex-foundation/metaplex/js/node_modules/@project-serum/anchor/src/error.ts:36:14)
    at Object.rpc [as addConfigLines] (/Users/[redacted]/metaplex-foundation/metaplex/js/node_modules/@project-serum/anchor/src/program/namespace/rpc.ts:23:42)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:95:5) {
  code: 141,
  msg: 'A has_one constraint was violated'
}
Writing indices 10-19

0.json example
{
    "name": "OG_SLOG#1",
    "symbol": "[REDACTED]",
    "seller_fee_basis_points": 500,
    "image": "0.png",
    "attributes": {
        "Primary Color": "Green",
        "Secondary Color": "Purple",
        "Skin Pattern": "Swirl_Large",
        "Eye Pattern": "Eye_Pattern_B",
        "Pupil Pattern": "Pupil_Pattern_A",
        "Skin Bumpy": "0.5",
        "Metalic A": "0.25",
        "Metalic B": "0.5",
        "Roughness A": "0.25",
        "Roughness B": "0.1",
        "Primary Shade": "9.0",
        "Secondary Shade": "11.0"
    },
    "properties": {
        "creators": [{
            "address": "[REDACTED]",
            "share": 100
        }],
        "files": [{
            "uri": "0.png",
            "type": "image/png"
        }]
    }
}

Try reverting this commit https://github.com/kevinfaveri/solana-candy-factory/commit/05d420d20bc9c91e6a1fb3ba3637b2e50342ef49 (not sure why this change was made @kevinfaveri, maybe you can explain) or better just delete the devnet-temp file inside the .cache folder in the root of the project, every-time, before running yarn setup-dev.
In the README it says that:

You should have all your NFTs ready before deploying. Incremental deploying of NFTs is not supported right now.

Hope this helps!