Macro based whitelisting of locations allowed to cache

This is useful particularly in case of partitioned tables. Today, whitelisting is a regex e.g. if user wants to whitelist two tables
which appear in location reviews and bookings under same s3 prefix like s3://mybuckets/tables then the could add this to config:
hadoop.cache.data.location.whitelist=.*mybuckets/tables/(reviews|bookings).*

The problem with this is that if say bookings is partitioned by month and has data for many months while user only wants to cache the
data for last two months, user will have to keep updating this config everytime the month change. To solve that, we should provide a
macro based input to this config. E.g. if reviews are partitioned yearly and booking monthly and user wants to enable caching for
only last 5 years of reviews and last 2 months of bookings, this should be possible:
hadoop.cache.data.location.whitelist=.*mybuckets/tables/(reviews/year=$lastFiveYears$|bookings/month=$lastTwoMonthsNames$).*

Rubix should evaluate the macros $lastFiveYears$ and $lastTwoMonthsNames$ at runtime and come up with the whitelisting config as:
hadoop.cache.data.location.whitelist=.*mybuckets/tables/(reviews/year=(2016|2015|2014|2013|2012)|bookings/month=(October|September)).*

Rubix should provide some of the common functions out of the box and the system should be extendable for user defined macros.
E.g. if a particular user has data partitioned by store location as s3://mybucket/tables/stores/location=xyz and wants to only
cache data for stores in Bangalore and Pune, he should be able to write a custom function to do it, add that jar and use it in
whitelist as:
hadoop.cache.data.location.whitelist=.*mybuckets/tables/stores/location=$com.myCompany.rubix.myCustomStoreSelector$.*

Is there any updates on this feature?

Is there any plan to implement this feature in Rubix ?


Create a OurStoryCard

[ ] Create an OurStoryCard in the molecules folder
[ ] It should receive image, story, mode props
[ ] story prop should allow the display of rich text
[ ] mode prop should be primary or secondary (image in left side, image in right side)

i'll work on this


Show Views in the Structure tool window

What feature do you want to see added?
Lombok plugin somehow shows the generated items in the structured view. It'd be nice to show Stapler views in the structure as well. It will give more ways to discover and navigate to the class's views.
Upstream changes
No response

Lombok plugin details to use as reference:

https://plugins.jetbrains.com/plugin/6317-lombok
https://github.com/mplushnikov/lombok-intellij-plugin/blob/master/src/main/resources/META-INF/plugin.xml#L130
https://github.com/mplushnikov/lombok-intellij-plugin/blob/master/src/main/java/de/plushnikov/intellij/plugin/extension/LombokStructureViewExtension.java

Hello @duemir,
could you detail "shows the generated items in the structured view". I'm not sure to understand how to access/enable this with lombok plugin? Do you mean file structure view?


fix event-stream

https://github.com/fabric8-ui/fabric8-ui/pull/3420/commits/bb947d6ea833afa632596c16eaba9fe53839f9f1
Pull request template
Checklist

[ ] I have read the CONTRIBUTING guide
[ ] branch rebased on develop
[ ] styleguide check npm run validate
[ ] good naming
[ ] keep simple
[ ] video or screenshot attached
[ ] testing instruction attached
[ ] check your PR once again

Description

Video or screenshot

What and how to test

npm ls event-stream flatmap-stream  теперь не находит


Log path locations when loading data sources

Also add missing HiveParquetSource to api.scalding, and some minor formatting.

👍


Revert trim command to trim all whitespace by default (fixing `docker…

… build`)

