Upgrade to Publishing Api V2

This PR switches the app to using Publishing API V2. This includes a new Publisher class which bundles the three calls (put_content, put_links and publish) that need to be made with the new API to publish an item to 'live'. All tests have been updated to use this new Publisher class as well as to use the V2 relevant test helpers.
Contract testing has also been upgraded to V2, which required an update to the ContentItem Presenters, since content_id and update_type are now no longer part of the payload, but need to passed as separate parameters.
Finally, any code regarding the finder has been removed, as the finder has never been implemented fully.
For https://trello.com/c/An50dl6N/213-contacts-bump-from-v1-to-v2-publishing-api

Thank you for working on this in my 2ndline-induced absence! :tada: I'll take a look in detail soon.

David talked me through this and it all seems sensible, and I've seen it all working as normal.

The linter seems to be going against some of our style guide recommendations - in particular, the guide says to leave a trailing comma at the end of a multiline hash or array, to reduce diff noise when subsequently adding extra items.

@danielroseman This rule needs to be enabled: https://github.com/alphagov/govuk-lint/blob/master/configs/rubocop/gds-ruby-styleguide.yml#L290

@boffbowsh @danielroseman @benlovell thanks, will address the linting issues in a different PR to make this one easier to read

@boffbowsh Have addressed all your comments and rebased

Publisher.publish method now returns a boolean here
update_type now remains part of the presenter payload as update_type is allowed in payload again
contract testing for links added
govuk-lint will be run in a follow up PR

:+1: but will let @issyl0 check it over again as she has more domain context than I

Thanks for the sylistic comments @boffbowsh - I've not got the hang of spotting those yet.

If it works (which it does), I'm happy with it. :-)


Documented examples for pyarrow "filtering by expression" fail with TypeError

Describe the usage question you have. Please include as many useful details as  possible.
Hello,
I'm trying to perform "filtering by expressions" with pyarrow, by testing the code samples found in the Compute Functions documentation or in the pyarrow.Table.filter reference.
Example 1:
import pyarrow as pa
import pyarrow.compute as pc
even_filter = (pc.bit_wise_and(pc.field("nums"), pc.scalar(1)) == pc.scalar(0))
table = pa.table({'nums': [1, 2, 3, 4, 5, 6, 7, 8, 9, 10],
                  'chars': ["a", "b", "c", "d", "e", "f", "g", "h", "i", "l"]})
table.filter(even_filter)

Example 2:
import pyarrow as pa
import pandas as pd

df = pd.DataFrame({'year': [2020, 2022, 2019, 2021],
                   'n_legs': [2, 4, 5, 100],
                   'animals': ["Flamingo", "Horse", "Brittle stars", "Centipede"]})
table = pa.Table.from_pandas(df)
expr = pc.field("year") <= 2020
table.filter(expr)

Both examples fail with following exception, apparently raised in _pack_compute_args() in pyarrow/_compute.pyx:
TypeError: Got unexpected argument type <class 'pyarrow._compute.Expression'> for compute function

