Multi-Domain (SAN) Certificates

is is possible to create a cert that include all domains ? (Multi-Domain (SAN) Certificates)
a cert that include not only the main domain but also other domain all in one user's account?
Of course the domain pointer is also included.
I have a server that have 5 ips,i assign 4 ips to 4 different users,each of them have multiple domains,but only one didicated ip,and SNI is not very friendly at the moments.So SAN/UCC cert is needed.

Why is SNI not very "friendly"? But; this isn't possible at the moment and also not planned.

about 30% of my vistors still using windows XP that did not support SNI,i'm afraid maybe windows XP will live for another 5 years.

Currently the plugin is per-domain oriented, to implement "user-wide" SSL certificates we've to make many changes.

got it,hope to use the UCC/SAN cert in the near future,thank you for the great work!

Windows XP is already EOL, followed by IE7 and IE8 in the near feature. I'm not sure if we've to take care of these users which does use very insecure systems.. Is there any reason you have such a high visitor rate from Windows XP machines? Here it's ~3% (of all Windows machines) over the last 4 years.

I'm live in China,there are still many users using WinXP.

really have much hope on this, I'm also a DirectAdmin user in China, it's true there are still so many people using windows XP/IE7/IE8.

Hmm, that's unfortunate.. Ehm.

The people using Windows XP/IE7/IE8 should upgrade. You can't support EOL software forever.

i can't ask them to upgade to the lastest os,
all i can do is provide them the best experience
I'm just telling you that still many people who are using  outdate systems,
it's your right to do or not to do.
There are so many company using UCC/SAN certs such as Google/CloudFlare/Facebook/wikipedia and so on, and why they don't ask there vistors to use a modern systems?   Should we abandon/ingore them?
And at last,sorry for my bad english,english is not my native language,maybe i can't let you understand what i said.
Thanks again for the great work and wish you a happy day!
Best Regards,

I think this could be implemented in admin panel.

But please be noted that even we have SAN/UCC certs, XP/2003 clients will still get a SSL invalid warning because the way that their SChannel interprets Name Constraints are different..
For more, see: https://community.letsencrypt.org/t/san-domain-name-mismatch-android-2-windows-xp/4060

And even we have SAN/UCC certs, some older clients like XP SP2 or before, they do not have SHA-256 roots...STILL GET WARNING OR EVEN CAN'T CONNECT TO THE HTTPS SERVER

BTW, POSReady 2009 is not an EOL OS...

Hey... but are Chinese visitors going to Google/Facebook/wikipedia/CloudFlare?
I have only expericence that these services are not accessible from China...

Anyway, HTTPS for them is still great. I know many Chinese ISPs inject their own ads into all http traffic..

@v998  we can access to wikipeida/Cloudflare,these are not blocked in China.
When I say Google/Facebook/wikipedia/CloudFlare ,becourse it's more popular outside China.
Many popular chinese language websites are using UCC/SAN certs now,but I have no idea if you are fimilar with them,for example. https://www.taobao.com/ https://www.baidu.com/ https://www.tmall.com/
They all using ucc/san certs now.

@bob0627 I understand you can't do that and you want to provide the best to your customers. Maybe we could introduce this support in future versions, but I don't think we should aim for the 1.0 release to support this.

That's why it's milestone is future ;).

@bob0627

we can access to wikipeida/Cloudflare,these are not blocked in China.

Isn't Wikipedia Chinese blocked?
and CloudFlare proxied sites (with Free plan) are still getting problems with XP (they use the ECC SAN certificates, and XP can't read it)

When I say Google/Facebook/wikipedia/CloudFlare ,becourse it's more popular outside China.

Google.. SHA256 CERT, so no pre-XP SP3 (with IE) visitor can visit them...
Facebook.. again..SHA256, and no SSL3, so by default no IE6..
Wikipedia.. same as fb..

I just wonder how many chinese users use IE6-IE8 and pre-SP3 versions...
But I know they use browsers like 360, so, as Chromium handles these websites for XP, they still can be browsed.

Many popular chinese language websites are using UCC/SAN certs now,but I have no idea if you are fimilar with them,for example. https://www.taobao.com/ https://www.baidu.com/ https://www.tmall.com/

I know Baidu, but they aren't using Let's Encrypt.

剛才瀏覽了一下您的網站，您是香港人？

是..

我英文不太好，不知道怎麼表達自己的想法。

看你上面的英文, 也不錯啊 :)

我是覺得不能為了讓大家放棄過時的瀏覽器而推進技術的革新，畢竟SNI技術的初衷是為了解決在單個IP上面安裝更多的證書，這是好的一面。可是畢竟現在有很多訪客還是用著過時的系統無法體驗到SNI。

不知道你有沒有看我上面的評論, 要讓Let's Encrypt的證書在XP (chrome/ie) 等ua上面正常運作,
要解決的問題就不只是SNI,
LE簽的證書一定要是SHA256, 結果理論上只有SP3能認出
然而實際上XP不認LE那邊的根證書,所以在xp上面接近所有的瀏覽器(Firefox除外)都會警告LE的證書有問題, 那跟用自簽證書有甚麼分別呢?
還不如用StartSSL/WoSign搞SNI, 至少Chromium-based的(chrome/360)能順利上這些網站

Google/github 等大公司還用著UCC/SAN證書，為什麼我們不用呢？

就我們真是搞了SAN證書, UA還是會警告的
這是Let's Encrypt根證書的問題

Again, in English,
XP don't recognize Let's Encrypt issued Certificates.
It is meaningless to use SAN certs to support XP users, they are still getting warning anyways.
It would then be waste of bytes for those newer useragents to receive the extra Alternative Names.

@v998  thank you for you reply. Wikipedia is still accessable in China mainland.

@bob0627 I have new update.
The new intermediate CA by Let's Encrypt now does support Windows XP. (see: https://community.letsencrypt.org/t/upcoming-intermediate-changes/13106/3)
However, since the Let's Encrypt support for DirectAdmin is now handled officially, you may need to go to the official DA forum (forum.directadmin.com) to ask for the server-wide SAN cert functionality.
Note that you will also have to change your SSL configurations (like enabling SSLv3) for this to work on IE6.
=)

@v998  many thanks for your information.


Implement LogLog-Beta

A new paper released this month introduces a new cardinality estimation algorithm called LogLog-Beta/β:
https://arxiv.org/abs/1612.02284
"The new algorithm uses only one formula and needs no additional bias
corrections for the entire range of cardinalities, therefore, it is more
efficient and simpler to implement. Our simulations show that the accuracy
provided by the new algorithm is as good as or better than the accuracy
provided by either of HyperLogLog or HyperLogLog++."
Some comments about its accuracy (graphs included) can be found in this PR.

Boh, dupe of #125


How to add training = True in tensorflow-java?

The models that I have from Python works only if I provide training = True as well in Python.
for instance in Python;
import tensorflow as tf
my_model = tf.keras.models.load_model("model")
prdct = my_model(input_image, training = True)

Here, if I do not provide training = True, the values in prdct.numpy() are all "nan".
I have the same problem in tensorflow/java as well. I wonder if there is a way to give option training = True in tensorflow/java?
Here is the java code:
        TFloat32 ImagePredicted = (TFloat32) sess
        		.runner()
        		.feed(input_layer, inputTensor)
        		.fetch(outputLayer)
        		.run()
        		.get(0);

Depending on how you've loaded your model in and how it's specified, then you might be able to feed in a boolean (scalar) tensor that specifies if it's training or not. I've done this before in using the TF 1.x bindings to change the behaviour of a dropout layer. However that's going to depend on the model you've built in Keras, and how it gets exported from Keras and loaded into TF-Java.

This is the model in Python/tensorflow (version 2.2 and 2.4.1) and Java TF2 (tensorflow-core-platform, version 0.3.1);
import tensorflow as tf
def Generator(input_shape = (128,128,1)):
	inputs = tf.keras.layers.Input(input_shape)
	down_stack = [
	downsample(64, 4, apply_batchnorm = False),
	downsample(128, 4),
	downsample(256, 4),
	downsample(256, 4),
	downsample(512, 4),
	downsample(512, 4),
	downsample(512, 4),
	]
	up_stack = [
	upsample(512, 4, apply_dropout = True),
	upsample(512, 4, apply_dropout = True),
	upsample(512, 4, apply_dropout = True),
	upsample(256, 4),
	upsample(256, 4),
	upsample(128, 4),
	upsample(64, 4),
	]
	initializer = "he_normal"
	last = tf.keras.layers.Conv2DTranspose(OUTPUT_CHANNELS, 4, strides = 2, padding='same', kernel_initializer=initializer, activation='tanh')
	x = inputs
	skips = []
	for down in down_stack:
		x = down(x)
		skips.append(x)
	skips = reversed(skips[:-1])
	for up, skip in zip(up_stack, skips):
		x = up(x)
		x = tf.keras.layers.Concatenate()([x, skip])
	x = last(x)
	return tf.keras.Model(inputs = inputs, outputs = x)

generator = Generator(input_shape)

after training, I simply save the model as:
generator.save("model")
then, I load it in Python as below and set training = True;
my_model = tf.keras.models.load_model("model")
prdct = my_model(input_image, training = True)  #input image is (1,128,128,1) a numpy array

Now in Java (tensorflow-core-platform, version 0.3.1) I do the following.
        SavedModelBundle theModel = SavedModelBundle.load("model", "serve");
        Session sess = theModel.session();

        // convert Buffered image to FloatArray and then to Tensor
        float[][][][] floatImage = ConvertTtoFloatImage(image, imgHeight, imgWidth); // imgHeight and imgWidth are 128, 128
        TFloat32 inputTensor = TFloat32.tensorOf(StdArrays.ndCopyOf(floatImage));

       // perform prediction

        TFloat32 ImagePredicted = (TFloat32) sess
        		.runner()
        		.feed("serving_default_input_1", inpTensor)
        		.fetch("StatefulPartitionedCall")
        		.run()
        		.get(0);

Now all values in ImagePredicted are -1.

I am not sure if this  could be a solution.
public void feed(String inputName, boolean[] src, long... dims) {
  byte[] b = new byte[src.length];
  for (int i = 0; i < src.length; i++) {
    b[i] = src[i] ? (byte) 1 : (byte) 0;
  }
  addFeed(inputName, Tensor.create(Boolean.class, dims, ByteBuffer.wrap(b)));
}

as it raises this error (The method create(Class<Boolean>, long[], ByteBuffer) is undefined for the type Tensor) for Tensor.create, I could not test it.

You should use TBool.class rather than Boolean.class. However I'm not sure that that will achieve what you want. The effect of the training=true flag in Keras depends on the layers used, and how the model has been constructed (see the call definition here - https://github.com/tensorflow/tensorflow/blob/v2.4.1/tensorflow/python/keras/engine/training.py#L428). So if that eventually unfolds into a graph which expects a boolean tensor with a specific name then you can do that (and it tended to in TF 1.x). However Keras is more tightly integrated into TF 2.x and many of the layers have more complex behaviour. So you'll need to trace through what your Python code does and figure out what the effect of that flag is for your specific model.

Thanks for the explanation, now I could understand the logic of feed, thus one can feed several parameters, separately. Coming from Python to Java, for a beginner is really difficult to understand the logic in Java. I will write a detailed answer again if I solve the problem. Again thanks for your explanation.

The feeding logic is pretty much exactly how it worked in tf 1. We're working on function support which will line up with how tf.function works in tf 2, this is already available for inference using saved model bundle in TF Java.

