Upgrade VCR to latest and Webmock to latest

This is necessary groundwork for tackling #304
Builds on #303 so merge that first.

Coverage increased (+0.06%) to 96.446% when pulling ba1018e6239fe1b5cab5746699acf2cb232e8bb4 on samphilipd:upgrade_webmock_and_vcr_v2 into fb31976794c2ca87af767d626c7b8edeafeca704 on piotrmurach:master.

Coverage increased (+0.06%) to 96.446% when pulling 61ba1a6c689b69b967aed5c43a5cb16f01c471fe on samphilipd:upgrade_webmock_and_vcr_v2 into fb31976794c2ca87af767d626c7b8edeafeca704 on piotrmurach:master.

Coverage increased (+0.06%) to 96.446% when pulling 61ba1a6c689b69b967aed5c43a5cb16f01c471fe on samphilipd:upgrade_webmock_and_vcr_v2 into fb31976794c2ca87af767d626c7b8edeafeca704 on piotrmurach:master.

Coverage increased (+0.06%) to 96.446% when pulling 61ba1a6c689b69b967aed5c43a5cb16f01c471fe on samphilipd:upgrade_webmock_and_vcr_v2 into fb31976794c2ca87af767d626c7b8edeafeca704 on piotrmurach:master.

Coverage increased (+0.06%) to 96.446% when pulling 61ba1a6c689b69b967aed5c43a5cb16f01c471fe on samphilipd:upgrade_webmock_and_vcr_v2 into fb31976794c2ca87af767d626c7b8edeafeca704 on piotrmurach:master.

Coverage increased (+0.06%) to 96.446% when pulling 61ba1a6c689b69b967aed5c43a5cb16f01c471fe on samphilipd:upgrade_webmock_and_vcr_v2 into fb31976794c2ca87af767d626c7b8edeafeca704 on piotrmurach:master.

Coverage increased (+0.06%) to 96.446% when pulling 61ba1a6c689b69b967aed5c43a5cb16f01c471fe on samphilipd:upgrade_webmock_and_vcr_v2 into fb31976794c2ca87af767d626c7b8edeafeca704 on piotrmurach:master.

Coverage increased (+0.06%) to 96.446% when pulling 61ba1a6c689b69b967aed5c43a5cb16f01c471fe on samphilipd:upgrade_webmock_and_vcr_v2 into fb31976794c2ca87af767d626c7b8edeafeca704 on piotrmurach:master.

Coverage increased (+0.06%) to 96.446% when pulling 61ba1a6c689b69b967aed5c43a5cb16f01c471fe on samphilipd:upgrade_webmock_and_vcr_v2 into fb31976794c2ca87af767d626c7b8edeafeca704 on piotrmurach:master.

Coverage increased (+0.06%) to 96.446% when pulling 40caae2190a448de5fdd94455661c217b5740827 on samphilipd:upgrade_webmock_and_vcr_v2 into fb31976794c2ca87af767d626c7b8edeafeca704 on piotrmurach:master.

Coverage increased (+0.06%) to 96.446% when pulling 40caae2190a448de5fdd94455661c217b5740827 on samphilipd:upgrade_webmock_and_vcr_v2 into fb31976794c2ca87af767d626c7b8edeafeca704 on piotrmurach:master.

Coverage increased (+0.06%) to 96.446% when pulling 40caae2190a448de5fdd94455661c217b5740827 on samphilipd:upgrade_webmock_and_vcr_v2 into fb31976794c2ca87af767d626c7b8edeafeca704 on piotrmurach:master.

I have manually merged this changes due to me messing around with dependencies setup and rerecording some of the feature tests. Do you want me to release a new version with the projects api or do you have time to look into cards and columns apis as well?

@piotrmurach I can implement both of those this week.

That would be sweet! The only thing I would add is that the smaller the PRs the better, it's much easier to review and merge.
It should be much smoother to progress now the testing dependencies have been upgraded 😄  I really want to upgrade to rspec3 and there is a tool that i've been using to slowly convert old specs to new syntax - transpec. If you fancy moving some specs from spec/client over to unit/client folder for now that would be great.

@piotrmurach yes I agree about PR size. Now that the tests are sorted it should be pretty straightforward.
I'll see what I can do about the specs.

@piotrmurach I'd like to use projects to track my progress on the following tasks:
reactions
issues.timeline
migration
orgs.outside_collaborators
orgs.blocking
pull_requests.review_requests
users.gpg_keys
users.blocking
repos.invitations
repos.traffic
repos.community
Any chance you could grant me permissions to create one?


Auto-regressive inference for large N

In SSMKernelDPLR._setup_linear and SSMKernelDPLR._step_state_linear, it is documented that:
"Version of the step function that has time O(N) instead of O(N^2) per step, which takes advantage of the DPLR form and bilinear discretization."
Is there any reference, in the series of wonderful S4 papers, for the inference formulas used in this implementation?
Given that it is currently about 2x slower,  what's the future plan for this segment of the code?

It's in the S4 paper Section C.2 (page 21)


gobustter tool installation error

sudo apt install gobuster
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
libcodec2-1.1 libgphoto2-l10n libjxl0.7 libplacebo292 libregexp-assemble-perl libtexluajit2 libutf8proc2
Use 'sudo apt autoremove' to remove them.
Suggested packages:
cupp
The following NEW packages will be installed:
gobuster
0 upgraded, 1 newly installed, 0 to remove and 205 not upgraded.
Need to get 2,591 kB of archives.
After this operation, 8,407 kB of additional disk space will be used.

Not to do with this repo, it says it can’t connect to kail.org, I recommend using the new fsociety tool, this repo is EOL


Publish integration & default test artifacts

Add this step to the core project only giving other projects access to the EventLogSpec and friends.

LGTM, thanks @dispalt for the PR and sorry for the late reply. Please sign the CLA so that I can merge your work.

Your changes meanwhile conflict with master, after a change merged yesterday. please rebase and resolve the conflicts.

Please note that merging this to master does not mean that the test classes become part of the public API. They may change even without being mentioned in the release notes. A public test API for event logs will come with #96.


Add context for Nouns AuctionHouse & DaoLogic and NounsBuilder Auctions & Governor

~Adds context for Nouns AuctionHouse and NounsBuilder Auctions.~
UPDATE:
Adds context for Nouns AuctionHouse and DaoLogic, and NounsBuilder Auction and Governor.
Nouns and NounsBuilder use slightly different ABIs so I split them up into two separate implementations instead of making one hard to read implementation that accounts for both cases. The nouns detect functions check for hardcoded tx.to-addresses since there is only one nouns deployment and the addresses are known, and the NounsBuilder detect functions check that the address is NOT the main nouns address and then checks if it is an abi match.
There is no good way as far as I can tell to get the NFT contract address from a NounsBuilder Auction-contract createBid transaction log, so I added a mapping between known NounsBuilder DAOs in constants to be able to resolve the ERC721-asset and as a fallback it defaults to tokenId #xyz without linking to the right ERC721. What do you think about this approach?

FYI the reason for the build failure is that we added stricter typescript rules about trying to access keys of undefined in this PR https://github.com/Once-Upon/context/pull/146
@ponyjackal or I can make the necessary fixes, since at the time of opening this PR that wasn't a requirement yet.

@datadanne @ponyjackal I fixed the undefined typescript errors in this PR against this branch https://github.com/Once-Upon/context/pull/173

@datadanne Note: There are two remaining test failures blocking a merge of this PR, over in this PR. https://github.com/Once-Upon/context/pull/173

@datadanne There are two remaining test failures blocking a merge of this PR, over in this PR.

Those failures were caused by a bug introduced in 3c0e508, I fixed that and merged your PR into this branch. Ty for to help with updating to handle the stricter undefined-checks!


Release 12-02-20

@Alonski unless you have objections, we should probably close this PR based on today's standup discussion

@kerzhner I'll watch the recording tomorrow to catch up. Thanks!

@alonski TLDR deploy got updated to a recent commit on master so should include the changes you wanted now.

Great! Thanks @geoknee for the update


Vulnerability: Listens on host <IP_ADDRESS> by default (but logs "localhost" to stdout)

Describe the bug

Listens on host <IP_ADDRESS> (public) by default
Still logs "JSON Server running at http://localhost:8080/"

To Reproduce
Steps to reproduce the behavior:

npm install mock-json-server
Create api.json
mock-json-server ./api.json --port 8080

Expected behavior

Listen only on localhost/<IP_ADDRESS> by default
Log bound host depending argument passed to app.listen(...)

Desktop:

OS: Windows 10
NodeJS 10.15.0
Version 1.3.2

Additional context
Uses
server = app.listen(port, function() {
    callback();
});

in src/server/index.js to start server, however NodeJS uses host <IP_ADDRESS> as default (not <IP_ADDRESS>), see https://nodejs.org/api/net.html#net_server_listen_port_host_backlog_callback

@s-lukas should be fixed in version 1.3.3. You can specify a different host by adding -p <host> to your command


iotedge-cli and iotedge-daemon are preventing from build offline, throwing unable to update error