Am I doing something wrong?
Is the documented behavior (Filtering by Expressions) really implemented?
(In pyarrow/_compute.pyx, the Cython code for _pack_compute_args() doesn't seem to allow an Expression as argument indeed.)
Thanks in advance.
Best,
Jérôme
Component(s)
Python

Which version of pyarrow are you using? The docs you mention are for the latest released version 10.0, and I think it is new in that version.

Good catch! My bad! 😅 Thanks for the quick hint!
Examples run smoothly with pyarrow v10 indeed. It seems that "filtering by expressions" has been introduced with v9.
As of this writing, my conda tends to install v8.0.0 (when not explicitly requesting pyarrow==10.0.1). Hence my confusion: default version of pyarrow installed with my conda environment wasn't matching the documentation I was reading online. 😅


docs: Remove prepare from contributing guide

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

I'd be happy to merge but this has a conflict now. Is it perhaps not necessary anymore?

agree issue is addressed let's close


Fix: Hide scroll to top button when already on top

Description
Before this PR, there were two bugs:

The jQuery plugin was missing, due to which animation wasn't working when the scroll to top button was clicked.
The display: none CSS property was missing in the scroll to top button, due to which it was being displayed when already on the top of the page.

After this PR:

Added the jQuery plugin, so animations are working perfectly.
The scroll to top button isn't displayed at the top of the page.

Refer to the attached video.
https://user-images.githubusercontent.com/47353498/194992467-34c7f048-fe58-45a7-8295-3fcddd29941d.mp4

...
...
...

Related issue(s)

Fixes: #97

Thanks @ashutoshkrris for your valuable contribution.
Do share it with your friends and help them in making their first PR.


SelectWithPrevious

Alternative to that is
source.Skip(1).Zip(source, (curr, prev) => ...);

but I found SelectWithPrevious better option. I think it worth being added here. one reason is its readability.
but more important reason is that you will enumerate main source only once which is crucial sometimes and has more performance for sure.
https://stackoverflow.com/a/3683217/4767498

Just realized that Incremental does the same thing.

Incremental has been removed from the upcoming 3.0 release (see #242). You should use Pairwise instead.

@atifaziz thanks informing that ^^


maybe make an option for the direction of the icons centering.

I have a problem where my icons go to the right not the left... I know why that is but I would like a fix for it:
just add an option to where people would want their icons to center, to the right or to the left...

this happens to me because my icons are already centered from the windows method.... and this confuses taskbarX making it shift my icons to the right instead of the left, if you can fix that/ make it have an option to where I can make my icons shift that would be amazing

To be able to focus on major/current bugs I had to close all issues. The issues section has gotten very messy to a point that I couldn't follow it anymore. Most issues are duplicates, very old or are already fixed/solved. Feel free to reopen this issue if you still have this issue on the latest version of TaskbarX to get my attention. All feature requests have been put in a list here: 💡| Feature requests #870
I hope you understand ❤


[csolution] STM32CubeMX integration - gaps in CMSIS-Toolbox 2.0

The current CubeMX in CMSIS-Toolbox 2.0 relies on:

MDK implementation that provides a CubeLauncher.exe - only available on Windows. This launcher supplies different command-line options to CubeMX that depend on:

First invocation (when no device configuration exists); here device information is passed. This generates an *.ioc file.
Subsequent invocations where an existing *.ioc file is generated.

Reworked Cube firmware that is formatted with components in CMSIS-Pack

Adds an additional dependency; ideally the original ST Cube firmware delivery should be used instead.

These limitations should be removed so that:

Middleware that uses component dependencies can interact with a device layer that is configured using CubeMX
Users of a pack system can easily create device configuration using CubeMX

In addition the *.gpdsc file is hard to understand for CLI users. As CMSIS-Toolbox user files are in *.yml, suggestion is to use a file that is similar to *.clayer and include this in the project.
Potential solutions:

Review the *.genlayer proposal (#637)

Extend generator definition in *.PDSC to describe an first and subsequent invocation of a generator.

Allow to include a *.genlayer file in a *.cproject and *.clayer file (so that a configured device HAL can be reused in multiple projects).  This could be achieved by adding a node:

  generators:
     - genlayer: <file>.genlayer.yml
        info: CubeMX

Optional: pragmatically define components (which could be useful also for other scenarious), for example:

  - group: "HAL Interface"
    implements:
      - component: Device:ADC
      - component: Device:I2C
    files:
      - file: file1.c
      - file: file2.c

Potential user workflow:

csolution tool notifies the user to run a generator
user calls csolution run to call the generator

depending on the status of the *.yml files, first or subsequent parameters are used.

user integrates the genlayer.yml file into the *.yml input files.

I believe this is superseded/refined by:
https://github.com/Open-CMSIS-Pack/devtools/issues/1112
The generator bridge shipped as part of the CMSIS-Toolbox supports all host plaform and is responsible for writing the cgen.yml files included by csolution based on the generator component.
https://github.com/Open-CMSIS-Pack/generator-bridge/issues/7

Correct this is covered now by #1112 , therefore closing this issue


Share the train script?

Hello, Atapour. Thanks for the outstanding work. Can you share the training script? I am not very clearly understand the Loss function (3.1.1). I will appreciate it if you can reply. Thank you very much.

unfortunately, the training script is no longer available. However, as mentioned in the readme file, the code was based on the modified version of the code here: https://github.com/junyanz/pytorch-CycleGAN-and-pix2pix
The loss function in part 3.1.1 is a simple L1 loss (https://pytorch.org/docs/stable/nn.html?highlight=loss#torch.nn.L1Loss) and a conditional GAN loss (https://github.com/pytorch/examples/tree/master/dcgan).


black produces unnecessary line breaks in a cell of jupyter notebook if there are one or more import statements

Diagnostic Data

Python version (& distribution if applicable, e.g., Anaconda): 3.11.5 (Anaconda 2023.07)
Type of virtual environment used (e.g., conda, venv, virtualenv, etc.): conda
Operating system (and version): Windows 11 22000.2538
Version of tool extension you are using: v2024.2.0 with black 24.4.2

Behaviour
Expected Behavior

Just like these code in one cell:
from matplotlib.patches import Circle
data = {
    "MACs": [0],
    "MAPE": 1,
    "Params": 2,
    "Category": [
        "Seq",
        "Attn",
        "Dyn",
        "Dyn",
        "Conv",
        "Seq",
        "Attn",
        "Dyn",
        "Dyn",
        "Conv",
        "Seq",
        "Attn",
        "Dyn",
        "Conv",
    ],
}

When formatting, it should produce a line break after the import statement.
Other line breaks are unnecessary and annoying.
Actual Behavior

It Sometimes produce formatted output like this:
from matplotlib.patches import Circle

data = {
    "MACs": [0],

    "MAPE": 1,
    "Params": 2,
    "Category": [
        "Seq",
        "Attn",
        "Dyn",
        "Dyn",

        "Conv",
        "Seq",
        "Attn",
        "Dyn",

        "Dyn",
        "Conv",
        "Seq",

        "Attn",
        "Dyn",
        "Conv",
    ],
}

Reproduction Steps:

It will Sometimes happen in large jupyter notebooks with many cells.
I find this issue in several notebooks containing private content. Here are an example file that could be shared:
main.zip
If it's hard to reproduce, I'm willing to help.
Logs:

I have set log level to trace but this issue disappears now.
Logs will be given when it happens again.
Outcome When Attempting Debugging Steps:

Did running it from the command line work?
The command is something like D:/anaconda3/Scripts/black.exe --stdin-filename e:\Project\battery\datapreprocessing_and_plots.py -
It will get stuck since the file is datapreprocessing_and_plots.ipynb and there is no such file as datapreprocessing_and_plots.py.
Extra Details

What other Python-related extensions are you using?

Are you working in a multiroot workspace?
I have been in a workspace, but with only one root e:\Project\battery.
Any extra settings from your workspace or user settings.json files?
Here are the settings from the workspace:

    "settings": {
        "python.analysis.inlayHints.functionReturnTypes": false,
        "python.analysis.inlayHints.variableTypes": false,
        "python.analysis.inlayHints.callArgumentNames": "off",
        "python.analysis.extraPaths": [
            "D:/ibl/brainnet"
        ],
        "python.autoComplete.extraPaths": [
            "D:/ibl/brainnet"
        ],
        "python.analysis.logLevel": "Trace"

These are from settings.json of the profile:
{
    "jupyter.askForKernelRestart": false,
    "flake8.args": [
        "--ignore=E203,W503,F841,E501,F401,E741",
        "--max-line-length=88"
    ],
    "[python]": {
        "editor.defaultFormatter": "ms-python.black-formatter",
        "diffEditor.ignoreTrimWhitespace": false
    },
    "flake8.severity": {
        "E": "Information",
        "F": "Information",
        "W": "Information"
    },
    "jupyter.debugJustMyCode": false,
    "tensorBoard.logDirectory": "runs",
    "python.terminal.executeInFileDir": true,
    "terminal.integrated.env.windows": {
        "PYDEVD_WARN_SLOW_RESOLVE_TIMEOUT": "5"
    },
    "python.analysis.autoFormatStrings": true,
    "python.analysis.completeFunctionParens": true,
    "python.analysis.inlayHints.variableTypes": true,
    "python.analysis.inlayHints.functionReturnTypes": true,
    "python.analysis.inlayHints.callArgumentNames": "partial",
    "jupyter.kernels.excludePythonEnvironments": [
        "D:/GPTAcademic/installer_files/conda/python.exe",
        "D:/GPTAcademic/installer_files/env/python.exe"
    ],
    "flake8.importStrategy": "fromEnvironment",
    "editor.unicodeHighlight.includeStrings": false,
    "black-formatter.path": [
        "D:/anaconda3/Scripts/black.exe"
    ],
    "diffEditor.maxComputationTime": 0,
    "python.analysis.exclude": [
        "**/.backup",
        "**/.vscode"
    ],
    "python.analysis.ignore": [
        "**/.backup",
        "**/.vscode"
    ],
    "python.analysis.diagnosticSeverityOverrides": {
        "reportMissingImports": "none",
        "reportMissingModuleSource": "none"
    },
    "editor.unicodeHighlight.allowedCharacters": {
        "−": true
    },
    "python.envFile": "${workspaceFolder}/.vscode/.env",
}

There is no specific setting related to black or python in user settings.json.

@Saltsmart it would really be helpful to get the logs for this. The way this works is we pass each cell to black via stdin, and we use .py extension to tell black to treat the contents sent via stdin as Python text. This was a workaround as VS Code previously did not have a way to trigger formatting on the ipynb itself. The notebook formatting command triggered formatting on individual cells in parallel.
The upcoming release of VS Code, introduced a new way to register formatters as ipynb formatters. We will adopt that here when it is in stable.
As for this issue, if you want to try and replicate it vial command line, then do this:

Copy contents of the cell to a file with extension .py
Then use this command: type <file-path> | black —stdin-filename <file-path> -

That simulates what happens inside the extension. We don’t create a file, but feed each cell content in.

@Saltsmart it would really be helpful to get the logs for this. The way this works is we pass each cell to black via stdin, and we use .py extension to tell black to treat the contents sent via stdin as Python text. This was a workaround as VS Code previously did not have a way to trigger formatting on the ipynb itself. The notebook formatting command triggered formatting on individual cells in parallel.
The upcoming release of VS Code, introduced a new way to register formatters as ipynb formatters. We will adopt that here when it is in stable.
As for this issue, if you want to try and replicate it vial command line, then do this:

Copy contents of the cell to a file with extension .py
Then use this command: type <file-path> | black —stdin-filename <file-path> -

That simulates what happens inside the extension. We don’t create a file, but feed each cell content in.

This issue only happens in Jupyter so I can't reproduce it in py file, and it's not always happening.
Even a large file with no-import-statement cell sometimes triggers this bug.

This is what happens to my code (I switch 'format cell on execution' on and running a cell is just the same as formating it, for this issue).
I will be willing to upload the log if this happens the next time.


Added scripts ica-ega-encryptor and ica-ega-uploader

Usages are as below:
Encryptor
Given a bam path, encrypt bam file and index into an output destination path
ica-ega-encryptor \
  --gds-bam-path gds://development/temp/alexis/apgi-umccrise-test/apgi2137/output/20230424_095916/ICGC_0002/work/APGI_2137__APGI_2137_tumour/oncoviruses/work/detect_viral_reference/host_unmapped_or_mate_unmapped_to_gdc.bam \
  --output-path gds://development/temp/alexis/ega_encryption_test_output/APGI_2137/ \
  --logs-path gds://development/temp/alexis/ega_encryption_test_logs/APGI_2137

Uploader
Given a directory of files, upload the directory to EGA
ica-ega-uploader \
  --gds-path gds://development/temp/alexis/ega_encryption_test_output/APGI_2137/ \
  --logs-path gds://development/temp/alexis/ega_upload_logs/ \
  --ega-dest-directory /path/to/cohort/ \
  --ega-username foo-user \
  --ega-password foo-password

Few teething issues here. See https://github.com/umccr-illumina/stratus/issues/193 have literally tried every possible combination of things. Didn't help that I hadn't set the command correctly for a quite a few iterations.
tl;dr ICA TES is pretty tightly wrapped and I don't think allows the 33001 port.  If we don't want to pay for egress, I think we refactor the encrypt command to push instead to ICAv2 (a non BYOB bucket) and then upload from bench


include macro

!!!include:$name

includes for parts of files
includes with std text filter
include with start & end just text match
!!!include:$name startfilter endfilter

includes with regex filter
!!!include:$name R:startfilter R:endfilter

R means with regex (PCRE)
includes for MD headers
!!!include:$name H2:$partoftitle
or
!!!include:$name H2:'$partoftitle'

$partoftitle
H2 means its header with 2 ##

add filtered line at start or end

standard we don't include the matched line at start and end
if extra + before start filter: means we  include the start line (the line which did the match)
if extra + before end filter means we include the end matching line

!!!include:$name +startfilter +endfilter
!!!include:$name +startfilter endfilter
!!!include:$name startfilter +endfilter
!!!include:$name startfilter +'endfilter'

modifiers

(header:+1)

means header 1 become header 2, header 2 -> 3, ...

(header:-1)

include external files

git based (http/ssh) repo's

As @xmonader suggested, we can use mdbook pre-processors https://rust-lang.github.io/mdBook/for_developers/preprocessors.html


4004 webpage still points to 1.0.0 - looks like 1.1.0 was never made live on the web

Went to look at releasing a 1.2.0 and noticed the webpage was still at 1.0.0 in the version number presented and the data in the download is old as well.

Uploading the 1.2 to s3 now - will change the links and description once complete

@scmcduffee , now that 1.2 is live and updated on the site, is this issue good to close?

Resolved by #15


[Feature Request] Configurable drop delay for stacks of items

When you have a stack of cobblestone for example, and you press Q, the drop delay is applied to the first item, and also to all the subsequent items while you hold Q down.
It would be nice to have a configuration option where the drop delay is only applied to the first item of a stack, and the next items of the same stack drop instantly until you let go Q.

v1.1.0 now includes this feature. It can be downloaded from GitHub Releases or CurseForge.


Utilise impersonation when watching resources

Overview
It would be fantastic if the template-controller could impersonate the relevant service accounts when setting up watches for resources referenced in an ObjectTemplate.
Details
When setting up an ObjectTemplate that references a Cluster API resource as input, I created a service account and RBAC similar to:
apiVersion: v1
kind: ServiceAccount
metadata:
  name: foocluster-transformer
  namespace: default
---
kind: Role
apiVersion: rbac.authorization.k8s.io/v1
metadata:
  name: foocluster-transformer
  namespace: default
rules:
  - apiGroups: [""]
    resources: ["secrets"]
    resourceNames: ["foo-connection"]
    verbs:
      - create
      - delete
      - get
      - list
      - patch
      - update
      - watch
  - apiGroups: ["infrastructure.cluster.x-k8s.io"]
    resources: ["foocluster"]
    resourceNames: ["foo"]
    verbs:
      - get
      - list
      - watch
---
kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
  name: foocluster-transformer
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: Role
  name: foocluster-transformer
subjects:
  - kind: ServiceAccount
    name: foocluster-transformer
    namespace: default

Due to template-controller's fantastic impersonation functionality, this allows me to define minimal access to relevant resources. With this in place, I am - however - seeing errors similar to the following:
E0518 13:54:05.679980       1 reflector.go:148] pkg/mod/k8s.io/client-go@v0.27.1/tools/cache/reflector.go:231: Failed to watch infrastructure.cluster.x-k8s.io/v1beta1, Kind=FooCluster: failed to list infrastructure.cluster.x-k8s.io/v1beta1, Kind=FooCluster: fooclusters.infrastructure.cluster.x-k8s.io is forbidden: User "system:serviceaccount:kluctl-system:template-controller" cannot list resource "fooclusters" in API group "infrastructure.cluster.x-k8s.io" at the cluster scope

It appears as if a new watch is configured for relevant resources which use the service account of the template-controller itself, rather than the specific one that allows access to these resources.
My assumption would be that all functionality that requires the watch (i.e. updates/changes) is broken and this also makes it hard to monitor for legitimate errors.

You're right, it's very likely that the watches are completely broken. I assume I have to remove the global watch on the resource type and instead watch on individual resources only, otherwise RBAC issues will be a recurring issues in other situations.

Thank you, @codablock! That's much appreciated. I'm very happy about the fact that impersonation can be used already, but one corollary of that is that it has to be used almost everywhere.
Hopefully the increase in watches does not pose a problem, but I'd be surprised as, say, Flux implements somewhat similar functionality without issues.

Fixed by https://github.com/kluctl/template-controller/pull/104


Add the minimum required version to README

I think that it is preferable to display the minimum required version.
Related: rust-lang-nursery/pin-utils#19

Would you be able to add a test for this to .travis.yml as well? Without a test, I'm concerned that this wouldn't be updated when appropriate.

Thanks!


Big warning stacktrace for proptypes

I'm getting a big warning in my log while using this component.
Seems to be related to this line, which uses Text.style
https://github.com/markuswind/react-native-select-input-ios/blob/master/src/components/selectinput/SelectInput.ios.js#L85
A quick test suggests Text.propTypes.style is the right thing
10:49:25: Warning: Invalid argument supplied to oneOfType. Expected an array of check functions, but received undefined at index 0.
* /users/dev/node_modules/fbjs/lib/warning.js:33:20 in printWarning
* /users/dev/node_modules/fbjs/lib/warning.js:57:25 in warning
* /users/dev/node_modules/prop-types/factoryWithTypeCheckers.js:327:10 in createUnionTypeChecker
* /users/dev/node_modules/react-native-select-input-ios/src/components/selectinput/SelectInput.ios.js:85:47 in <unknown>
* /users/dev/node_modules/metro/src/lib/polyfills/require.js:212:12 in loadModuleImplementation
* /users/dev/node_modules/react-native-select-input-ios/src/index.js:1:20 in <unknown>

Should probably say, I'm on React 16.3 right now. Not sure if this is a backward compatibility issue.

Ah, I'll fix it tonight!

sweet, thanks 👍

Saw your hotfix commit. Thanks - at least that's killed the warning!

Alas! That killed one warning, but created another.
The commit:
https://github.com/markuswind/react-native-select-input-ios/commit/3dc42e19d5a5d5794247feccd96760f0320fe5da
So by making it an object, you can put in a literal object to use as a style, but when using StyleSheet.create({}), what actually gets passed is a reference to the style, which is a number.
And so now we get this:

So, regarding this issue, I would increment that I cannot proper style the label or the input, because when I use textAlign or fontSize I get this warning and the style is not applied.

@djalmaaraujo Looks like you might be trying to apply Text styles to the style property instead of the textStyle property?

Nope, i get this errors using the correct styles. In the labelStyle
property, its not allowed to use these properties I mentioned.
On Mon, Apr 23, 2018, 8:48 AM Andy McVitty<EMAIL_ADDRESS>wrote:

@djalmaaraujo https://github.com/djalmaaraujo Looks like you might be
trying to apply Text styles to the style property instead of the textStyle
property?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/markuswind/react-native-select-input-ios/issues/27#issuecomment-383485409,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAANSlYzEHFGkPZLTP1-kEm_ukniJ29Tks5trYdqgaJpZM4TWOgE
.

--
Djalma Araújo
+351 910623833
nossomos.cc

Do you think this is a bug @markuswind 👆 ? I feel odd having the labelStyle applied to the Picker


Unable to mount istio access logs to efs

Is this the right place to submit this?

[X] This is not a security vulnerability or a crashing bug
[X] This is not a question about how to use Istio

Bug Description
Is there any way i can mount my istio access logs to efs - Lret me know
I have enabled access logs by following official documentation and now to mount it to efs how it is possible as you know
/dev/stdout is an special file system and cannot mount it directly and regarding other files we are getting permission denied error read only file system error is there any way that we can do this ?
Version
istio-1.22.1

Additional Information
No response

Istio doesn't only write to /dev/stdout, you can configure the accessLogFile. You can also use https://istio.io/latest/docs/setup/additional-setup/sidecar-injection/#customizing-injection to inject a custom volume if that is required -- not sure how the efs setup works.


Shortcode yield content

Hi,
I'm not sure if this is possible or not as the documentation is down, but from what I can currently tell from looking at the code is that there's no options to yield the content like in wordpress right?
e.g
[container]
[image]
[/container]

you can pass options through attributes, likes:
[container attr1='val attr 1' attr2="value attr 2"]
....
[/container]
Rendering your chortcode, check for variables "attributes" and "args".
Cheers!

Oh cool thanks a lot!


Problems running Kubernetes in Docker for Windows

Moved from https://github.com/cockroachdb/docs/issues/3184.
From @jazoom:

I have been using a CockroachDB cluster in Swarm Mode in Docker for Windows for a few months now and it has worked well (was using volumes). I'd never tried direct path mapping to Windows file system. What's actually the difference that makes one work and not the other? It seems docker volumes are pretty much the same thing except docker keeps the data in a special directory on the host that you don't need to know the path of.
Now I'm moving everything over to Kubernetes in Docker for Windows and it seems hostPath isn't working for CockroachDB. I haven't found an equivalent of the docker volumes here that work around this issue. What can we do in Kubernetes?

...
Circling back to answer my own question in case it helps someone else in future.
This is how I got around this issue in Kubernetes in Docker for Windows.
apiVersion: apps/v1beta1
kind: StatefulSet
metadata:
  name: cockroachdb
spec:
  replicas: 1
  template:
    spec:
      volumes:
      - name: data
        $patch: delete
      - name: data
        emptyDir: {}
      - name: dump
        hostPath:
          path: /E/kubernetes-volumes/cockroachdb-dump
          type: DirectoryOrCreate
      initContainers:
      - name: restore-data
        image: busybox:1.29.2
        command: ['sh', '-c', 'if [ -e /cockroach/dump/data/ ]; then echo "restoring data..." && cp -rf /cockroach/dump/data/. /cockroach/cockroach-data/ && echo "data restored"; fi']
        volumeMounts:
        - name: data
          mountPath: /cockroach/cockroach-data
        - name: dump
          mountPath: /cockroach/dump
      containers:
      - name: cockroachdb
        volumeMounts:
        - name: dump
          mountPath: /cockroach/dump
        command:
        - "/bin/bash"
        - "-ecx"
        - "exec /cockroach/cockroach start --insecure --logtostderr --cache 25% --max-sql-memory 25% --http-host <IP_ADDRESS>"
        lifecycle:
          preStop:
            exec:
              command:  ['sh', '-c', 'echo "dumping data..." && cp -r /cockroach/cockroach-data/ /cockroach/dump/data-temp/ && rm -rf /cockroach/dump/data/ && mv /cockroach/dump/data-temp/ /cockroach/dump/data/ && echo "data dumped"']

The above is actually the file I use to patch the production cockroachdb.yaml with Kustomize (which is where $patch: delete comes from, which isn't valid Kubernetes config YAML). It essentially shows the changes that need to be made to a  normal cockroachdb config.
It's a little hacky, but it seems to work well. After the container has received the signal to terminate it saves CockroachDB's data to a hostPath. Before the pod starts next time an initContainer runs and restores that data to CockroachDB's data directory. I used an initContainer instead of a postStart hook because postStart runs in parallel to the container's entry command.
This gets around the issue because CockroachDB doesn't ever have to do its operations on a hostPath, yet the data is still persisted to a hostPath between pod restarts.

Follow-up from @dlouwers:

Is there a proposed workaround like a certain modification to the cockroachdb-statefulset-secure.yaml file to make this work on WIndows?

Follow-up from @xambas84:

sorry for the bump. but are there any plans to fix this?

Adding @rolandcrosby for PM support.


Number of reads supporting variants

Hi @ekg,
I am using Freebayes to call variants in a virus genome sequencing experiment.
this is the commandline
freebayes -p 1 --min-coverage 5 -q 20 -f /path/to/virusGenome/genome.fa -b /path/to/bam/sample1.bam > /path/to/out/sample1_var.vcf
The bam files I used are sorted by coordinate.
I am interested in the number of reads supporting a variant and number of reads matching with the reference base, I would like to know if there are some parameters in the output useful for this issue.
Kind regards
Valeria

Please look at the VCF header to see what fields provide this information. I believe it is AO, RO, and some others.


How to uninstall chat-gpt desktop app from linux

I have tried your app but it does not work in my case so that is why i am uninstalling it.

Hi @syedfahdali !
Sadly to hear that 😔
Could you tell me your distribution in order to help you? I just tried to reinstall it on an ubuntu 22.04 and it works correctly (29/06/2023).
Uninstalling it is simple. If you have not copied the binary to the /usr path, deleting the repository is fine. When you run "npm" a new folder is created but over the repository path.
I hope I helped you,
Cheers

As there is no answer, i'm going to close this issue.
Thanks for the feedback @syedfahdali :)


Fix minor bug in exponent notation interpolation.

It wasn't matching xe+y correctly.

I shortened the regex a bit too, with no performance impact.

Merged into 2.5.0.


[Ported PR] Update Text re: UI

A few PRs have come into the Git-it verify scripts since I ported it over here. I'll need to make those updates here so I'm creating issues for them.
https://github.com/jlord/git-it/pull/210

Woot, I'd already done this. Great job! :pizza:


make it possible to read/write raw/binary files

this adds File::readRaw and File::writeRaw functions,
as well as 'shimmed' versions FS::readRaw and FS::writeRaw
these functions directly use QFile and QByteArray instead of
QTextStream and QString, making it possible to read and write
binary data, e.g. images and such.
I wonder how to write a test for this, as ::writeRaw is not really useable without a prior readRaw on a binary file... At least I don't see a way to directly "create" a QByteArray in javascript and then write random data to it. If I'd use a javascript string then there is no way to ensure that the data is actually read "raw" (as it's a string...). And there doesn't seem to be a bridge for ArrayBuffer -> QByteArray or something like that...
Anyhow, the above is still required if you want to do something like this e.g.:
page.render("foo.png");
var content = fs.readRaw("foo.png");
// now base64 the data, using e.g. an adapted version of base64encode as can be found here:
// http://jsfiddle.net/3kUXy/ just replace str.charCodeAt(...) with str[...]
response.write(base64encode(content));
response.close();

Does CommonJS specify anything about binary file? Also, is there an issue associated with this?

ah I didn't know of that - I've found this: http://wiki.commonjs.org/wiki/Filesystem/A
If I take it correctly, they have the following API:
fs.write(file, data, {write:true,binary:true});
or
fs.write(file, data, "wb");
I'll try to update this pullrequest accordingly if you want. Should I leave .writeRaw / .readRaw in the API? Probably not, or?

Better remove the writeRaw and readRaw to avoid confusion.

is this OK now? Should I also add the possibility to pass a map like in
fs.write(file, data, {write:true,binary:true});
?

ping?

Sorry for the late response. It looks good indeed! I'll merge it as a squashed commit unless there is an objection.

no, please go ahead
cheers

Merged. Thanks a lot!


Scorer testing

Added some tests for the scorer (#210).

Vector tests added for times and targets

Thanks @kvyh.


Indieweb Plugin Support

Hey,
I'm not sure if you want to dive fully into this, but here we go.

Adds support for https://github.com/dshanske/syndication-links
Adds support for https://github.com/dshanske/indieweb-post-kinds

This code is currently running at https://ignite.digitalignition.net

sorry for the late reply but I was at vacation...
thanks a lot for your work and the merge request, I will have a look and merge it in the next few days...

I think I want to try this out

I read the comment of @dshanske , that he maybe want to change something to the filter you implemented... I want to wait until he has implemented/merged the filter if @dshanske merged the feature...

@dshanske can you help me with the correct new functions? what do I have to disable and what do I have to use to get the icon and the post-kind-type with link?

https://github.com/dshanske/indieweb-post-kinds/blob/master/includes/class-kind-taxonomy.php#L690 - The function for calling for the icon or the text.
To disable the option setting to let the user add or remove the icon and/or disable the automatic icon - https://github.com/dshanske/indieweb-post-kinds/blob/master/includes/class-kind-taxonomy.php#L681
To actually get the icon based on the kind slug - https://github.com/dshanske/indieweb-post-kinds/blob/master/includes/class-kind-taxonomy.php#L704
To get a URL to the kind archive: https://github.com/dshanske/indieweb-post-kinds/blob/master/includes/kind-functions.php#L50
To get the translated string name of the Kind: https://github.com/dshanske/indieweb-post-kinds/blob/master/includes/kind-functions.php#L40
To get the kind for a given post or current post: https://github.com/dshanske/indieweb-post-kinds/blob/master/includes/kind-functions.php#L70


Open Ads and Interstitial Ad show nothing sometime (even in release mode)

These ad work fine almost time but sometime i still get black screen without X button on Interstitial Ads and Invisible Open Ads widget (only show "Test Ad" in debug) with no content. The way to close it is hit Android Back Button (Navigator) and it would close. Any help?
Plugin Version
google_mobile_ads 1.2.0

Hi @HuyNguyen1590, Thanks for filing the issue. Can you please share a minimal and complete code sample along with the screenshot of the issue?

W/cr_AwContents(21702): Application attempted to call on a destroyed WebView W/cr_AwContents(21702): java.lang.Throwable W/cr_AwContents(21702): 	at org.chromium.android_webview.AwContents.l(chromium-TrichromeWebViewGoogle.aab-stable-500507833:1727) W/cr_AwContents(21702): 	at com.android.webview.chromium.WebViewChromium.setBackgroundColor(chromium-TrichromeWebViewGoogle.aab-stable-500507833:2278) W/cr_AwContents(21702): 	at android.webkit.WebView.setBackgroundColor(WebView.java:2986) W/cr_AwContents(21702): 	at com.google.android.gms.ads.internal.webview.y.ah(:com.google.android.gms.policy_ads_fdr_dynamite@221310604@221310604057.439654529.439654529:0) W/cr_AwContents(21702): 	at com.google.android.gms.ads.internal.overlay.k.v(:com.google.android.gms.policy_ads_fdr_dynamite@221310604@221310604057.439654529.439654529:33) W/cr_AwContents(21702): 	at com.google.android.gms.ads.internal.overlay.k.d(:com.google.android.gms.policy_ads_fdr_dynamite@221310604@221310604057.439654529.439654529:23) W/cr_AwContents(21702): 	at com.google.android.gms.ads.internal.overlay.client.a.bO(:com.google.android.gms.policy_ads_fdr_dynamite@221310604@221310604057.439654529.439654529:23) W/cr_AwContents(21702): 	at adu.onTransact(:com.google.android.gms.policy_ads_fdr_dynamite@221310604@221310604057.439654529.439654529:4) W/cr_AwContents(21702): 	at android.os.Binder.transact(Binder.java:1043) W/cr_AwContents(21702): 	at com.google.android.gms.internal.ads.zzaoj.zzbt(com.google.android.gms:play-services-ads-base@@20.6.0:2) W/cr_AwContents(21702): 	at com.google.android.gms.internal.ads.zzcbq.zzk(com.google.android.gms:play-services-ads-lite@@20.6.0:3) W/cr_AwContents(21702): 	at com.google.android.gms.ads.AdActivity.onCreate(com.google.android.gms:play-services-ads-lite@@20.6.0:3) W/cr_AwContents(21702): 	at android.app.Activity.performCreate(Activity.java:8157) W/cr_AwContents(21702): 	at android.app.Activity.performCreate(Activity.java:8129) W/cr_AwContents(21702): 	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1310) W/cr_AwContents(21702): 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3512) W/cr_AwContents(21702): 	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3699) W/cr_AwContents(21702): 	at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:85) W/cr_AwContents(21702): 	at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135) W/cr_AwContents(21702): 	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95) W/cr_AwContents(21702): 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2135) W/cr_AwContents(21702): 	at android.os.Handler.dispatchMessage(Handler.java:106) W/cr_AwContents(21702): 	at android.os.Looper.loop(Looper.java:236) W/cr_AwContents(21702): 	at android.app.ActivityThread.main(ActivityThread.java:8037) W/cr_AwContents(21702): 	at java.lang.reflect.Method.invoke(Native Method) W/cr_AwContents(21702): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:656) W/cr_AwContents(21702): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:967) W/Ads     (21702): #004 The webview is destroyed. Ignoring action.
this is the Log when the error come