Unfortunately, I have not found how to feed in the Boolean in my model.
Here is the Operations in the graph and I cannot find one that might need boolean feed.
<VarHandleOp 'conv2d_transpose_7/kernel'>
<ReadVariableOp 'conv2d_transpose_7/kernel/Read/ReadVariableOp'>
<VarHandleOp 'conv2d_transpose_7/bias'>
<ReadVariableOp 'conv2d_transpose_7/bias/Read/ReadVariableOp'>
<VarHandleOp 'sequential/conv2d/kernel'>
<ReadVariableOp 'sequential/conv2d/kernel/Read/ReadVariableOp'>
<VarHandleOp 'sequential/p_re_lu/alpha'>
<ReadVariableOp 'sequential/p_re_lu/alpha/Read/ReadVariableOp'>
<VarHandleOp 'sequential_1/conv2d_1/kernel'>
<ReadVariableOp 'sequential_1/conv2d_1/kernel/Read/ReadVariableOp'>
<VarHandleOp 'sequential_1/batch_normalization/gamma'>
<ReadVariableOp 'sequential_1/batch_normalization/gamma/Read/ReadVariableOp'>
<VarHandleOp 'sequential_1/batch_normalization/beta'>
<ReadVariableOp 'sequential_1/batch_normalization/beta/Read/ReadVariableOp'>
<VarHandleOp 'sequential_1/batch_normalization/moving_mean'>
<ReadVariableOp 'sequential_1/batch_normalization/moving_mean/Read/ReadVariableOp'>
<VarHandleOp 'sequential_1/batch_normalization/moving_variance'>
<ReadVariableOp 'sequential_1/batch_normalization/moving_variance/Read/ReadVariableOp'>
<VarHandleOp 'sequential_1/p_re_lu_1/alpha'>
<ReadVariableOp 'sequential_1/p_re_lu_1/alpha/Read/ReadVariableOp'>
<VarHandleOp 'sequential_2/conv2d_2/kernel'>
<ReadVariableOp 'sequential_2/conv2d_2/kernel/Read/ReadVariableOp'>
<VarHandleOp 'sequential_2/batch_normalization_1/gamma'>
<ReadVariableOp 'sequential_2/batch_normalization_1/gamma/Read/ReadVariableOp'>
<VarHandleOp 'sequential_2/batch_normalization_1/beta'>
<ReadVariableOp 'sequential_2/batch_normalization_1/beta/Read/ReadVariableOp'>
<VarHandleOp 'sequential_2/batch_normalization_1/moving_mean'>
<ReadVariableOp 'sequential_2/batch_normalization_1/moving_mean/Read/ReadVariableOp'>
<VarHandleOp 'sequential_2/batch_normalization_1/moving_variance'>
<ReadVariableOp 'sequential_2/batch_normalization_1/moving_variance/Read/ReadVariableOp'>
<VarHandleOp 'sequential_2/p_re_lu_2/alpha'>
<ReadVariableOp 'sequential_2/p_re_lu_2/alpha/Read/ReadVariableOp'>
<VarHandleOp 'sequential_3/conv2d_3/kernel'>
<ReadVariableOp 'sequential_3/conv2d_3/kernel/Read/ReadVariableOp'>
<VarHandleOp 'sequential_3/batch_normalization_2/gamma'>
<ReadVariableOp 'sequential_3/batch_normalization_2/gamma/Read/ReadVariableOp'>
<VarHandleOp 'sequential_3/batch_normalization_2/beta'>
<ReadVariableOp 'sequential_3/batch_normalization_2/beta/Read/ReadVariableOp'>
<VarHandleOp 'sequential_3/batch_normalization_2/moving_mean'>
<ReadVariableOp 'sequential_3/batch_normalization_2/moving_mean/Read/ReadVariableOp'>
<VarHandleOp 'sequential_3/batch_normalization_2/moving_variance'>
<ReadVariableOp 'sequential_3/batch_normalization_2/moving_variance/Read/ReadVariableOp'>
<VarHandleOp 'sequential_3/p_re_lu_3/alpha'>
<ReadVariableOp 'sequential_3/p_re_lu_3/alpha/Read/ReadVariableOp'>
<VarHandleOp 'sequential_4/conv2d_4/kernel'>
<ReadVariableOp 'sequential_4/conv2d_4/kernel/Read/ReadVariableOp'>
<VarHandleOp 'sequential_4/batch_normalization_3/gamma'>
<ReadVariableOp 'sequential_4/batch_normalization_3/gamma/Read/ReadVariableOp'>
<VarHandleOp 'sequential_4/batch_normalization_3/beta'>
<ReadVariableOp 'sequential_4/batch_normalization_3/beta/Read/ReadVariableOp'>
<VarHandleOp 'sequential_4/batch_normalization_3/moving_mean'>
<ReadVariableOp 'sequential_4/batch_normalization_3/moving_mean/Read/ReadVariableOp'>
<VarHandleOp 'sequential_4/batch_normalization_3/moving_variance'>
<ReadVariableOp 'sequential_4/batch_normalization_3/moving_variance/Read/ReadVariableOp'>
<VarHandleOp 'sequential_4/p_re_lu_4/alpha'>
<ReadVariableOp 'sequential_4/p_re_lu_4/alpha/Read/ReadVariableOp'>
<VarHandleOp 'sequential_5/conv2d_5/kernel'>
<ReadVariableOp 'sequential_5/conv2d_5/kernel/Read/ReadVariableOp'>
<VarHandleOp 'sequential_5/batch_normalization_4/gamma'>
<ReadVariableOp 'sequential_5/batch_normalization_4/gamma/Read/ReadVariableOp'>
<VarHandleOp 'sequential_5/batch_normalization_4/beta'>
<ReadVariableOp 'sequential_5/batch_normalization_4/beta/Read/ReadVariableOp'>
<VarHandleOp 'sequential_5/batch_normalization_4/moving_mean'>
<ReadVariableOp 'sequential_5/batch_normalization_4/moving_mean/Read/ReadVariableOp'>
<VarHandleOp 'sequential_5/batch_normalization_4/moving_variance'>
<ReadVariableOp 'sequential_5/batch_normalization_4/moving_variance/Read/ReadVariableOp'>
<VarHandleOp 'sequential_5/p_re_lu_5/alpha'>
<ReadVariableOp 'sequential_5/p_re_lu_5/alpha/Read/ReadVariableOp'>
<VarHandleOp 'sequential_6/conv2d_6/kernel'>
<ReadVariableOp 'sequential_6/conv2d_6/kernel/Read/ReadVariableOp'>
<VarHandleOp 'sequential_6/batch_normalization_5/gamma'>
<ReadVariableOp 'sequential_6/batch_normalization_5/gamma/Read/ReadVariableOp'>
<VarHandleOp 'sequential_6/batch_normalization_5/beta'>
<ReadVariableOp 'sequential_6/batch_normalization_5/beta/Read/ReadVariableOp'>
<VarHandleOp 'sequential_6/batch_normalization_5/moving_mean'>
<ReadVariableOp 'sequential_6/batch_normalization_5/moving_mean/Read/ReadVariableOp'>
<VarHandleOp 'sequential_6/batch_normalization_5/moving_variance'>
<ReadVariableOp 'sequential_6/batch_normalization_5/moving_variance/Read/ReadVariableOp'>
<VarHandleOp 'sequential_6/p_re_lu_6/alpha'>
<ReadVariableOp 'sequential_6/p_re_lu_6/alpha/Read/ReadVariableOp'>
<VarHandleOp 'sequential_7/conv2d_transpose/kernel'>
<ReadVariableOp 'sequential_7/conv2d_transpose/kernel/Read/ReadVariableOp'>
<VarHandleOp 'sequential_7/batch_normalization_6/gamma'>
<ReadVariableOp 'sequential_7/batch_normalization_6/gamma/Read/ReadVariableOp'>
<VarHandleOp 'sequential_7/batch_normalization_6/beta'>
<ReadVariableOp 'sequential_7/batch_normalization_6/beta/Read/ReadVariableOp'>
<VarHandleOp 'sequential_7/batch_normalization_6/moving_mean'>
<ReadVariableOp 'sequential_7/batch_normalization_6/moving_mean/Read/ReadVariableOp'>
<VarHandleOp 'sequential_7/batch_normalization_6/moving_variance'>
<ReadVariableOp 'sequential_7/batch_normalization_6/moving_variance/Read/ReadVariableOp'>
<VarHandleOp 'sequential_8/conv2d_transpose_1/kernel'>
<ReadVariableOp 'sequential_8/conv2d_transpose_1/kernel/Read/ReadVariableOp'>
<VarHandleOp 'sequential_8/batch_normalization_7/gamma'>
<ReadVariableOp 'sequential_8/batch_normalization_7/gamma/Read/ReadVariableOp'>
<VarHandleOp 'sequential_8/batch_normalization_7/beta'>
<ReadVariableOp 'sequential_8/batch_normalization_7/beta/Read/ReadVariableOp'>
<VarHandleOp 'sequential_8/batch_normalization_7/moving_mean'>
<ReadVariableOp 'sequential_8/batch_normalization_7/moving_mean/Read/ReadVariableOp'>
<VarHandleOp 'sequential_8/batch_normalization_7/moving_variance'>
<ReadVariableOp 'sequential_8/batch_normalization_7/moving_variance/Read/ReadVariableOp'>
<VarHandleOp 'sequential_9/conv2d_transpose_2/kernel'>
<ReadVariableOp 'sequential_9/conv2d_transpose_2/kernel/Read/ReadVariableOp'>
<VarHandleOp 'sequential_9/batch_normalization_8/gamma'>
<ReadVariableOp 'sequential_9/batch_normalization_8/gamma/Read/ReadVariableOp'>
<VarHandleOp 'sequential_9/batch_normalization_8/beta'>
<ReadVariableOp 'sequential_9/batch_normalization_8/beta/Read/ReadVariableOp'>
<VarHandleOp 'sequential_9/batch_normalization_8/moving_mean'>
<ReadVariableOp 'sequential_9/batch_normalization_8/moving_mean/Read/ReadVariableOp'>
<VarHandleOp 'sequential_9/batch_normalization_8/moving_variance'>
<ReadVariableOp 'sequential_9/batch_normalization_8/moving_variance/Read/ReadVariableOp'>
<VarHandleOp 'sequential_10/conv2d_transpose_3/kernel'>
<ReadVariableOp 'sequential_10/conv2d_transpose_3/kernel/Read/ReadVariableOp'>
<VarHandleOp 'sequential_10/batch_normalization_9/gamma'>
<ReadVariableOp 'sequential_10/batch_normalization_9/gamma/Read/ReadVariableOp'>
<VarHandleOp 'sequential_10/batch_normalization_9/beta'>
<ReadVariableOp 'sequential_10/batch_normalization_9/beta/Read/ReadVariableOp'>
<VarHandleOp 'sequential_10/batch_normalization_9/moving_mean'>
<ReadVariableOp 'sequential_10/batch_normalization_9/moving_mean/Read/ReadVariableOp'>
<VarHandleOp 'sequential_10/batch_normalization_9/moving_variance'>
<ReadVariableOp 'sequential_10/batch_normalization_9/moving_variance/Read/ReadVariableOp'>
<VarHandleOp 'sequential_11/conv2d_transpose_4/kernel'>
<ReadVariableOp 'sequential_11/conv2d_transpose_4/kernel/Read/ReadVariableOp'>
<VarHandleOp 'sequential_11/batch_normalization_10/gamma'>
<ReadVariableOp 'sequential_11/batch_normalization_10/gamma/Read/ReadVariableOp'>
<VarHandleOp 'sequential_11/batch_normalization_10/beta'>
<ReadVariableOp 'sequential_11/batch_normalization_10/beta/Read/ReadVariableOp'>
<VarHandleOp 'sequential_11/batch_normalization_10/moving_mean'>
<ReadVariableOp 'sequential_11/batch_normalization_10/moving_mean/Read/ReadVariableOp'>
<VarHandleOp 'sequential_11/batch_normalization_10/moving_variance'>
<ReadVariableOp 'sequential_11/batch_normalization_10/moving_variance/Read/ReadVariableOp'>
<VarHandleOp 'sequential_12/conv2d_transpose_5/kernel'>
<ReadVariableOp 'sequential_12/conv2d_transpose_5/kernel/Read/ReadVariableOp'>
<VarHandleOp 'sequential_12/batch_normalization_11/gamma'>
<ReadVariableOp 'sequential_12/batch_normalization_11/gamma/Read/ReadVariableOp'>
<VarHandleOp 'sequential_12/batch_normalization_11/beta'>
<ReadVariableOp 'sequential_12/batch_normalization_11/beta/Read/ReadVariableOp'>
<VarHandleOp 'sequential_12/batch_normalization_11/moving_mean'>
<ReadVariableOp 'sequential_12/batch_normalization_11/moving_mean/Read/ReadVariableOp'>
<VarHandleOp 'sequential_12/batch_normalization_11/moving_variance'>
<ReadVariableOp 'sequential_12/batch_normalization_11/moving_variance/Read/ReadVariableOp'>
<NoOp 'NoOp'>
<Const 'Const'>
<Placeholder 'serving_default_input_1'>
<StatefulPartitionedCall 'StatefulPartitionedCall'>
<Placeholder 'saver_filename'>
<StatefulPartitionedCall 'StatefulPartitionedCall_1'>
<StatefulPartitionedCall 'StatefulPartitionedCall_2'>

