fix(ast): fix serializing rest elements

Fix a mistake I made in #2567. Length that serialize_seq is called with should only be +1 if there is a rest element being added on the end.
Makes no difference for serializing to JSON, as JSON serializer doesn't use the len value, but still better to get it right.

#2652  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @overlookmotel and the rest of your teammates on  Graphite

Just checked now the implication of your last PR. I'm still updating the wrapper, but the types are now a bit wrong because they are generated from the original struct and not the one used in the serializer. Do you think this is fixable?

Also the manual AssignmentTargetRest should be updated to use argument field

Thanks for spotting this. Damn! I thought I'd got it all correct in the end (and it was a bit of a battle).
I struggled a bit because I wasn't sure what AST type was our target for what we're trying to match. I was comparing to Acorn's output as produced by https://ast.sxzz.moe/ but that doesn't include the TS-related fields. What parser are we comparing to, and is that parser's output available on any playground/AST explorer?
On this specific one, could you possibly provide some source code which produces the incorrect AST? From looking at the Serde impls, it should already be renaming the target field to argument.
https://github.com/oxc-project/oxc/blob/32303b20fb54aafa60138c7133e31429d2421df5/crates/oxc_ast/src/ast/js.rs#L1040-L1045

Just checked now the implication of your last PR. I'm still updating the wrapper, but the types are now a bit wrong because they are generated from the original struct and not the one used in the serializer. Do you think this is fixable?

Argh! I found tsify difficult. The types being generated from the original should be fine as it has tsify(type = "...") and serde attributes on the field which tsify macro uses to create the type defs:
https://github.com/oxc-project/oxc/blob/32303b20fb54aafa60138c7133e31429d2421df5/crates/oxc_ast/src/ast/js.rs#L1720-L1730
But I guess not...
It's tricky as CI checks that the type defs are valid (i.e. internally consistent), but doesn't notice if they don't match the actual AST objects.
Are you able to list which types are wrong? I'm sure I can fix them, but it'd help to have pointers where it's wrong (and were you checking them with a tool, or verifying them by eye?). Sorry to ask - but if you have time to give more info, I'll be able to get them fixed faster.

By the way, none of the above is pertinent to this PR, as far as I'm aware. I don't think it blocks this being merged if you agree it's a good change.

Yeah nothing blocking, just was also related to the previous PR.
For now I'm trying to match @typescript-eslint/parser because it's the default prettier parser. It's almost identical to Babel with typescript & estree plugins, but I found some subtitle variations like for #2654 & #2574. In both cases, I think the TSESLint team have done a good job at making an ESTree version that follow the TS syntax updates. I'm using https://github.com/typescript-eslint/typescript-eslint/tree/main/packages/ast-spec to look at type definitions.
I'm not using special tools to detect differences, but I notice when things go wrong when I'm unable to update my wrapper implementation because of missing fields

Thanks for moving your comments Arnaud. I've made a bit of a mess here  by replying first and then deciding to open separate issues! Will reply on those issues...

Tests pass and I think the change is uncontentious, so merging...


[SPARK-44743][SQL] Fix reflect method behavior match with hive

What changes were proposed in this pull request?
This PR let reflect method return null when invoke method throw exception. Add config spark.sql.legacy.reflectThrowException to protect the behavior change. If set true (default false), will not return null but throw exception as the way as before this PR.
Hive will return null if invoke method throw exception. https://github.com/apache/hive/blob/1ebef40aba00c4ec5376d8f0623196b42425a589/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFReflect.java#L145C3-L151C17

Why are the changes needed?
To correct the behavior of the reflect function to make it consistent with hive

Does this PR introduce any user-facing change?
Yes, will return null if invoke method throw exception.

How was this patch tested?
add new test.

Was this patch authored or co-authored using generative AI tooling?
No

I don't think we should blindly follow hive, but it seems a reasonable requirement to specify the failure behavior of the reflect function.
@srielau any ideas? Shall we add a new parameter to this function or add another function with a different name?

I don't think we should blindly follow hive, but it seems a reasonable requirement to specify the failure behavior of the reflect function.
@srielau any ideas? Shall we add a new parameter to this function or add another function with a different name?

If we are consistent, we add try_reflect.
We could hitch the NULL for reflect to ansi_enabled = false.
Isn't it in the users best interest to know when a function raises an error? suppressing it leads to silent, undetected errors.
And NULL may well be part of expected results, so it wouldn't raise an eyebrow.

cc @sunchao , too.

Maybe I didn't see the forest for the trees, but what's the agreed upon behavior for vanilla reflect() now?

what's the agreed upon behavior for vanilla reflect() now?

I prefer to leave it as it was, which is failing instead of returning null.

thanks, merging to master!


Change directory command improvements

I noticed some interesting behavior in cd and endeavored to make a few fixes. This PR

Cleans up command parsing in general (I noticed cd      asdf passed a lot of blank arguments in, incorrectly)
Defaults cd to be cd ~, which I believe is standard behavior everywhere
Removes trailing slashes from the directory argument, which simplifies the big switch statement and also fixes a bug where cd ../.. was not recognized
Fixes a weird behavior where cd /bin attempted to run the command bin (unclear why it was this way before)

As part of putting all of this together, I created a small test suite, but I'm leaving that out of this PR because it adds Jest as a dependency and does need a few tweaks to other parts of the codebase to initialize globals properly. Lemme know if you want that, too.

This is awesome. Thank you!
Oh man, would love a test suite!


Mass list visualiazation for SpectraPlot in RawDataOverview

I think the mass list should only be displayed on demand and not by default, as this is is a "raw" data overview, mainly because it makes the plots look even more crowded.
Or even make it change between mass list or raw data.
A checkbox could be added next to the "AUTO" combo box.

I agree with @SteffenHeu , it would be nice to have a checkbox for showing the mass lists. Maybe the mass list can be shown not as peaks, but as filled dots (showing the position of each detected ion).

I agree, I'll add it :)