Build Configuration:
BB_VERSION           = "1.44.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "ubuntu-18.04"
TARGET_SYS           = "aarch64-poky-linux"
MACHINE              = "iot-gate-imx8"
DISTRO               = "fsl-imx-xwayland"
DISTRO_VERSION       = "5.4-zeus"
TUNE_FEATURES        = "aarch64"
TARGET_FPU           = ""
meta
meta-poky            = "HEAD:cba967414370e195d109353e51510bd829aa86c3"
meta-oe
meta-multimedia
meta-python          = "HEAD:9e60d30669a2ad0598e9abf0cd15ee06b523986b"
meta-freescale       = "HEAD:c2a0d924f6200eea1fb1d1b61e7420ea5da2f8fb"
meta-freescale-3rdparty = "HEAD:dbcc686f52c3c84db8cb86aa8973a4e373651b98"
meta-freescale-distro = "HEAD:ca27d12e4964d1336e662bcc60184bbff526c857"
meta-bsp
meta-sdk
meta-ml              = "HEAD:c4fe39a37226029044c4a0c2d01b1cb77a9b8d8e"
meta-browser         = "HEAD:5f365ef0f842ba4651efe88787cf9c63bc8b6cb3"
meta-rust            = "HEAD:a012a1027defe28495f06ed522a7a82bdd59a610"
meta-gnome
meta-networking
meta-filesystems     = "HEAD:9e60d30669a2ad0598e9abf0cd15ee06b523986b"
meta-qt5             = "HEAD:b8bcf8cb576d072f435a0177375e54424f67d1c9"
meta-python2         = "HEAD:231c3d74cfcf734c3415e86ea8dd97f73ddced9d"
meta-compulab        = "HEAD:f5f8a2198e2bf037e1999653b9149c0622c9a0ec"
meta-desktop
meta-multimedia
meta-graphics
meta-bsp
meta-utils           = "HEAD:01015e56471b1eac23f9024d8a1225e0be54972d"
meta-bsp-imx8mm      = "HEAD:a78ec1549432bef31eb2ceeb03f7cb4c03891434"
meta-virtualization  = "zeus:7e5219669ff6f8e9c8c33ffd230e95a6b2b025f4"
meta-iotedge         = "zeus:9e2b459177f163aaeeb95d2e3fd3dc6ccfb9da44"
Initialising tasks: 100% |###################################################################################################################################################################| Time: 0:00:02
Sstate summary: Wanted 292 Found 273 Missed 19 Current 1620 (93% match, 99% complete)
NOTE: Executing Tasks
NOTE: Setscene tasks completed
WARNING: linux-firmware-1_20190815-r0 do_fetch: Failed to fetch URL git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git, attempting MIRRORS if available
ERROR: iotedge-cli-1.1.4-r0 do_compile: Execution of '/home/manasa/build-cmdline/tmp/work/aarch64-poky-linux/iotedge-cli/1.1.4-r0/temp/run.do_compile.6658' failed with exit code 101:
warning: unused key term.progress in config file /home/manasa/build-cmdline/tmp/work/aarch64-poky-linux/iotedge-cli/1.1.4-r0/cargo_home/config
Updating git repository https://github.com/Azure/hyperlocal-windows
error: failed to load source for a dependency on hyperlocal-windows
Caused by:
Unable to update https://github.com/Azure/hyperlocal-windows#2bd432bb
Caused by:
failed to fetch into /home/manasa/build-cmdline/tmp/work/aarch64-poky-linux/iotedge-cli/1.1.4-r0/cargo_home/git/db/hyperlocal-windows-23da91d031a39873
Caused by:
invalid version 3 on git_proxy_options; class=Invalid (3)
WARNING: exit code 101 from a shell command.
ERROR: Logfile of failure stored in: /home/manasa/build-cmdline/tmp/work/aarch64-poky-linux/iotedge-cli/1.1.4-r0/temp/log.do_compile.6658
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: cargo = /home/manasa/build-cmdline/tmp/work/aarch64-poky-linux/iotedge-cli/1.1.4-r0/recipe-sysroot-native/usr/bin/cargo
| NOTE: rustc =
| NOTE: cargo build -v --target aarch64-poky-linux --release
| warning: unused key term.progress in config file /home/manasa/build-cmdline/tmp/work/aarch64-poky-linux/iotedge-cli/1.1.4-r0/cargo_home/config
|     Updating git repository https://github.com/Azure/hyperlocal-windows
| error: failed to load source for a dependency on hyperlocal-windows
|
| Caused by:
|   Unable to update https://github.com/Azure/hyperlocal-windows#2bd432bb
|
| Caused by:
|   failed to fetch into /home/manasa/build-cmdline/tmp/work/aarch64-poky-linux/iotedge-cli/1.1.4-r0/cargo_home/git/db/hyperlocal-windows-23da91d031a39873
|
| Caused by:
|   invalid version 3 on git_proxy_options; class=Invalid (3)
| WARNING: exit code 101 from a shell command.
| ERROR: Execution of '/home/manasa/build-cmdline/tmp/work/aarch64-poky-linux/iotedge-cli/1.1.4-r0/temp/run.do_compile.6658' failed with exit code 101:
| warning: unused key term.progress in config file /home/manasa/build-cmdline/tmp/work/aarch64-poky-linux/iotedge-cli/1.1.4-r0/cargo_home/config
|     Updating git repository https://github.com/Azure/hyperlocal-windows
| error: failed to load source for a dependency on hyperlocal-windows
|
| Caused by:
|   Unable to update https://github.com/Azure/hyperlocal-windows#2bd432bb
|
| Caused by:
|   failed to fetch into /home/manasa/build-cmdline/tmp/work/aarch64-poky-linux/iotedge-cli/1.1.4-r0/cargo_home/git/db/hyperlocal-windows-23da91d031a39873
|
| Caused by:
|   invalid version 3 on git_proxy_options; class=Invalid (3)
| WARNING: exit code 101 from a shell command.
|
ERROR: Task (/home/manasa/sources/meta-iotedge/recipes-core/iotedge-cli/iotedge-cli_1.1.4.bb:do_compile) failed with exit code '1'
ERROR: iotedge-daemon-1.1.4-r0 do_compile: Execution of '/home/manasa/build-cmdline/tmp/work/aarch64-poky-linux/iotedge-daemon/1.1.4-r0/temp/run.do_compile.6661' failed with exit code 101:
warning: unused key term.progress in config file /home/manasa/build-cmdline/tmp/work/aarch64-poky-linux/iotedge-daemon/1.1.4-r0/cargo_home/config
Updating git repository https://github.com/Azure/hyperlocal-windows
error: failed to load source for a dependency on hyperlocal-windows
Caused by:
Unable to update https://github.com/Azure/hyperlocal-windows#2bd432bb
Caused by:
failed to fetch into /home/manasa/build-cmdline/tmp/work/aarch64-poky-linux/iotedge-daemon/1.1.4-r0/cargo_home/git/db/hyperlocal-windows-23da91d031a39873
Caused by:
invalid version 3 on git_proxy_options; class=Invalid (3)
WARNING: exit code 101 from a shell command.
ERROR: Logfile of failure stored in: /home/manasa/build-cmdline/tmp/work/aarch64-poky-linux/iotedge-daemon/1.1.4-r0/temp/log.do_compile.6661
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: cargo = /home/manasa/build-cmdline/tmp/work/aarch64-poky-linux/iotedge-daemon/1.1.4-r0/recipe-sysroot-native/usr/bin/cargo
| NOTE: rustc =
| NOTE: cargo build -v --target aarch64-poky-linux --release
| warning: unused key term.progress in config file /home/manasa/build-cmdline/tmp/work/aarch64-poky-linux/iotedge-daemon/1.1.4-r0/cargo_home/config
|     Updating git repository https://github.com/Azure/hyperlocal-windows
| error: failed to load source for a dependency on hyperlocal-windows
|
| Caused by:
|   Unable to update https://github.com/Azure/hyperlocal-windows#2bd432bb
|
| Caused by:
|   failed to fetch into /home/manasa/build-cmdline/tmp/work/aarch64-poky-linux/iotedge-daemon/1.1.4-r0/cargo_home/git/db/hyperlocal-windows-23da91d031a39873
|
| Caused by:
|   invalid version 3 on git_proxy_options; class=Invalid (3)
| WARNING: exit code 101 from a shell command.
| ERROR: Execution of '/home/manasa/build-cmdline/tmp/work/aarch64-poky-linux/iotedge-daemon/1.1.4-r0/temp/run.do_compile.6661' failed with exit code 101:
| warning: unused key term.progress in config file /home/manasa/build-cmdline/tmp/work/aarch64-poky-linux/iotedge-daemon/1.1.4-r0/cargo_home/config
|     Updating git repository https://github.com/Azure/hyperlocal-windows
| error: failed to load source for a dependency on hyperlocal-windows
|
| Caused by:
|   Unable to update https://github.com/Azure/hyperlocal-windows#2bd432bb
|
| Caused by:
|   failed to fetch into /home/manasa/build-cmdline/tmp/work/aarch64-poky-linux/iotedge-daemon/1.1.4-r0/cargo_home/git/db/hyperlocal-windows-23da91d031a39873
|
| Caused by:
|   invalid version 3 on git_proxy_options; class=Invalid (3)
| WARNING: exit code 101 from a shell command.
|
ERROR: Task (/home/manasa/sources/meta-iotedge/recipes-core/iotedge-daemon/iotedge-daemon_1.1.4.bb:do_compile) failed with exit code '1'

The latest recipes for 1.4 are in the Dunfell branch.  Starting with v1.2 IoT Edge does not directly target Windows and therefore doesn't reference those failing repositories in the latest recipes.  Closing this issue.  Please open a new one if an issue exists with the 1.4 recipes.


GOPATH not set in Zsh

Installed version 1.23.3 via Homebrew on Mac OS X 10.14.6
After following installation instructions (adding goenv init etc to .zshrc) and restarting shell, $GOPATH is empty.

Also, Homebrew-based goenv is significantly behind the current Golang version.

Ah, it seems I may have misunderstood how goenv controls GOPATH.


[Feature Request] Ability to view thumbnail of Image files

Hello. Some people may need this feature for exploring pictures or images using this tool.

Yes, that definitely could be a great feature.
The problem is that in order to display an image, it needs to be transferred first to the PC.
I also can't get the image in a smaller resolution to speed up the process.
So in order to display thumbnails for every picture in a folder - all of the pictures in that folder will need to be pulled to the PC, at which point you will be able to view all of them in the File Explorer anyway.
The only thing I see value in adding is displaying an image that you selected. This image still needs to be pulled to the PC, but this way you can select images one after the other, while keeping the data transfers to a minimum.

Yeah, I understand now. Sorry for interrupting.


Fix #canScroll when image.width < view.width

This fixes a bug in the #canScroll method where it always returns true (instead of false), when the width of the bitmap is smaller than the width of the ImageViewTouch.
It can be reproduced by creating a ViewPager containing a ImageViewTouch and loading an image that is smaller than the resulting width of the ImageViewTouch.
Here is an example (not mine): https://gist.github.com/atermenji/3781644

This is a workaround I'm using in my app: https://github.com/tjg1/nori/blob/573c63006362ea1c310ade93e2752724efced22c/app/src/main/java/com/cuddlesoft/nori/fragment/PicassoImageFragment.java#L58


ASP.Net Development

Hopefully I don't get slapped for this...
But does anyone have a sample web project using the .NET SDK? Be it C# or VB? MVC or forms even?
The learning curve for me transitioning from Objective-C and VB6 to an ASP.NET development is a tiny bit steeper than I anticipated - the syntax for passing ParseObjects around in a MVC environment is ... well... probably simple to most but a bit of a mystery to folks like me. ;P

Refer to this guide for any .NET development.
http://docs.parseplatform.org/dotnet/guide/
Here you can download starter projects for mobile but should be similar to other applications:
https://github.com/parse-community/Parse-SDK-dotNET/releases/tag/1.7.0

Sorry - that's not helpful at all.
async with web forms and MVC seems to be pretty tricky.
That along with the built in authentication that is included with the templates is making it less straightforward.
The link you provided - has practically no code - nothing ASP related - and not even for parse server (they are for the old parse.com).

You right, it's not straight forward and lots of learning curve. I would suggest Google "parse .net mvc async" and you will see lots of snippets.
but here's a MVC snippet that is an async (go to the suggested answer):
http://stackoverflow.com/questions/27408452/awaiting-query-findasync-from-parse-doesnt-work

Unfortunately we don't have any examples at this time for you. If you looking for help getting started I would recommend you search for or drop some questions over at stackoverflow and see if you can find some reliable resources to start with.


transcript length

This query currently does not seem to be working. I can't specify a maximum lenght.

transcript length

Do you mean RNA length?  That's working for me:

ignore I was using the exon query. Too tired...


[Cherry-pick][branch-3.1] support refresh iceberg mv by partition

Fixes #issue
What type of PR is this:

[ ] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Does this PR entail a change in behavior?

[x] Yes, this PR will result in a change in behavior.
[ ] No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

[ ] Interface/UI changes: syntax, type conversion, expression evaluation, display information
[ ] Parameter changes: default values, similar parameters but with different default values
[ ] Policy changes: use new policy to replace old one, functionality automatically enabled
[ ] Feature removed
[ ] Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[ ] I have checked the version labels which the pr will be auto-backported to the target branch

[ ] 3.2
[ ] 3.1
[ ] 3.0
[ ] 2.5

[BE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)

