Install docker

name: trusty
encrypted: no
Entering /mnt/stateful_partition/crouton/chroots/trusty...
crouton: version 1-20170315143304~master:95589555
release: trusty
architecture: amd64
xmethod: xorg
targets: x11,unity
host: version 9765.48.0 (Official Build) beta-channel samus
kernel: Linux localhost 3.14.0 #1 SMP PREEMPT Mon Aug 28 22:01:54 PDT 2017 x86_64 x86_64 x86_64 GNU/Linux
freon: yes
Not unmounting /mnt/stateful_partition/crouton/chroots/trusty as another instance is using it.
name: xenial
encrypted: no
Entering /mnt/stateful_partition/crouton/chroots/xenial...
crouton: version 1-20170309181220~master:a72a0cb5
release: xenial
architecture: amd64
xmethod: xorg
targets: xfce
host: version 9765.48.0 (Official Build) beta-channel samus
kernel: Linux localhost 3.14.0 #1 SMP PREEMPT Mon Aug 28 22:01:54 PDT 2017 x86_64 x86_64 x86_64 GNU/Linux
freon: yes
Unmounting /mnt/stateful_partition/crouton/chroots/xenial...
name: zane
encrypted: no
Entering /mnt/stateful_partition/crouton/chroots/zane...
crouton: version 1-20170315143304~master:95589555
release: xenial
architecture: amd64
xmethod: xorg
targets: x11,chromium,xfce
host: version 9765.48.0 (Official Build) beta-channel samus
kernel: Linux localhost 3.14.0 #1 SMP PREEMPT Mon Aug 28 22:01:54 PDT 2017 x86_64 x86_64 x86_64 GNU/Linux
freon: yes
Unmounting /mnt/stateful_partition/crouton/chroots/zane...```

#### Please describe your issue:

I'm unable to install docker. Using the standard install script. I believe it probably has something to do with crouton, because it seems like startup scripts that come automatically never work with it. my postgres server does start either.

#### If known, describe the steps to reproduce the issue:

$ curl -fsSL get.docker.com -o get-docker.sh
$ sudo sh get-docker.sh

Can you try this method of installing Docker instead?
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
sudo apt-get update
sudo apt-get install -y docker-ce

As for Postgres, I have to sudo service postgresql restart every time.

Thanks, I appreciate that! But I have already removed crouton and just installed ubuntu natively.

For other weary travelers, docker-ce installs just fine.  sudo service docker start even gets the daemon running.  Docker can pull images, no problem.  But as this comment illustrates, there's no clear way to get docker containers working.


Apply as Rest Pose / Pose to Shape key error using Blender 2.9

When attempting to Apply as Rest Pose traceback Type error found in the implementation of pose_to_shapekey().
This may be an issue caused by changes to ops.py in Blender 2.9 that weren't present in earlier versions

Hey, this issue is fixed in the development version of cats. You can update to it via the built-in updater in cats.


Make auto_updates declarations consistent (3 casks changes)

There are 3 casks that have an auto_updates declaration that is inconsistent with all other casks, and the documentation (which states that auto_updates true is the only correct value).
This PR updates those three casks to have an auto_updates true declaration, consistent with every other auto-updating cask.

After making all changes to the cask:

[ ] brew cask audit --download {{cask_file}} is error-free. I'm on a very slow Internet connection right now, and will be leaving soon, so I'm creating this PR now and I'll update if this fails, since I can't imagine it would.
[x] brew cask style --fix {{cask_file}} reports no offenses.
[x] The commit message includes the cask’s name and version.

Thank you.


Keeper support for readiness endpoint (manifests)

ClickHouse Keeper provides an HTTP interface to check if a replica is ready to receive traffic. It may be used in cloud environments, such as Kubernetes.

https://github.com/ClickHouse/ClickHouse/pull/55876
https://github.com/ClickHouse/clickhouse-docs/pull/1767/files#diff-a3037a0357709df221a285b2b5ca2df68b3f7d95e795f7409c594be469daf8a0R363

partially skipped in manual keeper deployment example
https://github.com/Altinity/clickhouse-operator/pull/1501/files#diff-4004b397d3c55551afc9611863f1ee684f331b810518570329d0e3bdd79f88e4R303
@sunsingerus we actually need to discuss how exactly readiness probes shall works and how to implement  scaleup / scaledown via reconfig

readiness check introduced in 0.24.0 release
check, please


[DR-1472] Add new global function to load limits when user logs in

Overview
Load limits when the user logs in or get into reports page.
Changes

Add global function

❤


ComfyUI-Custom-Scripts causing issues with all nodes

I posted this on comfyUI git
https://github.com/comfyanonymous/ComfyUI/issues/3757
When i have this node installed it causes the nodes background to be smaller than they should be, causing small nodes with one input or output unable to connect

Have to manually set the node dimensions for these to connect as it comes up as 0 height

This is also causing issues with nodes that are bigger than 1 input/output as can be seen here

I just hit this issue when I accidentally adjusted my grid size to a value larger than the default height of a node and had always snap to grid enabled. Using tinyterranodes I can see that it's rounding down for the height.

Adjusting my grid size fixed the issue for me.


Create an example to use foundry to deploy contracts onto Taiko

We should create an example (people can simply copy) to deploy their contracts to Taiko using foundry and/or hardhat. Ideally we also create a Youtube video so people can follow and learn.

closing this because i'm including it in my alpha-3 docs PR. Also, created a separate issue for youtube videos: https://github.com/taikoxyz/taiko-mono/issues/13766


Support deleting VPC's

I will just add a link to a nice solution I sometimes use
https://github.com/lianghong/delete_vpc
We can take some inspiration from that ;-)


How to use ?

Hi,
Is very strange im not sure how to use it.
Exemple :
./wine-stable-x86_64.AppImage Pokemon\ Uranium/game_info/data/Uranium.exe
Not run the game only have error :
Fontconfig warning: "/etc/fonts/conf.avail/05-reset-dirs-sample.conf", line 6: unknown element "reset-dirs"
wine: configuration in L"/home/pc/.wine" has been updated.
0009:err:module:__wine_process_init L"C:\\windows\\system32\\Pokemon.exe" not found

You have any idea for what is not supporting space ?
Have make this test  too (no space) :
That work.
./wine-stable-x86_64.AppImage ./Uranium.exe
But wine is support this :
That work.
wine Pokemon\ Uranium/game_info/data/Uranium.exe

Its known issue I should have mentioned in read me anyways see OR create issue in AppRun repo which this app-image uses.

@liberodark use two backslashes instead of one should work.
./wine-stable-x86_64.AppImage Pokemon\\ Uranium/game_info/data/Uranium.exe


Add config option to set published address

This commit adds the parameter LocalAddress to the Config struct. The change allows to manually override the published address. A valid address can either be an IPv4 or IPv6 address.
Description
As described in the commit, a new parameter "LocalAddress" now allows to manually override the advertised address. A new test case was added to cover the feature. Linting did not reveal any further issues. I also added a few short comments to the example programs in order to get rid of warnings issued by golangci-lint run.
Reference issue
Fixes #92

@Sean-Der: Is the suggested change ok from your perspective? If there's anything missing/needs rework, please let me know.

Hey there,
would anybody be able to review this and let me know if this change is OK? It would be really great to get this feature included.
Cheers
Ben

@bendahl, this looks good to me! Can you resolve the conflicts on master and recommit? Should be good to merge after that.

@edaniels, thanks for the feedback! I merged the latest changes from master and resolved all remaining conflicts. Can you please approve this in order for the merge to succeed?

@bendahl looks like there may be a conflict still according to GH

@edaniels, it doesn't seem like there is an easy way to fix this. I will get on this tonight and probably redo the whole change in order to ensure that this works.

Darn, okay sounds good. I'll keep an eye out.


There is no way to get position of the item?

The getAdapterIndex index always adapter+ maxvisible items,
For me last items in the objects are not working.
There is no way to get the adapter postiion directly

I did this
/**
     * Actual index...
     */
    public int getAdapterIndex2() {
        return deck.getFront().getPositionWithinAdapter();
    }

deck.getFront().getPositionWithinAdapter(); will give the location for which is front in the adapter.not which one is swiped..

I dont quite understand what you're trying to achieve and which index you're trying to get.
deck.getFront().getPostitionWithinAdapter() tells you at what position in the adapter (or the underlying list) the front card is. I needed that information because I wanted to swap the front card with another one, so I had to change the right element in the list.

in my case i need to get the object of the swiped item .

You should be able to use the position you receive in the SwipeDeck.SwipeDeckCallback
swipeDeck.setCallback(new SwipeDeck.SwipeDeckCallback() {
            @Override
            public void cardSwipedLeft(long position) {
                adapter.getItem((int) position);
            }

            @Override
            public void cardSwipedRight(long position) {
                adapter.getItem((int) position);
            }
        });

@stravag  that doesn't work


Add "See More" Button

Relates to https://github.com/SSWConsulting/SSW.Rules/issues/1046
Changes:

Added a "See More" button, which appears only when there are rules and an author

Hi @Aibono1225 @bradystroud if this is what we'll see on People pages then See more should look more like a link (external navigation) instead of a button (internal navigation / action)

As per my conversation with @jaydenalchin , changed "See More" as below:


plugin package segfaulting on macOS

What version of Go are you using (go version)?
go version devel +2b445c7 Sat Nov 5 23:59:04 2016 +0000 darwin/amd64
What operating system and processor architecture are you using (go env)?
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/andrei/go"
GORACE=""
GOROOT="/usr/local/Cellar/go/HEAD-2b445c7/libexec"
GOTOOLDIR="/usr/local/Cellar/go/HEAD-2b445c7/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/8q/gmgztx313w55mrr0cqfy0ksw0000gn/T/go-build177985919=/tmp/go-build -gno-record-gcc-switches -fno-common"
CXX="clang++"
CGO_ENABLED="1"
PKG_CONFIG="pkg-config"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
What did you do?
compiled the example code from here: https://tip.golang.org/pkg/plugin/
I have a single file called test.go (in directory testlib) which contains:
package main

// // No C code needed.
import "C"

import "fmt"

var V int

func F() { fmt.Println("Hello, number %d", V) }

built this with go build -buildmode=plugin
this results in a file called testlib.so
I have a seperate file, in another directory called main.go which contains:
package main

import "plugin"

func main() {

	p, err := plugin.Open("testlib.so")
	if err != nil {
		panic(err)
	}
	v, err := p.Lookup("V")
	if err != nil {
		panic(err)
	}
	f, err := p.Lookup("F")
	if err != nil {
		panic(err)
	}
	*v.(*int) = 7
	f.(func())() // prints "Hello, number 7"
}

What did you expect to see?
"Hello, number 7"
What did you see instead?
fatal error: unexpected signal during runtime execution
[signal SIGSEGV: segmentation violation code=0x1 addr=0xb01dfacedebac1e pc=0x4545cfb]

goroutine 1 [running]:
runtime.throw(0x407161b, 0x2a)
	/usr/local/Cellar/go/HEAD-2b445c7/libexec/src/runtime/panic.go:596 +0x95 fp=0xc420049c50 sp=0xc420049c30
runtime.sigpanic()
	/usr/local/Cellar/go/HEAD-2b445c7/libexec/src/runtime/signal_unix.go:253 +0x2db fp=0xc420049ca0 sp=0xc420049c50
invalid spdelta  0x404df30 0x4545cfb 0x28654 -1
(0x40be44000, 0xc42009a00000, 0x400)
	?:0 +0x4f7dcb fp=0xc420049ca7 sp=0xc420049ca0

goroutine 17 [syscall, locked to thread]:
runtime.goexit()
	/usr/local/Cellar/go/HEAD-2b445c7/libexec/src/runtime/asm_amd64.s:2184 +0x1

Duplicate of #17804.


README has 80 & 25 switched in the example

Most terminals are 80 columns and 25 rows not the other way around.

thanks for the heads up!


level 1.5 image (refraction correction)

A few comments below. Also @sageyu123 as he has been working on the FITS headers.

What do "com_x" and "com_y" stand for? Perhaps something like "refra_shift_x" and "refra_shift_y" would be more intuitive? I also think there is no need for adding "fitted" to the keyword name. Also it is worthwhile to specify the unit of these values using the standard keyword such as "BUNIT = arcsec"
FITS keyword "REFRA" = "1" to "REFRA_COR" = True?
Perhaps add "REFRA_VER = 1.0" to indicate the version of the refraction correction, in case we need to update it in the future.
The coefficient keywords can also be more specific, such as PX0 -> REFRA_PX0, etc.

just to remind myself. https://github.com/suncasa/suncasa-src/issues/272

com is abbr for "center of mass"
good point "refra_shift" is more intuitive for users.


fix: replace illegal chars inside of statement id

CI is failing due to resource exhaustion?

CI is failing due to resource exhaustion?

O I think this is related to @rlinehan changes

Damn it


Issue #SB-6275 feat: System settings API implementation

Closing this one as there is another PR raised for the same.


Add translations for the documentation

The documentation seems to be generated with a custom static site generator and unavailable in other languages. It would be beneficial to add translations for the documentation.

Maybe you can open-source the generator or implement a framework for adding translations?

In the mean time could people host translations on their own websites? (provided they link back to the original ofc)

@Pi-Cla Sorry for the late reply. We're fine with given the following two conditions:

The docs have a clear indicator that they are not official (similar to how https://typst-jp.github.io/docs/ does it)
They show which Typst version they are documenting (in case it goes out of date)


Fix health check client to wait for subchannel call stack destruction before destroying the arena.

But I don't know how this can fix the internal reported bug that the subchannel call is null when StartTransportStreamOpBatch() is called. Will call_.reset() here somehow invoke StartTransportStreamOpBatch()?

I think this was caused by a race condition in cancellation.  Note that cancellation is invoked from two places (Orphan() and DoneReadingRecvMessage()), so there can be two cancellations in flight at the same time in different threads.
When you call HealthCheckClient::CallState::Cancel(), it hops into the call combiner to run StartCancel(), which starts a cancellation batch by calling StartTransportStreamOpBatch().  When that batch is complete, it calls OnCancelComplete(), which resets call_.
Prior to this PR, Cancel() was attempting to handle this race condition by checking whether call_ was null before starting the cancellation.  However, this was inadequate: if a cancellation was started in one of the two places, but it didn't finish and reset call_ by the time the second cancellation was started, then call_ could wind up being reset while the second cancellation was still in flight.
This PR fixes the problem by adding the cancelled_ atomic to ensure that we only have one cancellation in flight at a time.


Google DNS timeout

The server is set on a windows machine. But the machine couldn't connect to Google DNS: <IP_ADDRESS>. Whenever the server is connected by a mobile client, the following report is presented.

Is there anyway to solve this?

Unreproducible issue.
Please check your network connection.


loss and val_loss decreasing

so I am building an image classification CNN model using TensorFlows sequential API.
I don't know why my graphs are acting this way and why the training accuracy of my model isn't steadily going up. can anyone help?

Hi @ayatirfann ,
Your model loss and val_loss decreasing gradually but accuracy staying constant means something wrong. Not sure how the model compiled. Providing code snippet may help us. Thanks.


[core] Use hard tabs for accessibility

[x] I have searched the issues of this repository and believe that this is not a duplicate.

Summary 💡
Hard tabs allow contributors to choose how many spaces a tab represents, which aids accessibility.
Discussion:
https://github.com/romefrontend/rome/issues/425

Examples 🌈
https://github.com/romefrontend/rome

Motivation 🔦
Material-UI as a user interface component library has a strong accessibility ethic. This should extend to contributor DX.

Why not follow the default prettier configuration?
GitHub displays tables with 4 spaces by default in the UI, IMHO, it's a deal breaker

https://twitter.com/editorconfig/status/610836234676535296

Disclaimer: I started using tabs in new projects about 6 months ago.
Looking back I always justified spaces with their superiority for manual formatting across environments. Using tabs just didn't work if you wanted to align your SQL queries or hardcoded data structures. But when prettier came along and I grew used to it I never re-evaluated my choice. Since we don't manually format code anymore, tabs are objectively better for a11y and most tools I'm aware of support custom tab-width I don't see a reason to use spaces anymore.

https://twitter.com/editorconfig/status/610836234676535296

@mbrookes If we can have a default shared configuration of two spaces for tabs, have it work in GitHub and popular text editors, this would work from my end.

It all seems to work – I had to adjust my editor to display tabs as two spaces, but that's kind of the point! :)
git diff output is 4 spaces because it outputs tabs, and that's the console / pager default, but there's a config setting for that too.

Summary of the exploration of #22305: we are waiting for GitHub to come through to resume the changes. We need:

GitHub mobile support of .editorconfig: https://github.com/mui-org/material-ui/pull/22305#issuecomment-678615314
GitHub comments  support of .editorconfig: https://github.com/mui-org/material-ui/pull/22305#issuecomment-680274225


chore: bdd-nh-1583903851 to 0.0.1

chore: Promote bdd-nh-1583903851 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Script to support bash auto completion

Signed-off-by: Ganesh Maharaj Mahalingam<EMAIL_ADDRESS>

LGTM

@ganeshmaharaj this is great thanks.  Could you add a body to the commit message.  Also, I needed to start a new shell before the bash completion worked.  Is this expected?  If so perhaps we should mention this in the documentation.

@markdryan yes, will add a body and also add the note that says they will need a new she'll for it to start working.

Coverage remained the same at 68.241% when pulling a694ace6c563158fd1473fb0527dd986a7176e5f on ganeshmaharaj:bash_completion into a4a47ac744709b28e60527531d849253f69d7210 on intel:master.


fretboard configuration

it'll be nice to have a fretboard configuration (total fret shown on guitar and fret custom to elimiate unused frets)
case for fret custom
there are pattern that repeated on fretboard guitar, and for newbie who want to learn A Minor Pentatonic using 6 Strings Standard Tuning
can be focused on pattern 1 (for example) which is start from fret 5 - fret 8, so the other fretboards not shown and they can focused just on that fret
thanks

That's a really nice idea.


Border in CSS

I have a table with borders set in the columns (tr) but the borders are not printed in my document. In the application, the borders are displayed.
Also, the background is not properly printed in the PDF.
In the image htmlGenerated, it is possible to see the correct version, that is shown in the browser and in the mobile application. In the pdfGenerated.png, you can see the printed document with problems.
Is there a way to print the borders in the PDF?
.trHeader {
vertical-align: middle;
text-align: center;
border-style: solid;
border-width: 1px;
background: #DDD9C4;
}

                 EXAMPLE

@henriquels25, the plugin does not render the HTML content. Cannot tell you why the web view does not render the border.


Anomaly detection to identify missing data / data quality issues

Use anomaly detection on the data in-stream to identify likely failure to track events.

Very useful feature in order to provide "SMART" platform... Concept which many companies are trying to adopt. (ML/AI features running on the backend and helping customers "onthefly")


[Feature Request] Prevent Popper from closing if clicked outside

Existing Component
Yes
Component Name
popover
Description
I'm using the popover like this:
<el-popover placement="top-start" width="160" v-model="selectorVisible">

Seleziona le campagne che desideri cancellare e clicca su 'Elimina'

    <el-button size="mini" type="text" @click="selectorVisible = false">Annulla</el-button>
    <el-button type="primary" size="mini" @click="handleDelete">Elimina</el-button>

</el-popover>

I need the popover to stay open even if the user clicks outside the popper window, but I don't seem to find a way to do that.
Thanks

Issues without a valid reproduction link will be closed directly.

trigger="manual"

Thank you ZTrainWilliams, I apologize, I haven't noticed that in the docs


Ability to create classroom

I have added the requested feature in #11

Keeping it open for future scope


question about hand detection

How is the hand detection done? I found that the code directly provided a hand image at the beginning.

please reference  to process_hand_stage1.py.


Publish event message with TTL metadata key is invalid

Expected Behavior
No exception.
Actual Behavior
Raise ValueError Exception:
  File "/home/tzxd/code/crontab_celery/test/dapr_publish_test.py", line 14, in <module>
    r = c.publish_event(
  File "/home/tzxd/code/crontab_celery/.venv/lib/python3.9/site-packages/dapr/clients/grpc/client.py", line 350, in publish_event
    _, call = self._stub.PublishEvent.with_call(req, metadata=metadata)
  File "/home/tzxd/code/crontab_celery/.venv/lib/python3.9/site-packages/grpc/_channel.py", line 955, in with_call
    state, call, = self._blocking(request, timeout, metadata, credentials,
  File "/home/tzxd/code/crontab_celery/.venv/lib/python3.9/site-packages/grpc/_channel.py", line 926, in _blocking
    call = self._channel.segregated_call(
  File "src/python/grpcio/grpc/_cython/_cygrpc/channel.pyx.pxi", line 498, in grpc._cython.cygrpc.Channel.segregated_call
  File "src/python/grpcio/grpc/_cython/_cygrpc/channel.pyx.pxi", line 366, in grpc._cython.cygrpc._segregated_call
  File "src/python/grpcio/grpc/_cython/_cygrpc/channel.pyx.pxi", line 360, in grpc._cython.cygrpc._segregated_call
  File "src/python/grpcio/grpc/_cython/_cygrpc/channel.pyx.pxi", line 218, in grpc._cython.cygrpc._call
  File "src/python/grpcio/grpc/_cython/_cygrpc/channel.pyx.pxi", line 253, in grpc._cython.cygrpc._call
  File "src/python/grpcio/grpc/_cython/_cygrpc/channel.pyx.pxi", line 61, in grpc._cython.cygrpc._raise_call_error
ValueError: metadata was invalid: ('ttlInSeconds', '120')

Steps to Reproduce the Problem
import json
import unittest

from dapr.clients import DaprClient

# class PublishTest(unittest.TestCase):
#     def setUp(self) -> None:
#         pass

#     def test_publish(self):

with DaprClient() as c:
    try:
        r = c.publish_event(
            pubsub_name='pubsub',
            topic_name='topic',
            data=json.dumps({'a': 1, 'b': 2}),
            metadata=(('ttlInSeconds', '120'),),
            data_content_type=None,
        )
    except Exception as e:
        raise e

Note
GRPC metadata keys must be lowcase.
grpc/grpc#9863
Doc bug
Python ttl sample metadata key has upperCase

In my case:
== APP ==   File "/home/alex/workplace/py39/lib/python3.9/site-packages/grpc/_channel.py", line 926, in _blocking
== APP ==     call = self._channel.segregated_call(
== APP ==            │    │        └ <method 'segregated_call' of 'grpc._cython.cygrpc.Channel' objects>
== APP ==            │    └ <grpc._cython.cygrpc.Channel object at 0x7fc9ae18ffa0>
== APP ==            └ <grpc._channel._UnaryUnaryMultiCallable object at 0x7fc9ae18f610>
== APP ==   File "src/python/grpcio/grpc/_cython/_cygrpc/channel.pyx.pxi", line 498, in grpc._cython.cygrpc.Channel.segregated_call
== APP ==   File "src/python/grpcio/grpc/_cython/_cygrpc/channel.pyx.pxi", line 366, in grpc._cython.cygrpc._segregated_call
== APP ==   File "src/python/grpcio/grpc/_cython/_cygrpc/channel.pyx.pxi", line 360, in grpc._cython.cygrpc._segregated_call
== APP ==   File "src/python/grpcio/grpc/_cython/_cygrpc/channel.pyx.pxi", line 218, in grpc._cython.cygrpc._call
== APP ==   File "src/python/grpcio/grpc/_cython/_cygrpc/channel.pyx.pxi", line 246, in grpc._cython.cygrpc._call
== APP ==   File "src/python/grpcio/grpc/_cython/_cygrpc/channel.pyx.pxi", line 89, in grpc._cython.cygrpc._operate
== APP ==   File "src/python/grpcio/grpc/_cython/_cygrpc/tag.pyx.pxi", line 64, in grpc._cython.cygrpc._BatchOperationTag.prepare
== APP ==   File "src/python/grpcio/grpc/_cython/_cygrpc/operation.pyx.pxi", line 37, in grpc._cython.cygrpc.SendInitialMetadataOperation.c
== APP ==   File "src/python/grpcio/grpc/_cython/_cygrpc/metadata.pyx.pxi", line 41, in grpc._cython.cygrpc._store_c_metadata
== APP ==
== APP == ValueError: too many values to unpack (expected 2)

This appears to be a dupe of: #299
Metadata is an overloaded term between grpc metadata and dapr metadata in the python-sdk, unfortunately.
Use the publish_metadata field in v1.4.1. We had the exact same problem with rawPayload, it just looks like we missed updating the ttlInSeconds documentation. Docs PR for ttlInSeconds:
https://github.com/dapr/docs/pull/2072
In the mean time, refer to the python-sdk example here for the correct usage: https://docs.dapr.io/developing-applications/building-blocks/pubsub/pubsub-raw/#publishing-raw-messages


[Snyk] Security upgrade node from 18.13.0 to 18.20.3

This PR was automatically created by Snyk using the credentials of a real user.
Keeping your Docker base image up-to-date means you’ll benefit from security fixes in the latest version of your chosen image.
Changes included in this PR

Dockerfile

We recommend upgrading to node:18.20.3, as this image has only 186 known vulnerabilities. To do this, merge this pull request, then verify your application still works as expected.
Some of the most important vulnerabilities in your base image include:

Severity
Priority Score / 1000
Issue
Exploit Maturity

823
Out-of-bounds Write SNYK-DEBIAN11-GLIBC-5927133
Mature

852
Out-of-bounds Write SNYK-DEBIAN11-LIBWEBP-5893094
Mature

852
Out-of-bounds Write SNYK-DEBIAN11-LIBWEBP-5893094
Mature

852
Out-of-bounds Write SNYK-DEBIAN11-LIBWEBP-5893094
Mature

852
Out-of-bounds Write SNYK-DEBIAN11-LIBWEBP-5893094
Mature

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings

Note: This is a default PR template raised by Snyk. Find out more about how you can customise Snyk PRs in our documentation.
Learn how to fix vulnerabilities with free interactive lessons:
🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

🎉 Snyk hasn't found any issues so far.
✅ code/snyk check is completed. No issues were found. (View Details)


Handle pagination in Airtable#list method

Hey, there!
First off, awesome job on this library. It's very close to what I had written a few times already but much cleaner and in its own clean module. Thank you very much for releasing this! 👍
For the List endpoint of the Airtable API, if the maxRecords value exceeds 100, an offset key appears in the response. It's a string that you can use to then make another request to the List API with that offset to get the next batch of records. And so on…

addressed with PR #4. thanks, @focuswish, for the merge!


VSCode reports not valid SDK for Apache Royale SDK built with Maven

Hi,
I use to create my own Apache Royale SDK with maven 👍
mvn -s settings-template.xml -DdistributionTargetFolder=/Users/carlosrovira/Dev/Royale/sdks/apache-royale-0.9.1 -P build-distribution clean install
NextGenAS plugin reports in VSCode the following:

nextgenas.sdk.editor in settings does not point to a valid SDK. Requires Apache Royale 0.9.0 or newer.

If I assign my SDK in lower right corner (that points "No SDK")
it continues to report the same error mensaje above

nextgenas.sdk.editor in settings does not point to a valid SDK. Requires Apache Royale 0.9.0 or newer.

I remember that Apache FlexJS maven SDK works right with NextGenAS+VSCode. Maybe I'm doing something wrong right now or it's a bug?
Thanks!

@carlosrovira ,
You are talking here about using distribution produced by Maven as an SDK in VSCode ?

Hi Piotr, exactly. I used to work in this way so as I develop things in Royale SDK I can make it available directly in VSCode.
Thanks!

Unfortunately it won't work anymore and I doubt that Josh can do anything with that. Probably we need to work on fixing distribution, but I may be wrong. I have this on my list to look into that, but priority is low to me.

Do you know what changed? what's different from flexjs and royale in distribution? maybe if I understand the problem I can make something to fix it. thanks

I didn't look into that, but first what comes to my mind - I would check how royale-sdk-description.xml file looks like in Maven distribution package.

Yes, I suspect that the Royale distribution produced by Maven is invalid in some way. As Piotr suggests, royale-sdk-description.xml may be missing or the XML may not be formatted property. I recall that the XML format of royale-sdk-description.xml is no longer exactly the same as flex-sdk-description.xml, and I recently had to modify my code to successfully parse the version number.

Hi Josh,
it seems there was a problem in royale-sdk-description.xml
it needs to be:
<?xml version="1.0"?>
<!--

  Licensed to the Apache Software Foundation (ASF) under one or more
  contributor license agreements.  See the NOTICE file distributed with
  this work for additional information regarding copyright ownership.
  The ASF licenses this file to You under the Apache License, Version 2.0
  (the "License"); you may not use this file except in compliance with
  the License.  You may obtain a copy of the License at

      http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.

-->
<royale-sdk-description>
    <name>Apache Royale</name>
    <version>0.9.2-SNAPSHOT</version>
    <build>201802252142</build>

    <output-targets>
      <output-target name="js" version="Ecma5Strict" />
      <output-target name="swf" version="AS3" AIR="14.0" Flash="11.7" />
    </output-targets>
</royale-sdk-description>

and this seems to work in Moonshine but not in VSCode that still gives the same error.
In the other hand is strange since when I select the Royale SDK (maven distribution or the latest 0.9.1 official one downloaded from the web), the error reports about fill "nextgenas.sdk.editor" but nextgenas fills "nextgenas.sdk.framework"
but filling both in settings.json:
{
    "nextgenas.sdk.editor": "/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-0.9.2-SNAPSHOT",
    "nextgenas.sdk.framework": "/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-0.9.2-SNAPSHOT"
}

results in the same error showing, so if SDK is working in moonshine, I think this could be an issue with nextgenas that is not working with any Royale SDK (official or created with maven)
Could you give it a look?
thanks in advance!

@carlosrovira I just checked on Windows with distribution and it's working in VSCode for me. Code completion etc.

Maybe this is specific to system...

ok, tomorrow, I'll try to refresh my system and see if is some freeze on my Mac
thanks for reporting! :)

Hi, just shut down computer and try to build all again and is not working for me
Maybe I should try to make a fresh install of vscode and nextgenas...I'll try it tomorrow

Hi Josh,
just push that change in "royale-asjs/distribution/src/main/resources/frameworks/flex-config.xml" to royale repo as you mentioned. Should I change something more?
With only the change, after create a fresh distribution the error still appears at the top of vscode.
After click on close button for that error notification, now somethings works.
For example if I write "while" or "for" in suggest to add a while or for loop for AS3 & MXML
But If I create a var alert:Alert ctrl+space doesn't suggest any import.
I name the SDK "apache-royale-0.9.2-SNAPSHOT", but I tested without "-SNAPSHOT" and all is the same. Don't see anything more to correct...maybe I'm missing something? all is working for you ok?
(I must to say that I removed completely vscode and all extensions before start to test again, and rebuild all from scratch)
thanks!

@carlosrovira Yes, all is working correctly on my computer with 0.9.2-SNAPSHOT built fresh from royale-compiler, royale-typedefs, and royale-asjs with Maven.
Make sure that you build the ActionScript & MXML extension with the latest commits that I pushed to this repository today. There was an issue in the extension that prevented a Maven distribution of Royale from being validated (because the Maven distributuion includes version strings in SWC names, and the Ant distribution does not). You will need to uninstall any existing version of the extension, restart VSCode, and then manually install the VSIX file in distribution/target/vscode-nextgenas/vscode-nextgenas.

I'm wondering how it was working to me with VSCode. I did choose distribution and I had code completion for Royale classes... strange.
Thanks Josh for fix!

Ok Josh, that's the problem, I'm using latest release, I'll try with a custom build
thanks!

I plan to release v0.10 later this week, so you won't need to use a custom build for long. 😄

Hi Josh,
Some months ago I build the extension without problem, but today I'm getting an error.
I'm in the root folder on the extension and running the command in the readme file, but I get:

<EMAIL_ADDRESS>postinstall /Users/carlosrovira/Dev/VSCode/vscode-nextgenas/vscode-extension
node ./node_modules/vscode/bin/install

Detected VS Code engine version: ^1.20.0
Found minimal version that qualifies engine range: 1.20.0
Fetching vscode.d.ts from: https://raw.githubusercontent.com/Microsoft/vscode/c63189deaa8e620f650cc28792b8f5f3363f2c5b/src/vs/vscode.d.ts
vscode.d.ts successfully installed!
up to date in 5.871s
[INFO]
[INFO] --- exec-maven-plugin:1.5.0:exec (exec-tsc-src) @ vscode-extension ---
ts/commands/migrateFlashBuilderProject.ts(19,27): error TS2307: Cannot find module '@rgrove/parse-xml'.
[ERROR] Command execution failed.
org.apache.commons.exec.ExecuteException: Process exited with an error: 2 (Exit value: 2)
at org.apache.commons.exec.DefaultExecutor.executeInternal (DefaultExecutor.java:404)
at org.apache.commons.exec.DefaultExecutor.execute (DefaultExecutor.java:166)
at org.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:764)
at org.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:711)
at org.codehaus.mojo.exec.ExecMojo.execute (ExecMojo.java:289)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:134)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:208)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:309)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:194)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:107)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:955)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:194)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:498)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356)
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] vscode-nextgenas ................................... SUCCESS [  1.156 s]
[INFO] check-java-version ................................. SUCCESS [  5.550 s]
[INFO] check-royale-version ............................... SUCCESS [  2.965 s]
[INFO] asconfigc .......................................... SUCCESS [  9.678 s]
[INFO] language-server .................................... SUCCESS [  9.531 s]
[INFO] swf-debugger ....................................... SUCCESS [  4.123 s]
[INFO] vscode-extension ................................... FAILURE [  9.571 s]
[INFO] distribution ....................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 42.638 s
[INFO] Finished at: 2018-02-26T22:20:28+01:00
[INFO] Final Memory: 61M/571M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.5.0:exec (exec-tsc-src) on project vscode-extension: Command execution failed.: Process exited with an error: 2 (Exit value: 2) -> [Help 1]
Do you know what could be the problem?
thanks

Hmmm... it doesn't seem to be installing one of the dependencies required by the vscode-extension module. Unfortunately, I'm not good at debugging why a Maven build fails, and this Maven build is a little tricky because it also needs to load some dependencies from npm. You might try deleting vscode-extension/node_modules before running the build.

@carlosrovira try to run build with -X it may tell you a bit more. It's require a bit more careful analysis but still. I have found myself better in resolving problems doing such analysis after output with -X.

Hi, tried to remove node_modules but that did make any difference. Following Piotr recommendations to put -X I get:
[INFO] --- exec-maven-plugin:1.5.0:exec (exec-tsc-src) @ vscode-extension --- [DEBUG] Configuring mojo org.codehaus.mojo:exec-maven-plugin:1.5.0:exec from plugin realm ClassRealm[plugin>org.codehaus.mojo:exec-maven-plugin:1.5.0, parent: sun.misc.Launcher$AppClassLoader@55f96302] [DEBUG] Configuring mojo 'org.codehaus.mojo:exec-maven-plugin:1.5.0:exec' with basic configurator --> [DEBUG]   (f) arguments = [-p, .] [DEBUG]   (f) async = false [DEBUG]   (f) asyncDestroyOnShutdown = true [DEBUG]   (f) basedir = /Users/carlosrovira/Dev/VSCode/vscode-nextgenas/vscode-extension [DEBUG]   (f) classpathScope = runtime [DEBUG]   (f) executable = /Users/carlosrovira/Dev/VSCode/vscode-nextgenas/vscode-extension/node_modules/.bin/tsc [DEBUG]   (f) longClasspath = false [DEBUG]   (f) project = MavenProject: com.nextgenactionscript.vscode:vscode-extension:0.10.0 @ /Users/carlosrovira/Dev/VSCode/vscode-nextgenas/vscode-extension/pom.xml [DEBUG]   (f) session = org.apache.maven.execution.MavenSession@40147317 [DEBUG]   (f) skip = false [DEBUG]   (f) toolchain = jdk [DEBUG]   (f) workingDirectory = /Users/carlosrovira/Dev/VSCode/vscode-nextgenas/vscode-extension/src/main [DEBUG] -- end configuration -- [DEBUG] env: Apple_PubSub_Socket_Render=/private/tmp/com.apple.launchd.eFRClFfSsO/Render [DEBUG] env: CLICOLOR=1 [DEBUG] env: FLASHPLAYER_DEBUGGER=/Applications/Adobe/Flash/23.0/Flash Player.app/Contents/MacOS/Flash Player Debugger [DEBUG] env: HOME=/Users/carlosrovira [DEBUG] env: JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_102.jdk/Contents/Home [DEBUG] env: JAVA_MAIN_CLASS_9535=org.codehaus.plexus.classworlds.launcher.Launcher [DEBUG] env: LANG=es_ES.UTF-8 [DEBUG] env: LOGNAME=carlosrovira [DEBUG] env: LSCOLORS=ExFxCxDxBxegedabagacad [DEBUG] env: MAVEN_CMD_LINE_ARGS= clean package -s settings-template.xml -X [DEBUG] env: MAVEN_PROJECTBASEDIR=/Users/carlosrovira/Dev/VSCode/vscode-nextgenas [DEBUG] env: OLDPWD=/Users/carlosrovira/Dev/VSCode/vscode-nextgenas [DEBUG] env: PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin [DEBUG] env: PWD=/Users/carlosrovira/Dev/VSCode/vscode-nextgenas [DEBUG] env: SHELL=/bin/bash [DEBUG] env: SHLVL=1 [DEBUG] env: SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.AEvuCLsXza/Listeners [DEBUG] env: TERM=xterm-color [DEBUG] env: TERM_PROGRAM=Apple_Terminal [DEBUG] env: TERM_PROGRAM_VERSION=400 [DEBUG] env: TERM_SESSION_ID=13212C7B-B128-4E71-B2C7-0887A60F501A [DEBUG] env: TMPDIR=/var/folders/sq/1_vqr95j4wx7zqwtsp459dz80000gn/T/ [DEBUG] env: USER=carlosrovira [DEBUG] env: XPC_FLAGS=0x0 [DEBUG] env: XPC_SERVICE_NAME=0 [DEBUG] env: __CF_USER_TEXT_ENCODING=0x1F5:0x0:0x8 [DEBUG] Toolchains are ignored, 'executable' parameter is set to /Users/carlosrovira/Dev/VSCode/vscode-nextgenas/vscode-extension/node_modules/.bin/tsc [DEBUG] Executing command line: [/Users/carlosrovira/Dev/VSCode/vscode-nextgenas/vscode-extension/node_modules/.bin/tsc, -p, .] ts/commands/migrateFlashBuilderProject.ts(19,27): error TS2307: Cannot find module '@rgrove/parse-xml'. [ERROR] Command execution failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 2 (Exit value: 2)     at org.apache.commons.exec.DefaultExecutor.executeInternal (DefaultExecutor.java:404)     at org.apache.commons.exec.DefaultExecutor.execute (DefaultExecutor.java:166)     at org.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:764)     at org.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:711)     at org.codehaus.mojo.exec.ExecMojo.execute (ExecMojo.java:289)     at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:134)     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:208)     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154)     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146)     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)     at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:51)     at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:309)     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:194)     at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:107)     at org.apache.maven.cli.MavenCli.execute (MavenCli.java:955)     at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290)     at org.apache.maven.cli.MavenCli.main (MavenCli.java:194)     at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)     at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)     at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)     at java.lang.reflect.Method.invoke (Method.java:498)     at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289)     at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229)     at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)     at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356) [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO]  [INFO] vscode-nextgenas ................................... SUCCESS [  0.068 s] [INFO] check-java-version ................................. SUCCESS [  0.788 s] [INFO] check-royale-version ............................... SUCCESS [  0.334 s] [INFO] asconfigc .......................................... SUCCESS [  3.997 s] [INFO] language-server .................................... SUCCESS [  1.661 s] [INFO] swf-debugger ....................................... SUCCESS [  0.774 s] [INFO] vscode-extension ................................... FAILURE [  7.610 s] [INFO] distribution ....................................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 15.300 s [INFO] Finished at: 2018-02-26T22:53:36+01:00 [INFO] Final Memory: 61M/578M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.5.0:exec (exec-tsc-src) on project vscode-extension: Command execution failed.: Process exited with an error: 2 (Exit value: 2) -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.5.0:exec (exec-tsc-src) on project vscode-extension: Command execution failed.     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:213)     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154)     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146)     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)     at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:51)     at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:309)     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:194)     at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:107)     at org.apache.maven.cli.MavenCli.execute (MavenCli.java:955)     at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290)     at org.apache.maven.cli.MavenCli.main (MavenCli.java:194)     at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)     at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)     at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)     at java.lang.reflect.Method.invoke (Method.java:498)     at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289)     at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229)     at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)     at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356) Caused by: org.apache.maven.plugin.MojoExecutionException: Command execution failed.     at org.codehaus.mojo.exec.ExecMojo.execute (ExecMojo.java:302)     at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:134)     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:208)     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154)     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146)     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)     at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:51)     at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:309)     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:194)     at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:107)     at org.apache.maven.cli.MavenCli.execute (MavenCli.java:955)     at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290)     at org.apache.maven.cli.MavenCli.main (MavenCli.java:194)     at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)     at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)     at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)     at java.lang.reflect.Method.invoke (Method.java:498)     at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289)     at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229)     at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)     at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356) Caused by: org.apache.commons.exec.ExecuteException: Process exited with an error: 2 (Exit value: 2)     at org.apache.commons.exec.DefaultExecutor.executeInternal (DefaultExecutor.java:404)     at org.apache.commons.exec.DefaultExecutor.execute (DefaultExecutor.java:166)     at org.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:764)     at org.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:711)     at org.codehaus.mojo.exec.ExecMojo.execute (ExecMojo.java:289)     at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:134)     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:208)     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154)     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146)     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)     at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:51)     at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:309)     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:194)     at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:107)     at org.apache.maven.cli.MavenCli.execute (MavenCli.java:955)     at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290)     at org.apache.maven.cli.MavenCli.main (MavenCli.java:194)     at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)     at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)     at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)     at java.lang.reflect.Method.invoke (Method.java:498)     at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289)     at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229)     at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)     at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356) [ERROR]  [ERROR]  [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException [ERROR]  [ERROR] After correcting the problems, you can resume the build with the command [ERROR]   mvn <goals> -rf :vscode-extension
Gives this stack trace some info to you
(another thing I tried was Josh in other issue on 11/72017 that said to build royale branch with "mvn clean package", but with the same result)

Josh, do you plan to release this change soon as a minor version? I can wait for this.
thanks

As I mentioned earlier in this thread, I plan to release an update later this week. 😄

You're right! didn't catch that! ;)
thanks! :)

Hi Josh, just report that now royale maven distribution seems to work ok with VSCode .Thanks for your fixes! :)

Good news! Thanks for bringing it to my attention, Carlos.


It can be very difficult to determine grammar names for config.cson

I've too many times spent far too long (and even given up) trying to find grammar names. Sometimes .source comes before the language; sometimes after. For some reason HTML has .basic.
There's no clear pattern to follow, and the status bar will only give what we probably already know - e.g. YAML.
Even hunting through the developer tools will only give you the attributes e.g. source and yaml - not an order.
This could be fixed just by documentation, but ideally I think it would be great to see something like a 'tooltip' on hover over the current grammar/button to open selector that's in the lower left. So it would still say "YAML", but if I hovered a small ".source.yaml" would appear.

You can find the scopes with the "Log Cursor Scope" (alt-cmd-p). It will show the selector for the current position of the cursor.
It is not mentioned yet in the documentation but i've just opened an issue to add it. #atom/flight-manual.atom.io/248

Sounds perfect, thanks @bastilian!


Multiple questions related to this action.

I currently search for an action which would allow me to upload files to already created releases of my project so I found this one.
I now have multiple questions which I want to ask.
First question is, if this already supports multi-file upload and placeholder text.
My project generates multiple different files that while having the same extension, do have different file names. It is always in the style of <name>-<version>[-extra].jar where name is the same across all files, version is too but changes when I update the version. And extra is either not there or different for each file.
So I hope this has some sort of placeholder to allow uploading specific files generated (like <project>-*.jar)
Next question is, what asset type I would need to set.
As you can see in the above examples do I have jar files, but I'm not quite sure what asset/MIME type I have to set for the release.
I vaguely remember to know that GitHub may even not have a supported type for jar.
Final question: Is asset_path required?
I'm not 100% sure what I would need to put in asset_path which is why I would like to avoid it when possible.
If not, then I would appreciate an explanation as to what exactly I have to put there.

First question is, if this already supports multi-file upload and placeholder text.

See #4 and #9.

So I hope this has some sort of placeholder to allow uploading specific files generated

See #4.

I'm not quite sure what asset/MIME type I have to set for the release

See #7.

I would appreciate an explanation as to what exactly I have to put there.

I believe that asset_path is the asset/file that you want to upload: https://github.com/actions/upload-release-asset/blob/master/action.yml#L8-L10. It is required because... well, that's the whole point of the action. I think that the option that you might consider redundant is the asset_name...

I believe that asset_path is the asset/file that you want to upload: https://github.com/actions/upload-release-asset/blob/master/action.yml#L8-L10.

So it is the generated file itself and I assume relative to the build environment (Similar to how you often have to define the location of a build file in a CI to make it use that)?

Yep. This action seems not to modify that path at all (it is not even checked that the file exists): https://github.com/actions/upload-release-asset/blob/master/src/upload-release-asset.js

I now tried creating a zip using the zip command in a previous command, to then upload it to the release.
However, this doesn't work as I receive the following error:
##[error]Input required and not supplied: upload_url
##[error]Node run failed with exit code 1

This is weird as the task I set clearly has upload_url set with a value that should be valid according to the GitHub API docs
jobs:
  publish:
    runs-on: ubuntu-latest
    - name: Upload to release
      uses<EMAIL_ADDRESS>      env:
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
      with:
        upload_url: ${{ github.event.release.release.upload_url }}
        asset_path: ./build/release-${{ github.event.release.tag_name }}.zip
        asset_name: release-${{ github.event.release.tag_name }}.zip
        asset_content_type: application/zip

Or would I need to use the "assets_url" instead of the "upload_url"?

Without further context, I'd say that ${{ github.event.release.release.upload_url }} does not exist (is undefined). In the README<EMAIL_ADDRESS>is used to create the release and get the upload URL from there: https://github.com/actions/upload-release-asset/tree/v1.0.1#example-workflow---upload-a-release-asset

I use this action in a release event with type published, so the release itself is clearly available, meaning the link shouldn't be null/empty.

I use this action in a release event with type published, so the release itself is clearly available, meaning the link shouldn't be null/empty.

"Shouldn't" means that it can be null/empty. You should check it, just in case. If you are just pushing a tag, AFAIK that's not "creating a release". If the action has any other trigger condition (missing context above), maybe it is being handled as a different event.

@Andre601 Your yaml sinppet has answered my question, thanks. Maybe I can be of some help to you.
cd build/libs
zip release-5.0.5 *.jar
shell: /bin/bash -e {0}

It seems like the archive file that was created was be named release-5.0.5 without the .ZIP file extension. That would explain why the file was not found. Just a guess...


Get.toNamed() work strangely

I use Get.toNamed() to simlpy move from bottom modal sheet to a new page. But when i use Get.back() to modal sheet and click again  - it did not move me towards new page. With Navigator.push() everything works fine.

same with me #1685

preventDuplicates:false


Unreasonable errors on built-in type constructor such as int()

I found the unreasonable errors below.
It seems unresolved issues, so I report the testcase and the result. I hope this helps.
Testcases
I created 8 testcases related to built-in type constructor. These are all valid on Python 3.10.6.
def print_repr(x):
    print(repr(x))

print_repr(int("0x16", base=16))
print_repr(float('1e-003'))
print_repr(str(100))
print_repr(complex(1, 2))
print_repr(list(range(10)))
print_repr(tuple([1, 2, 3]))
print_repr(set([1, 2, 2]))
print_repr(dict([("a", 1), ("b", 2)]))

$ python3 --version
Python 3.10.6

$ python3 testcase.py
22
0.001
'100'
(1+2j)
[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
(1, 2, 3)
{1, 2}
{'a': 1, 'b': 2}

Pylyzer result
Pylyzer reports 9 errors:

4 "expected Callable but found ClassType"
3 "Generic* is not defined"
1 "complex is not defined"
1 error related to List[Tuple[str, int]]

$ pylyzer --version
pylyzer 0.0.13

$ pylyzer testcase.py
Start checking: testcase.py
Found 9 errors: testcase.py
Error[#1075]: File testcase.py, line 4, <module>

4 | print_repr(int("0x16", base=16))
  :            ---
  :              |- expected: Callable
  :              |- but found: ClassType
  :              `- If you want to generate an instance, use .Int.new