Build fails with
The command "eval "$(curl -sL https://gist.githubusercontent.com/kylef/5c0475ff02b7c7671d2a/raw/02090c7ede5a637b76e6df1710e83cd0bbe7dcdf/swiftenv-install.sh)"" failed and exited with 7 during .

URL works now, is there a way to re-trigger Travis?

Moved to branch in qutheory and giving travis another chance to build - closing this one


[diag] Move otPlatDiagModeGet() check to ProcessCmd

All diagnostic commands (instead of diag start) should fail if device is not in diagnostic mode. Previously it was verified by each command's process method (with a missing check in ProcessEcho and ProcessGpio). This commit moves the check directly to ProcessCmd and cleans up redundant code.

Good optimization about checking once in ProcessCmd(). Thanks. 👍
We can consider doing something similar with AppendErrorResult(error) calls (which seem to be present at the end of all Process{Something}() methods). We can move them to ProcessCmd(). Maybe in a future PR?

I've moved AppendErrorResult(error) to  ProcessCmd() as I had to fix CI anyways.
I've also noticed that (if I understand the code correctly :) ) we can remove diag rcp start/stop. These commands set otPlatDiagModeSet which is set by diag start/stop anyways and IMO these commands can add some confusion. For example in posix-diag-rcp.exp we use only diag start/stop, while not using diag rcp start/stop anywhere.

I've also noticed that (if I understand the code correctly :) ) we can remove diag rcp start/stop commands. These commands set otPlatDiagModeSet which is set by diag start/stop anyways and IMO they can introduce some confusion. For example in posix-diag-rcp.exp we use only diag start/stop, while not using diag rcp start/stop anywhere.

OK, just found out that diag commands sent to RCP don't need to have rcp prefix, so processstart and processstop implementation on RCP side should not be removed. Reverted the change. I still think that in documentation we should not suggest using diag rcp start and diag rcp stop commands as in tests we also always start diag on host as well?

I've also noticed that (if I understand the code correctly :) ) we can remove diag rcp start/stop commands. These commands set otPlatDiagModeSet which is set by diag start/stop anyways and IMO they can introduce some confusion. For example in posix-diag-rcp.exp we use only diag start/stop, while not using diag rcp start/stop anywhere.

OK, just found out that diag commands sent to RCP don't need to have rcp prefix, so processstart and processstop implementation on RCP side should not be removed. Reverted the change. I still think that in documentation we should not suggest using diag rcp start and diag rcp stop commands as in tests we also always start diag on host as well?

The diag rcp commands are used for debugging.  The description of the diag rcp command mentions it: https://github.com/openthread/openthread/blob/main/src/core/diags/README.md#diag-rcp. So I think we should not remove the diag rcp start/stop commands from the README.md.
The comment in the code:

// This rcp command is for debugging and testing only, building only when NDEBUG is not defined
// so that it will be excluded from release build.

I've also noticed that (if I understand the code correctly :) ) we can remove diag rcp start/stop commands. These commands set otPlatDiagModeSet which is set by diag start/stop anyways and IMO they can introduce some confusion. For example in posix-diag-rcp.exp we use only diag start/stop, while not using diag rcp start/stop anywhere.

OK, just found out that diag commands sent to RCP don't need to have rcp prefix, so processstart and processstop implementation on RCP side should not be removed. Reverted the change. I still think that in documentation we should not suggest using diag rcp start and diag rcp stop commands as in tests we also always start diag on host as well?

The diag rcp commands are used for debugging. The description of the diag rcp command mentions it: https://github.com/openthread/openthread/blob/main/src/core/diags/README.md#diag-rcp. So I think we should not remove the diag rcp start/stop commands from the README.md.
The comment in the code:

// This rcp command is for debugging and testing only, building only when NDEBUG is not defined
// so that it will be excluded from release build.

hmm ok, thanks, dropped removing it from README then


OpenSSL Read/Write into a BIO_s_mem works only on first call per connection

Discussed in https://github.com/openssl/openssl/discussions/24266

Originally posted by g2px1 April 25, 2024
SSL *ssl = static_cast<SSL *>(clientData.ssl);
    std::vector<uint8_t> decrypted_data;
    size_t total_read = 0;
    size_t just_read = 0;
    BIO *rbio = SSL_get_rbio(ssl);
    BIO_reset(rbio);
    if (!rbio) {
        std::cerr << "Read BIO not set." << std::endl;
        return -1;
    }

    decrypted_data.resize(clientData.inData.size());

    // Write the encrypted data to the existing rbio
    if (BIO_write(rbio, clientData.inData.data(), clientData.inData.size()) <= 0) {
        std::cerr << "Failed to load encrypted data into BIO." << std::endl;
        return -1;
    }

    while (SSL_read_ex(ssl, decrypted_data.data() + total_read, decrypted_data.size() - total_read, &just_read)) {
        total_read += just_read;
        if (total_read > decrypted_data.size()) {
            decrypted_data.resize(total_read + 512);
        }
    }

    std::cout << "Encrypted data: ";
    for (auto byte: clientData.inData) std::cout << std::hex << static_cast<int>(byte) << " ";
    std::cout << std::endl;

    std::cout << "Decrypted data: ";
    for (auto byte: decrypted_data) std::cout << std::hex << static_cast<int>(byte) << " ";
    std::cout << std::endl;

this gives me output like this:
Encrypted data: 17 3 3 0 29 15 a6 f9 84 b1 fa fe af 70 88 e6 1b 90 d4 cc 54 ab c5 8e bc ba 52 6f 55 ed e0 fe c8 cb 62 d9 3c 35 94 6b 9a 6a 0 7d 48 a4 0
Decrypted data: 50 52 49 20 2a 20 48 54 54 50 2f 32 2e 30 d a d a 53 4d d a d a 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

which is right connection headers for http2 PRI *HTTP2...
but when its run on second and all later "frames"
Encrypted data: 17 3 3 0 2c 3 28 60 2 7a ba 61 a8 9f ba e3 80 43 c4 f3 ec 1e 25 b2 c9 a2 4d 22 de 33 b3 a7 8c fe 81 56 e3 23 19 bb 41 1f e0 a6 d4 d6 7f d3 92 17 3 3 0 1e 8 62 51 4c 75 95 e8 8e 2c 55 3a 3e 18 78 49 52 26 6e 20 7e 8b 34 7e 9d c6 1c 5f b6 31 5a 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Decrypted data: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

The decrypted data is empty, BIO_cntl tells that there is still data in rbio, but less then when writing to that rbio, calling BIO_reset didn't change anything and BIO_should_read is also false.
I am at a loss, all frames starts with 17 3 3 0 so this should be one message at a time.
Edit: The bio is BIO_s_mem as already mentioned, and I've read almost everything that's connected to BIO and SSL_read, but I'm not very good in english so, if its possible, I ask you for explanation of this
Edit 2:
Update: after logging the issue on second call i get 007E53F7FF7F0000:error:0A00010B:SSL routines:ssl3_get_record:wrong version number:../ssl/record/ssl3_record.c:358: Despite it having the same header bytes, 17 is application data, 3 3 is ssl3 and tlsv3.

On further testing with my good friend, it seems to be some kind of, bug.
Configuration:
First, a bit about configuration, I'm using
-- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libcrypto.so (found version "3.0.2")
the command that i used for testing is either curl https://localhost:8080 -k -v --http1.1, curl https://localhost:8080 -k -v --http2, echo -e "GET / HTTP/1.1\r\nHost: <IP_ADDRESS>\r\nConnection: close\r\n\r\n" | openssl s_client -connect <IP_ADDRESS>:8080 -msg -debug -state.
The handshake is already finished by the time this function is called.  This was checked by repeated calling to SSL_is_init_finished() on literally every step of the way. The agreed communication method is New, TLSv1.3, Cipher is TLS_AES_256_GCM_SHA384
Both rbio, wbio were set to BIO_s_mem after handshake finishes.
SSL *ssl = static_cast<SSL *>(clientData.ssl);
    BIO *rbio = BIO_new(BIO_s_mem());
    BIO *wbio = BIO_new(BIO_s_mem());

    if (!rbio || !wbio) {
        // Clean up in case of failure
        if (rbio) BIO_free(rbio);
        if (wbio) BIO_free(wbio);
        return -1;
    }

    SSL_set_bio(ssl, rbio, wbio);
    return 0;

the ssl_ctx is set up with SSL_CTX_set_options(ssl_ctx, SSL_OP_ALL | SSL_OP_NO_SSLv2 | SSL_OP_NO_SSLv3 |                                SSL_OP_NO_COMPRESSION | SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION);
If more data is needed, please ask.

Function update:
The function was simplified and modified quite a bit, so right now it's more like this example. Note that modifying the example code it results in the same error where no data is decoded.
It is also good to note that no data is being written in the socket by our code or SSL_write, at any point, after the handshake is finished.
template<class EndpointHandlerType>
void Http1Context<EndpointHandlerType>::readCallbackHTTPS(
        usub::core::ClientData &clientData) {
    SSL *ssl = static_cast<SSL *>(clientData.ssl);
    std::vector<uint8_t> decrypted_data;
    size_t total_read = 0;
    size_t just_read = 0;
    int ret;
    BIO *rbio = SSL_get_rbio(ssl);

    if (!rbio) {
        std::cerr << "Read BIO not set." << std::endl;
        return;
    }

    decrypted_data.resize(clientData.inData.size());

    if (BIO_write(rbio, clientData.inData.data(), clientData.inData.size()) <= 0) {
        std::cerr << "Failed to load encrypted data into BIO." << std::endl;
        return;
    }

    do {
        ret = SSL_read(ssl, decrypted_data.data(), decrypted_data.size());
    } while (ret > 0);

    int ssl_err = SSL_get_error(ssl, ret);
    if (ssl_err == SSL_ERROR_WANT_READ || ssl_err == SSL_ERROR_WANT_WRITE) {
        do {
            ret = BIO_read(SSL_get_wbio(ssl), decrypted_data.data(), decrypted_data.size());
        } while (ret > 0);
    } else {
        ERR_print_errors_fp(stderr);
    }
    // ... logging decrypted and encrypted data.
 }

The difference is when we encounter other error but WANT_READ or WANT_WRITE, we just return in his example.
First call to readCallbackHTTPS:
Now returning to the problem, the error is first call to readCallbackHTTPS successfully decrypts any message, be it provided using openssl command
Encrypted data: 17 3 3 0 48 64 8c b7 b3 36 dc 91 d2 fb 86 2d 84 6d ed cc d4 da f1 60 b3 b5 78 2e a2 5f ed a8 61 29 58 b1 b8 79 47 c2 5 c6 7f b eb 78 bd 20 38 59 c4 60 e5 6c 22 40 89 7e 9d 63 d0 a0 f3 90 7a f0 fc 31 4d d8 f3 7f 66 ce 72 7b 77 0
Decrypted data 1: GET / HTTP/1.1
Host: <IP_ADDRESS>
Connection: close

Same with CURL commands, first run is always decrypted
Second call:
009EC418EE7F0000:error:0A00010B:SSL routines:ssl3_get_record:wrong version number:../ssl/record/ssl3_record.c:358:
Encrypted data: 17 3 3 0 13 83 ee 7 b8 ad a2 d9 1f d2 cb c5 5 77 72 7c b5 90 1d 96 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Decrypted data 1:                                                          // Literally nothing the hex output is all 0s

openssl command log can be read here, it's a local server with a self-signed certificate, so no harm done in posting it
This part near the end receives a session ticket from somewhere. Then sends some Application data (code 17) that can't be decrypted
SSL_connect:SSLv3/TLS read server session ticket
read R BLOCK
DONE
>>> TLS 1.2, RecordHeader [length 0005]
    17 03 03 00 13
>>> TLS 1.2, InnerContent [length 0001]
    15
write to 0x557dfd5ed720 [0x557dfd6ce483] (24 bytes => 24 (0x18))
0000 - 17 03 03 00 13 83 ee 07-b8 ad a2 d9 1f d2 cb c5   ................
0010 - 05 77 72 7c b5 90 1d 96-                          .wr|....

Why did you open a new issue instead of adding more info to the discussion? This is quite unlikely a bug in OpenSSL.


Error: while running main.py cudnn error

Hello,
I have getting this error while running main.py  in gpu
CUDNN_STATUS_INTERNAL_ERROR
I have added this config in Pose/pose_visualizer.py   but same error
        config_proto = tf.ConfigProto()
        config_proto.gpu_options.allow_growth = True
        self.persistent_sess = tf.Session(graph=self.graph, config=config_proto)

2020-04-15 15:41:41.483304: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcudnn.so.7
2020-04-15 15:41:41.955955: E tensorflow/stream_executor/cuda/cuda_dnn.cc:329] Could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR
2020-04-15 15:41:41.961271: E tensorflow/stream_executor/cuda/cuda_dnn.cc:329] Could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR
Traceback (most recent call last):
File "/home/ardit/anaconda3/envs/pose_est/lib/python3.7/site-packages/tensorflow/python/client/session.py", line 1356, in _do_call
return fn(*args)
File "/home/ardit/anaconda3/envs/pose_est/lib/python3.7/site-packages/tensorflow/python/client/session.py", line 1341, in _run_fn
options, feed_dict, fetch_list, target_list, run_metadata)
File "/home/ardit/anaconda3/envs/pose_est/lib/python3.7/site-packages/tensorflow/python/client/session.py", line 1429, in _call_tf_sessionrun
run_metadata)
tensorflow.python.framework.errors_impl.UnknownError: 2 root error(s) found.
(0) Unknown: Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above.
[[{{node TfPoseEstimator/conv1_1/Conv2D}}]]
[[TfPoseEstimator/Openpose/concat_stage7/_3]]
(1) Unknown: Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above.
[[{{node TfPoseEstimator/conv1_1/Conv2D}}]]
0 successful operations.
0 derived errors ignored.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "main.py", line 41, in
humans = estimator.inference(show)
File "/home/ardit/Documents/human_pose/Online-Realtime-Action-Recognition-based-on-OpenPose/Pose/pose_visualizer.py", line 107, in inference
output = self.persistent_sess.run(self.tensor_output, feed_dict={self.tensor_image: rois})
File "/home/ardit/anaconda3/envs/pose_est/lib/python3.7/site-packages/tensorflow/python/client/session.py", line 950, in run
run_metadata_ptr)
File "/home/ardit/anaconda3/envs/pose_est/lib/python3.7/site-packages/tensorflow/python/client/session.py", line 1173, in _run
feed_dict_tensor, options, run_metadata)
File "/home/ardit/anaconda3/envs/pose_est/lib/python3.7/site-packages/tensorflow/python/client/session.py", line 1350, in _do_run
run_metadata)
File "/home/ardit/anaconda3/envs/pose_est/lib/python3.7/site-packages/tensorflow/python/client/session.py", line 1370, in _do_call
raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.UnknownError: 2 root error(s) found.
(0) Unknown: Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above.
[[node TfPoseEstimator/conv1_1/Conv2D (defined at /home/ardit/Documents/human_pose/Online-Realtime-Action-Recognition-based-on-OpenPose/Pose/pose_visualizer.py:23) ]]
[[TfPoseEstimator/Openpose/concat_stage7/_3]]
(1) Unknown: Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above.
[[node TfPoseEstimator/conv1_1/Conv2D (defined at /home/ardit/Documents/human_pose/Online-Realtime-Action-Recognition-based-on-OpenPose/Pose/pose_visualizer.py:23) ]]
0 successful operations.
0 derived errors ignored.
Original stack trace for 'TfPoseEstimator/conv1_1/Conv2D':
File "main.py", line 15, in
estimator = load_pretrain_model('VGG_origin')
File "/home/ardit/Documents/human_pose/Online-Realtime-Action-Recognition-based-on-OpenPose/utils.py", line 48, in load_pretrain_model
return TfPoseVisualizer(graph_path, target_size=(input_width, input_height))
File "/home/ardit/Documents/human_pose/Online-Realtime-Action-Recognition-based-on-OpenPose/Pose/pose_visualizer.py", line 23, in init
tf.import_graph_def(graph_def, name='TfPoseEstimator')
File "/home/ardit/anaconda3/envs/pose_est/lib/python3.7/site-packages/tensorflow/python/util/deprecation.py", line 507, in new_func
return func(*args, **kwargs)
File "/home/ardit/anaconda3/envs/pose_est/lib/python3.7/site-packages/tensorflow/python/framework/importer.py", line 443, in import_graph_def
_ProcessNewOps(graph)
File "/home/ardit/anaconda3/envs/pose_est/lib/python3.7/site-packages/tensorflow/python/framework/importer.py", line 236, in _ProcessNewOps
for new_op in graph._add_new_tf_operations(compute_devices=False):  # pylint: disable=protected-access
File "/home/ardit/anaconda3/envs/pose_est/lib/python3.7/site-packages/tensorflow/python/framework/ops.py", line 3751, in _add_new_tf_operations
for c_op in c_api_util.new_tf_operations(self)
File "/home/ardit/anaconda3/envs/pose_est/lib/python3.7/site-packages/tensorflow/python/framework/ops.py", line 3751, in
for c_op in c_api_util.new_tf_operations(self)
File "/home/ardit/anaconda3/envs/pose_est/lib/python3.7/site-packages/tensorflow/python/framework/ops.py", line 3641, in _create_op_from_tf_operation
ret = Operation(c_op, self)
File "/home/ardit/anaconda3/envs/pose_est/lib/python3.7/site-packages/tensorflow/python/framework/ops.py", line 2005, in init
self._traceback = tf_stack.extract_stack()

fixed by adding config to Tracking/generate_dets.py
        config_proto = tf.ConfigProto()
        config_proto.gpu_options.allow_growth = True

@ArditHalimi ，Excuse me, how many lines do you add these three lines of code to?
    config_proto = tf.ConfigProto()
    config_proto.gpu_options.allow_growth = True
    self.persistent_sess = tf.Session(graph=self.graph, config=config_proto)


NullPinterException in Arja filter

When executed in repairability mode on react-native project, a NullPointerException is thrown. Here is the stack trace:
Exception in thread "main" java.lang.NullPointerException
	at spoon.support.reflect.declaration.CtElementImpl.filterChildren(CtElementImpl.java:353)
	at spoon.support.reflect.declaration.CtElementImpl.getElements(CtElementImpl.java:338)
	at fr.inria.coming.repairability.repairtools.Arja.filter(Arja.java:93)
	at fr.inria.coming.repairability.RepairabilityAnalyzer.analyze(RepairabilityAnalyzer.java:66)
	at fr.inria.coming.core.engine.RevisionNavigationExperiment.analyze(RevisionNavigationExperiment.java:121)
	at fr.inria.coming.main.ComingMain.start(ComingMain.java:152)
	at fr.inria.coming.main.ComingMain.run(ComingMain.java:145)
	at fr.inria.coming.main.ComingMain.main(ComingMain.java:129)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)

Hi @khaes-kth
Thanks for reporting the issue.
If possible, you could create a test case for exposing this issue?
Thanks
Matias

This branch contains a new test case  based on a new change pair.
The test case fails because a NullPointerException is thrown when it is called.