[FE Incremental Coverage Report]
:disappointed: fail : 33 / 132 (25.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/connector/iceberg/IcebergPartitionUtils.java
0
57
00.00%
[37, 38, 44, 45, 46, 47, 48, 52, 53, 55, 56, 58, 59, 60, 65, 70, 71, 72, 76, 77, 78, 79, 80, 81, 82, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 119]

:large_blue_circle:
com/starrocks/catalog/MaterializedView.java
2
27
07.41%
[714, 715, 716, 717, 719, 720, 721, 723, 724, 725, 726, 727, 730, 731, 732, 734, 736, 737, 740, 741, 742, 743, 746, 747, 756]

:large_blue_circle:
com/starrocks/catalog/IcebergTable.java
1
4
25.00%
[209, 213, 214]

:large_blue_circle:
com/starrocks/scheduler/PartitionBasedMvRefreshProcessor.java
16
30
53.33%
[1517, 1518, 1519, 1520, 1521, 1522, 1524, 1528, 1529, 1530, 1531, 1533, 1534, 1535]

:large_blue_circle:
com/starrocks/sql/common/SyncPartitionUtils.java
13
13
100.00%
[]

:large_blue_circle:
com/starrocks/connector/PartitionUtil.java
1
1
100.00%
[]


Material UI doesn't seem to work with Parcel

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

Expected Behavior

Material UI should work when using Parcel
Current Behavior

/Users/abilash/wildwest/react-dump/parcel/node_modules/recompose/wrapDisplayName.js:3:37: Cannot resolve dependency '@babel/runtime/helpers/builtin/interopRequireDefault'
  1 | "use strict";
  2 |
 >3 | var _interopRequireDefault = require("@babel/runtime/helpers/builtin/interopRequireDefault");
    |                                      ^
  4 |
  5 | Object.defineProperty(exports, "__esModule", {
  6 |   value: true

Steps to Reproduce

Link:

Following the same steps described in the sample parcel example given here: https://github.com/mui-org/material-ui/tree/master/examples/parcel

Context

I'm trying to use Material UI with Parcel and Babel
This is my .babelrc file:
{
  "presets": ["env", "react"],
  "plugins": ["transform-class-properties"]
}

Your Environment

Tech
Version

@material-ui/core
v1.4.3

react and react-dom
v16.4.2

parcel-bundler
v1.9.7

babel-preset-env
1.7.0

babel-preset-react
6.24.1

Browser
Firefox

This might be related to https://github.com/mui-org/material-ui/issues/12408
You could try installing<EMAIL_ADDRESS>and see if that helps?

The error is coming from the recompose codebase. I doubt it's something wrong we do. It's most likely a parcel issue given it's working with the other bundlers. No?

Do you want to open an issue on Parcel side?

Do you want to open an issue on Parcel side?

^ I have opened up an issue in the Parcel repo

It's most likely a parcel issue given it's working with the other bundlers. What do you think?

Yup sorry about that I was unsure where to file the issue.

Interestingly I got a similar error completely unrelated to parcel:
  "@babel/runtime/helpers/builtin/interopRequireDefault" in<EMAIL_ADDRESS>(web.cordova)

May it be possible that this is related to the changes in the last babel release beta.56 https://github.com/babel/babel/releases/tag/v7.0.0-beta.56?

This is not a Parcel issue. This is directly tied to the changes in the recompose package.
https://github.com/acdlite/recompose/issues/723
They're blaming it on a change with babel. A workaround Material-UI can take is to downgrade their dependent use on recompose to 0.27.

I'd rather we wait for the (apparently imminent) downstream fix.


Single Sign ON while on multiple tab contains login screen

[ ] I read and understood how to enable logging

Issue / Steps to reproduce the problem
@brockallen  I opened Gmail in multiple tab and tried to logout, after that every screen redirects me to login screen which prompt me to enter password to login again. I gave password in one tab, rest of the tabs redirects to the Gmail instead of User Credential. How could I implement the same in Identity Server.
Login to any of the configured application, and duplicate the URL in multiple tabs and logout in one tab immediately rest of the tabs redirects to the login (I configured the application to go to the Login once logout happened). Now all the tabs seeking user credential to login.
If I logged-in one tab automatically rest of the tabs need to redirect to the appropriate application based on that logged-in user.

Note: In the default login view we don't have any iFrame to get update of session status.

Kindly assist me.

Check the OpenID Connect session management spec.
This seems to be a general question about IdentityServer - not a bug report or an issue.
Please use one of the our free or commercial support options
See here for more details.
Thanks!

Thanks for your immediate reply. I tried your sample application, I go through-ed most of the sites. But I failed to find the solution. If we are in Login screen, all the tabs not logging in to site only the respective tab redirects after the successful login.


ResolvePackageNotFound on Windows

As I read, all these not found packages should go under pip section with different formatting, it is some kind of a bug, I understand (https://github.com/datitran/object_detector_app/issues/41). This would be very time consuming to rename and reformat all these packages manually. Is there a way to make a requirements file for all platforms?
conda env create -f environment.yml
Collecting package metadata (repodata.json): done
Solving environment: failed
ResolvePackageNotFound:

setuptools==52.0.0=py37h06a4308_0
cudatoolkit==11.0.221=h6bb024c_0
nbconvert==6.1.0=py37h89c1867_0
zeromq==4.3.4=h2531618_0
jpeg==9b=h024ee3a_2
jupyter_core==4.7.1=py37h89c1867_0
mistune==0.8.4=py37h4abf009_1002
lz4-c==1.9.3=h2531618_0
libprotobuf==<IP_ADDRESS>=h8b12597_0
readline==8.1=h27cfd23_0
argon2-cffi==20.1.0=py37h4abf009_2
libpng==1.6.37=hbc83047_0
jedi==0.18.0=py37h89c1867_2
libstdcxx-ng==9.1.0=hdf63c60_0
yaml==0.2.5=h516909a_0
numpy==1.20.2=py37h2d18471_0
cryptography==3.1.1=py37h1ba5d50_0
jupyter_nbextensions_configurator==0.4.1=py37h89c1867_2
libuv==1.40.0=h7b6447c_0
brotlipy==0.7.0=py37h7b6447c_1000
zstd==1.4.9=haebb681_0
libsodium==1.0.18=h36c2ea0_1
freetype==2.10.4=h5ab3b9f_0
sqlite==3.35.4=hdfb4753_0
intel-openmp==2021.2.0=h06a4308_610
zlib==1.2.11=h7b6447c_3
mkl==2021.2.0=h06a4308_296
tk==8.6.10=hbc83047_0
python==3.7.10=hdb3f193_0
ipython==7.26.0=py37h6531663_0
ca-certificates==2021.10.8=ha878542_0
watchdog==0.10.4=py37h89c1867_0
pytorch==1.7.1=py3.7_cuda11.0.221_cudnn8.0.5_0
libtiff==4.1.0=h2733197_1
ninja==1.10.2=hff7bd54_1
mpi4py==3.0.3=py37hd955b32_1
lcms2==2.12=h3be6417_0
matplotlib-base==3.3.1=py37h817c723_0
pandas==1.1.3=py37he6710b0_0
libgfortran4==7.5.0=ha8ba4b0_17
pandoc==2.14.1=h7f98852_0
mkl-service==2.3.0=py37h27cfd23_1
libgcc-ng==9.1.0=hdf63c60_0
xz==5.2.5=h7b6447c_0
shortuuid==1.0.1=py37h89c1867_4
pip==21.1.2=py37h06a4308_0
ld_impl_linux-64==2.33.1=h53a641e_7
mkl_random==1.2.1=py37ha9443f7_2
pyyaml==5.3.1=py37hb5d75c8_1
lxml==4.6.3=py37h9120a33_0
openmpi==4.0.2=hb1b8bf9_1
cffi==1.14.3=py37he30daa8_0
libgfortran-ng==7.5.0=ha8ba4b0_17
libxml2==2.9.10=hb55368b_3
certifi==2021.10.8=py37h89c1867_1
numpy-base==1.20.2=py37hfae3a4d_0
ncurses==6.2=he6710b0_1
openssl==1.1.1n=h7f8727e_0
promise==2.3=py37h89c1867_4
tornado==6.1=py37h4abf009_0
pillow==8.2.0=py37he98fc37_0
jupyter_highlight_selected_word==0.2.0=py37h89c1867_1002
libxslt==1.1.34=hc22bd24_0
kiwisolver==1.3.1=py37hc928c03_0
libffi==3.3=he6710b0_2
icu==58.2=hf484d3e_1000
mkl_fft==1.3.0=py37h42c9631_2

I added a minimal environment, you can give it a try again

Ok, thanks!
This time the environment installs with no problem, but the next problem was AssertionError: Torch not compiled with CUDA enabled. Solved it by  conda install pytorch torchvision torchaudio cudatoolkit=11.3 -c pytorch . Remember spending hours and getting the same problem when trying to install Stylegan and ProjectedGAN, so this time solved the problem in minutes. Would be nice if the proper version would be installed straight out of environment file.
Finally, tried to run python train.py --outdir=I:/Out --cfg=stylegan3-t --data=I:/data256.zip --gpus 1 --batch=4 --mirror=1 --snap 10 --kimg 10000 --stem --syn_layers 10 --metrics=none
The process stuck at Setting up PyTorch plugin "filtered_lrelu_plugin"... Maybe I was not patient enough, but waited for more than 5 minutes seemed for me reasonable amount of time to conclude something is wrong.
Finally, I just ran Stylegan XL from ProjectedGAN env I used for many months. It asked for several additional modules to install, and at least now I am at:
Setting up augmentation...
Distributing across 1 GPUs...
Setting up training phases...
Exporting sample images...
Initializing logs...
Skipping tfevents export: No module named 'tensorboard'
Training for 10000 kimg...
Setting up PyTorch plugin "upfirdn2d_plugin"... Done.
tick 0     kimg 0.0      time 2m 08s       sec/tick 12.8    sec/kimg 3199.28 maintenance 115.1  cpumem 4.98   gpumem 6.60   reserved 8.08   augment 0.000

great that it works for you now :) it's always tricky to make environments work everywhere. I'll leave the environment as is now and close this issue, but I'll refer to it in the README for Windows users.

Windows still gave me an issue with 'cudatoolkit=11.1', but adding 'conda-forge' to the channels in environment.yml solves it.

Ok, thanks! This time the environment installs with no problem, but the next problem was AssertionError: Torch not compiled with CUDA enabled. Solved it by conda install pytorch torchvision torchaudio cudatoolkit=11.3 -c pytorch . Remember spending hours and getting the same problem when trying to install Stylegan and ProjectedGAN, so this time solved the problem in minutes. Would be nice if the proper version would be installed straight out of environment file. Finally, tried to run python train.py --outdir=I:/Out --cfg=stylegan3-t --data=I:/data256.zip --gpus 1 --batch=4 --mirror=1 --snap 10 --kimg 10000 --stem --syn_layers 10 --metrics=none The process stuck at Setting up PyTorch plugin "filtered_lrelu_plugin"... Maybe I was not patient enough, but waited for more than 5 minutes seemed for me reasonable amount of time to conclude something is wrong.
Finally, I just ran Stylegan XL from ProjectedGAN env I used for many months. It asked for several additional modules to install, and at least now I am at:
Setting up augmentation... Distributing across 1 GPUs... Setting up training phases... Exporting sample images... Initializing logs... Skipping tfevents export: No module named 'tensorboard' Training for 10000 kimg...
Setting up PyTorch plugin "upfirdn2d_plugin"... Done. tick 0 kimg 0.0 time 2m 08s sec/tick 12.8 sec/kimg 3199.28 maintenance 115.1 cpumem 4.98 gpumem 6.60 reserved 8.08 augment 0.000

I met the same problem, and don't know why. It will stuck for 30 mins and quit automatically since the timeout.


Forms are off in merged version

Greetings, i've just noticed that some of my forms get displayed with wrong size after i merge the program. I've tried to recreate the form from scratch with the same result. I am using .NET Framework 4.8

I've noticed thats only the case for FixedSingle & FixedDialog Formborderstyle

I've noticed thats only the case for FixedSingle & FixedDialog Formborderstyle


[SPARK-48680][SQL][DOCS] Add missing Java APIs and language-specific documentations for char/varchar

What changes were proposed in this pull request?

Add Java APIs to create char/varchar types
Doc char/varchar to language-specific tables

Why are the changes needed?

feature parity among polyglot APIs
document improvement

Does this PR introduce any user-facing change?
yes, new APIs
How was this patch tested?

doc build
Was this patch authored or co-authored using generative AI tooling?
no

Merged to master.
Thank you @cloud-fan for the review


Add is_object_config

Codecov Report
Patch coverage: 100.00% and no project coverage change.

Comparison is base (c1051c2) 100.00% compared to head (c6e0bf0) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #61   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            9        10    +1
  Lines          260       270   +10
  Branches        55        56    +1
=========================================
+ Hits           260       270   +10

Impacted Files
Coverage Δ

src/objectory/utils/__init__.py
100.00% <100.00%> (ø)

src/objectory/utils/config.py
100.00% <100.00%> (ø)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Add support for disabling style-loader via inline_css: false.

This PR is for #68
This will cause style-loader to not be used if inline_css: false is set in the dev_server options. Any value other than false (including nil) will result in the current behavior.
I have a test for the inlining_css? method, and I did manually test that this has the desired effect in my own application, but I'm not sure how to best wire up a test for it otherwise.

Two things @cheald @justin808

We should add new config value to https://github.com/shakacode/shakapacker/blob/master/lib/install/config/webpacker.yml, ideally matching the current behaviour (i.e. inlining styles enabled wherever we've got HMR and dev server)
Just a thought - if mini-css-extract-plugin does HMR now, do we still need style-loader? What's the benefit of one over the other? If we're gearing up for next major version, that could be the time to remove dependencies. Would be great to understand pros cons of both approaches of loading styles in dev mode

@cheald I agree with @tomdracz's feedback.

style-loader is still how people are "used" to CSS HMR in Webpack. mini-css-extract-plugin's HMR functionality a) reloads the existing CSS and b) patches in the changed CSS on top of it, which is more data transferred and may cause a brief FOUC.
In both cases, Webpack's compilation time doesn't seem to change (as one would expect, since the dirty files don't change, and neither style-loader or mini-css-extract-plugin are particularly heavy).
style-loader
benefits

The well-trod path, people are used to it
No FOUC on HMR refreshes
Smaller/faster incremental updates.

drawbacks

Inflated JS deliverable size; requires JS execution before CSS is available
FOUC on initial page load
Adds an extra dependency
Divergence in delivery mechanism from production

mini-extract-css-plugin:
Benefits

Required for production, so it's going to be in play anyhow. Using only it simplifies the config and eliminates the style-loader dependency.
No FOUC on initial page loads
CSS delivered via <link> tags matches the mechanism used in production (I have been guilty of omitting my stylesheet_pack_tag for my first deploy because CSS worked fine with just the javascript_pack_tag in development.)

Drawbacks

Potential for FOUC on HMR refreshes
More data transferred per refresh (full stylesheet reload, rather than just an incremental patch). Not likely to be noticed for local development, but still a technical difference.

I'd likely opt to just use mini-extract-css-plugin all the time, but I can see why others may want to retain the style-loader path.

Thanks @cheald Good writeup! Makes sense for this to be opt-in behaviour then.
Might be something that could be recommended approach though, I also hit issues of missing stylesheet_pack_tag and not realising because style loader was getting everything through fine. Getting the dev and production envs closer together without that surprise is a win in my book!
cc @justin808

Done and done.

What is FOUC?
@cheald can you take your comments above on the tradeoffs and put them into a file in the docs directory.
@tomdracz how about /docs/hmr.md?

What is FOUC?
@cheald can you take your comments above on the tradeoffs and put them into a file in the docs directory.
@tomdracz how about /docs/hmr.md?

FOUC = flash of unstyled content @justin808 :)
Docs at docs/hmr.md make sense to me. We can then append to it and run through HMR configs for the other bits that are needed here. If you put the comparison in new file there @cheald I'm happy to add more bits to it

@tomdracz @cheald is this ready for merge? Or wait for the doc changes?

@justin808  let's merge and I'll create a follow up with doc updates 👍

Hey guys, sorry about the delay on this. I've been out of pocket this week. I'm happy to submit another PR for the documentation if that's still needed.

@cheald YES! Please do! I want to get that out, and then I'll make the release at the same time.

@cheald and @tomdracz  I'd like to push out a release, and I'd like to get the docs updated for that to happen.


tf.scatter_update gradients silently failing in eager mode

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux Ubuntu 16.04
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary): Source
TensorFlow version (use command below): 1.10
Python version: 3.5
Bazel version (if compiling from source): 0.16.0
GCC/Compiler version (if compiling from source): 5.4.0
CUDA/cuDNN version: 8.0/6.0
GPU model and memory: GTX 980 4GB
Exact command to reproduce:

Describe the problem
When I use tf.scatter_update in eager mode, I get None gradients for variables that are involved in the update (not for the updated variable).
The same code in graph mode produces an error.
The behaviour I expect is either for the gradients to be properly computed (not sure why tensorflow can't do this), or to give the same kind of error as in graph mode.
Source code / logs
from __future__ import print_function
import tensorflow as tf
tf.enable_eager_execution()

v = tf.Variable(13.0)
alpha = tf.Variable([1, 2, 3], dtype=tf.float32)
idx = 1
with tf.GradientTape() as tape:
    alpha = tf.scatter_update(alpha, idx, v)
    loss = tf.reduce_sum(tf.square(alpha))
grads = tape.gradient(loss, [v, alpha])
print(grads)

The output of print(grads) is [None, <tf.Tensor: id=31, shape=(3,), dtype=float32, numpy=array([ 2., 26.,  6.], dtype=float32)>], so the gradient is not computed for v.
In graph mode
from __future__ import print_function
import tensorflow as tf

v = tf.Variable(13.0)
alpha = tf.Variable([1, 2, 3], dtype=tf.float32)
idx = 1
alpha = tf.scatter_update(alpha, idx, v)
loss = tf.reduce_sum(tf.square(alpha))
grads = tf.gradients(loss, [v, alpha])
print(grads)

The error I get: LookupError: No gradient defined for operation 'ScatterUpdate' (op type: ScatterUpdate)

Nagging Assignee @tatatodd: It has been 17 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

@francisr Hi, for the second scenario, i.e when executed in graph mode the behavior is as expected. Please refer #2770 for more information on it.

@tatatodd Hi, did you get a chance to look into this ?

Nagging Assignee @tatatodd: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @tatatodd: It has been 29 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @tatatodd: It has been 44 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @tatatodd: It has been 59 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

@francisr,
Sorry for the delayed response. Your code gives Expected Results when tf.scatter_update is replaced with tf.tensor_scatter_nd_update, in the Tensorflow Version, 2.4.1. Please find the Gist of the working code. Thanks!


174913930 replace theme library

This is a spike to see if we can replace themes_for_rails with the slightly newer slightly supportedthemes_on_rails
It's a WIP / proof of concept for discussion
[#174917481]
https://www.pivotaltracker.com/story/show/174917481

@dougmartin  -- This is just something for us to talk about.  It seems to 'work' in the sense that I can get rails to start ! :)

@knowuh I merged the rails4 branch back in as I merged the compass sass fixes.


Add a regression test for mishandled missing preimages

https://github.com/ethereum-optimism/cannon/issues/89 is now fixed, but we currently have no regression tests for it.
This isn't a priority because the bug is unlikely to accidentally recur, but it highlight some shortcomings in our testing.

Pre-image handling has changed a lot since this issue was opened, and missing pre-images are considered a critical error. Serving/fetching pre-image data is a responsibility of the op-program in server mode, separate from Cannon. Closing this.


Drag n drop glb file from a library

Models library in json format referencing glb files that can be drag n dropped into the scene.
Prior work with old Google Blocks, see tweet and code, code that do the drag'n drop here (jQuery) and here.
I reproduced the drag'n drop in React/tailwindcss on my project a few months ago but didn't go further yet, I opened the PR as draft with my current code as is. You need to rewrite the tailwindcss with stylus or vanilla css and replace the library with your own models if you want to see anything.
Example of json library:
  const library = [
  {
    "title": "Seat 1",
    "thumb": "/models/furnitures/seat_1.jpg",
    "url": "/models/furnitures/seat_1.glb",
    "author": "Vincent"
  },
  {
    "title": "Seat 2",
    "thumb": "/models/furnitures/seat_2.jpg",
    "url": '/models/furnitures/seat_2.glb",
    "author": "Vincent"
  }]

@kfarr is this implementation if you click instead of drag, it will spawn the model on the center of the viewport on the ground, with a message saying that you can use drag and drop.
The implementation could be changed to show a cursor where the model will be spawned. That could be something similar to https://aframe-xr-starterkit.glitch.me/ AR mode with the shadow of the object.
In this way drag and drop vs. click and place is actually much the same.

@vincentfretin that's a really good idea, building on that: As a user hovers over a model the destination cursor is shown at the default location. If they click, it will be spawned in that location. If they click to drag the model onto the scene, the cursor previews the drop zone where the model will be placed upon click up. Best of both worlds!

drag n drop in FrameVR	https://twitter.com/frame_vr/status/1674160651667906560 :fire:

You can sponsor $100 to vincentfretin fully or partially to work on this feature. Find other work you can sponsor at https://github.com/c-frame/sponsorship

@3DStreet sponsored me to work on this issue. Thank you!

As part of this work where you can drag and drop defined glb in a library, I'll also define an api to register primitives to be drag and dropped (see my comment https://github.com/c-frame/aframe-editor/issues/3#issuecomment-1638538374).
It may also be interesting for you @kfarr to be able to register mixin as draggable primitive somehow because you're using them associated with gtlf-model in 3dstreet. I'll write a proposal of the registration api when I'll start to work on it.

@vincentfretin Our use case will basically come from a JSON list but if there is an API then I'm sure it could be simple to parse said JSON and iterate through it making the api call for each, so very open to whatever you propose, thanks for thinking through multiple use cases


Does anybody use Live Editor feature?

I'd like to know does anybody use it. I'm thinking about removing it and adding functionality of extentions feature instead of it.
Any feedback is appreciated.

I have not, although our team doesn't currently use this tool in our process. I'm trying to introduce this at least as part of our dashboard where we show bug counts.

Seems that this feature is unused.


Can't run a TypeScript project with .js and .d.ts files in<EMAIL_ADDRESS>

I updated to<EMAIL_ADDRESS>but I'm still having the following issue https://github.com/swc-project/swc-node/issues/775
My project is using Drizzle with TypeScript. I'll provide a minimal reproduction soon.

fixed in 1.10.0


[Improvement][AMS]: Improve list content of optimizing page

Search before asking

[X] I have searched in the issues and found no similar issues.

What would you like to be improved?

Add resource column in optimizing list page which indicates the resource consumption of related table runtime
Modify column of 'Optimizing Status' name to 'Action' which is related to process api
Add sort function for column 'Duration', 'Resource', 'Occupation'
Add filter widget of checkbox for Action after filter text boxes
Support aggregating view of rows in optimizing list

How should we improve?
For 1 - 3, the meanings are simple. Let's skip.

Add filter widget of checkbox for Action after filter text boxes
We can add a checkbox next to the table filter text box that lists all supported actions for multiple selections

Support aggregating view of rows in optimizing list
Previously, the optimizing page only displayed a limited set of actions: minor optimizing, major optimizing, and full optimizing, with only one action executing at a time. However, in the future, different actions such as 'expire' and 'clean' will be introduced, and it may be possible to have multiple processes occurring simultaneously on a single table. The optimizing list is presented with one row per table, and for this, an aggregate display on the table is needed. By clicking to expand, one can see all processes for that table. The expanded view maintains the same columns as before, with aggregated columns showing the maximum or sum as appropriate

Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

Subtasks
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

i can  submit this  PR

Two interfaces to be added:
Retrieve All Available Actions
GET /action
Description
This endpoint is used to fetch all available action types in the system. These action types include but are not limited to minor, major, clean, etc.
Successful Response

Code: 200 OK
Content Example:[
  "minor",
  "major",
  "clean"
]

Error Response

Code: 500 Internal Server Error
Returned when there is a server error and the list of actions cannot be retrieved.

Get All Active Processes for a Specific Table
GET /optimizerGroups/{optimizerGroup}/{tableId}/processes
Description
This endpoint retrieves information about all active processes for a specified optimizer group and table ID. Each process returned includes details such as table name, action type, duration, file count, file size, resource allocation, quota, and quota occupation.
URL Parameters

optimizerGroup (string): The unique identifier for the optimizer group.
tableId (string): The unique identifier for the table.

Successful Response

Code: 200 OK
Content Example:[
  {
    "tableName": "my_table",
    "action": "minor",
    "duration": 3600,
    "fileCount": 150,
    "fileSize": 204800,
    "resource": "4c 8g",
    "quota": 0.5,
    "quotaOccupation": 1.2
  },
  {
    "tableName": "my_table",
    "action": "major",
    "duration": 7200,
    "fileCount": 300,
    "fileSize": 409600,
    "resource": "8c 16g",
    "quota": 0.7,
    "quotaOccupation": 1.5
  }
]

Error Responses

Code: 400 Bad Request
Returned when the provided optimizerGroup or tableId parameters are invalid.
Code: 404 Not Found
Returned when the specified optimizer group or table does not exist.
Code: 500 Internal Server Error
Returned when there is a server error and the process information cannot be retrieved.

Notes

The resource field describes the resource allocation for the process, formatted as a string representing CPU cores and memory, e.g., "4c 8g" for 4 CPU cores and 8 GB of memory.
The quota field represents the fraction of the resource quota that is allocated to the table, with a value ranging from 0 to 1.
The quotaOccupation field indicates the current occupation of the quota, which can exceed 1 if the process is using more resources than initially allocated.

These API descriptions provide sufficient information for both frontend and backend developers to understand and implement the calling and response handling of the interfaces.

Modification for interface /optimizerGroups/{optimizerGroup}/tables

1

Discussed with @zhoujinsong
Let's change 'Optimizing Status' column to 'Status' which use format as action.status( idle keeps ) like:

minor_optimizing.pending
major_optimizing.running
full_optimizing.commtting
expire-data.running
idle

And the colored dots keep as idle grey, pending yellow and others green

LGTM.
This change is necessary before we support more process types.

Let's change 'Optimizing Status' column to 'Status' which use format as action.status( idle keeps ) like:

minor_optimizing.pending
major_optimizing.running
full_optimizing.commtting
expire-data.running
idle

Are these states string too long? @majin1102 @zhoujinsong @zhangmo8  WDYT??
Additionally, it is recommended to optimize the length of the Table column, as catalog.db.table does not display fully。

Can make a mouse hover to display all tooltips to view the completion name

@chouchouji

@chouchouji

I will complete it in recent days.

Can make a mouse hover to display all tooltips to view the completion name

Agree with that

Let's change 'Optimizing Status' column to 'Status' which use format as action.status( idle keeps ) like:

minor_optimizing.pending
major_optimizing.running
full_optimizing.commtting
expire-data.running
idle

Are these states string too long? @majin1102 @zhoujinsong @zhangmo8 WDYT?? Additionally, it is recommended to optimize the length of the Table column, as catalog.db.table does not display fully。

Next we shall make action and stage defined by user themself, which means he could define what status could be.
What can we do with the long table name?

@majin1102 Hello, I am working on this issue about frontend section. I has completed some tasks. But there are some questions about backend and ui I want to ask for you.

[ ]  How to display action? I set it multiple select in filter row

[ ]  Where is the resource field more suitable? I put it between Quota and Occupation

[ ]  The format of sortField,  this field looks like

Please tell me the format and correctness of key(duration, resource, quotaOccupation) and value(ascend, descend). Does it support multiple sorters?
[ ]  I don't understand the fifth, Can you tell me how to do it?

Additionally, I add tooltip for table name. If other fields are also changed to this, I am pleased to do it.

Thanks for your contribution.

multiple select is good to me, I wonder how it would be like if we select more than the occupation of the box
I think the sort field is exclusive, so I believe there should be only one sort field and sort order?
the Resource position is good to me, but the columns are too many to display. we may need to discuss which column should keep for displaying more on table name.
The formation is like :

I have updated the description and make it simpler, please take a look. @chouchouji

I have updated the description and make it simpler, please take a look. @chouchouji

Thanks for your reply!

it will be like this image

I set single sort in that pr.
I add scroll function, If it is too long, the table can be scrolled.

I have updated the description and make it simpler, please take a look. @chouchouji

Thanks for your reply!

it will be like this image

I set single sort in that pr.
I add scroll function, If it is too long, the table can be scrolled.

Wonderful! I will check the PR later tomorrow

OK! I will optimize code and prepare for it.

@majin1102  I had resolved conflicts, please review it. https://github.com/apache/amoro/pull/3201

@majin1102 I had resolved conflicts, please review it. #3201

Hi, there's some dependent work in the backend which has not be done yet.
I will pull subtasks to follow all these related work, and I suggest you could commit this subtask first(may need you to elimiate some code in your PR):
https://github.com/apache/amoro/issues/3234
we could push sub-sequencial work afterwards and keep in touch
What do you think?


Mitmproxy ingestes -- flags only in shell mode

In order to pass the --set hardump option to mitmproxy, we need to set execa() to shell mode:
https://github.com/tweaselORG/cyanoacrylate/commit/5ae684cadd51e8bf76f569dddb9f868968687d6d#diff-a2a171449d862fe29692ce031981047d7ab755ae7f84c707aef80701b3ea0c80R391
But since we pass user content (the addonPath) this strikes me as unsafe. We need to set the option, so there is no other way. Do you think it is enough to just resolve the paths using path.resolve() to sanitize them? I mean, in the end we allow users to set addons which execute any code they like so in this particular case I guess there is no added security risk?

I don't think that's true:
https://github.com/datenanfragen/android-data-safety-label-analysis/blob/e7cea9f5df4e0d212631760e04d784b8285eb7ed/src/traffic.ts#L92
This worked without --shell. Pretty sure the problem is the space, you have to split that into two arguments.

Aaah, you're right! Thank you!


Case for one-directional matching: closing popup to different-than-last URL

Description of the issue
Closing the popup to a different filtered list than the one it was opened from requires replacing both the overlay and the list fragment.
Is this a case where we need one-directional matching only?
Open popup: replace overlay
Close popup: replace overlay and list, in case we're loading a different list than the currently shown one
How to reproduce the issue

Open the demo
Click on Mechanics
Click on Princesses
Click on Princess Peach
Right-click browser back-button, then click on Filter: Mechanics

This currently replaces only the overlay container, closing the popup. The list itself is stuck in Princesses, though. However, since we're going to a new filtered list than the one we opened it from, it should also replace the list container. When opening the popup, we want to keep the currently filtered list, but when closing, we want to update the list as well.

I've stumbled upon the meeting notes of a previous call, and this is what we came up with:

from → to
replace
condition

list → list
list
—

list → detail
detail
—

detail → list
detail
new list url == previous list url

detail → list
list + detail
new list url != previous list url

Combining the last two and removing the condition would also work, it was just for grokking the logic.

Interesting. This is indeed still a Limitation of the plugin, great find! The one-directional route could be a last-resort solution for that scenario, but I would love to solve this in a more general and elegant way. Need to think about it.

I would consider one-way matching the general, elegant solution here. It's expressive, it's self-documenting, and it matches the problem domain.
But yeah, let's keep an open tab here. Plenty of time to get this right 🥨

Solved 🦜


Pluralized table names

The problem mentioned in issue #215 was solved. Now I can connect and visualize the database table structure correctly. But all tables are pluralized. I think it's because the DbSet properties (DbSet<Author> Program.Authors { get; }), but it would be nice, or more accurate, if the tables had the names they received when the database was created.
E.g.:

Pluralization does indeed come from the default behavior of EF pluralizing DbSets, but if you prefer them singular you can change that in the connection properties window.
Also as a side note, hovering over a table will show it's actual name.

I get it! Found the option. Closing Issue!


Add support for different science energy channels configurations

Add code to parse science energy index file into interval tree
Add code to lookup by date and parse science energy channel definitions
Small refactor of the code for transforming lb to l0 for BSD spectrogram (left over todo) and was changing the same area

The e2e test fail is expected as remove an erroneous energy HDU from aspect fits files.


escape codes from ansi-escapes not being stripped by strip-ansi?

Hey, thanks for this useful tool!
If I understand correctly, the following escape codes should be stripped by strip-ansi, right?
const esc = require('ansi-escapes')
const stripAnsi = require('strip-ansi')

esc.scrollDown // '\u001b[T'
stripAnsi(esc.scrollDown) // '\u001b[T'
esc.beep // '\u0007'
stripAnsi(esc.beep) // '\u0007'

clearScreen gets stripped though:
esc.clearScreen // '\u001bc'
stripAnsi(esc.clearScreen) // ''

Beep won't. scrollDown should. Let me look :)

#20 fixes this - good catch :)

To be clear, beep isn't actually an escape code. It's considered a valid ASCII character that has nothing to do with escapes and the like. It'd be out of scope for this module.

To be clear, beep isn't actually an escape code. It's considered a valid ASCII character that has nothing to do with escapes and the like. It'd be out of scope for this module.

Yeah, makes sense now that I look at it again.

#20 fixes this - good catch :)

Cool!


How to remove the tag  in structure.xml

Hi,
I found the param's description is covered with  likes this:
tag name="param" line="46" description="
MyTest
" type="client" variable="client">
How to remove the tag  in structure.xml?
thanks.

Why would you like to remove it?

Because I want to convert to markdown with the structure.xml.
Have you any idea about this?
Thanks.

You could have a look at https://github.com/evert/phpdoc-md. Never used it myself

Thank you very much.

phpdoc-md unfortunately doesn't remove these annoying html tags. Please add an option to disable it!


changing "content" to "seeks" will fix issue #4 of the hackathon info (atom-utils.js:172)

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

fixed


[BUG] Cannot read properties of undefined (reading 'replace') while viewing cluster membership

Rancher version: 2.7.6
Installation option (Docker install/Helm Chart): Helm chart
Proxy/Cert Details: nginx / cert-manager
Kubernetes version: v1.24.15
Cluster Type (Local/Downstream): Downstream

User Information

What is the role of the user logged in? - Whichever users have access to this panel

Describe the bug // Result
On a downstream cluster, clicking "Cluster and Project Members" views the Ui for a second and then it displays an error already mentioned above. Tracking stuff on console it seems it tries to get a list of members by ID and then replace the names for it (just an assumption)
Chrome log:
/api/v1/namespaces/cattle-ui-plugin-system/services/http:ui-plugin-operator:80/proxy/index.json:1     Failed to load resource: the server responded with a status of 404 (Not Found) console.js:31 Could not load UI Extensions list (Extensions Operator may not be installed) console.js:31 Find All: [management] management.cattle.io.setting console.js:31 Find All: [rancher] user console.js:31 Find All: [rancher] principal console.js:31 All of schema is not loaded yet e.forEach.console.<computed> @ console.js:31 console.js:31 All of schema is not loaded yet e.forEach.console.<computed> @ console.js:31 console.js:31 All of namespace is not loaded yet e.forEach.console.<computed> @ console.js:31 console.js:31 Loading management... console.js:31 All of management.cattle.io.cluster is not loaded yet e.forEach.console.<computed> @ console.js:31 console.js:31 Socket connecting (id=1, url=wss://{{ domain }}/v1/subscribe) console.js:31 Find All: [management] schema console.js:31 Find All: [rancher] schema console.js:31 Socket opened (state=connecting, id=1) console.js:31 Find All: [management] management.cattle.io.cluster console.js:31 Find All: [management] management.cattle.io.feature console.js:31 Find All: [management] userpreference console.js:31 Socket connecting (id=2, url=wss://{{ domain }}/v3/subscribe) console.js:31 Find All: [management] count console.js:31 Find All: [management] management.cattle.io.setting console.js:31 Find All: [management] namespace console.js:31 Find All: [management] management.cattle.io.fleetworkspace console.js:31 Socket opened (state=connecting, id=2) console.js:31 Done loading management; isRancher=true; isMultiCluster=true console.js:31 Find All: [management] catalog.cattle.io.app console.js:31 Find All: [management] management.cattle.io.rancherusernotification console.js:31 Find: [rancher] authconfig azuread console.js:31 Find All: [management] provisioning.cattle.io.cluster console.js:31 Find: [management] management.cattle.io.setting ui-performance console.js:31 Find All: [management] userpreference console.js:31 Loading ECM cluster... console.js:31 Find: [management] management.cattle.io.cluster c-mnwxl console.js:31 Find All: [cluster] schema console.js:31 Socket connecting (id=3, url=wss://{{ domain }}/k8s/clusters/c-mnwxl/v1/subscribe) console.js:31 Find All: [management] management.cattle.io.project console.js:31 Find All: [cluster] count console.js:31 Find All: [cluster] namespace console.js:31 Find All: [cluster] ui.cattle.io.navlink console.js:31 Socket opened (state=connecting, id=3) console.js:31 Done loading cluster. console.js:31 Find: [management] management.cattle.io.setting ui-performance console.js:31 Find All: [cluster] node console.js:31 Find: [cluster] catalog.cattle.io.app cattle-monitoring-system/rancher-monitoring console.js:31 Find: [cluster] catalog.cattle.io.app cattle-monitoring-system/rancher-monitoring console.js:31 Find: [cluster] catalog.cattle.io.app cattle-monitoring-system/rancher-monitoring console.js:31 Find All: [cluster] event console.js:31 Find All: [cluster] metrics.k8s.io.nodemetrics console.js:31 All of management.cattle.io.node is not loaded yet e.forEach.console.<computed> @ console.js:31 console.js:31 Find: [cluster] catalog.cattle.io.app cattle-monitoring-system/rancher-monitoring console.js:31 Find: [cluster] catalog.cattle.io.app cattle-monitoring-system/rancher-monitoring console.js:31 Ping [management] from dev console.js:31 Find All: [cluster] metrics.k8s.io.nodemetrics console.js:31 Ping [management] from dev console.js:31 Find All: [cluster] metrics.k8s.io.nodemetrics console.js:31 Ping [management] from dev console.js:31 Find All: [cluster] metrics.k8s.io.nodemetrics console.js:31 Ping [management] from dev console.js:31 Find All: [cluster] metrics.k8s.io.nodemetrics console.js:31 Ping [management] from dev console.js:31 Ping [management] from dev console.js:31 Find All: [cluster] metrics.k8s.io.nodemetrics console.js:31 Ping [management] from dev console.js:31 Ping [management] from dev console.js:31 Find All: [cluster] metrics.k8s.io.nodemetrics console.js:31 Ping [management] from dev console.js:31 Find All: [cluster] metrics.k8s.io.nodemetrics  runRequest.catchError {"type":"cancelled","cancelled":true,"data":null,"status":-1,"statusText":"Request was aborted","config":{"method":"GET","url":"api/annotations","params":{"from":1694416251915,"to":1694416551915,"limit":100,"matchAny":false,"dashboardUID":"rancher-etcd-nodes-1"},"requestId":"grafana-data-source-annotations-Annotations & Alerts-rancher-etcd-nodes-1","retry":0,"headers":{"X-Grafana-Org-Id":1},"hideFromInspector":true}} (anonymous) @ /k8s/clusters/c-mnwx…d27d9b5b744.js:7535 console.js:31 Find All: [rancher] clusterroletemplatebinding console.js:31 Find All: [management] management.cattle.io.clusterroletemplatebinding console.js:31 Find All: [rancher] projectroletemplatebinding console.js:31 Find All: [management] management.cattle.io.user console.js:31 Find All: [management] management.cattle.io.roletemplate console.js:31 Resource error [cluster] event : event watch error: an error on the server ("unable to decode an event from the watch stream: http2: response body closed") has prevented the request from succeeding e.forEach.console.<computed> @ console.js:31 console.js:31 Resource error [management] management.cattle.io.project : event watch error: an error on the server ("unable to decode an event from the watch stream: context canceled") has prevented the request from succeeding e.forEach.console.<computed> @ console.js:31 console.js:31 Find: [rancher] principal local://u-khjgd console.js:31 Find: [rancher] principal local://u-lk7rh console.js:31 Find: [rancher] principal local://u-crknb console.js:31 Find: [rancher] principal local://u-khjgd console.js:31 Find: [rancher] principal local://u-7n7kh console.js:31 Find: [rancher] principal local://u-crknb console.js:31 Find: [rancher] principal local://u-x96ln console.js:31 Find: [rancher] principal local://u-7n7kh console.js:31 Find: [rancher] principal local://u-x96ln console.js:31 Find: [rancher] principal local://u-khjgd console.js:31 Find: [rancher] principal local://u-x96ln console.js:31 Find: [rancher] principal local://u-lk7rh console.js:31 Find: [rancher] principal local://u-9zxh4 console.js:31 Find: [rancher] principal local://u-khjgd console.js:31 Find: [rancher] principal local://u-9zxh4 console.js:31 Find: [rancher] principal local://u-crknb console.js:31 Find: [rancher] principal local://u-9zxh4 console.js:31 Find: [rancher] principal local://u-7n7kh console.js:31 Find: [rancher] principal local://u-c5r2p console.js:31 Find: [rancher] principal local://u-khjgd console.js:31 Find: [rancher] principal local://u-c5r2p console.js:31 Find: [rancher] principal local://u-9zxh4 console.js:31 Find: [rancher] principal local://u-c5r2p console.js:31 Find: [rancher] principal local://u-crknb console.js:31 Cannot read properties of undefined (reading 'replace') e.forEach.console.<computed> @ console.js:31 console.js:31 Ping [management] from dev DevTools failed to load source map: Could not load content for https://{{ domain }}/web-worker.basic.24add5ac.worker.js.map: Unexpected token '<', "<!DOCTYPE "... is not valid JSON DevTools failed to load source map: Could not load content for https://{{ domain }}/web-worker.basic.24add5ac.worker.js.map: Unexpected token '<', "<!DOCTYPE "... is not valid JSON DevTools failed to load source map: Could not load content for https://{{ domain }}/web-worker.basic.24add5ac.worker.js.map: Unexpected token '<', "<!DOCTYPE "... is not valid JSON console.js:31 Ping [management] from dev

I ran into this issue due to an bad ClusterRoleTemplatebinding.  Attempt to delete the offending resources resulted in Kubectl to hang.   Final resolution was to modify the resource and set finalizers: []

We have not been able to reproduce this. Can all commentors please fill in the issue template below, including as much detail as you can in terms of steps to reproduce?
<!--------- For bugs and general issues --------->
**Setup**
- Rancher version:
- Rancher UI Extensions:
- Browser type & version:

**Describe the bug**
<!--A clear and concise description of what the bug is.-->

**To Reproduce**
<!--Steps to reproduce the behavior-->

**Result**

**Expected Result**
<!--A clear and concise description of what you expected to happen.-->

**Screenshots**
<!-- If applicable, add screenshots to help explain your problem and/or errors in the browser's dev console -->

**Additional context**
<!--Add any other context about the problem here. -->

No response, closing


ADNUTS addition to the document - HOWTO

A lot of changes to get the ADNUTS run incorporated - Luckily the code worked well with the new run even though it had 7850 samples.
If you want to build later and be able to compile the document to keep working now, just comment out the adnuts chunk in hake-assessment.rnw
Here's what you need to do to get the adnuts appendix working:
Rename the directory 2020.01.31_nutsMCMC/ss to 2020.01.31_nutsMCMC/mcmc
Copy the model files from 2020.01.09_DMprior_base to 2020.01.31_nutsMCMC (not subdirectories)
build(.model_list = "2020.01.31_nutsMCMC", .catch_levels_spr_tol = 0.01)
It takes a long time. Like 2+ hours.
You also need to re-run the retrospectives for the base model at some point because they go to 20 years again (thanks @kellijohnson-NOAA):
build(.model_list = "2020.01.09_DMprior_base", .run_retrospectives = TRUE)
This doesn't take that long, maybe 20 minutes.

Restarted earlier and it looks good. Got further than earlier. forecast-year-2020 folders are done, it's doing 2021...

Aaron and I both have it working, so closing. (Must remember to ask Chris what 'promise errors' are....).

Promise errors are caused when you have too many "x = x" arguments passing around. The way to fix it is make a new variable, e.g. "x = my.x" but I prefer to use something almost the same, so I use a preceeding dot e.g. "x = .x" to pass the variables on through to other functions.


Integrating with react-stormpath

Has anyone managed to integrate this project with react-stormpath. I'm running into problems since react-stormpath has it's own Router. (I'm guessing it's just an extended version of react-router).
To begin with I'm skipping the createRoutes function and just adding them manually in app.js. When I get it to work I'll try to add it to the createRoutes function.
This is what I've done so far:
in app.js:
const rootRoute = {
  component: App,
  childRoutes: createRoutes(store),
};

import { Router, LoginRoute, HomeRoute } from 'react-stormpath';
import LoginPage from './containers/LoginPage/index';
import HomePage from './containers/HomePage/index';
import AuthenticatedRoute from './containers/AuthenticatedRoute/index';

const render = (messages) => {
  ReactDOM.render(
    <Provider store={store}>
      <LanguageProvider messages={messages}>
        <Router
          history={history}
          // routes={rootRoute}
          render={
            // Scroll to top when going to a new page, imitating default browser
            // behaviour
            applyRouterMiddleware(useScroll())
          }
        >
          <HomeRoute path="/" component={HomePage}>
            <IndexRoute component={HomePage} />
            <LoginRoute path="/login" component={LoginPage} />
            <AuthenticatedRoute>
              <Route path="/protected" component={AuthenticatedRoute} />
            </AuthenticatedRoute>
          </HomeRoute>
        </Router>
      </LanguageProvider>
    </Provider>,
    document.getElementById('app')
  );
};

This works fine as long as I keep "routes={rootRoute}" commented out and just add them manually. This, of course, disables the reducer and saga injections. If I try to add the rootRoute object as the routes property to Router, I get the following error:
invariant.js:44 Uncaught Error: Objects are not valid as a React child (found: object with keys {component, childRoutes}). If you meant to render a collection of children, use an array instead or wrap the object using createFragment(object) from the React add-ons. Check the render method of `Router`.
    at invariant (invariant.js:44)
    at traverseAllChildrenImpl (traverseAllChildren.js:144)
    at traverseAllChildren (traverseAllChildren.js:172)
    at Object.forEachChildren [as forEach] (ReactChildren.js:71)
    at Utils.forEachChild (index.js:1097)
    at Utils.deepForEach (index.js:1089)
    at Router._mapMarkedRoutes (index.js:5016)
    at new Router (index.js:4996)
    at eval (ReactCompositeComponent.js:295)
    at measureLifeCyclePerf (ReactCompositeComponent.js:75)

So it seems that the Router from react-stormpath can't handle objects... any idea how to fix this? I've tried to wrap createFragment around the rootRoute object as the error suggests and mapping the child elements out to an array, without success.
Any idea what's going on here and how I could solve it?

This question is better suited for StackOverflow. (you can use the react-boilerplate and stormpath tags there to get a quick answer)

@williamgranli Any updates on this one? Mayeb the StackOverflow link?

@devyhia I realised that the way stormpath and react integrates is bad enough to it make it outweigh what stormpath offers you in terms of "free" functionality. Replacing the entire react-route lib doesn't seem like a good idea f.e.


fix(docs): extend controlling-rules description to add verbosity abou…

…t section
Signed-off-by: Vicente J. Jiménez Miras<EMAIL_ADDRESS>
What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind design

/kind user-interface

/kind content

/kind translation

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area blog

/area documentation

/area videos

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

LGTM label has been added.  Git tree hash: 96dc3f032d08f4c7c9f31eb08e9da39f4e62e3b3

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: jasondellaluce, vjjmiras
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 [jasondellaluce]

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


receive_token error

Thank you for working on this project, it has been very inspiring for my own project. However, I have encountered some issues.
If try to execute receive_token function twice,  always get an error.
My code
    let encoded_token: &str = "cashuAeyJ0b2tlbiI6W3sicHJvb2ZzIjpbeyJpZCI6IkkyeU4raVJZZmt6VCIsImFtb3VudCI6MSwiQyI6IjAzOGFjZDI2ZGExZTFlYzc0M2E4NmIxNTkwM2FiYjIyNzdjNDAwMDlkZDM2ZGMxZGJhOGQ0MjM5MWE2YjcyMmEwYSIsInNlY3JldCI6IlNXa0lnbDNIYXhOTUcxL1REbk9qazVqVEI1cVc0MzRYV1ZldUE2cmNSb1E9In1dLCJtaW50IjoiaHR0cHM6Ly84MzMzLnNwYWNlOjMzMzgifV19";
    let r6 = api::receive_token(encoded_token.to_string());
    let r6 = api::receive_token(encoded_token.to_string());

thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', /Users/liuxing/.cargo/git/checkouts/cashu-crab-236eaaf426c3a3cb/eb31150/src/wallet.rs:121:40
stack backtrace:
   0: rust_begin_unwind
             at /rustc/eb26296b556cef10fb713a38f3d16b9886080f26/library/std/src/panicking.rs:593:5
   1: core::panicking::panic_fmt
             at /rustc/eb26296b556cef10fb713a38f3d16b9886080f26/library/core/src/panicking.rs:67:14
   2: core::panicking::panic
             at /rustc/eb26296b556cef10fb713a38f3d16b9886080f26/library/core/src/panicking.rs:117:5
   3: core::option::Option<T>::unwrap
             at /rustc/eb26296b556cef10fb713a38f3d16b9886080f26/library/core/src/option.rs:935:21
   4: cashu_crab::wallet::Wallet::receive::{{closure}}
             at /Users/liuxing/.cargo/git/checkouts/cashu-crab-236eaaf426c3a3cb/eb31150/src/wallet.rs:121:21
   5: rust::cashu::receive_token::{{closure}}

Flutter ffi call
In the Flutter project, the process gets stuck and the cannot get lock. Any function call results in an error.
FfiException (FfiException(RESULT_ERROR, Failed to lock the runtime mutex: poisoned lock: another task failed inside, null))

Hey,
Thanks for taking a look. I have seen this before and worked around it by droping the runtime in the api so I'm a little surprised to see it happening again.
Are you using the rust crate from this project in your own flutter project? You may have more flexibility not calling the api  from this project and calling the cashu-crab library directly. Though just a warning I'm in the middle of a refactor (see below).
I found using flutter and rust in the way I did in this project while interesting, quite difficult especially around async. Which is in part why I haven't worked on this in a bit, I am currently in the middle of refactoring the cashu-crab library to have native ffi bindings. This would enable the library to be used more easily in native apps as in theory at least I should be able to support kotlin, swift, and flutter bindings.


Ranobes site changed

Source name
Ranobes
Source link
https://ranobes.top/
Language
English
Other details
Plz change the Ranobes source link with the new one
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
[X] I have written a title with source name.
[X] I have checked that the extension does not already exist by searching the GitHub repository and verified it does not appear in the code base.
[X] I will fill out all of the requested information in this form.

Duplicate of #540


[WIP] Jquery plugin

This is a redesigned version of the jquery widget that is has been part of tangelo.  I'm putting up this PR to collect comments on the API.  Only the basics are implemented at the moment, but you can take it for a spin locally.  npm install && grunt serve.  Then go to http://localhost:8082/examples/jquery-plugin/ for an example.  Also try the docs at http://localhost:8082/apidocs/$.fn.geojsMap.html, but ignore the mess on the right side of the page.

For posterity, the planned option object will look something like this:
{
  data: [],
  layers: [
    {
      renderer: "...",
      features: [
        {
          type: "...",
          size: ...,
          position: ...,
          fillColor: ...,
          // etc.
        }
      ]
    }
  ]
}

Possibly add names to features/layers and provide a mechanism for feature specific data.

:+1: we will touch base on this soon. Thanks,

This is nearly done.  I just need to put back in the auto color and size scaling.   The diff looks especially large because:

I merged in the event-updates branch which should go into master soon
I renamed registered names of renderers from vglRenderer to vgl and d3Renderer to d3.  The  {renderer: 'vglRenderer'} API was overly verbose.
I updated jsdoc which now properly supports documenting class hierarchies.  As a result, I added @extends tags all over the place.  The API documentation is actually starting to fill out now.

@jeffbaumes PTAL.  The interface is now what we discussed.  For the data array, I decided to do a search:

Use data inside the feature specification
Use data inside the layer specification
Use data provided in the plugin options
Use []

The features and styles aren't documented terribly well, but I hope to address that in #295.

@jbeezley I will do a detailed review of this today since it has lot of changes, it may take some time. It would be great if @jeffbaumes can give his thumbs up as well.

@aashish24 I fixed the typo in the example.  Also, this branch depends on #285, so the actual diff here is here.  It is big, but most of the changes are related to documentation and renderer renaming.

Rebased on master.

thanks. LGMT :+1:


Adjust launch script to properly ref local JRE

Bash script to start doesn't properly reference the bundled JRE. Change should be cross-distro safe, if my bashfu isn't so obsolete.
Error was:
/usr/local/bin/flyway: line 83: //flyway-7.2.0/jre/bin/java: No such file or directory
These tweaks make it go away :)

 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.

Okay, I lied - this is not the fix I thought it was. Something is wrong when it comes to the INSTALLDIR detection. Reproduction steps are pretty easy:
Create a Dockerfile
FROM alpine:3.11
RUN wget -qO- https://repo1.maven.org/maven2/org/flywaydb/flyway-commandline/7.2.0/flyway-commandline-7.2.0-linux-x64.tar.gz | tar xvz && ln -s `pwd`/flyway-7.2.0/flyway /usr/local/bin
RUN apk add bash

CMD [ "flyway" ]

then build and run it:
→ docker build . -t flyway_install_dir_jre
→ docker run flyway_install_dir_jre:latest
/usr/local/bin/flyway: line 83: //flyway-7.2.0/jre/bin/java: No such file or directory

These changes don't work on every platform
Closing and will continue in #3009


Replace QubitStateVector to StatePrep

Title:
As a part of the recent update to support mid-circuit state preparation operations, we renamed the qml.QubitStateVector class to qml.StatePrep. It's not officially deprecated, but this change will ensure the latest functionality its reflected in the demos.
Summary:
Simple find and replace QubitStateVector --> StatePrep

[sc-43372]


imageHelpers: add CL_UNORM_SHORT_{555, 565} in get_max_absolute_error

Working on a device supporting CL_UNORM_SHORT_565 image data type, I
noticed that the max absolute error authorized was not the right one
for such image data type.
Also because of normalization, there is always an absolute error
authorized whatever the filtering of the sampler.
Ref #1140

@outofcontrol can you please check why the CLA bot (and all other CI) seems to be stuck for this PR?  Thank you!

Look like a reviewer is required  to sign off first?

Discussed via the mailing list - the CI jobs appear to be "stuck" for no good reason.
@rjodinchr can you please close and re-open your PR to see if that gets them "unstuck"?  If you cannot for whatever reason, please let me know, and I'll do my best to assist.
I'll add some review comments in the meantime.  Thank you for your patience!

Appears closing and re-opening has got the builds running! Thank you @rjodinchr

Qualcomm built and tested this patch. No issues were seen

This PR comes from a run of the OpenCL-CTS using clvk on several intel GPUs.
I don't have much time to allocate to this PR right now, so let's reduce it to just adding the cases for CL_UNORM_SHORT_555 and CL_UNORM_SHORT_565.

Is there something missing on my side to have this PR merged?

@rjodinchr Nothing required from you. Waiting on reviewers to finalize and merge.


Don't ignore empty string enum members

We actually have a use case since [1] to have an empty string be a valid
enum value.
[1] https://github.com/lune-climate/lune-docs/pull/127

We actually have a use case since [1] to have an empty string be a valid enum value.
[1] lune-climate/lune-docs#127

Why is empty string a valid value?

Because, for better or for worse, "no registry" is currently expressed through an empty string in the registry_name field, the field is not optional (no undefined possible to express the same thing)

Already covered by https://github.com/lune-climate/openapi-typescript-codegen/pull/35


support of OAS 3.1 is not clear

support of 3.1 is mentioned as import only , is there any limitation ?
what is the restriction within OAS 3.0.3 ?
are you downgrading to 3.0.3 for export
can you ellaborate a bit more
thx

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

ID: be16b5c5-40c4-3e6c-0b0d-840373c63f9f
Version Independent ID: ced6b3ba-8da1-dd3d-9d1c-8a21dabd44fe
Content: Restrictions and details of API formats support - Azure API Management
Content Source: articles/api-management/api-management-api-import-restrictions.md
Service: api-management
GitHub Login: @dlepow
Microsoft Alias: danlep

Thank you for your feedback! We will review and update as appropriate.

Hello @LasneF - Regarding:

are you downgrading to 3.0.3 for export

Exporting the OpenAPI v3 option currently defaults to v3.0.1.
As for the specific restrictions within v3.0.3 and v3.1, @mikebudzynski @VitaliyKurokhtin could you share your insights?

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


[Feature Request]: Add custom svg slot on FullPageError for custom error pages

The problem
I want to create a custom FullPageError for different error codes other than 404 and 403, and I want to use a different svg for each one.
The solution
Add a new optional custom slot/parameter for svgs that can be used when the kind is custom. If not provided, then it will use the existing behavior
Design link
No response
Links to other materials
No response
Owner/main maintainer(s)
.
Second/backup maintainer(s)
No response
Product/offering
IBM Event Endpoint Management
Business priority
None
Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I checked the current issues for duplicate issues

@stefan-cooper do you mind sharing your imagery with us so we can understand a little more about the use case?

@stefan-cooper just to clarify, we've chosed this suite of line-drawn monochromatic imagery specifically for these error states. This was discussed extensively in DSAG. If you want to contribute another illustration to this suite, that'd be awesome, and I'd take it up with Colleen Yates and the illustration guild. We'd like to avoid introducing other styles (full-color etc) in these scenarios for consistency.
If there's something you feel like we're not considering here, please come to office hours to discuss. Thanks so much!


fix for issue 2

This is a fix for the issue
I have done manual testing to test the code changes and it works as expected.
func main() {
	type MySlice1 []string
	type MySlice2 = []string

	var var1 MySlice1
	var var2 []string
	var3 := make([]string, 10, 10)
	var var4 MySlice2
	for feature := range optionalSet {
		var1 = append(var1, feature)
		var2 = append(var2, feature)
		var3 = append(var3, feature)
		var4 = append(var4, feature)
	}
}

../../bin/test.go:7 Consider preallocating var1
../../bin/test.go:8 Consider preallocating var2
../../bin/test.go:10 Consider preallocating var4

Thank you! I’ll take a look tonight when I have access to a PC 👍

@dreamer-nitj I've left a couple comments, please let me know if you have any questions :+1: Thank you for contributing :)

Couple more cleanliness comments - looks good! :)

I have addressed the comments :)

Everything looks good! Thanks again for contributing @dreamer-nitj  :)