What should I exactly have to search in the model?

I have the same issue in providing training = true in tensorflow js. I wonder if there is any work around for the problem.


Issue with Ord Server Indexing: "Couldn't receive txs" Error at Block 760000

I encountered an issue when starting the ord server. Every time the indexing blocks reach around 760,000, I receive the following error:
[indexing blocks] ███████████████████████████████████░░░░░░░░░░  767427/868769
[2024-11-04T02:16:24Z ERROR ord::index::updater] Couldn't receive txs failed to fetch raw transactions after 5 retries: error reading a body from connection: end of file before message length reached
I attempted to resolve this by running bitcoind with the reindex option, but the same issue persists.
ord version: 0.21.1

Are you running bitcoind with the -txindex?


Enum ProductType does not include BASIC-DESKTOP

There seems to be an additional Product-Type "BASIC-DESKTOP" which is not included in the enum ProductType.
Sample-Data
{   "country" : "DE",   "display_name" : "Test User",   "external_urls" : {     "spotify" : "https://open.spotify.com/user/1234"   },   "followers" : {     "href" : null,     "total" : 3   },   "href" : "https://api.spotify.com/v1/users/1234",   "id" : "1234",   "images" : [ {     "height" : null,     "url" : "https://scontent.xx.fbcdn.net/v/13",     "width" : null   } ],   "product" : "basic-desktop",   "type" : "user",   "uri" : "spotify:user:1234" }

What request returned this result?

While getting the current Users Profile: GetCurrentUsersProfileExample

Ok, what kind of product are you using? What do you think "basic-desktop" stands for?
(does it really contain a dash or an underscore?)

This is not my Account.
The example is original, I have only changed the personal information.

Hi @Dargmuesli,
the Value returned from Spotify is "basic-desktop" with a dash. But in the enum the value is BASIC_DESKTOP with an underscore. So this is not working yet.
If you want, contact me privately and I will give you an accessToken from the user-account in my example for testing purpose.

Fixed for all enums.


CertificateVerify tests

add test coverage for https://github.com/openssl/openssl/issues/25298
Checklist

[x] tests are added or updated

What is the merge-base for this PR? Is it prior to new padding check PR being merged?

I think they may be failing because of the combined changes in openssl and in tlsfuzzer, will need to debug it further but I'm afraid that https://github.com/openssl/openssl/issues/25277 will be messing up stuff with client certificates :/

@vdukhovni OK, fixed, had to use a separate server configuration.
But that actually means that the logic for the brainpool sigalgs is reversed: they are sent in TLS 1.2 CR but are not sent in TLS 1.3 CR: that's what the -s option specifies for test-tls13-certificate-verify.py...

Ping @openssl/committers for the 2nd review

This PR is in a state where it requires action by @openssl/committers but the last update was 30 days ago

Ping @openssl/committers for the 2nd review

This pull request is ready to merge

Pushed to master. Thank you for your contribution.


add support for PATCH because we're deprecating partial-update semantics for PUT in 1.4

see https://github.com/mesosphere/marathon/pull/5157#issuecomment-279020931

http://stackoverflow.com/questions/17897171/how-to-have-a-patch-annotation-for-jax-rs

Fixed in 1ba8ea7352045119b9d4803010f03b88ee79e861

I don't see a changelog note for the new PATCH API call
On Fri, Feb 17, 2017 at 6:53 AM, Matthias Eichstedt <
<EMAIL_ADDRESS>wrote:

Fixed in 1ba8ea7
https://github.com/mesosphere/marathon/commit/1ba8ea7352045119b9d4803010f03b88ee79e861
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/mesosphere/marathon/issues/5161#issuecomment-280630381,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACPVLMLiOlpAnUX8i6w0aOArj4C-4iwGks5rdYoxgaJpZM4L91Re
.


Add hex literals

These should be supported for both integer literals (0xdeadbeef) and byteliterals. Unfortunately byte literals are defined with a trailing b (123b) which makes it ambiguous. So we need a new way to write byte literals or make normal integer literals convertible to bytes in inference.
Doing it for just integers should be a straightforward affair though. The number tokenizing is done at https://github.com/gluon-lang/gluon/blob/3f78fe2ddc2ed06f5c09995930bdd1fb7e0449f7/parser/src/token.rs#L406-L431 so there just needs to be an extra case which detects and parses hex literals into an i64.

Could be 0b... for byte literals.

That's bit literals though 0b10101011 (which may also be useful) but they don\t solve the problem of figuring out wheter 123 is Int or Byte.

Ohhhhh! I see the problem now. Sorry, I was mixed up with binary-integer and byte literals!


Fragmentation in a single file

For some experiments for example comparing an LTQP method with a single endpoints method or to more easily know the expected results of a query, it is interesting to have a benchmark in one file. So I am wondering if a strategy to output everything in one file would be useful or if there are easier (while still following the Solidbench pipeline) ways to do that.

Should be possible by creating a new constant-based fragmentation strategy.


[WIP] MC BiDAF

This PR will modify/overwrite Min's code for the task of multiple choice question answering.
I figured I'd first clean up the file, so it's a bit more readable and I can more clearly understand what's to be done.

yeah, it's just renaming things so I have a clearer idea of what's going on in the code. thanks for taking a look.

i've made a separate branch from master called mc_bidaf, where i'll be merging this PR and future MC BiDAF-related PRs.

oops, forgot to merge this. i just checked, and this version of bidaf gets more or less the same results a run with the original code. merging it now


Nstratify good

chain_stratify = @n_stratify l_type l_type l_type l_type begin

        :stocks
        [(pop,), (pop,), (pop,)] => pop

        :parameters
        [(μ,), (μ,), (μ,)] => μ
        [(δ,), (δ,), (δ,)] => δ
        [(rFstOrder,), (rFstOrder,), (rFstOrder,)] => rFstOrder
        [(rage,), (rage,), (rage,)] => rage

        :dynamic_variables
        [(v_aging,), (v_aging,), (v_aging,)] => v_aging
        [(v_fstOrder,), (v_fstOrder,), (v_fstOrder,)] => v_fstOrder
        [(v_birth,), (v_birth,), (v_birth,)] => v_birth
        [(v_death,), (v_death,), (v_death,)] => v_death

        :flows
        [(f_aging,), (f_aging,), (f_aging,)] => f_aging
        [(f_fstOrder,), (f_fstOrder,), (f_fstOrder,)] => f_fstOrder
        [(f_birth,), (f_birth,), (f_birth,)] => f_birth
        [(f_death,), (f_death,), (f_death,)] => f_death

        :sums
        [(N,), (N,), (N,)] => N

end

I don't like this syntax, but it works, and it's really easy to deal with.
Anyways, still need to write a lot of tests, but both normal stratification and stratification of arbitrary length seems to work.

`julia
age_weight_6 = @n_stratify WeightModel ageWeightModel l_type begin
    :flows
    [~Death, ~Death] => f_death
    [~id, ~aging] => f_aging
    [~Becoming, ~id] => f_fstOrder
    [_, f_NB] => f_birth

    :dynamic_variables
    [v_NewBorn, v_NB] => v_birth
    [~Death, ~Death] => v_death
    [~id, (v_agingCA, v_agingAS)] => v_aging
    [(v_BecomingOverWeight, v_BecomingObese), (v_idC, v_idA, v_idS)] => v_fstOrder

    :parameters
    [μ, μ] => μ
    [(δw, δo), (δC, δA, δS)] => δ
    [(rw, ro), r] => rFstOrder
    [rage, (rageCA, rageAS)] => rage

end`

is equivalent to
`julia
age_weight_3 =  @stratify WeightModel l_type ageWeightModel begin
    :flows
    f_NewBorn => f_birth <= f_NB
    ~Death => f_death <= ~Death
    ~id => f_aging <= ~aging
    ~Becoming => f_fstOrder <= ~id

    :dynamic_variables
    v_NewBorn => v_birth <= v_NB
    ~Death => v_death <= ~Death
    ~id  => v_aging <= ~aging
    ~Becoming => v_fstOrder <= ~id

    :parameters
    μ => μ <= μ
    ~δ => δ <= ~δ
    rage => rage <= rageCA, rageAS
    _ => rFstOrder <= _

end

`
is equivalent to
`julia
l_type_noatts = map(l_type, Name=NothingFunction, Op=NothingFunction, Position=NothingFunction);

begin
s, = parts(l_type, :S)
N, = parts(l_type, :SV)
lsn, = parts(l_type, :LS)
f_aging, f_fstorder, f_birth, f_death = parts(l_type, :F)
i_aging, i_fstorder, i_birth = parts(l_type, :I)
o_aging, o_fstorder, o_death = parts(l_type, :O)
v_aging, v_fstorder, v_birth, v_death = parts(l_type, :V)
lv_aging1, lv_fstorder1, lv_death1 = parts(l_type, :LV)
lsv_birth1, = parts(l_type, :LSV)
p_μ, p_δ, p_rfstOrder, p_rage = parts(l_type, :P)
lpv_aging2, lpv_fstorder2, lpv_birth2, lpv_death2 = parts(l_type, :LPV)
end;
typed_WeightModel=ACSetTransformation(WeightModel, l_type_noatts,
  S = [s,s,s],
  SV = [N],
  LS = [lsn,lsn,lsn],
  F = [f_birth, f_death, f_fstorder, f_death, f_fstorder, f_death, f_aging, f_aging, f_aging],
  I = [i_birth, i_aging, i_fstorder, i_aging, i_fstorder, i_aging],
  O = [o_death, o_fstorder, o_aging, o_death, o_fstorder, o_aging, o_death, o_aging],
  V = [v_birth, v_death, v_fstorder, v_death, v_fstorder, v_death, v_aging, v_aging, v_aging],
  LV = [lv_death1, lv_fstorder1, lv_death1, lv_fstorder1, lv_death1, lv_aging1, lv_aging1, lv_aging1],
  LSV = [lsv_birth1],
  P = [p_μ, p_δ, p_rfstOrder, p_rfstOrder, p_δ, p_rage],
  LPV = [lpv_birth2, lpv_death2, lpv_fstorder2, lpv_death2, lpv_fstorder2, lpv_death2, lpv_aging2, lpv_aging2, lpv_aging2],
  Name=NothingFunction, Op=NothingFunction, Position=NothingFunction
);
@assert is_natural(typed_WeightModel);

typed_ageWeightModel=ACSetTransformation(ageWeightModel, l_type_noatts,
  S = [s,s,s],
  SV = [N],
  LS = [lsn,lsn,lsn],
  F = [f_birth, f_fstorder, f_death, f_aging, f_fstorder, f_death, f_aging, f_fstorder, f_death],
  I = [i_birth, i_fstorder, i_aging, i_fstorder, i_aging, i_fstorder],
  O = [o_fstorder, o_death, o_aging, o_fstorder, o_death, o_aging, o_fstorder, o_death],
  V = [v_birth, v_death, v_fstorder, v_aging, v_death, v_fstorder, v_aging, v_death, v_fstorder],
  LV = [lv_death1, lv_fstorder1, lv_aging1, lv_death1, lv_fstorder1, lv_aging1, lv_death1, lv_fstorder1],
  LSV = [lsv_birth1],
  P = [p_μ, p_δ, p_δ, p_δ, p_rage, p_rage, p_rfstOrder],
  LPV = [lpv_birth2, lpv_death2, lpv_fstorder2, lpv_aging2, lpv_death2, lpv_fstorder2, lpv_aging2, lpv_death2, lpv_fstorder2],
  Name =NothingFunction, Op=NothingFunction, Position=NothingFunction
);
@assert is_natural(typed_ageWeightModel);

aged_weight = pullback(typed_WeightModel, typed_ageWeightModel) |> apex |> rebuildStratifiedModelByFlattenSymbols;

`

I think I'm going to try holding off on any further edits on this until I hear from @Xiaoyan-Li

Passes test on my computer, if it passes here should be able to merge.

ok @Xiaoyan-Li the remaining tests are the notebooks which shouldn't have been modified so hopefully it's good at this point


Provide an extension to configure the default task

It's considered best practice to configure the default task through an extension.
This also has the advantage of providing a more similar configuration for Groovy and Kotlin DSLs.
Currently, in Groovy DSL you can simply do:
htmlSanityCheck {
    sourceDir = file("src/main/docs")
}