Thanks for the info @HuyNguyen1590, Can you please share a minimal and complete code sample to investigate further?

https://developers.google.com/admob/flutter/app-open i copy and paste the code in this document and nothing special.  I just explore that it almost error everytime i do share intent on my Android device ( Xiaomi Redmi note 8)

@HuyNguyen1590 Can you please share a sample repo or reproducible steps for us to investigate ?

@HuyNguyen1590
Where you able to solve the problem? I experience the same issue with App Open Ads and am looking for a solution.
Thanks!

@HuyNguyen1590 Where you able to solve the problem? I experience the same issue with App Open Ads and am looking for a solution.
Thanks!
(Just FYI I posted about this issue in the Google Mobile Ads SDK Developers forum: https://groups.google.com/g/google-admob-ads-sdk/c/hi4uYxFtg-o/m/viK7SDkbAgAJ )

I still not able to solve it. I think it happen when the ad automatic dispose.

@HuyNguyen1590 Thanks!
The worst thing about this is that the transparent com.google.android.gms.ads.AdActivity is displayed on top of my app and thus no touch events go through. Looks like the app froze for users. Only the back button/gesture works in that case. So I'm thinking about putting a text there that appears after a timeout, that users should use back in that case. It's the most ugly workaround, but I don't see an alternative.

I though it only happen to me. Transparent ads is the worst. Don't know why people are not talking about it or fix it

I think because it happens not often enough and I also had a hard time reproducing it. If there would be a reliable method to reproduce it, it would also be easier to make a sample project,

@michaeldiener Are you seeing this issue on the production app and Android native app? Looking at the stack trace, it seems to be caused by native part that is not in the flutter ads plugin's scope.

@huycozy  For me it has nothing to do with flutter, to be honest, but pure Android ads (not using the term "native" here, because that has a different meaning in the context of AdMob). I just commented here because haven't been able to find anybody else having the issue and so I was curious if @HuyNguyen1590 had find a solution in the meantime.
If I find the time in the coming weeks I hope to put together a minimal sample project that shows the same behavior. Main problem with this is that the bug only happens occasionally and is not easily reproducible.

I also faced this problem, also tested with a Xiaomi device so I thought it might be the problem? Also I use Jetpack Compose so maybe it's similar to flutter somehow I guess? Still I can't find any solution


Add continuous deployment integration

Add spec file for SLES packaging.
Add OBS workflow
Add github action and webhook workflow.

Only way to test workflow is in main branch. Will circle back for reviews once things are working.


Find (ctrl+f) has broken in the 'custom network' form

branch:master (yesterday checkout)
It'works before when I used version 4.1.

crtrl+f does not action now

Confirmed. When I moved stuff around in #1201, I broke Ace's auto-loading feature. In #1271, I load this extension explicitly.


Concat  mp3 produces Encoding failed exception

I have many  mp3 files and I want to prepend a specific mp3 file to all my recordings.
Actual Behavior
It throws FFMpeg\Exception\RuntimeException Encoding failed
Expected Behavior
Should produce the concatenated mp3 (single) file
Steps to Reproduce
 $path1 = 'xyz.mp3'; // s3 bucket path
 $path2 = 'xyz.mp3'; // s3 bucket path

  $audio = $ffmpeg->open(path1);
  $audio->concat(array($path1, $path2)) ->saveFromDifferentCodecs(new Mp3(),public_path('ffmpeg/audio_combined.mp3'));

I have also tried saveFromSameCodecs which produces "Unable to save concatenated video"

Exacly the same here...

@pitoco02  I had to use this library  to solve my problem for concat two audio files.
Here is the sample code from the library docs.
FFMpeg::fromDisk($environment) // 1st disk name                         ->open('recordings/prefixer.mp3') //1st file                         ->fromDisk('vipvoip') // 2nd disk                         ->open($file_path) // 2nd path                         ->export()                         ->concatWithTranscoding($hasVideo = false, $hasAudio = true)                         ->toDisk($environment) // destination disk                         ->inFormat(new Mp3())                         ->withVisibility('public')                         ->save($path . $file_name);


SIL: Don't canonicalize struct field and enum element types against the wrong signature

The replacement types of the substitution map are either going
to be contextual types, or interface types using some generic
signature. There is no requirement that this generic signature
is the generic signature of the type declaration itself.
By using the generic signature of the type declaration, we
could incorrectly canonicalize generic parameters to concrete
types if the type itself was defined in a constrained extension,
as in the test case here.
Fixes rdar://problem/65272763.

@swift-ci Please smoke test

@swift-ci Please test source compatibility

@swift-ci Please smoke test Linux

Hm, I'm surprised this doesn't regress anything, but if it passes the test and compatibility suite, OK.

@jckarter I think you were right that this extra canonicalization step was papering over other bugs that were fixed when y'all refactored this to be more principled.


gdk/gdk: build: Compute and export GDK backends

In gdk-sys we compute the available backends and export them both
to dependencies and to the code in the form of cfg vars.  In gtk-sys
we consume the output of gdk-sys, reexport it for users of gtk-sys
and again expose it to the code in the form of cfg vars.
This is part of refactoring some work I did previously in the gtk repository so that the computation of the backends is done once where it properly belongs, in gdk-sys.

IMHO not problem use gdk-sys directly (as gtk does) so adding it to gtk-sys is unnecessary

SO it does, I'll remove it from gtk-sys.  Sorry for the noise.

👍

The failure here appears to be related to make regen-check which I thought was only for the Gir autogenerated files, but it appears to have affected build.rs too - so I'll need to chase that down.  I'll try and get to it later today.

For -sys, Cargo.toml and build.rs are unfortunately also autogenerated. I have to fight with manual changes in them in gstreamer-rs too

@sdroege Thanks, I guess this one will be a little more faffy than I'd hoped :/

Sorry, I forgot about that one too. @EPashkin do you have any suggestions how to somehow make this work together with the generation of those files from gir?

@sdroege , @kinnison Sorry, I missed that when make suggestion.
We can add option that moves most changed block - calculating version to separate file (Ex. build_version.rs) and not update build.rs if it present.

Added PRs for proposed option example

I'll update this PR later today

Sorry for the delay, work got crazy for a few days.  how does that look?

@kinnison Thanks, looks good.
You already updated gtk part?

I have a PR branch ready for the GTK stuff, I'll file it later when I'm back at my laptop

OK, I'm ready with the GTK part (though it won't hurt for the sys part to go in first)  Once this is merged, I can file the GTK PR since that'd fail until the sys part is merged.