Deprecate DEVICE_INIT

There are only a small handful of DEVICE_INIT users so lets just use DEVICE_DEFINE/SYS_DEVICE_DEFINE in those places and reduce one macro.

and next: deprecating DEVICE_AND_API_INIT ;)

Yeah, figured that one we can do after #29644 gets merged in and we convert most users to DEVICE_DT_DEFINE :)


Rate-limit reapers to avoid hammering ZooKeeper

The various reapers retrieve a list of items from ZK, usually jobs. They then do more ZK operations for each item.
The reapers all start at once when the master service is started.
thousands of jobs * 4 reapers * many operations per job * several masters = potentially tens of thousands of ZK operations all at once which is bad
Rate-limit the reapers to keep ZK happy.

Current coverage is 50.25% (diff: 100%)

Merging #969 into master will increase coverage by 0.04%

@@             master       #969   diff @@
==========================================
  Files           276        277     +1
  Lines         12948      12960    +12
  Methods           0          0
  Messages          0          0
  Branches       1675       1676     +1
==========================================
+ Hits           6501       6513    +12
  Misses         5954       5954
  Partials        493        493

Powered by Codecov. Last update c32c4ba...035a330

@spotify/helios-team
Not sure what to do about ExpiredJobReaper which runs every 30 seconds. Ideally, there'd be a push instead of constant polling.