but in Kotlin DSL you need to be more explicit and get the task, e.g.:
tasks.named<org.aim42.htmlsanitycheck.HtmlSanityCheckTask>("htmlSanityCheck") {
    sourceDir = file("src/main/docs")
}

which is more verbose than the usual/ideal.
It might also be a good opportunity to start using lazy properties and task configuration avoidance.

This can be implemented in Groovy (the Kotlin DSL is just another consumer), happy to contribute that.
No urgency, just a good to have.

We are currently modularising HSC and therefore reorganising the complete build (cf. #309 and the develop branch of the project). Are you still interested in contributing a respective extension, @thc202? I'd be happy to see a PR.
You seem to be very familiar with Gradle. If you happen to have some time, reviewing the modular build, I'd appreciate any feedback as well.


Suggestion: support multi-user sponsors

Hi, thanks a lot for this great project.
What do you think about adding support for multiple-users sponsors buttons? I'm talking about those forms (there is currently no official ways of linking to them nor embeding them)..

It is probably trickier than most current buttonsn, but it's doable. It is possible to get this dialog source by embeding https://github.com/secdev/scapy/funding_links?fragment=1 (spooky hidden API) and manually throwing Github CSS into it. That should also be doable dynamically
Any suggestions / ideas ? If you think that's worth a shot I could look into an implementation but would need to familiarize with the project first 😄
Regards

There's no CORS header on that URL since that is a private API, meaning there no way to implement this purely on client side. You will have to use a server to proxy the requests, convert the partial HTML fragment to a full HTML page with CSS links. GitHub's CSS can be accessed cross-origin, so that you can fetch a page and try extract the CSS links. However, due to that the CSS pathes contain hash to identify unique versions and bust browser's cache, you will have to fetch a GitHub's full page to get latest CSS links once a while, or may even need to fetch it every single time. Also, since that API is private, it may change without any notice the future, thus breaking any implementation relies on that.
Let's say if you really go through all the trouble to implement it using the private API and provide it as a service for everyone. As soon as you get lots of users, it will start to look like that your server is running DoS attack to GitHub and it's very likely to get blocked that way.
With GitHub public API you can use a "token pool" to authenticate with GitHub and get very high rate limit without being blocked. Shields However, with a private API, you will just have to directly

Actually there's no public API for getting the list of github users to be sponsored. You will have to fetch this yaml file and parse it yourself if you want to build something that resemble the "funding_links?fragment=1" page.
https://raw.githubusercontent.com/:user/:repo/HEAD/.github/FUNDING.yml

This project is using Shadow DOM / cross origin  to prevent buttons to accidentally intervene original stylesheets on user's web site and prevent other scripts on user's web site to accidentally break the buttons. Shadow DOM is same origin, so that it's possible to add user interaction to embed another  which displays the funding list, but such user interaction won't be possible with cross origin  unless we pollute the message listener on user's web site. This also means dropping support for older browsers without Message API.

That's my advice on this topic. Closing due to out of scope.

Thanks for your time and the tips.


[Feature Request] Show disk size in the disk information

It will be usefull to also see how much size is there in total. Currently in the disk usage graph it only shows how much disk size is used, but it does not tell much as you don't know who big the disk is.
So it shows three lines for;

Disk size
Used space
Free space (Optional)

The y-axis is based on the disk size, so the largest value should be the total size of the disk. Let me know if that's not accurate on your system.
I can also put used percent in the tooltip if that would be helpful.

I just noticed that 😅 , that will do . Thanks for this awesome tool!

No worries!


IllegalArgumentException when using getStats()

For some summoners, I get an error:
java.lang.IllegalArgumentException: Bilgewater is not a constant in com.robrua.orianna.type.core.stats.PlayerStatsSummaryType when I perform getStats()
You probably did not account for the new gamemode Bilgewater.

You probably didn't switch to one of the newer versions that were released after the Bligewater gamemode started existing.
https://github.com/robrua/Orianna/commit/167156489a184890d51b0e88d88f30a9567645c5


Log the entire exception

Logging the entire exception enables tools like serilog.exceptions to enrich exceptions.

pls make this an optional/opt-in feature. let's keep just the stack trace by default and let ppl who want the whole exception logged pass in their intent via method argument.

@dj-nitehawk I moved this to this pull request


Some Questions about SMILES Generation

I'm curious about why MolToSmiles does not output atoms in the SMILES string according to the order of atoms obtained by GetAtoms() when canonical is set to False. Is this a bug? Here's an example of the code:
y = 'c12n(c(C(F)F)nc1cccc2)-c1cc(nc(n1)NC[C@H]1CC[C@H](NC)CC1)N1CCOCC1'
Chem.MolToSmiles(Chem.MolFromSmiles(y), canonical=False)
# Output: 'c12n(-c3cc(N4CCOCC4)nc(NC[C@H]4CC[C@H](NC)CC4)n3)c(C(F)F)nc1cccc2'
Symbols = [x.GetSymbol() for x in Chem.MolFromSmiles(y).GetAtoms()]
print(Symbols)
# Output: ['C', 'N', 'C', 'C', 'F', 'F', 'N', 'C', 'C', 'C', 'C', 'C', 'C', 'C', 'C', 'N', 'C', 'N', 'N', 'C', 'C', 'C', 'C', 'C', 'N', 'C', 'C', 'C', 'N', 'C', 'C', 'O', 'C', 'C']

Furthermore, is there any method to output atoms in the generated SMILES according to a given atom order?

This is simply the way SMILES works, please refer to your discussion https://github.com/rdkit/rdkit/discussions/7840 and I'm happy to talk through it more.

I noted there was a bug in your code, you are using the original molecule not the new one in your test
y = 'c12n(c(C(F)F)nc1cccc2)-c1cc(nc(n1)NC[C@H]1CC[C@H](NC)CC1)N1CCOCC1'
y2 = Chem.MolToSmiles(Chem.MolFromSmiles(y), canonical=False)
# Output: 'c12n(-c3cc(N4CCOCC4)nc(NC[C@H]4CC[C@H](NC)CC4)n3)c(C(F)F)nc1cccc2'
Symbols = [x.GetSymbol() for x in Chem.MolFromSmiles(y2).GetAtoms()]
print(Symbols)

['C', 'N', 'C', 'C', 'C', 'N', 'C', 'C', 'O', 'C', 'C', 'N', 'C', 'N', 'C', 'C', 'C', 'C', 'C', 'N', 'C', 'C', 'C', 'N', 'C', 'C', 'F', 'F', 'N', 'C', 'C', 'C', 'C', 'C']

However, in general, we don't support arbitrary orderings of atoms in smiles strings.

I noted there was a bug in your code, you are using the original molecule not the new one in your test
y = 'c12n(c(C(F)F)nc1cccc2)-c1cc(nc(n1)NC[C@H]1CC[C@H](NC)CC1)N1CCOCC1'
y2 = Chem.MolToSmiles(Chem.MolFromSmiles(y), canonical=False)
# Output: 'c12n(-c3cc(N4CCOCC4)nc(NC[C@H]4CC[C@H](NC)CC4)n3)c(C(F)F)nc1cccc2'
Symbols = [x.GetSymbol() for x in Chem.MolFromSmiles(y2).GetAtoms()]
print(Symbols)

['C', 'N', 'C', 'C', 'C', 'N', 'C', 'C', 'O', 'C', 'C', 'N', 'C', 'N', 'C', 'C', 'C', 'C', 'C', 'N', 'C', 'C', 'C', 'N', 'C', 'C', 'F', 'F', 'N', 'C', 'C', 'C', 'C', 'C']

However, in general, we don't support arbitrary output orderings of atoms in smiles strings. I believe that the atom order will be the same as the elements in the input smiles string though.

Well there is not bug in my code. I'm just wondering if it's possible to generate a SMILES as y in my code using MolToSmiles.

Apologies, I had thought you had wanted the atoms in order to y2 above.  Note that you can always mark the atoms with atom map numbers to track where they end up.  It's ugly, but works for these purposes:
 >> y = 'c12n(c(C(F)F)nc1cccc2)-c1cc(nc(n1)NC[C@H]1CC[C@H](NC)CC1)N1CCOCC1'
>>> m = Chem.MolFromSmiles(y)
>>> for atom in m.GetAtoms():
...     atom.SetAtomMapNum(atom.GetIdx())
>>> Chem.MolToSMmiles(m)
'c12[n:1](-[c:12]3[cH:13][c:14]([N:28]4[CH2:29][CH2:30][O:31][CH2:32][CH2:33]4)[n:15][c:16]([NH:18][CH2:19][C@H:20]4[CH2:21][CH2:22][C@H:23]([NH:24][CH3:25])[CH2:26][CH2:27]4)[n:17]3)[c:2]([CH:3]([F:4])[F:5])[n:6][c:7]1[cH:8][cH:9][cH:10][cH:11]2'


some missing keyboard commands

here are some commands that are missing:
  { "key": "alt+down",          "command": "cursorEnd",
                                     "when": "editorTextFocus" },
  { "key": "alt+up",              "command": "cursorHome",
                                     "when": "editorTextFocus" },

  { "key": "alt+shift+down",      "command": "cursorEndSelect",
                                     "when": "editorTextFocus" },
  { "key": "alt+shift+up",        "command": "cursorHomeSelect",
                                     "when": "editorTextFocus" },

  { "key": "alt+shift+left",      "command": "cursorWordEndLeftSelect",
                                     "when": "editorTextFocus" },
  { "key": "alt+shift+right",     "command": "cursorWordEndRightSelect",
                                     "when": "editorTextFocus" },

  { "key": "ctrl+cmd+down",       "command": "editor.action.moveLinesDownAction",
                                     "when": "editorTextFocus" },
  { "key": "ctrl+cmd+up",         "command": "editor.action.moveLinesUpAction",
                                     "when": "editorTextFocus" },

  { "key": "shift+cmd+d",         "command": "editor.action.copyLinesDownAction",
                                     "when": "editorTextFocus" }

shift+cmd+d in sublime text duplicates the selection or the line the cursor is in if the selection is empty. Is there a way to emulate this behaviour?

Great thank you! I've made the changes here 7c1dac24a3a425f7e6e963dadf12ac6e4f5e216a
If there are more please make a PR :)


Error When Building Kafka Docker Image

When trying to build "\azure_kafka_aks-master\azure_kafka_aks-master\docker\kafka" I get an error:
Step 11/13 : RUN tar -xzvf /opt/kafka/kafka_$SCALA_VERSION-$KAFKA_VERSION.tgz --strip-components=1
---> Running in 65afbbffaa3b
gzip: invalid magic
tar: Child returned status 1
tar: Error is not recoverable: exiting now
The command '/bin/sh -c tar -xzvf /opt/kafka/kafka_$SCALA_VERSION-$KAFKA_VERSION.tgz --strip-components=1' returned a non-zero code: 2
seems like version 1.0.0 is corrupted somehow. I changed to version 2.2.1 but now fails with this error
Step 13/13 : COPY kafka_config_files/server.properties /opt/kafka/config/ && kafka_config_files/log4j.properties /opt/kafka/config/
COPY failed: stat /var/lib/docker/tmp/docker-builder922549275/opt/kafka/config: no such file or directory

Had a quick look, seems the distribution of kafka 1.1.0 is no longer available from https://www-eu.apache.org/dist/kafka/.
This results in a file being downloaded which is basically an empty file, this is why the command fails.
Quickest fix would be to upgrade the package version to a version that is supported from the link.
Let me have a look if I can find the original distribution.

Issue has been fixed and pushed to master branch