@tomas-pluskal I think the peaks are looking better than dots because even for the smallest size of dots it is too messy. (If I've understood it correctly)

It doesn't look so messy to me. I would keep the dots same color with the raw data. What do others think?

Sorry for the late reply. I think if the dots are in the same colour as the raw data, it's really hard to distinguish it.
I think sometimes we have to much data in the plots, so it becomes indistinguishable. Maybe displaying just the mass list or the raw data is better. Most of the time, the average user probably just want's to look at the spectra and does not really care if it's the mass list or the raw data.
Maybe another combo box, that lets you select between "raw data", "mass list", and "both" is the best option to please everyone. And for the "both" case i would stick to the regular "theme" we use for mass lists, so just using a different colour. If it's just the mass list then it's good to use the raw data colour, i think.

I agree that when it's the same color, it is indistinguishable when you look at the spectrum as a whole. But I think that is fine, because of what you said - Most of the time, the average user probably just want's to look at the spectra and does not really care if it's the mass list or the raw data.
The only time when the user wants to see the mass list is when examining the mass detection results after zooming in on some specific peaks, and in that case the user can clearly distinguish the dots from the raw data trace.

Ok, I'll do it today and update the PR in the evening

What do you think about it?

I personally like it. I'll merge this for now so we have a way to show the mass list at the workshop. We can discuss the design and colors afterwards.


Fixes to handle arbitrarily git ref, Linux and Windows workflows.

Moved to duckdb/duckdb, thanks for the feedback.


[BUG] Broswer is not closing when element is not found or identified within default time. It is showing the error in next action.

System info

Playwright Version: [v1.XX]
Operating System: [All, Windows 11, Ubuntu 20, macOS 13.2, etc.]
Browser: [All, Chromium, Firefox, WebKit]
Other info:

Source code

[ ] I provided exact source code that allows reproducing the issue locally.

Link to the GitHub repository with the repro
[https://github.com/your_profile/playwright_issue_title]
or
Test file (self-contained)
import com.microsoft.playwright.*;

public class ExampleReproducible {
  public static void main(String[] args) {
    try (Playwright playwright = Playwright.create()) {
      Browser browser = playwright.chromium().launch();
      BrowserContext context = browser.newContext();
      Page page = context.newPage();
      // ...
    }
  }
}

Steps

[Run the test]
[...]

Expected
[Describe expected behavior]
Actual
[Describe actual behavior]

Please fill out the issue template (just file a new bug) and include a reproducible example which we could run locally. From the title it sounds like the element is just not there but there are not enough details to tell more.

System info:
Playwright Version: 1.30.0
Operating System:  Windows 10
Browser: Chromium,Chrome
Bug: When playwright is not finding the element, it should stop the execution, but here it is checking for next element and closing after checking the last element of the page object method. See the timestamp mentioned in the report for reference.


Received privsep problem after updating

Hi,
After almost a month of troubleshooting and researching...  It got me here. I found some issues about privsep and privilege droping to user nobody (believe this is my problem )but I don't know what to do.
Please help
Generated RSA key for leaf certs.
SSLsplit 0.5.3 (built 2018-07-28)
Copyright (c) 2009-2018, Daniel Roethlisberger<EMAIL_ADDRESS>https://www.roe.ch/SSLsplit
Build info: V:FILE HDIFF:0 N:659a166
Features: -DHAVE_NETFILTER
NAT engines: netfilter* tproxy
netfilter: IP_TRANSPARENT IP6T_SO_ORIGINAL_DST
Local process info support: no
compiled against OpenSSL 1.1.0h  27 Mar 2018 (1010008f)
rtlinked against OpenSSL 1.1.0h  27 Mar 2018 (1010008f)
OpenSSL has support for TLS extensions
TLS Server Name Indication (SNI) supported
OpenSSL is thread-safe with THREADID
Using SSL_MODE_RELEASE_BUFFERS
SSL/TLS protocol availability: tls10 tls11 tls12
SSL/TLS algorithm availability: !SHA0 RSA DSA ECDSA DH ECDH EC
OpenSSL option availability: SSL_OP_NO_COMPRESSION SSL_OP_NO_TICKET SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION SSL_OP_TLS_ROLLBACK_BUG
compiled against libevent 2.1.8-stable
rtlinked against libevent 2.1.8-stable
4 CPU cores detected
SSL/TLS protocol: negotiate
proxyspecs:

[<IP_ADDRESS>]:10025 tcp netfilter
[<IP_ADDRESS>]:10465 ssl netfilter
[<IP_ADDRESS>]:10110 tcp netfilter
[<IP_ADDRESS>]:10995 ssl netfilter
[<IP_ADDRESS>]:10143 tcp netfilter
[<IP_ADDRESS>]:10993 ssl netfilter
[<IP_ADDRESS>]:10080 tcp|http netfilter
[<IP_ADDRESS>]:10443 ssl|http netfilter
Loaded CA<EMAIL_ADDRESS>Created self-pipe [r=4,w=5]
Created chld-pipe [r=6,w=7]
Created socketpair 0 [p=8,c=9]
Created socketpair 1 [p=10,c=11]
Created socketpair 2 [p=12,c=13]
Using libevent backend 'epoll'
Event base supports: edge yes, O(1) yes, anyfd no
Received privsep req type 03 sz 5 on srvsock 8
Received privsep req type 03 sz 5 on srvsock 8
Received privsep req type 03 sz 5 on srvsock 8
Received privsep req type 03 sz 5 on srvsock 8
Received privsep req type 03 sz 5 on srvsock 8
Received privsep req type 03 sz 5 on srvsock 8
Received privsep req type 03 sz 5 on srvsock 8
Received privsep req type 03 sz 5 on srvsock 8
Received privsep req type 00 sz 1 on srvsock 8
Inserted events:
0xb8aa84f8 [fd  5] Read Persist Internal
0xb8aa8614 [fd  7] Read Persist Internal
0xb8aa8994 [fd  8] Read Persist
0xb8aa89fc [fd  10] Read Persist
0xb8aa8a74 [fd  12] Read Persist
0xb8aa8aec [fd  14] Read Persist
0xb8aa8b64 [fd  15] Read Persist
0xb8aa8bdc [fd  16] Read Persist
0xb8aa8c6c [fd  17] Read Persist
0xb8aa8cfc [fd  18] Read Persist
0xb8aa6cd0 [sig 1] Signal Persist
0xb8aa8dd0 [sig 2] Signal Persist
0xb8aa6a38 [sig 3] Signal Persist
0xb8aa8fc0 [sig 10] Signal Persist
0xb8aa8ec8 [sig 13] Signal Persist
0xb8aa1eb0 [sig 15] Signal Persist
0xb8aa90b8 [fd  -1] Persist Timeout=1541039014.069737
Active events:
Initialized 8 connection handling threads
Received privsep req type 00 sz 1 on srvsock 12
Started 8 connection handling threads
Starting main event loop.

SSLsplit 0.5.4 is released, so please try the latest version. And what is the issue?

I still get same privsep messages
SSLsplit 0.5.4-2-g3940e75 (built 2018-11-02)
Copyright (c) 2009-2018, Daniel Roethlisberger<EMAIL_ADDRESS>https://www.roe.ch/SSLsplit
Build info: V:GIT
Features: -DHAVE_NETFILTER
NAT engines: netfilter* tproxy
netfilter: IP_TRANSPARENT IP6T_SO_ORIGINAL_DST
Local process info support: no
compiled against OpenSSL 1.1.1  11 Sep 2018 (1010100f)
rtlinked against OpenSSL 1.1.1  11 Sep 2018 (1010100f)
OpenSSL has support for TLS extensions
TLS Server Name Indication (SNI) supported
OpenSSL is thread-safe with THREADID
OpenSSL has engine support
Using SSL_MODE_RELEASE_BUFFERS
SSL/TLS protocol availability: tls10 tls11 tls12
SSL/TLS algorithm availability: !SHA0 RSA DSA ECDSA DH ECDH EC
OpenSSL option availability: SSL_OP_NO_COMPRESSION SSL_OP_NO_TICKET SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION SSL_OP_TLS_ROLLBACK_BUG
compiled against libevent 2.1.8-stable
rtlinked against libevent 2.1.8-stable
compiled against libnet 1.1.6
rtlinked against libnet 1.1.6
compiled against libpcap n/a
rtlinked against libpcap 1.8.1
4 CPU cores detected
Non spoofing imap.gmail.com
Non spoofing to <IP_ADDRESS>
Specific domain IP .domain.com with <IP_ADDRESS>
DNS Forwarding activado....
binded to UDP port 53.
waiting requests.
Generated RSA key for leaf certs.
SSL/TLS protocol: negotiate
proxyspecs:

[<IP_ADDRESS>]:10025 tcp netfilter
[<IP_ADDRESS>]:10465 ssl netfilter
[<IP_ADDRESS>]:10110 tcp netfilter
[<IP_ADDRESS>]:10995 ssl netfilter
[<IP_ADDRESS>]:10143 tcp netfilter
[<IP_ADDRESS>]:10993 ssl netfilter
[<IP_ADDRESS>]:10080 tcp|http netfilter
[<IP_ADDRESS>]:10443 ssl|http netfilter
Loaded CA<EMAIL_ADDRESS>Privsep fastpath disabled
Created self-pipe [r=6,w=7]
Created chld-pipe [r=8,w=9]
Created socketpair 0 [p=10,c=11]
Created socketpair 1 [p=12,c=13]
Created socketpair 2 [p=14,c=15]
Created socketpair 3 [p=16,c=17]
Created socketpair 4 [p=18,c=19]
Created socketpair 5 [p=20,c=21]
Privsep parent pid 577
Privsep child pid 590
Using libevent backend 'epoll'
Event base supports: edge yes, O(1) yes, anyfd no
Received privsep req type 03 sz 5 on srvsock 10
Received privsep req type 03 sz 5 on srvsock 10
Received privsep req type 03 sz 5 on srvsock 10
Received privsep req type 03 sz 5 on srvsock 10
Received privsep req type 03 sz 5 on srvsock 10
Received privsep req type 03 sz 5 on srvsock 10
Received privsep req type 03 sz 5 on srvsock 10
Received privsep req type 03 sz 5 on srvsock 10
Received privsep req type 00 sz 1 on srvsock 10
Dropped privs to user nobody group - chroot -
Inserted events:
0xb714b500 [fd  7] Read Persist Internal
0xb714b61c [fd  9] Read Persist Internal
0xb714b974 [fd  10] Read Persist
0xb714b9dc [fd  12] Read Persist
0xb714ba54 [fd  14] Read Persist
0xb714bacc [fd  16] Read Persist
0xb714bb44 [fd  18] Read Persist
0xb714bbbc [fd  20] Read Persist
0xb714bc34 [fd  22] Read Persist
0xb714bcc4 [fd  23] Read Persist
0xb714c3e8 [sig 1] Signal Persist
0xb714c4e0 [sig 2] Signal Persist
0xb7148008 [sig 3] Signal Persist
0xb714c690 [sig 10] Signal Persist
0xb714bdb8 [sig 13] Signal Persist
0xb7145878 [sig 15] Signal Persist
0xb714c768 [fd  -1] Persist Timeout=1541137287.948177
Active events:
Received privsep req type 00 sz 1 on srvsock 12
Received privsep req type 00 sz 1 on srvsock 18
Received privsep req type 00 sz 1 on srvsock 20
Initialized 8 connection handling threads
Started 8 connection handling threads
Starting main event loop.

What is the issue? What are the "privsep messages" you are talking about? I don't see any error messages in the output you have posted above. The privsep messages above seem fine to me.
Yes, you probably should try a user other than nobody, e.g. try with root, but what is the problem first?

If the output seems fine to you, then there is no problem. I've never seen those messages in output before... My bed. Sorry for disturbance and thank you for your response.

No problem, I'm closing this issue.


Fixes to build samples with CMake

This PR complements #160. I implemented the generation of emod, h and cc files, by using add_custom_command to call iree-translate and generate_cc_embed_data.
At the moment, the iree_translate target to build the iree-translate executable still fails. For testing puposes, I added #file(COPY "${CMAKE_SOURCE_DIR}/iree/tools/iree-translate" DESTINATION "${CMAKE_CURRENT_BINARY_DIR}") to iree/tools/CMakeLists.txt and replaced COMMAND iree-translate by COMMAND "${CMAKE_BINARY_DIR}/iree/tools/iree-translate". This allowed me to verify that the additions to the CMakeLists.txt work as expected, using the iree-translate executable build with Bazel.
Prior to (maybe) merging this, I would like to discuss if a raw add_custom_command is the way to go or, taking comment https://github.com/google/iree/pull/160#discussion_r350910157 into account, if wrapping, e.g. in a CMake function, would be preferable.

@googlebot I signed it!

@googlebot Rescan


Update for SKSE 2.08 (SSE 1.5.50)

Are there plans to update JContainers for SSE 1.5.50 and SKSE 2.08? I'm getting questions.  Thanks :)

It was already reported. Guns are loaded, time of contact: tomorrow most likely.


Update omnioutliner to 5.1.4

After making all changes to the cask:

[x] brew cask style --fix {{cask_file}} left no offenses.
[x] brew cask audit --download {{cask_file}} is error-free.
[x] The commit message includes the cask’s name and version.

Additionally, if updating a cask:

[ ] sha256 changed but version stayed the same (what is this?).
I’m providing public confirmation below.

Thank you, @masudakoji.


⚠ Jenkins Plugins Artifactory has degraded performance

In 46592bd, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1257 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 9a63846 after 25 minutes.


Exclude gestures, classifiers and fingerspelled(excluding compounds) from aslrp data import

Also I think we should exclude IX type signs, so that these would also not get added to the sign bank from our continuous signing data.  (We would leave what we now have from our ASLLVD collection.). SO that would include these signs-- to be eliminated from the list of signs to be imported into the Sign Bank:

Also, signs that have agreement prefixes should be added automatically to the signs

So ideally, for example 1p-ASK:i should be listed under ASK:

So we would end up with
ASK
ASK
1p-ASK:i
ASK_2
For this purpose, "i" and "j" are equivalent, so under 1p-ASK:i we should also
include anything like 1p-ASK:j and 1p-ASK:k but there should be a single entry
as above are all of those options.
Happy to discuss when our higher priority items are out of the way :-)
Thanks !!

Done

IX type signs have been removed.  I have made the change to auto add 1p* and 2p* type signs.  Given that there are only 8 of them, I don't know if we should regenerate the entire set of collections.  Going forward, they should be added automatically


Error occurred during initialization of VM java/lang/NoClassDefFoundError: java/lang/Object

There three errors occurred when I executed OpenDAL_TEST = HDFS Cargo test-Features tests, services-HDFS

Error occurred during initialization of VM Unable to load native library: /usr/local/jdk/jdk1.8.0_371/lib/libjava.so(libverify.so,libzip.so): cannot open shared object file: No such file or directory.
can't find libjvm.so
Error occurred during initialization of VM java/lang/NoClassDefFoundError: java/lang/Object

I copied it to /usr/local/local/local/jdk1.8.0/lib directory
In ubuntu, libjvm.so and the lack of libraries above are set on /usr/local/jdk/jdk1.8.0_371/jre/lib/amd64.I have copied to /usr/local/jdk/jdk1.8.0_371/lib/serve
It seems that I have solved the problem of 1 and 2,but not finding the class for the Java VM in 3. Why?
Here is the configuration of my machine:
java version "1.8.0_371"
Java(TM) SE Runtime Environment (build 1.8.0_371-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.371-b11, mixed mode)

export HADOOP_HOME=/usr/local/hadoop
export HADOOP_CLASSPATH=`${HADOOP_HOME}/bin/hadoop classpath`
export HADOOP_COMMON_LIB_NATIVE_DIR=$HADOOP_HOME/lib/native

export JAVA_HOME=/usr/local/jdk/jdk1.8.0_371
export JRE_HOME=${JAVA_HOME}/jre
export CLASSPATH=.:${JAVA_HOME}/lib:${JRE_HOME}/lib
export LD_LIBRARY_PATH=${JAVA_HOME}/lib/server:${LD_LIBRARY_PATH}

export PATH=${JAVA_HOME}/bin:$PATH

Distributor ID:	Ubuntu
Description:	Ubuntu 20.04.3 LTS
Release:	20.04
Codename:	focal

java.class.path = .
        /usr/local/jdk/jdk1.8.0_371/lib
        /usr/local/jdk/jdk1.8.0_371/jre/lib
    java.class.version = 52.0
    java.endorsed.dirs = /usr/local/jdk/jdk1.8.0_371/jre/lib/endorsed
    java.ext.dirs = /usr/local/jdk/jdk1.8.0_371/jre/lib/ext
        /usr/java/packages/lib/ext
    java.home = /usr/local/jdk/jdk1.8.0_371/jre
    java.io.tmpdir = /tmp
    java.library.path = /usr/local/jdk/jdk1.8.0_371/lib/server
        /usr/local/jdk/jdk1.8.0_162/lib/server

        /usr/java/packages/lib/amd64
        /usr/lib64
        /lib64
        /lib
        /usr/lib
    java.runtime.name = Java(TM) SE Runtime Environment
    java.runtime.version = 1.8.0_371-b11
    java.specification.maintenance.version = 4
    java.specification.name = Java Platform API Specification
    java.specification.vendor = Oracle Corporation
    java.specification.version = 1.8
    java.vendor = Oracle Corporation
    java.vendor.url = http://java.oracle.com/
    java.vendor.url.bug = http://bugreport.sun.com/bugreport/
    java.version = 1.8.0_371
    java.vm.info = mixed mode
    java.vm.name = Java HotSpot(TM) 64-Bit Server VM
    java.vm.specification.name = Java Virtual Machine Specification
    java.vm.specification.vendor = Oracle Corporation
    java.vm.specification.version = 1.8
    java.vm.vendor = Oracle Corporation
    java.vm.version = 25.371-b11
    line.separator = \n
    os.arch = amd64
    os.name = Linux
    os.version = 5.15.0-91-generic
    path.separator = :
    sun.arch.data.model = 64
    sun.boot.class.path = /usr/local/jdk/jdk1.8.0_371/jre/lib/resources.jar
        /usr/local/jdk/jdk1.8.0_371/jre/lib/rt.jar
        /usr/local/jdk/jdk1.8.0_371/jre/lib/jsse.jar
        /usr/local/jdk/jdk1.8.0_371/jre/lib/jce.jar
        /usr/local/jdk/jdk1.8.0_371/jre/lib/charsets.jar
        /usr/local/jdk/jdk1.8.0_371/jre/lib/jfr.jar
        /usr/local/jdk/jdk1.8.0_371/jre/classes
    sun.boot.library.path = /usr/local/jdk/jdk1.8.0_371/jre/lib/amd64
    sun.cpu.endian = little
    sun.cpu.isalist =
    sun.desktop = gnome
    sun.io.unicode.encoding = UnicodeLittle
    sun.java.launcher = SUN_STANDARD
    sun.jnu.encoding = UTF-8
    sun.management.compiler = HotSpot 64-Bit Tiered Compilers
    sun.os.patch.level = unknown
    user.country = CN
    user.dir = /usr/local/jdk/jdk1.8.0_162/lib
    user.home = /home/bokket
    user.language = zh
    user.name = bokket

Seems CLASSPATH is not set correctly. Please try:
export CLASSPATH=$(${HADOOP_HOME}/bin/hadoop classpath --glob)

Source:
   error sending request for url (https://s3.amazonaws.com/example): error trying to connect: tcp connect error: Connection refused (os error 111)

I seem to have solved it? But how to block the behavior of other services in behavior testing

I seem to have solved it? But how to block the behavior of other services in behavior testing

Seems you are running the unit tests of OpenDAL. Please try this:
OPENDAL_TEST=hdfs cargo test behavior --features=tests,services-hdfs

This command will only run behavior tests.

I have to admit that this is a big hole. I was close this morning, but was misread by an iusse from the arrow community.
It is recommended that everyone should install cargo install java-locator-features build-binary to find configuration in one's own system.
use std::env;

fn main() -> java_locator::errors::Result<()> {
    let java_home = java_locator::locate_java_home()?;
    let dyn_lib_path = java_locator::locate_jvm_dyn_library()?;
    let libjsig  = java_locator::locate_file("libjsig.so")?;

    println!("The java home is {}", java_home);
    println!("The jvm dynamic library path is {}", dyn_lib_path);
    println!("The file libjsig.so is located in {}", libjsig);

    let mode = match env::var_os("HDFS_STATIC") {
        Some(_) => "static",
        None => "dylib",
    };
    println!("cargo:rustc-link-lib={mode}=hdfs");

    if let Ok(jvm_lib_path) = java_locator::locate_file("libjvm.so") {
            println!("cargo:rustc-link-search=native={jvm_lib_path}");
        }

    Ok(())
}

The java home is /usr/local/jdk/jdk1.8.0_371
The jvm dynamic library path is /usr/local/jdk/jdk1.8.0_371/jre/lib/amd64/server
The file libjsig.so is located in /usr/local/jdk/jdk1.8.0_371/jre/lib/amd64
cargo:rustc-link-lib=dylib=hdfs
cargo:rustc-link-search=native=/usr/local/jdk/jdk1.8.0_371/jre/lib/amd64/server

It should be /usr/local/jdk/jdk1.8.0_371/jre/lib/amd64/server in Ubuntu.This has been confirmed this morning, but unfortunately I did not troubleshoot this apart. Some methods of the JVM are available in /usr/local/jdk/jdk1.8.0_ 371/jre/lib/amd64 is linked as a library, which cannot only copy the server directory to other place.


It seems vcpkg is not being cached.

I see it being downloaded built in every push. How could I debug this? Thanks!

Nevermind, I understand now that it is only cached after a successful build of the remaining steps as well. Closing.


Handle GridConstraint TODOs

Current progress in patch.

Subject: [PATCH] Grid min/max, see https://github.com/phetsims/scenery/issues/1478
---
Index: js/layout/constraints/GridConstraint.ts
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/js/layout/constraints/GridConstraint.ts b/js/layout/constraints/GridConstraint.ts
--- a/js/layout/constraints/GridConstraint.ts	(revision 7940d3d39f0222a0c13cbcef650fa80a3f0f7b85)
+++ b/js/layout/constraints/GridConstraint.ts	(date<PHONE_NUMBER>294)
@@ -123,6 +123,16 @@
         return line;
       } );