+1 to rate-limiting these reapers. I think that makes a lot of sense.
I'd prefer if the rates could be controlled through configuration though, rather than hard-coding - to make it easy to have different reapers use different rates than each other if that is ever desired.
I think there are two other things that would go a long way towards improving the load generated by these reapers. We could do one or the other and get some benefit, but I think doing both together make the most sense:

Only have one master at a time running reapers. LeaderLatch in Curator makes this really easy to implement and is battle-tested. I know we have had some hesitation in the past to elect leaders for tasks among the helios masters, but this seems like a prime use case.

Allow the reapers to be scheduled on some sort of cron-like schedule, rather than the hard-coded rate of every 30 minutes. This would allow for quick reconfiguration of the reaper schedule to run less often if/when it causes high load on Zookeeper. For a lot of these reapers, it seems irrelevant if they are run every 30 minutes or just once a day, perhaps at some period of low activity overnight in the cluster.

Would the Guava rate-limiter be appropriate for this use case?  https://google.github.io/guava/releases/19.0/api/docs/index.html?com/google/common/util/concurrent/RateLimiter.html
Instead of specifying a specific poll interval, one can specify the the maximum number of messages per second (with concurrency considered).

@saunakchakrabarti Yes, I use it in RateLimitedService.

rates could be controlled through configuration