May want to check your yahoo manager docker build as well. Seems to be broken link as well
Regards,
Jose
From: YvesC<EMAIL_ADDRESS>Sent: Tuesday, June 18, 2019 12:33 AM
To: Ycallaer/azure_kafka_aks<EMAIL_ADDRESS>Cc: Jose Quintero<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [Ycallaer/azure_kafka_aks] Error When Building Kafka Docker Image (#8)
Closed #8https://github.com/Ycallaer/azure_kafka_aks/issues/8.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/Ycallaer/azure_kafka_aks/issues/8?email_source=notifications&email_token=AGJLZFGDLN2ZIQE5G65KSJTP3CFSDA5CNFSM4HYY6PQ2YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOSA57EMA#event-2419847728, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AGJLZFD7YFQV5KIKEGEACF3P3CFSDANCNFSM4HYY6PQQ.


Poor performance on download with dio_http2_adapter

Package
dio_http2_adapter
Version
2.2.0
Output of flutter doctor -v
[✓] Flutter (Channel stable, 3.10.2, on macOS 13.4 22F66 darwin-arm64, locale en-UA)
    • Flutter version 3.10.2 on channel stable at /Users/vovchara/Documents/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 9cd3d0d9ff (8 days ago), 2023-05-23 20:57:28 -0700
    • Engine revision 90fa3ae28f
    • Dart version 3.0.2
    • DevTools version 2.23.1

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/vovchara/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E222b
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[✓] VS Code (version 1.78.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.64.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-arm64   • macOS 13.4 22F66 darwin-arm64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 114.0.5735.90

[✓] Network resources
    • All expected network resources are available.

• No issues found!

Dart Version
3.0.2
Steps to Reproduce

Create a Dio client with Http2Adapter
Try to download any file with this client. (in my case, I used the download method)

Expected Result
Download speed at least matches the client with IOHttpClientAdapter
Actual Result
Download speed is much lower than a client with IOHttpClientAdapter

Http2Adapter: download() executed in 0:00:10.798213 on size 16256346
IOHttpClientAdapter: download() executed in 0:00:05.080164 on size 16256346
CupertinoAdapter: download() executed in 0:00:05.466801 on size 16256346

Can you try with http2 standalone and see if it gets the same result? If so, that would be an upstream issue.

@Vovcharaa Got any results about the above suggestion?

Maybe relevant? => dart-lang/http2#69 (comment)

The comment referenced the code:
https://github.com/cfug/dio/blob/bedcc54c91a800a3b1aac0092151ca401f716803/plugins/http2_adapter/lib/src/http2_adapter.dart#L75
I didn't find any relevant connection about "sending data messages with 1 byte inside". cc @Neronse
Also, it's related to sending, not receiving.
If anyone has any ideas about buffers, bytes, and stream configurations, we'd love to hear about them and take investigations. We're also tracking the download buffer issue in #1990 and feedback is also welcomed.

Yea there is something wrong here. dio.download('/foo') takes twice as long as dio.get('/foo', options: Options(responseType: responseType: ResponseType.stream).
I personally have not looked at the Http2Adapter before today or used it, but a lot of things look messy there.

Could everyone meeting the issue try to verify again using the latest Flutter SDK?

Closing as the issue is likely solved from the Dart side. Please submit new issues with reproducible cases.


integral component of membranes: complexes or anatomical entities

While cleaning up dual parentage of protein-containing complexes and cellular anatomical entities there were a few terms that were 'integral to blah membrane' and therefore classified as cellular anatomical entities.
high-affinity iron exporter complex
high-affinity iron permease complex
mitochondrial respiratory chain complex IV pre-assembly complex
I cleaned them up by making them part-of the respective membranes for now. We should either move the integral etc terms to be direct children of the root class. Or even better, we should eliminate the spatial terms and create better more complete spatial relations in the ontology: spans, adjacent_to etc. This is a large project but we have talked about it many times.

See this PR: #17839

Start by cleaning up a distinction I made badly on the September 9 ontology call. The distinction that is probably useful is between cell components that are impermeable like plasma and vesicle membranes and ones that are permeable like the nucleolus or a glycogen granule. For the second kind of component, these relationships (adjacent, spans, etc.) may still be formally relevant but for reasoning to determine whether something located "here" can make direct contact with something located "there" they aren't needed. That's sort of a tangent - wanted to get it out before forgetting,

I cleaned them up by making them part-of the respective membranes for now.

That's what I expected they all were. Pattern should be complex part_of cellular anatomical entity. That's how we annotate anyway.
As for changing it to more expressive relationships I would need a bit more info as to how that would work.

I think this is done - all complexes are under protein-containing complex. Please re-open if I missed some instances.


fix: Check status code in extension validation to allow uploading new extensions again

If a new extension is to be uploaded, there is no current version, so the
validation step returned an error for that. With this we check if an
extension doesn't exist at all before uploading, in which case we can
safely upload this new extension
fix: #125

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


External Functions with a Single Argument

As I recall, there is an issue with external functions that only take a single argument.
Check to see if this is true.

The assertion was removed and tests were added.
However, I still have a question.
Consider:
Predicates: Person/1 and Friends/2
Function: Unary/1 and Ternary/3
Data: 5 people [A, E]
All friendship permutations (20) are listed as targets.
Given the rules:
Person(A) & Person(B) & Unary(A) & Unary(B) & (A - B) -> Friends(A, B)
Person(A) & Person(B) & Ternary(A, B, A) & (A - B) -> Friends(A, B)
How many times should each function be called?
(The actual counts are 50 for Unary and 40 for Ternary.)
Do we try to avoid duplicate calls?

This is complete. The investigation into the number of ground rules will be continued in #27.


[DPP-06] Enable SES in the Dropp AWS project.

Currently the Dropp project only has one micro EC2 instance running.
Enable email sending for that project towards the two contributors of this project.

Enabled and tested with Boto from iPython.


Minor updates and documentation

This is my quick and dirty stab at updating our work to be useful to others. You are more than welcome to simply push to the branch, or provide comments / feedback.
The most important change is the README - I'm trying to keep it minimal but give a bit more context. There are updates to package and node versions.

FYI the repo will require signed commits moving forward so you'll need to set that up for commits!


Column heading error when exporting to .csv

If you export the list to a csv file then try to import the same csv file back in the column heading shows up in the tool dialog as sep=,

heading in the csv file when opened in excel:

when opened in notepad

You then get an error importing, but it does work:

I am getting a crash when I am getting a crash when I try to verify this.

verified. extraneous "sep=." column name is no longer showing up

I verified this was fixed when it was first an issue, something has happened that it has been reintroduced

@dfoll Which build are you testing with?

This is not seen in ArcMap see screen grab below.

However is seen in Pro see screen grab below.

I'm seeing the  sep=, first line in the CSV file. This also makes the default output tables not work as inputs to the convert coordinates GP tool.

Talking to @CTLocalGovTeam they cannot reproduce this.

I can repro this Pro 2.1.0, Coordinate Conversion Add-in <IP_ADDRESS> (3/6/2018).

@topowright

@BobBooth can you give step by step instructions?
@dfoll and @ACueva I cannot replicate this with the latest build of CC using ArcGIS Pro 2.1. @llsjr2 could you also take a look at this issue?

Install the Pro 2.1.0, Coordinate Conversion Add-in <IP_ADDRESS> (3/6/2018).
Launch Pro.
Start a new project.
Add a map.
Open the add in.
Interactively add some points by clicking on the map.
Optionally, add some output formats.
The points on the list in my case were in Web Mercator.
Export the list to CSV.
Open the CSV file in Notepad++.
view "sep=," first line of file.

confirmed @BobBooth  repo steps are good. To confirm my comments from above this was at one point tested and I verified, but it found it's way back in somehow

@topowright @BobBooth We see a "sep=," in the CSV, when we export from the tool.
However, when we try to import the same CSV back to the tool, it does show the field name correctly as Coordinates instead of sep=,. Please let us know whether you see the same behavior.
We could change code to export CSV without "sep=," if that is the only issue needs to be fixed. Please confirm.
We are seeing this on ArcGIS Pro 2.1.2, Coordinate Conversion Add-in 3.0 & 4.0 on a windows 7 machine.

This has been verified and pushed to dev

Added item to table in Military Tools June 2018 topic in CMS.
Removing Doc(CMS) tag.


Plugin uses two different name

I'm seeing weird things going on with the installation process.
I add the plugin:
$ cordova plugin add wifiwizard
Saved plugin info for "com.pylonproducts.wifiwizard" to config.xml

It works but why is it adding it as com.pylonproducts.wifiwizard rather than wifiwizard? Looking at config.xml I see it called <plugin name="com.pylonproducts.wifiwizard" spec="~0.2.11" />. Looking at package.json I see two names used for it:
"dependencies": {
    "wifiwizard": "~0.2.11",
}
...
"cordova": {
    "plugins": {
      "com.pylonproducts.wifiwizard": {}
    }
}

Now if I run cordova prepare android a second entry of com.pylonproducts.wifiwizard shows up in the dependencies.
"dependencies": {
    "wifiwizard": "~0.2.11",
    "com.pylonproducts.wifiwizard": "~0.2.11"
},

Now if I try to run npm i, as my build system is doing, I get an error:
$ npm i
npm ERR! code E404
npm ERR! 404 Not Found<EMAIL_ADDRESS>
Furthermore, if you try to remove the package you get an error:
$ cordova plugin rm wifiwizard
Error: Plugin "wifiwizard" is not present in the project. See `cordova plugin list`.

If you use npm un com.pylonproducts.wifiwizard you get the same thing.
What's going on here?

Hi ,
I ran into the same problem. I got the build command to work by removing  the "com.pylonproduct."-prefix from the package json.


inViewContainer is incompatible with inViewOptions: debounce

Try something like:

    ...

And you'll see that the $inView is no longer relative to the container but the viewport.
A quick debugging showed me that inViewContainerController.checkInView is no longer called after adding a debounce.
Probably there's something wrong here, although I can't really read this code :x
performCheck = (ref = (ref1 = item.customDebouncedCheck) != null ? ref1 : containerController != null ? containerController.checkInView : void 0) != null ? ref : windowCheckInView;

I'll try to update this if I find a solution but if you can solve this faster, kudos! :)

I skipped over in-view-container and added an additional option, the ID of the element your in-view is within, then use that height instead of the window height.

I've met similar issue when used in-view-container together with debounce, and I figured out what is the problem. When we use debounce it creates custom handler here: https://github.com/thenikso/angular-inview/blob/master/angular-inview.coffee#L54, after event happens we call this function here: https://github.com/thenikso/angular-inview/blob/master/angular-inview.coffee#L84. But the problem is that customDebouncedCheck uses element[0] as a container, so it's not what we are expecting.

I reviewed the PR and it seamed legit. @maxilev would you be so kind to see if the same problem is in v2 as well? See #107
Thanks!


[POC] Experimental parquet decoder with first-class filter pushdown support

DO NOT MERGE.
I'll send breakdown PRs once I nailed down the designs.
Which issue does this PR close?

Many long lasting issues in DataFusion and parquet-rs, todo: find some
Closes #.
Rationale for this change

Filter pushdown is great in concept, but current straightforward implementation actually slow down queries. The goal of a super fast filter pushdown parquet reader is described by @alamb  in https://github.com/apache/arrow-rs/issues/5523#issuecomment-2429364040:

is that evaluating predicates in ArrowFilter (aka pushed down predicates) is never worse than decoding the columns first and then filtering them with the filter kernel

I initially thought we can find simple/smart tricks to workaround some of the issues https://github.com/apache/arrow-rs/issues/5523#issuecomment-2429470872 of the current implementation. After thinking more carefully about the design spaces and the implications, I believe the only way to reach that goal is to re-structure the parquet reading pipline, and also reuse as much existing implementation as possible.
Problems of current implementation
We follow a two phase decoding:
Phase 1: Build selectors on each predicate
Empty selector -> decode column 1 -> selection 1
Selection 1 -> decode column 2 -> selection 2
…
Selection K

Phase 2: Decode parquet data using the selector
Selection K -> decode column 1
Selection K -> decode column 2
…
Selection K -> decode column N

The first problem is that we have to decode the predicate column twice, for example, if column 1 is being filtered, we need to first decode column 1 while evaluating the predicate, then decode it again to build the array.
The second problem is that, we need to decode and evaluate all the predicates before we can emit the first record batch. This not only cause high first-record-batch latency, but also making caching decoded value challenging -- we need to cache the entire column to avoid double-decoding.
I have described other issues in https://github.com/apache/arrow-rs/issues/5523#issuecomment-2429470872, but they are relatively straghtforward to fix.
Proposed decoding pipeline
We can't pre-build the filter once and use it to decode data, instead, we need to build filter batch-by-batch along with decoding. The pipeline looks like this:
Load predicate columns for batch 1 -> evaluate predicates -> filter 1 -> load & emit batch 1
Load predicate columns for batch 2 -> evaluate predicates -> filter 2 -> load & emit batch 2
...
Load predicate columns for batch N -> evaluate predicates -> filter N -> load & emit batch N

Once we have this pipeline, we can cache the predicate columns for batch N  and reuse it when load & emit batch N, this avoids double decoding.
However, the key challenge is to handle nesting types. The predicate columns is not an array, but a tree; same to the result columns. So the problem is not just to intersect two column lists, but also to reconstruct the predicate columns tree to the result column tree.
A workaround is to cache the decompressed pages, rather than decoded arrow arrays. As some research suggests (todo: cite myself) decompressing pages costs up to twice as much as decoding arrow, if we can cache the decompressed pages, then we only need to decode arrow twice, which might be good enough. Caching decompressed pages is much simpler to implement, as we can reuse the current array_readers and just implement a new PageReader.
This PR implements caching decompressed pages, however, testing on my local machine shows that it still cause slow down to some queries, particularly for string columns.
What changes are included in this PR?
This draft PR implements some of the ideas described above, and already see many performance improvements. But here are some todos:

[ ] Push down InMemoryRowGroup fetch to decoding time as well. Currently we fetch columns too early
[ ] Try to cache arrow array again
[ ] other straightforward todos...

Are there any user-facing changes?

Would be great if @alamb @tustvold can take a look and let me know your thoughts!

Would be great if @alamb @tustvold can take a look and let me know your thoughts!

😍  -- looks amazing. I plan to work on arrow-rs reviews tomorrow. I;ll put this one on the top of the list


NotFoundHttpException not handled with admin URI

@mohdfaizdev thanks for letting us know, we highly appreciate your effort.
We make separate error pages for admin because we want to show error on admin section so that user can easily navigate. Only problem was we did not handle exception for anonymous user & included same admin layouts (eg. @extends('admin::layouts.content') ) that's why error is coming. Now we have solved this issue by using shop layout for anonymous users.
Once again, we thanks to you & looking for your contribution in our project.

Yes, i want to actively contribute to the project.

We are looking forward to see your contribution.


refactor(APIVoiceChannelBase): support text and video in stages

Please describe the changes this PR makes and why it should be merged:
For text in voice, #544, was adding APIVoiceChannelBase. With text and video in stages, both channel types now have text-based and video properties. So, APIVoiceChannelBase needs to be complemented with all of these properties.
If applicable, please reference Discord API Docs PRs or commits that influenced this PR:

what with TextChannelType?

what with TextChannelType?

Oh yeah, I forgot about it. I am adding it right now.


IBGU: Add FinalizeUpgrade, FinalizeRollback, and AbortOnFailure actions

Introduced explicit actions for finalizeUpgrade, finalizeRollback, and
AbortOnFailure. The selector is automatically added:

For FinalizeUpgrade, selects clusters that have completed the
upgrade.
For FinalizeRollback, selects clusters that have completed the
rollback.
For AbortOnFailure, selects clusters that have either failed
prep or upgrade.

Updated cluster label format from
lcm.openshift.io/ibgu-<ibguName>-<action>: completed/failed to
lcm.openshift.io/ibgu-<action>-completed/failed: "". With each cluster
uniquely associated with a single IBGU, specifying the IBGU name in the
label is now redundant.

/override ci/prow/integration

/test ci/prow/ci-job

/test ci-job

/override ci/prow/integration


afl: 2.52b -> 2.56b

Motivation for this change
Bump.
I'd appreciate a user of e.g. the llvm mode to test this because I only use the qemu mode.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[x] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Notify maintainers
cc @thoughtpolice

Thanks for updating the README, etc too. Approved.

Heh, note how I abandoned the whole thing entirely in the AFL++ PR #76645 in favour of a bruteforce blanket solution that shouldn't need continued manual tinkering. Might bring this back to AFL some day.


_recursive_set_additional_properties_false does not work with AnyOf attribute type

Checked other resources

[X] I added a very descriptive title to this issue.
[X] I searched the LangChain documentation with the integrated search.
[X] I used the GitHub search to find a similar question and didn't find it.
[X] I am sure that this is a bug in LangChain rather than my code.
[X] The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package).

Example Code
class ContentA(BaseModel):
    target: int

class ContentB(BaseModel):
    value: str

class MyTool(BaseModel):
    content: Union[ContentA, ContentB]

model = AzureChatOpenAI(...)
model = model.bind_tools(tools=[MyTool], strict=True, tool_choice=True)
model.invoke('hi')

Error Message and Stack Trace (if applicable)
openai.BadRequestError: Error code: 400 - {'error': {'message': "Invalid schema for function 'MyTool': In context=('properties', 'content', 'anyOf', '0'), 'additionalProperties' is required to be supplied and to be false.", 'type': 'invalid_request_error', 'param': 'tools[0].function.parameters', 'code': 'invalid_function_parameters'}}

Description
The method _recursive_set_additional_properties_false is missing a check for anyOf attribute to keep adding recursively.
System Info
System Information

OS:  Linux
OS Version:  #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov  6 17:42:15 UTC 2
Python Version:  3.10.12 (main, Nov  6 2024, 20:22:13) [GCC 11.4.0]

Package Information

langchain_core: 0.3.21
langchain: 0.3.8
langchain_community: 0.3.8
langsmith: 0.1.146
langchain_openai: 0.2.9
langchain_text_splitters: 0.3.2
langgraph_sdk: 0.1.35

Optional packages not installed

langserve

Other Dependencies

aiohttp: 3.11.7
async-timeout: 4.0.3
dataclasses-json: 0.6.7
httpx: 0.27.2
httpx-sse: 0.4.0
jsonpatch: 1.33
numpy: 1.26.4
openai: 1.55.1
orjson: 3.10.12
packaging: 24.2
pydantic: 2.10.2
pydantic-settings: 2.6.1
PyYAML: 6.0.2
requests: 2.32.3
requests-toolbelt: 1.0.0
SQLAlchemy: 2.0.35
tenacity: 9.0.0
tiktoken: 0.8.0
typing-extensions: 4.12.2

Duplicate of https://github.com/langchain-ai/langchain/issues/28106


Data-List with Modifiers issue

In the Data List with modifiers example, at a certain screen size, the Data List looks like this (this doesn't happen in React):

the kebab icon is filtering into .pf-c-data-list__expandable-content
.pf-c-data-list__expandable-content is not full width

This is somehow caused by the negative margin on pf-c-data-list__expandable-content, if you increase either the margin-left or the width of pf-c-data-list__action the items will realign.

Hi @christiemolloy and @michpetrov. How high priority is this issue? Is this blocking implementation?

@rachael-phillips its a bug, but not blocking implementation. Ill take it on.


How to discover azure devops pull requests in jenkins Multibranch Pipeline

Hi, it seems that your doc about Create a service hook for Azure DevOps with Jenkins is missing the way of how to discover azure devops pull requests on Jenkins Multibranch Pipeline.
it's really improtant for us to understand how can we achieve triggered jenkins pipelines when a new pull request is opened.
any chance that you can add some more information about how to handle this scenario on this guide?
some more info:
https://stackoverflow.com/questions/65957769/how-to-discover-azure-devops-pull-requests-in-jenkins-multibranch-pipeline
https://issues.jenkins.io/browse/JENKINS-64719

after few days I solved it like this.

@usernkey it works for me. Thanks!


Make user SMTP config more priority than server

Made user SMTP config more priority and added switch to ignore user config
fix #3552

Of course! Thanks for advice. Replaced the commit.

Merged, thanks.


Does Verify need extra arguments?

npx hardhat verify --network mumbai 0x7B4d4B5189446e5A5dC03f40F35Dd1A3B96AF740 --show-stack-traces
Error in plugin @nomiclabs/hardhat-etherscan: The constructor for contracts/RandomSVG.sol:RandomSVG has 4 parameters
but 0 arguments were provided instead.

Did you figure it out?

npx hardhat verify --network mumbai 0x7B4d4B5189446e5A5dC03f40F35Dd1A3B96AF740 --show-stack-traces
Error in plugin @nomiclabs/hardhat-etherscan: The constructor for contracts/RandomSVG.sol:RandomSVG has 4 parameters
but 0 arguments were provided instead.

what was the solution?

Restarting vscode solved the issue


chore(build): add --pull=always, more hint for AWS builds

Signed-off-by: Alex Chi<EMAIL_ADDRESS>What's changed and what's your intention?
As title
Checklist

[x] I have written necessary docs and comments
[x] I have added necessary unit tests and integration tests

Refer to a related PR or issue link (optional)

Excellent! I also would like to use a fixed tag for our tutorial's docker compose. I think docker tags are still necessary.

I propose to have 4 default tags for all images:

nightly-, only for cron builds
git-, for all builds
latest
v0.1.7

Only latest tag should be mutable.
If we can update the release workflow to include the v0.1.7 tag, we can update the tutorial to use a fixed version.


Webpack 5: "Module parse failed: Unexpected token" when importing JSON file

Bug report
I think I have found a bug in webpack 5.
I'm getting the error Module parse failed: Unexpected token (1:13) from webpack. It points to a node_modules/emoji-mart/data/all.json. emoji-mart is a react library that we are using https://github.com/missive/emoji-mart.

What is the current behavior?
When I try to compile my application webpack throws an error saying that it can't parse the json file.

 @ ../../../node_modules/emoji-mart/dist-es/utils/emoji-index/emoji-index.js 1:0-42 3:38-42
 @ ../../../node_modules/emoji-mart/dist-es/index.js 1:0-72 1:0-72
 @ ../jsx/MyApp/screens/screen-inner/sections/Tab/Chat/components/Emojis.tsx
 @ ../jsx/MyApp/screens/screen-inner/sections/Tab/Chat/components/TextFieldForm.tsx
 @ ../jsx/MyApp/screens/screen-inner/sections/Tab/Chat/Chat.tsx 34:0-55 199:18-31
 @ ../jsx/MyApp/screens/screen-inner/sections/Tab/Chat/index.tsx 1:0-33 1:0-33
 @ ../jsx/MyApp/screens/screen-inner/sections/Tab/LiveTabs.tsx 36:0-26 250:80-84
 @ ../jsx/MyApp/screens/screen-inner/sections/Tab/index.tsx 1:0-37 1:0-37
 @ ../jsx/MyApp/screens/screen-inner/Detail.tsx 50:0-43 289:18-26 336:18-26
 @ ../jsx/MyApp/screens/screen-inner/index.tsx 32:0-38 131:43-49
 @ ../jsx/MyApp/App.tsx 40:0-44 66:16-25
 @ ../jsx/MyApp/index.tsx 14:0-24 24:67-70

It points to the first line of node_modules/emoji-mart/dist-es/emoji-index/emoji-index.js:
import data from '../../../data/all.json'; // <= THIS ONEEEE
import NimbleEmojiIndex from './nimble-emoji-index';
var emojiIndex = new NimbleEmojiIndex(data);
var emojis = emojiIndex.emojis,
    emoticons = emojiIndex.emoticons;

function search() {
  return emojiIndex.search.apply(emojiIndex, arguments);
}

export default {
  search: search,
  emojis: emojis,
  emoticons: emoticons
};

Maybe it's related to this?
(image from emoji-mart github docs)

If the current behavior is a bug, please provide the steps to reproduce.

Install "emoji-mart": "3.0.0" package
Configure babel loader with react
Build files with webpack in production mode

Webpack config:
{
 ....
 module: {
   rules: {
     {
  test: /\.(js|tsx|ts)$/,
  include: pathFolder,
  use: [
    {
      loader: 'babel-loader',
      options: {
        cacheDirectory: true,
      },
    },
  ],
},
 {
  test: /\.(graphql|gql)$/,
  include: [
    pathFolder,
    path.join(__dirname, '../../../../node_modules/@xxx'),
  ],
  loader: 'graphql-tag/loader',
},
{
  test: TEST,
  use: [
    'style-loader',
    'css-loader',
   'postcss-loader',
    'sass-loader',
  ],
},
{
  test: /\.svg$/,
  include: pathFolder,
  loader: 'svg-react-loader',
},
   }
 }
 ...
}

What is the expected behavior?
It should compile without errors since webpack5 supports json files.

Other relevant information:
My solution was to use the json-loader. With json-loader it builds without any errors 🤔
webpack version:  5.36.2
Node.js version: v12.18.2
Operating System: Window 10
Additional tools:

"webpack-cli": "4.6.0"
"terser-webpack-plugin": "5.1.1"
"css-minimizer-webpack-plugin": "^2.0.0"
"circular-dependency-plugin": "5.2.2"
"html-webpack-harddisk-plugin": "2.0.0"
"html-webpack-plugin": "5.3.1"

"html-webpack-harddisk-plugin": "2.0.0"

Could you try removing that plugin?

@sokra same error without that plugin 😢

@GiancarlosIO Can you provide reproducible example?

@GiancarlosIO friendly ping

@alexander-akait  Can I work on this issue, I am new here so can you please guide me on how to move ahead with this issue, if its not taken?

@alexander-akait @Pulkit3234 sorry for the delay. Here is the reproducible example:
https://github.com/GiancarlosIO/weebpack-5-parse-json-error
The repository has the same behavior and error that I have in my original project. It takes a long time to show the error (like 5 minutes) with dev or prod commands. If I enable the json-loader it only takes seconds or just 1 min to compile without errors.
Let me know if you need something more from my side.
Thanks!

Change test: /\.m?js/ to test: /\.m?js$/ in your webpack config.

Answered (above), you have /\.m?js/, test.json is matching this regexp

@sokra @alexander-akait thanks!

Answered (above), you have /\.m?js/, test.json is matching this regexp

https://github.com/webpack/webpack/issues/13292#issuecomment-852974844


Uncaught TypeError: Cannot read property 'getPath' of undefined

[Enter steps to reproduce below:]

...
...

Atom Version: 1.3.1
System: Ubuntu 15.10
Thrown From: android package, v0.1.0
Stack Trace
Uncaught TypeError: Cannot read property 'getPath' of undefined
At /home/pluto/.atom/packages/android/lib/android.coffee:30

TypeError: Cannot read property 'getPath' of undefined
    at Object.module.exports.Android.buildGradle (/home/pluto/.atom/packages/android/lib/android.coffee:30:37)
    at atom-workspace.subscriptions.add.atom.commands.add.android:build-gradle (/home/pluto/.atom/packages/android/lib/android.coffee:17:88)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app.asar/src/command-registry.js:260:29)
    at /usr/share/atom/resources/app.asar/src/command-registry.js:3:61
    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/usr/share/atom/resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:536:16)
    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/usr/share/atom/resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:359:22)
    at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeydown (/usr/share/atom/resources/app.asar/src/window-event-handler.js:97:36)
    at HTMLDocument.<anonymous> (/usr/share/atom/resources/app.asar/src/window-event-handler.js:3:61)