cc @GuillaumeGomez , @sdroege

@GuillaumeGomez CI is green

Thanks!


Work on the sharing/Binder episode

Un-WIPed. I will do the rest later tonight and either add it to this or as separate PR depending on review status.


Doesn't appear to be a way to use in iOS

Looks promising but I don't see a way to use this in a iOS app. Can you elaborate on how to translate the [FixShape] returned to a format in which iOS Mapkit understands? The paths it contains don't appear valid for usage.

I haven't used it with Apple map. Is it use CGPath api?

No worries about the Apple map stuff. If it returns a CGPath, I can convert that for usage in which a map can use.
Which part returns a CGPath?
There is this code: let union = graph.extractShapes(overlayRule: OverlayRule.union)
But I can’t tell what union will contain as there isn’t any details on what it returns.
What will happen if you tell it to union 2 shapes who do not overlay each other?
Thanks,
Micah
On Mar 14, 2024, at 9:20 AM, Nail @.***> wrote:
Caution: This email originated from outside of TTI. Do not click links or open attachments unless you recognize the sender and know the content is safe.
This Message Is From an External Sender
This message came from outside your organization.
I haven't used it with Apple map. Is it use CGPath api?
—
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https://github.com/iShape-Swift/iOverlay/issues/1*issuecomment-1997570875__;Iw!!KwNVnqRv!GpQVADmJB7KhQzsYB02hopiP3l2UcSu4YAGFTwG1LaW457aI65tOiMETg2RC4XWoVri6eDyhOouHQBF1cQrGcfxIaEE$, or unsubscribehttps://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/ACN7VY4FSZIOQPBKCOVGDC3YYGW25AVCNFSM6AAAAABENI5G52VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOJXGU3TAOBXGU__;!!KwNVnqRv!GpQVADmJB7KhQzsYB02hopiP3l2UcSu4YAGFTwG1LaW457aI65tOiMETg2RC4XWoVri6eDyhOouHQBF1cQrGnl0eBPI$.
You are receiving this because you authored the thread.
This message originated from outside your organization.