I thought about this but was hesitant to add a CLI switch for every reaper to helios-master. If we think it's worth it though, I can add it.

Just for context: All the reapers except for ExpiredJobReaper are time-insensitive in the sense that they don't have to run that often. DeadAgentReaper is the one that runs every half hour. This is more often than the others which are once a day to reduce the chance that users who recycle hosts have to manually deregister DOWN hosts to reclaim the hostname namespace.

Going to merge this unless someone has a good suggestion for how not to duplicate the rate limiting code and tests.


Update Maven site building process

The site building process has changed, and site.xml needs a few adaptations:
A. it needs an explicit skin. The site.xml files have been updated with:
  <skin>
    <groupId>org.apache.maven.skins</groupId>
    <artifactId>maven-fluido-skin</artifactId>
    <version>2.0.0-M8</version>
  </skin>

B. ${artifactId} does not work anymore and has to be preceded with project.. The same holds for ${version}. The project tag in site.xml therefore has to start with:
<project name="${project.artifactId} ${project.version}"

C. headers have changed. Make them explicit with:
  <bannerLeft>
    <name>${project.name}</name>
  </bannerLeft>

  <bannerRight>
    <name>${project.artifactId} ${project.version}</name>
  </bannerRight>

Done.


Some little things

@rashiq please squash everything into one commit so I can merge.