Commands
     -6:28.1.0 core:cancel (atom-text-editor.editor.mini.is-focused)
     -4:58.2.0 core:save (atom-text-editor.editor.is-focused)
     -4:57 core:save-as (atom-text-editor.editor.is-focused)
     -4:33.7.0 settings-view:open (atom-text-editor.editor.is-focused)
     -3:58.1.0 core:confirm (atom-text-editor#autoclose-html.forceInline.editor.mini.is-focused)
     -3:48.2.0 core:move-left (atom-text-editor.editor.is-focused)
     -3:44.7.0 core:backspace (atom-text-editor.editor.is-focused)
     -3:41.6.0 core:move-left (atom-text-editor.editor.is-focused)
     -3:40.1.0 core:save (atom-text-editor.editor.is-focused)
  2x -3:04.4.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -2:36.4.0 find-and-replace:show (div.panels-item)
     -2:33.6.0 editor:consolidate-selections (atom-text-editor.editor.mini.is-focused)
     -2:33.6.0 core:cancel (atom-text-editor.editor.mini.is-focused)
  3x -1:53.7.0 core:confirm (atom-text-editor.editor.mini.is-focused)
  8x -0:23.4.0 core:backspace (div.panels)
     -0:01.1.0 android:build-gradle (div.package-detail.panels-item)

Config
{
  "core": {}
}

Installed Packages
# User
android, v0.1.0
autoclose-html, v0.19.0
language-groovy-cloned-from-java, v0.3.0

# Dev
No dev packages

bump

Why not use android studio or AIDE

Buuump

Sorry, I don't have enough time to develop this package.

Sorry, I don't have enough time to develop this package.


Include CODE_OF_CONDUCT file

I would like to add CODE_OF_CONDUCT file in your repository.
Could you please assign me this issue ?

@PragyaTripathi990 don't you see someone already raised this issue ?

PLEASE DON'T CREATE ISSUE FOR SUCH CHEAP TASK.
You're capable of more than you think, creating or even thinking such unwanted things will not help you in long run. I request everyone don't come here if you want to increase your PR count.


GEOMESA-2874 Use the Arrow IPC legacy option

Signed-off-by: Jim Hughes<EMAIL_ADDRESS>

Can you add a mention about this new system property in the upgrade guide?

added

geoserver PR: https://github.com/geomesa/geomesa-geoserver/pull/35

Merged as d5f0c400a4a6733dcc8f69ef776d4942adcac3dc


MdDialog causes Cyclic dependency

Bug, feature request, or proposal:
Using MdDialog in constructor causes Cyclic dependency error. It works without MdDialog in constructor.
Cannot instantiate cyclic dependency! ApplicationRef ("[ERROR ->]"): in NgModule AppModule in ./AppModule@-1:-1
I am using latest Angular-cli with NO Cyclic dependency warning.
I am trying to inject MdDialog to a service.
constructor(private http: HttpClient, private dialog: MdDialog) { }
both the Service and Entry component are registered in the same Shared module (providers are in the forRoot() static method only, entry components are "registered")
`
entryComponents: [
....
DebugConsoleComponent,
....
],
..
static forRoot(): ModuleWithProviders {
return {
ngModule: SharedModule,
providers: [
..
services.AService,
...
]
};
}
`
What is the expected behavior?
There should not be Cyclic dependency.
What is the current behavior?
Cycklic dependency
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
@angular/cli: 1.3.2
node: 7.5.0
os: win32 x64
@angular/animations: 4.3.3
@angular/cdk: 2.0.0-beta.8
@angular/common: 4.3.3
@angular/compiler: 4.3.3
@angular/compiler-cli: 4.3.3
@angular/core: 4.3.3
@angular/forms: 4.3.3
@angular/http: 4.3.3
@angular/material: 2.0.0-beta.8
@angular/platform-browser: 4.3.3
@angular/platform-browser-dynamic: 4.3.3
@angular/router: 4.3.3
@angular/cli: 1.3.2
@angular/language-service: 4.1.3
Is there anything else we should know?
There is really not any obvious cyclic dependency, maybe there is a problem with EntryComponents, i dont know. Despite of   missing repro plunker i think it is worth to find out this problem, because it may be missing important information about "EntryComponents" and dependency injection in documentation that i am missing regarding my problem...

Hmm.. propably the problem is i have referenced DebugConsoleComponent  in AService.. However,   DebugConsoleComponent has NOTHING in constructor,.. so propably.. there may be a bug in MdDialog ? (AService is referenced in main App.component.ts)


Feature/1149 pathfinder v2

Submisison Checklist

[x] Run tests: ./runCmdStanTests.py src/test
[x] Declare copyright holder and open-source license: see below

Summary:
adds logic to CmdStan's command method and argument parser to handle calls to Pathfinder.
Intended Effect:
expose Pathfinder.
How to Verify:
unit tests
Side Effects:
Documentation:
will be done in a separate PR
Copyright and Licensing
Please list the copyright holder for the work you are submitting (this will be you or your assignee, such as a university or company):   Columbia University
By submitting this pull request, the copyright holder is agreeing to license the submitted work under the following licenses:

Code: BSD 3-clause (https://opensource.org/licenses/BSD-3-Clause)
Documentation: CC-BY 4.0 (https://creativecommons.org/licenses/by/4.0/)

Initial commit; adds logic for Pathfinder.
For optional diagnostic files, constructs unique_stream_writer and/or json_writer objects with nullptr to output stream.
Current branch stan/multi-path doesn't yet play nicely with json_writer.

this is ready for review.

changes made - one more time?

Another question. Right now, if one runs ADVI, you get the following as part of the output:

------------------------------------------------------------
EXPERIMENTAL ALGORITHM:
  This procedure has not been thoroughly tested and may be unstable
  or buggy. The interface is subject to change.
------------------------------------------------------------

Is there a desire or need to have a similar warning here?

I would hope not.  have we tested this pathfinder algorithm on PosteriorDB and does it get the same (or similar) results as the R implementation evaluations reported in the Pathfinder paper?   @SteveBronder ?

I was primarily asking because of @bob-carpenter's remark in the original issue (https://github.com/stan-dev/stan/issues/3119)

This is all going in the experimental folder and will be marked as such like ADVI when run.

yes, I noticed the remark in the initial issue.  personally, I would prefer one less directory in the path, but that's just to save keystrokes.

this failed because downstream checks had warnings from boost::lexical_cast using "sprintf".   the fix for this is https://github.com/stan-dev/math/pull/2919 is someone wants to review and approve.

I wonder why other PRs don’t seem to fail because of that warning. I don’t think it’s a blocker for merging this at any rate

I think the only remaining question I have before approval is whether or not we believe we should be calling stan::services::util::experimental_message to produce a warning like ADVI
Thoughts @SteveBronder @bob-carpenter?

@mitzimorris you can fix the CI failure by changing resize(0) to clear() on those std::vectors. The reason linking is failing is that the unique_stream_writer has a forward-declared default constructor, but it never gets defined (this is probably a separate issue @SteveBronder should fix, but clear() will work and is more semantically meaningful)

requested changes made.  ready for re-re-re-review.

current implementation of Pathfinder has default num_draws set to 2000.  why? @bob-carpenter - opinion?
NUTS-HMC runs 2000 iterations by default becuase there are 1000 warmup iters and 1000 sampling iters.

Our default for HMC produces 1000 warmup iterations and 1000 draws.  That's why I suggested 1000 draws as the default number of Pathfinder draws.   1024 draws from the posterior would bring MCMC standard error down to about std-deviation / 32.  But we're not even getting true posterior draws here and the importance ratios is a much better indicator of error than sample size.

I think we just need to fix the merge conflict and we are good to go!

@syclik @WardBrian, @serban-nicusor-toptal - the issue here is boost::lexical_cast.   proposed solution - update version of boost library?

My proposed solution for this PR is just to merge - we know about the warning, and everything else passed as-is
Re, updating boost: https://github.com/stan-dev/math/issues/2856


One more requirement libxkbfile-dev

This is a minor one: There is one more requirement: libxkbfile-dev

Hey,
what distribution are you using?

16.10, my mistake, just noticed, LTS only.

No problem, what kind of error are you getting?


Error when running deploy

Hi, when im trying to deploy this using SAM im running into a problem.
I have done following:

Cloned your repository
Installed AWS CLI and AWS SAM

aws --version:
aws-cli/2.0.52 Python/3.7.4 Darwin/19.6.0 exe/x86_64
sam --version:
SAM CLI, version 1.3.2
When i run "sam deploy -g" i get this error:
Traceback (most recent call last):   File "/usr/local/bin/sam", line 33, in <module>     sys.exit(load_entry_point('aws-sam-cli==1.3.2', 'console_scripts', 'sam')())   File "/usr/local/Cellar/aws-sam-cli/1.3.2/libexec/lib/python3.7/site-packages/click/core.py", line 829, in __call__     return self.main(*args, **kwargs)   File "/usr/local/Cellar/aws-sam-cli/1.3.2/libexec/lib/python3.7/site-packages/click/core.py", line 782, in main     rv = self.invoke(ctx)   File "/usr/local/Cellar/aws-sam-cli/1.3.2/libexec/lib/python3.7/site-packages/click/core.py", line 1259, in invoke     return _process_result(sub_ctx.command.invoke(sub_ctx))   File "/usr/local/Cellar/aws-sam-cli/1.3.2/libexec/lib/python3.7/site-packages/click/core.py", line 1066, in invoke     return ctx.invoke(self.callback, **ctx.params)   File "/usr/local/Cellar/aws-sam-cli/1.3.2/libexec/lib/python3.7/site-packages/click/core.py", line 610, in invoke     return callback(*args, **kwargs)   File "/usr/local/Cellar/aws-sam-cli/1.3.2/libexec/lib/python3.7/site-packages/click/decorators.py", line 73, in new_func     return ctx.invoke(f, obj, *args, **kwargs)   File "/usr/local/Cellar/aws-sam-cli/1.3.2/libexec/lib/python3.7/site-packages/click/core.py", line 610, in invoke     return callback(*args, **kwargs)   File "/usr/local/Cellar/aws-sam-cli/1.3.2/libexec/lib/python3.7/site-packages/samcli/lib/telemetry/metrics.py", line 148, in wrapped     raise exception  # pylint: disable=raising-bad-type   File "/usr/local/Cellar/aws-sam-cli/1.3.2/libexec/lib/python3.7/site-packages/samcli/lib/telemetry/metrics.py", line 114, in wrapped     return_value = func(*args, **kwargs)   File "/usr/local/Cellar/aws-sam-cli/1.3.2/libexec/lib/python3.7/site-packages/samcli/commands/deploy/command.py", line 198, in cli     config_env,   File "/usr/local/Cellar/aws-sam-cli/1.3.2/libexec/lib/python3.7/site-packages/samcli/commands/deploy/command.py", line 248, in do_cli     guided_context.run()   File "/usr/local/Cellar/aws-sam-cli/1.3.2/libexec/lib/python3.7/site-packages/samcli/commands/deploy/guided_context.py", line 199, in run     self.guided_prompts(_parameter_override_keys)   File "/usr/local/Cellar/aws-sam-cli/1.3.2/libexec/lib/python3.7/site-packages/samcli/commands/deploy/guided_context.py", line 115, in guided_prompts     self.prompt_authorization(sanitize_parameter_overrides(input_parameter_overrides))   File "/usr/local/Cellar/aws-sam-cli/1.3.2/libexec/lib/python3.7/site-packages/samcli/commands/deploy/guided_context.py", line 151, in prompt_authorization     auth_required_per_resource = auth_per_resource(parameter_overrides, get_template_data(self.template_file))   File "/usr/local/Cellar/aws-sam-cli/1.3.2/libexec/lib/python3.7/site-packages/samcli/commands/deploy/auth_utils.py", line 39, in auth_per_resource     _auth_resource_event(sam_functions, sam_function, _auth_per_resource)   File "/usr/local/Cellar/aws-sam-cli/1.3.2/libexec/lib/python3.7/site-packages/samcli/commands/deploy/auth_utils.py", line 68, in _auth_resource_event     elif _auth_id(sam_functions.resources, event.get("Properties", {}), identifier):   File "/usr/local/Cellar/aws-sam-cli/1.3.2/libexec/lib/python3.7/site-packages/samcli/commands/deploy/auth_utils.py", line 93, in _auth_id     api_resource = resources_dict.get(resource_name, {}) TypeError: unhashable type: 'dict'

Hi Kevin, which template are you running sam deploy -g  on?

For me, the issue occurred withthe template of 0.3-Replacing-The-HTTP-Web-Server-For-Traditional-PHP-Frameworks/

Thanks fellas! I found a couple of little typos in the SAM template that was causing the deployment error. Have fixed and updated. You should be good to go now.


Card: Wang Men Wu, I'm Your Huckleberry

Wang Men Wu's trait is very complicated, and I would say impossible to implement so it will be used generally in technique combos. Anyway, there is actually only one technique implemented (Rabbit's Lunar Leap) that is affected, and another one that is not yet implemented (Great Sage Matching Heaven). Thus I decided to implement Wu's trait directly into the combo condition. It is not ideal, but I am not aware of any other way.

Wang Men Wu tested during play with m1, I'm Your Huckleberry also looks fine, going to merge this.


Cleaned the repo's history of large zip files. Repo is 1/3rd the size, but we all of to clone again

I'm sorry.
We all have to clone again because I've cleaned out some history that was causing our git repo to balloon over 250mb! It's now below 80mb so big reduction but kinda a big cost too. If you have open pull requests, a rebase and a reopen should be enough. If not, you'll need to clone again and migrate the changes to a new branch using a diff / patch file.
If you need help with this head into #dev in our slack channel

Okay, all open PRs had to be closed otherwise we'd end up re-adding the history that I just removed.
Blobs removed:

062c029b26d470f814bb2922ddc5b31fe5f623d2 45423588 concrete5-8.0.0b6.zip
31b1907ba8269a6a0392a645e0974a73440c673b 34780432 concrete<IP_ADDRESS>.zip
c34213f33af96ff01b53474e1123b7f000bf66aa 41132181 concrete<IP_ADDRESS>_remote_updater.zip
43bcbe4bec680a8702a903666f4ff1959ecabc7f 43232300 concrete<IP_ADDRESS>.zip
2319da92cd98ee8f5d708ccac85aa6fe480b627a 41374445 concrete<IP_ADDRESS>_remote_updater.zip2618c39ee457c551a68b10d5187bdbf0209514e4 3992779 dashboard5.psd
12bc2fc5e8ce416919a931d9dbbe7911aac081be 4683065 toolbar2c.psd
639768f7c1f08503062e2d7dfa282e6778648afd 3835675 toolbar3_editMode.psd
93d9e80862ebb6249675e602e4a002c2130123df 4900332 worker-xquery.js

All pretty dang big!

See https://github.com/rtyley/bfg-repo-cleaner/issues/36 for more info about the pushes and some instructions for resubmitting


Modify provider to not put the type in query if it's a no-op

Open Epic test FHIR server does not support query of type below for patient retrieval.
https://open-ic.epic.com/FHIR/api/FHIR/DSTU2/Patient?_id=Patient/Tbt3KuCY0B5PSrJvCu2j-PlK.aiHsu2xUjUM8bWpetXoB
Does support following format, without "=Patient/".
https://open-ic.epic.com/FHIR/api/FHIR/DSTU2/Patient?_id=Tbt3KuCY0B5PSrJvCu2j-PlK.aiHsu2xUjUM8bWpetXoB
Per Bryn, could improve the provider to not put the type in if it's a no-op.

Fixed here:
https://github.com/DBCG/cql_engine/commit/f78043e2bfcb572b257a744addda8d055c22a07f


Is possible add scroll to NavigationRail

I found that lite trouble is not possible make scroll in NavigationRail after added 15 widget please solve that trouble

Hello, we tried to solve the issue.
This is what we did:
Modify the NavigationRail implementation to allow scrolling when there are more than 15 destinations. This involves wrapping the destinations in a SingleChildScrollView in the Dart implementation and adding a 'scrollable' property in the Python implementation.
You can review changes in this commit: https://github.com/wwqwq2313/flet-dev-flet-4612/commit/ab095d74a2d7f5ae3ef2745a0216a602e35debae.

[!CAUTION]
Disclaimer: The concept of solution was created by AI and you should never copy paste this code before you check the correctness of generated code. Solution might not be complete, you should use this code as an inspiration only.

Latta AI seeks to solve problems in open source projects as part of its mission to support developers around the world. Learn more about our mission at https://latta.ai/ourmission . If you no longer want Latta AI to attempt solving issues on your repository, you can block this account.

Thanks for answer quickly I will try I would like that add in next flet upgrade thank make this framework alive


useQuery isError not correctly updating

Describe the bug
Per the useQuery docs for the latest version of TanStackQuery, queryFn should:
Must return a promise that will either resolve data or throw an error
However, I've been unable, per my understanding of that description, to trigger the the isError-dependent rendering. I don't see any issues outstanding for this relatively basic piece of functionality, so I'm fairly certain that I'm misunderstanding something, but may I please have some help understanding what's going on in the stackblitz attached?
Your minimal, reproducible example
https://stackblitz.com/edit/stackblitz-starters-zdeaa2?file=src%2FPart.tsx
Steps to reproduce
in Part.tsx:

Running the code as-is results in a thrown runtime error
Commenting out the block marked UNEXPECTED BEHAVIOR 1, comment in the block marked UNEXPECTED BEHAVIOR 2
Observe that the page never re-renders
Comment out UNEXPECTED BEHAVIOR 2 comment in EXPECTED BEHAVIOR to see that the promise-resolved case works fine

Expected behavior
I expected that the error-thrown case (UNEXPECTED BEHAVIOR 1) would have been caught by an error boundary internal to the useQuery hook to trigger the throw-driven isError rendering, since the docs indicated that thrown errors and rejected promises trigger the isError status. However, I had observed isError based rendering on neither of the two cases outlined in the documentation (as I have understood it, at least)
How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform
MacOS but reproduction on the codepen gives the same behavior too.
Tanstack Query adapter
react-query
TanStack Query version
^5.0.0
TypeScript version
NA (observed on both JS and TS)
Additional context
No response

ad UNEXPECTED BEHAVIOR 1:
you're throwing an error inside a promise. if you want to throw promises, do:
queryFn: async () => {
  throw new Error('ok?');
},

ad UNEXPECTED BEHAVIOR 2:
this works correctly, there are 3 retries per default with exponential backoff; you can see the failed text after about 30s. this is customizable.
ad


Unit test error for schema_test.py

I just pulled the latest&greatest and ran the unit tests (from the tests folder) before getting started on my transcription wrapper, but one test is failing and I'm not entirely clear on what's going on:
ERROR: Failure: KeyError ('jams/tests/fixtures/schema')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/site-packages/nose/loader.py", line 251, in generate
    for test in g():
  File "/Users/justin/Documents/dev/jams/jams/tests/schema_test.py", line 64, in test_schema_local
    'schema'))
  File "build/bdist.macosx-10.9-x86_64/egg/pkg_resources.py", line 954, in resource_filename
    self, resource_name
  File "build/bdist.macosx-10.9-x86_64/egg/pkg_resources.py", line 1652, in get_resource_filename
    return self._extract_resource(manager, zip_path)
  File "build/bdist.macosx-10.9-x86_64/egg/pkg_resources.py", line 1673, in _extract_resource
    timestamp, size = self._get_date_and_size(self.zipinfo[zip_path])