let union = graph.extractShapes(overlayRule: OverlayRule.union)
here union is [FixShape]
FixShape itself is a struct to represent polygon and it's holes in int coordinate system.
The library itself doesn't have a api to convert FixShape to CGPath. But it's not super complicated to right your own. May be in future I will add some sugar api for CGPath
Result of 2 not intersecting shapes will be still 2 shapes.
Have you played with this demo?
https://ishape-rust.github.io/iShape-js/overlay/shapes_editor.html

Added CGPoint support with new CGOverlay api


Add support for recursive parameter memory printing

https://github.com/JuliaGPU/CUDA.jl/pull/2180 added support for printing arguments, but we could probably improve that by recursively printing the objects, so that we have a more granular understanding of what is using up parameter memory.

Closed by #52


Why ChatGPT plus account is required？

thanks for your work, and , can you tell me why ChatGPT plus account is required other than normal account？

_puid only shows up on plus accounts.


handle_exception never used

I can't find anywhere in the code that we are actually calling the handle_exception function from base.py
https://github.com/scitran/core/blob/master/api/base.py#L263
(scitran) Coltons-MacBook-Pro:core coltonlw$ grep -r "handle_exception" api/
api//base.py:    def handle_exception(self, exception, debug):
(scitran) Coltons-MacBook-Pro:core coltonlw$

http://webapp2.readthedocs.io/en/latest/guide/exceptions.html#exceptions-in-handlers
It's a webapp2 RequestHandler method.


Make kzip merge faster for the general case

Merging all chromium kzips into one takes ~40 minutes with kzip merge and under a minute with zipmerge (on my workstation). The main difference is that kzip merge actually parses every compilation unit and re-serializes it, while zipmerge just copies files with no processing. When we're merging kzips that have the same output format (proto vs json) as the input, we should avoid the serialize/deserialize overhead.

That's only possible when all of the compilation units share the same hashing scheme, which isn't currently the case.