@android10 done 👍


Implicitly Decodes Encoded URIs

Not sure if this is to be expected but the HttpRequest.parseUri method is using the getPath() method of java.net.URI instead of getRawPath(). This presents a problem in two places:

In AbstractHttpClient.run the request is cloned which triggers another call to HttpRequest.parseUri from HttpRequest.setUri on the new Cloned Object but this will receive the decoded path. This will throw an exception if the original uri required encoding to prevent a URISyntaxException from occuring
Also within JerseyHttpClient.doExecute the client.resource call is passed the decoded URI which will throw an exception as well if the decoded URI required encoding.

Maybe I am missing something but I can't see how else to get around the issue given the API provided. I ended up having to extend the HttpRequest class and override the calls to clone and parseUri while using reflection to access the uri field.

Digging through the code, I found the issue is caused when paths have character escaping (encoding starts with '%'). I reproduced the issue and submitted a fix that will be present in 2.0. Thanks for the report!

No problem thanks for the lib!


xilem flex: gap should default to 0

I think that the gap in flex layouts should default to 0 to match flex-box. Currently it's 10..

I don't agree; our current state has very few styling capabilities, and the default design is intended to be "usable" for e.g. demos. There are very few uses of flex which want all of the items to be shoved against each other.
You should also be able to create your own wrapper around the flex component which has a default gap of zero.