TypeError: the type of .Int(qual_name: Int)(: {Int, }) is mismatched

Error[#1075]: File testcase.py, line 5, <module>

5 | print_repr(float('1e-003'))
  :            -----
  :                |- expected: Callable
  :                |- but found: ClassType
  :                `- If you want to generate an instance, use .Float.new

TypeError: the type of .Float(qual_name: Float)(: {Float, }) is mismatched

Error[#1075]: File testcase.py, line 6, <module>

6 | print_repr(str(100))
  :            ---
  :              |- expected: Callable
  :              |- but found: ClassType
  :              `- If you want to generate an instance, use .Str.new

TypeError: the type of .Str(qual_name: Str)(: {Str, }) is mismatched

Error[#0710]: File testcase.py, line 7, <module>

7 | print_repr(complex(1, 2))
  :            -------
  :                  `- exists a similar name public variable: compile

NameError: complex is not defined

Error[#0710]: File testcase.py, line 8, <module>

8 | print_repr(list(range(10)))
  :            ------------

NameError: GenericArray is not defined

Error[#0710]: File testcase.py, line 9, <module>

9 | print_repr(tuple([1, 2, 3]))
  :            ------------
  :                       `- exists a similar name private variable: GenericTuple

NameError: GenericTuple is not defined

Error[#0710]: File testcase.py, line 10, <module>

10 | print_repr(set([1, 2, 2]))
   :            ----------

NameError: GenericSet is not defined

Error[#0230]: File testcase.py, line 11, <module>

11 | print_repr(dict([("a", 1), ("b", 2)]))
   :                             ------
   :                                  `- please specify the type explicitly, e.g. [..., ("b", 2): Tuple([{"a", }, {1, }]) or Tuple([{"b", }, {2, }])]

SyntaxError: all elements of an array must be of the same type

Error[#1075]: File testcase.py, line 11, <module>

11 | print_repr(dict([("a", 1), ("b", 2)]))
   :            -----------
   :                      |- expected: Callable
   :                      |- but found: ClassType
   :                      `- If you want to generate an instance, use .GenericDict.new

TypeError: the type of .GenericDict(qual_name: GenericDict)(: {GenericDict, }) is mismatched

Other type checkers result
All other type checkers (Pyright, Pytype, Pyre) didn't report any errors.
$ pyright testcase.py
No configuration file found.
No pyproject.toml file found.
stubPath /home/user/work/typechecker/typings is not a valid directory.
Assuming Python platform Linux
Searching for source files
Found 1 source file
pyright 1.1.299
0 errors, 0 warnings, 0 informations
Completed in 0.775sec

$ pytype testcase.py
Computing dependencies
Analyzing 1 sources with 0 local dependencies
ninja: Entering directory `.pytype'
ninja: no work to do.
Leaving directory '.pytype'
Success: no errors found

$ pyre
ƛ No watchman binary found.
To enable pyre incremental, you can install watchman: https://facebook.github.io/watchman/docs/install
ƛ Defaulting to non-incremental check.
ƛ No type errors found

Most of these problems have been fixed.
Dictionary-type inference needs to be devised differently from others. Please wait a moment.


Provide common transcendental / bitwise operations in Gandiva

Describe the enhancement requested
We (the ALICE experiment at the LHC) use Arrow and Gandiva as basis of our data analysis framework. However, we are currently maintaining a patch on top of the upstream arrow which introduces some basic bitwise and transcendental operations. In particular we need to support:

16 / 8 bit boolean operations.
not operations on unsigned quantities.
float sqrtf, logf, log10f, powerf, absf
float trigonometric functions

We actually have the code already and we use it in production, we will open a PR and we would be happy to donate it upstream to simplify our adoption of vanilla arrow releases.
Component(s)
C++ - Gandiva

The associated PR has now been opened. Please let us know how to proceed since this is our first contribution to Arrow (or the first contribution in a long time).


Change new-issue link in CONTRIBUTING.md

closes #214

LGTM :+1:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add a lastFrameReceivedAt timestamp so that dead connections can be detected

This feature allows a server to detect when a websocket has gone stale. It is to fix #24.
Here is an example of how my server uses this API to cleanup old connections:
    func _connectionKeepAliveAndCleanup() {
        let pingInterval: TimeInterval = 60

        for connection in connections {
            connection.ping()
            if connection.lastFrameReceivedAt.numberOfSecondsOld > 2 * pingInterval {
                connection.close(reason: .normal, description: nil)
                self.disconnected(connection: connection, reason: .normal)
            }
        }

        readWriteQueue.asyncAfter(deadline: DispatchTime.now() + pingInterval) {
            self._connectionKeepAliveAndCleanup()
        }
    }

 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.

Codecov Report

Merging #43 into master will increase coverage by 0.03%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #43      +/-   ##
==========================================
+ Coverage    92.4%   92.43%   +0.03%
==========================================
  Files           9        9
  Lines         500      502       +2
==========================================
+ Hits          462      464       +2
  Misses         38       38

Flag
Coverage Δ

#KituraWebSocket
92.43% <100%> (+0.03%)
:arrow_up:

Impacted Files
Coverage Δ

Sources/KituraWebSocket/WebSocketConnection.swift
92.46% <100%> (+0.07%)
: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 0583f38...019dbdd. Read the comment docs.

Good question on whether we should count all frames or just pong frames.
I think either approach would work in my case.  If any data is still being received then the connection isn’t dead. Only counting pongs would make sure the connection is working both ways - the ping being sent and the pong being received.
I’m really in the fence on this one. 🤔 Want to make the final call and I’ll implement the change?

@bridger So after some thought, I think your original solution is actually the correct way to go. Having lastFrameReceivedAt on all frames allows you to check for stale connections and then send a verifying ping to connections with old lastFrameReceivedAt instead of pinging all connections. If you are happy with this then I will merge this PR

Cool! Let's merge 🙌

Also, fwiw the memory usage on my websocket server is much better now that dead connections are quickly being cleaned up.
It might be worth making this an easy config to turn on which would do the pinging automatically.
As a rough idea, maybe the API would allow a user to specify a pingKeepaliveInterval and/or a timeoutAfter parameter which would send pings automatically and close a connection that isn't responding.
On the other hand, it isn't difficult to implement this in the client code like I did. Maybe just an example in the docs would be the best way.

@bridger So we were looking at how to implement that and have made a gist to handle dead connections for our example chat server. This adds it's own "heartbeat" instead of having one within the websocket connection.
Would you be able to have a look at this and see if it works for your case?
Once this is neatened up we will make a blog post and add it to the readme so other people can see how to implement this.

The heartbeat timestamp in the gist doesn't get updated when a pong frame is received, so it will only keep a connection alive that has sent other data. In the gist it still sends a ping to the connection, but I don't think that will have any effect on keeping the connection alive.
In my case I don't want to close connections that have been idle - just ones that are actually dead. If the client hasn't sent data in a long time but still responds to a ping then I'd like to keep the connection open.

@bridger Implementation using timers and a tunable is implemented on this branch. Would you be able to have a look and see if this would fix your problem.

Thank you for working on this but we are closing this pr since this was fixed in this pr.


Struggling with UTC

Hello,
I am dealing with a database where all the time strings are stored in UTC.
I want to force everything to be in UTC, I tried the data-utc=true in the HTML code
and the utc: true in the JS initialization side.
However, I am still getting the time in my own timezone which is a GMT+2!!
Can you help please?
Many thanks

Hello,
Here's a basic fiddle with UTC enabled.
https://jsfiddle.net/chmln/p118ekbt/
Feel free to fork and make modifications to illustrate your problem.
Thank you

Hello, thank you for your help, but here the display is on UTC, fine, but how to get the unix timestamp out of this component in utc?
Many thanks

See https://chmln.github.io/flatpickr/#eventsAPI
Here's a simple way: https://jsfiddle.net/chmln/p118ekbt/1/


Presence subscription not working

Hey i am trying to get the online status of user but its not working

am i doing something wrong ?

Hi @saifkazi , have you fixed it?

no not yet

after todays whatsapp update, neither
Store.Wap.subscribePresence(user)
nor
Store.Presence.find(user)
is working.
server socket response is 200 ("ok") but since today i do not get any online status updates with this.
the Store.Presence._index[user].isOnline is still only a placeholder object.


add variables config to panel

chore(dashboard): add variable config panel
chore(api): add migration handler to 5.9.1

close #248

just rebased, there are several changes in cartesian


Feature/plugin api endpoints

Plugins are expected to have an api.lua file if they want to extend the API interface. This pull request dynamically loads the plugin's endpoints. #93

Coverage decreased (-0.15%) to 73.99% when pulling 8cd9b9d8a0f4e549f21675512ce3d70b87dc686a on feature/plugin-api-endpoints into ebc035d6f5b80082541857b62082fb43d05419a3 on master.

Coverage decreased (-0.16%) to 73.97% when pulling 11e4a633ed6e78a95cce0f0cfed4f4810971b8ca on feature/plugin-api-endpoints into ebc035d6f5b80082541857b62082fb43d05419a3 on master.

Coverage decreased (-0.16%) to 73.97% when pulling 11e4a633ed6e78a95cce0f0cfed4f4810971b8ca on feature/plugin-api-endpoints into ebc035d6f5b80082541857b62082fb43d05419a3 on master.


Tcam to Sram TableMapping with 'bX support

This PR will add support for mapping TCAM addresses with X's into possible SRAM addresses. Initially, table mapping only supported 0,1 values only as in PR #3.

TcamTable1 is showing some bugs in mapping. Working on it. However TcamTable2 and TcamTable3 maps as per specs.

@sajjadahmed677 All table mapping issues resolved. Run code and let me know if all is good.

@sajjadahmed677 Table mapping for 'bX is now fully supported. Run the code and let me know if its OK.

LGTM


Uploading models to Hugging Face from MS Swift

Hello,
I’m currently working vlm finetuning with ms-swift, and I’m curious if it's possible to upload models directly to HuggingFace, similar to ModelScope. If this feature isn’t available yet, are there any plans to support it in the future?

This is supported, use with USE_HF=1
This will use huggingface to download and upload models

what command to use to export the finetuned model with lora to huggingface hub?


CodeBlock is not consistent with regular markdown code

Code with markdown
you do 👇🏼

you get nice text, with proper space between text and code block

Code with CodeBlock component
you do 👇🏼

you get nice text, with proper space between text and code block

Solution
It looks bad when CodeBlock is used. Markdown way and related CSS is much better.
So CSS for CodeBlock should be fixed and follow markdown way.

Hey @derberg ,how can I reproduce this error and see on my local machine

@sambhavgupta0705 just follow the examples I showed above.
create a numbered list in markdown file, somewhere is one of existing documents in the website
and try to add normal code and CodeBlock like above shown

@sambhavgupta0705 can you specify if you work on it or you leave it up to @janvi01

@derberg ,@janvi01 can take this up


Enhancements and Long/Short rest

On this example, the enhancements are on the Skewer card...which you can not see from what we are displaying on the short and long rest pop-ups.
We should put them on the card...but that doesn't seem feasible. Since it isn't, we should not display the enhancement at all, similarily to the 'Abilities' and 'Enhancement' tab

maybe we could just not show the enhancements in these modals ?

Yep, that's what I said :D

oops ^^'


Increase AWS EC2 vCPU Limit

An error occurred (VcpuLimitExceeded) when calling the RunInstances operation: You have requested more vCPU capacity than your current vCPU limit of 770 allows for the instance bucket that the specified instance type belongs .
http://aws.amazon.com/contact-us/ec2-request
Can allocate 24 hosts today. Want to allocate 100+ so limit should go up 6x.

AWS has partially increased our limit.

Is this acceptable for now @ericpassmore, or would you like me to being an appeal?

This is good, and will close the ticket. Originally the requirements were to run in 3 hours ; however we haven't had requests to run this often.


Flow ignore the check function from a 3rd party library

I use is.js
And I use it to check whether a property is there or not:
import is from 'is_js';

type Schema = {
  collectValues?: {[string]: string}
};

// schema: Schema
if (
    is.propertyDefined(schema, "collectValues") &&
    is.propertyDefined(schema.collectValues, reliedFieldName)
  ) {
      const a = schema.collectValues[reliedFieldName];
}

The error is:
Cannot get schema.collectValues[reliedFieldName] because an indexer property is missing in undefined [1].

[1]  28│   collectValues?: {[string]: string},

It will work if I mark that collectValues with non-optional, however, it's an optional. The error is simple because flow doesn't know the property is already checked.
How to make this work?

is.propertyDefined checks for presence, and not for undefined (similar to https://github.com/facebook/flow/issues/6250):
var is = require("is_js");

is.propertyDefined({}, "collectValues"); //=> false
is.propertyDefined({ collectValues: {} }, "collectValues"); //=> true
is.propertyDefined({ collectValues: undefined }, "collectValues"); //=> true

You'll want to ensure schema.collectValues is not undefined before accessing its properties.

Thanks!!!
Yes, I missed that part, after adding allSchema.collectValues != null, everything works like a charm.
One more problem. I tried to extract this checking logic to an isolated function like this:
function isCollectValuesThere(
  schema: Schema,
  reliedFieldName: string
): boolean %checks {
  return schema.collectValues != null &&
    allSchema.collectValues.reliedFieldName != null
}

Then use it like:
if (
    isCollectValuesThere(schema)
  ) {
      result = getNestedValue(
        schema.collectValues[reliedFieldName],
        schema
      )
  }

It reports an error for reliedFieldName in schema.collectValues[reliedFieldName],
Cannot get schema.collectValues[reliedFieldName] because an indexer property is missing in undefined [1].

I already marked that isCollectValuesThere as %checks, what am I missing here?

Flow has no way of knowing if isCollectValuesThere mutates schema; therefore, the refinement is invalidated. Here's a workaround : Try Flow.
Note that the workaround is for illustration purposes and not necessarily a final solution.

Thanks, I kind of seeing the pattern here. Our checking statement needs to match the flow's desire somehow. right?

Check out https://github.com/jamiebuilds/sarcastic, it is compatible with Flow


Online indicators go to the wrong position when the post is too large

found on:

https://mybearworld.github.io/roarer#/posts/e86350a5-5b43-4abd-bd0e-afc9eeae6c14
test post:

https://mybearworld.github.io/roarer#/posts/a62b0281-c3d4-4a1d-8e2f-392145e1a5e6
on post urls, it goes to the bottom right:

EDIT: It looks like this moves all the online indicators to the same position.

goofy AHHH GREEN DOT DDDDD:


needed mirror sync now api.

there's no api on mirror sync api.
please add this api.
thanks. :)

There is https://github.com/gogits/go-gogs-client/wiki/Repositories#mirror-sync


chore(core): remove change detection hacks

PR Checklist
Please check if your PR fulfills the following requirements:

[ ] The commit message follows Conventional Commits
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Refactoring (no functional changes, no api changes)
[ ] Other... Please describe:

What is the current behavior?

Closes #
What is the new behavior?
Does this PR introduce a breaking change?

[ ] Yes
[ ] No

Other information

Wow that is great!


Patch whisper.load_model to use requests module

whisper.load_model (via whisper._download) downloads the ASR models on startup using urllib.request.openurl which does not pick up the certifi certs added to the PyInstaller bundle. This change patches the load_model function using the requests module to make the HTTP requests instead.

Fixes https://github.com/chidiwilliams/buzz/issues/29


Version 1.17.2 Breaks Theme Colors

VSCode Version:
OS Version:

Steps to Reproduce:

Upgrade to version 1.17.2
Open any source file in any theme.

Reproduces without extensions: Yes/No
Yes
Symptoms:
The first thing I noticed is my theme now had green quoted text where as before it had a different text color.
Update:
Uninstalled 1.17.2, then reinstalled 1.16.1, then uninstalled 1.16.1, and then finally reinstalled 1.17.2 and the color problem went away.

@seltzer1717 good to hear that you were able to solve the problem. I will close the issue since without knowing what has caused this it is very hard to fix.


Make cloudsigma API URL configurable again

Feature Request
What is the problem that this feature solves?
Trying to update the sdk module to the latest version on terraform-provider-cloudsigma, I've found that the API URL is not configurable anymore. See here. This makes at least for me impossible to use the latest version, as in the terraform provider the URL was always configurable.
Are you planning to change this either here making the URL configurable again or removing the URL configuration on terraform side?
Describe the feature
Notes

@mjtrangoni, URL configuration can be done via Location and opts pattern.
It's documented too: https://github.com/cloudsigma/cloudsigma-sdk-go/tree/3ddb23903c9b579ea63ce7f3dc79fd73433e088f?tab=readme-ov-file#authentication
Speaking about Terraform provider: updating SDK was done with this PR: https://github.com/cloudsigma/terraform-provider-cloudsigma/pull/67


feat(atomic): Segmented facets styled partially

Completed the basic styling for the segmented facets.
Count is displayed by default and can be hidden using parts
Created subtasks for the remaining styling to be done.

Segmented facets look like this for now:

https://coveord.atlassian.net/browse/KIT-1667

I haven't seen the mockups, but the numbers look a bit too close to the text imo!


ORT.py now implements a REVALIDATE mode that only updates configuration files relevant to content invalidation.

Which issue is fixed by this PR? If not related to an existing issue, what does this PR do?
ORT.py will now only update files named regex_revalidate.config when in REVALIDATE mode. This is not what traffic_ops_ort.pl does, but it has been expressed that this is what it ought to be doing.
Which TC components are affected by this PR?

[x] Traffic Ops ORT (Python)

What is the best way to verify this PR? Please include manual steps or automated tests.
Start up CDN-in-a-Box and manually docker exec into the edge and mid containers to stop the automatically running ORT job e.g. via kill "$(pidof crond)". Then, create a content invalidation job for the demo1 and verify that manual runs of traffic_ops_ort in REVALIDATE mode only updates the /etc/trafficserver/regex_revalidate.config file. DEBUG logging (-l DEBUG) will probably help.
Check all that apply

[x] This PR includes documentation updates

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/3288/
Test FAILed.

retest this please

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/3291/
Test PASSed.

@traeak is reviewing

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/3416/
Test PASSed.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/3420/
Test FAILed.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/3421/
Test PASSed.


support the recursive array when the item is still a array

I have noticed that the origin outlines doesn't support recursive array type. To be clear, here is a example：
from outlines.text.json_schema import build_regex_from_schema
from pydantic import BaseModel
from typing import List
import json

class ItemModel(BaseModel):
    name:str

class ArrayModel(BaseModel):
    items:List[List[ItemModel]]

test_json = \
{
    "items": [[{"name":"item1"},{"name":"item2"}]],
}

json_schema = ArrayModel.model_json_schema()
print(json.dumps(json_schema,indent=2))

regex = build_regex_from_schema(json.dumps(json_schema))
print(regex)

parsed = ArrayModel.model_validate_json(json.dumps(test_json))
print(parsed)

Run the code above, then we can get the json schema of  ArrayModel , but we will get a error from build_regex_from_schema when we meet the List[List[]] type property.
And now, I have modified the code in outlines and it works. You can check the test_json_schema.py

It is strange that the pytest here seems to fail intest_continuation.py, I have passed the test_continuation.py in my local machine.

@AL-377, this was a great fix/enhancement; much appreciated!  I've added some minor refactoring and it should be ready to merge once everything finishes in CI.

@AL-377, this was a great fix/enhancement; much appreciated! I've added some minor refactoring and it should be ready to merge once everything finishes in CI.

👍👍👍

Thank you for the contribution and sorry for the delay in reviewing. Will get to it soon.

Never mind！


Misc improvements Partitioned solvers package metadata

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (49ad2b0) 87.62% compared to head (e8e1745) 87.59%.
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #136      +/-   ##
==========================================
- Coverage   87.62%   87.59%   -0.03%
==========================================
  Files          10       10
  Lines        4137     4136       -1
==========================================
- Hits         3625     3623       -2
- Misses        512      513       +1

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


fix bug of fmt overflow

fix fmt overflow
test case:
ngx_snprintf(buf, 23, "%u", 1111);

Thank you for contributing to Nginx!
Nginx does not use GitHub for code submissions.
Please visit http://nginx.org/en/docs/contributing_changes.html
and follow the instructions there to submit changes.


monospace font toggle breaks PR UI

If I view a PR's main page with the monospace font toggle userscript enabled, the cog icons on the right hand side for setting projects, labels, milestones, assignees all vanish.  This makes the userscript effectively unusable.

Hi @aspiers!
I can't seem to duplicate this issue. I did have to update the userscript to fix the button title & color (see https://github.com/StylishThemes/GitHub-Dark-Script/commit/474e1eb905495b2160c43203dbed81631385bd05).

Please note that there are two separate monospace font code sources. One is the github-script-monospace-toggle.user.js script, shown above. The second is built into the GitHub Dark script (github-dark-script.user.js).

Yeah, I'm using the standalone userscript not the Dark one.  When I have it installed, those cogs on the right-hand side simply vanish.  When I disable the userscript and reload the page, they come back.  I'm semi-competent with Javascript, however my brain's not functioning 100% right now, so when I stare at the source I can't immediately see what the various functions do and how they combine together.  Maybe if you gave me a few tips and/or a quick overview I could figure out how to debug it myself.

Inside the addBindings function at line 65:

A click on the body checks if the event.target has a "ghd-monospace" class name - it's the toggle button added inside of each comment block.
If clicked, it finds the closest comment wrapper (preview-comment-form) which is applied to both new comments and edited comments.
It then targets the comment-form-textarea and toggles the ghd-monospace-font class name. CSS definitions for that class name are added by the GM_addStyle function.
The target icon then has a "text-blue" class (defined by GitHub's stylesheet) to indicate of the toggle is active, or not.

I probably should change the closest function to the following, since I've found that you don't really need to use a polyfill for matches:
function closest(el, selector) {
  while (el && el.nodeName !== 'BODY' && !el.matches(selector)) {
    el = el.parentNode;
  }
  return el && el.matches(selector) ? el : [];
}

I just updated this script again to use ES6, and the closest function I shared above in https://github.com/StylishThemes/GitHub-Dark-Script/commit/b1220bb2b28169e5356f3741bf32f0c804fb54aa.
Please try it out and see if the same problem persists.

Wow - it's fixed now! Thanks :-D


Concatenate files issue

Good day!
I have been trying to run the single cell tutorial but have had some issues concatenating several datasets. I am able to read successfully the first data set. However, once I want to load the other datasets, there is a problem concatenating the files.

This happens in the first loop to load all the datasets. If I run only one dataset the same error (unsupported operand type(s) for +: 'int' and 'str') showed up when I plot some data quality summary plots:
For instance:
p1 = sc.pl.scatter(adata, 'n_counts', 'n_genes', color='mt_frac') p2 = sc.pl.scatter(adata[adata.obs['n_counts']<10000], 'n_counts', 'n_genes', color='mt_frac')
adata = adata[adata.obs['mt_frac'] < 0.2] print('Number of cells after MT filter: {:d}'.format(adata.n_obs))
sc.pp.filter_cells(adata, min_genes = 700) print('Number of cells after gene filter: {:d}'.format(adata.n_obs))
I am using data generated by 10x V3 and CellRanger v3.0.1. I really do not know where the problem is.
I really appreciate any advice/help to solve this issue.
Thanks in advance

sudo rm  /media/ubuntu/d0b69706-4d42-40a3-b531-382041477d35/home/cns/biosoft/cellranger/cellranger-3.0.2/deng2_count_myself -fr
At 2019-07-27 18:48:50, "Cristian"<EMAIL_ADDRESS>wrote:
Good day!
I have been trying to run the single cell tutorial but have had some issues concatenating several datasets. I am able to read successfully the first data set. However, once I want to load the other datasets, there is a problem concatenating the files.
This happens in the first loop to load all the datasets. If I run only one dataset the same error (unsupported operand type(s) for +: 'int' and 'str') showed up when I plot some data quality summary plots:
For instance:
p1 = sc.pl.scatter(adata, 'n_counts', 'n_genes', color='mt_frac') p2 = sc.pl.scatter(adata[adata.obs['n_counts']<10000], 'n_counts', 'n_genes', color='mt_frac')
adata = adata[adata.obs['mt_frac'] < 0.2] print('Number of cells after MT filter: {:d}'.format(adata.n_obs))
sc.pp.filter_cells(adata, min_genes = 700) print('Number of cells after gene filter: {:d}'.format(adata.n_obs))
I am using data generated by 10x V3 and CellRanger v3.0.1. I really do not know where the problem is.
I really appreciate any advice/help to solve this issue.
Thanks in advance
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

I see that you have a column in adata.var called '2'. Is that in each of your dataset files? You may need to rename that column to a non-integer name before concatenating.

Indeed, that was the issue! Thanks for your reply and suggestion.


Scale down shouldn't depend on VM index

What this PR does / why we need it:
When upgrading a cluster, there can be gaps in the index in the VM names (e.g. there are 3 VMs with names k8s-agentpool1-00000000-0, k8s-agentpool1-00000000-1, k8s-agentpool1-00000000-3 but none ending in 2). This is a problem when scaling down a cluster with the acs-engine scale command because the index in the name is used for iterating over the VMs so there might be an attempt to drain a node with no name and the scale operation will fail. The index isn't needed for iterating over the VMs so they can be stored in a slice instead.
Which issue this PR fixes: fixes #2362
Special notes for your reviewer:
I want to know that I'm not breaking anything, though I've been using this change for a while without problems. This seems like a simple fix so I feel like I'm missing something.
If applicable:

[ ] documentation
[x] unit tests
[ ] tested backward compatibility (ie. deploy with previous version, upgrade with this branch)

Release note:

/lgtm, testing scale against this PR, thanks @shanalily!

Scale tests succeeded

@JackQuincy thanks for the feedback, agree that int sort is preferable to reduce the number of confused humans.
We have a long-term intention of doing just what you say, which is to define our own criteria for sorting nodes by "most appropriate for cordon/drain), and then enforce it for both scale and upgrade.

That makes sense, I'll fix it to the delete highest index first (I'll try to get to that today, if not then this weekend).

/lgtm


Source?

Hi, any plans to publish the source?

Hi Tony,
Thanks for your attention to our research work! The code is expected to be released by July 7th. Once the code base is uploaded, I will close this issue so that you'll receive a notification.
Recently, besides my internship, I got busy with proceedings, registration, slides, and a poster (with the GitHub link, so we have to finish this repo before the conference next month).  For this project, I'm working to create a well-documented easy-to-use benchmark repo for set retrieval, which requires much revision and clean-up of the code we submitted.
Best regards,
Zihao

Closing this issue as the first version of source is published. We warmly welcome suggestions/contributions from the community.


⚠ ETF has degraded performance

In 51c583f, ETF (https://markets.hankyung.com/equity-product/etf) experienced degraded performance:

HTTP code: 200
Response time: 6803 ms

Resolved: ETF performance has improved in 37a5e0a.


Add HTTP referer options - only for same domain

Hello,
it would be great to get more control over the HTTP referer. The referer is enabled per default and readable by every website, which is a privacy issue. Disabling the referer completely via "--no-referrers" is no option, since it breaks website functionality.
The best way to handle the HTTP referer would be a new entry for chrome://flags, with an identical function to the implementation of Firefox: https://wiki.mozilla.org/Security/Referrer
Firefox implementation
network.http.referer.XOriginPolicy
controls whether or not to send a referrer across origins values:
0 = (default) send the referrer in all cases
1 = send a referrer only when the base domains are the same
2 = send a referrer only on same-origin
Options 1 and 2 would add a valuable addition to privacy. 0 is already the default.

I had a similar request, it‘s fixed now:
https://github.com/Eloston/ungoogled-chromium/issues/1117
https://github.com/Eloston/ungoogled-chromium/commit/103669ffdb9467bc9456e7fb36604534982d6d62


[Storage][DataLake] Look into finding a way to auto-gen the Blob models -> DataLake models transformations

https://github.com/Azure/azure-sdk-for-net/pull/8235

Hi @seanmcc-msft, we deeply appreciate your input into this project. Regrettably, this issue has remained inactive for over 2 years, leading us to the decision to close it. We've implemented this policy to maintain the relevance of our issue queue and facilitate easier navigation for new contributors. If you still believe this topic requires attention, please feel free to create a new issue, referencing this one. Thank you for your understanding and ongoing support.


(maint) Merge 6.x to main

jenkins please test this on all

There's only some forge failures so I think we're good to merge:
Failed to resolve forge host 'api-forge-aio02-petest.puppet.com'


kicking someone who isn't in a groupchat breaks the groupchat

Pretty sure I've seen this happen twice now.

Going to need some more detail.


Create a more structured pyproject.toml object

This change is a step towards making interactions with pyproject.toml
files more structured and standardised.
Resolves: python-poetry/poetry#2851

[x] Added tests for changed code.

@stephsamson this should be ready again.