KeyError: 'jams/tests/fixtures/schema'

----------------------------------------------------------------------

@bmcfee Any chance you can help a brother out?

This is an artifact of nesting the tests/ directory under the package rather than at the top-level.
Does it work if you run it from the top level dir in the repo as:
$ nosetests -w jams/tests

afraid not, still getting same error.

Could it be that it's trying to load tests from tests/fixtures/schema/testing_uppercase.json, even though there aren't any?

That's strange, since it shouldn't be loading any of the test data through pkg_resources.
Are you sure that things are installed properly (ie, pip install -e . from the tld)?

That seems to have done the trick (even though all the requirements were already satisfied). Could it be because I hadn't run setup.py develop (which pip seems to have)?

Yup.  For future reference, pip install -e . will install the package locally without copying.  This way, any changes you make in the repo are immediately importable.  This is good for testing (compared to not installing at all) because it more accurately reflects how it will be used in the wild.
This is also why it's handy to use conda environments to distinguish between "stable" and "development" environments.

roger that, cheers.


New userguide page on dask (8 man days)

To replace #2436 and #2494

First draft: https://github.com/SciTools/iris/pull/2583

Closed by #2583


Save areas clicked

Currently
The click event handler doesn't select (fill) an area when clicked. This only happens on hoverOn. The selection (fill) also gets removed onhoverOff.
Request
I would like to have an option to use the same features as hoverOn and hoverOff but with click events. For examples, I would like the area to be filled when clicked, not removed on hoverOff, but removed only when clicked again.
This means that I can have multiple areas selected (filled) at once, and deselect each one individually.