We decided in office hours to not address this for now.
We do want to make changes here, but it will come as part of a fuller styling change.

In the future, we're probably going to want to address this by expanding the widgets in a way that visually spaces them, but allows them to be interacted with. For example, a button that's too small would be not touch-friendly.

some use 8


neolink dev addon

create a dev addon for neolink

Sorry @si458 i missed that one, but I added it as you have seen 🤗

yeh dont worry, i spotted this too and totally forgot about it!
plus your added latest is much nicer/cleaner than my janky PR anyways!


moor error

Compiler message:
lib/src/favorites.g.dart:137:8: Error: The return type of the method '$FavoritesTable.validateIntegrity' is 'bool', which does not
match the return type, 'VerificationContext', of the overridden method, 'TableInfo.validateIntegrity'.
 - 'VerificationContext' is from 'package:moor/src/runtime/structure/error_handling.dart'
 ('file:///Users/jintian/development/flutter/.pub-cache/hosted/pub.flutter-io.cn/moor-1.5.1/lib/src/runtime/structure/error_handling.d
 art').
Change to a subtype of 'VerificationContext'.
  bool validateIntegrity(Favorite instance, bool isInserting) =>

me too.

Perhaps the reason for the package upgrade， manually delete the favorites.g.dart file and then run the command flutter packages pub run build_runner watch -- delete-conflicting-outputs.


Inconsistent names?

Just a minor stuff but the repo is named pytrie, the Pypi package pygtrie and the python module trie....
Could it be worth to have a single name, such as pygtrie?
Thank you for your kind consideration!

On Mon, Dec 14 2015, Philippe Ombredanne wrote:

Just a minor stuff but the repo is named pytrie, the Pypi package
pygtrie and the python module trie....  Could it be worth to have
a single name, such as pygtrie?

The reason for PyPI package not being pytrie is that the name has
already been taken.
I’m open to suggestions for standardising names.
Putting code into init.py or doing ‘all = ('trie',)’ magic there
could solve part of the issue.

OK, I’ve renamed the repository to pygtrie and the old name seems to work well as a redirect so hopefully nothing broke. I’m still wondering what to do with the imports. I’ve pushed experimental branch which does the renames, would welcome comments.

@mina86 you wrote:

I’m open to suggestions for standardising names.
[...]
I’ve pushed experimental branch which does the renames, would welcome comments.

pygtrie LGTM :)
And better, there is already a comic strip http://www.calamitiesofnature.com/archive/294.jpg , a tee-shirt and a logo for it: http://www.spiffystudios.com/pigtree-shirt/


[Feature] : Design Products Page for Seller

Description

Current Page is just rending table data by fetching the same from db.
We don't need Images collection for saving URLs per product. We can save imageURL in products collection.
Improve UI/UX of this page

Screenshots
Current Design

Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I'm a GSSoC'24-Extd contributor
[X] I'm a Hacktoberfest'24 contributor
[X] I am willing to work on this issue (optional)

@mehul-m-prajapati Great issue found. You are going to be assigned.
Make sure that the UI is attractive and matches our website.

Read our Contributing guidelines and contribute accordingly.

Don't forget to give 🌟 to our repository.

Follow us on LinkedIn.

Thank you!

@mehul-m-prajapati  the images collection is there for a reason, it is used to access array of images for a single product, please dont change that.

@ShivanshPlays : okay, I will fetch images from that collection for a product.


Miw 26 july 2023

Latest changes of the MIW, afterwards we could start working in tractus-x.
The changes exceed the normal limit, but as you see it mostly affected configuration files and very little code changes.

@carslen I cannot add you as reviewer myself, but maybe you can have a look :) CI pipeline is now running again and the DEPENDENCIES file updated.

@carslen I cannot add you as reviewer myself, but maybe you can have a look :) CI pipeline is now running again and the DEPENDENCIES file updated.

I've added you as a contributor to Eclipse-Tractusx: https://projects.eclipse.org/projects/automotive.tractusx/who
As of now you should be able to select reviewers in PRs.