Hello again,
I found that the problem occurs because factory  is null in [this line ](https://github.com/INRIA/spoon/blob/master/src/main/java/spoon/support/reflect/declaration/CtElementImpl.java#L364)when CtElementImpl.filterChildrenmethod is being executed. Do you know in which casesfactory` is null?

@khaes-kth will try to make a PR on gumtree-spoon to fix that one

The problem was caused by Gumtree and it is solved here. However, the new version of Gumtree should be used in pom.xml file.

Hi @khaes-kth
Thanks!

The problem was caused by Gumtree and it is solved here

Very minor comment: you have fixed GumTreeSpoonDiff (i.e., the project that combines GumTree and Spoon). The GumTree "core" is in another repo here )

However, the new version of Gumtree should be used in pom.xml file.

Perfect. GumTreeSpoonDiff must be automatically deployed on Maven central. So, when that happens we can upgrade the dependency.

Hi @martinezmatias ,

Very minor comment: you have fixed GumTreeSpoonDiff

Yes, you are right. Actually, at first, I thought I should fix GumTree but then realized that GumTreeSpoonDiff should be fixed.

when that happens we can upgrade the dependency

Great! I will do so.
Thanks

Fixed here


Project main ui suggestions

A couple people suggested the ui could be improved:

Mobile ui non existant
A lot of buttons now
Need a remapping design
Possibly prepare a homebrew game to show off the emulator?

Hoping to start a thread where people can post some images of designs

I can work on this.