I think it should be done by defining areas in state of mapper's parent component and changing preFillColor/fillColor of clicked area.

I've done this locally by modifying the click method and creating a new removeClickFill method.
I find this package really handy, and will be adding to it, so thought I'd modify it rather than constantly bugging you guys.
  click(area, index, event) {
    if (this.props.onClick) {
      event.preventDefault();
      const shape = event.target.getAttribute("shape");
      const previousSelection = this.state.areasClicked;
      let currentSelection = [];

      this.props.onClick(area, index, event);

      if (previousSelection.includes(index)) {
        currentSelection = previousSelection.filter(areas => areas !== index);
        this.removeClickFill(event.target.getAttribute("coords").split(","));
      } else {
        this["draw" + shape](
          event.target.getAttribute("coords").split(","),
          area.fillColor
        );
        currentSelection = previousSelection.concat(index);
      }
      this.setState({
        areasClicked: currentSelection
      });
    }
  }

and
 removeClickFill(coords) {
    let [left, top, right, bot] = coords;
    this.ctx.clearRect(left, top, right - left, bot - top);
  }

As said by you both, this can currently be done userland thanks to @mrtrebor contribution, by modifying area config prefillColor on click.
But the feature can also be added on the lib, I'll add it if i have time, or give a look to any PR if submitted.

@coldiary, I wanted to make a PR, but was getting some build issues locally with Gulp when using node higher than v6, fixed that, but then a few other issues cropped up that I couldn't immediately fix.
That said, I'll make a PR if I can get the package building fine.

any chance anyone can actually add this soon?
I need this for a PoC by next friday I wouldn't want to have to fork the project :(

Due to high load of work at my job, I'm afraid I don't have time to add this before next Friday.
But I'll look forward to it in the week-end.