(Although I believe that scheme was specified by @jaysachs recently, I don't believe all of the kzip libraries have been updated).


Support operators of structs in derived types

The only way seems to be implicit cast operators from the derived type to the base one so that operators can be used.

@ddobrev
I was trying to recreate this issue..
I tried:
struct DLL_API BaseClassWithOperator
{
private:
	int n;
public:
	BaseClassWithOperator(int m)
	{
		n = m;
	}
	BaseClassWithOperator operator+(int m)
	{
		BaseClassWithOperator temp(n);
		temp.n += m;
		return temp;
	}
	int getN()
	{
		return n;
	}
};

BaseClassWithOperator funcCheckOperatorForBaseClass()
{
	BaseClassWithOperator a(5);
	return (a + 6);
}

class DLL_API DerivedClassForOperator : public BaseClassWithOperator
{
public:
	DerivedClassForOperator(int n) : BaseClassWithOperator(n) { }
};

BaseClassWithOperator funcCheckOperatorForDerivedClass()
{
	DerivedClassForOperator a(5);
	return (a + 6);
}

But, it compiled without any errors so my guess is that the operator of base was supported for derived class.
Am I doing something wrong?

@genuinelucifer the reason you cannot reproduce it is that we do not (yet) automatically wrap structs as such. You need to explicitly mark "BaseClassWithOperator" in the generator settings by using SetClassAsValueType.

@ddobrev I marked both the classes with CS_VALUE_TYPE and yet there is no problem!
Well, isn't that meant to do same task as SetClassAsValueType? Or did I do something wrong?

Please check the generated code you get. If BaseClassWithOperator and DerivedClassForOperator are classes in C# - that is, generated with the "class" keyword - then you didn't get it right. I don't know how CS_VALUE_TYPE is supposed to work, I have not been involved in that part. What I meant was calling ASTContext.SetClassAsValueType in ILibrary.Preprocess - you get the ASTContext as a parameter:
lib.SetClassAsValueType("BaseClassWithOperator");
lib.SetClassAsValueType("DerivedClassForOperator");

using CS_VALUE_TYPE generated them as
"public unsafe partial struct BaseClassWithOperator" and
"public unsafe partial struct DerivedClassForOperator"
And there were no build errors.

Sorry, my mistake. You indeed get correct results. I forgot to mention that this issue is not about compilable code. The code does compile but it does not give the same freedom as the original C++. The idea is that since in C++ DerivedClassForOperator inherits from BaseClassWithOperator, you should be able to pass a DerivedClassForOperator object to the operator from BaseClassWithOperator:
DerivedClassForOperator d;
BaseClassWithOperator b = d + 1;

You cannot do this in C# because there DerivedClassForOperator does not inherit from BaseClassWithOperator - C# structs, unlike C++ structs, cannot be subclassed. So this task is about finding a solution, if any, which would enable this case to be possible in C#.

One of the first solutions that comes at first glance to me (noticing that C# structs can't be subclassed) is that of simply copying all the members and functions from base struct which aren't already present in the derived struct (to allow override). Although this may lead to incompilable code generation in certain cases of conflict.
You mentioned in the issue that we can use implicit cast to Base but since there is no relation between Base and Derived structs, how are we supposed to cast them!?

The casting would be implemented by creating a C# implicit operator taking a Derived and returning a Base which would be done by copying the relevant internal fields. However, your idea looks good as well so I am not sure which solution would be better. So please implement https://github.com/mono/CppSharp/issues/402 first, it's way more important anyway, and we'll see about this one later.

Ohk. I thought explicit conversion would require similar structures in base
and derived. Well, yes we can discuss this later on. I will start working
on the other issues today. :)


Test react extensions

Currently we are missing tests for the react export. Looking into best way to unit test hooks.

merged


Should we create a bool_event_player?

We have a situation in BnD which might be fairly common. We have a shot that has three associated inserts which can be lit independent of each other, but if the shot is made, we only want one of the lit options to be serviced. So instead of stacking these with a queue_event_player, it's almost like we want a bool_event_player (something that creates a bool event from any event and then watches for True/False returns and will only call the next handler if a non-False response comes back?
This config snippet illustrates the problem:
  ball_hold_left_vuk_held_ball{mode.mystery_lit.active}:
    start_mystery
  ball_hold_left_vuk_held_ball{mode.hilo_lit.active and not mode.mystery_lit.active}:
    start_hilo
  ball_hold_left_vuk_held_ball{device.achievement_groups.missions["enabled"] and not mode.mystery_lit.active and not mode.hilo_lit.active}:
    start_mission
  ball_hold_left_vuk_held_ball{not mode.mystery_lit.active and not device.achievement_groups.missions["enabled"] and not mode.hilo_lit.active}:
    release_left_vuk_ball

The complexity here is we have n+1 length entries & quantity of entries, whereas it would be nice to be able to have several different things look for this shot, but only the first (highest) one is actually called.
Dunno if there's an elegant way to add something like this to the configs?

I think we call those relay_events in MPF. So we should either rename them or call it relay_event_player

Though about this some more. Definitely makes sense. Just needs a nice name. Something like "first_match_event_player"?


[VL] Daily Update Velox Version (2024_06_26)

deb978412 by Kevin Wilfong, Fix race condition in ProfilerTest (#10313)
ee596b6d1 by Kevin Wilfong, Fix some race conditions in PeriodicStatsReporterTest (#10310)
f514bc12d by Kevin Wilfong, Fix race condition in CachedFactoryTest.fuzzer (#10311)
06c8a0c63 by Deepak Majeti, Fix reading empty Parquet DataPage (#10121)
483c7baac by lingbin, Remove unused 'SetMemoryReclaimer' alias (#10122)
4661b6147 by PHILO-HE, Register re-usable Presto map/array functions for Spark (#10298)
29704a658 by Jimmy Lu, Fix double counting of lazy loading time (#10305)
28238cd55 by Ke, Add session property for sorted table write fuzzer (#10299)
4ed96b5db by Kevin Wilfong, Disable some flaky tests (#10307)
a19721c3d by xiaoxmeng, Remove duplicate runtime stats and fix naming (#10300)
7f56d77ec by aditi-pandit, Fix 0 preceding/following range frames (#10253)
e50e6125e by xiaoxmeng, Add IO throttler support (#10285)
372abebc3 by zhli1142015, Add checked_add, checked_divide, checked_multiply, checked_subtract Spark functions (#10083)
a42830a98 by mwish, Reduce shared_ptr copying in LogicalPlanner::plan and CallbackSink (#10223)
0957f8a50 by rui-mo, Update the protobuf version in setup-centos9.sh to v21.8 (#10275)
e461fe4de by Jia Ke, Enable anti join type in SMJ (#9936)
456f2a6c8 by Ke, Add sort verification for writer fuzzer (#10235)
dc834b75c by Masha Basmanova, Add support for complex types to histogram Presto function (#10297)
cee26279a by Sandino Flores, Add cmake helper to find libdouble-conversion (#10231)

===== Performance report for TPCH SF2000 with Velox backend, for reference only ====

query
log/native_6223_time.csv
log/native_master_06_25_2024_524434826_time.csv
difference
percentage

q1
34.71
37.64
2.931
108.44%

q2
23.59
23.31
-0.282
98.81%

q3
38.72
40.76
2.040
105.27%

q4
32.74
32.85
0.108
100.33%

q5
72.03
72.82
0.796
101.10%

q6
8.00
10.28
2.281
128.52%

q7
85.01
80.76
-4.254
95.00%

q8
85.35
85.49
0.144
100.17%

q9
119.59
118.88
-0.711
99.41%

q10
46.10
44.99
-1.102
97.61%

q11
21.40
20.46
-0.942
95.60%

q12
27.31
24.64
-2.666
90.24%

q13
40.18
39.04
-1.139
97.16%

q14
19.08
19.01
-0.068
99.64%

q15
32.14
33.57
1.427
104.44%

q16
14.46
14.18
-0.280
98.07%

q17
104.32
103.92
-0.393
99.62%

q18
146.47
148.88
2.412
101.65%

q19
13.91
15.08
1.171
108.42%

q20
26.63
31.11
4.476
116.81%

q21
261.80
259.47
-2.329
99.11%

q22
12.25
12.59
0.333
102.72%

total
1265.76
1269.71
3.953
100.31%


登录成功后，无法跳转首页

具体报错信息为
1、 no  match found for location with path "/"
2、Detected an infinite redirection in a navigation guard when going from "/login?redirect=/&params={}" to "/404". Aborting to avoid a Stack Overflow. This will break in production if not fixed.
3、caught (in promise) Error: Infinite redirect in navigation guard
具体怎么解决，谢谢你

加下我微信

已解决


Rename broken link for Chapter 2.5

Moving from 2.4 to 2.5 results in page not found error since the link is broken in 2.4 page. Rename 2.5 to be consistent and to fix the link.

Good catch, although I think I'd prefer to keep the file name and change the link instead.

Looks good. Thanks!


Eval Form: Cancelation modal

What/Why
When a user cancels the Evaluation Form form entry, they should see a modal popup that warns them their progress will be lost.
Figma Link

Acceptance Criteria

[x] Modal displays when the user cancels from a newly created form
[x] Modal displays when the user cancels from an edited form

Disregard the following if this work does not include any UI changes

[x] WAVE screenshot
[x] Automated a11y tests (axe-rspec specs)
[x] Keyboard accessibility (tab navigation, form interactions)
[x] Responsiveness at desktop and mobile

Out of Scope
Not checking "dirty" state of the form


[Feature Request] Allow users to save Image with mirc colour code / mirc format

Please allow users to same images to mirc colour coded format as well for easy pasting! Thanks!

There are quite a few editors purpose-built for editing ansi art, for instance Playscii, which I was able to import the paint icon into and tweak to get this 4x4 character drawing:
(no CRT effect:)  (CRT effect:)
paint-4x4.ans
f.x
TsS
_{f
_y]

Direct import:

Cleaned up & detail added:

Yes but it would be nice to have an integrated feature with jspaint (since its an awesome clone of mspaint) and faster. Would be nice to have an option that automatically generates best mirc code for the image. Thanks.

I agree it would be cool to have this in JS Paint. I'd love it if one day JS Paint could adapt to different file formats, like showing/editing all the pages of a PDF, the frames of an animated GIF, etc. It's probably not going to happen any time soon, however...
If you want to make ANSI art using an MS Paint like interface, I made a whole separate recreation of MS Paint, that runs in the terminal, and edits ANSI art: Textual Paint.
With your ticket in mind, I added support for exporting mIRC codes from Textual Paint, by saving with a .mirc or .irc file extension. (These file extensions I just made up, and are not to be confused with .mrc mIRC script files.)


Add support for milliseconds in start and end for Media

mpv allows the use of [+|-][[hh:]mm:]ss[.ms] for start and end. Currently, the implementation drops the ms part.
This PR adds support for milliseconds in start and end for Media.

pull from main to fix the ci that fails.


thebe with compmodels/deploy

Hi,
first: very cool project!
i have a question: currently i have a https://github.com/rgbkrk/jupyterhub-compmodels-deploy version running on my own servers at my instute. its awesome for my fellow researchers and me but we encounter that for our research reports it would be amazing to show some interactive content (best shown in a nice styled page, publicly accessable)
before i setup a whole tmpnb setup i am thinking of adapting your code to get it working with the authentication part of compmodels (oauth git) and to access some specific cells and the content and then run them interactively.
i am a java script noob so it would be nice if you just could tell me if this is possible in your eyes and maybe point me in some right directions where to start :-)
cheers

That's on my agenda to figure out. There are still plenty of security concerns to address before I'd suggest approaching this. You would be coupling execution in the context of a user, arbitrary javascript from that notebook, presumably on the same domain.

hehe yes i know.. well then we have the same agenda :-)


Could not find  in your load path (RuntimeError)

Had warning: circular argument reference - score #259
Fixed by upgrading to latest beta.  Now I Have
rspec
Coverage report generated for RSpec to /Users/ericbrooke/dev/qcentral/coverage. 0.0 / 0.0 LOC (100.0%) covered.
/Users/ericbrooke/.rvm/gems/ruby-2.2.2/gems/vanity-2.0.0.beta7/lib/vanity/adapters/abstract_adapter.rb:14:in `rescue in establish_connection': Could not find  in your load path (RuntimeError)
	from /Users/ericbrooke/.rvm/gems/ruby-2.2.2/gems/vanity-2.0.0.beta7/lib/vanity/adapters/abstract_adapter.rb:11:in `establish_connection'
	from /Users/ericbrooke/.rvm/gems/ruby-2.2.2/gems/vanity-2.0.0.beta7/lib/vanity/playground.rb:363:in `establish_connection'
	from /Users/ericbrooke/.rvm/gems/ruby-2.2.2/gems/vanity-2.0.0.beta7/lib/vanity/playground.rb:344:in `establish_connection'
	from /Users/ericbrooke/.rvm/gems/ruby-2.2.2/gems/vanity-2.0.0.beta7/lib/vanity/playground.rb:423:in `autoconnect'
	from /Users/ericbrooke/.rvm/gems/ruby-2.2.2/gems/vanity-2.0.0.beta7/lib/vanity/playground.rb:51:in `initialize'
	from /Users/ericbrooke/.rvm/gems/ruby-2.2.2/gems/vanity-2.0.0.beta7/lib/vanity/playground.rb:441:in `new'
	from /Users/ericbrooke/.rvm/gems/ruby-2.2.2/gems/vanity-2.0.0.beta7/lib/vanity/playground.rb:441:in `playground'
	from /Users/ericbrooke/.rvm/gems/ruby-2.2.2/gems/vanity-2.0.0.beta7/lib/vanity/frameworks/rails.rb:4:in `load!'
	from /Users/ericbrooke/.rvm/gems/ruby-2.2.2/gems/vanity-2.0.0.beta7/lib/vanity/frameworks.rb:6:in `block in <class:Plugin>'
	from /Users/ericbrooke/.rvm/gems/ruby-2.2.2/gems/railties-4.2.1/lib/rails/initializable.rb:30:in `instance_exec'
	from /Users/ericbrooke/.rvm/gems/ruby-2.2.2/gems/railties-4.2.1/lib/rails/initializable.rb:30:in `run'
	from /Users/ericbrooke/.rvm/gems/ruby-2.2.2/gems/railties-4.2.1/lib/rails/initializable.rb:55:in `block in run_initializers'
	from /Users/ericbrooke/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/tsort.rb:226:in `block in tsort_each'
	from /Users/ericbrooke/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/tsort.rb:348:in `block (2 levels) in each_strongly_connected_component'
	from /Users/ericbrooke/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/tsort.rb:429:in `each_strongly_connected_component_from'
	from /Users/ericbrooke/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/tsort.rb:347:in `block in each_strongly_connected_component'
	from /Users/ericbrooke/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/tsort.rb:345:in `each'
	from /Users/ericbrooke/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/tsort.rb:345:in `call'
	from /Users/ericbrooke/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/tsort.rb:345:in `each_strongly_connected_component'
	from /Users/ericbrooke/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/tsort.rb:224:in `tsort_each'
	from /Users/ericbrooke/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/tsort.rb:203:in `tsort_each'
	from /Users/ericbrooke/.rvm/gems/ruby-2.2.2/gems/railties-4.2.1/lib/rails/initializable.rb:54:in `run_initializers'
	from /Users/ericbrooke/.rvm/gems/ruby-2.2.2/gems/railties-4.2.1/lib/rails/application.rb:352:in `initialize!'
	from /Users/ericbrooke/dev/qcentral/config/environment.rb:5:in `<top (required)>'
	from /Users/ericbrooke/dev/qcentral/spec/rails_helper.rb:4:in `require'
	from /Users/ericbrooke/dev/qcentral/spec/rails_helper.rb:4:in `<top (required)>'
	from /Users/ericbrooke/dev/qcentral/spec/controllers/albums_controller_spec.rb:1:in `require'
	from /Users/ericbrooke/dev/qcentral/spec/controllers/albums_controller_spec.rb:1:in `<top (required)>'
	from /Users/ericbrooke/.rvm/gems/ruby-2.2.2/gems/rspec-core-3.2.3/lib/rspec/core/configuration.rb:1226:in `load'
	from /Users/ericbrooke/.rvm/gems/ruby-2.2.2/gems/rspec-core-3.2.3/lib/rspec/core/configuration.rb:1226:in `block in load_spec_files'
	from /Users/ericbrooke/.rvm/gems/ruby-2.2.2/gems/rspec-core-3.2.3/lib/rspec/core/configuration.rb:1224:in `each'
	from /Users/ericbrooke/.rvm/gems/ruby-2.2.2/gems/rspec-core-3.2.3/lib/rspec/core/configuration.rb:1224:in `load_spec_files'
	from /Users/ericbrooke/.rvm/gems/ruby-2.2.2/gems/rspec-core-3.2.3/lib/rspec/core/runner.rb:97:in `setup'
	from /Users/ericbrooke/.rvm/gems/ruby-2.2.2/gems/rspec-core-3.2.3/lib/rspec/core/runner.rb:85:in `run'
	from /Users/ericbrooke/.rvm/gems/ruby-2.2.2/gems/rspec-core-3.2.3/lib/rspec/core/runner.rb:70:in `run'
	from /Users/ericbrooke/.rvm/gems/ruby-2.2.2/gems/rspec-core-3.2.3/lib/rspec/core/runner.rb:38:in `invoke'
	from /Users/ericbrooke/.rvm/gems/ruby-2.2.2/gems/rspec-core-3.2.3/exe/rspec:4:in `<top (required)>'
	from /Users/ericbrooke/.rvm/gems/ruby-2.2.2/bin/rspec:23:in `load'
	from /Users/ericbrooke/.rvm/gems/ruby-2.2.2/bin/rspec:23:in `<main>'
	from /Users/ericbrooke/.rvm/gems/ruby-2.2.2/bin/ruby_executable_hooks:15:in `eval'
	from /Users/ericbrooke/.rvm/gems/ruby-2.2.2/bin/ruby_executable_hooks:15:in `<main>'

Hm...based on your config in https://github.com/assaf/vanity/issues/259#issuecomment-116107234, I think it's because an adapter isn't specified in the test environment. Which is weird, because your test env config is what we recommend in the readme.
Can you try:
test:
  collecting: false
  adapter: redis

@phillbaker good call.  It now works I will rec. changes to the documentation.  Thanks for your help :-)

Update to documentation https://github.com/assaf/vanity/pull/263


Fix finding wayland-client.h on Linux

When compiling with the wayland-client package on Linux, the corresponding headers are installed in a subdirectory of /usr/include. This path is not added to the compiler search path by openxr, so the required file 'wayland-client.h' is not found.
In file included from /home/user/src/vsgFramework-build/components/vsgvr-src/deps/openxr/src/common/platform_utils.hpp:12:0,
                 from /home/user/src/vsgFramework-build/components/vsgvr-src/deps/openxr/src/common/filesystem_utils.cpp:13:
/home/user/src/vsgFramework-build/components/vsgvr-src/deps/openxr/src/common/xr_dependencies.h:88:10: fatal error: wayland-client.h: file not found
 #include "wayland-client.h"
          ^~~~~~~~~~~~~~~~~~

To fix the problem, the include directories provided by the pkgconfig module for wayland-client are added to the corresponding cmake targets.

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

continuous-integration/appveyor/pr — AppVeyor build failed

Exception calling "DownloadFile" with "2" argument(s): "The remote server returned an error: (404) Not Found."

This problem is not related to the changes in this pr.

This is a derived repository, please submit this to OpenXR-SDK-Source

This is a derived repository, please submit this to OpenXR-SDK-Source

Thanks for this pointer.
Is there anything against creating a Pull request template in this repo with a note like this
This is a derived repository, please open an appropriate pull request at OpenXR-SDK-Source

Yeah, that's a good idea. I think I tried to set up github actions to auto-reply once but didn't get it working right.


Tower_Of_Hanoi

Submission Title
Tower_Of_Hanoi
Submission Type
Algorithm
Submission Description
The Tower of Hanoi is a mathematical game or puzzle. It consists of three rods and a number of disks of different sizes, which can slide onto any rod.
Folder Related To
Algorithm => Dynamic_Programming => Tower_Of_Hanoi => Tower_Of_Hanoi.ext
Contributors

[ ]  C++ -
[ ]  C -
[ ]  Python -
[ ] Java -
[ ] JavaScript -
[ ] TypeScript -
[ ] Golang -
[ ] Ruby -
[ ] php -
[ ] Swift -
[ ] C# -

Can I take this up with Javascript?

I can do this in JavaScript.

I can do it in C++ and C.

Can I do this in C.?

Please assign this to me for python

please assign it to me in c++.

I can do it in Java please assign it to me

please assign me this task to me in type script ruby php and swift

Can I do this in C#?

I would like to work on this in C++. Can you please assign it to me?

Please assign it to me, I'll do it in c++

Can you assign this to me in C ?

i'd like to do this in go

Hey can you assign this issue to me?
I will solve it in C

thanks everyone :v:


fix: use pascalCase Slice type for <SliceZone> resolver

Types of changes

[ ] Chore (a non-breaking change which is related to package maintenance)
[x] Bug fix (a non-breaking change which fixes an issue)
[ ] New feature (a non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Description
<SliceZone>'s resolve prop is provided as a way to ease migration from next-slicezone. next-slicezone's component uses a resolver function to convert a Slice's type to a React component. In this process, it converts the slice_type property into a pascalcased version.
This PR fixes a compatiblity issue by padding the pascalcase conversion.
Note: The resolver prop will be removed in a future version. When the prop is removed, the changes in this PR will also be removed.
Checklist:

[ ] My change requires an update to the official documentation.
[x] All TSDoc comments are up-to-date and new ones have been added where necessary.
[x] All new and existing tests are passing.

🐫

This is published in a pre-release version: v2.0.3-debug.0.

Codecov Report

Merging #109 (dbf6e76) into master (33dea53) will increase coverage by 0.02%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #109      +/-   ##
==========================================
+ Coverage   92.36%   92.39%   +0.02%
==========================================
  Files          15       15
  Lines         262      263       +1
  Branches       58       58
==========================================
+ Hits          242      243       +1
  Misses          5        5
  Partials       15       15

Impacted Files
Coverage Δ

src/SliceZone.tsx
86.95% <100.00%> (+0.59%)
:arrow_up:

Continue to review full report at Codecov.

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


reduce load times

rather than fetching all of the contacts and interactions data up front, can maybe only fetch contact names while have everything else fetch in the background

it is performing well as is, so this is a very low priority issue


Expose code and details from context on the server side

This makes them accessible to server-side interceptors.
Fixes #24605

@karthikravis

This is pretty preliminary, but since I didn't get any feedback on #24605 I didn't want to go too far. I'm not sure where the best place to add unit tests for this is, and I have little confidence at all that my aio changes are correct, so I'll need some guidance on that to finalize this.

Thanks for putting this together!
Some high level thoughts:

This seems like a reasonable thing to want as an interceptor author.
Since this is an API extension, it's going to require a gRFC.
We can't use abstractmethod on the new methods because it would break all existing implementations of these interfaces.
In general, this would require interceptor library authors to be aware that some servers may have these new methods and some may not, depending on the version of the library. My sense is that the majority of interceptor authors are also the authors of the binaries in which they are deployed, but it's still a potential bit of complexity that's being added to the mix. We'll need to provide guidance on this in the form of examples and documentation.
Why not also trailing_metadata? It seems that would complete the pattern you're going for here.

Thanks for the PR. I like the changes a lot. The two added new API will not only be valuable to interceptors but also the callbacks by add_done_callback. If possible, please do an gRFC for the API addition. You can use the gRFC template.

To your question about unit tests, they all live in this directory with the bulk of them in this subdirectory. We have two ways of running them.
The first, which we find the most convenient, is also the least conventional for Python developers. We use Bazel so that we can just run bazel test //src/python/... to run all Python tests.

Thank you both for the clear instructions on how to proceed here -- very much appreciated! I've started a gRFC.
Within the unit test suite, would this be appropriate to add to the interceptor tests? It's not an interceptor at all, but that'd be the easiest way to test it. Most (all?) of the server tests appear to be black box tests that emulate a stub and a servicer and don't worry about what happens in between.

I've realized you'll also need to add this to the asyncio interceptor interface.
Your PR touches four interfaces (including the asyncio interceptors), so I expect you'll end up adding tests to four different test files. For the sync server changes, the exact location isn't super clear. We've tended to add a new test file for each new feature we add to the servicer context. You could also add it to the ServerTest. Both are fine options. Regardless, the methodology should be black box testing. Real networked communication over localhost. No mocks. This applies to all tests we write. We also tend not to incur a dependency on protobuf in these tests. Instead, we just send raw bytes. You'll find plenty of examples like this in the unit test directory.
The asyncio tests should be added to this directory. I expect placement will be a bit more straightforward to figure out that the sync stack.

Sorry, where do I need to add this to the interceptor interface(s)? I can't find anything else that subclasses ServicerContext, and I can't find anything obvious in grpc/_interceptor.py or grpc/aio/_interceptor.py.

Ah. You're right. There's no interceptor wrapper. My mistake. I've modified my comments above accordingly.

@stpierre PTAL at the tests validation again. Let's get this change merged.

I'm on vacation for a few days but will look at it later this week.

@stpierre No problem. Enjoy your vacation :)

@lidizheng @gnossen Is there more I need to address on this? Thanks!


ion-button medium attribute not working

Hi,
I am using your attribute "medium" on my button but it doesn't change the size, but it works with large attribute.
<button ion-button medium>Button text</button>
Example Code:
https://github.com/ionic-team/ionic-preview-app/blob/master/src/pages/buttons/sizes/sizes.html
Platform Tested: Browser (Chrome)

Hello! Thank you for opening an issue with us!
According to the documentation, the defined attributes are small and large and if you don't include those you get the default button size. This is also reflected in the code. If we had a medium attribute it would logically just be the default and not change anything anyhow.
The demo source is perhaps mildly confusing in that it includes a medium attribute which doesn't actually exist.
Thank you for using Ionic


Code for unsupervised behavior recognition from pose

IS the code for that available anywhere to look at? I watched the youtube video and it seems very interesting

Hi @lnguyen,
The unsupervised recognition is based off MotionMapper (https://github.com/gordonberman/MotionMapper).
Here's a couple of repos that are probably a bit more usable:
https://github.com/bermanlabemory/motionmapperpy
https://github.com/LINCellularNeuroscience/VAME  <-- different approach but works in a similar way
https://github.com/YttriLab/B-SOID

thank you!


Naming of insurance plans can be improved in UG

It would be better to follow how the insurance plans' names are displayed on the GUI.
We should use "Basic Insurance Plan" and "Travel Insurance Plan".

Note the GUI display here:

i think its shown based on how they are added, with earliest addition first

Oops I was not referring to the order. What I meant was instead of writing it as "Basic Plan" and "Travel Insurance", we should name it as "Basic Insurance Plan" and "Travel Insurance Plan".


Cannot read roles from the claims

manage/info only gives the email and required email confirmation.
How to get to the roles?

Issue Details
⚠ Do not edit this section. It is required for issue processing.

Content Source: dotnet/blazor-samples
GitHub Login: @guardrex

Hello @PedrooNL ... For the time being, you'll need to create your own endpoint in the backend app for the frontend app to request them where the claims are established for a user. I will be adding code to the sample solution for it, but I'm tied up in other tasks at the moment. I hope to reach it either this week or next week. It's tracked by ...
https://github.com/dotnet/AspNetCore.Docs/issues/31045


Auto Merge on "ready to merge" after X amount of time.

🚀 Feature
Idea: If a PR CI is green and have the "ready to merge" label it should

1, get an automatic message after say 24h, if the PR has not been merged saying it will be auto merged. Maybe should change the label to "auto-merge in 24h"
2, get automatically merged after 48h if the label has not been removed.

Motivation
"Ready to merge" label can stay for quite a long time.
Notes

What to do on week-ends ?

cc @jni

Or at leas add a bot that will call a person who marked it as ready-for merge.


[Publication]: Error notifications adjustment

EPAM AI DIAL chat version
0.12.0
How to reproduce
Case1:
Precondition:
user has chat01
user create 2 or more publication requests for chat01 ( the same requests, to the same path)
Steps:

admin approve one of the publication requests for chat01
admin click Approve button for another publication request for chat01 ->error message "Publication approving failed." -> bug

Case2:
Precondition:
user has folder01 with chat01, chat02, chat03 in it
user created publish request for the folder
admin approve publish request
Steps:

user create another publish request for the folder01 - > error message "Publication failed. Please try again later" -> bug

Case 3
Stesp:

user created chat01
user created publish request for chat into new folder01 inside Organization ( Publish to Organization/folder01/chat01)
user set filter for folder01, which is nit available for himself ( e.g. user is developer, but filter is only for BA)
admin approves the publish request
user create another publish request for any chat to the same folder01  -> error message "Rules uploading failed"

Actual result
Error messages do not give explanation why publish requests can not be made
Expected result
Error message should contain meaningful description of  the case happen and how it can be avoided of fixed ( if applicable)
Confidential information

[X] I confirm that do not share any confidential information

Case 4
Steps:

crate folder01 with chat01
create publish request for folder01 with some rules
admin approve publication request
user create unpublish request for folder01
admin approve unpublish request
user create new folder01 with chat01

Actual result: error message appears "Rules uploading failed". It happens because when unpublish folder, then rules applied to this folder are not removed. Also submit request fail with error
Expected result: TBD need to create error message which will be informative for user but not expose folder name or other info about inner storage structure

Preconditions:
user published Chat01 with File01, chat available in Organization section
Steps:

User rename Chat01 to Chat01_remaned
user create publish request to the same path as Chat01 was published
send request

Actual result: error message is displayed that publication can be performed. This happen because there is already published chat with the same file name to the same path

for described case 2 return error toast message with text '400'

Verified on staging environment with the following results:
Case 1:

Case 2:

Case3:

Case4:


fixing ci

ci broken due to linting of a chart:

https://github.com/redhat-cop/helm-charts/actions/runs/6761221370/job/18375877794

What is this PR About?
Describe the contents of the PR
How do we test this?
Provide commands/steps to test this PR.
cc: @redhat-cop/day-in-the-life

@ckavili ; you OK to merge once CI is green.


Reposition Netlify and add Vercel to deployment.md

Description
Provides updates per https://github.com/Shopify/shopify-dev/issues/23408
Additional context

Before submitting the PR, please make sure you do the following:

[x] Read the Contributing Guidelines
[x] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123)
[x] Update docs in this repository according to your change
[ ] Run yarn changeset add if this PR cause a version bump based on Keep a Changelog and adheres to Semantic Versioning

Thanks for making these changes so quickly, @rennyG! Two additional requests:

Can we also update the diagram that we have for deployment to include Vercel in the "Worker" platform as well?

In the text below that image, can we add Netlify and Vercel to the language on "Worker (v8) runtime"?


Сouldn't cusomize(override) StepConnector

[x] This is a v1.x issue (v0.x is no longer maintained).
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior
MuiStepConnector had to be customized by override
Current Behavior
Couldn't cusomize MuiStepConnector
Your Environment

Tech
Version

Material-UI
v1.0.0

React
v16.4.0

Your issue has been closed because it does not conform to our issue requirements.
Please provide a full reproduction test case. This would help a lot 👷 .
A live example would be perfect. This codesandbox.io template may be a good starting point. Thank you!


<EMAIL_ADDRESS>box shadow transformation

Hey there! it's me again, this time with something that seemingly is actually a bug.
in token-transformer 0.0.32 we are getting the following output for a set of border radii
"Form-Active": {
      "Outline": {
        "Focus": {
          "value": {
            "0": "[object Object]",
            "1": "[object Object]"
          },
          "type": "boxShadow"
        }
      }
    },

In token-transformer 0.0.31 and older, we are getting the following output, which is great.
    "Form-Active": {
      "Outline": {
        "Focus": {
          "value": [
            {
              "color": "#1B5EE4",
              "type": "innerShadow",
              "x": 0,
              "y": 0,
              "blur": 0,
              "spread": 2
            },
            {
              "color": "#1b5ee41a",
              "type": "dropShadow",
              "x": 0,
              "y": 0,
              "blur": 0,
              "spread": 4
            }
          ],
          "type": "boxShadow"
        }
      }
    },

I'm unable to provide the complete set of source files due to a confidentiality agreement, but here's a piece of it that is causing it. Let me know if you would like me to provide a full reproduction, I'll cut up our source files.
    "Form-Active": {
      "Outline": {
        "Focus": {
          "value": [
            {
              "color": "{Alias.Color.Outline.Focus.Inner}",
              "type": "innerShadow",
              "x": "0",
              "y": "0",
              "blur": "0",
              "spread": "2"
            },
            {
              "color": "{Alias.Color.Outline.Focus.Outer}",
              "type": "dropShadow",
              "x": "0",
              "y": "0",
              "blur": "0",
              "spread": "4"
            }
          ],
          "type": "boxShadow"
        }
      }
    },

Some extra context, I'm using the $themes.json solution that was suggested here:
https://github.com/tokens-studio/figma-plugin/issues/1743
Let me know if I can help out. 0.0.32 seems to be an npm published version, but if I look at the source files it seems that the current should be 0.0.31
in the meanwhile I've just locked the version to 0.0.31 through npx<EMAIL_ADDRESS>src/themes --theme --themeOutputPath dist.

Could you perhaps provide a codesandbox? That would make it really easy to test. It's odd because we do have shadows in our test suite, so this should lead to a failing test. 🤔
The current version was published from the next branch - we had to fix a bug and didn't want to wait for the next plugin release. Sorry about that confusion. Ideally we'll move to a monorepo soon so we'll have less situations like that.

Closing this, I cannot reproduce. Would love a reproducable codesandbox or so. here's an example that you can fork (which shows it's working): https://codesandbox.io/p/sandbox/cocky-shape-23p3ke

I'm having the same error with the last version.

@six7 also see https://github.com/tokens-studio/figma-plugin/issues/1878, which is the same thing.


Include work items of child iterations in filter

Fixes #1006

Added Or clause to the filter query that will add child iteration IDs if any
Added a method LoadChildren that will return list of all children of input iteration
Exported ConvertToLtree from the path package
Tests added

Old Behaviour
GET : /api/workitems/?filter[iteration]=43106dab-2218-4c42-9798-2ba799b68352
Returns - Work items having iteration = 43106dab-2218-4c42-9798-2ba799b68352
New Behaviour
GET : /api/workitems/?filter[iteration]=43106dab-2218-4c42-9798-2ba799b68352
Returns - Work items having iteration = 43106dab-2218-4c42-9798-2ba799b68352 OR iteration = any child iteration.

[test]

[test]

Codecov Report

Merging #1008 into master will increase coverage by 0.02%.
The diff coverage is 73.33%.

@@            Coverage Diff             @@
##           master    #1008      +/-   ##
==========================================
+ Coverage   64.91%   64.93%   +0.02%
==========================================
  Files          96       96
  Lines        7780     7808      +28
==========================================
+ Hits         5050     5070      +20
- Misses       2252     2256       +4
- Partials      478      482       +4

Impacted Files
Coverage Δ

path/path.go
72.63% <100%> (ø)
:white_check_mark:

controller/workitem.go
87.9% <66.66%> (-0.87%)
:x:

iteration/iteration.go
59% <75%> (+3.04%)
:white_check_mark:

Continue to review full report at Codecov.

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


Clarification Needed on Removal of Instances with Error Message Checks in SWE-bench Lite Dataset

Describe the issue
In the SWE-bench lite dataset documentation, it is mentioned:

"We remove instances that contain tests with error message checks."

I do not understand what this statement refers to.
Every instance in the SWE-bench dataset consists of an issue and a test for validation.
Could you please clarify what is meant by removing instances that contain tests with error message checks?
Thank you for your assistance.
Suggest an improvement to documentation
No response

Marking this as complete, but please feel free to continue the thread with any follow up questions.