I had an idea for this that could accommodate any window size by adjusting the width and height of the display and canvas zoom based on window dimension calculations(this I've already coded and it seems to work well, see screenshots). It's not the most elegant of handling since it's a js function that runs on window resize and changes css variables, but it's functional and window resizing is typically a rare event, so the performance cost shouldn't be too bad.
I also envisioned a bit simpler of a button interface such as maybe:

button to load a rom(same as current)
button to open Settings(maybe a modal or some fullscreen overlay? This would be all the current left side buttons when a game is loaded)
button to open Controls(this would be the current right side buttons and potentially a remapping feature if we wanted to add that as well)

With just a few buttons below the display, that would free up room for the eventual on-screen controls to the right and left.
Let me know what you guys think of that set-up.

Hey yall, heres a link to the first iteration of the UI:
https://www.figma.com/file/azIaf5sIOT1Vj86lIui0El/GBA.js?node-id=0%3A1
feel free to drop comments and suggestions in the chat, I've written down some notes and asked a few questions inside the figma doc.

For Mobile held in portrait likely the display should cover the whole width of the screen since it will be pretty small (similar to gba sp), landscape orientation be laid out like classic gba.
Tablet and larger sizes the screen I think be fixed size unless someone clicks full screen otherwise it may look too blown up.
Is that the same thing you were thinking?

@jriceart The layout of that looks good! It feels decent on my iPhone 8 Plus, I can show it to other people with 4.7” screens

So for mobile portrait you're looking for the display to go to the edge of screen. I see what you're asking and I agree that we should allow the user to play like that.
What if we offer the option as a toggle feature, something like max screen or full-screen mode in addition to the traditional gameboy ui?
I think a Dark Mode where the classic GB styling is removed and replaced with a non-traditional / black or dark UI with a pure usability focus would also be a good idea.
Thoughts?
Thanks for the compliments! @andychase

It looks fine as is on my screen size, but yeah I think making sure that people with smaller screens use their full display width might be important.
I also think that in portrait, the game boy advance so design had people’s hands coming from below. Where as with phones peoples hands come from the side. Also the targets need to be bigger because there’s no tactile feedback that you are on the buttons. Two things to think about.

can we use haptics? I agree that the sizes/ placement of assets are going to need ux adjustments

what smaller screen size are we talking here? iphone 4, smaller? Is there anything that we aren't designing for?

holding the screens in my hands, I think I'll bring all the buttons down closer to the bottom of the screen. easier to reach with thumbs.

@andychase I wasn't coming at it from a specific device standpoint, but more being able to accommodate resizing a desktop window to a desired scale. I quite like Joe's designs for mobile though, and implementing those will probably produce a nice desktop experience as a consequence.
I can start on a more standalone contribution while the high level designs are getting sorted out here.

@Qaena I'm working on the desktop view as well, feel free to keep checking back to the Figma link. Consider it a living doc.
https://www.figma.com/file/azIaf5sIOT1Vj86lIui0El/GBA.js?node-id=0%3A1

Would it be a good idea to have a mechanism for system messages like "Loading ROM..."(instead of displaying that on a button like current) or "Key remapping; waiting for input..." or other things like that? What about a message bar that appears over the screen canvas?

Alright, for the ROMS and settings menu I figured we could either do a full-screen menu or a drop-down. In either case we could insert system messages, success / fail etc into the menu screen itself. instead of displaying messages on the canvas.
I have some general usability questions that will inform the design.
How are save games handled? Can we load multiple roms into the software at a time and choose which one to play? Are settings saved in the browser cache? Offline play? Thanks for any answers.
Also do ya'll need front-end code written for the interface or is that already taken care of?

@tintheanh  thank you! i'd like to work on this with you if possible. I haven't taken a deep look into the front end code that exists already, skimmed through it last week. Can someone give me a quick rundown through processes and file structure? Are we using any frameworks?

Sidebar, would anyone be interested in opening up a slack channel for this project or do we want to keep all communication on github?

@jriceart Yeah you if you want to make one I'll join it and link to it but I might not check it too often.

Hey guys, we still working on this? I've been out of town for a couple weeks, looking to work on this some more.

@jriceart I think it may have stalled, please take a look if you have time!

@andychase if you're still in this i am too. I can work on the front end. Do you mind giving me a run down of the FE code?

I don't have a ton of time but I'm still invested! The front end code right now is basically all in index.html

Roger that. I haven't taken a look at the project in a while but I will
take a peak in the next week when I have some time.
What are you going to be working on?
On Sun, May 16, 2021 at 8:32 PM Andy Chase @.***> wrote:

I don't have a ton of time but I'm still invested! The front end code
right now is basically all in index.html
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/andychase/gbajs2/issues/13#issuecomment-841905678,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGD3YP7YSU3H2KRANWS2L5TTOBP3BANCNFSM4Q5DCJXQ
.

I've also created an alternate UI for desktop/mobile/pwa under my fork if anyone is interested


fix: Support expression in mapping preview

Fixes: #2420

Found a problem, the Document ID still has to be taken into account for field reading to distinguish same path field in different doc... will work on it


Feature request: Kotlin optimization

Some APIs will conflict in Kotlin.
Example:

Long2ObjectMap.computeIfAbsent(long, V) <-> Long2ObjectMap.computeIfAbsent(java.lang.Long, V)

Kotlin built-in extensions will make many classes degenerate to normal type.
Example:

Object2LongMap.forEach will produce entry with type java.lang.Object and java.lang.Long. And Map.put(K, V), etc.
Entry<K,V>.component1 / component2
One of the resolutions: PairExtensions.kt
I hope these stuffs could be library built-in ones, so Kotlin will give priority to existing member methods rather than extension functions

Well, I don't understand exactly what you're asking for here—note that I'm aware of Kotlin, but I have zero knowledge of the language...

Well, I mean when you use this library in a Kotlin project, some frustrating conflicts will make the code more complicated.
In Kotlin we iterate a map like:
myMap.forEach { (key, value) ->
    ...something
} // key has type K and value has type V (Map.Entry<K,V>)

(componentN allow us to use destructuring expressions like var (key, value) = entry)
If myMap is an Int2ObjectOpenHashMap, and we don't want to let the key become an Integer, we have to:
myMap.int2ObjectEntrySet().forEach { entry ->
    val key = entry.intKey
    val value = entry.value
    ...something
}

So I hope the library can have built-in component1 and component2 functions for entries and pairs

So to add that you would need public functions key_type component1() and value_type component2() on the Map.Entry?

Yeah, but type-specified ones, like the int intValue() and maybe @Deprecated Integer value()

Hmmm well that would pollute the autocompletion for all Java users. I think the better solution would be to provide a primitive variant of forEach (using appropriate BiConsumers). Something like forEachPrimitive(IntDoubleBiConsumer action) etc.


Version Update - 1.1.1 to 1.1.2

This update restricts the available R version to 4.2.2 or higher. The new version includes important bug fixes that address several issues reported by users.

.


Updated ir_eval.cpp

Fixed the denominator of avg_p and made it equal to the number of relevant documents as calculated from the relevance judgements file.

Thanks! The denominator for average precision should be the total number of relevant documents in the index. See http://en.wikipedia.org/wiki/Information_retrieval#Average_precision

Oops, didn't merge the first time.

Hold up, I think this is more nuanced than that.
Isn't this function computing AveP@K? where K = num_docs? I'm thinking the denominator should actually be std::min(ht->second.size(), num_docs)...

(It could also be that I'm just confused since I've never looked at this code!)

Hmm, good point. It is computing AveP@k, k = num_docs. According to the wiki page, the formula counts up from 1 to n documents, but the denominator is still all relevant documents.
But, if we returned the top 10 documents, and all 10 were relevant, then it would make sense that average precision is 1.0, correct? But what if there are 20 total relevant documents? Then this version would return 0.5.
So I'm thinking we go with the min version. Hussein, is this your opinion as well?

I'm not sure about this. According to
http://research.microsoft.com/pubs/57213/ecir2008.pdf (section 2.4) the
denominator should be equal always equal to the number of relevant
documents irrespective of the cutoff k. But I see your point.. by taking
the minimum, the value of the average precision will be more meaningful.
Whichever method you prefer, I think it's a good idea to document this
nuance in the code.
On Wed, Mar 4, 2015 at 8:45 PM, Sean Massung<EMAIL_ADDRESS>wrote:

Hmm, good point. It is computing AveP@k, k = num_docs. According to the
wiki page, the formula counts up from 1 to n documents, but the
denominator is still all relevant documents.
But, if we returned the top 10 documents, and all 10 were relevant, then
it would make sense that average precision is 1.0, correct? But what if
there are 20 total relevant documents? Then this version would return 0.5.
So I'm thinking we go with the min version. Hussein, is this your opinion
as well?
—
Reply to this email directly or view it on GitHub
https://github.com/meta-toolkit/meta/pull/73#issuecomment-77296403.

--
[image: View Hussein Hazimeh's profile on LinkedIn]
http://lb.linkedin.com/in/husseinhazimeh

Interesting. Apparently we all were right! See: http://link.springer.com/referenceworkentry/10.1007%2F978-0-387-39940-9_487
However, I still think using min(n, R) makes the most sense, and that seems to be what TREC is doing.

Interesting indeed. Thanks for sharing this!
On Wed, Mar 4, 2015 at 9:45 PM, Chase Geigle<EMAIL_ADDRESS>wrote:

Interesting. Apparently we all were right! See:
http://link.springer.com/referenceworkentry/10.1007%2F978-0-387-39940-9_487
However, I still think using min(n, R) makes the most sense, and that
seems to be what TREC is doing.
—
Reply to this email directly or view it on GitHub
https://github.com/meta-toolkit/meta/pull/73#issuecomment-77301374.

--
[image: View Hussein Hazimeh's profile on LinkedIn]
http://lb.linkedin.com/in/husseinhazimeh


Include a copy of the final code.

Despite following the instructions many times, I've ben unable to get this to work.
Can you please provide a copy of the completed HttpExample.cs file to help users check they have followed the instructions correctly?
Thanks.

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

ID: 62965f3a-d852-cbe8-3d01-a5126a16c660
Version Independent ID: 2af2bfc6-bf21-08c6-a874-467781a4af90
Content: Connect Azure Functions to Azure Cosmos DB using Visual Studio Code
Content Source: articles/azure-functions/functions-add-output-binding-cosmos-db-vs-code.md
Service: azure-functions
GitHub Login: @ggailey777
Microsoft Alias: glenga

@AndyBunning
Thanks for your feedback! We will investigate and update as appropriate.


[Question] Is there any API for navigating layouts?

Hi,
Thank you for your plugin! I'm making a tool which initially launches three pop-up windows below the cursor. I'd like the user to start in the first one and navigate between the three with <Tab>.
For a number of reasons, this seems to require a surprising amount of work.

Firstly, handling the usual task of quitting the layout when leaving is much more complex than in the case of a single popup (because, if one just copies/pastes the usual "on BufLeave" autocmd syntax in the wiki, it'll unmount when moving from one window to the next).
Secondly, it doesn't seem like there's a way to refocus onto a new element of the layout. I understand that I can create a hack to do this by having a function which returns a layout which focuses on pop-up n on mount, and then unmounting/remounting. Yet this erases the data, so I'd have to store it somewhere. Is there an method I missed for fixing this?
Finally, I can't use any <Ctrl-W> type command to navigate them for three reasons: firstly, none of them work in the general case of multiple windows, secondly, they conflict with the BufLeave event, and thirdly, despite setting the third window to be unfocusable, by using <Ctrl-W>#w commands for an appropriate number #, I am able to focus it using keystrokes.

It seems like this would be a common task, so I'm wondering if I'm missing something with my strategy (e.g. maybe I should be using a Table, or some collection of methods for this task), or if this is a feature gap.

Firstly, handling the usual task of quitting the layout when leaving is much more complex than in the case of a single popup (because, if one just copies/pastes the usual "on BufLeave" autocmd syntax in the wiki, it'll unmount when moving from one window to the next).

local Layout = require("nui.layout")
local Popup = require("nui.popup")

local popup = {
  a = Popup({ border = "single" }),
  b = Popup({ border = "single" }),
  c = Popup({ border = "single" }),
}

local layout = Layout(
  {
    relative = "editor",
    position = "50%",
    size = { height = 10, width = 60 },
  },
  Layout.Box({
    Layout.Box(popup.a, { grow = 1 }),
    Layout.Box(popup.b, { grow = 1 }),
    Layout.Box(popup.c, { grow = 1 }),
  }, { dir = "row" })
)

for _, p in pairs(popup) do
  p:on("BufLeave", function()
    vim.schedule(function()
      local bufnr = vim.api.nvim_get_current_buf()
      for _, lp in pairs(popup) do
        if lp.bufnr == bufnr then
          return
        end
      end
      layout:unmount()
    end)
  end)
end

layout:mount()

Secondly, it doesn't seem like there's a way to refocus onto a new element of the layout. I understand that I can create a hack to do this by having a function which returns a layout which focuses on pop-up n on mount, and then unmounting/remounting. Yet this erases the data, so I'd have to store it somewhere. Is there an method I missed for fixing this?

I don't think I understand the problem. What exactly are you trying to do? 🤔


Remove HAS controllers

Removes HAS controllers as outlined in https://issues.redhat.com/projects/DEVHAS/issues/DEVHAS-647
Removes packages that are now unused
Removes CDQ go module
Removes pact tests
Removes obsolete github actions
Removes the tini binary build from the Dockerfile
Moves webhooks into their own package under the root of the repository
Updates main.go to remove the controller invocations, and update webhook package

/retest

/retest

/retest

/retest

/retest

/retest

/retest


Add workflow to release to Figshare on release

The secret is already made.
The record is still private in my workspace until this workflow is tested so the first DOI is attached to the first push

Cheers! I'll close the issue once the workflow is tested :)!


count_histogram tests on my system produce memory corruption warnings.

----------------------------------------------------------------
-- Anonymizing count_histogram
----------------------------------------------------------------
SET ROLE diffix_test;
SET pg_diffix.session_access_level = 'anonymized_trusted';
SELECT diffix.count_histogram(id) FROM count_histogram_test;
WARNING:  problem in alloc set ExecutorState: detected write past chunk end in block 0x7fffc7ddd8a0, chunk 0x7fffc7ddf700
WARNING:  problem in alloc set ExecutorState: detected write past chunk end in block 0x7fffc7ddd8a0, chunk 0x7fffc7ddf700
    count_histogram
------------------------
 {{NULL,3},{1,4},{2,3}}
(1 row)

SELECT diffix.count_histogram(id, 5) FROM count_histogram_test;
 count_histogram
-----------------
 {{0,7},{5,2}}
(1 row)

----------------------------------------------------------------
-- Misc
----------------------------------------------------------------
SELECT diffix.unnest_histogram(x.histogram)
FROM (
  SELECT diffix.count_histogram(id) AS histogram
  FROM count_histogram_test
) x;
WARNING:  problem in alloc set ExecutorState: detected write past chunk end in block 0x7fffc7e0b540, chunk 0x7fffc7e0bad8
WARNING:  problem in alloc set ExecutorState: detected write past chunk end in block 0x7fffc7e0b540, chunk 0x7fffc7e0bad8
 unnest_histogram
------------------
 {NULL,3}
 {1,4}
 {2,3}
(3 rows)

The array initialization inputs are probably wrong. Any way to get a stack trace of that warning?

Here is the stack-trace:
#0  0x00007f067e6a27a4 in errstart ()
#1  0x00007f067e6ca410 in ?? ()
#2  0x00007f067e6ca7e8 in ?? ()
#3  0x00007f067e3b5fd1 in standard_ExecutorEnd ()
#4  0x00007f0671998f31 in pg_diffix_ExecutorEnd (queryDesc=0x7fffc7dba080) at src/hooks.c:214
#5  0x00007f067e35bdd1 in PortalCleanup ()
#6  0x00007f067e6d397d in PortalDrop ()
#7  0x00007f067e55e678 in ?? ()
#8  0x00007f067e5604d3 in PostgresMain ()
#9  0x00007f067e4ca926 in ?? ()
#10 0x00007f067e4cb818 in PostmasterMain ()
#11 0x00007f067e1a7326 in main ()

Doesn't seem very relevant, as the corruption happens way before it.
If you can't reproduce the problem, I can have a go at it.

OK, I will look into it and let you know if I get stuck.


Movierulz (Official Website 2024) - Bollywood & Hollywood Full Movies

MovieRulz Movies 2025 - Bollywood & Hollywood Movies | 480p, 720p, & 1080p
MovieRulz, developed by Greenvalley News Digital, is an entertainment-packed application designed for Android users. It provides access to a vast collection of Hollywood and Indian movies, including content in multiple languages such as Tamil, Telugu, Hindi, Punjabi, and Malayalam. Whether you are a fan of international cinema or regional Indian films, MovieRulz is the go-to app for watching and downloading movies on the go.
⬇🟢 --> Download Movierulz App (Cineplay) <-- 🟢⬇
⬇🟢 --> Download Movierulz App (Cineplay) <-- 🟢⬇
⬇🟢 --> Download Movierulz App (Cineplay) <-- 🟢⬇
MovieRulz Movies allows users to stream or download movies for offline viewing, providing flexibility for entertainment enthusiasts who may not always have access to a stable internet connection. With its intuitive user interface, regularly updated content, and high-quality streaming, MovieRulz ensures a seamless viewing experience for movie lovers.

Table of Contents:

Features
Supported Languages
Content Categories
Genres Available
How to Use MovieRulz
Frequently Asked Questions
Disclaimer
Conclusion

Features Of Movierulz 2025

Extensive Movie Library
MovieRulz offers users a massive library of movies from both Hollywood and Indian cinema. Whether you enjoy action, comedy, drama, or crime movies, there’s something for everyone. The library includes:

The latest Hollywood releases.
Bollywood blockbusters.
Regional cinema, including Tamil, Telugu, Malayalam, and Punjabi films.

Dubbed Foreign Movies
In addition to original content, MovieRulz provides Hindi and Tamil dubbed versions of popular foreign films. This allows users to enjoy international content without language barriers, making global cinema more accessible to Indian audiences.

User-Friendly Interface
MovieRulz is designed with simplicity in mind. The user interface is easy to navigate, and content is well-organized into categories such as Featured, Hollywood, Bollywood, Tamil, and Telugu. This ensures that users can quickly find their favorite movies or discover new ones based on their preferences.

High-Quality Streaming
One of the standout features of MovieRulz is its ability to deliver high-quality video streaming. Whether you are watching a Hollywood action blockbuster or a Tamil drama, the video quality is optimized for seamless viewing, even on slower internet connections.

Offline Viewing
MovieRulz lets users download their favorite movies and TV shows for offline viewing. This feature is especially useful for people who travel frequently or have limited access to the internet. Simply download the movie when connected to Wi-Fi, and enjoy it later without any buffering or data usage.

Regular Updates
The app is regularly updated with new content, ensuring that users always have access to the latest movies and shows. Whether it's the latest Bollywood release or a Hollywood blockbuster, you will find it on MovieRulz shortly after its official release.

News and Updates
Apart from movies, users can also get the latest entertainment news, trailers, and upcoming release information. The app keeps users informed about new releases in Hollywood, Bollywood, and regional Indian cinema.

Supported Languages
MovieRulz caters to a diverse audience by offering content in multiple languages. The supported languages include:

Tamil
Telugu
Hindi
Punjabi
Malayalam
English (for Hollywood content)

The availability of content in these languages ensures that users from different regions of India, as well as international audiences, can enjoy movies in their preferred language.
Content Categories
To make it easier for users to navigate, MovieRulz organizes its content into several categories:

Featured
This section highlights the most popular and trending movies across all genres and languages. It’s a great place to discover new and recommended content.

Hollywood
In the Hollywood section, you’ll find a wide range of English-language movies, including the latest releases and all-time classics.

Bollywood
For fans of Hindi cinema, the Bollywood section offers the latest blockbusters as well as older movies from various genres, including romance, action, and drama.

Tamil
The Tamil section is dedicated to movies from Kollywood, with a focus on the latest hits as well as evergreen classics.

Telugu
The Telugu section showcases movies from Tollywood, offering a wide selection of content for Telugu-speaking audiences.

Genres Available
MovieRulz offers a broad spectrum of genres to cater to different tastes. Some of the popular genres include:

Action: From Hollywood action thrillers to Tamil and Telugu action-packed movies.
Adventure: Movies filled with adventure and exploration.
Comedy: A collection of hilarious movies that guarantee laughter.
Crime: Crime dramas and thrillers from various movie industries.
Drama: Emotional, story-driven movies that touch on human experiences.
Family: Family-friendly movies for viewers of all ages.
Horror: Spine-chilling horror films for those who enjoy the thrill.
Musicals: Bollywood musicals and Hollywood classics with great soundtracks.

With such a wide range of genres, MovieRulz ensures that every user finds something enjoyable, no matter their preferences.

How to Use MovieRulz

Download the APK
Since MovieRulz is not available on the Google Play Store, users need to download the APK file from trusted sources. Follow these steps:

Download the MovieRulz APK file from a reliable website.
Enable installation from unknown sources in your device’s settings.
Open the downloaded APK file and follow the installation prompts.

Explore the Content
Once the app is installed, open MovieRulz and explore the wide variety of movies available. You can browse by category, language, or genre to find something that suits your mood.

Stream or Download
You have the option to stream movies online or download them for offline viewing. For offline viewing:

Select the movie you wish to download.
Click on the download option.
Choose your preferred resolution (e.g., 720p, 1080p).
Once downloaded, access the movie from your device’s storage.

Offline Viewing
Once downloaded, you can watch the movie anytime, without needing an internet connection. This is perfect for travel or when you’re in an area with limited connectivity.

Frequently Asked Questions

Is MovieRulz legal?
MovieRulz operates in a legal gray area, and users should be aware of their local laws regarding streaming and downloading copyrighted content. The app itself does not own the rights to the movies, and users are responsible for their use of the platform.

Is MovieRulz safe to download?
While MovieRulz itself is generally safe to use, it’s crucial to download the APK file from a trusted source to avoid malware or viruses. Always ensure you have reliable antivirus software installed on your device.

Why can’t I find MovieRulz on the Google Play Store?
MovieRulz is not available on the Google Play Store due to content restrictions and legal concerns surrounding the distribution of copyrighted material.

How often is content updated on MovieRulz?
MovieRulz updates its content frequently, adding the latest Hollywood and Indian movies shortly after their official release.

Conclusion
MovieRulz APK is a powerful entertainment platform for movie lovers who want to access Hollywood and Indian cinema from the comfort of their Android devices. With an extensive collection of movies in multiple languages, the ability to stream or download content, and regular updates, it is an excellent app for those who enjoy watching films on the go. However, users should be mindful of the legal and safety concerns when using third-party APKs.
Download MovieRulz APK today and dive into an endless world of movies, available at your fingertips!

FG

FG


feat: enable use of markup in clock module formats

hello! this PR makes a simple change to allow the use of pango markup in clock formats. the plain label module does this, so I figured it wouldn't be out of place.
I read in the contributing guidance to open an issue or discussion as best practice, but since this is so small and I wanted it for myself I figured I'd just go straight to PR and I can close or revise it as you like.
thanks for writing ironbar!

Thanks for the PR, agreed this makes sense to enable.
That particular contribution guideline is more for your own benefit, so that you don't spend time developing something that ultimately gets rejected. I appreciate you reading and otherwise sticking to the guidelines though :)
A  couple of small changes please:

Since the clock module also offers format_popup, could you also enable pango there to keep things consistent?
Could you please update the clock module docs page to mention that markup is supported in each row of the config table?

I've got 0.14.1 hopefully going out this weekend, which'll be a bugfix only update. This can then follow after that and will likely be the first feature of 0.15.0.

@JakeStanger okay, those changes should be made. I also made the format one match the format_popup one in terms of using LabelBuilder, to be consistent. if it should be consistently not using builder or inconsistent though let me know.

I realized that I flubbed the squash somehow, so I corrected it in the second force-push.

First feature of 0.15, cheers for your work on this :)


Adjusted rotation should be that of camera, not display

This minor fix causes videos recorded with the front camera in portrait orientation to have the correct orientation. Tested on Moto G and Nexus 9.

When is this getting released?

Guys?


2020 04 28 client autentication

work in progress, need to do the api to change credentials in esp32

this PR missing some validations en auth component, is complete 90%

Pull Request ready to merge


Simplify .gitignore, exclude IntelliJ files.

'name' matches in all directories. '/name' matches only entries in the root folder.

Thanks!


"attachedTo" should support jQuery elements, not just selectors

The documentation does not provide information about what kind of value it expects:

However, it seems that it supports only selectors. In my opinion passing a jQuery DOM element should be possible too.

https://github.com/txusko/PostItAll/commit/42f40f1b32476b6592af10121e729b001a83529f


[Question] Phone number

Question
So I am making a phone but I have a issue,
When the player joins they get a random phone number, but I dont know how I can connect that phone number with them.
So for example, a player types in a form a phone number and a message, than the message gets send to the owner of the phone number.
Plugin Version
latest
Additional Information
No response

Never mind, I already got it.


Use .my.cnf or .mylogin.cnf if available...

If native mysql commands, you don't have to specify a credentials file if you don't want to. The request here is to check for the existence of config files in the same way mysql or mysqldump would do. Additionally adding the option --login-path=# which would use the credentials from .mylogin.cnf or default to [client] if the file exists and --login-path is not provided.

Would either of @nickcanz / @jfudally  / @timvaillancourt be interested in picking this up by way of introduction to ccql?

I can add it to my backlog, and as soon as I finish up the devel mysql upgrades I can take a look at this.


Show/exclude credits from report

It would be create to have an option to show or exclude applied credits from the report.

Hi Martin. I think I have added this support - but as I don't actually have credits / refunds in my account, due you mind helping test? Use branch exclude_credits :) Otherwise I'm going to try find an account with credits to test with, before pulling into master.

Hi David,
I will check this today and update you


Definition of 1hrCM

The current definition of "1hrCM" in the frequency CV is inconsistent with its usage in the CMIP6 data request. The data request was using  1hrClimMon to label data which consisted of monthly averages of hourly data, i.e. a monthly averaged diurnal cycle. This has recently been changed to '1hrCM', but the definition should be monthly means of hourly mean data'. The cell_methodsisarea: mean time: mean within days time: mean over days(compared witharea: mean time: mean within years time: mean over years` for the monthly climatology  -- in both cases the CF specification of the frequency will be in the time axis).

@martinjuckes I'm not sure I'm following.  Are you requesting 12x24 time samples (one for each hour of each month, from some multi-year climatology), or Nx12x24 time samples where N is the number of years.
If it is the latter, in the CV we should probably replace
 "1hrCM":"monthly climatology of diurnal cycle computed from hourly samples",

with
"1hrCM":"monthly mean diurnal cycle computed from hourly samples",

Would this be correct?

Perhaps a better option:
"1hrCM":"monthly-mean diurnal cycle resolving each day into 1-hour means"

@taylor13 how can you have a monthly-mean diurnal cycle in 1-hour means? What is the format of this data, many entries of data averaged over 1-hour, so 24 values for each day, ~30 days each year in a month..?

Ok so following the top https://github.com/WCRP-CMIP/CMIP6_CVs/issues/414#issue-261604832 I now get that this is 24 values which represent the average over a complete month for each of the 24-hourly values - so an average of each hour across all days in the month, with a shape (24 hour values, month, , lat, lon)?

Yes, (although I'm not sure the two times (24 hour value and months) aren't reversed in order.  The idea is that we are characterizing the mean diurnal cycle for each month by averaging each hour-mean-value (twenty-four 1-hour means) across all days in the month.

Karl's last comment is correct, the idea is to have a mean day for each month, where the "mean day" is represented by 24 hourly values, so you have 24 values for each month in the time series. There is no averaging over years, it is just averaging over days within individual months.

@taylor13 @martinjuckes just to put everything in one place, we currently have the recorded frequencies:
{
    "frequency":{
        "1hr":"sampled hourly",
        "1hrCM":"monthly climatology of diurnal cycle computed from hourly samples",
        "1hrPt":"sampled hourly, at specified time point within an hour",
        "3hr":"sampled every 3 hours",
        "3hrPt":"sampled 3 hourly, at specified time point within the time period",
        "6hr":"sampled every 6 hours",
        "6hrPt":"sampled 6 hourly, at specified time point within the time period",
        "day":"daily mean samples",
        "dec":"decadal mean samples",
        "fx":"fixed (time invariant) field",
        "mon":"monthly mean samples",
        "monC":"monthly climatology computed from monthly mean samples",
        "monPt":"sampled monthly, at specified time point within the time period",
        "subhrPt":"sampled sub-hourly, at specified time point within an hour",
        "yr":"annual mean samples",
        "yrPt":"sampled yearly, at specified time point within the time period"
},

And the recommended change here is to update 1hrCM to read:
"1hrCM":"monthly-mean diurnal cycle resolving each day into 1-hour means",

Am I following correctly?

@martinjuckes Martin, could you please confirm that 1-hour-mean samples are used to compute the climatology, as opposed to 1-hour point samples?
thanks,
Karl

Yes, it is defined with cell_methods=area: mean time: mean within days time: mean over days, which implies, I believe, the mean over the inner periods "HMS0-HMS1" to be specified in the climatological bounds variable.

Thanks @martinjuckes.
@durack1 I think it is safe to update the CV as proposed in https://github.com/WCRP-CMIP/CMIP6_CVs/issues/414#issuecomment-335032399 (if you haven't already), and close this issue.


Update MD file on new branch 2017-22-23_10-11-49

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/updateTestRef.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Links stop working in the shop section a few seconds after the page loads

I've had some customers say that they can't click on links on the home page or shop page of my website (other pages of the website seems to be fine). Links will work if someone clicks a link immediately after the site loads, however if they wait a few seconds before attempting to click a link, the cursor 'hand' will turn into the standard cursor 'pointer' and the links seem to be disabled - they are no longer clickable. Is there a way to fix this? I've never seen this issue before, and can't find any help pages anywhere to give me answers as to what to do with this issue.
This is where the links stop working:
http://freenotecloth.com/collections/shop

I think it's because of the full screen modal.


New implementation of includesText fails when expected text contains line breaks

After the change made to satisfy issue #104, you can no longer pass in text containing line breaks (or probably multiple spacing) as the expected text in includesText.
This is not a clear limitation in the documentation, and the resulting message in Ember is confusing:

As you can see, it appears as though the test is failing because of the diff at the beginning of the string. If you are not distracted by the red highlight in the diff, you might notice that there is actually a line break discrepancy, too.

looks like this can be closed as #198 was merged and release a while ago


test-branch/execute-job/quoted-authorization/2659faba-e35d-4ceb-aef1-a24494b6f16c

PR for testing 151826701b7762608f8eb907cec034a942ef4abd

/canonical/self-hosted-runners/run-workflows 151826701b7762608f8eb907cec034a942ef4abd


Create link in daily note when creating standalone note

When you add a standalone note, add a backlink in the daily note.
Example:
Standalone:
2410161401.md
#<PHONE_NUMBER>
Some text

Daily note
2024-10-16.md
# 2024-10-16

#<PHONE_NUMBER>
[[2410161401|Some text]]

Where the wiki link takes the first 10 characters (no special characters, especially no pipe) after the heading (except empty lines) as link description (i.e. the text after the pipe).
Make sure to cater for the different cases: a, no daily note yet (i.e. create first), b, daily note exists (add empty line).

Solved via 8bd017e9a6835a3fab57f96a963d4a047e261037


Build(deps): Bump @patternfly/react-tokens from 4.91.0 to 4.93.6 (#4199)

Pull request opened by the merge tool on behalf of #4199

Merged in 4c0c925ba74cb372071936558cb11fb82a0e4475


Assertion error on jcv_diagram_generate

Hi. first of all, thank you so much for your great OSS.
This library is very useful and easy to use. Thanks!!
I might find an issue of this OSS.
When I input a certain data into jcv_diagram_generate function, an assertion was reported:

Assertion failed: (internal->numsites == 1), function jcv_fillgaps, file src/jc_voronoi.h, line 1143.

This repo is a fork of your voronoi repo and I added a test code for reproducing the issue.
https://github.com/AtsushiSakai/voronoi
If you have time, please take a look the file test/assert_text.c file.
https://github.com/AtsushiSakai/voronoi/blob/master/test/assert_test.c
test/invalid_data.h includes input x-y point data for the issue.
#38 might be a same issue.

Same here!


Cannot run the script

Hello,
I am trying to run this anomaly detection code provided by you on a mac (so tensorflow with CPU). However, I am using issues. For convenience, I am providing the command line instruction I used to run the code and the Traceback of the issue I am getting.
command line command:
python3 main.py 'bigan' 'mnist' 'run' --nb_epochs=10 --w=0.1 --m='fm' --d=1 --rd=44
Traceback
[10:25:58 INFO @AnomalyDetection] Running script at bigan.run_mnist
[10:25:58 ERROR @AnomalyDetection] Traceback (most recent call last):
  File "/anaconda3/envs/py36/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow.py", line 41, in <module>
    from tensorflow.python.pywrap_tensorflow_internal import *
  File "/anaconda3/envs/py36/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 28, in <module>
    _pywrap_tensorflow_internal = swig_import_helper()
  File "/anaconda3/envs/py36/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 24, in swig_import_helper
    _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
  File "/anaconda3/envs/py36/lib/python3.6/imp.py", line 243, in load_module
    return load_dynamic(name, filename, file)
  File "/anaconda3/envs/py36/lib/python3.6/imp.py", line 343, in load_dynamic
    return _load(spec)
ImportError: dlopen(/anaconda3/envs/py36/lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so, 10): Library not loaded: @rpath/libcublas.8.0.dylib
  Referenced from: /anaconda3/envs/py36/lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so
  Reason: image not found

Failed to load the native TensorFlow runtime.

See https://www.tensorflow.org/install/install_sources#common_installation_problems

for some common reasons and solutions.  Include the entire stack trace
above this error message when asking for help.
Traceback (most recent call last):
  File "/anaconda3/envs/py36/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow.py", line 41, in <module>
    from tensorflow.python.pywrap_tensorflow_internal import *
  File "/anaconda3/envs/py36/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 28, in <module>
    _pywrap_tensorflow_internal = swig_import_helper()
  File "/anaconda3/envs/py36/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 24, in swig_import_helper
    _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
  File "/anaconda3/envs/py36/lib/python3.6/imp.py", line 243, in load_module
    return load_dynamic(name, filename, file)
  File "/anaconda3/envs/py36/lib/python3.6/imp.py", line 343, in load_dynamic
    return _load(spec)
ImportError: dlopen(/anaconda3/envs/py36/lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so, 10): Library not loaded: @rpath/libcublas.8.0.dylib
  Referenced from: /anaconda3/envs/py36/lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so
  Reason: image not found

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "main.py", line 40, in run
    mod = importlib.import_module(mod_name)
  File "/anaconda3/envs/py36/lib/python3.6/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 994, in _gcd_import
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/Users/tridibdutta/Documents/GAN_ANOMALY_PAPER/Efficient-GAN-Anomaly-Detection/bigan/run_mnist.py", line 3, in <module>
    import tensorflow as tf
  File "/anaconda3/envs/py36/lib/python3.6/site-packages/tensorflow/__init__.py", line 24, in <module>
    from tensorflow.python import *
  File "/anaconda3/envs/py36/lib/python3.6/site-packages/tensorflow/python/__init__.py", line 51, in <module>
    from tensorflow.python import pywrap_tensorflow
  File "/anaconda3/envs/py36/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow.py", line 52, in <module>
    raise ImportError(msg)
ImportError: Traceback (most recent call last):
  File "/anaconda3/envs/py36/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow.py", line 41, in <module>
    from tensorflow.python.pywrap_tensorflow_internal import *
  File "/anaconda3/envs/py36/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 28, in <module>
    _pywrap_tensorflow_internal = swig_import_helper()
  File "/anaconda3/envs/py36/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 24, in swig_import_helper
    _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
  File "/anaconda3/envs/py36/lib/python3.6/imp.py", line 243, in load_module
    return load_dynamic(name, filename, file)
  File "/anaconda3/envs/py36/lib/python3.6/imp.py", line 343, in load_dynamic
    return _load(spec)
ImportError: dlopen(/anaconda3/envs/py36/lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so, 10): Library not loaded: @rpath/libcublas.8.0.dylib
  Referenced from: /anaconda3/envs/py36/lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so
  Reason: image not found

Failed to load the native TensorFlow runtime.

See https://www.tensorflow.org/install/install_sources#common_installation_problems

for some common reasons and solutions.  Include the entire stack trace
above this error message when asking for help.
[10:25:58 ERROR @AnomalyDetection] Uhoh, the script halted with an error.

Can't figure out how to run the code properly and find the anomaly.
Thanks.

Hello,
This is certainly due to a problem in your Tensorflow installation. Please refer to their website to ensure that your cuda and CuDnn version match the version required for this repo.
Hope this has been helpful.
Thanks

hello, have you run the code successfully?


Condvar/mutex fix

This looks good. I tested it out paired with my NaCl PR and fixes the issues with mutexes/condvars.


Intermittent OpenJDK 11.0.8 (and 11.0.12) Crash in GC

Summary
During the JVM runtime excessive of 24 hours JVM intermittently crashes on G1GC Thread.
The below logs are from A1 node
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f183fe209a0, pid=25538, tid=25582
#
# JRE version: OpenJDK Runtime Environment AdoptOpenJDK (11.0.8+10) (build 11.0.8+10)
# Java VM: OpenJDK 64-Bit Server VM AdoptOpenJDK (11.0.8+10, mixed mode, tiered, g1 gc, linux-amd64)
# Problematic frame:
# V  [libjvm.so+0xf419a0]
#
# Core dump will be written. Default location: Core dumps may be processed with "/opt/dynatrace/oneagent/agent/rdp -p %p -P %P -e %e -s %s" (or dumping to /opt/PingIdentity/PingDirectory/bin/core.25538)
#
# If you would like to submit a bug report, please visit:
#   https://github.com/AdoptOpenJDK/openjdk-support/issues
#

The crash occurs on the below running thread:
=>0x00007f1838a2f800 GCTaskThread "GC Thread#0" [stack: 0x00007f18176ff000,0x00007f18177ff000] [id=25582]

*Filename: B1_hs_err_pid14816.log_gccrash

A similar problem occurs on B1 node as well
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f9742cc04a5, pid=12994, tid=13127
#
# JRE version: OpenJDK Runtime Environment AdoptOpenJDK (11.0.8+10) (build 11.0.8+10)
# Java VM: OpenJDK 64-Bit Server VM AdoptOpenJDK (11.0.8+10, mixed mode, tiered, g1 gc, linux-amd64)
# Problematic frame:
# V  [libjvm.so+0x7ae4a5]  G1ParScanThreadState::copy_to_survivor_space(InCSetState, oopDesc*, markOopDesc*)+0x35
#
# Core dump will be written. Default location: Core dumps may be processed with "/opt/dynatrace/oneagent/agent/rdp -p %p -P %P -e %e -s %s" (or dumping to /opt/PingIdentity/PingDirectory/bin/core.12994)
#
# If you would like to submit a bug report, please visit:
#   https://github.com/AdoptOpenJDK/openjdk-support/issues
#

Crash thread at:
=>0x00007f8e9400a800 GCTaskThread "GC Thread#1" [stack: 0x00007f8e471b5000,0x00007f8e472b5000] [id=13127]

Initial Suspicion/Observation
Initial Suspicion/Observations
- Since the crash occurred on two different machines and different JVM uptime it points to a possible thread contention on a GC Thread where the heap is getting corrupted for an unknown reason.
- The customer has removed third-party code like DynaTrace OneAgent and restart the JVM, however, they experience similar issues over time. G1GC thread fails.
- Since this is an Amazon EC to instance, they have allocated 64GB of physical RAM to the server and JVM is sized with 32GB heap. However, since G1GC is being used -XX:NewSize=1g and -XX:MaxNewSize=4g. As part of PD java. properties when we change JVM to use start-server.gc-g1-args we still see NewSize and MaxNewSize. Is this a mistake in PD?
As per Oracle, they recommend if we use G1GC young gen allocation size should not be specified ie:https://docs.oracle.com/javase/9/gctuning/garbage-first-garbage-collector.htm#JSGCT-GUID-98E80C82-24D8-41D4-BC39-B2583F04F1FF

If we take a look at the Java crash dump we see the following: in the global flasg
[Global flags]
     bool AlwaysTenure                             = false                                     {product} {command line}
     intx CICompilerCount                          = 12                                        {product} {ergonomic}
     uint ConcGCThreads                            = 1                                         {product} {command line}
     uint G1ConcRefinementThreads                  = 13                                        {product} {ergonomic}
   size_t G1HeapRegionSize                         = 16777216                                  {product} {ergonomic}
    uintx GCDrainStackTargetSize                   = 64                                        {product} {ergonomic}
     bool HeapDumpOnOutOfMemoryError               = true                                   {manageable} {command line}
   size_t InitialHeapSize                          =<PHONE_NUMBER>8                               {product} {command line}
    uintx InitialTenuringThreshold                 = 2                                         {product} {ergonomic}
    uintx InitiatingHeapOccupancyPercent           = 80                                        {product} {command line}
   size_t MarkStackSize                            = 4194304                                   {product} {ergonomic}
   size_t MaxHeapSize                              =<PHONE_NUMBER>8                               {product} {command line}
   size_t MaxNewSize                               =<PHONE_NUMBER>                                {product} {command line}
    uintx MaxTenuringThreshold                     = 2                                         {product} {command line}
   size_t MinHeapDeltaBytes                        = 16777216                                  {product} {ergonomic}
     bool NeverTenure                              = false                                     {product} {command line}
   size_t NewSize                                  =<PHONE_NUMBER>                                {product} {command line}
    uintx NonNMethodCodeHeapSize                   = 7594288                                {pd product} {ergonomic}
    uintx NonProfiledCodeHeapSize                  = 122031976                              {pd product} {ergonomic}
     bool OmitStackTraceInFastThrow                = false                                     {product} {command line}
     bool PrintCommandLineFlags                    = true                                      {product} {command line}
    uintx ProfiledCodeHeapSize                     = 122031976                              {pd product} {ergonomic}
     intx RefDiscoveryPolicy                       = 1                                         {product} {command line}
    uintx ReservedCodeCacheSize                    = 251658240                              {pd product} {ergonomic}
     bool SegmentedCodeCache                       = true                                      {product} {ergonomic}
     bool UseBiasedLocking                         = true                                      {product} {command line}
     bool UseG1GC                                  = true

More recently they are also getting crash on PD run thread:
File: A1_hs_err_pid29686.log_gccrash
#  SIGSEGV (0xb) at pc=0x00007f7044dee4d6, pid=29686, tid=14980
#
# JRE version: OpenJDK Runtime Environment AdoptOpenJDK (11.0.8+10) (build 11.0.8+10)
# Java VM: OpenJDK 64-Bit Server VM AdoptOpenJDK (11.0.8+10, mixed mode, tiered, g1 gc, linux-amd64)
# Problematic frame:
# J 9459 c2 java.util.HashSet.add(Ljava/lang/Object;)Z<EMAIL_ADDRESS>(20 bytes) @ 0x00007f7044dee4d6 [0x00007f7044dee480+0x0000000000000056]

Failed on:
=>0x00007f67600d2800 JavaThread "Server monitor info collector using connection LDAPConnection(connected to <IP_ADDRESS>:1636)  (<IP_ADDRESS>-20210204225928.000Z-4d7c823d)" daemon [_thread_in_Java, id=14980, stack(0x00007f65f4a97000,0x00007f65f4b98000)]

running Stack
Current thread (0x00007f67600d2800):  JavaThread "Server monitor info collector using connection LDAPConnection(connected to <IP_ADDRESS>:1636)  (<IP_ADDRESS>-20210204225928.000Z-4d7c823d)" daemon [_thread_in_Java, id=14980, stack(0x00007f65f4a97000,0x00007f65f4b98000)]

Stack: [0x00007f65f4a97000,0x00007f65f4b98000],  sp=0x00007f65f4b96890,  free space=1022k
Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
J 9459 c2 java.util.HashSet.add(Ljava/lang/Object;)Z<EMAIL_ADDRESS>(20 bytes) @ 0x00007f7044dee4d6 [0x00007f7044dee480+0x0000000000000056]
J 9881 c2 java.util.AbstractCollection.addAll(Ljava/util/Collection;)Z<EMAIL_ADDRESS>(42 bytes) @ 0x00007f7044ed6b18 [0x00007f7044ed6620+0x00000000000004f8]
J 30737 c2 com.unboundid.directory.server.api.DirectoryThread.run()V (1552 bytes) @ 0x00007f704614f930 [0x00007f704614df40+0x00000000000019f0]
v  ~StubRoutines::call_stub
V  [libjvm.so+0x88d1c9]  JavaCalls::call_helper(JavaValue*, methodHandle const&, JavaCallArguments*, Thread*)+0x3b9
V  [libjvm.so+0x88b16d]  JavaCalls::call_virtual(JavaValue*, Handle, Klass*, Symbol*, Symbol*, Thread*)+0x1ed
V  [libjvm.so+0x936fec]  thread_entry(JavaThread*, Thread*)+0x6c
V  [libjvm.so+0xdcc2ea]  JavaThread::thread_main_inner()+0x1ba
V  [libjvm.so+0xdc8d7f]  Thread::call_run()+0x14f
V  [libjvm.so+0xc175ae]  thread_native_entry(Thread*)+0xee

Is this also related to JVM heap issue?
V [libjvm.so+0xc175ae] thread_native_entry(Thread*)+0xee
See Ref:
https://bugs.openjdk.java.net/browse/JDK-8246219
https://bugs.openjdk.java.net/browse/JDK-8170451
Actual crash dump has been turned off at ulimit (core dump). If the customer enables this it will produce very large dumps (closer to perhaps 32GB), do you want these attached to the case?
Additional Crash
File: hs_err_pid24779.log
Version: 11.0.11+9
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f0c3afac118, pid=24779, tid=24873
#
# JRE version: OpenJDK Runtime Environment Corretto-<IP_ADDRESS>.1 (11.0.11+9) (build 11.0.11+9-LTS)
# Java VM: OpenJDK 64-Bit Server VM Corretto-<IP_ADDRESS>.1 (11.0.11+9-LTS, mixed mode, tiered, g1 gc, linux-amd64)
# Problematic frame:
# V  [libjvm.so+0x7a0118]  G1FullGCMarker::complete_marking(GenericTaskQueueSet<OverflowTaskQueue<oopDesc*, (MemoryType)5, 131072u>, (MemoryType)5>*, GenericTaskQueueSet<OverflowTaskQueue<ObjArrayTask, (MemoryType)5, 131072u>, (MemoryType)5>*, ParallelTaskTerminator*)+0x1498

Running Stack
Current thread (0x00007f03b8005800):  GCTaskThread "GC Thread#4" [stack: 0x00007f0367cfc000,0x00007f0367dfc000] [id=24873]

Stack: [0x00007f0367cfc000,0x00007f0367dfc000],  sp=0x00007f0367dfac80,  free space=1019k
Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.so+0x7a0118]  G1FullGCMarker::complete_marking(GenericTaskQueueSet<OverflowTaskQueue<oopDesc*, (MemoryType)5, 131072u>, (MemoryType)5>*, GenericTaskQueueSet<OverflowTaskQueue<ObjArrayTask, (MemoryType)5, 131072u>, (MemoryType)5>*, ParallelTaskTerminator*)+0x1498
V  [libjvm.so+0x79e675]  G1FullGCMarkTask::work(unsigned int)+0xe5
V  [libjvm.so+0xeed723]  GangWorker::loop()+0x43
V  [libjvm.so+0xe55e2d]  Thread::call_run()+0x14d
V  [libjvm.so+0xc09a6c]  thread_native_entry(Thread*)+0xec

Workarounds
Update Java to latest OpenJDK build or use Oracle JDK latest
Change G1GC to a stop the world CMS method to rule of if threading issue
Reduce JVM heap based on verbose GC log analysis.

Triaging info
Java version: AdoptOpenJDK (11.0.8+10) (build 11.0.8+10)
What is your operating system and platform?
Amazon Linux release 2 (Karoo)
16 CPU cores (Intel(R) Xeon(R) Platinum 8175M CPU @ 2.50GHz)
62 GB Physical RAM

STAGING-13210.zip

If needed, we have an additional core dump file. Holding off on uploading it due to filesize (>38 GB), unless requested.

@kolehey You'll need to upgrade to 11.0.12

@karianna Is this a known issue at the moment? More specifically, has this issue been addressed and resolved in 11.0.12?

I believe so.  You can check the release notes at adoptium.net/release_notes.html and adoptopenjdk.net/release_notes.html

@karianna, thanks for the guidance. We advised our client to upgrade to 11.0.12, and a few days later, they had another SIGSEGV, though it appears different:
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007fef59f69fc9, pid=16304, tid=6861
#
# JRE version: OpenJDK Runtime Environment Corretto-<IP_ADDRESS>.1 (11.0.12+7) (build 11.0.12+7-LTS)
# Java VM: OpenJDK 64-Bit Server VM Corretto-<IP_ADDRESS>.1 (11.0.12+7-LTS, mixed mode, tiered, g1 gc, linux-amd64)
# Problematic frame:
# V  [libjvm.so+0xceefc9]  SharedRuntime::generate_class_cast_message(Klass*, Klass*, Symbol*)+0x59
#
# Core dump will be written. Default location: /opt/PingIdentity/PingDirectory/bin/core.16304
#
# If you would like to submit a bug report, please visit:
#   https://github.com/corretto/corretto-11/issues/
#

I believe this would still be evaluated by Adoptium, but please correct me if I'm wrong about that. My question is whether we should provide more information here, or if this is different enough to require a new ticket. Please let me know.

You're using an Amazon Corretto build - you should report this over at https://github.com/corretto/corretto-11

We have been facing the same issue for past few weeks. In our case, JVM runtime is only couple of hours. Here is the error:

A fatal error has been detected by the Java Runtime Environment:

SIGSEGV (0xb) at pc=0x00007fc04c7467e4, pid=14, tid=35

JRE version: OpenJDK Runtime Environment AdoptOpenJDK (11.0.8+10) (build 11.0.8+10)
Java VM: OpenJDK 64-Bit Server VM AdoptOpenJDK (11.0.8+10, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
Problematic frame:
V  [libjvm.so+0x7ae7e4]  G1ParScanThreadState::copy_to_survivor_space(InCSetState, oopDesc*, markOopDesc*)+0x374

Core dump will be written. Default location: //core.14

If you would like to submit a bug report, please visit:
https://github.com/AdoptOpenJDK/openjdk-support/issues

We are seeing this error in roughly 1 out of 20 runs. Can someone please confirm if this issue is fixed in 11.0.12? Please let me know if more information is needed.

We have been facing the same issue for past few weeks. In our case, JVM runtime is only couple of hours. Here is the error:

We are seeing this error in roughly 1 out of 20 runs. Can someone please confirm if this issue is fixed in 11.0.12? Please let me know if more information is needed.

Please use the latest version 11.0.12+7 and report back here if it's still an issue (this crash report is different from the other poster's).

We have been facing the same issue for past few weeks. In our case, JVM runtime is only couple of hours. Here is the error:

We are seeing this error in roughly 1 out of 20 runs. Can someone please confirm if this issue is fixed in 11.0.12? Please let me know if more information is needed.

Please use the latest version 11.0.12+7 and report back here if it's still an issue (this crash report is different from the other poster's).

Hello Karianna,
We tried using version 11.0.12+7, but are facing the same issue:
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007fd2afe2ad04, pid=14, tid=34
#
# JRE version: OpenJDK Runtime Environment Temurin-11.0.12+7 (11.0.12+7) (build 11.0.12+7)
# Java VM: OpenJDK 64-Bit Server VM Temurin-11.0.12+7 (11.0.12+7, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# V  [libjvm.so+0x7f4d04]  G1ParScanThreadState::copy_to_survivor_space(InCSetState, oopDesc*, markOopDesc*)+0x374
#
# Core dump will be written. Default location: //core.14
#
# If you would like to submit a bug report, please visit:
#   https://github.com/adoptium/adoptium-support/issues
#

Any other suggestions?

The JVM crashes regularly on GCP VM.

A fatal error has been detected by the Java Runtime Environment:

SIGSEGV (0xb) at pc=0x00007f1b337a470d, pid=96328, tid=96349

JRE version: OpenJDK Runtime Environment Temurin-11.0.13+8 (11.0.13+8) (build 11.0.13+8)
Java VM: OpenJDK 64-Bit Server VM Temurin-11.0.13+8 (11.0.13+8, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
Problematic frame:
V  [libjvm.so+0x7c270d]  G1ParScanThreadState::copy_to_survivor_space(InCSetState, oopDesc*, markOopDesc*)+0x36d

Core dump will be written. Default location: Core dumps may be processed with "/sbin/crash_reporter --user=%P:%s:%u:%g:%f" (or dumping to /home/project/test_project/dataflow/ble_to_bigquery/kotlin/app/core.96328)

If you would like to submit a bug report, please visit:
https://github.com/adoptium/adoptium-support/issues

---------------  S U M M A R Y ------------
Command Line: -Dorg.gradle.internal.worker.tmpdir=/home/project/test_project/dataflow/ble_to_bigquery/kotlin/app/build/tmp/test/work -Dorg.gradle.native=false --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED -Xmx512m -Dfile.encoding=UTF-8 -Duser.country=US -Duser.language=en -Duser.variant -ea worker.org.gradle.process.internal.worker.GradleWorkerMain 'Gradle Test Executor 1'
Host: Intel(R) Xeon(R) CPU @ 3.10GHz, 4 cores, 15G, Alpine Linux v3.14
Time: Thu Jan 20 11:52:30 2022 UTC elapsed time: 19.243935 seconds (0d 0h 0m 19s)

The JVM crashes regularly on GCP VM.
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f1b337a470d, pid=96328, tid=96349
#
# JRE version: OpenJDK Runtime Environment Temurin-11.0.13+8 (11.0.13+8) (build 11.0.13+8)
# Java VM: OpenJDK 64-Bit Server VM Temurin-11.0.13+8 (11.0.13+8, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# V  [libjvm.so+0x7c270d]  G1ParScanThreadState::copy_to_survivor_space(InCSetState, oopDesc*, markOopDesc*)+0x36d
#
# Core dump will be written. Default location: Core dumps may be processed with "/sbin/crash_reporter --user=%P:%s:%u:%g:%f" (or dumping to /home/project/test_project/dataflow/ble_to_bigquery/kotlin/app/core.96328)
#
# If you would like to submit a bug report, please visit:
#   https://github.com/adoptium/adoptium-support/issues
#

---------------  S U M M A R Y ------------

Command Line: -Dorg.gradle.internal.worker.tmpdir=/home/project/test_project/dataflow/ble_to_bigquery/kotlin/app/build/tmp/test/work -Dorg.gradle.native=false --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED -Xmx512m -Dfile.encoding=UTF-8 -Duser.country=US -Duser.language=en -Duser.variant -ea worker.org.gradle.process.internal.worker.GradleWorkerMain 'Gradle Test Executor 1'

Host: Intel(R) Xeon(R) CPU @ 3.10GHz, 4 cores, 15G, Alpine Linux v3.14
Time: Thu Jan 20 11:52:30 2022 UTC elapsed time: 19.243935 seconds (0d 0h 0m 19s)

We are releasing 11.0.14 over the coming 4-5 working days.  I'm recommend trying that out once it lands (a few GC crashes were fixed).

Crashing after 12 hours

@huyang327 - Can you try with 11.0.15 - a bunch of GC fixes went in

@huyang327 - Can you try with 11.0.15 - a bunch of GC fixes went in
I checked the problem. I checked the memory of my machine with memtest and found that there was a problem with the memory. We replaced the server and the problem did not appear.

We are still facing this issue
Current Version 👍 openjdk version "11.0.15" 2022-04-19 LTS
OpenJDK Runtime Environment 18.9 (build 11.0.15+9-LTS)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.15+9-LTS, mixed mode, sharing)
A fatal error has been detected by the Java Runtime Environment:

SIGSEGV (0xb) at pc=0x00007f0a49052344, pid=22443, tid=22445

JRE version: OpenJDK Runtime Environment 18.9 (11.0.15+9) (build 11.0.15+9-LTS)
Java VM: OpenJDK 64-Bit Server VM 18.9 (11.0.15+9-LTS, mixed mode, sharing, tiered, compressed oops, g1 gc, linux-amd64)
Problematic frame:
V  [libjvm.so+0x80a344]  G1ParScanThreadState::copy_to_survivor_space(InCSetState, oopDesc*, markOopDesc*)+0x3f4

Core dump will be written. Default location: Core dumps may be processed with "/bin/false" (or dumping to /opt/redwood/j2ee/cluster/server1/logs/core.22443)

If you would like to submit a bug report, please visit:
https://bugzilla.redhat.com/enter_bug.cgi?product=Red Hat Enterprise Linux 7&component=java-11-openjdk

Current thread (0x00007f0a44030000):  GCTaskThread "GC Thread#0" [stack: 0x00007f0a2b8ef000,0x00007f0a2b9ef000] [id=22445]

@Rudrapuneet that's for the Red Hat Build of OpenJDK (you'll want to contact them about it as suggested in the link at the end of the error message).  11.0.16 is also now out so you may want to try that.

I think this may be a generic JVM bug, not one specific to Adoptium. We are seeing it in 11.0.18 (though not Adoptium). Was just reading through to see if there was a workaround suggested.

@karianna Using version 11.0.19+7 we still have the JVM crash :
# JRE version: OpenJDK Runtime Environment Temurin-11.0.19+7 (11.0.19+7) (build 11.0.19+7)
# Java VM: OpenJDK 64-Bit Server VM Temurin-11.0.19+7 (11.0.19+7, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# V  [libjvm.so+0x661b7c]  oopDesc::size_given_klass(Klass*)+0x2c

Thanks for you feedback

https://bugs.openjdk.org/browse/JDK-8303239

Hi folks, curious to hear if <IP_ADDRESS> has resolved the issue for folks.

For what it's worth, I'll chime in on the problems that I've had the last few days working with GitHub Workflows using Adoptium. This may or may not be the same problem, but it sure looks similar:

This crash has occurred for me on: macOS 11, macOS 13, Ubuntu 20.04, and Ubuntu 22.04
It has occurred running Java: 11.0.21, 17.0.9, and 21.0.1 (intermittently on all the platforms above)
It does not require the JVM to run for a long time, but rather it crashes in just milliseconds (and it rarely crashes, but when it does, it's fast)
The problematic frames I've seen so far are listed below, but they are always in one of the "GC Thread#n" threads:

# Problematic frame:
# V  [libjvm.dylib+0x4f4e0e]  G1ParScanThreadState::copy_to_survivor_space(G1HeapRegionAttr, oopDesc*, markWord)+0x3e

# Problematic frame:
# V  [libjvm.so+0x75e0ef]  G1ParCopyClosure<(G1Barrier)0, false>::do_oop(oopDesc**)+0x3f

I can provide a few entire hs_err*.log files for the above if needed. I can also try to provide other troubleshooting info if needed, but keep in mind that it's not trivial to get information like the above from GitHub Workflows (I got what I got by adding  || (ls -al && cat hs_err*.log && false) to the end of the mvn command).
I'm also going to install Adoptium on my local macOS and Ubuntu machines and try to replicate the problem by running the mvn command in a loop, where hopefully I can get more information. It's possible that I'll determine the problem is unrelated to this (or be unable to replicate it outside of GitHub Workflows), but I wanted to go ahead and put this out there in case I get any advice on tracking down the problem and/or this information helps you in some way.

@beamerblvd hs_err files would be most helpful thanks.  Is there are particular type of workload you are running?

hs_err_pid173.log
Please take a look at my error message.
Running in a virtual machine installed in Hyper-V on Windows 11.
@karianna

hs_err_pid173.log Please take a look at my error message. Running in a virtual machine installed in Hyper-V on Windows 11. @karianna

The method that caused the error is copy_to_survivor_space, and the address of si_addr is 0x00000007c1b816d8, which seems to be within the range of Compressed class space size:<PHONE_NUMBER> Address: 0x00000007c0000000.
It looks a bit strange, why is the copy_to_survivor_space method related to the Compressed class space memory?

hs_err_pid173.log Please take a look at my error message. Running in a virtual machine installed in Hyper-V on Windows 11. @karianna

The method that caused the error is copy_to_survivor_space, and the address of si_addr is 0x00000007c1b816d8, which seems to be within the range of Compressed class space size:<PHONE_NUMBER> Address: 0x00000007c0000000. It looks a bit strange, why is the copy_to_survivor_space method related to the Compressed class space memory?

This seems to be from a Java 1.8.0_412 instance that's from Oracle, you'll want to report that to them.

The latest quarterly release is out so folks can try 1.8.0_422, 11.0.24, 17.0.12 or 21.0.4

The latest quarterly release is out so folks can try 1.8.0_422, 11.0.24, 17.0.12 or 21.0.4

Thank you for your reply, I will update the version and try it out.

@karianna
1.8.0_422
hs_err_pid9757.log

@karianna 1.8.0_422 hs_err_pid9757.log

According to your log:
par new generation memory is in the range of 0x00000000aa000000, 0x00000000ca000000
concurrent mark-sweep generation memory is in the range of
0x0000000455000000, 0x00000005a0016000
from space memory is in the range of
0x00000000c6cd0000, 0x00000000c99572e0
to space memory is in the range of
0x00000000c39a0000, 0x00000000c5aea070
Why does the program try to access memory when it crashes
si_addr: 0x00000004500ad580
This memory address is not in any memory area where gc works.
Have you used memtest to check if there is any problem with the server memory?


Exception that I cannot get handled

Hi,
I'm trying to implement your producer/consumer example, and it's working fine until the client closes their side of the connection. Then, I get exceptions on the server that I can't seem to handle gracefully. I've tried researching how to deal with exceptions for Futures, but nothing has worked. Here is what it looks like:

Unexpected error: WebSocket connection is closed: code = 1006, no reason.
User mik closed their connection
Error in closing handshake
Traceback (most recent call last):
  File "/Users/dej/wa/dragonfly/bigsur/venv/lib/python3.6/site-packages/websockets/protocol.py", line 571, in write_frame
    yield from self.writer.drain()
  File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/asyncio/streams.py", line 323, in drain
    raise exc
  File "/Users/dej/wa/dragonfly/bigsur/venv/lib/python3.6/site-packages/websockets/protocol.py", line 571, in write_frame
    yield from self.writer.drain()
  File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/asyncio/streams.py", line 333, in drain
    yield from self._protocol._drain_helper()
  File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/asyncio/streams.py", line 211, in _drain_helper
    yield from waiter
  File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/asyncio/selector_events.py", line 785, in _write_ready
    n = self._sock.send(self._buffer)
BrokenPipeError: [Errno 32] Broken pipe

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/dej/wa/dragonfly/bigsur/venv/lib/python3.6/site-packages/websockets/server.py", line 94, in handler
    yield from self.close()
  File "/Users/dej/wa/dragonfly/bigsur/venv/lib/python3.6/site-packages/websockets/protocol.py", line 242, in close
    self.worker_task, self.timeout, loop=self.loop)
  File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/asyncio/tasks.py", line 352, in wait_for
    return fut.result()
  File "/Users/dej/wa/dragonfly/bigsur/venv/lib/python3.6/site-packages/websockets/protocol.py", line 414, in run
    msg = yield from self.read_message()
  File "/Users/dej/wa/dragonfly/bigsur/venv/lib/python3.6/site-packages/websockets/protocol.py", line 436, in read_message
    frame = yield from self.read_data_frame(max_size=self.max_size)
  File "/Users/dej/wa/dragonfly/bigsur/venv/lib/python3.6/site-packages/websockets/protocol.py", line 499, in read_data_frame
    yield from self.write_frame(OP_CLOSE, frame.data)
  File "/Users/dej/wa/dragonfly/bigsur/venv/lib/python3.6/site-packages/websockets/protocol.py", line 576, in write_frame
    raise ConnectionClosed(self.close_code, self.close_reason)
websockets.exceptions.ConnectionClosed: WebSocket connection is closed: code = 1006, no reason.
^CTraceback (most recent call last):
  File "src/locix/websocket/server.py", line 156, in <module>
    asyncio.get_event_loop().run_forever()
  File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/asyncio/base_events.py", line 421, in run_forever
    self._run_once()
  File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/asyncio/base_events.py", line 1389, in _run_once
    event_list = self._selector.select(timeout)
  File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/selectors.py", line 577, in select
    kev_list = self._kqueue.control(None, max_ev, timeout)
KeyboardInterrupt

All I want to be able to do is not have the exception spew to the console, but show a nice message, "user 1 has disconnected"
The main difference from your example is that I don't have consumer() and producer() methods, I just do my consuming and producing directly in the consumer_handler() and producer_handler() async methods. To be honest, I'm still pretty new to asyncio, so that may be part of the problem.
Thanks!

This output is generated by logging.
Since the last release, there have been changes to reduce verbosity. Now the code looks like this: https://github.com/aaugustin/websockets/blob/5d361a361a31ce19896dd0fb2c9dc684514e2a09/websockets/server.py#L108-L117
I don't think you should see these errors anymore with the current implementation in the master branch. If you can try it and confirm if it solves the problem for you, that's useful.

Given the lack of feedback, I'm going to close this ticket. Please reopen if the problem still exists in master.

Hey sorry for the delay. I just hadn't had a chance yet to try what you suggested. I'll let you know if I do run into it again, thanks! Otherwise the library has been working great so far, thank you!

Okay! I know it isn't easy to test until I put out a new release. I'd like to get #93 done.


OTP autofill Not Working in IO

Expected behavior

Actual behavior

Video/Screenshot

Steps to reproduce

Details
Flutter version:
Dart version:
Platform:
Logs and stacktrace

Any possible solutions

What did you try to solve

Checklist for self-check

[ ] Added expected and actual behavior.
[ ] Added video or screenshot of bug.
[ ] Added isolated way to reproduce the bug.
[ ] Specified Flutter, Dart version and platforms.
[ ] Attached error code and logs.
[ ] All unspecified fields in the Issue description are deleted.

Could you provide more information about your issue, please? @Amodh2022

Closing the issue due to lack of details.