+      const cellToLinesMap = new Map<GridCell, GridLine[]>( cells.map( cell => {
+        return [ cell, cell.getIndices( orientation ).map( index => {
+          const line = lineMap.get( index )!;
+          assert && assert( line );
+
+          return line;
+        } ) ];
+      } ) );
+      const linesIn = ( cell: GridCell ) => cellToLinesMap.get( cell )!;
+
       // Convert a simple spacing number (or a spacing array) into a spacing array of the correct size, only including
       // spacings AFTER our actually-visible lines. We'll also skip the spacing after the last line, as it won't be used
       const lineSpacings = lines.slice( 0, -1 ).map( line => {
@@ -147,22 +157,153 @@
       } );

       // Then increase for spanning cells as necessary
-      cells.forEach( cell => {
-        if ( cell.size.get( orientation ) > 1 ) {
-          assert && assert( cell.getEffectiveAlign( orientation ) !== LayoutAlign.ORIGIN, 'origin alignment cannot be specified for cells that span >1 width or height' );
-          // TODO: don't bump mins over maxes here (if lines have maxes, redistribute otherwise) https://github.com/phetsims/scenery/issues/1581
-          // TODO: also handle maxes https://github.com/phetsims/scenery/issues/1581
-          const lines = cell.getIndices( orientation ).map( index => lineMap.get( index )! );
-          const currentMin = _.sum( lines.map( line => line.min ) );
-          const neededMin = cell.getMinimumSize( orientation );
-          if ( neededMin > currentMin ) {
-            const lineDelta = ( neededMin - currentMin ) / lines.length;
-            lines.forEach( line => {
-              line.min += lineDelta;
-            } );
-          }
-        }
-      } );
+      {
+        const getCurrentCellSize = ( cell: GridCell ) => {
+          return _.sum( linesIn( cell ).map( line => line.min ) );
+        };
+        const isUnsatisfied = ( cell: GridCell ) => {
+          return getCurrentCellSize( cell ) > cell.getMinimumSize( orientation );
+        };
+        const forbiddenLines = new Set<GridLine>(); // Some lines will be forbidden from growing iteratively
+        const lineCanGrow = ( line: GridLine ) => {
+          return line.min < line.max - 1e-7 && !forbiddenLines.has( line );
+        };
+        const spanningCells = cells.filter( cell => cell.size.get( orientation ) > 1 );
+        let unsatisfiedSpanningCells = spanningCells.filter( isUnsatisfied );
+        while ( unsatisfiedSpanningCells.length ) {
+
+          type Constraint = { cell: GridCell; growingLines: GridLine[]; space: number };
+          type GrowConstraint = Constraint & { weights: Map<GridLine, number> };
+
+          const getGrowConstraint = ( cell: GridCell ): GrowConstraint | null => {
+            assert && assert( isUnsatisfied( cell ) );
+
+            const lines = linesIn( cell ).filter( lineCanGrow );
+
+            assert && assert( lines.length, 'GridCell for Node cannot find space due to maximum-size constraints' );
+            if ( !lines.length ) {
+              return null;
+            }
+
+            const currentSize = getCurrentCellSize( cell );
+            const neededMinSize = cell.getMinimumSize( orientation );
+            const space = neededMinSize - currentSize;
+
+            assert && assert( space > 0 );
+            if ( space < 1e-9 ) {
+              return null;
+            }
+            const totalLinesGrow = _.sum( lines.map( line => line.grow ) );
+
+            return {
+              cell: cell,
+              growingLines: lines.slice(),
+              space: space,
+              weights: new Map( lines.map( line => {
+                let weight: number;
+
+                if ( totalLinesGrow > 0 ) {
+                  weight = space * ( line.grow / totalLinesGrow );
+                }
+                else {
+                  weight = space / lines.length;
+                }
+
+                return [ line, weight ];
+              } ) )
+            };
+          };
+
+          let growConstraints: GrowConstraint[] = [];
+          for ( const cell of unsatisfiedSpanningCells ) {
+            const growConstraint = getGrowConstraint( cell );
+            if ( growConstraint ) {
+              growConstraints.push( growConstraint );
+            }
+          }
+
+          const recomputeGrowConstraints = () => {
+            growConstraints = growConstraints.map( constraint => {
+              if ( constraint.growingLines.some( line => forbiddenLines.has( line ) ) ) {
+                return getGrowConstraint( constraint.cell );
+              }
+              else {
+                return constraint;
+              }
+            } ).filter( constraint => constraint !== null ) as GrowConstraint[];
+          };
+
+          // Find all of the necessary max-size constraints that are relevant
+          let maxConstraints: Constraint[] = [];
+          let changed = true;
+          while ( changed && growConstraints.length ) {
+            // We'll need to iterate, and recompute constraints if our grow constraints have changed
+            changed = false;
+            maxConstraints = [];
+
+            for ( const cell of cells ) {
+              const max = cell.getMaximumSize( orientation );
+              if ( isFinite( max ) ) {
+                const lines = linesIn( cell );
+                // eslint-disable-next-line @typescript-eslint/no-loop-func
+                const dynamicLines = lines.filter( line => growConstraints.some( constraint => constraint.growingLines.includes( line ) ) );
+                const currentSize = _.sum( lines.map( line => line.min ) );
+
+                const space = max - currentSize;
+
+                // Check any "ungrowable" constraints, and remove all of their lines from consideration.
+                if ( space < 1e-9 ) {
+                  for ( const badLine of dynamicLines ) {
+                    forbiddenLines.add( badLine );
+                  }
+
+                  changed = true;
+                }
+                else {
+                  maxConstraints.push( { cell: cell, growingLines: dynamicLines.slice(), space: space } );
+                }
+              }
+            }
+
+            if ( changed ) {
+              recomputeGrowConstraints();
+            }
+          }
+
+          if ( growConstraints.length ) {
+            const growingLines = _.uniq( _.flatten( growConstraints.map( constraint => constraint.growingLines ) ) );
+            const weightMap = new Map<GridLine, number>( growingLines.map( line => {
+              let weight = 0;
+
+              for ( const constraint of growConstraints ) {
+                if ( constraint.growingLines.includes( line ) ) {
+                  weight += constraint.weights.get( line )!;
+                }
+              }
+
+              return [ line, weight ];
+            } ) );
+
+            let multiplier = Number.POSITIVE_INFINITY;
+
+            for ( const constraint of [ ...growConstraints, ...maxConstraints ] ) {
+              const velocity = _.sum( constraint.growingLines.map( line => weightMap.get( line )! ) );
+              multiplier = Math.min( multiplier, constraint.space / velocity );
+              assert && assert( isFinite( multiplier ) && multiplier > 0 );
+            }
+
+            for ( const line of growingLines ) {
+              const velocity = weightMap.get( line )!;
+              line.min += velocity * multiplier;
+            }
+
+            unsatisfiedSpanningCells = spanningCells.filter( isUnsatisfied );
+          }
+          else {
+            break;
+          }
+        }
+      }

       // Adjust line sizes to the min
       lines.forEach( line => {
@@ -224,7 +365,7 @@
         const cellLastIndexPosition = cellFirstIndexPosition + cellSize - 1;

         // All the lines our cell is composed of.
-        const cellLines = cell.getIndices( orientation ).map( index => lineMap.get( index )! );
+        const cellLines = linesIn( cell );

         const firstLine = lineMap.get( cellFirstIndexPosition )!;

GridConstraint handled above. It's a decent chunk of added code, it would be good to be reviewed by @marlitas or @jessegreenberg.
Tried to state the goals and high-level details of the algorithm near the top.

Some sandbox demos:
Demo GridBox:

min/max content widths, grow:

URL
Proportional grow used:

URL
Default grow:

Max-constrained grow:

Unbiased growth (before it would bias toward the left):

I reviewed the implementation. First of all, the documentation is excellent. I could get up to speed pretty quickly even though it is quite complicated. Also, the links to playground examples were a very nice way to play with this. I could see the behavior and also find good assertions when space could not be found. Thanks for that.
These are what I noted as I read through:

There are a number of inner functions, closures, and recomputations in loops. Is that OK for this context or do you think this is a performance critical area?
It is difficult for me to see how the exit condition is guaranteed for while ( unsatisfiedSpanningCells.length ) {, does it always make progress?

I agree with JG above. The documentation throughout was incredibly helpful. I don't know enough about performance optimization to comment on that other than the initial glance of nested loops that JG mentioned as well. I trust that has been tested. A couple of questions to also deepen my understanding.

Can you use flatMap here instead? It looks like we're only flattening by one level.

const growingLines = _.uniq( _.flatten( growConstraints.map( constraint => constraint.growingLines ) ) );

This definition of a for loop in GridConstraint made me wonder about the relationship between growConstraints and maxCosntraints. It seems like many constraints can share lines? Is it helpful for me to think of the constraints the same way I think of LayoutConstraints?
for ( const constraint of [ ...growConstraints, ...maxConstraints ] )

Can you provide a bit more context about hitting this scenario? Should it be an assertion? // Bail (so we don't hard error) if we can't grow any further (but are still unsatisfied).

There are a number of inner functions, closures, and recomputations in loops. Is that OK for this context or do you think this is a performance critical area?

A lot of the code is written mainly for readability, and we can adjust it for performance if needed in the future. If there are places that look particularly inefficient (where it wouldn't significantly reduce readability of the code), it sounds good to be proactive and improve things. Let me know?

It is difficult for me to see how the exit condition is guaranteed for while ( unsatisfiedSpanningCells.length ) {, does it always make progress?

It always makes progress, OR bails out if there is no progress to be made. Commit explaining more is above.

Can you use flatMap here instead? It looks like we're only flattening by one level.

Yup, thanks! Committed above.

Can you provide a bit more context about hitting this scenario? Should it be an assertion? // Bail (so we don't hard error) if we can't grow any further (but are still unsatisfied).

Added more explanation in the above commit, AND added an assertion. Hopefully that helps detect things.

This definition of a for loop in GridConstraint made me wonder about the relationship between growConstraints and maxCosntraints. It seems like many constraints can share lines? Is it helpful for me to think of the constraints the same way I think of LayoutConstraints?

They are not like LayoutConstraints. It is more like convex optimization. Essentially the "proportional increase" code creates a "velocity" vector (imagine as if it was time, and it marked certain lines to grow at a certain rate). We want to see "how much time" to elapse before we need to adjust our "velocity" vector.

maxConstraints are pretty much "hey stop at time T, because at that time our line that is getting expanded will be at its maximum size".
growConstraints are pretty much "hey stop at time T, because this will have satisfied specific cell's size, and we'll want to adjust velocity".

Essentially we'll want to find the minimum "stop at T" time each step, progress forward by that (to either max-out a cell, OR satisfy a cell), and then loop.
Does the above description make sense? If it is helpful, can we integrate that into the documentation in a helpful way?

@jessegreenberg and @marlitas, let me know about the above feedback, and if there are places to (a) optimize for performance, or (b) improve documentation / etc.

The above commit was helpful. Thanks @jonathanolson!

Does the above description make sense? If it is helpful, can we integrate that into the documentation in a helpful way?

The description you provided makes a lot of sense. I think my main issue is that I was trying to consolidate my understanding of a constraint as LayoutConstraint with the definition being used here. Upon re-reading the documentation you already provided it seems clearly stated, and I would just maybe add a line that it shouldn't be confused with LayoutConstraints. That they are irrelevant to each other. That was my only hang up. Otherwise all looks good to me!


Random variables

This would basically be a pretty shim over scipy. It would require a RandomVariable type, an Event type, probability function P that accepts Events, expected value function E that accepts random variables, and so on.
X ~ binom(n, p); P(X <= 3); E(X)

Don't need special syntax for assigning random variables, e.g. binom can be a function that returns a random variable and X is just a variable.
X = binom(n, p)

Note: > comparison operator would clash with current unit conversion operator.

Brainstorming:

sample function that takes a random variable and returns a set. Also takes a set.
mean function takes a random variable or set.

This is preeeetty much done, just have to add support for adding scalars to / multiply constants by RVs. I would like to support unions of events / joint probability / whatever, as well as adding random variables together, but that gets messy when RVs are dependent on each other. And should be easy enough to manually compute with the existing tools.

Actually, I don't see an immediate use for scalar arithmetic with RVs. Instead of E(X+1) you can just do E(X)+1, for example. So... passing on that for now.


Custom header not being sent

Summary
Details and comments
Fixes #1508

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

3 of 6 (50.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.06%) to 83.544%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

qiskit_ibm_runtime/api/session.py
3
6
50.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.06%

Covered Lines:
6219

Relevant Lines:
7444

💛  - Coveralls

@kt474 This fixes the issue.  Thanks!
Here is the header and middleware_job_id/0187e965-633a-47f7-a696-efb97edf5053 is what we expected.
X-Qx-Client-Application: qiskit-version-2/qiskit_ibm_runtime-0.22.0,qiskit-1.0.2*/qiskit_ibm_runtime~estimator.py/middleware_job_id/0187e965-633a-47f7-a696-efb97edf5053


OLS release 0.2.0 component SHAs: operator

Description
OLS release 0.2.0 component SHAs
Updated the operator SHA since it moved since the last SHA update
Type of change

[ ] Refactor
[ ] New feature
[ ] Bug fix
[ ] CVE fix
[ ] Optimization
[ ] Documentation Update
[x] Configuration Update
[ ] Bump-up dependent library

Related Tickets & Documents

Related Issue #
Closes #

Checklist before requesting a review

[x] I have performed a self-review of my code.
[ ] PR has passed all pre-merge test jobs.
[ ] If it is a core feature, I have added thorough tests.

Testing

Please provide detailed steps to perform tests related to this code change.
How were the fix/results from this change verified? Please provide relevant screenshots or results.

/lgtm
/approve


Unable to expand view for DICOM image/series

The DICOM series/image pops up in a small window which cannot be expanded easily - needs to be dragged manually. Would be ideal to double click on series to expand view in a simple manner.

I removed the MacOS label as this isn't operative system related. In lower resolution monitors this works alright, but I tried this in a Windows with a resolution of 1920x1080 pixels and this same issue occurred. I can use the mouse to adjust the width of the Treeview. but in this resolution I cannot shrink beyond this width in the screenshot.
Are you ok to have a look at this @IMI-TRISTAN? Issue #64 is also related with the TreeView graphics.

I found a potential solution to this which I will try later => it will involve files "Weasel.py" and "TreeView.py".
"Weasel.py" - the following lines should be added after the imports. It resolves the high-resolution monitors issue.
`
if hasattr(Qt, 'AA_EnableHighDpiScaling'):
QApplication.setAttribute(Qt.AA_EnableHighDpiScaling, True)
if hasattr(Qt, 'AA_UseHighDpiPixmaps'):
QApplication.setAttribute(Qt.AA_UseHighDpiPixmaps, True)
`
"TreeView.py" - with this resolution solved, TreeView width becomes very large, so:
self.treeView.setMinimumSize(700,500) should become self.treeView.setMinimumSize(300,500)

The comment above is the right solution. Will close this when implemented (waiting for other changes).

Hi @KanishkaS , this should be resolved now hopefully. Please have a quick look and let me know if it's all good.

@JSousa-UoL : yes, I can expand it on manual drag. It doesn't work yet on double clicking the series which may also be ideal for users.

Great news! That's right, we made significant changes to the TreeView and there's still a lot to be corrected. especially the columns. I'll close this issue and I'm sure more will be raised in a future round of tests.


This API can only be accessed with username and password Basic Auth

After running sudo -u _xcsbuildd cavejohnson setGithubCredentials and using a generated GitHub Auth token I get:

403: This API can only be accessed with username and password Basic Auth

Would be very nice to add support for Auth tokens.

What exactly is the desired behavior here?  Are you going to

Generate your own token all by yourself
"Use the source, Luke" to figure out what permissions the token needs
You want CaveJohnson to store it?

Desired behavior would be to generate and use a Github app "Personal access token" for these requests rather than typing my user Github password into the tool.
https://help.github.com/articles/creating-an-access-token-for-command-line-use/

As a workaround you can
echo "token" > /var/_xcsbuildd/githubcredentials

There's no particular reason why this couldn't be a cavejohnson command, or an arg to setGithubCredentials.  I'll put it on my list for the next release, but feel free to submit a PR if you want it faster.


Show event relay and all other available data

Duplicated by https://github.com/dluvian/voyage/issues/87


Applying coupons when creating subscription not working

Create subscription actually works but coupons are not applied though I send coupon_ids as params like this:
chargebee.subscription.create_with_items("xxxxx", {
"subscription_items":[{"item_price_id":"xxxxx","unit_price":418800}],
"coupon_ids":["TROOM"]
});
Is this bug of this library or chargebee backend issue?

I tested post man, and I see coupon_ids is added. so I think this is issue in this library.

Hi, This issue is fixed in v2.7.1 so closing this issue.


npm start

sry, i start a new issue here
when i run "npm start " after "yo react-webpack-redux" finished
0 info it worked if it ends with ok
1 verbose cli [ 'C:\Program Files\nodejs\node.exe',
1 verbose cli 'C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js',
1 verbose cli 'run',
1 verbose cli 'serve' ]
2 info using<EMAIL_ADDRESS>3 info using<EMAIL_ADDRESS>4 verbose run-script [ 'preserve', 'serve', 'postserve' ]
5 info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>6 silly lifecycle<EMAIL_ADDRESS>no script for preserve, continuing
7 info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>8 verbose lifecycle<EMAIL_ADDRESS>unsafe-perm in lifecycle true
9 verbose lifecycle<EMAIL_ADDRESS>PATH: C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin;E:\webpackdemo\node_modules.bin;F:\oracle\product\10.2.0\client_1\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn;C:\Program Files\Microsoft SQL Server\100\Tools\Binn;C:\Program Files\Microsoft SQL Server\100\DTS\Binn;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE;C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit;C:\Program Files\Microsoft SQL Server\110\Tools\Binn;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\Microsoft SQL Server\120\Tools\Binn;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\Program Files\nodejs;C:\Program Files\TortoiseGit\bin;C:\Users\Administrator.dnx\bin;C:\Users\Administrator\AppData\Roaming\npm;D:\Program Files\Microsoft VS Code\bin
10 verbose lifecycle<EMAIL_ADDRESS>CWD: E:\webpackdemo
11 silly lifecycle<EMAIL_ADDRESS>Args: [ '/d /s /c', 'node server.js --env=dev' ]
12 silly lifecycle<EMAIL_ADDRESS>Returned: code: 1 signal: null
13 info lifecycle<EMAIL_ADDRESS>Failed to exec serve script
14 verbose stack Error<EMAIL_ADDRESS>serve: node server.js --env=dev
14 verbose stack Exit status 1
14 verbose stack at EventEmitter. (C:\Program Files\nodejs\node_modules\npm\lib\utils\lifecycle.js:232:16)
14 verbose stack at emitTwo (events.js:87:13)
14 verbose stack at EventEmitter.emit (events.js:172:7)
14 verbose stack at ChildProcess. (C:\Program Files\nodejs\node_modules\npm\lib\utils\spawn.js:24:14)
14 verbose stack at emitTwo (events.js:87:13)
14 verbose stack at ChildProcess.emit (events.js:172:7)
14 verbose stack at maybeClose (internal/child_process.js:818:16)
14 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
15 verbose pkgid<EMAIL_ADDRESS>16 verbose cwd E:\webpackdemo
17 error Windows_NT 10.0.10586
18 error argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "run" "serve"
19 error node v5.3.0
20 error npm v3.3.12
21 error code ELIFECYCLE
22 error<EMAIL_ADDRESS>serve: node server.js --env=dev
22 error Exit status 1
23 error Failed at the<EMAIL_ADDRESS>serve script 'node server.js --env=dev'.
23 error Make sure you have the latest version of node.js and npm installed.
23 error If you do, this is most likely a problem with the webpackdemo package,
23 error not with npm itself.
23 error Tell the author that this fails on your system:
23 error node server.js --env=dev
23 error You can get their info via:
23 error npm owner ls webpackdemo
23 error There is likely additional logging output above.
24 verbose exit [ 1, true ]

Can you tell me which node and npm version you are using.

Summoning @zerocity to take a look at this under Windows.

I am unable to reproduce this issue under Windows 10. npm start works fine for me

>node --version
v4.3.2

As with #10, thank you @glcheetham for the feedback, closing this down.
Feel free to reopen if you into this problem and can provide more info.


Some thinking to discuss a way to fix the RCE issue

Hey,
Attended your session at JSFoo today, liked the answers !
Just wanted to discuss an approach through which Remote Code execution chances can be brought to a very low percentage. This approach can be used

Install the package in a sandbox env, for eg. superagent
Unless it is used in the code, don't install in main repo, prevent installation before somebody does this:

superagent.get(----)

Then make sure that get method is there corresponding to superagent that is installed in sandbox env, if it is there, then install it. I think this methodology will significantly decrease the chances of RCE ?

Ah this is super interesting. Any idea on how do you detect usage in a generic way?

Mostly all my sunny days go while doing Python, will try to figure out something during the conference.


Code folds uncollapse when selecting over the ... marker (on nested collapses)

Steps to repro:
Write some HTML

        Test

Fold the inner

Start selecting text from the beginning or end of line 4 (the collapsed one). The fold uncollapses when mouse hovers over ...
(Brackets 1.3, Win 8.1)

@petetnt I just followed the steps that you mentioned above and I am not able to repro this. Are any other steps involved here to repro the issue?

@nethip nope, that is all. Here's a (low quality) gif:

@petetnt Yes I am repro this now. But it is quite strange that I followed the exact steps in the before run and I was not able to repro it.

It seems to be a CodeMirror issue as it works on the CodeMirror's code folding demo too, crossref codemirror/CodeMirror#3255

Okay, it's not a bug, it's a feature that can be controlled by clearOnEnter option to markText as confirmed on the Code Mirror issue. Preference idea then? :dancers:


partition key reached maximum size of 20 gb

what should happen when getting this error ? how can i support partitioning on non partitioned container ?
partition key reached maximum size of 20 gb ?

Hi @NimaRayyan, to better assist you, can you provide a link to the doc that your question is based on? If you're question isn't based on a particular doc, can you be more specific on which service you're referring to?

closed


0.5.0 Version Update

Modulus Pull Request
Description
Updates the version
Checklist

[x] I am familiar with the Contributing Guidelines.
[x] New or existing tests cover these changes.
[x] The documentation is up to date with these changes.
[x] The CHANGELOG.md is up to date with these changes.
[ ] An issue is linked to this pull request.

Dependencies

@ktangsali should this get pointed to RC branch?

/blossom-ci

/blossom-ci


React to specific API status code 400

It would be great (or essential is some cases) to be able to react - in a customisable way - to specific API events, which are returned with a 400 status code.
In particular to the code 400 event with message "NO_OPEN_INCIDENT_WITH_KEY: no open incident found with key ....".
Context: It might (should) not matter to close an event multiple times (this is when this error happens).

Hi @fnerdwq just to make sure that I understand you correctly, you are suggesting to override the 400 error in case of NO_OPEN_INCIDENT_WITH_KEY  with a 200 response?
I think that this is not something we should silently drop in the client, its better to let each implementation handle this case regarding to its needs.

Not exactly. I want to be able to explicitly react on the NO_OPEN_INCIDENT_WITH_KEY response in some way - e.g. "ignore this response, it's fine for me".
If I see it correctly, currently everything except a 200 will be returned as an error. The error string contains the string with details like
&errors.errorString{s:"NO_OPEN_INCIDENT_WITH_KEY: no open incident found with key ..."

(see https://github.com/iLert/ilert-go/blob/e4b94fcdc8c1613dc379f3a18b2e05c880de35ce/event.go#L89-L91)
I would like to have the possibility to structured way to react on the specific responses like NO_OPEN_INCIDENT_WITH_KEY instead of parsing error strings.
Background: We are working on a PoC forwarding Prometheus Alertmanager Alerts to iLert Event API (for specific reasons the direct Prometheus of iLert is not working for us). Due to grouping mechanism of Alertmanager, it can happen, that "resolve" alerts are send multiple times by Alertmanager.

Ah ic! Thanks for clarifying. @yacut could you have a look at this and please preserve the error bodies in error cases, thx.

@fnerdwq Thanks for the issue. With the 1.4.0 version you can extract an api error code from the original error. see this example:
https://github.com/iLert/ilert-go/blob/da5277b7a580293205028e462664aa457b1b2d94/examples/event/main.go#L20-L30

Looks very good! Thanks. I will test tomorrow.

Tested and works fine. Thanks again!


[Bug] Display handling / data retrieval for test results when there is no internet connection ...

Avoid duplicates

[X] Bug is not mentioned in the FAQ
[X] Bug is specific for Android only, for general issues / questions that apply to iOS and Android please raise them in the documentation repository
[X] Unknown for iOS.
[X] Bug is not already reported in another issue

Technical details

Device name: Nokia 7.2, TA-1196, Build: 00WW_2_410_SP06
Android version: 10
App version:  2.13.2
ENF version:<PHONE_NUMBER>0

Describe the bug
Somehow it seems unimaginable for designers, developers, programmers and testers these days that a device has no internet connection ;-).
For example, if a quick test result is stored in the CWA, it will be downloaded again each time the CWA is called up.
If there is no internet connection, this leads to the following results:
"Data retrieval ...":

"Quick test error" (after several minutes):

Option 1:
Tab on DETAILS:

and after tab on "<", the quick test result is displayed:

Option 2:
After tab on OK (insteed of DETAILS) in the "quick test error" display, there is either another "data retrieval ..." (see above) or the quick test result is displayed immediately (see last screen sheet in Option 1).
Steps to reproduce the issue
Make sure that a QR code from a quick test has already been scanned into the CWA.
Option 1:

Start CWA
See main screen ("Data retrieval ..."). Wait for error message.
Tap on DETAILS (error message) then tap "<" (back) and
the quick test result is displayed (last screenshot above).

Option 2:

Start CWA again.
See main screen ("Data retrieval ..."). Wait for error message.
Tap on OK (error message), the "data retrieval ..." may be repeated (wait again) and / or
the quick test result is displayed (last screenshot above).

It seems that after a certain time the "data retrieval ..." starts again automatically, even if the "quick test result" was displayed last.
Expected behaviour
Shouldn't the certificate be displayed as in the last screenshot if there is no internet connection?
Or a possibly necessary check is attempted in the background?
Possible Fix
It should not only annoy the gate keeper a bit if he has to wait minutes for the necessary display of a quick test result.
And it is unlikely to be conducive to acceptance of the CWA solution.
Additional context
Are only rapid test results affected by this - without internet connection - issue?
Answer: no. PCR-Tests are also affected.

Internal Tracking ID: EXPOSUREAPP-10746

If there is no internet connection when the CWA is starting, the above also applies to PCR-Tests.

Just to make sure I understand you correctly, when you're using "certificate" in this context, you're not referring to the DCCs but to the "test proof"/Testnachweis? Internal Tracking ID: EXPOSUREAPP-10746

Corona-Warn-App Open Source Team

@larswmh,
yes, sorry, I mean the tests (rapid test / PCR test) on main screen; according to the screenshots. Not the DCCs.

@larswmh,
the "rapid-test" label is wrong, because ...

If there is no internet connection when the CWA is starting, the above also applies to PCR-Tests.

the problem affects 'rapid-tests' and 'PCR-tests'.

@Jo-Achim Can you still reproduce this with version 2.17.1

@Jo-Achim @Ein-Tim With 2.16 behaviour should be: The "Details" button on the dialog has been removed, you can only tap OK. The test result seems to show up in flight mode right from the beginning. It's not trying to calculate the result anymore (negative rat and pending pcr should show up fine).

@dsarkar,
no, I can't verify the problem at the moment because I don't currently have a quick test / no quick test is open.

I'd like to add a point that goes with the title here... (and I'm not sure if it's already been addressed)
If the CWA starts, the result of a (quick) test is called up automatically. This can take a moment - especially if the smartphone is abroad.
So far so good.
If one then pulls up the details of the test result and returns back to the CWA main screen (via X), the same test result that was just retrieved is obviously retrieved again.
I'm not sure if this is really necessary!?

PR https://github.com/corona-warn-app/cwa-app-android/pull/5223


User can create an account

Accounts in Miden
Accounts are the core concepts in Polygon Miden. Accounts represent users and autonomous smart contracts. In Pioneer's testnet, we will only have private accounts. The Miden Node stores only a commitment to an account state, see https://0xpolygonmiden.github.io/miden-base/architecture/accounts.html.
User Story / Goals
As a developer, I can create a Miden account. There is an interface I can use for that. The account already has some pre-configured functions to send and receive assets.
After account creation, I can inspect this account and see the ID, storage, nonce, vault, and code.
Details
There should already be a simple endpoint and Miden Client interface from #1. Now, we need another feature for the Miden Client. The user needs to be able to grind valid account IDs, the format is well-defined.
https://github.com/0xPolygonMiden/miden-base/blob/dc9c013b528f17371cacc507e4e812d75545a6fb/objects/src/accounts/account_id.rs#L16-L28
The interface must allow the user to inspect the account contents. The code should have the basic functionality in MASM.
We also need comprehensive error messages in error cases.
Note: This tasklist and the issues are preliminary. The developer who picks this tracking issue up, should plan accordingly and create the necessary issues
### Sub Issues
- [ ] Add a feature to create a new account
- [ ] Store the new account
- [ ] Add a feature to inspect an account
- [ ] Create code to send and receive assets in MASM
- [ ] ...

Accounts in Miden
Accounts are the core concepts in Polygon Miden. Accounts represent users and autonomous smart contracts. In Pioneer's testnet, we will only have private accounts. The Miden Node stores only a commitment to an account state, see https://0xpolygonmiden.github.io/miden-base/architecture/accounts.html.
User Story / Goals
As a developer, I can create a Miden account. There is an interface I can use for that. The account already has some pre-configured functions to send and receive assets.
After account creation, I can inspect this account and see the ID, storage, nonce, vault, and code.
Details
There should already be a simple endpoint and Miden Client interface from #1. Now, we need another feature for the Miden Client. The user needs to be able to grind valid account IDs, the format is well-defined.
https://github.com/0xPolygonMiden/miden-base/blob/dc9c013b528f17371cacc507e4e812d75545a6fb/objects/src/accounts/account_id.rs#L16-L28
The interface must allow the user to inspect the account contents. The code should have the basic functionality in MASM.
We also need comprehensive error messages in error cases.
Note: This tasklist and the issues are preliminary. The developer who picks this tracking issue up, should plan accordingly and create the necessary issues
### Sub Issues
- [ ] Add a feature to create a new account
- [ ] Store the new account
- [ ] Add a feature to inspect an account
- [ ] Create code to send and receive assets in MASM
- [ ] ...

We just need fungible tokens and a basic account


Correct typos in data (i.e. fuzzy matches)

[x] Select in concatenated.tsv file for the fuzzy matches
[x] Compare the original scientificName with the scientificName_gbif
[x] double check the names (eol.org , google...)
[x] Correct typos!

(17 fuzzy matches)

I have to update the fuzzy match file, based on the new backbone taxonomy

Who will take on this task? The file has been updated.

I ll give it a try :)

The corrected fuzzy match should be reintegrated in the concatenated.tsv

Imported in concatenated at ca04720e576b71fb0ba41e8e881d902a7a533ec7. The fuzzy match list was removed in 6b5b3fb361d04fe77d911fc249d56822a80a5d2f, but can still be accessed at https://github.com/inbo/alien-species-checklist/blob/d6911b04e1c0ab8c3609e1148438c8167fee6047/data/fuzzy-matches.tsv


swift 3 version of this?

+1

Just submitted a PR with updates to Swift3.

I'm uploading a Swift 4 version as well this week.


Redirect loop

Hello,
i am having a redirect loop, the problem is that the i am redirecting the user if user has no roles...
it is going to a page with [Authorize()] attribute, the problem is that the ClaimPricipal is empty, hence, it is trying to Authenticate. How do i pass the ClaimPricipal  a long ?
`
public void Configure(string name, OpenIdConnectOptions options)
{
//other stuff
options.Events = new OpenIdConnectEvents
{
OnTokenValidated = otv =>
{
               //Some role validation logic...

                  if (accounts.RoleId == (int)RolesEnum.None)
                  {
                      otv.Response.Redirect("/Home/NoRoles");
                      otv.HandleResponse();
                  }

                  return Task.CompletedTask;
              }
            };
        }

`

What is your authentication mechanism? Where are you creating your ClaimsPrincipal? How are you attaching it to the request? How is it persisted?

There you go:
What is your authentication mechanism: SSO with Auzure, the default functions generated by visual studio for Azure Authentication.
Where are you creating your ClaimsPrincipal: I am not creating the ClaimsPrincipal, I am just addng a role using ClaimTypes.Role inside the created class (AzureAdAuthenticationBuilderExtensions)
How are you attaching it to the request: I am not, because i am not creating it !
How is it persisted: I don't understand what you mean.
of couse removing redirect work as expected !

OK, so what you're seeing isn't unexpected. You need to do some serious work to get Azure AD to send roles, so you're redirecting to something that probably needs authorization, and back into the loop you go.

Yes, i understand it's not expected. We are not using Azure roles, we are using local from the DB. The user gets authenticated, which is ok. The only problem is when redirect using Response.Redirect("/Home/NoRoles"); and .HandleResponse(); The ClaimsPrincipals is empty should the ClaimsPrincipals be passed ?

I believe you're abandoning the flow at that point, so you're bypassing the pieces that actually setup the ClaimsPrincipal see https://github.com/aspnet/Security/blob/dev/src/Microsoft.AspNetCore.Authentication.OpenIdConnect/OpenIdConnectHandler.cs#L551

Ahh yes i see! Thank you so much ! changed event handling to OnTicketReceived

I spoke too fast! I see, how do i get the flow to complete and then redirect, do i need to write a middleware or i can use an event from OpenIdConnect ?

Fixed it by using AccessDeniedPath insted !


"This version of Nixpkgs requires Nix >= 1.10" messages points to outdated wiki page

When someone tries to run nixos-rebuild with a too-old version of nix, they'll see this error message:
This version of Nixpkgs requires Nix >= 1.10, please upgrade! See https://nixos.org/wiki/How_to_update_when_Nix_is_too_old_to_evaluate_Nixpkgs
However, the instructions at that wiki page are out of date (e.g. the URL in the example curl command gives a 404), and the wiki's being shut down in any case.
See for example this nix-dev thread.

Fixed in 2e91b2d585afdb3b076b3ad655579774f100bad5.


Mixscape data type error

Report
Hello!
When I'm trying to reproduce the tutorial with a different dataset, I receive the following error in the function Mixscape.mixscape.
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
Cell In[70], line 1
----> 1 mixscape_identifier.mixscape(adata = adata, control = 'control', labels='perturbation', layer='X_pert')

File ~/miniconda3/envs/pertpy/lib/python3.9/site-packages/pertpy/tools/_mixscape.py:244, in Mixscape.mixscape(self, adata, labels, control, new_class_name, min_de_genes, layer, logfc_threshold, iter_num, split_by, pval_cutoff, perturbation_type, copy)
    240 vec = np.mean(X[guide_cells][:, de_genes_indices], axis=0) - np.mean(
    241     X[nt_cells][:, de_genes_indices], axis=0
    242 )
    243 # project cells onto the perturbation vector
--> 244 pvec = np.sum(np.multiply(dat.toarray(), vec), axis=1) / np.sum(np.multiply(vec, vec))
    245 pvec = pd.Series(np.asarray(pvec).flatten(), index=list(all_cells.index[all_cells]))
    246 if n_iter == 0:

AttributeError: 'numpy.ndarray' object has no attribute 'toarray'

Nevertheless, it doesn't happen when running with the dataset of the tutorial. I think that the problem is that Mixscape.pert_sign does not create .layers['X_pert'] as a sparse matrix, but as a normal numpy array.
Thanks!
Version information
No response

@AlejandroTL Thanks for finding out this bug! I will solve this as soon as possible.


U5 - As an user, I want to see easy ways to upload my photos and create new albums, not needing to think too much or try to dig into the application to find functionalities

[ ] Make the general user home page
[ ] Add the functionality buttons
[ ] Add the photo gallery

First of all, this user story is more focused on design and front-end flow than real functionality. Thinking about this, it can be achieved with some mock data, embedded in the application, to test and see the design.
Requirements

The application will have simple good design
The design have to highlight the main photo functionality
The design should indicate clearly the workflow: Create album, Upload photo or Logout
All the indicated workflows are transparent in the user homepage

The design gonna be simple, inspired in this site: https://www.siteinspire.com/websites/11481-ian-loring-shiver
However, the thumbnails on the user home page all have a default resolution (TBD)

The libraries to achieve this are generally related to style. So, is necessary to install and configure radix, as described in https://www.radix-ui.com/docs/primitives/overview/getting-started


Compression Tools

Create Tool to Compress and Uncompress files/folders

Tar
Zip
???

Tool can then be used in the File-Manager, File Converter or anywhere else

compress and uncompress, delete files compressed

zip (windows compatible) and tgz
zstd1?


Fix some IWYU for unordered_map

Signed-off-by: Henner Zeller<EMAIL_ADDRESS>

Codecov Report

Merging #2949 (7a29e13) into master (f100285) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #2949   +/-   ##
=======================================
  Coverage   27.48%   27.48%
=======================================
  Files          99       99
  Lines       32497    32497
=======================================
  Hits         8931     8931
  Misses      23566    23566

Continue to review full report at Codecov.

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


Different 50unattended-upgrades file

The /etc/apt/apt.conf.d/50unattended-upgrades from distro updates is different then the image.
yago@scw-c647f6:/etc/apt/apt.conf.d$ cat 50unattended-upgrades
// Automatically upgrade packages from these (origin:archive) pairs
Unattended-Upgrade::Allowed-Origins {
	"${distro_id}:${distro_codename}";
	"${distro_id}:${distro_codename}-security";
//	"${distro_id}:${distro_codename}-updates";
//	"${distro_id}:${distro_codename}-proposed";
//	"${distro_id}:${distro_codename}-backports";
};

// List of packages to not update (regexp are supported)
Unattended-Upgrade::Package-Blacklist {
//	"vim";
//	"libc6";
//	"libc6-dev";
//	"libc6-i686";
};

// This option allows you to control if on a unclean dpkg exit
// unattended-upgrades will automatically run
//   dpkg --force-confold --configure -a
// The default is true, to ensure updates keep getting installed
//Unattended-Upgrade::AutoFixInterruptedDpkg "false";

// Split the upgrade into the smallest possible chunks so that
// they can be interrupted with SIGUSR1. This makes the upgrade
// a bit slower but it has the benefit that shutdown while a upgrade
// is running is possible (with a small delay)
//Unattended-Upgrade::MinimalSteps "true";

// Install all unattended-upgrades when the machine is shuting down
// instead of doing it in the background while the machine is running
// This will (obviously) make shutdown slower
//Unattended-Upgrade::InstallOnShutdown "true";

// Send email to this address for problems or packages upgrades
// If empty or unset then no email is sent, make sure that you
// have a working mail setup on your system. A package that provides
// 'mailx' must be installed. E.g<EMAIL_ADDRESS>//Unattended-Upgrade::Mail "root";

// Set this value to "true" to get emails only on errors. Default
// is to always send a mail if Unattended-Upgrade::Mail is set
//Unattended-Upgrade::MailOnlyOnError "true";

// Do automatic removal of new unused dependencies after the upgrade
// (equivalent to apt-get autoremove)
//Unattended-Upgrade::Remove-Unused-Dependencies "false";

// Automatically reboot *WITHOUT CONFIRMATION*
//  if the file /var/run/reboot-required is found after the upgrade
//Unattended-Upgrade::Automatic-Reboot "false";

// If automatic reboot is enabled and needed, reboot at the specific
// time instead of immediately
//  Default: "now"
//Unattended-Upgrade::Automatic-Reboot-Time "02:00";

// Use apt bandwidth limit feature, this example limits the download
// speed to 70kb/sec
//Acquire::http::Dl-Limit "70";

Hello !
I ve got the same issue here ! The problem happenned when I proceed to an "apt upgrade" on my system.
A manual action is needed to unstuck the upgrade process, and then this can't be automated through a script. I automaticaly deploy my system, and I have to do a manual action after the first launch because of that.
Is it possible for you to do something ?


CB-11455: (ios) Add mandatory iOS 10 privacy description

Platforms affected
iOS
What does this PR do?
Adds the mandatory NSContactsUsageDescription key to the info.plist, allowing to pass the value as a variable.
Documented the usage of the variable on plugin install as iOS quirk
What testing has been done on this change?
Tested on iOS 10 device
Checklist

[X] ICLA has been signed and submitted to<EMAIL_ADDRESS>[x] Reported an issue in the JIRA database
[x] Commit message follows the format: "CB-3232: (android) Fix bug with resolving file paths", where CB-xxxx is the JIRA ID & "android" is the platform affected.
[ ] Added automated test coverage as appropriate for this change.

Cordova CI Build has completed successfully.
Commit     - Link
Dashboard - Link

Builder Name
Console Output
Test Report
Device Logs

Windows 8.1 Store
Link
Link
Link

Windows 10  Store
Link
Link
Link

Windows 8.1 Phone
Link
Link
Link

iOS
Link
Link
Link

Android
Link
Link
Link


Deep Learning!

production-ready deep learning implementation.

Coverage decreased (-1.0%) to 76.822% when pulling 1897e2f4e34127bfbf7f30604f819717306daccf on keras into 8ad157c2b599aab2127f947d8e9cd3659e001aa3 on master.


Error: Unsupported exchange

Hi,
I got this error,
can someone help me with this?
br,
Pim.
/root/gekko/gekko.js:84
util.die(Unsupported exchange: ${config.watch.exchange.toLowerCase()})
^
SyntaxError: Unexpected token ILLEGAL
at Module._compile (module.js:439:25)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:902:3

That is very strange, Gekko is trying to tell you that the exchange you configured is not supported. But while trying to do so it fails for some reason (That check is working fine for me). What version of node are you running (node -v)?

Hi,
node version = v0.10.25
I have no idea about the problem :/

Your version of nodejs is too old. Please download a more recent version (v4 or higher).

If you have any problems with supported/unsupported exchanges please comment here. The currently supported exchanges can be found here.


[FLINK-20379][connector/kafka] Update KafkaRecordDeserializationSchema to enable reuse of DeserializationSchema and KafkaDeserializationSchema

What is the purpose of the change
The current KafkaRecordDesrializer has the following problems:

The existing DesrializationSchema and legacy KafkaDeserializationSchema implementations cannot be reused.
Missing an open() method with context for serialization and deserialization.

The purpose of the change is to fix the above issues.
Brief change log

Renamed KafkaRecordDeserializer to KafkaRecordDeserializationSchema to follow the naming convention.
Added the method getUserCodeClassLoader() to SourceReaderContext so the SourceReader implementation can construct the SerializationDeserializationContext.
Added methods valueOnly(...) and open(..) in the KafkaRecordDeserializationSchema interface to enable the reuse of the DeserializationSchema and KafkaDeserializationSchema.
Added the method setValueOnlyDeserializer(...) in KafkaSourceBuilder class to make it easy to set value-only deserializer.
Added unit tests in TestingDeserializationContext and KafkaRecordDeserializationSchemaTest.

Verifying this change

Added tests in KafkaRecordDeserializationSchemaTest to verify the changes made in KafkaRecordDeserializationSchema

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes)
The serializers: (yes)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (no)
If yes, how is the feature documented? (JavaDocs)

Based on the offline discussion with @becketqin, I am going to help fix KafkaSource related bugs. And I will rebase and submit code from https://github.com/apache/flink/pull/14303 and https://github.com/apache/flink/pull/14239.
The code in this PR mostly comes from Jiangjie's https://github.com/apache/flink/pull/14303.

@flinkbot run travis

@lindong28 Thanks for the patch. LGTM.
Since the patch is mostly based on my original PR, it would be good to see if @StephanEwen also wants to take a look.


is it possible to draw a rectangle on the seadragon canvas?

Hi . I m looking for a way to draw with drag and drop
1- right click on the canvas will create a drawer pointer and then I can create rectangle until I will click again to save that.
example:
http://jsfiddle.net/d9BPz/546/

https://github.com/picturae/openseadragonselection is a plugin for doing this. If it doesn't do exactly what you want, you can look at the code to get ideas for how to do it yourself.


support rxi/log.lua

What about adding support for your rxi/log.lua coloring?

If you wanted to add this yourself the easiest way to go about it would probably be to wrap lovebird.print() (or override it) and replace the ANSI color escape codes with the corresponding HTML tags for coloring the text before passing it to the original lovebird.print() function (also making sure to set lovebird.allowhtml to true). Even easier still might be to modify log.lua to use HTML instead of ANSI color codes.
I didn't have plans to do this and I likely won't accept such changes into either project. It seems out of the scope of log.lua and log.lua doesn't seem like it would be used by enough people to make it worth changing lovebird for.
That being said if you decide to make the changes I mention above for your own project and get stuck let me know, I'd be happy to answer questions.

Sorry for late reply.
Thanks for help and your suggestion to just overwrite lovebird.print()!


Panel View HQ stretches image

Hello!
I own a kindle paperwhite 2 and using the target device as Kindle PW 1/2, Manga mode checked, Spread splitter checked, Panel View checked(for 4 HQ panels) results in a stretched image, even thought it auto-forces the upscale option which should prevent stretching.
I've tried this with more mangas and the result is always a stretched image. Both unchecked and intermediate settings work correctly, outputting the proper aspect ratio(stretch/upscale setting works as intended).

I presume you tested it on real device too?

Yes, of course. It looks the same on my device as it does on the screenshots I took.

OK. I not touched that part of code for some time and for now I'm not 100% sure if it is a bug or expected behavior.
I will check it out.

Found the problem. It will be fixed in next release.

Thank you! Looking forward to it!


sw: Add support for multiple yaml files in run.py

Small tweak which is useful for #57 , that splits run.yaml into multiple different yaml files.
I just made the argument a "one or more" and put a for loop around the test readout logic.

Seems to be working on banshee, so I'm going ahead already


bug(mat-select-trigger): error at labels

Is this a regression?

[x] Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was
No response
Description
Updating Material to 13.3.* the mat-trigger-lables are not working anymore (see screenshots).
Reason for that is that the class "mat-select-trigger" uses table-cell before and no flex is used.
.mat-select-trigger {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  position: relative;
  box-sizing: border-box;
  width: 100%;
}

.mat-select-trigger {
  display: inline-table;
  cursor: pointer;
  position: relative;
  box-sizing: border-box;
}

Reproduction
creating a multi-select with mat-chips as mat-trigger labels
Expected Behavior
shoudl work like before
Actual Behavior
see screenshot. Labels are out of bound!
Environment

Angular: 13.3.2
CDK/Material: 13.3.2
Browser(s): all
Operating System (e.g. Windows, macOS, Ubuntu): all

This one helps:
::ng-deep .mat-select-trigger {
    height: auto !important;
}

Reason ist that in indigo-pink.css the following value is set:
.mat-select-trigger {
  height: 1.125em;
}

Do not know if it´s still a bug!?

Closing this as a not a bug since we don't support nesting chips inside a select. It doesn't make sense in terms of accessibility.


add code change from esbenp:fix-132

Context
Pulls in changes from https://github.com/php-vcr/php-vcr/pull/161

oops wrong fork. Closing